/*
 Theme Name: British White Cattle Australia Theme
 Template: Divi
 Version: 1.0.0
 Text-Domain: bwca
*/

/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Theme Overrides
 * =====================================================================================================================
 */

@media only screen and (min-width: 980px) {
    .et_header_style_centered #main-header div#et-top-navigation {
        margin-left: 2.5em;
        margin-top: 2.5em;
    }

    #main-header .nav li ul {
        margin-top: -3em;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    .et_header_style_centered #main-header .logo_container {
        height: auto;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    .et_header_style_centered #et_mobile_nav_menu {
        margin-top: 14em;
    }
}


/* iPhone6+ - portrait */
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) and (orientation : portrait) {
    .et_header_style_centered #et_mobile_nav_menu {
        margin-top: 5em;
    }
}

/* iPhone6+ - landscape*/
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) and (orientation : landscape) {
    .et_header_style_centered #et_mobile_nav_menu {
        margin-top: 14em;
    }
}

/* iPhone6 - portrait */
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : portrait) {
    .et_header_style_centered #et_mobile_nav_menu {
        margin-top: 4em;
    }
}

/* iPhone6 - landscape */
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : landscape) {
    .et_header_style_centered #et_mobile_nav_menu {
        margin-top: 12em;
    }
}

/* iPhone 5 - portrait */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait) {
    .et_header_style_centered #et_mobile_nav_menu {
        margin-top: 4em;
    }
}

/* iPhone 5 - landscape*/
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) {
    .et_header_style_centered #et_mobile_nav_menu {
        margin-top: 9em;
    }
}

@media only screen and (min-width: 981px) {
    .et_header_style_centered #main-header .logo_container {
        height: auto !important;
    }
}

@media only screen and (max-width: 980px) {
    .et_header_style_centered #logo {
        max-height: 60% !important;
    }
}

@media  only screen and (min-device-pixel-ratio: 2) {
    .et_header_style_centered #logo {
        max-height: 60% !important;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)and (-webkit-min-device-pixel-ratio: 2) {
    .et_header_style_centered #logo {
        max-height: 100% !important;
    }
}


/* Setting the breakpoint of the mobile menu */
@media only screen and ( max-device-width : 1024px ) {
#top-menu-nav, #top-menu {display: none;}
#et_top_search {display: none;}
#et_mobile_nav_menu {display: block;}
}


.page-id-59 .et_pb_contact_right p input {
    max-width: 50px !important;
}

#footer-widgets {
    display: none;
}



/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Yoast Breadcrumbs
 * =====================================================================================================================
 */


.et_pb_gallery_title { display: none; }

#breadcrumbs{ text-align: left; }
@media screen and (max-width: 980px){
 #breadcrumbs{ width: 100%; }
}


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * For Sale Form - Front facing
 * =====================================================================================================================
 */

.page-id-4929 #et-main-area {
    background-color: #fff;
}

.page-id-4929 #primary {
    margin-left: 3em;
    margin-right: 3em;
}

.page-id-4929 input[type=text], .page-id-4929 input[type=email], .page-id-4929 input[type=url], .page-id-4929 textarea, .page-id-4929 select {
    background-color: #eee !important;
    border: none !important;
    width: 100%;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    border-radius: 0 !important;
    font-size: 14px;
    color: #999 !important;
    padding: 16px !important;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.page-id-4929 input[type=text] #acf-field-name {
    padding: 24px !important;
}

.page-id-4929 .acf-input-wrap input {
    height: 50px;
}

.page-id-4929 #acf-sold, .page-id-4929 #acf-approved {
    display: none;
}

.acf-form-submit input[type=submit] {
    color: #ce020e !important;
    margin: 8px auto 0;
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 6px 20px;
    line-height: 1.7em;
    background: transparent;
    border: 2px solid;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    width: 10em;
    margin-bottom: 2em;
    margin-left: 0.5em;
}

.acf-form-submit input[type=submit]:hover { 
    background-color: #eee; 
    border-color:#eee; 
    padding: 6px 20px !important; 
}


.acf-field--post-content, .acf-field-5893edf0a79e6, .acf-field-5893ee05a79e7 {
    display: none;
}

/*.acf-fields > .acf-field {
    border-top: transparent !important;
    clear: none !important;
}

.acf-field--post-content {
    display: none;
}

.acf-field--post-title {
    width: 50%;
    float: left;
}

.acf-field-5893cca49176e {
    width: 50%;
    float: right;
}*/




/*
 * ---------------------------------------------------------------------------------------------------------------------
 * For Sale List Page
 * =====================================================================================================================
 */

.page-id-5056 #left-area, .page-id-5056 .et_pb_gutter.et_pb_gutters2 #left-area {
    width: 100% !important;
}

.page-id-5056 #main-content .container:before {
    background-color: transparent;
}

.for-sale-list {
    width: 100%;
    margin-bottom: 4em;
}

.for-sale-list-title {

}

.for-sale-list-img {
    width: 40%;
    margin-right: 1em;
    float: left;
    min-height: 30em;
}

.for-sale-list-content {
    width: 100%;
    margin-left: 5%;
}


.for-sale-list-content h3 {
    color: #cd010e;

}

.for-sale-list-clear {
    clear: both;
    height: 4em;
}

.bwca-listings {
    min-height: 60em;
    margin-bottom: 1em;
}


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Category / Blog News Pages...
 * =====================================================================================================================
 */
body.category{
    /* Style Something */   
}
}