/*

Theme Name: twentyseventeen-child

Description: Page Builder Structural Styles

Template: twentyseventeen

*/

/* Parallax */

@media (min-width:767px) {
    .add-parallax {
        background-attachment: fixed !important;
    }
}

/* End Parallax */

div.widget ul li,
div.widget ol li {
    border-bottom: none;
    border-top: none;
}

/* Header */

ul.social {
    list-style: none;
}

ul.social li {
    margin-right: 10px;
    display: inline;
    font-size: 20px;
}

ul.social li:last-child {
    margin-right: none;
}

/* End Header */


/* 2/3 + 1/3 Layout */

@media (min-width: 768px) {
    .span8 {
        width: 66.66%;
        float: left;
    }
    .span4 {
        width: 33.33%;
        float: left;
    }
}

div.row.twothirds_onethird {
    padding-bottom: 40px;
}

.cater-date input[type="date"] {
    padding: 0 0.7em;
}

/* THIRDS - 1/3 + 1/3 + 1/3 */

.row.three_columns {
    padding: 40px 0px;
}

/* Basic row styles */

.wrapper {
    padding: 30px 0;
    margin: 0 auto;
    display: table;
    width: 1100px;
}

div.row{
    background-repeat: no-repeat !important;
    width: 100%;
    float: left;
}

div.row.with-padding{
    padding:30px 0;
}

div.row .row_wrp {
    max-width: 1100px;
    margin: 0 auto;
}

body .custom-header {
    margin-bottom: 0 !important;
}

.span3 {
    float: left;
    width: 25%;
}

.span6.left {
    float: left;
    width: 50%;
}

.span6 {
    float: left;
    width: 50%;
}

.row.fifty .span6 h3,
.row.onethird .span4 h3,
.row.onethird .span8 h3 {
    line-height: 39px;
    font-weight: bold;
    font-size: 32px;
}

.row.fifty .span6 {
    padding: 50px;
}

.row.fifty .wrapper .span6 {
    padding: 0;
}

.row.onethird .span4,
.row.onethird .span8 {
    padding: 50px;
}

.span6.right {
    width: 50%;
    float: right;
}

.span4.left {
    width: 33.3%;
    float: left;
    background-size: cover !important;
}

.three_columns .span4,
.span4 {
    width: 33.33%;
    float: left;
}

.span8.right {
    width: 66.66%;
    float: right;
}

.row .span6 p:last-child,
.row .span4 p:last-child,
.row .span8 p:last-child {
    margin-bottom: 0;
}

.site-branding{
    margin-bottom:0 !important;
}

/* ACF Menu Styles */

.menu-wrapper {
    width: 80%;
    margin: 0 auto;
    padding-top: 35px;
}

.menu-wrapper td {
    font-size: 18px;
    line-height: 1.3;
}

.row.fifty .span6 {
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

@media (min-width:767px) {
    .menu-wrapper tr {
        border-bottom: none;
    }

    .menu-wrapper tr td:nth-child(1) {
        text-transform: uppercase;
        width: 20%;
    }

    .menu-wrapper tr td:nth-child(2) {
        width: 70%;
    }

    .menu-wrapper tr td:nth-child(3) {
        width: 10%;
        text-align: right;
    }
}

.menu-wrapper p {
    margin-bottom: 0;
}

@media (max-width: 767px) {

    /* Force table to not be like tables anymore */
    table, thead, tbody, th, td, tr {
        display: block;
    }

    .menu-wrapper td {
        width: 100%;
        padding: 0;
    }

    .menu-wrapper tr {
        display: flex;
        flex-wrap: wrap;
    }

    .menu-wrapper td:nth-child(1) {
        order: 1;
        flex: 50%;
        margin-top: 10px;
    }

    .menu-wrapper td:nth-child(2) {
        order: 3;
        margin: 10px 0;
    }

    .menu-wrapper td:nth-child(3) {
        order: 2;
        flex: 50%;
        text-align: right;
        margin-top: 10px;
    }
}

/* End Menu Styles */

/* Single Blog Post */

.span8.content {
    width: 66% ;
    float: left;
    padding-bottom: 60px;
}

.span4.sidebar {
    width: 33%;
    float: right;
    padding-left: 15px;
}

a.btn-bt.default.mobile {
    display: none;
}

/* End Single Blog Post */

/* Responsive */

/*@media(max-width: 1380px) {
    body .navigation-top ul li  a {
        line-height: 25px;
        font-size: 15px;
    }

    ul#top-menu{
        text-align: right;
    }
}

@media(max-width:1228px) {
    body .navigation-top ul li a {
        letter-spacing: 0;
    }
}*/

@media(max-width:1200px) {
    .wrapper {
        max-width: 979px;
        width:100%
    }
}

@media(max-width:1045px) {
    .wrapper {
        max-width: 760px;
    }

    .middle-cta h2 {
        text-align: center;
        font-size: 45px;
    }

    .middle-cta p {
        text-align: center;
    }

    .service h3 {
        font-size: 25px;
    }
}

@media (max-width: 767px) {

    a.btn-bt.default,
    .bottom_cta .gform_wrapper .gform_footer input.button,
    .bottom_cta .gform_wrapper .gform_footer input[type=submit],
    .bottom_cta .gform_wrapper .gform_page_footer input.button,
    .bottom_cta .gform_wrapper .gform_page_footer input[type=submit] {
        padding: 15px 30px !important;
    }

    .span3 {
        width: 100%;
        float: left;
        padding: 0 30px;
    }

    .span6.left {
        width: 100%;
        float: left;
        padding: 0 30px;
    }

    .span6.right {
        width: 100%;
        float: left;
        padding: 0 30px;
    }

    .span4.left {
        width: 100%;
        float: left;
        padding: 0 30px;
    }

    .span8.right {
        width: 100%;
        float: left;
        padding: 0 30px;
    }

    body .menu-toggle {
        margin-top: -8px;
        font-size: 47px;
        line-height: 1;
        float: right;
        padding: 0;
    }

    header ul#top-menu li a {
        font-size: 14px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    body .menu-toggle:focus {
        outline: none;
    }

    .top-widget .span6.left,
    .top-widget .span6.right {
        width: 45%;
    }
    .top-widget .span6.right {
        float: right;
    }

    a.btn-bt.default.mobile {
        font-family: 'Raleway', sans-serif;
        letter-spacing: 3px;
        position:absolute;
        line-height: 22px;
        transition: 0.3s;
        font-weight: 400;
        font-size: 18px;
        display:block;
        right:80px;
        top:87px;
    }

    .row.fifty {
        display: block;
    }

    .span4,
    .span6 {
        width: 100%;
        float: left;
    }

    .site-title {
        display: none
    }

    .row.page-title {
        padding: 0 50px;
    }

    /* Homepage */

    .home-h4 h2 {
        text-align: center;
    }

    .home-h4 h4 {
        font-weight: 400;
        font-size: 14px;
        padding-top: 0;
        float: right;
        width: 40%;
    }

    .home-h4 p {
        float: left;
    }

    .span6.right.home-h4 {
        background: url(/professional/wp-content/uploads/2017/09/Top-Left-Featured-Image.png);
        background-size: 230px !important;
        background-repeat: no-repeat;
        padding-top: 20px !important;
    }

    .row.fifty {
        background-position: center !important;
    }

    .row.parallax {
        padding: 20px;
    }

    .wrapper {
        padding: 50px;
        width: 100%;
    }

    .span4.service,
    .span6.service {
        padding: 0;
    }

    .service h3,
    .testimonials-wrp h3 {
        margin-bottom: 15px;
        font-weight: 200;
        line-height: 1.3;
        font-size: 25px;
    }

    div.row .row_wrp {
        padding: 0;
    }

    /* Inner Pages */

    .row.full_width.top-cta .wrapper {
        padding: 30px 5px;
    }

    .row.full_width.top-cta .wrapper a.btn-bt.default {
        padding: 15px !important;
        font-size: 12px;
        margin-left: 0;
    }

    .top-cta p {
        font-size: 14px;
    }

    .middle-cta h2 {
        font-size: 28px;
        text-align: center;
    }

    .middle-cta {
        padding: 0;
    }

    .middle-cta p {
        text-align: center;
    }

    .row.fifty.list-with-icons .wrapper {
        padding: 0 50px 50px 50px;
    }

    .row.fifty.list-with-icons .wrapper .span6.right {
        padding-bottom: 50px;
    }

    .row.fifty.list-with-icons .span6 h3 {
        font-size: 30px;
    }

    .row.blog-posts .span6 {
        margin-bottom: 15px;
        width: 100%;
        margin: 0;
    }

    .row.blog-posts .wrapper {
        padding:0;
    }

    .row.fifty.contact-us p {
        margin-left: 0;
    }

    .contact-us .wpcf7-form input[type="submit"] {
        width: 100%;
    }

    .row.fifty.contact-us .span6.left {
        padding-right: 0;
    }

    .row.fifty.contact-us .span6 h3,
    .directions h3 {
        font-size: 19px;
    }

    .directions h3 {
        line-height: 1.3;
    }

    .page-id-226 .row.full_width.has-padding .wrapper {
        padding-bottom: 0;
    }

    .row.fifty.contact-us .span6.right {
        padding-bottom: 30px;
        padding-left: 0;
    }

    .span6.left form p {
        margin-bottom:0;
    }

    .contact-us.directions .wrapper {
        padding: 30px 50px;
    }

    .row.fifty.directions .span6.right {
        padding-bottom: 30px;
    }

    .list-with-icons .span6.right ul {
        margin-top: 0;
    }

    .page-id-388 .row.fifty.list-with-icons .wrapper .span6.right {
        padding-bottom: 0;
    }

    .product-img.row.fifty .span6 {
        height: 250px;
    }

    .default-header {
        height: 120px;
    }
}

/* End Responsive */