html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}
.main-container { 
    max-width: 96%;
}
#page, .container { 
    max-width: 100%;
}

/*-----------------------------------------------
/* @media {      } queries
/*---------------------------------------------*/

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

@media screen and (max-width: 992px) { 
    #site-header {
        max-width: 96%;
        margin: 0 auto;
        float: none;
    }
    #primary-navigation.sticky-navigation-active,
    #primary-navigation .primary-menu-wrap,
    #site-footer .footerTop .container { 
        width: 96%;
    }
    #primary-navigation .primary-menu-wrap {
        max-width: 100%;
        margin: 0;
    }
    header #header .wrap-banner {
        padding-left: 0px;
    }
    #primary-navigation .navigation ul li a, #primary-navigation .navigation ul li a:link, 
    #primary-navigation .navigation ul li a:visited, #secondary-navigation .navigation ul li a, 
    #secondary-navigation .navigation ul li a:link, #secondary-navigation .navigation ul li a:visited {
        padding: 10px;
    }
    #header #s {
        width: 70%;
    }
    .wrap-logo-search .search .widget #searchform fieldset {
        padding-left: 10px;
    }
    #move-to-top {
        margin-right: 0;
        right: 15px;
    }
}

@media screen and (max-width: 768px) { 
    .navigation.mobile-only { 
        display: none;
    }

    .article {
        width: 100%;
        margin-bottom: 50px;
    }
    .navigation {
        width: 96%;
        border: none;
        display: none;
    }
    .navigation.mobile-menu-wrapper {
        display: block;
        position: fixed;
        top: -50px;
        left: -360px;
        width: 300px;
        height: 100%;
        background-color: #494951;
        overflow: auto;
        transition: left 500ms ease;
        -webkit-backface-visibility: hidden;
        z-index: 1000;
    }
    #logo a, #logo img {
        float: none !important;
    }
    .wrap-logo-search .search .widget #searchform {
        padding-top: 0px;
    }
    .featured-thumbnail img {
        width: 120%;
        max-width: 115%;
    }
    #sidebar .widget {
        float: none;
        width: 40%;
        margin: 0px auto 30px;
    }
    header #header .wrap-logo-search .logo, header #header .wrap-logo-search .search {
        width: 100%;
        float: none;
    }
    #secondary-navigation {
        margin: 30px auto;
    }
    #site-footer .container { padding: 0 2% }
    #primary-navigation.sticky-navigation-active { width: 100% }
    .mts-cart span a { padding-bottom: 0 }
    .mts-cart {
        float: none;
        text-align: center!important;
    }
    .header-layout-2 #header h1, .header-layout-2  #header h2, .header-layout-2  .site-description {
        float: none;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    .header-layout-2 #logo a, .header-layout-2 #logo img {
        float: none;
        letter-spacing: 0;
    }
    .header-layout-2 .logo-wrap {
        margin-bottom: 10px;
        margin-top: 0;
        width: 100%;
    }
    #secondary-navigation {
        width: 100%!important;
        position: relative!important;
    }
    .navigation .menu a, .navigation .menu .fa > a, .navigation .menu .fa > a {
        color: #fff!important;
        background: transparent;
    }
    .navigation .menu {
        display: block!important;
        float: none;
        background: transparent !important;
    }
    .navigation ul ul {
        visibility: visible!important;
        opacity: 1!important;
        position: relative;
        left: 0!important;
        border: 0;
        width: 100%;
    }
    .navigation ul li li {
        background: transparent;
        border: 0;
    }
    .navigation { height: auto }
    .navigation li, .navigation ul li li {
        width: 100%!important;
        float: left;
        position: relative;
    }
    .navigation ul li:after { display: none }
    .navigation ul li:before { display: none }
    .navigation li a {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1)!important;
        width: 100%!important;
        box-sizing: border-box;
    }
    .navigation a {
        text-align: left;
        width: 100%;
        text-indent: 25px;
    }
    a#pull {
        display: block;
        width: 100%;
        position: relative;
        color: #fff;
        padding: 15px 0;
        text-indent: 20px;
    }
    a#pull:after {
        content: "\f0c9";
        display: inline-block;
        position: absolute;
        right: 15px;
        top: 15px;
        font-family: FontAwesome;
    }
    .rtl a#pull:after {
        right: auto;
        left: 15px;
    }
    .navigation ul .sfHover a, .navigation ul li:hover, 
    .navigation ul .sfHover ul li { 
        background: transparent;
    }
    
    #catcher { 
        height: 0 !important;
    }
    .sticky-navigation-active {
        position: relative !important;
        top: 0 !important;
    }
    .navigation.pagination { 
        margin-bottom: 50px;
        width: 90%;
        margin: 0px auto 50px;
    }
    .navigation.pagination a {
        width: auto;
        text-indent: 0;
    }
    .wrap-logo-search .search .widget #searchform fieldset {
        padding-left: 0px;
        width: 100% !important;
    }
    .main-container, #site-header, #site-footer {
        position: relative;
        left: 0;
        transition: left 500ms ease;
    }
    .mobile-menu-active .main-container, .mobile-menu-active #site-header, .mobile-menu-active #site-footer {
        left: 300px;
        transition: left 500ms ease;
    }
    .navigation.mobile-menu-wrapper {
        display: block;
        position: fixed;
        top: -50px;
        left: -360px;
        width: 300px;
        height: 100%;
        background-color: #494951;
        border-right: 1px solid rgba(0, 0, 0, 0.2);
        overflow: auto;
        transition: left 500ms ease;
        -webkit-backface-visibility: hidden;
        z-index: 1000;
    }
    .mobile-menu-active .navigation.mobile-menu-wrapper { left: 0 }
    .navigation ul li {
        width: 100%;
        display: block;
    }
    .navigation ul li:hover { background: none }
    #secondary-navigation .navigation ul li a, #secondary-navigation .navigation ul ul a {
        padding: 11px 0;
        width: 100%;
        border: none;
    }
    #secondary-navigation .navigation ul li {
        margin: 0px;
    }
    #secondary-navigation .navigation ul li a, #secondary-navigation .navigation ul li a:link, 
    #secondary-navigation .navigation ul li a:visited {
        background-color: #494951;
        background-color: transparent;
        padding: 10px 0px;
    }
    #menu-menu-superior {
        background: #ccc;
    }
    .mobile-menu-wrapper {
        padding: 15px;
        margin: 50px 0px;
        border-radius: 5px;
    }
    .navigation ul ul {
        position: static;
        width: 100%;
        border: none;
    }
    .navigation ul ul li {
        background: none;
        width: 100%;
    }
    .navigation i {
        display: inline;
        margin-right: 0;
    }
    .navigation ul ul a { padding: 11px 18px !important }
    .navigation ul ul ul a { padding: 11px 27px !important }
    .navigation ul ul ul ul a { padding: 11px 36px !important }
    .navigation .toggle-caret {
        display: block;
        width: 42px;
        height: 42px;
        line-height: 42px;
        color: #ffffff;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }
    .rtl .navigation .toggle-caret {
        border-left: none;
        border-right: 1px solid rgba(0, 0, 0, 0.2);
    }
    .navigation .menu-item-has-children > a:after { 
        content: '';
    }
    .sidebar.c-4-12 { 
        max-width: 100%;
        width: 100%;
    }
    #mobile-menu-overlay {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        cursor: pointer;
        display: none;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        background: rgba(0,0,0,.5);
    }
    html.noscroll {
        position: fixed;
        overflow-y: scroll;
        width: 100%;
    }
    #wpmm-megamenu .wpmm-subcategories {
        width: 100%;
        text-indent: 0;
    }
    #wpmm-megamenu .wpmm-posts { 
        width: 100%;
    }
    #wpmm-megamenu .wpmm-post {
        width: 100%!important;
        padding: 0 10px!important;
        text-align: center!important;
    }
    #wpmm-megamenu .wpmm-thumbnail img { 
        float: left;
    }
    .admin-bar .pace .pace-progress { 
        top: 46px;
    }
    #header h1, #header h2, .site-description {
        float: none !important;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    .logo-wrap {
        margin-bottom: 10px;
        margin-top: 0;
        width: 100%;
    }
    a#pull { 
        text-indent: 15px;
    }
    #header h1, #header h2 { 
        font-size: 40px;
    }
    .site-description { 
        margin-top: 0;
    }
    .logo-wrap {
        margin-bottom: 10px;
        margin-top: 0;
        width: 100%;
    }
    .widget-header {
        max-width: 100%;
        float: left;
        margin-bottom: 16px;
        margin-top: 17px;
    }
    .article { width: 100% }
    #content_box {
        padding-right: 0px;
        padding-left: 0px!important;
    }
    .sidebar.c-4-12 {
        float: none !important;
        width: 100% !important;
        padding-left: 0;
        padding-right: 0;
        margin: 0 auto;
        border-left: 0;
        clear: both;
    }
    .f-widget, .widgets-num-4 .f-widget {
        width: 48%;
        margin-right: 4%;
    }
    .f-widget-2, .widgets-num-4 .f-widget-2, .widgets-num-4 .f-widget.last { margin-right: 0 }
    .rtl .f-widget, .rtl .widgets-num-4 .f-widget {
        margin-left: 4%;
        margin-right: 0;
    }
    .rtl .f-widget-2, .rtl .widgets-num-4 .f-widget-2, .rtl .widgets-num-4 .f-widget.last { margin-left: 0 }
    .ad-125 li { max-width: 45% }
    #comments { margin-right: 0 }
    .widget-header .textwidget {
        margin-top: 0;
        padding-left: 0;
        border-left: none;
    }
}

@media screen and (max-width: 600px) { 
    .featured-thumbnail img { width: 100% }
    .admin-bar .pace .pace-progress { top: 0px }
    .sbutton { float: right }
    .f-widget, .widgets-num-4 .f-widget {
        width: 100%;
        margin-right: 0;
    }
    #sidebar .widget {
        width: 300px;
    }
    .essb_links.essb_width_flex li {
        width: 250px !important;
        display: block !important;
        margin: 15px auto 0px !important;
    }
    .essb_links.essb_width_flex li a {
        width: 100%;
    }
    .essb_links li a {
        margin: 0px;
        padding: 5px 0px;
    }
}

@media screen and (max-width:480px) { 
    .navigation {
        margin-top: 0;
        margin-bottom: 0;
        border-bottom: 0;
    }
    #secondary-navigation {
        width: 102%;
        height: 35px;
    }
    .related-posts .latestPost {
        width: 48%;
        float: left!important;
        max-width: 100%;
        margin-right: 4%;
    }
    .related-posts .latestPost:nth-child(2n) { 
        margin-right: 0;
    }
    .rtl .related-posts .latestPost {
        margin-left: 4%;
        float: right!important;
    }
    .rtl .related-posts .latestPost:nth-child(2n) {
        margin-left: 0;
    }
    .related-posts .relatepostli4 {
        padding-bottom: 15px;
        border-bottom: 1px solid #CCC;
        margin-bottom: 11px;
    }
    .one_half, .one_third, .two_third, .three_fourth, .one_fourth, .one_fifth, 
    .two_fifth, .three_fifth, .four_fifth, .one_sixth, .five_sixth {
        width: 100%;
        margin-right: 0;
    }
    .copyrights {
        text-align: center;
    }
    .to-top { 
        width: 100%;
    }
    #cancel-comment-reply-link {
        margin-bottom: 0;
        margin-top: -43px;
    }
    .navigation.mobile-menu-wrapper {
        top: 0px;
        left: -360px;
        width: 220px;
    }
    .navigation.pagination a.next, .navigation.pagination a.prev {
        display: block !important;

    }

    .headerlink {
        width: 100%;
    }
    .grid2, #content_box {
        display: flex;
        flex-wrap: wrap;
    }
    .post-info > span {
        display: block;
    }
    #sidebar .widget {
        width: 250px;
    }
}

@media screen and (max-width:400px) { 
    article header {
        overflow: hidden;
    }
    .slidertext { 
        display: none;
    }
    #header #s {
        width: 60%;
    }
}

@media screen and (max-width:320px) { 
    .latestPost {
        float: none;
        width: 100% !important;
    }
    .sidebar.c-4-12 { 
        width: 96% !important;
    }
    .latest-cat-post #featured-thumbnail {
        width: 100%;
        max-width: 100%;
    }
    .latest-cat-post #featured-thumbnail .featured-thumbnail {
        float: none;
    }
    .navigation li {
        display: block;
        float: none;
        width: 100%;
    }
    .related-posts .latestPost {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .navigation li a { 
        border-bottom: 1px solid #576979;
    }
}

/* 
@media screen and (max-width:960px) { 
    #secondary-navigation { left: 0 }
    img {
        max-width: 100%;
        height: auto!important;
    }
    .ad-300 img { max-width: 100% }
    .ad-125 li { max-width: 40% }
    .ad-125 img {
        padding: 0;
        background: #FAFAFA;
        border: 0;
    }
}

@media screen and (max-width:900px) { 
    .widget-header {
        max-width: 70%;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    #secondary-navigation a {
        padding: 8px 14px;
        box-sizing: border-box;
    }
}

@media screen and (max-width:865px) { 
    #site-footer .container { padding: 0 2% }
    #primary-navigation.sticky-navigation-active { width: 100% }
    .mts-cart span a { padding-bottom: 0 }
    .mts-cart {
        float: none;
        text-align: center!important;
    }
    .header-layout-2 #header h1, .header-layout-2  #header h2, .header-layout-2  .site-description {
        float: none;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    .header-layout-2 #logo a, .header-layout-2 #logo img {
        float: none;
        letter-spacing: 0;
    }
    .header-layout-2 .logo-wrap {
        margin-bottom: 10px;
        margin-top: 0;
        width: 100%;
    }
    .navigation {
        width: 100%;
        border: none;
        display: none;
    }
    #secondary-navigation {
        width: 100%!important;
        position: relative!important;
    }
    .navigation .menu a, .navigation .menu .fa > a, .navigation .menu .fa > a {
        color: #fff!important;
        background: transparent;
    }
    .navigation .menu {
        display: block!important;
        float: none;
        background: transparent !important;
    }
    .navigation ul ul {
        visibility: visible!important;
        opacity: 1!important;
        position: relative;
        left: 0!important;
        border: 0;
        width: 100%;
    }
    .navigation ul li li {
        background: transparent;
        border: 0;
    }
    .navigation { height: auto }
    .navigation li, .navigation ul li li {
        width: 100%!important;
        float: left;
        position: relative;
    }
    .navigation ul li:after { display: none }
    .navigation ul li:before { display: none }
    .navigation li a {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1)!important;
        width: 100%!important;
        box-sizing: border-box;
    }
    .navigation a {
        text-align: left;
        width: 100%;
        text-indent: 25px;
    }
    a#pull {
        display: block;
        width: 100%;
        position: relative;
        color: #fff;
        padding: 10px 0;
        text-indent: 20px;
    }
    a#pull:after {
        content: "\f0c9";
        display: inline-block;
        position: absolute;
        right: 15px;
        top: 10px;
        font-family: FontAwesome;
    }
    .rtl a#pull:after {
        right: auto;
        left: 15px;
    }
    .navigation ul .sfHover a, .navigation ul li:hover, 
    .navigation ul .sfHover ul li { 
        background: transparent;
    }

    
    #catcher { height: 0 !important }
    .sticky-navigation-active {
        position: relative !important;
        top: 0 !important;
    }
    .navigation.pagination { margin-bottom: 50px }
    .navigation.pagination a {
        width: auto;
        text-indent: 0;
    }
    
    .main-container, #site-header, #site-footer {
        position: relative;
        left: 0;
        transition: left 500ms ease;
    }
    .mobile-menu-active .main-container, .mobile-menu-active #site-header, .mobile-menu-active #site-footer {
        left: 300px;
        transition: left 500ms ease;
    }
    .navigation.mobile-menu-wrapper {
        display: block;
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100%;
        background-color: #494951;
        border-right: 1px solid rgba(0, 0, 0, 0.2);
        overflow: auto;
        transition: left 500ms ease;
        -webkit-backface-visibility: hidden;
        z-index: 1000;
    }
    .mobile-menu-active .navigation.mobile-menu-wrapper { left: 0 }
    .navigation ul li {
        width: 100%;
        display: block;
    }
    .navigation ul li:hover { background: none }
    #secondary-navigation .navigation ul li a, #secondary-navigation .navigation ul ul a {
        padding: 11px 0;
        width: 100%;
        border: none;
    }
    .navigation ul ul {
        position: static;
        width: 100%;
        border: none;
    }
    .navigation ul ul li {
        background: none;
        width: 100%;
    }
    .navigation i {
        display: inline;
        margin-right: 0;
    }
    .navigation ul ul a { padding: 11px 18px !important }
    .navigation ul ul ul a { padding: 11px 27px !important }
    .navigation ul ul ul ul a { padding: 11px 36px !important }
    .navigation .toggle-caret {
        display: block;
        width: 42px;
        height: 42px;
        line-height: 42px;
        color: #ffffff;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }
    .rtl .navigation .toggle-caret {
        border-left: none;
        border-right: 1px solid rgba(0, 0, 0, 0.2);
    }
    .navigation .menu-item-has-children > a:after { content: '' }
    .sidebar.c-4-12 { max-width: 300px }
    #mobile-menu-overlay {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        cursor: pointer;
        display: none;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        background: rgba(0,0,0,.5);
    }
    html.noscroll {
        position: fixed;
        overflow-y: scroll;
        width: 100%;
    }
    
    #wpmm-megamenu .wpmm-subcategories {
        width: 100%;
        text-indent: 0;
    }
    #wpmm-megamenu .wpmm-posts { width: 100% }
    #wpmm-megamenu .wpmm-post {
        width: 100%!important;
        padding: 0 10px!important;
        text-align: center!important;
    }
    #wpmm-megamenu .wpmm-thumbnail img { float: left }
}

@media screen and (max-width:782px) { 
    .admin-bar .pace .pace-progress { top: 46px }
}

@media screen and (max-width:720px) { 
    .article { width: 100% }
    #content_box {
        padding-right: 0px;
        padding-left: 0px!important;
    }
    .sidebar.c-4-12 {
        float: none !important;
        width: 100% !important;
        padding-left: 0;
        padding-right: 0;
        margin: 0 auto;
        border-left: 0;
        clear: both;
    }
    .f-widget, .widgets-num-4 .f-widget {
        width: 48%;
        margin-right: 4%;
    }
    .f-widget-2, .widgets-num-4 .f-widget-2, .widgets-num-4 .f-widget.last { margin-right: 0 }
    .rtl .f-widget, .rtl .widgets-num-4 .f-widget {
        margin-left: 4%;
        margin-right: 0;
    }
    .rtl .f-widget-2, .rtl .widgets-num-4 .f-widget-2, .rtl .widgets-num-4 .f-widget.last { margin-left: 0 }
    .ad-125 li { max-width: 45% }
    #comments { margin-right: 0 }
    .widget-header .textwidget {
        margin-top: 0;
        padding-left: 0;
        border-left: none;
    }
}

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

/*Alteração para menu mobile do plugin do allshare*/
@media screen and (max-width: 768px){
    .essb_links.essb_width_flex ul {
        flex-direction: column;

    }
}


@media screen and (max-width:550px) { 
    .featured-thumbnail img { width: 100% }
    .admin-bar .pace .pace-progress { top: 0px }
    .sbutton { float: right }
    .f-widget, .widgets-num-4 .f-widget {
        width: 100%;
        margin-right: 0;
    }
}
