/**
* * Custom mobile styles
 */


/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    #carrousel .carousel-caption{
        font-size: 1rem;
    }
    #carrousel .carousel-caption h5 {
        font-size: 2.0rem;
    }
}
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .index #topo{
        position: relative;
        background-color: #025E85;
    }
    .logo{
        text-align: center;
        padding: 1rem 0;
    }
    
    #carrousel .carousel-caption{
        font-size: 0.9rem;
    }
    #carrousel .carousel-caption h5 {
        font-size: 1.4rem;
    }

    #servicos{margin: -1.8rem;}
    #servicos .servicos-links ul li a{
        padding: 5px;
        line-height: 1.3rem;
        font-size: 0.8rem;
    }

    footer .localizacao {
        margin-left: 0;
    }
    footer .localizacao ul li{
        font-size: 14px;
    }
    footer .localizacao ul li p{margin: 0;}
    footer .localizacao ul li .f-icon{
        font-size: 0.8rem;
        width: 12%;
        margin-top:6px;
    }
    footer .localizacao ul li .local-item {
        width: 88%;
    }
}

/* Small devices (landscape phones, less than 768px)  */
@media (max-width: 767.98px) {
    #servicos{
        margin: 0;
        background-color: #000;
    }
    #servicos .servicos-links ul{
        justify-content: center;
        width: 100%;
    }
    #servicos .servicos-links ul li{
        box-shadow: none;
        border: none;
        border-right: 1px solid #333;
        width: 100%;
    }
    #servicos .servicos-links ul li:last-child{border: none;}
    #links .box::before{
        content: "";
        width: 0;
        height: 0;
        border: 0;
    }
   
    #news .card-news a.btn{
        padding: 0;
    }

    footer .localizacao{
        margin-top: 0;
    }
    footer .localizacao h6{
        text-align: center;
        
    }
    footer .horario{
        margin-top: 1rem;
        text-align: center;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    #servicos .container-fluid{
        padding: 0;
    }
    #servicos .servicos-links ul{
        display: block;
    }
    #servicos .servicos-links ul li a{
        border: 1px solid #333;
        padding: 10px;
    }

    #about {
        margin: 1.5rem 0 1rem 0;
    }
    #about .about h3, #news .news-header h5{
        font-size: 1.5rem;
    }
    .index .box p{
        font-size: 14px;
    }
    #links .links-inner h4{margin: 0 0 5px 0;}
    #links .links-inner a{margin: 1rem;}
    .p2rem{padding: 0;}
}
/* Extra large devices (large desktops)
* * No media query since the extra-large breakpoint has no upper bound on its width
*/