/*

--------------------------------------------------------------*/



/* LEONARDO - MOD -v1b

--------------------------------------------------------------*/

body {

    padding-bottom: 0px;

}



p {

    line-height: 18px;

    margin-bottom: 14px;

    font-family: 'Barlow', sans-serif;

    font-size: 14px;

    font-weight: 400;

}



body h4 a {

    color: #444444;

}



a#scroll-up {

    background-color: #ffffff;

    display: none !important;

}



#header-right-section {

    margin-top: 0px;

}



.social-icons-lists.icons-background-none .socicon {

    padding: 0 5px 0 0 !important;

}



#header-text-nav-container {

    border-bottom: 0px solid #F2F2F2;

    background-color: #fff;

}



body,

button,

input,

select,

textarea {

    color: #030303;

    font: 14px 'Barlow', sans-serif;

    font-weight: 400;

}



#search-form {

    position: relative;

    display: inline-block;

}



#masthead .searchform input.s {

    width: 280px;

}



#search-form input[type="text"] {

    height: 40px;

    font-size: 20px;

    line-height: 20px;

    color: #525252;

    background-color: #FFFFFF;

    margin: 0;

    border: 1px solid #959595;

    border-right: 0px;

}



#search-form input[type="submit"] {

    border-radius: 0;

    margin-left: 0;

    margin-bottom: 0;

    padding: 0 12px;

    height: 40px;

    display: block;

    float: left;

    padding: 0 20px;

    width: 45px;

    position: relative;

    z-index: 1;

}



#search-form input[type="submit"] {

    border-radius: 0;

    line-height: 35px;

    margin-bottom: 0;

    margin-left: 0px;

    padding: 0;

    background-color: transparent;

    color: #959595;

    border: 1px solid #959595;

    border-left: 0px;

    -webkit-border-top-right-radius: 3px;

    -webkit-border-bottom-right-radius: 3px;

    -moz-border-radius-topright: 3px;

    -moz-border-radius-bottomright: 3px;

    border-top-right-radius: 3px;

    border-bottom-right-radius: 3px;

}



i.fa.fa-search {

    font-size: 25px;

    color: #bebebe;

    position: absolute;

    top: 6px;

    right: 10px;

    z-index: 0;

}



.main-navigation {

    width: 100%;

    background-color: #FFFFFF;

    margin-bottom: 0px;

    line-height: 22px;

    font-size: 22px;

    font-family: "Barlow", sans-serif;

    font-weight: 400;

    margin: 0;

}



.main-navigation a {

    color: #030303;

    display: block;

    float: left;

    font-size: 22px;

    padding: 12px 0px 12px 0px;

    font-weight: 400;

    margin-right: 0;

    font-family: "Barlow", sans-serif;

    margin-bottom: 0px;

}



.main-navigation li {

    margin-right: 3.8vw;

}



.main-navigation ul li.current-menu-item a {

    color: #030303 !important;

}



.main-navigation ul li:hover>a,

.main-navigation a:hover {

    background-color: #fff;

    color: #030303;

    text-decoration: underline;

}



.main-navigation ul li ul li a {

    margin-right: 0px;

}



body .main-navigation ul li ul,

.main-navigation ul li:hover ul ul,

.main-navigation ul ul li:hover ul ul,

.main-navigation ul ul ul li:hover ul ul,

.main-navigation ul ul ul ul li:hover ul ul {

    display: none;

    z-index: 100;

    border-left: 1px solid #e2e2e2;

    border-right: 1px solid #e2e2e2;

    border-bottom: 1px solid #e2e2e2;

    margin-left: -1px;

    margin-top: 0px;

}



.main-navigation ul li ul li {

    float: none;

    border-bottom: 1px solid #e2e2e2;

    line-height: 14px;

    font-size: 14px;

    font-family: "Barlow", sans-serif;

    font-weight: 300;

}



.main-navigation ul li ul li a,

.main-navigation ul li.current-menu-item ul li a,

.main-navigation ul li ul li.current-menu-item a,

.main-navigation ul li.current_page_ancestor ul li a,

.main-navigation ul li.current-menu-ancestor ul li a,

.main-navigation ul li.current_page_item ul li a {

    float: none;

    font-size: 14px;

    line-height: 14px;

    font-weight: 300;

    height: 100%;

    padding: 8px 14px;

    color: #030303;

    background-color: #fff;

}



.main-navigation a:hover,

.main-navigation ul li ul li a:hover,

.main-navigation ul li ul li:hover>a,

.main-navigation ul li.current-menu-ancestor a,

.main-navigation ul li.current-menu-item a,

.main-navigation ul li.current-menu-item ul li a:hover,

.main-navigation ul li.current_page_ancestor a,

.main-navigation ul li.current_page_item a,

.main-navigation ul li:hover>a,

.main-small-navigation li:hover > a {

    background-color: #ffffff;

    color: #030303;

}



.main-navigation ul li ul li a:hover {

    background-color: #f2f2f2;

    color: #030303;

    text-decoration: none;

}



.main-navigation ul li ul {

    min-width: 170px;

}



.footer-socket-wrapper {

    display: none;

}



.footer-widgets-wrapper {

    background-color: #525252;

    border-top: 0px solid #F2F2F2;

}



.footer-widgets-area {

    padding-top: 30px;

    padding-bottom: 30px;

    color: #AAAAAA;

}



.footer-widgets-area p {

    text-align: left;

    color: #fff;

    font-size: 16px;

    line-height: 20px;

    white-space: nowrap;

}



#colophon,

#colophon p {

    font-size: 16px;

    line-height: 20px;

}



#colophon .widget {

    padding-bottom: 0;

}



h1,

h2,

h3,

h4,

h5,

h6 {

    padding-bottom: 18px;

    color: #030303;

    font-weight: 500;

    font-family: "Barlow", sans-serif;

}



h4 {

    border-bottom: 8px #989797 solid;

    padding-bottom: 5px;

    margin-bottom: 10px;

    font-size: 16px;

    line-height: 20px;

}



.wpcf7-form input[type="email"] {

    padding: 5px 15px;

    border: 1px solid #c6c6c6;

    line-height: 20px;

    font-size: 14px;

    font-family: "Barlow", sans-serif;

    font-weight: 400;

    color: #030303;

    width: 100%;

    width: calc(100% - 30px);

    margin: 0 0 20px;

    background-color: #fff;

    -webkit-border-radius: 0px;

    -moz-border-radius: 0px;

    border-radius: 0px;

}



.wpcf7-form input[type=submit] {

    margin-left: 0px;

    padding: 4px 40px;

    border: 0px;

    -webkit-border-radius: 15px;

    -moz-border-radius: 15px;

    border-radius: 15px;

    font-size: 14px;

    -moz-appearance: none !important;

    -webkit-appearance: none !important;

    appearance: none !important;

    cursor: pointer;

    display: inline-block;

    color: #FFF;

    font-variant: small-caps;

    position: relative;

    transform: translateX(-50%);

    left: 50%;

}



div.wpcf7 .ajax-loader {

    margin: 0 0 0 124px;

}



span.wpcf7-not-valid-tip {

    color: #f00;

    font-size: 12px;

    font-weight: normal;

    display: block;

    margin-top: -20px;

}



div.wpcf7-response-output {

    margin: -2.5em 0.5em 1em;

    padding: 0.2em 1em;

}



div.wpcf7-response-output {

    margin: -2.5em 0.5em 1em;

    padding: 0.2em 1em;

    border: 2px solid #888 !important;

    font-size: 13px;

    text-align: center;

    background-color: #eee !important;

}



.google-maps {

    position: relative;

    padding-bottom: 75%; /*This is the aspect ratio*/

    height: 0;

    overflow: hidden;

    margin-top: 30px;

}



.google-maps iframe {

    position: absolute;

    top: 0;

    left: 0;

    width: 100% !important;

    height: 100% !important;

}



div#media_image-9 {

    margin-top: 30px;

    text-align: center;

}



div#media_image-10 img {

    width: 100%;

    height: auto;

}



.thebox .read-more {

    font-size: 14px;

    margin-top: -10px;

    padding: 10px 20px;

    color: #030303;

    cursor: pointer;

    display: block;

    float: right;

    text-decoration: underline;

}



.thebox .read-more:after {

    content: "\A";

    white-space: pre;

}



.thebox h4 em {

    font-weight: 400;

    font-style: normal;

}



.thebox .widget_sow-editor img {

    width: 100%;

    heigth: auto;

    margin-bottom: 0px;

}



.thebox .widget_sow-editor a {

    color: #030303;

    text-decoration: underline;

    font-weight: 500;

}



.thebox .widget_sow-editor a:hover {

    color: #030303;

    text-decoration: underline;

}



.theme-default .nivo-caption {

    padding: 20px 30px;

    font-family: "Barlow", sans-serif;

    font-size: 20px;

    line-height: 20px;

    font-weight: 400;

    opacity: 1;

    color: #fff;

    background: rgba(0, 0, 0, 0.7);

}



.blog .post-featured-image img {

    width: 100%;

}



.blog .entry-meta {

    color: #666666;

    padding-bottom: 0px;

    border: 1px solid #EAEAEA;

    height: 39px;

}



.blog .entry-meta .read-more {

    font-size: 16px;

    margin-top: 0px;

    padding: 10px 20px;

    color: #fff;

    cursor: pointer;

    display: inline-block;

    float: right;

    background-color: #525252 !important;

}



.blog .entry-meta .posted-on {

    font-size: 14px;

    line-height: 20px;

    margin-right: 0;

    padding: 10px 10px;

    float: left;

}



@media (max-width:1024px) and (min-width:768px) {

    .sub-toggle,

    .sub-menu .sub-toggle {

        right: -20px;

        left: auto;

        top: 50%;

        background: transparent;

        color: transparent;

        border-color: transparent;

        width: auto;

    }



    .sub-toggle i.fa.fa-caret-down {

        color: #ccc;

        display: block;

    }



    .main-navigation li.menu-item-has-children:hover {

        background: #fff none repeat scroll 0 0;

    }



    .main-navigation li.menu-item-has-children a {

        padding: 12px 0px 12px 18px;

    }



    .main-navigation a {

        font-size: 18px;

        margin-right: 2vw;

    }



}



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

    #header-right-section {

        width: 100%;

    }



    #header-right-sidebar .searchform {

        width: 90%;

        margin: 0 auto;

        max-width: 320px;

    }



    #masthead .searchform input.s {

        width: 85%;

        width: calc(100% - 45px);

    }



    .boxes {

        width: 100%;

        min-height: 200px;

        display: flex;

        flex-wrap: wrap;

    }



    .thebox {

        width: 100%;

        margin-left: 0;

        flex: none;

    }



    .thebox.first {

        order: 3;

    }



    aside#text-3 {

        width: 100%;

    }



    #colophon,

    #colophon p {

        font-size: 14px;

        line-height: 18px;

        text-align: center;

    }



    .tg-two-third {

        float: none;

        margin: 0 auto;

        width: 100%;

        display: flex;

    }



    aside.widget_media_image {

        margin-right: 1.5vw;

    }



    aside.widget_media_image:last-child {

        margin-right: 0vw;

    }



    .img-footer-esq-01 {

        float: left;

        margin: 16px 0px 0px 0px;

    }



    img.img-footer-esq-01,

    img.img-footer-esq-02,

    img.img-footer-esq-03,

    img.img-footer-esq-04,

    img.img-footer-esq-05,

    img.img-footer-esq-06 {

        width: 100%;

        height: auto;

        margin-left: 0px;

        margin-right: 0px;

    }



    .site-header .menu-toggle {

        background: #FFFFFF;

        color: #444444;

        font-size: 24px;

        font-weight: 500;

        padding: 5px 22px;

        margin: 0;

        text-align: center;

        font-family: 'Roboto';

        font-family: "Barlow", sans-serif;

    }



    ul#menu-principal {

        border: 1px solid #eee;

        width: 100%;

    }



    .main-small-navigation a {

        display: block;

        color: #030303;

        padding: 10px 20px;

        text-decoration: none;

        border-bottom: 1px solid #eee;

        font-size: 15px;

    }



    .main-small-navigation li:hover > a {

        background-color: #f2f2f2;

    }



    .main-navigation ul {

        display: none !important;

    }



    .site-header .menu-toggle:before {

        color: #030303;

    }



    .main-small-navigation .current_page_item a {

        color: #030303;

    }



}



/*New responsivo*/

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

    header.entry-header h1,

    .page-header h1.page-title {

        margin-left: 0px;

    }



    #header-left-section {

        width: 42%;

        float: left;

        margin-top: -10px;

    }



    #header-right-sidebar {

        padding-top: 8px;

        width: 100%;

    }



    aside#text-2 {

        position: absolute;

        margin-top: 45px;

        right: 15px;

    }



    #header-right-sidebar .searchform {

        width: 100%;

    }



    #site-navigation {

        position: absolute;

        top: 22px;

        width: 130px;

        right: 0px;

    }



    .menu-principal-container {

        margin-left: -40px;

        z-index: 9999;

        position: relative;

    }



    .metaslider.metaslider-nivo {

        margin-top: 20px;

        margin-bottom: 50px;

    }



    .nivoSlider {

        overflow: unset !important;

    }



    .nivo-caption {

        top: 100px;

        height: auto;

        display: table !important;

    }



    footer .img-footer-esq-01,

    footer .img-footer-esq-02,

    footer .img-footer-esq-03,

    footer .img-footer-esq-04,

    footer .img-footer-esq-05,

    footer .img-footer-esq-06 {

        margin: 0px !important;

    }



    .tg-two-third {

        width: 130% !important;

        margin-left: -14% !important;

    }



    .paginacao a {

        display: inline-table;

        margin-bottom: 5px;

    }



    .entry-content.clearfix iframe {

        max-width: 292px;

    }



    .box-map {

        width: 100% !important;

    }

    form#search-form {
	    margin: 0px auto !important;
	    display: table;
	}



}

