/*
Theme Name: The sang villa 
Theme URI: https://thesangvilla.vn/
Author: Max
Author URI: https://thesangvilla.vn/
Description: The sang villa- WordPress theme
Version: 1.0.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-colors, custom-header, custom-menu, featured-images, sticky-post, threaded-comments
Text Domain: Max

*/


/* =WordPress Core
-------------------------------------------------------------- */

input[type=text], input[type=address], input[type=url], input[type=password], input[type=email], input[type=search], input[type=tel], select, textarea {
    display: inline-block;
    width: 100%;
    font-size: 1rem;
    border-radius: .75em;
    color: #2d3e50;
    background-color: #333;
    border: 0;
    border-radius: 0;
    padding: .2rem 1rem 0;
    height: 3.5em;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-appearance: none;
    -webkit-transition: all .15s;
    -o-transition: all .15s;
    transition: all .15s;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
	overflow:hidden;
}

.wp-caption p{
    margin-bottom:15px;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 14px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}


.gallery-caption {
    color: #707070;
    display: block;
    font-size: 14px;
    line-height: 1.5;
    padding: 7px 0;
}
.bypostauthor {
    width: 100%;
}

@media (max-width: 782px){
body.admin-bar {
    position:static!important;
	
}
.admin-bar  .navbar{
		top:32px;
	}
}

.admin-bar  .sidebar-menu {
    top: 32px !important;
}
.logostiky {
    display: none;
}
.affix .enable_sticky_logo.logostiky {
    display: inline-block;
}
.affix .enable_sticky_logo.logoheader {
    display: none;
}

.d-none {
    display: none;
}
.sticky {
    font-weight: normal;
}


iframe {
    max-width: 100%;
}

/* nav */

#pp-nav { display: none; }

.progress-nav {
	width: 2px;
	position: fixed;
	z-index: 300;
	top: 50%;
	/* left: 10px; */
	transform: translate(90%,-50%), rotate(90deg);
	transform: rotate(90deg);
	}

.progress-nav ul { margin: 0;
	padding: 0;
	list-style: none; }

.progress-nav li { width: 2px;
	height: 1.625rem;
	background: #464a8a;
	overflow: hidden;
	transition: background .5s ease-in-out;
	position: relative; }

.progress-nav li:before { content: "";
	display: block;
	width: 2px;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background: #464a8a; }

.progress-nav li.active:before { animation: navHeight .5s ease-in-out forwards; }

@-webkit-keyframes navHeight { 0% { height: 0; }
	100% { height: 100%; } }

@keyframes navHeight { 0% { height: 0; }
	100% { height: 100%; } }


.progress-nav li.active,
.progress-nav li.active ~ li { background: #cccccc; }

.progress-nav li:before { height: 100%; }

.progress-nav li.active ~ li:before { height: 0%; }

@media (min-width: 1400px) { .progress-nav {right: 4.5rem;} }

/* Project full */

.project-carousel-full .owl-nav{
  position: static;
  -webkit-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}

.project-carousel-full .owl-prev,
.project-carousel-full .owl-next{
  position:absolute;
  top:50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 1.2857rem;
  width: 3.57rem;
  height: 3.57rem;
  line-height: 3.57rem;
  background:rgba(0,0,0,0.5);
  color: #fff;
  text-align: center;
  margin-right: 0.857rem;
}

.project-carousel-full .owl-prev{
  left:20px;
}

.project-carousel-full .owl-next{
  right:20px;
}

.project-carousel .owl-prev:hover,
.project-carousel .owl-next:hover{
  background: #f3ca2f;
}

.project-carousel .owl-prev:before{
  font-family: 'Linearicons';
  content: "\e93b";
}

.project-carousel.owl-next:before{
  font-family: 'Linearicons';
  content: "\e93c";
}



.project-carousel .owl-prev.disabled:hover,
.project-carousel .owl-next.disabled:hover{
  background: none;
  color: #fff;
}

/* -----------21 05------------ */
.loader {
	background: transparent;
	transition: opacity .25s ease-out .25s, visibility 0s ease-out .8s;
}
.loader .spinner {
	top: calc(50% + 100px);
	z-index: 10;
	transform: translate(-50%,-50%) scale(.8);
}

.loader .spinner .double-bounce1, .loader .spinner .double-bounce2 {
	background: #fff;
	z-index: 10;
}
.loader::after {
	content: "";
	display: block;
	width: calc(50% + 1px);
	height: 100%;
	position: absolute;
	left: 0;
	background: #05284a;
	transition: transform .6s ease-in-out;
}

.loader::before {
	content: "";
	display: block;
	width: calc(50% + 1px);
	height: 100%;
	position: absolute;
	right: 0;
	background: #05284a;
	transition: transform .6s ease-in-out;
}

.loader .loader_logo {
	position: absolute;
	width: 180px;
	height: 180px;
	top: calc(50% - 90px);
	left: calc(50% - 90px);
	z-index: 10;
	transition: opacity .6s ease-in-out, transform 1s ease-in-out;
}

.loader.loadHidden::after {
	transform: translateY(100%);
}

.loader.loadHidden:before {
	transform: translateY(-100%);
}

.loader.loadHidden {
	visibility: hidden;
}

.loader.loadHidden .loader_logo {
	transform: rotate(-360deg);
	opacity: 0;
}


.project-carousel-full .owl-next:before, .project-carousel .owl-next:before {
    font-family: 'Linearicons';
    content: "\e93c";
}

.project-carousel-full .owl-prev:before , .project-carousel .owl-prev:before {
    font-family: 'Linearicons';
    content: "\e93b";
}

.section {}


.pp-scrollable .fadeUp {
	opacity: 0;
	transform: translateY(60px);
	transition: all 0.3s ease-out;
}
.pp-scrollable.active .fadeUp {
	opacity: 1;
	transform: translateY(0);
}
.pp-scrollable .delay01 {
	transition-delay: .4s;
}

.pp-scrollable .delay02 {
	transition-delay: .8s;
}

.pp-scrollable .delay03 {
	transition-delay: 1.2s;
}

.pp-scrollable .delay04 {
	transition-delay: 1.6s;
}

.pp-scrollable .delay05 {
	transition-delay: 2s;
}