/*
Theme Name: Boo
Theme URI: http://boo.themerella.com/
Author: ThemeRella Team
Author URI: https://themerella.com/
Description: Versatile, Powerful and Ultimate Wordpress Theme Made by ThemeRella. Boo is endlessly customizable, fully responsive and retina ready Wordpress theme.
Version: 3.7.9
License: GNU General Public License
License URI: license.txt
Text Domain: boo
Tags: featured-images, two-columns, custom-header, custom-menu, flexible-header, full-width-template, post-formats, theme-options
*/

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

.screen-reader-text:hover,
.screen-reader-text:active,
.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. */
}

/*--------------------------------------------------------------
Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	vertical-align: top;
	width: 100%;
	padding-left: 5px;
	padding-right: 5px;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

.stretched-link:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
    background-color: rgba(0, 0, 0, 0);
}

/* Video Banners */

.video-banner {
    position: relative;
}

.video-banner.is-full-width > .jwplayer {
    position: absolute;
}

.video-banner #other-sites {
    position: absolute;
    bottom: 0;
    z-index: 1;
}

.video-banner.is-full-width #other-sites .other-site-link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.video-banner #other-sites .banner-block [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.video-banner #other-sites .banner-block-featured-image {
    min-height: 8rem;
    background-repeat: no-repeat;
    background-size: cover;
}

.video-banner #other-sites .banner-block-content {
    padding: 5%;
    min-height: 8rem;
    overflow: hidden;
}

.video-banner #other-sites .banner-block-content h4 {
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 21px;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
}

.video-banner #other-sites .banner-block-content h4 strong {
    font-weight: bolder;
}

/* videos */
#featured-video-container {
	padding-top: 15%;
	margin-bottom: 50px;
}

#featured-video-title {
	font-size: 1.75rem;
}

.videos-list-container .loading-overlay {
	display: none;
}

.videos-list-container.loading .loading-overlay {
    background-color: rgba(255,255,255,.5);
    width: 100%;
    height: 90%;
    position: absolute;
    z-index: 3;
    padding: 0;
    margin: 0;
    left: 0;
    display: block;
}

.videos-list-container .loading-animation  {
	display: none;
}

.videos-list-container.loading .loading-animation {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display:block; 
  height: 2px; 
  width: 2px; 
  background-color: #b6d339; 
  -webkit-border-radius: 50%; 
  -moz-border-radius: 50%; 
  border-radius: 50%; 
  -webkit-animation: growUp 1s infinite; /* You can remove 1.5s if you don't want delay */
  -moz-animation: growUp 1s infinite; 
  -ms-animation: growUp 1s infinite; 
  -o-animation: growUp 1s infinite; 
  animation: growUp 1s infinite; 
}

@-webkit-keyframes growUp {   
  0%  { -webkit-transform: scale(0); }
  100% { -webkit-transform: scale(10); }
}

@-moz-keyframes growUp {
  0%  { -moz-transform: scale(0); }
  100% { -moz-transform: scale(10); }
}

@-o-keyframes growUp {
  0%  { -o-transform: scale(0); }
  100% { -o-transform: scale(10); }
}

@-ms-keyframes growUp {
  0%  { -ms-transform: scale(0); }
  100% { -ms-transform: scale(10); }
}

@keyframes growUp {
  0%  { transform: scale(0); }
  100% { transform: scale(10); }
}

#videos-container .thumbnail {
	background-size: cover;
	background-position: center;
	min-height: 180px;
}

#videos-container .thumbnail:hover {
	cursor: pointer;
}

.videos-pagination {
	margin: 50px 0;
}

.videos-pagination li a.next:focus, 
.videos-pagination li a.prev:focus{
	background-color: #ffffff;
	color: #000000;
}

.videos-pagination a.active,
.videos-pagination a.active:visited,
.videos-pagination a.active:hover,
.videos-pagination a.active:focus {
	background-color: #b6d339;
	color: #ffffff;
	font-weight: bold;
}

#videos-container .video-list-item {
	min-height: 225px;
}

#videos-container .video-list-item h2{
	font-size: 1.75rem;
	margin-top: 0;
}


/* green button */
.green-btn {
    padding: 0px 15px;
    background-color: #c0d117;
    height: 32px;
    width: 50%;
    color: #ffffff;
    display: block;
    text-align: center;
    margin: 0 auto;
    border: 0;
    border-radius: 5px;
}
.green-btn:hover {
    color: #ffffff;
}

/* contact forms */
form.wpcf7-form.submitting button[type="submit"] {
    opacity: .5;
    pointer-events: none;
}

/* client check-in form */

#client-check-in-form p {
    overflow: visible;
}

#client-check-in-form input {
    color: #000000;
}

#client-check-in-form select, input {
    border-radius: 3px;
    padding: 0 30px 0 45px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.03em;
    background-color: transparent;
    width: 100%;
    border: 1px solid #dddfe0;
    height: 60px;
    line-height: 60px;
    box-shadow: none;
    transition: all .3s ease;
}



#client-check-in-form .form-control-wrap {
    display: block;
    position: relative;
}

 #client-check-in-form .input-focused i, 
    #client-check-in-form .input-filled i {
    opacity: 1;
    left: 0;
    transform: translateX(20px) translateY(-50%);
}

#client-check-in-form .input-focused label,
#client-check-in-form .input-filled label {
    transform: translateX(100%) translateY(-50%);
    opacity: 0;
}

#client-check-in-form label,
#client-check-in-form i {
    top: 30px;
}

#client-check-in-form #location-button {
    padding-left: 30px;
}

#client-check-in-form [type="submit"] {
    height: 60px;
    line-height: 60px;
}

#client-check-in-form.was-validated input:invalid,
#client-check-in-form.was-validated select:invalid ~ span:not(.invalid-feedback) {
    border: 1px solid red !important;
}

#client-check-in-form .invalid-feedback {
    display: none;
    color: red;
}

#client-check-in-form.was-validated input:invalid ~ .invalid-feedback,
#client-check-in-form.was-validated select:invalid ~ .invalid-feedback {
    display: block;
}

#check-in-errors p {
    color: red;
}

/* page specific */

body.single-product header.header-overlay {
    position: relative;
}

/* team members pages */ 
body.parent-pageid-41362 header.header-overlay {
    position: relative;
}

/* modal styles */
.blocker {
    z-index: 100;
}
.modal a.close-modal[class*="icon-"] {
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  color: #fff;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-indent: 0;
  background-image: none;
}
.modal a.close-modal[class*="icon-"]:before {
    color: #000;
}

#home-modal {
    margin: 0 auto;
    height: 450px;
    top: calc(50% - 20vh);
}

.mt-1{
	margin-top: 1rem !important;
}

body.woocommerce-page main {
    padding: 1em;
}

body.woocommerce-page header.header-overlay {
    position: relative;
}

@media (min-width: 992px) {
	body.single-post #content {
		padding-top: 300px;
	}
    
    body.author #content {
        padding-top: 18em;
    }
} 

@media (max-width: 1919px) {
    #home-modal {
	    top: calc(50% - 20vh);
	    padding: 25px;
    }
}
@media (max-width: 1200px) {
	#featured-video-container {
		padding-top: 25%;
	}
	
	#videos-container .thumbnail {
		background-size: cover;
		background-repeat: no-repeat;
	}
}

@media (max-width: 1199px) {
    .video-banner #other-sites .banner-card:not(:last-child) {
        padding-right: 70px;
    }
}

@media (max-width: 992px) {
	#featured-video-container {
		padding-top: 5%;
	}

	.videos-list-container.loading .loading-animation {
		top: 15%;
	}

}

@media (min-width: 992px) and (max-width: 1199px) {
    .video-banner #other-sites .banner-block-content h4 {
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .video-banner #other-sites .banner-block-content h4 {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .video-banner #other-sites .banner-block-content {
        padding-left: 10%;
        padding-right: 10%;
    }

    .video-banner #other-sites .banner-block-content h4 {
        font-size: 11px;
        margin-top: 5%;
    }

    .video-banner #other-sites .banner-block-featured-image,
    .video-banner #other-sites .banner-block-content {
        min-height: 5rem;
    }
}

@media (max-width: 568px) {
    .video-banner #other-sites .banner-card:not(:last-child) {
        padding-right: 30px;
    }

    .video-banner #other-sites .banner-block-featured-image,
    .video-banner #other-sites .banner-block-content {
        min-height: 4rem;
    }
}

@media (max-width: 500px) {
	.videos-pagination li {
    	padding: 0 3px;
	}
	
	.videos-pagination li:first-child {
    	padding-left: 0;
	}
	
	.videos-pagination li:last-child {
    	padding-right: 0;
	}
}

@media (max-width: 320px) {
    .video-banner #other-sites .banner-block-content h4 {
        font-size: 7px;
    }

    .video-banner #other-sites .banner-block-featured-image,
    .video-banner #other-sites .banner-block-content {
        min-height: 3rem;
    }
}
