/*
* Theme snippet styles
*/
#preloader {
	position: fixed;
	width: 96px;
	height: 96px;
	left: 50%;
	top: 50%;
	border-radius: 16px;
	background-color: rgba(255, 255, 255, .9);
	opacity: 0;
	visibility: hidden;
	z-index: 1000;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-box-shadow: 0 24px 64px rgba(0, 0, 0, .24);
	box-shadow: 0 24px 64px rgba(0, 0, 0, .24);
	-webkit-transition: opacity .2s ease-out, visibility 0s linear .2s;
	-o-transition: opacity .2s ease-out, visibility 0s linear .2s;
	transition: opacity .2s ease-out, visibility 0s linear .2s;
}
#preloader.fullscreen {
	padding: 0;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
	background-color: #fff;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none
}
#preloader.show {
	-webkit-transition: opacity .4s ease-out, visibility 0s linear 0s;
	-o-transition: opacity .4s ease-out, visibility 0s linear 0s;
	transition: opacity .4s ease-out, visibility 0s linear 0s;
	visibility: visible;
	opacity: 1
}
#preloader .circular {
	-webkit-animation: loader-rotate 2s linear infinite;
	animation: loader-rotate 2s linear infinite;
	position: absolute;
	left: calc(50% - 24px);
	top: calc(50% - 24px);
	display: block;
	-webkit-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate(0deg)
}
#preloader .path {
	stroke-dasharray: 1, 200;
	stroke-dashoffset: 0;
	-webkit-animation: loader-dash 1.5s ease-in-out infinite;
	animation: loader-dash 1.5s ease-in-out infinite;
	stroke-linecap: round
}
@-webkit-keyframes loader-rotate {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg)
	}
}
@keyframes loader-rotate {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg)
	}
}
@-webkit-keyframes loader-dash {
	0% {
		stroke-dasharray: 1, 200;
		stroke-dashoffset: 0
	}
	50% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -35px
	}
	100% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -136px
	}
}
@keyframes loader-dash {
	0% {
		stroke-dasharray: 1, 200;
		stroke-dashoffset: 0
	}
	50% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -35px
	}
	100% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -136px
	}
}

/*
* Custom headlines
*/
h1.header-primary {font-size: 1.5em;}
h2.header-primary {font-size: 1.25em;}
h3.header-primary {font-size: 1em;}
.header-primary {
	margin-top: 30px;
	margin-bottom: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-transform: uppercase;
	letter-spacing: 0.75px;
}
.header-primary:after {
	content: '';
	border-top: 1px solid #eee;
	flex: 1 0 0;
}
.header-primary:after {
	margin-left: 30px;
}
/*
* Flex boxes
*/
.flex-box {
	display: flex;
	flex-direction: row;
}
.flex-box > * {
	flex: 1 1 0;
}
.flex-box.flex-rtl {
	flex-direction: row-reverse;
}


/*
* Image frames
*/
.frame-rounded {
	background-color: #f7f7f7;
	border: 1px solid #eee;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	overflow: hidden;
}
.rounded-sm {
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
.rounded-md {
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
}
.rounded-lg {
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

/*
* Call to action v1
*/
.cta-v1 {
	padding: 30px;
	background-color: #f7f7f7;
}
.cta-v1 .cta-inner {
}
.cta-v1 .cta-inner .column {
}
@media (max-width: 767px) {
	.cta-v1 .cta-inner {
		text-align: center;
	}
	.cta-v1 .cta-inner .column:nth-child(1) {
	}
	.cta-v1 .cta-inner .column:nth-child(2) {
		margin-top: 30px;
	}
}
@media (min-width: 768px) {
	.cta-v1 .cta-inner {
		display: grid;
		grid-template-columns: 66.666% 33.334%;
		grid-template-rows: 1fr;
		gap: 15px 15px;
		grid-template-areas:
		"column-left column-right";
		align-items: center;
		
	}
	.cta-v1 .cta-inner.rtl {
		direction: rtl;	
	}
	.cta-v1 .cta-inner .column:nth-child(1) { 
		grid-area: column-left;
	}
	.cta-v1 .cta-inner .column:nth-child(2) { 
		grid-area: column-right;
	}
}

/*
* Call to action
*/
.cta-primary {
	padding-top: 90px;
	padding-bottom: 90px;
	background-color: #007bff;
	color: #fff;
}
@media (min-width: 768px) {
	.cta-primary .row:not(.flex-row-reverse) .cta-col .cta-content {
		padding-right: 60px;
	}
	.cta-primary .row.flex-row-reverse .cta-col .cta-content {
		padding-left: 60px;
	}
	.cta-primary .cta-col .btn {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
}
@media (max-width: 767px) {
	.cta-primary .row .cta-col:nth-child(2) {
		margin-top: 30px;
	}
}

/* Secondary */
.cta-secondary {
	padding-top: 160px;
	padding-bottom: 160px;
	background-image: url(../img/background-02.jpg);
	background-repeat: no-repeat;
	background-attachment: inherit;
	background-size: cover;
	background-position: center;
}
.cta-secondary .cta-content {
}
.cta-secondary .cta-content > h2,
.cta-secondary .cta-content > h3 {
	margin-bottom: 30px;
}
.cta-secondary .cta-btn {
	margin-top: 30px;
}


/*
* Hero snippets
*/
.hero-primary {
	padding-top: 200px;
	padding-bottom: 200px;
	background-color: #3b7682;
	background-image: url(../img/background-01.jpg);
	background-repeat: no-repeat;
	background-attachment: inherit;
	background-size: cover;
	background-position: center;
	color: #fff !important;
}


/*
* Design snippets styles
*/
.images-pri {
}
.images-pri figure {
	background-color: #f7f7f7;
	margin-bottom: 0;
}
@media (max-width: 767px) {
	.images-pri figure {
		margin-top: 15px;
	}
	.images-pri figure:first-child {
		margin-top: 0;
	}
}
@media (min-width: 768px) {
	.images-pri {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	.images-pri figure {
		flex-grow: 1;
		flex-shrink: 1;
		flex-basis: 0;
		/*
		width: calc(1/3*100% - (1 - 1/3)*10px);
		*/
	}
	.images-pri figure + figure {
		margin-left: 15px;
	}
}
.images-pri figure figcaption {
	padding: 15px;
}
.images-pri figure img {
	max-width: 100%;
	height: auto;
}

/*
* Images
*/
figure.panorama-img {
	position: relative;
	overflow: hidden;
	background-color: #f7f7f7;
}
figure.panorama-img img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	object-fit: cover;
}
figure.panorama-img figcaption {
	position: relative;
	max-width: 1140px;
	padding: 15px;
	margin: 0 auto;
}

/*
* Image grid
*/
@media (max-width: 767px) {
	.images-sec figure {
		margin-top: 15px;
	}
	.images-sec figure:first-child {
		margin-top: 0;
	}
}
@media (min-width: 768px) {
	.images-sec {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		grid-template-rows: 1fr 1fr;
		gap: 15px 15px;
		grid-template-areas:
			"image-main image-main image-top"
			"image-main image-main image-bottom";
	}
	.image-main { grid-area: image-main; }
	.image-top { grid-area: image-top; }
	.image-bottom { grid-area: image-bottom; }
}
.images-sec figure {
	position: relative;
	margin-bottom: 0;
}
.images-sec figure > img {
	max-width: 100%;
	height: auto;
}
.images-sec figure figcaption {
	position: absolute;
	top: 15px;
	right: 15px;
	left: 15px;
	padding: 15px;
}
/*
[class*="image-"] {}
*/
@media (min-width: 768px) {
	.image-cover {
		position: relative;
		overflow: hidden;
	}
	.image-cover img {
		position: absolute;
		top: 50%;
		left: 50%;
		transform:translate(-50%,-50%);
	}
}


/*
* Overlays
*/
.overlay-dark,
.overlay-light {
	position: relative;
	z-index: 99;
}
.overlay-dark * {
	color: #fff !important;
}
.overlay-dark > div,
.overlay-light > div {
	position: relative;
	z-index: 101;
}
.overlay-dark:before,
.overlay-light:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 100;
	
	-moz-transition: background .2s linear;
	-webkit-transition: background .2s linear;
	-o-transition: background .2s linear;
	transition: background .2s linear;
}
.overlay-dark:before {
	background-color: rgba(0,0,0,0.5);
}
.overlay-dark:hover:before {
	background-color: rgba(0,0,0,0.35);
}
.overlay-light:before {
	background-color: rgba(255,255,255,0.5);
}
.overlay-light:hover:before {
	background-color: rgba(255,255,255,0.35);
}


/*
* Blend Mode Overlays
*/
.blend-multiply, .blend-multiply > img { mix-blend-mode: multiply;}
.blend-darken, .blend-darken > img { mix-blend-mode: darken;}
.blend-screen, .blend-screen > img { mix-blend-mode: screen;}


/*
* Grid layouts
*/
.grid-layout-01 {}
@media (min-width: 768px) {
	.grid-layout-01 {
		display: grid;
		gap: 15px 15px;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.grid-layout-01 {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 1fr 1fr  1fr;
		grid-template-areas:
		"column-1 column-1"
		"column-2 column-3"
		"column-4 column-4";
	}
}
@media (min-width: 992px) {
	.grid-layout-01 {
		grid-template-columns: 1fr 1fr 1fr 1fr;
		grid-template-rows: 1fr 1fr;
		grid-template-areas:
		"column-1 column-1 column-2 column-4"
		"column-1 column-1 column-3 column-4";
	}
}
.grid-layout-01 .column-1 { grid-area: column-1; }
.grid-layout-01 .column-2 { grid-area: column-2; }
.grid-layout-01 .column-3 { grid-area: column-3; }
.grid-layout-01 .column-4 { grid-area: column-4; }

.grid-layout-01 [class*="column-"] {
	position: relative;
	margin-bottom: 0;
	z-index: 99;
}
.grid-layout-01 [class*="column-"] img {
	max-width: 100%;
	height: auto;
}
.grid-layout-01 [class*="column-"] figcaption {
	position: absolute;
	left: 15px;
	right: 15px;
	padding: 10px;
	z-index: 101;
}
.grid-layout-01 [class*="column-"] figcaption:not(.bg-light) {
	background-color: rgba(0,0,0,0.5);
	color: #fff;
}
.grid-layout-01 [class*="column-"] figcaption.bg-light {
	background-color: rgba(255,255,255,0.5) !important;
	color: #000;
}
.grid-layout-01 [class*="column-"] figcaption > h3,
.grid-layout-01 [class*="column-"] figcaption > h4 {
	margin-top: 0;
}
.grid-layout-01 [class*="column-"] figcaption:not([class*="vertical-"]) {
	right: 15px;
	top: 15px;
	left: 15px;
}
.grid-layout-01 [class*="column-"] figcaption.vertical-bottom {
	bottom: 15px;
}
.grid-layout-01 [class*="column-"] figcaption.vertical-center {
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.grid-layout-01 [class*="column-"] .img-outer {
	position: relative;
	overflow: hidden;
	height: 100%;
	width: 100%;
}
@media (max-width: 767px) {
	.grid-layout-01 [class*="column-"] {
		margin-top: 15px;
	}
	.grid-layout-01 [class*="column-"]:first-child {
		margin-top: 0px;
	}
}
@media (min-width: 768px) {
	.grid-layout-01 [class*="column-"] .img-outer.is-cover img,
	.grid-layout-01 [class*="column-"] .img-outer.is-fill img {
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
	}
	.grid-layout-01 [class*="column-"] .img-outer.is-cover img {
		object-fit: cover;
	}
	.grid-layout-01 [class*="column-"] .img-outer.is-fill img {
		object-fit: fill;
	}
}

/*
* Article Primary
*/
@media (min-width: 992px) {
	.article-pri {
		display: flex;
		flex-wrap: wrap;
	}
	.article-pri.rtl {
		flex-direction: row-reverse;
	}
	.article-pri > * {
		flex: 1 1 0;
	}
}
.article-pri figure.image {
	position: relative;
	margin-bottom: 0;
	overflow: hidden;
	z-index: 99;
}
@media (max-width: 991px) {
	.article-pri figure.image {
		min-height: 240px;
	}
}
@media (min-width: 992px) {
	.article-pri figure.image {
		min-width: 60%;
	}	
}
.article-pri figure.image > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    min-width: 100%;
    min-height: 100%;
    height: auto;
    width: auto;
	z-index: 100;
}
.article-pri figure.image figcaption {
	position: absolute;
	top: 30px;
	max-width: 50%;
	max-height: 80%;
	padding: 15px 30px;
	background-color: rgba(255,255,255,0.9);
	z-index: 101;
	overflow-x: auto;
}
.article-pri:not(.rtl) figure.image figcaption {
	left: 0;
}
.article-pri.rtl figure.image figcaption {
	right: 0;
}
.article-pri .body {
}
@media (max-width: 991px) {
	.article-pri:not(.bg-light) .body {
		margin-top: 30px;
	}
}
.article-pri .body .inner {
}
@media (min-width: 992px) {
	.article-pri:not(.rtl):not(.bg-light) .body .inner {
		padding: 45px 0 45px 45px;
	}
	.article-pri.rtl:not(.bg-light) .body .inner {
		padding: 45px 45px 45px 0px;
	}
}
.article-pri .body .subheader {
	font-style: italic;
	font-size: #0.9em;
	color: #666;
}
.article-pri .body .text {
	margin-top: 15px;
}
.article-pri .body .url {
	margin-top: 30px;
}
/* --- */
.article-pri.bg-light {
	background-color: #f7f7f7;
	border: 1px solid #eee;
}
.article-pri.bg-light .body .inner {
	padding: 45px;
}

/*
* Article Secondary
*/
.article-sec {
}
.article-sec div.article.bg-light {
	background-color: #f7f7f7;
	border: 1px solid #eee;
}
@media (max-width: 991px) {
	.article-sec div.article {
		margin-top: 30px;
	}
	.article-sec div.article:first-child {
		margin-top: 0px !important;
	}
}
@media (min-width: 992px) {
	.article-sec {
		display: flex;
		flex-wrap: wrap;
	}
	.article-sec div.article {
		flex: 1 1 0;
		margin-left: 30px;
	}
	.article-sec div.article:first-child {
		margin-left: 0px;
	}
}
.article-sec div.article figure.image {
	position: relative;
	margin-bottom: 0;
	min-height: 280px;
	overflow: hidden;
	z-index: 99;
}
.article-sec div.article figure.image > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    min-width: 100%;
    min-height: 100%;
    height: auto;
    width: auto;
	z-index: 100;
}
.article-sec div.article figure.image figcaption {
	position: absolute;
	top: 30px;
	max-width: 50%;
	max-height: 80%;
	padding: 15px 30px;
	background-color: rgba(255,255,255,0.9);
	z-index: 101;
	overflow-x: auto;
}
.article-sec div.article:not(.bg-light) .body {
	padding: 30px 0;
}
.article-sec div.article.bg-light .body {
	padding: 30px;
}
.article-sec div.article .subheader {
	font-style: italic;
	font-size: #0.9em;
	color: #666;
}

.article-sec div.article .body .text {
	margin-top: 15px;
}
.article-sec div.article .body .url {
	margin-top: 30px;
}


/*
* Social links
*/
ul.social-links {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.social-links li {
	padding: 0;
	display: inline-block;
}
ul.social-links li a {
	font-size: 32px;
	line-height: 0;
}
ul.social-links li a:hover {
}



/*
* Topics primary
*/
.topics-primary {
	padding-top: 30px;
	padding-bottom: 30px;
}
@media (max-width: 991px) {
	.topics-primary .topic {
		margin-top: 30px;
	}
	.topics-primary .topic:first-child {
		margin-top: 0;
	}	
}
@media (min-width: 992px) {
	.topics-primary {
		display: flex;
		flex-wrap: wrap;
	}
	.topics-primary .topic {
		flex: 1 1 0;
		margin-left: 30px;
	}
	.topics-primary .topic:first-child {
		margin-left: 0;
	}
}
.topics-primary .topic {
	background-color: #f7f7f7;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow 0.15s linear;
}
.topics-primary .topic:hover {
	-webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.15);
	box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.15);
}
.topics-primary .topic figure {
	border-bottom: 1px solid #eee;
}
.topics-primary .topic figure img {
	max-width: 100%;
	height: auto;
}
.topics-primary .topic h3 {
	margin-top: 30px;
	text-align: center;
}
.topics-primary .topic ul.list {
	margin: 15px 0 0 0;
	padding: 0 30px;
	list-style: none;
}
.topics-primary .topic ul.list li {
	padding-top: 15px;
	padding-bottom: 15px;
	border-top: 1px dotted #ddd;
}
.topics-primary .topic ul.list li:first-child {
	border-top-color: transparent;
}
.topics-primary .topic .url {
	margin-top: 30px;
	padding: 30px;
	border-top: 1px solid #eee;	
	text-align: left;
}
.topics-primary .topic .url a {
	text-transform: uppercase;
	font-size: 0.9em;
	letter-spacing: 0.5px;
	font-weight: 600;
}
.topics-primary .topic .url a:hover {
	text-decoration: none;
}
.topics-primary .topic .url a i {
	padding-right: 0px;
	padding-left: 0px;
	transition: all .1s linear;
}
.topics-primary .topic .url a:hover i {
	padding-right: 5px;
	padding-left: 5px;
	color: #666;
}