/*
Theme Name: Old Summer Dairy
Theme URI: http://www.oldsummerdairy.co.uk/
Author: Lollystick
Author URI: http://www.lollystick.co.uk
Version: 1.0
Text Domain: oldsummerdairy

/* General */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    letter-spacing: 0.04em;
    line-height: 1.5em;
}
textarea,
input{
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.04em;
}
textarea{
    resize: none;
}
h1{
    font-family: "Scope One", serif;
    font-size: 2em;
    line-height: 1.5em;
    margin-bottom: 1em;
}
h2{
    font-family: "Scope One", serif;
    font-size: 1.4em;
    line-height: 1.5em;
    margin-bottom: 1em;
    font-weight: 600;
}
p{
    line-height: 1.5em;
    margin-bottom: 1em;
}
a.book_button {
    padding: 10px 20px 8px 20px;
    margin-left: 30px;
    color: #333 !important;
    text-transform: uppercase;
    font-weight: 3000;  
    border: 2px solid #333;
}
a.book_button:hover{
    background-color: #333;
    color: #fff !important;
}
a.contact_button {
    padding: 10px 20px 8px 20px;
    border: 2px solid #333;
    color: #333 !important;
    text-transform: uppercase;
    font-weight: 600;  
    text-decoration: none;
}
a.contact_button:hover{
    background-color: #333;
    color: #fff !important;
}
.content_wrap{
    margin-bottom: 4em;
}
.button_white_bg{
    border: 2px solid #333;
    padding: 12px 25px;
    text-decoration: none;
    text-transform: uppercase;
    color: #333;
}
.button_white_bg:hover{
    background-color: #333;
    color: #fff;
}
.second_banner{
    width: 100%;
}
.second_banner img{
    width: 100%;
    height: auto;
    display: block;
}
.text-darken {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.3;
}
.wpcf7 form .wpcf7-response-output {
    margin: 0;
    padding: 0;
    border: none !important;
    margin-top: 40px !important;
}
.cky-consent-bar button.cky-btn-accept{
    background-color: #3c522eff !important;
    border: 2px solid #3c522eff !important;
}
.cky-consent-bar button.cky-btn-reject{
    color: #3c522eff !important;
    border: 2px solid #3c522eff !important;
}
.cky-consent-bar a{
    color: #3c522eff !important;
}
.cky-btn-revisit-wrapper{
    display: none !important;
}
li#menu-item-62 {
    margin-bottom: 30px;
}

/* Header */
.header_contact{
    display: flex;
    align-items: center;
    font-weight: 500;
}
.header_contact img{
    width: 24px;
    height: auto;
    align-self: center;
}
.header_contact a:hover{
    text-decoration: underline !important;
}
.header_contact a{
    font-family: "Scope One", serif;
    font-weight: 600;
}

#main_header{
    background-color: #fff;
    z-index: 30;
    position: fixed;
    width: 100%;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.header_top{
    display: flex;
    align-items: center;
    padding: 20px 30px;
}

#main_header img.logo{
    width: 150px;
    height: auto;
    align-self: center;
    margin-right: 40px;
}
.desktop_menu{
    margin-left: auto;
    font-size: 0.9em;
}
.desktop_menu ul {
    display: flex;
    list-style: none;
}
#main_header a {
    color: #333;
    text-decoration: none;
}
.desktop_menu li a{
    margin-bottom: 10px;
    display: block;
}
.desktop_menu li a:hover{
    text-decoration: underline !important;
}
.desktop_menu ul li{
    margin-right: 40px;
    transform: translateY(5px);
}
.header_bar{
    width: 100%;
    height: 32px;
    background-color: #3b6421ff;
}
.overlay{
    pointer-events: none;
    background-color: #fff;
    position: fixed;
    left: 0;
    top: 85px;
    z-index: 25;
    width: 100%;
    height: calc(100vh - 85px);
    transition: all 0.2s ease;
    opacity: 0;
    padding: 3em;
}
.overlay ul{
    list-style-type: none;
    text-align: center;
}
.overlay ul a{
    font-size: 1.6em;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}
.overlay ul a:hover{
    color: #3b6421ff;
}
.overlay ul li{
    margin-bottom: 1em;
}
.overlay.open{
    opacity: 1;
    pointer-events: all;
}
.overlay .address{
    text-align: center;
}
.mobile-menu {
    margin-bottom: 40px;
}
.overlay .contact_row{
    color: #333;
}
.overlay .contact_row a{
    color: #333;
}
.overlay .contact_row {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    margin-bottom: 5px;
}


/* Dropdown */
ul.sub-menu {
    border-bottom: 4px solid #8bc53eff;
    display: none;
    background-color: #f7f7f7ff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.menu-item-has-children{
    position: relative;
}
.menu-item-has-children:hover ul.sub-menu {
    position: absolute;
    left: 0;
    top: 100%;
    display: flex;
    flex-direction: column;
    list-style-type: none;
    background-color: #f9f9f9ff;
    padding: 20px;
    width: 220px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
li.menu-item-has-children:after {
    content: "\25be";
    position: absolute;
    right: -17px;
    top: 36%;
    transform: translateY(-50%);
}

/* Slider */
.page .page_slider{
    height: 600px;
}
.page_slider{
    width: 100%;
    height: 800px;
    position: relative;
}
.swiper-container, .swiper-wrapper{
    width: 100%;
    height: 100%;
}
.page_slider img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: bottom center;
}
.slider_content {
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 6em;
}
.slider_content_wrap{
    color: #fff !important;
}
.page .slider_content_wrap{
    max-width: 50%;
}
.slider_content_wrap h1{
    margin-bottom: 0;
    font-size: 3em;
}
.slider_content_wrap h3{
    margin-bottom: 0;
    font-size: 1.6em;
}
.slider_content_wrap .contact_button{
    border: 2px solid #fff;
    color: #fff !important;
    margin-right: 1em;
}
.slider_content_wrap .contact_button:hover{
    border: 2px solid #fff;
    color: #333 !important;
    background-color: #fff !important;
    margin-right: 1em;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: #36462cff !important;
}
.swiper-text {
    position: absolute;
    right: 40px;
    bottom: 0;
    z-index: 10;
    color: #fff;
    font-size: 4.4em;
    line-height: 1.1em;
    text-align: right;
    font-weight: 300;
    letter-spacing: 0.05em;
    font-family: "Water Brush", cursive;
    padding: 0.6em 0.4em 0.4em 0.4em;
}
.swiper-text  .text {
    z-index: 20;
    position: relative;
}



/* Home */
.activity_block,
.quicklinks_block,
.conservation_block,
.welcome_block{
    padding: 5em 8em;
}
.flex-50{
    display: flex;
}
.flex-50 .flex-item{
    width: 50%;
}
.flex-40 {
    display: flex;
}
.flex-40 .flex-item:nth-of-type(1) {
    width: 40%;
}
.flex-40 .flex-item:nth-of-type(2) {
    width: 60%;
}
.conservation_block .flex-item:nth-of-type(2){
    padding-left: 4em;
}
.flex-three{
    display: flex;
    justify-content: space-around;
}
.flex-three .flex-item {
    width: 30%;
}
.flex-three .flex-item img{
    width: 100%;
    object-fit: cover;
    height: auto;
    border-radius: 15px;
    margin-bottom: 2em;
    transition: all 0.3s ease;
    box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
}
.flex-three .flex-item{
    text-align: center;
}
.flex-three .flex-item h1{
    margin-bottom: 0.5em;
}
.flex-three .flex-item p{
    margin-bottom: 3em;
    padding: 0 5%;
}
.quicklinks_block{
    background-color: #eeece5ff;
}
.flex-three .flex-item img:hover{
    transform: scale(1.02);
}
.image_button_grid{
    padding-left: 4em;
}
.image_button_grid .full img{
    width: 100%;
    box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
    display: block;
}
a.bell_tents_full{
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    margin-bottom: 1em;
}
a.bell_tents_full .button_overlay{
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: #36462cff;
    align-items: center;
    transition: all 0.3s ease;
}
a.bell_tents_full:hover .button_overlay{
    opacity: 0.7;
}
a.bell_tents_full img{
    width: 100%;
    display: block;
}
a.bell_tents_full .button_text{
    padding-top: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    text-decoration: none;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
}
a.bell_tents_full:hover .button_text{
    opacity: 1;
}
a.bell_tents_full .button_text h1{
    margin-bottom: 0;
    line-height: 0.9em;
}
a.bell_tents_full .button_text p{
    font-size: 0.9em;
}
.split_buttons{
    display: flex;
}
.split_buttons a:nth-of-type(1){
    margin-right: 0.5em;
}
.split_buttons a:nth-of-type(2){
    margin-left: 0.5em;
}
.activity_block{
    padding-top: 0;
}
.activity_row {
    display: flex;
    background-color: #eeece5ff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    margin-bottom: 2em;
}
.activity_row img{
    width: 60%;
    object-fit: cover;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.activity_row .activity_content_area{
    padding: 2em;
}
.activity_row .activity_content_area h1{
    font-size: 2em;
    margin-bottom: 0.3em;
}
.activity_row .activity_content_area p{
    padding-right: 2em;
}
a.activity_link {
    padding: 12px 20px;
    background-color: #3c522eff;
    width: 100%;
    display: block;
    color: #fff;
    text-decoration: none;
}
a.activity_link:hover {
    padding: 12px 20px;
    background-color: #333;
    width: 100%;
    display: block;
    color: #fff;
    text-decoration: none;
}
.aside_image_item img{
    max-width: 450px;
}
.aside_image_item {
    display: flex;
    justify-content: flex-end;
}

/* About Page */
.button_block,
.about_block{
    padding: 5em 12em;
}
.about_block.cabin{
    padding: 5em 12em 1em 12em;
}
.about_block{
    display: flex;
}
.about_aside{
    width: 40%;
    height: fit-content;
}
.content_area{
    padding-left: 4em;
}
.ethics_block .content_area{
    max-width: 50%;
    padding: 20px;
    color: #fff;
    text-align: center;
}
.ethics_block{
    display: flex;
    justify-content: center;
    padding: 5em 0;
    background-color: #3c522eff;
}
.ethics_block.white{
    background-color: #fff;
}
.ethics_block.white h2{
    color: #333;
}
.ethics_block.white p{
    color: #333;
}
.ethics_block.white ul{
    margin-bottom: 2em;
     color: #333;
}
.ethics_block.white li{
    color: #333;
}
.ethics_block.legal .content_area{
    text-align: left !important;
}
.ethics_logo{
    padding-top: 50px;
}
/* Occasions */
.testimonials{
    text-align: center;
    padding: 5em 8em;
    background-color: #3c522eff;
}
.testimonials h1{
    margin-bottom: 0.3em;
    color: #fff;
}
.swiper-container-testimonials {
    overflow: hidden;
    width: 100%;
}
.testimonials .testimonial_content{
    width: 100%;
}
.testimonials .swiper-slide{
    display: flex;
    justify-content: center;
    align-items: center;
}
.testimonials .swiper-slide{
    padding: 0 10%;
}
.testimonials .t_content{
    font-style: italic;
}
.testimonials span{
    color: #fff;
}
.testimonials .t_name{
    font-weight: 600;
}
.occasions .content_area{
    padding-left: 0;
    width: 60%;
    padding-right: 4em;
}
.occasions h1{
    margin-bottom: 0.3em;
}
.occasions h2{
    margin-bottom: 0.8em;
    padding-right: 10%;
}

/* Pages */
.cabin .content_area{
    padding-left: 0;
    width: 60%;
    padding-right: 4em;
}
.cabin h1{
    margin-bottom: 0.3em;
}
.cabin h2{
    margin-bottom: 0.8em;
    padding-right: 10%;
}
.content_area ul{
    padding-left: 40px;
    padding-top: 15px;
}
.content_area li{
    margin-bottom: 10px;
}

/* Contact Us */

.content_wrap input[type="text"],
.content_wrap input[type="email"]{
    padding: 8px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}
.content_wrap textarea{
    width: 100%;
    font-family: 'Poppins', sans-serif;
    padding: 8px;
}
.wpcf7-submit{
    border: 2px solid #333;
	margin-top: 2em;
    border-radius: 0;
    padding: 10px 20px;
    background-color: unset;
    text-transform: uppercase;
    font-size: 1em;
}
.wpcf7-submit:hover{
    background-color: #333;
    cursor: pointer;
    color: #fff;
}
.contact_aside {
    margin-left: 4em;
    padding: 2em;
    background-color: #eeece5ff;
    border-radius: 15px;
}
.contact_aside h1{
    margin-bottom: 0.3em;
}
.contact_row{
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-bottom: 5px;
}
.contact_row img{
    width: 24px;
    height: auto;
    align-self: center;
    margin-right: 10px;
}
.contact_row a:hover{
    text-decoration: underline !important;
}
.contact_row a{
    font-family: "Scope One", serif;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    padding-left: 10px;
}



/* Footer */

footer{
    background-color: #3c522eff;
}
.footer_top {
    display: flex;
    padding: 60px;
}
.footer_bottom{
    padding: 5px 60px;
}
.footer_top p.address{
    color: #fff;
}
.footer_logo{
    margin-bottom: 30px;
}
p.address{
    margin-bottom: 30px;
}
p.contact_row{
    margin-bottom: 0;
    color: #fff;
}
p.contact_row a{
    color: #fff;
    text-decoration: none;
}
p.contact_row a:hover{
    text-decoration: underline;
}
footer .social_media_block{
    padding-top: 20px;
}
footer h1{
    font-size: 1.1em;
    margin-bottom: 1em;
    color: #fff;
    font-size: 100;
    letter-spacing: 0.1em;
}
footer .column-1,
footer .column-2,
footer .column-3{
    padding-top: 40px;
    margin-right: 70px;
}
footer ul{
    list-style-type: none;
}
footer ul li{
    margin-bottom: 7px;
}
footer ul a{
    color: #fff;
    text-decoration: none;
}
footer ul a:hover{
    text-decoration: underline;
}
.social_media_block img{
    margin-right: 8px;
    transition: all 0.3s ease;
}
.social_media_block img:hover{
    transform: scale(1.1);
}
footer .column-3{
    margin-right: auto;
}
footer .column-4{
    padding-top: 40px;
}
.footer_bottom p{
    text-align: right;
    color: #fff;
    font-size: 0.9em;
}
.footer_bottom a{
    color: #fff;
    text-decoration: none;
}
.footer_bottom a:hover{
    text-decoration: underline;
}
/* Booking Forms */
.booking-container.tariffs {
    padding: 3em 12em 3em 12em;
}
.booking-container {
    padding: 0 12em 3em 12em;
}
.booking-container .content_area {
    padding-left: 0;
}
div#DOPBSPCalendar-no-items-wrapper2,
div#DOPBSPCalendar-no-items-wrapper1 {
    display: none;
}
.DOPBSPCalendar-sidebar .dopbsp-module .dopbsp-input-wrapper input[type=submit]{
	background: #3c522eff !important;
}
.DOPBSPCalendar-sidebar .dopbsp-module .dopbsp-input-wrapper input[type=submit]:hover{
	background: #333 !important;
}
html .DOPBSPCalendar-sidebar .dopbsp-module .dopbsp-input-wrapper input[type=radio]:checked:after,
html .DOPBSPCalendar-sidebar .dopbsp-module .dopbsp-input-wrapper input[type=radio]:checked:before{
	background:  #3c522eff !important;
    border: 1px solid #3c522eff !important;
}
html .DOPBSPCalendar-sidebar .dopbsp-module .dopbsp-input-wrapper input[type=radio]:hover{
	border: 1px solid #3c522eff !important;
	color:  #3c522eff !important;
}
#DOPBSPCalendar-order1 .dopbsp-input-wrapper:nth-of-type(2){
    margin-bottom: 20px !important;
}
.disclaimer h1{
    margin-bottom: 0;
}
a.gallery_button {
    padding: 1.5em 2em;
    background-color: #3c522eff;
    text-align: center;
    color: #fff;
    width: 100%;
    display: block;
    font-size: 2em;
    text-decoration: none;
}
a.gallery_button:hover{
    background-color: #333;
}
/* Gallery Block */

.gallery_block{
    padding-top: 2em !important;
    padding-bottom: 3em !important;
}
.gallery_grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.gallery_grid img{
    width: calc(50% - 10px);
    margin-bottom: 10px;
    object-fit: cover;
}
.bottom_margin{
    padding-bottom: 0 !important;
}
.page-id-241 .content_area{
    padding-left: 0;
}
.page-id-241 .ethics_block .content_area{
    padding-left: 20px;
}


@media only screen and (max-width: 1600px){
    .booking-container {
        padding: 0 3em 3em 3em;
    }
    .booking-container.tariffs {
        padding: 3em 3em 3em 3em;
    }
    .button_block,
    .about_block {
        padding: 3em 3em;
    }
    .about_block.cabin{
        padding: 3em 3em 1em 3em;
    }
    
    .activity_block, .quicklinks_block, .conservation_block, .welcome_block {
        padding: 3em 3em;
    }
    .footer_top {
        padding: 40px;
    }
    .footer_bottom {
        padding: 5px 40px;
    }
}
@media only screen and (min-width: 1440px){
    .button_container{
        display: none;
    }
}
@media only screen and (max-width: 1440px){
    .overlay .contact_row a {
        color: #333;
        transform: translateY(1px);
    }
    .desktop_menu {
        display: none;
    }
    .header_contact{
        display: none;
    }
    a.book_button{
        margin-left: auto;
        margin-right: 40px;
    }
    .second_banner img {
        min-height: 250px;
        object-fit: cover;
    }
    html{
        font-size: 0.9em;
    }
    .page .page_slider{
        height: 400px;
    }
    .page_slider{
        height: 550px;
    }
    .column-4 iframe {
        width: 400px;
        height: 280px;
    }
     /* Mobile Menu */
     .button_container {
        pointer-events: all;
        position: absolute;
        height: 25px;
        width: 28px;
        cursor: pointer;
        z-index: 21;
        transform: translateY(-50%);
        right: 20px;
        top: 52%;
    }
    .header-top .page-wrapper a.logo-a {
        margin-left: 55px;
    }
    .button_container.active .top {
        -webkit-transform: translateY(8px) translateX(0) rotate(45deg);
                transform: translateY(8px) translateX(0) rotate(45deg);
    }
    .button_container.active .middle {
        opacity: 0;
    }
    .button_container.active .bottom {
        -webkit-transform: translateY(-8px) translateX(0) rotate(-45deg);
                transform: translateY(-8px) translateX(0) rotate(-45deg);
    }
    .button_container span {
        background: #333;
        border: none;
        height: 2px;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        -webkit-transition: all .35s ease;
        transition: all .35s ease;
        cursor: pointer;
    }
    .button_container span:nth-of-type(2) {
        top: 8px;
    }
    .button_container span:nth-of-type(3) {
        top: 16px;
    } 
}
@media only screen and (max-width: 1280px){
  
    .column-4 {
        display: none;
    }
}

@media only screen and (max-width: 900px){
	a.bell_tents_full .button_text h1{
		font-size: 1.1em;
	}
	a.bell_tents_full .button_text{
		width: 85%;
	}
    .swiper-text .text {
        font-size: 0.8em;
    }
    .gallery_grid img {
        width: 100%;
    }
    .button_container {
        right: 16px;
        top: 52%;
    }
    .booking-container {
        padding: 0 2em 2em 2em;
    }
    .booking-container.tariffs {
        padding: 2em;
    }
    .button_block,
    .about_block {
        padding: 3em 2em;
    }
    .about_block.cabin{
        padding: 3em 2em 1em 2em;
    }
    .activity_block, .quicklinks_block, .conservation_block, .welcome_block {
        padding: 3em 2em;
    }
    .header_top {
        padding: 10px 20px;
    }
    #main_header img.logo {
        width: 120px;
    }
    .page .page_slider{
        height: 250px;
    }
    .page_slider{
        height: 300px;
    }
    .flex-50 {
        flex-direction: column;
    }
    .flex-50 .flex-item {
        width: 100%;
    }
    .image_button_grid {
        padding-top: 50px;
        padding-left: 0;
    }
    .flex-three {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
    }
    .flex-three .flex-item {
        width: 100%;
        margin-bottom: 50px;
    }
    .flex-40 {
        display: flex;
        flex-direction: column;
    }
    .flex-40 .flex-item {
        width: 100% !important;
        padding-left: 0 !important;
    }
    .flex-40 .flex-item:nth-of-type(1) {
        margin-bottom: 20px;
    }
    .swiper-text {
        font-size: 3.4em;
        right: 20px;
        bottom: 0;
    }
    .home .swiper-text {
        font-size: 2.6em;
    }
    .footer_bottom {
        padding: 5px 20px;
    }
     .footer_top {
    display: flex;
    flex-direction: column;
    }
    footer .social_media_block{
        margin-bottom: 30px !important;
    }
    .footer_column.column-3{
        display: none;
    }
    footer .column-1, footer .column-2, footer .column-3 {
        padding-top: 10px;
    }
    .footer_top {
        padding: 20px;
    }
    .footer_bottom {
        padding: 5px 20px;
    }
    .footer_bottom p {
        font-size: 0.75em;
    }
    .footer_logo {
        width: 200px;
        margin-bottom: 10px;
    }
    .about_block {
        display: flex;
        flex-direction: column-reverse;
    }
    .cabin .content_area {
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }
    .about_aside {
        width: 100%;
    }
    .aside_image_item img {
        max-width: unset;
        width: 100%;
    }
    .activity_row {
        flex-direction: column;
    }
    .activity_row img {
        width: 100%;
        min-height: 250px;
    }
    .content_area {
        padding-left: 0;
    }
    .ethics_block {
        padding: 3em 0;
    }
    .ethics_block .content_area {
        max-width: 100%;
        width: 100%;
    }
    .testimonials {
        padding: 3em 2em;
    }
    .about_block.occasions {
        flex-direction: column;
    }
    .occasions .content_area {
        padding-left: 0;
        width: 100%;
        padding-right: 0;
    }
    .about_block.cabin {
        flex-direction: column;
    }
    .contact_aside {
        margin-left: 0;
    }
}

@media only screen and (max-width: 499px){
    
    .swiper-text {
        font-size: 2em;
    }

}



