/**
 * Theme Name: Yass Valley
 * Theme URI: http://www.yassvalley.com.au/
 * Author: Osky Interactive
 * Author URI: https://www.oskyinteractive.com.au/
 * Description: Custom theme for the new Yass Valley website
 * Version: 1.0.0
 */

body.page-template.page-template-template-page-without-sidebar.page-template-template-page-without-sidebar-php.page.theme--blue.customize-support section header {
    margin-top: 165px;
}

/* Threesides - 2018-04-13 - Embed Widths (fix responsive) */
.issuuembed, iframe, figure.wp-caption {
    width: 100% !important;
}


i[class~="icon-facebook"] {
    background-image: url(https://www.yassvalley.com.au/wp-content/themes/yass/assets/img/icon-facebook-hover.png);
}
i[class~="icon"] {
    background-repeat: no-repeat;
    display: inline-block;
    width: 32px;
    height: 23px;
    text-align: center;
    line-height: 23px;
    background-size: contain;
    vertical-align: bottom;
}

li ul {
    margin-left: 20px;
}

li ul li:before {
    content: "•";
    margin-right: 5px;
}

@media screen and (max-width: 500px) {
    .et_divi_builder #et_builder_outer_content .et_pb_fullwidth_slider_0.et_pb_slider .et_pb_slide_description .et_pb_slide_title, .et_divi_builder #et_builder_outer_content .et_pb_fullwidth_slider_0.et_pb_slider .et_pb_slide_description .et_pb_slide_title a {
    font-size: 20px !important;
}
}

@media (min-width: 360px) {
    body.home .site-carousel .owl-carousel .owl-item {
        height: 280px;
    }
}
@media (min-width: 768px) {
    body.home .site-carousel .owl-carousel .owl-item {
        height: 330px;
    }
}
@media (min-width: 1105px) {
    body.home .site-carousel .owl-carousel .owl-item {
        height: 440px;
    }
}
@media (min-width: 1600px) {
    body.home .site-carousel .owl-carousel .owl-item {
        height: 650px;
    }
}
@media (min-width: 2000px) {
    body.home .site-carousel .owl-carousel .owl-item {
        height: 850px;
    }
}

/* RM issue 7995 */

.home .main-banner{
    max-height:652px;
}

.owl-stage-outer{
    max-height:652px;
}

.grid-item .tile-content{
    background-color:#fff;
}

.tile-thumbnail, .tile-thumbnail img{
    min-height:200.250px;
    max-height:206.250px;
    width:100%;
}

@media screen and (max-width:1199px){
    .tile-thumbnail, .tile-thumbnail img{
        min-height:225.06px;
        max-height:225.06px;
    }
}

@media screen and (max-width:991px){
    .tile-thumbnail, .tile-thumbnail img{
        min-height:247.5px;
        max-height:247.5px;
    }
}

@media screen and (min-width:1500px){
    .home .main-banner{
    min-height:652px;
    }
}

@-moz-document url-prefix() {
    @media screen and (min-width:992px){
    .form-site-search .search-group{
        margin-right:40px;
    }

    .form-filter .search-group{
        max-width:140px;
    }
  }
}

@media (min-width: 767px){
    .archive .tile {
        height: 670px;
    }
    .post-type-archive-atdw_attraction .tile {
        height: 692px;
    }
    .post-type-archive-atdw_restaurant .tile {
        height: 707px;
    }
}

.archive .grid-item .tile-subtitle-p {
    border: solid 1px #fff;
}

.custom-validation-error .validation_error,
.custom-validation-error-2 .validation_error {
    display:none;
}

.custom-validation-error .gfield_error,
.custom-validation-error-2 .gfield_error {
    background-color: inherit !important;    
    margin: 0px!important;
    border: none !important;
    padding: 0 !important;
}

.custom-validation-error .validation_message {
    color: #f7f1f1 !important;
    margin-top: -18px !important;
}

.custom-validation-error-2 .validation_message {
    color: #1e1e1e !important;
    margin-top: -18px !important;
}

.grid-item.cat12 article {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.archive section, .page-template-default section, .page-template-template-explore section, .page-template-template-information section, .page-template-template-meet-the-locals section, .page-template-template-news-listing-php section, .page-template-template-page-with-banner-left-php section, .page-template-template-page-with-banner-right-php section, .page-template-template-page-with-sidebar section, .post-type-archive section, .search section, .single section {
    margin-top: 0;
}

.et_pb_slide.et_pb_slide_0.et_pb_bg_layout_dark.et_pb_media_alignment_center.et_pb_slider_with_overlay.et-pb-active-slide {
    background-position: center top !important;
}
@media (max-width: 767px){
    section.site-carousel {
        margin-top: 0;
    }
}

.icon-category-13 {
    background-image: url('assets/img/icon-category13.png');
}
.active .icon-category-13 {
    background-image: url('assets/img/icon-category13-hover.png');
}

/* Spring2022 Mobile fix */

@media screen and (max-width:480px){
    #et-boc h3.et_pb_module_header a{
        font-size:18px !important;
        overflow-wrap: normal;
    }
}