@media only screen and (max-width: 2000px) {
    .desktop {
        display: block !important;
    }

    .resp-vtabs ul.resp-tabs-list {
        float: left;
        width: 30%;
        border-bottom: none;
    }

    .resp-vtabs .resp-tabs-list li {
        display: block;
        padding: 20px !important;
        margin: 0;
        cursor: pointer;
        float: none;
        border-top: none !important;
    }

    .resp-vtabs .resp-tabs-container {
        padding: 0px;
        float: left;
        width: 70%;
        clear: none;
    }

    .resp-vtabs li.resp-tab-active {
        position: relative;
        z-index: 1;
        padding: 20px !important;
        border-top: none !important;
    }

    h2.resp-tab-active {
        margin-bottom: 0px !important;
        padding: 20px !important;
    }

    h2.resp-tab-active span.resp-arrow {
        border: none;
    }

    .mobile {
        display: none;
    }

    .page-title {
        padding: 300px 0px 0px 0px;
    }

    #google-map {
        height: 420px;
    }

    #btn-mobile {
        display: none;
    }
}
/* 
@media only screen and (min-width: 1200px) {
    #caroufredsel-main {
        width: 1200px !important;
        margin: 0 auto !important;
    }
} */

@media only screen and (max-width: 1200px) {
    .slider-container {
        min-height: inherit;
    }

    .back-to-top {
        position: relative !important;
        bottom: inherit;
        right: inherit;
        width: 100%;
        height: 60px;
        display: inline-block !important;
        vertical-align: bottom;
    }

    body {
        margin: 0px;
    }

    #menu .nav {
        display: none;
    }

    .grid {
        width: 100% !important;
    }

    #site-container {
        margin-top: 0 !important;
    }

    .our-team {
        width: 100% !important;
    }

    .nav-container {
        position: relative;
        z-index: inherit;
    }

    .nav {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav>li {
        float: left;
    }

    .nav>li>.parent {
        background-image: url("../images/downArrow.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
    }

    .nav li li .parent {
        background-image: url("../images/downArrow.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
    }

    .nav li li .parent:hover {
        background-image: url("../images/downArrow.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
    }

    .nav {
        float: none;
        line-height: 40px;
        padding-right: 0px;
    }

    .nav ul li:first-child {
        margin-top: 0px;
    }

    .nav ul li:last-child {
        margin-bottom: 0px;
    }

    .nav ul {
        display: block;
        width: 100%;
    }

    .nav>li.hover>ul,
    .nav li li.hover ul {
        position: static;
    }

    .nav>li>a:hover {
        background-color: inherit;
    }

    .nav li li a:hover,
    .nav li li li a:hover {
        border-left: none;
    }

    .nav a,
    .nav ul li a {
        padding: 5px 40px;
    }

    .caroufredsel_wrapper {
        float: inline-start;
    }

    .unit-whole .nossos-servicos {
        width: 100% !important;
    }

    .maincontainer {
        padding-top: 60px;
    }

    .footer-widget {
        float: none;
        width: 100%;
    }

    .mapa {
        width: 260px;
        height: 240px;
    }

    #btn-mobile {
        display: block;
        background: none;
        border: none;
        margin-right: 40px;
    }

    #menu {
        display: block;
        position: absolute;
        /** medidas de area: vw = viewport width (largura da tela) **/
        width: 35vh;
        top: 85px;
        right: 0;
        background: #46501C;
        /** controla a ordem de renderização, números maiores ficam por cima dos que tem valor menor **/
        z-index: 1000;
        transition: .6s;
        height: 0;
        visibility: hidden;
    }

    #menu .parent {
        padding: 10px;
        margin: auto;
        align-items: center;
        border-bottom: 1px solid #D9B760;
    }

    #nav.active #menu {
        /** medidas de area: vh = viewport height (altura da tela) **/
        height: Calc(100vh - 715px);
        visibility: visible;
        align-items: center;
    }

    #nav #menu {
        display: none;
    }

    #nav.active #menu {
        display: flex;
        flex-direction: column;
        padding-top: 20px;
    }

    #nav.active #menu a {
        margin-left: 0
    }

    #hamburguer {
        border-top: 2px solid #fff;
        display: block;
        width: 20px;
    }

    #hamburguer::after,
    #hamburguer::before {
        content: '';
        display: block;
        width: 20px;
        height: 2px;
        background: #fff;
        margin-top: 5px;
        transition: .3s;
        position: relative;
    }

    #nav.active #hamburguer {
        border-top-color: transparent;
    }

    #nav.active #hamburguer::before {
        transform: rotate(135deg)
    }

    #nav.active #hamburguer::after {
        transform: rotate(-135deg);
        top: -7px;
    }

    .nav>li {
        position: relative;
    }

    .grid {
        width: 100% !important;
    }

    .our-team {
        width: 100% !important;
    }

    .mapa {
        width: 100%;
        height: 230px;
    }

    .tags-container img {
        width: 50%;
        height: 90px;
    }

    .owl-theme .owl-controls .owl-nav {
        display: none;
    }
}

/** tablet **/
@media only screen and (max-width: 768px) {
    .toggleMenu {
        background-color: #5A662A;
    }

    #footer-widgets p,
    .footer-widget .footer-list li a {
        word-break: break-all;
    }

    #nossosservicos-carousel .our-team>figcaption div {
        height: auto;
    }

    #nossosservicos-carousel .our-team>figcaption {
        height: auto;
    }

    .desktop {
        display: none !important;
    }

    .mobile {
        display: block !important;
    }

    .nossos-servicos .ext-link {
        height: 250px !important;
    }

    .nossos-servicos .ext-link img {
        height: 250px !important;
        width: 100%;
    }

    .carousel-item img {
        width: 100%;
        height: 260px !important;
    }

    .grid .unit {
        width: 100% !important;
    }

    #btn-mobile {
        display: block;
        background: none;
        border: none;
        margin-right: 40px;
    }

    #menu {
        display: block;
        position: absolute;
        /** medidas de area: vw = viewport width (largura da tela) **/
        width: 35vh;
        top: 85px;
        right: 0;
        background: #46501C;
        /** controla a ordem de renderização, números maiores ficam por cima dos que tem valor menor **/
        z-index: 1000;
        transition: .6s;
        height: 0;
        visibility: hidden;
    }

    #menu .parent {
        padding: 10px;
        margin: auto;
        align-items: center;
        border-bottom: 1px solid #D9B760;
    }

    #nav.active #menu {
        /** medidas de area: vh = viewport height (altura da tela) **/
        height: Calc(100vh - 725px);
        visibility: visible;
        align-items: center;
    }

    #nav #menu {
        display: none;
    }

    #nav.active #menu {
        display: flex;
        flex-direction: column;
        padding-top: 20px;
    }

    #nav.active #menu a {
        margin-left: 0
    }

    #hamburguer {
        border-top: 2px solid #fff;
        display: block;
        width: 20px;
    }

    #hamburguer::after,
    #hamburguer::before {
        content: '';
        display: block;
        width: 20px;
        height: 2px;
        background: #fff;
        margin-top: 5px;
        transition: .3s;
        position: relative;
    }

    #nav.active #hamburguer {
        border-top-color: transparent;
    }

    #nav.active #hamburguer::before {
        transform: rotate(135deg)
    }

    #nav.active #hamburguer::after {
        transform: rotate(-135deg);
        top: -7px;
    }

    .nav>li {
        position: relative;
    }

    .grid {
        width: 100% !important;
    }

    .our-team {
        width: 100% !important;
    }

    #ourteam .our-team>figcaption,
    #ourteam .our-team>figcaption div,
    #ourteam .ext-link img {
        height: 300px !important;
    }

    .our-team {
        width: 100% !important;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 26px;
    }

    h4 {
        font-size: 22px;
    }

    h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 16px;
    }

    ul.resp-tabs-list {
        display: none;
    }

    h2.resp-accordion {
        display: block;
    }

    .resp-tab-content {
        padding: 20px;
    }

    .resp-vtabs .resp-tabs-container {
        border: none;
        float: none;
        width: 100%;
        min-height: initial;
        clear: none;
    }

    .resp-tab-active {
        border: none !important;
        background-color: #46501C !important;
        color: #fff !important;
    }

    .resp-accordion-closed {
        display: none !important;
    }

    .resp-tabs-container>div {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    blockquote {
        padding-left: 40px;
    }

    blockquote:before {
        width: 10px;
    }

    blockquote:after {
        content: '';
    }

    .nav-buttons span {
        width: 100% !important;
    }

    .car-prev.nav-icon,
    .car-next.nav-icon {
        width: 50% !important;
    }

    .car-prev.nav-icon {
        background-position: center left !important;
    }

    .car-next.nav-icon {
        background-position: center right !important;
    }

    .tags-container img {
        width: 50%;
        height: 90px;
    }

    .owl-theme .owl-controls .owl-nav {
        display: none;
    }
}

@media only screen and (max-width: 640px) {
    body {
        -webkit-overflow-scrolling: touch;
    }

    .postcontent,
    .gallerycontent {
        float: none;
        width: 100%;
    }

    .blogimage,
    .galleryimage {
        position: relative !important;
        width: 100%;
        height: 200px;
    }

    #caroufredsel-main-wrapper .slidetext {
        font-size: 24px;
    }

    .owl-theme .owl-controls .owl-nav {
        display: none;
    }
}

@media only screen and (max-width: 480px) {

    #ourteam .our-team>figcaption,
    #ourteam .our-team>figcaption div,
    #ourteam .ext-link img {
        height: 300px !important;
    }

    .ns_nerveSlider .ns_slideContent div span {
        display: none !important;
    }

    #caroufredsel-main-wrapper .slidetext {
        display: none !important;
    }

    .nav-buttons span,
    blockquote p,
    .testimonial .testimonial-text {
        font-size: 15px;
    }

    .page-title {
        padding: 0px !important;
    }

    .owl-theme .owl-controls .owl-nav {
        display: none;
    }
}