/*!
Theme Name: ansaya
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ansaya
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

ansaya is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: 'Adobe Garamond Pro';
    src: url('fonts/AGaramondPro-Bold.eot');
    src: url('fonts/AGaramondPro-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/AGaramondPro-Bold.woff2') format('woff2'),
        url('fonts/AGaramondPro-Bold.woff') format('woff'),
        url('fonts/AGaramondPro-Bold.ttf') format('truetype'),
        url('fonts/AGaramondPro-Bold.svg#AGaramondPro-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Adobe Garamond Pro';
    src: url('fonts/AGaramondPro-Italic.eot');
    src: url('fonts/AGaramondPro-Italic.eot?#iefix') format('embedded-opentype'),
        url('fonts/AGaramondPro-Italic.woff2') format('woff2'),
        url('fonts/AGaramondPro-Italic.woff') format('woff'),
        url('fonts/AGaramondPro-Italic.ttf') format('truetype'),
        url('fonts/AGaramondPro-Italic.svg#AGaramondPro-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Adobe Garamond Pro';
    src: url('fonts/AGaramondPro-BoldItalic.eot');
    src: url('fonts/AGaramondPro-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/AGaramondPro-BoldItalic.woff2') format('woff2'),
        url('fonts/AGaramondPro-BoldItalic.woff') format('woff'),
        url('fonts/AGaramondPro-BoldItalic.ttf') format('truetype'),
        url('fonts/AGaramondPro-BoldItalic.svg#AGaramondPro-BoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Adobe Garamond Pro';
    src: url('fonts/AGaramondPro-Regular.eot');
    src: url('fonts/AGaramondPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/AGaramondPro-Regular.woff2') format('woff2'),
        url('fonts/AGaramondPro-Regular.woff') format('woff'),
        url('fonts/AGaramondPro-Regular.ttf') format('truetype'),
        url('fonts/AGaramondPro-Regular.svg#AGaramondPro-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



html, body {
	overflow-x: hidden!important;
}
body {
	font-family: Poppins;
	font-size: 16px;
	line-height: 26px;
}
a {
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}
.typo p, 
.typo ul {
	font-size: 16px;
	line-height: 26px;
}

.link a {
	text-decoration: none;
	color: #3a546f;
	font-weight: 700;
}
.link a:hover,
.link a:active,
.link a:focus {
	color: #0f78bf;
}
.nowrap {
	white-space: nowrap;
}


.site-branding {
	max-width: 250px;
}
.site-branding img {
	width: 100%;
}
.site-header {
	position: absolute;
	z-index: 1;
}
.site-header .col-4 {
    align-self: center;
    text-align: right;
}
.float-menu {
	position: fixed;
    top: 10%;
    right: 1%;
    transform: translate(0,-50%);
    z-index: 10;
}
.float-menu a {
	padding: 10px 20px;
	background: #0f78bf;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	font-size: 20px;
	line-height: 24px;
	border-radius: 6px;
	display: inline-block;
}

.float-menu a:hover,
.float-menu a:active,
.float-menu a:focus {
	background: #3a546f;
}



/*Footer*/
.site-footer {
	background: #3a546f;
	color: #fff;
	margin-top: 40px;
}
.site-footer img {
	width: 100%;
	max-width: 320px;
}



.home-excerpt {
	text-align: center;
}
.home-excerpt .title {
	font-size: 36px;
	line-height: 40px;
	font-weight: 300;
	margin-bottom: 20px;
	text-transform: uppercase;
}
.home-excerpt .typo {
    max-width: 750px;
    margin: 0 auto;
}
.home-excerpt .typo p,
.home-excerpt .typo ul {
	font-size: 24px;
	line-height: 28px;
	font-weight: 300;
}
/*.home-excerpt + .content-a {
	padding-top: 0!important;
}*/



.content-a h1.title,
.content-a h2.title,
.content-a h3.title {
	font-size: 40px;
	line-height: 44px;
	font-family: 'Adobe Garamond Pro';
	font-style: italic;
}
.content-a .title {
	margin-bottom: 20px;
}
.content-a .title.has-subtitle {
	margin-bottom: 0;
}
.content-a h4.subtitle {
	margin-bottom: 20px;
	font-size: 30px;
	line-height: 34px;
	font-family: 'Adobe Garamond Pro';
}
.content-a .images {
	margin-top: 20px;
}
.content-a .images ul {
	padding: 0;
	margin: 0;
}
.content-a .images ul li img {
	width: 100%;
}

.content-a .full-bg-wrap {
	background-size: cover!important;
}

.content-a.invert + .content-a {
	margin-top: 40px;
}

@media (min-width: 992px){
	.content-a .flex-layout {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	    justify-content: space-between;
	    position: relative;
	}
	.content-a .flex-item {
		display: flex;
	}

	.content-a .flex-item.left {
	 	width: 52%;
	}

	.content-a .flex-item.right {
		width: 46%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.content-a .flex-item.right .wrap {
	    align-items: center;
	    justify-content: center;
	   	background-color: #fff;
	   	z-index: 2;
	   	padding: 30px 0 30px 30px
	}

	.content-a .full-bg-wrap .flex-item.right .wrap {
		padding-right: 30px;
	}


	.content-a.invert .left {
	    order: 2;
	}
	.content-a.invert .right {
		order: 1;
	}
	.content-a .left img {
	 	opacity: 0;
	}

	.content-a.invert .flex-item.right .wrap {
	   	padding: 30px 30px 30px 0;
	}
	.content-a.invert .full-bg-wrap .flex-item.right .wrap {
	   	padding-left: 30px;
	}
	.content-a.invert .flex-layout {
	    background-position: right!important;
	}
}

@media (max-width: 991px){
	.content-a .left img {
		width: 100%;
	}
	.content-a .left {
		margin-bottom: 20px;
	}
	.content-a .flex-layout {
		background: none!important;
	}
	.content-a .full-bg-wrap {
		background: none!important;
		padding: 0!important;
	}

}

@media (min-width: 480px){
	.content-a .images ul li {
		display: inline-block;
		width: 32%
	}
}

@media (max-width: 479px){
	.site-branding {
		margin: 0 auto;
	}
}

.banner {
	position: relative;
	z-index: 0;
	margin-bottom: 40px;
	height: 100vh;
}
.banner img {
	width: 100%;
}


.py-6 {
    padding-top: 60px!important;
    padding-bottom: 60px!important;
}



.reveal {
  position: relative;
  opacity: 0;
}

.reveal.active {
  opacity: 1;
}
.active.fade-bottom {
  animation: fade-bottom 1s ease-in;
}
.active.fade-left {
  animation: fade-left 1s ease-in;
}
.active.fade-right {
  animation: fade-right 1s ease-in;
}
@keyframes fade-bottom {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-left {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-right {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}



.slider-area{
    width:100%;
    float:left;
    display:block;
    height: 500px;
    border-bottom: 1px solid #d9d9d9;
    overflow:hidden;
}
.slider-area img{
    width:100%;
}
.slider-area .carousel-control {
    width: auto;
    height: auto;
    background-image: none;
    top: 45%;
}
.slider-area .carousel-control i{
    font-size:14px;
    color:#fff;
    width:30px;
    height:50px;
    line-height:50px;
    background:#000;
    text-align:center;
}
.slider-area .carousel-control i:hover{
    color:#E5C787;
}


@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(1.5, 1.5);
  }
  to {
    -webkit-transform: scale(1, 1);
  }
}

@keyframes zoom {
  from {
    transform: scale(1.5, 1.5);
  }
  to {
    transform: scale(1, 1);
  }
}
.carousel-inner .item img{
  -webkit-animation: zoom 20s;
  animation: zoom 20s;
  height:500px;
  padding:0;
  width:100%;
}
.white-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 410px;
  margin: 20px auto;
}

.white-popup input[type="text"],
.white-popup input[type="email"],
.white-popup textarea,
.white-popup label {
	width: 100%!important;
}
.white-popup textarea {
	height: 70px;
}












.slider-one,
.slider-two,
.slider-three,
.slider-four {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
}

.slider-one .slider-one-image,
.slider-one .slider-two-image,
.slider-one .slider-three-image,
.slider-one .slider-four-image,
.slider-two .slider-one-image,
.slider-two .slider-two-image,
.slider-two .slider-three-image,
.slider-two .slider-four-image,
.slider-three .slider-one-image,
.slider-three .slider-two-image,
.slider-three .slider-three-image,
.slider-three .slider-four-image,
.slider-four .slider-one-image,
.slider-four .slider-two-image,
.slider-four .slider-three-image,
.slider-four .slider-four-image {
  width: 110%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.slider-one .slider-one-image:before,
.slider-one .slider-two-image:before,
.slider-one .slider-three-image:before,
.slider-one .slider-four-image:before,
.slider-two .slider-one-image:before,
.slider-two .slider-two-image:before,
.slider-two .slider-three-image:before,
.slider-two .slider-four-image:before,
.slider-three .slider-one-image:before,
.slider-three .slider-two-image:before,
.slider-three .slider-three-image:before,
.slider-three .slider-four-image:before,
.slider-four .slider-one-image:before,
.slider-four .slider-two-image:before,
.slider-four .slider-three-image:before,
.slider-four .slider-four-image:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
}



.slider-one .slider-one-image .slider-text,
.slider-one .slider-two-image .slider-text,
.slider-one .slider-three-image .slider-text,
.slider-one .slider-four-image .slider-text,
.slider-two .slider-one-image .slider-text,
.slider-two .slider-two-image .slider-text,
.slider-two .slider-three-image .slider-text,
.slider-two .slider-four-image .slider-text,
.slider-three .slider-one-image .slider-text,
.slider-three .slider-two-image .slider-text,
.slider-three .slider-three-image .slider-text,
.slider-three .slider-four-image .slider-text,
.slider-four .slider-one-image .slider-text,
.slider-four .slider-two-image .slider-text,
.slider-four .slider-three-image .slider-text,
.slider-four .slider-four-image .slider-text {
  position: absolute;
  bottom: 20%;
  left: 50%;
  color: #ffffff;
  width: 100%;
  max-width: 750px;
  text-transform: capitalize;
  /*animation: text-up 12s linear infinite;
  transform: translateY(100px);
  animation-delay: 0s;*/
  transform: translate(-50%, 50%);
}
.slider-one .slider-one-image .slider-text h1,
.slider-one .slider-two-image .slider-text h1,
.slider-one .slider-three-image .slider-text h1,
.slider-one .slider-four-image .slider-text h1,
.slider-two .slider-one-image .slider-text h1,
.slider-two .slider-two-image .slider-text h1,
.slider-two .slider-three-image .slider-text h1,
.slider-two .slider-four-image .slider-text h1,
.slider-three .slider-one-image .slider-text h1,
.slider-three .slider-two-image .slider-text h1,
.slider-three .slider-three-image .slider-text h1,
.slider-three .slider-four-image .slider-text h1,
.slider-four .slider-one-image .slider-text h1,
.slider-four .slider-two-image .slider-text h1,
.slider-four .slider-three-image .slider-text h1,
.slider-four .slider-four-image .slider-text h1,
.banner h1,
.banner h2,
.banner h3 {
  font-size: 3.5rem;
  margin-bottom: 0px;
  font-family: 'Adobe Garamond Pro';
  text-align: center;

}
.slider-one .slider-one-image .slider-text p,
.slider-one .slider-two-image .slider-text p,
.slider-one .slider-three-image .slider-text p,
.slider-one .slider-four-image .slider-text p,
.slider-two .slider-one-image .slider-text p,
.slider-two .slider-two-image .slider-text p,
.slider-two .slider-three-image .slider-text p,
.slider-two .slider-four-image .slider-text p,
.slider-three .slider-one-image .slider-text p,
.slider-three .slider-two-image .slider-text p,
.slider-three .slider-three-image .slider-text p,
.slider-three .slider-four-image .slider-text p,
.slider-four .slider-one-image .slider-text p,
.slider-four .slider-two-image .slider-text p,
.slider-four .slider-three-image .slider-text p,
.slider-four .slider-four-image .slider-text p {
  font-size: 16px;
  line-height: 26px;
  font-family: Poppins;
  text-align: center;
}


.slider-one .slider-one-image,
.slider-two .slider-two-image{
  animation: zoom-out 10s linear infinite;
}
.slider-two .slider-two-image{
    animation-delay: 3s;
}

@keyframes zoom-out {
  0% {
    width: 110%;
  }
  100% {
    width: 100%;
  }
}
/* =========================
   2 SLIDES ONLY
========================= */

.banner-slides-2 .slider-one,
.banner-slides-2 .slider-two {
  animation-duration: 10s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.banner-slides-2 .slider-one {
  animation-name: slider-one-2;
}

.banner-slides-2 .slider-two {
  animation-name: slider-two-2;
}

.banner-slides-2 .slider-three,
.banner-slides-2 .slider-four {
  display: none;
}

/* SLIDE 1 */
@keyframes slider-one-2 {
  0% {
    opacity: 0.6;
    visibility: visible;
  }
  
  5% {
    opacity: 1;
    visibility: visible;
  }

  45% {
    opacity: 1;
    visibility: visible;
  }

  50% {
    opacity: 0;
    visibility: hidden;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* SLIDE 2 */
@keyframes slider-two-2 {
  0% {
    opacity: 0;
    visibility: hidden;
  }

  45% {
    opacity: 0;
    visibility: hidden;
  }

  50% {
    opacity: 1;
    visibility: visible;
  }

  95% {
    opacity: 1;
    visibility: visible;
  }
  
  99% {
    opacity: 0.6;
    visibility: visible;
  }
  
  100% {
    opacity: 0.3;
    visibility: visible;
  }
}

.banner {
background: #000;
}












.wpcf7-submit {
    padding: 10px 20px;
    background: #0f78bf;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 20px;
    line-height: 24px;
    border-radius: 6px;
    display: inline-block;
    border-style: none;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}
.wpcf7-submit a:hover, 
.wpcf7-submit a:active, 
.wpcf7-submit a:focus {
    background: #3a546f;
}
.mfp-close-btn-in .mfp-close {
    top: -44px;
    color: #fff;
}



@media (max-width: 991px){
    .content-a .desktop {
        display: none;
    }
}
@media (min-width: 992px){
    .content-a .mobile {
        display: none;
    }
}

