/*
Theme Name: Tehidy Wordpress V2
Theme URI: https://www.tehidy.co.uk
Author: Pitched
Author URI: https://www.pitched.co.uk
Version: 2.0
Bitbucket Theme URI: https://pitchedandrew@bitbucket.org/pitcheddev/tehidy_wordpress.git
 */

/* =WordPress Core
-------------------------------------------------------------- */
body {
	width: 100%;
}

main {
    overflow: hidden;
	width: 100vw;
}

.main-content {
	overflow: hidden;
}

.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;
}

.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: 11px;
    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. */
}

/* 
	===========================
	Start Website Styles
	===========================
*/

/*Pitched Additional Styles*/
@media only screen and (max-width:992px){
    body.body-hidden {position:fixed !important;}
}
.desktop {display:none;}
@media only screen and (min-width:992px){
    .desktop {display:inline-block;}
    .mobile {display:none;}
}
.slick-slider {
    overflow: hidden;
}
.subpage-banner .logo {top:60px;}
    @media only screen and (min-width:992px){
        .subpage-banner .logo {top:100px;}
    }
    @media only screen and (min-width:1200px){
        .subpage-banner .logo {top:90px;}
}
.gallery-layout {text-align:center;}
.gallery-layout h1 { color: #21807c; }
.gallery {
    margin:30px auto;
}
.gallery.csm-gallery .gallery-item, .image-item {
    width:15%;
    height: auto;
    background: #999999;
    border:1px solid #21807c;
    box-shadow: 0 2px 0.7px 0.7px rgba(0,0,0,.46);
    display:inline-block;
    padding:30px;
    color: #333333;
    text-align: center; 
    font-size:48px;
    border-radius:4px;
    margin:0 10px;
    cursor:pointer;
}
/*.gallery .gallery-item:first-of-type {float:left; margin:0 9px 0 0;}
.gallery .gallery-item:last-of-type {float:right; margin:0 0 0 9px;}*/
.gallery.csm-gallery  .gallery-item:hover {
    border:1px solid #fff;
}
.image-item {width:100%; height:auto; padding:0;}
    @media only screen and (min-width:992px){
        .image-item {width:33%;}
}
.alignleft {
    float:left;
    margin:5px 20px 20px 0;
}
.alignright {
    float:right;
    margin:5px 0 20px 20px;
}
.news-item {margin-bottom: 20px;}

.gallery .csm-gallery-item {
	float: left;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #21807c;
    box-shadow: 0 2px 0.7px 0.7px rgba(0,0,0,.46);
    
}
@media only screen and (max-width: 575px){
	.gallery .csm-gallery-item {
    	float: none;        
    }
}
.gallery .csm-gallery-item img {
    border-radius: 4px;
    width: 100%;    
}

.gallery .gallery-item img {
    width: 100% !important;
    height: auto !important;
}

@media only screen and (max-width: 991px){
    .map {
        width: 100%;
    }
}
.home-page-feature ul>li{
	width: 100% !important;
}
a.btn-shortcode {
    background-color: #21807c;
    color: #fff;
}
a.btn-shortcode:hover {
    background-color: #4fa5a1!important;
    color: #fff!important;
    border-color: #4fa5a1;
}

.other-services-section .csm-accom-box{
	margin-top: 20px;
}

.company-logo{
	opacity: 1 !important;
}

.main-content  ul{
	list-style-position: inside;
}

/*WP Gallery*/
.gallery dl.gallery-item img{
    border: 1px solid #21807c;
    box-shadow: 0 2px 0.7px 0.7px rgba(0,0,0,.46);
    border-radius: 4px;
}

.gallery .csm-gallery-item > a{
	display: block;
}

/* Other Changes */
.header .navbar{
	z-index: 20;
}

.csm-accom-box.accom-box-one .badge-left{
	z-index: 1;
}

@media only screen and (max-width: 921.98px){
	.bordered-cta-list li {
		margin-bottom: 5px;
	}
}

.subpage-first-section.accom-page{
	padding: 20px 0 0px;
}

.other-services-section.accom-page{
	padding-top: 0px !important;
}


/*Gravity Forms*/
.gform_title {
    color: #21807c;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}
.gfield_label {
    color: #21807c;
}
.gform_wrapper .gfield input,
.gform_wrapper .gfield select,
.gform_wrapper .gfield textarea{
	color: #21807c;
    font-weight: 500;
    border: 1px solid #21807c;
	width: 100% !important;
	border-radius: 3px;
 
}
.gform_wrapper .gform_footer input[type='submit'],
.gform_wrapper.gravity-theme #field_submit input, .gform_wrapper.gravity-theme .gform_footer input
{
	background-color: #21807c;
	font-weight: 500;
    width: 213px;
    padding: 10px;
    color: #fff;
	box-shadow: -2px 1px 9.3px 0.7px rgba(79,165,161,.46);
    border-radius: .25rem;
    border: 1px solid transparent;
	display: block !important;
	margin: 0 auto !important;
}
.gform_wrapper li:before {
    background:none !important;    
}
.subpage-first-section ul {
    padding: 0;
}
.subpage-first-section ul li {
    text-align: left; 
    position: relative;
    background: transparent !important;
    padding: 0 0 0 25px !important;
    margin-bottom: 15px;
    line-height: 1.2;
    list-style: none;
}
.subpage-first-section ul li::before {
    content: "";
    background-image: url(images/icons/leaf-list-icon.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    width: 17px;
    height: 24px;
    display: block;
    position: absolute;
    left: 0;
}
@media only screen and (max-width: 480px){
	.service-about-section::before {
        display: none;
    }
}
.home .gform_wrapper.gravity-theme .gform_footer {
    padding:0;
}
.terms {
    font-size: 12px;
    color: #000;
    font-weight: 500;
    margin-top: 10px;
    display: block;
}
.terms a {
    color: #21807c;
    text-decoration: underline;
}
/* TARIFF STYLES */
.tablepress th, .tablepress td {text-align:center !important; vertical-align:middle !important; padding:5px;}
.tablepress th {
    color:#fff;
    background-color: #21807C !important;
    font-size:14px !important;
}
.tablepress td .shortbreaks {font-size:12px; font-weight:bold;}
#tablepress-3 .odd td,
#tablepress-4 .odd td,
#tablepress-5 .odd td,
#tablepress-6 .odd td
    {background:#ede8b1; border-bottom:2px solid #21807C;}


.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
}
.banner-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.banner-video .banner-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:rgba(0,0,0,0);
    z-index: 10;
}

.subpage-banner {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
}
.subpage-banner .logo {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 10;
}
.subpage-banner .featured-img {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    min-height: 300px;
    width: 100%;
    height: auto;
    object-position: center;
    object-fit: cover;
}
.subpage-banner-caption {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    padding-top: 100px;
    width: 100%;
    height: 100%;
    font-size: 0;
    text-align: center;
}
.subpage-banner-caption h2 {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    color: #FFF;
    text-shadow: 1px 2px 2px #000;
    font-size: 2.5rem;
}
@media only screen and (max-width:1010px){
    .subpage-banner .logo { 
        top: 70px;
    }
}
@media only screen and (max-width:992px){
    .subpage-banner .logo { 
        top: 60px;
    }
}
@media only screen and (max-width:992px){
    .subpage-banner-caption h2 {
        font-size: 2rem;
    }
}
@media only screen and (max-width:768px){
    .subpage-banner-caption h2 {
        font-size: 1.5rem;
    }
}



#accom-virtual-tour {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    height: 600px;
    border: none!important;
    margin: 0 auto;
}
@media only screen and (max-width:600px){
    #accom-virtual-tour {
        height: 350px;

    }
}


.service-card-bottom {
    background-color: rgba(79,165,161,0.2);
    color: #21807c;
    min-height: 80px;
}


/* Booking widget Height Iframe Fixes */
.book-widget {
    height: 650px !important;
    width: 80% !important;
    margin:0 auto;
    display:block;
}
@media only screen and (min-width:531px){
    .book-widget {
        height: 450px !important;
        width: 100% !important;
    }
}
@media only screen and (min-width:992px){
    .book-widget {
        height: 280px !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
  .open-form-active {
    overflow: hidden;
  }
  .container.book-form {
    height: calc(100vh - 120px);
    overflow: auto;
  }
}