/* ==================================================================================================
Theme Name:     bendures
Description:    child of genesis
Author:         Visualise Creative - Oliver Platten - supervised by Tyler Schofield
Template:       genesis

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
====================================================================================================== */
@import url(https://fonts.googleapis.com/css?family=Asap|Open+Sans+Condensed:300);

/* ===================================================================================
Site wide and Basics [body, .entry-content, h1 - h6 etc]
=================================================================================== */

a {
    text-decoration: none;
}

body {
    background-image: url(https://www.bendures.com/wp-content/uploads/2016/04/background.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    line-height: 1.625;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Asap', sans-serif;
    margin-bottom: 15px;
}

p, li {
    font-family: 'Open Sans Condensed', sans-serif;
}

p {
    margin-bottom: 20px;
}

input, select, textarea {
    border-style: none;
    outline: none;
    outline-offset: 0px;
}

/* ===================================================================================
Custom classes - site wide [Layouts, alignments, spans, headers, link classes etc]
=================================================================================== */
.padding-10 {
    padding: 10px;
}

.padding-20 {
    padding: 20px;
}

.blue {
    color: #8ED8F8;
}

.margin-0 {
    margin: 0px;
}

.centered, #featuredimage {
    text-align: center;
}

.border-r {
    border-radius: 25px;
}

.border-b {
    border-bottom: 1px solid #000;
}

.blue-border {
    border: 1px solid #8ED8F8;
}

.grey-border {
    border: 1px solid #6d6e71;
}

.shadow {
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

.site-inner {
    border-radius: 25px;
    -webkit-box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 21px 0px rgba(0,0,0,0.75);
    background-color: #fff;
    padding: 10px 20px;
}

.content {
    padding: 0px 10px 10px 0px;
}

.entry {
    padding: 10px;
    margin-bottom: 0px;
}

.sidebar .widget {
    padding: 0px;
    margin-bottom: 10px;
}

.divider-b {
    margin: 0px auto 20px;
    border-bottom: 2px dotted #8ED8F8;
    width: 70%;
}

.min-h-245 {
    min-height: 245px;
}

.reverse {
    unicode-bidi: bidi-override;
    direction: rtl;
}

.post {
    border: 1px solid #8ED8F8;
}

.post span a {
    color: #8ED8F8;
}

.post a {
    color: #000;
}

.post a:hover {
    color: #000;
}


.normallist {
    padding-left:35px;
}
.normallist li {
    list-style-type:disc;
}
.margin-b-40 {
    margin-bottom:40px;
}

/* ===================================================================================
Custom Header
=================================================================================== */

#header-info ul, #header-info p {
    text-align: right;
    margin: 0px;
}

#header-info ul {
    background-image: url(https://www.bendures.com/wp-content/uploads/2016/02/home-info-phonebg.png);
    background-repeat: no-repeat;
    background-position: right;
}

#header-inner-wrap {
    background-color: #fff;
    padding: 10px 15px 0px 15px;
}

#header-inner-wrap img {
    margin-top: -35px;
    margin-bottom: 5px;
}

.site-header, .site-footer {
    background-color: transparent;
}

.site-header .wrap {
    padding: 30px 0px 10px;
}

#header-inner-wrap, #footer-inner-wrap {
    display: inline-block;
    width: 100%;
}

#header-info a {
    color: #6D6E71;
    font-size: 25px;
    font-family: 'Asap', sans-serif;
}

#header-info a:hover {
    color: #8ED8F8;
}

#header-info p a {
    font-size: 19px;
    font-family: 'Asap', sans-serif;
}

#header-info p {
    margin-top: 18px;
}

.strapline-top {
    background-color: #6d6e71;
    color: #fff;
}

.strapline-top p {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
    font-family: 'Asap', sans-serif;
}

/* ===================================================================================
Custom Footer
=================================================================================== */

#footer-inner-wrap {
    background-color: #4D4D4F;
    padding: 20px;
}

.site-footer {
    padding: 20px 0px;
}

.site-footer h4, .site-footer a, .site-footer {
    color: #fff;
    text-align: center;
}

.site-footer a:hover {
    color: #8ED8F8;
}

.site-footer a {
    font-family: 'Open Sans Condensed', sans-serif;
}

.site-footer h4 {
    font-size: 25px;
    margin-bottom: 10px;
}

.strapline-bottom {
    background-color: #a7a9ac;
    color: #fff;
}

.strapline-bottom .one-half p {
    margin: 10px 0px 0px;
    font-size: 14px;
}

.strapline-bottom .one-half p:last-of-type {
    margin: 0px;
}

.strapline-bottom .one-half:last-of-type {
    text-align: right;
}

.afterfooter .wrap {
    text-align: right;
}

.afterfooter .wrap p {
    font-size: 14px;
    margin-bottom: 0px;
    margin-top: 25px;
}

/* ===================================================================================
Navigation menu
=================================================================================== */

.nav-primary {
    background-color: transparent;
    text-align: center;
}

.genesis-nav-menu a {
    padding: 10px 23px;
    font-size: 18px;
    background-color: #A7A9AC;
    color: #fff;
    font-family: 'Asap', sans-serif;
}

.nav-primary .genesis-nav-menu a {
    color: #fff;
}

.nav-primary .genesis-nav-menu a:hover, .nav-primary .genesis-nav-menu a:focus, .nav-primary .genesis-nav-menu .current-menu-item > a {
    text-decoration: none;
    background-color: #8ED8F8;
}

.genesis-nav-menu .menu-item {
    margin-right: 4px;
}

.genesis-nav-menu .menu-item:last-of-type {
    margin: 0px;
}

/* ===================================================================================
Sidebar
=================================================================================== */
.free-initial-form h2, .testimonial-form h2 {
    margin: 0px;
    color: #fff;
    padding: 10px 0px;
}

.free-initial-form h2 {
    background-color: #8ED8F8;
}

.testimonial-form h2 {
    background-color: #6d6e71;
}

.free-initial-form .blue-border, .testimonial-form .grey-border {
    padding: 10px;
}

#recent-posts-3 {
    border: 1px solid #8ED8F8;
    padding: 5px;
}

#recent-posts-3 .widget-wrap {
    background-color: #6d6e71;
    text-align: center;
    padding: 10px;
}

#recent-posts-3 h4, #recent-posts-3 a {
    color: #fff;
}

#recent-posts-3 a:hover {
    color: #8ED8F8;
}

/* ===================================================================================
Page Content
=================================================================================== */

/* Contact */

.post-26 a {
    color: #6D6E71;
    font-size: 20px;
    font-family: 'Asap', sans-serif;
}

.post-26 a:hover {
    color: #8ED8F8;
}

#contactform {
    margin: 0 auto;
    width: 80%;
}

#contactform .innerwrap {
    overflow: hidden;
    background-color: #8ED8F8;
    width: 100%;
}

.post-26 #contactform p {
    margin: 0px;
}

.post-26 .field-wrap.label-right label, .post-26 .field-wrap.label-left label {
    display: inline-block!important;
    width: 20%;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 16px;
}

.post-26 .field-wrap.label-left .ninja-forms-field, .field-wrap.label-left .ninja-forms-star-rating-control {
    width: 60%;
}

.post-26 input[type="submit"] {
    background-color: #fff;
    color: #000;
}

.post-26 input[type="submit"]:hover {
    color: #fff;
}

.post-26 input, .post-26 textarea, .post-26 select {
    border: 1px solid #000;
    background-color: #fff;
}

.post-26 input:focus, .post-26 textarea:focus, .post-26 select:focus {
    border: 1px solid #fff!important;
}

.post-26 .ninja-forms-form-wrap textarea {
    vertical-align: top;
}

/* Home Widgets */

.homewidgets {
    display: inline-block;
    margin-bottom: 10px;
    padding: 20px 0px;
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
    width: 100%;
}

.homewidgets .one-third {
    padding: 5px;
}

.homewidgets .innerwrap {
    height: 100%;
    padding: 10px;
}

.homewidgets .front .innerwrap {
    background-color: #6d6e71;
}

.homewidgets .back .innerwrap {
    background-color: #8ED8F8;
}

.container .front img {
    margin-top: 40px;
}

.homewidgets .front .innerwrap p {
    font-size: 25px;
    margin-top: 40px;
}

.homewidgets li, .homewidgets p {
    color: #fff;
    margin-bottom: 0px;
    font-family: 'Asap', sans-serif;
}

.homewidgets a {
    background-color: #6D6E71;
    color: #fff;
    padding: 2px 30px;
    font-family: 'Asap', sans-serif;
}

.homewidgets a:hover {
    color: #8ED8F8;
}

.container {
    width: 350px;
    height: 300px;
    margin: 10px auto;
}

.container .front {
    -webkit-transform: perspective( 600px ) rotateY( 0deg );
    -moz-transform: perspective( 600px ) rotateY( 0deg );
    transform: perspective( 600px ) rotateY( 0deg );
}

.container .back {
    -webkit-transform: perspective( 600px ) rotateY( 180deg );
    -moz-transform: perspective( 600px ) rotateY( 180deg );
    transform: perspective( 600px ) rotateY( 180deg );
}

.container .back, .container .front {
    background: #ccc;
    width: 350px;
    height: 300px;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: transform 1.5s ease;
    -moz-transition: transform 1.5s ease;
    transition: transform 1.5s ease;
    padding: 5px;
    background-color: #fff;
    position: absolute;
}

.container:hover .front {
    -webkit-transform: perspective( 600px ) rotateY(-180deg);
    -moz-transform: perspective( 600px ) rotateY(-180deg);
    transform: perspective( 600px ) rotateY(-180deg);
}

.container:hover .back {
    -webkit-transform: perspective( 600px ) rotateY(0deg);
    -moz-transform: perspective( 600px ) rotateY(0deg);
    transform: perspective( 600px ) rotateY(0deg);
}

/* ===================================================================================
Sliders + Featured Images
=================================================================================== */

#featuredimage {
    display: inline-block;
    width: 100%;
}

#featuredimage img {
    width: 100%;
    display: inline-block;
}

/* ===================================================================================
Forms
=================================================================================== */
.nf-form-fields-required {
    display:none;
}
.ninja-forms-required-items {
    text-align: center;
    font-size: 15px;
}

button, input[type="button"], input[type="reset"], input[type="submit"], .button {
    padding: 2px 12px;
    font-size: 14px;
    background-color: #8ED8F8;
}

button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, .button:focus {
    background-color: #6D6E71;
}

.ninja-forms-form-wrap input:focus, .ninja-forms-form-wrap textarea:focus {
    border: 2px solid #8ED8F8;
    background-color: #fff;
}

input, select, textarea {
    border-radius: 5px;
    padding: 4px;
    margin-top: 10px;
    background-color: #E2E2E2;
    border: 2px solid #fff;
}

.field-wrap, #ninja_forms_required_items {
    margin-bottom: 0px!important;
}

.ninja-forms-form-wrap label {
    font-weight: 400!important;
    font-size: 15px;
    margin-top: 10px;
}

.ninja-forms-form-wrap li label {
    margin-top: 0px;
}

#nf_submit_5 {
    margin-bottom: 10px;
}


/* ===================================================================================
Responsive CSS
=================================================================================== */

@media only screen and (max-width: 1200px) {
    .homewidgets {
        display: none;
    }
}

@media only screen and (max-width: 960px) {
}

@media only screen and (max-width: 800px) {
    .post-26 .field-wrap.label-right label, .post-26 .field-wrap.label-left label {
        width: 100%;
    }

    .post-26 .field-wrap.label-left .ninja-forms-field, .field-wrap.label-left .ninja-forms-star-rating-control {
        width: 80%;
    }

    #contactform {
        width: 100%;
    }

    .site-footer .one-third {
        margin-bottom: 20px;
    }

    .site-inner, .wrap {
        margin: 0px 10px;
    }

    .site-inner {
        padding: 20px 10px;
    }

    .wrap {
        padding: 0px;
    }

    #header-info ul, #header-info p {
        text-align: center;
    }

    #header-info ul {
        background-position: center;
    }

    .site-header .two-thirds {
        text-align: center;
    }

    .site-header .two-thirds img {
        float: none;
        text-align: none;
        margin-right: 0px;
        margin-left: 0px;
    }

    .content {
        padding: 0px 0px 10px 0px;
    }

    body {
        background-image: none;
    }

}

/* Responsive Navigation
---------------------------------------------------------------------------------------------------- */

/* Standard Navigation
--------------------------------------------- */

nav {
    clear: both;
}

/* Navigation toggles
--------------------------------------------- */

.sub-menu-toggle, .menu-toggle {
    display: none;
    visibility: hidden;
}

/* Navigation toggles - Ensure Menu Displays when Scaled Up
--------------------------------------------- */

@media only screen and (min-width: 1251px) {

    nav {
        display: block !important;
    }
}

/* Navigation toggles - Mobile (Change max width as you see fit)
--------------------------------------------- */

@media only screen and (max-width: 1250px) {

    .menu-toggle, .sub-menu-toggle {
        display: block;
        font-size: 30px;
        font-size: 3rem;
        font-weight: 700;
        margin: 0 auto;
        overflow: hidden;
        padding: 20px;
        padding: 2rem;
        text-align: center;
        visibility: visible;
    }

    button.menu-toggle, button.sub-menu-toggle {
        background-color: transparent;
        color: #999;
    }

    .sub-menu-toggle {
        padding: 18px;
        padding: 1.8rem;
        position: absolute;
        right: 0;
        top: 0;
    }

    .menu-toggle:before {
        content: "\2261" "MENU";
    }

    .menu-toggle.activated:before {
        content: "\2191" "MENU";
    }

    .sub-menu-toggle:before {
        content: "+";
    }

    .sub-menu-toggle.activated:before {
        content: "-";
    }

    nav {
        display: none;
        position: relative;
    }

    .genesis-nav-menu .menu-item {
        background-color: #f5f5f5;
        display: block;
        position: relative;
        text-align: left;
        margin-right: 0px;
    }

    .genesis-nav-menu .menu-item:hover {
        position: relative;
    }

    .genesis-nav-menu .sub-menu {
        clear: both;
        display: none;
        opacity: 1;
        position: static;
        width: 100%;
    }

    .genesis-nav-menu .sub-menu a {
        border-left: 0;
        position: relative;
        width: auto;
    }

    .genesis-nav-menu .sub-menu .sub-menu {
        margin: 0;
    }

    .genesis-nav-menu .sub-menu .sub-menu a {
        background-color: #f5f5f5;
        padding-left: 30px;
    }

    .genesis-nav-menu .sub-menu .sub-menu .sub-menu a {
        background-color: #fff;
        padding-left: 40px;
    }

    .nav-primary a:hover, .nav-primary .current-menu-item > a {
        color: #333;
    }

    .genesis-nav-menu a {
        padding: 10px 18px;
    }

    #menu-nav-primary {
        margin-bottom: 20px;
    }
}
