@media (max-width: 1200px) {
    #navmenu ul li a {
        font-size: .8rem;
    }
    .servicos-links ul li h5 a {
        font-size: 14px;
    }
}

/** collapse show **/
@media (max-width: 991px) {
    #menu .navbar-toggler{
        line-height: 3.5rem;
        color: #000;
        outline: none;
    }
    #menu .navbar-toggler::after{
        content: 'Menu';
        display: inline-block;
        margin-left: 5px;
    }
    #navmenu ul li:hover > ul {
        display: none;
    }
    #navmenu ul li ul {
        position: relative;

        width: 100%;
        box-shadow: none;
        left: 0;
        top: 0;
    }
    #navmenu > ul > li > ul > li ul{
        left: 0;
    }

    #navmenu ul li a {
        line-height: 2.3rem;
        font-size: 1.1rem;
    }
    #navmenu ul li {
        border: none !important;
    }
    #navmenu li.active > a{
        background-color: #333;
    }
    #navmenu > ul > li > ul li.childs > a::after {
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #ccc;
    }

    #navmenu ul li.childs > a::after {
        float: right;
        margin-top: 1.1rem !important;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #ccc;
    }

    #navmenu ul.s-search li > a {
        display: none;
    }
    #navmenu ul.s-search li form {
        position: relative;
        display: block;
        width: 100%;
        left: 0;
    }
    #navmenu ul.s-search li form button {
        width: auto;
    }

    /**/
    .servicos-links ul {
        flex-direction: column;
        justify-content: stretch;
        padding: 0;
    }
    .servicos-links ul li {margin-bottom: 1rem;}
    .servicos-links ul li h5 a{
        width: 100%;
        text-align: center;
        font-size: 18px;
    }


    /**/
    #news h3 {
        line-height: 1.3rem;
    }
    #news h3 a {
        font-size: 15px;
    }
    .card-cartorio h4 {
        font-size: 2rem;
    }
    .card-pesquisa h3 {
        font-size: 16px;
    }
    .card-cartorio{
        margin-bottom: 2rem;
    }

    .side-posts h4{
        font-size: .8rem;
    }

    #servicos .servicos-menu > ul li a {
        font-size: .8rem;
    }
    #servicos .servicos-menu > ul li a::before {
        margin: 0;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    ._logo,
    ._contato p,
    ._atendimento p{
        text-align: center;
    }

    .contato-topo {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        margin-top: 1rem;
    }

    .side-posts {
        margin-top: 3rem;
    }
    .side-posts h4 {
        margin-top: .5rem;
    }

    .servicos-menu {
        margin-bottom: 2rem;
    }

    #servicos .servicos-menu > ul {display: block}
    #servicos .servicos-menu > ul > li {
        width: auto;
    }

    #servicos .servicos-menu > ul li a {
        font-size: 1.2rem !important;
    }

    section.page-header {
        height: auto;
    }
    main#page header.page-title h1{
        font-size: 1rem;
    }
    .page-header .breadcrumb {
        float: none;
    }

    .page-header .breadcrumb li a {
        font-size: .9rem;
    }

    .blog-item header h2 {
        font-size: 1.5rem;
    }
}


/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .items-item {
        margin-top: 2rem;
    }
    .items-item h5 {
        font-size: 1.3rem;
    }

    #news figure {
        text-align: center;
    }
    #news img {
        width: 100%;
    }

    .card-cartorio{
        margin: 1rem 0;
    }

    .footer-block {
        margin-bottom: 1rem;
    }
}