html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif !important;
    /*background-color: #012cdb !important;*/
}

a {
    color: white !important;
}

.green {
    border-left: 5px solid green;
    border-right: 5px solid green;
}

.yellow {
    border-left: 5px solid yellow;
    border-right: 5px solid yellow;
}

.blue {
    border-left: 5px solid blue;
    border-right: 5px solid blue;
}

.green-left {
    border-left: 5px solid green;
}

.yellow-left {
    border-left: 5px solid yellow;
}

.blue-left {
    border-left: 5px solid blue;
}

.container {
    /*background-color: #f1f1f1 !important;*/
    color: white;
}

footer {
    width: 100%;
    position: fixed;
    bottom: 0;
}

#myTopnav {
    z-index: 1;
}


/* Dropdown Button */

.dropbtn {
    background: none;
    border: none;
}


/* The container <div> - needed to position the dropdown content */

.dropdown {
    position: relative;
    z-index: 1;
}


/* Dropdown Content (Hidden by Default) */

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: fit-content;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content div {
    display: flex;
    flex-direction: column;
    z-index: 1;
}


/* Links inside the dropdown */

.dropdown-content div a {
    text-decoration: none;
    display: relative;
    z-index: 2;
}


/* Show the dropdown menu on hover */

.dropdown:hover .dropdown-content {
    display: flex;
    z-index: 1;
}

.carousel {
    max-height: 450px;
}

.carousel-inner {
    max-height: 450px;
}

#overTop {
    height: 30px;
    line-height: 30px;
    border-bottom: 2px solid #c0c0c0;
    text-align: right;
    background-color: #004080;
    font-size: small;
}

#overTop div {
    color: white !important;
}

#topo {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    z-index: 1;
}

.cont {
    max-width: 1134px;
    margin: 0 auto;
}

#topo img {
    max-height: 120px;
}

.col-md-2 {
    max-width: 20% !important;
}

.topnav {
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-decoration: none;
    /*box-shadow: 2px 2px 2px grey;*/
    background-color: #004080;
    color: #0068a1;
    top: 0;
}

.topnav img {
    max-height: 74px;
}

.topnav a {
    float: left;
    display: block;
    text-align: center;
    padding: 10px 30px;
    text-decoration: none;
    transition: all 0.5s;
    border-bottom: 5px solid transparent;
    color: white;
}

.topnav a:hover {
    border-bottom: 5px solid white;
    text-decoration: none;
    color: white;
}

.topnav a.active {
    border-bottom: 5px solid #2c4b9b;
}

.topnav .icon {
    display: none;
}

#saec:hover {
    background-color: #fcba03 !important;
    border-color: #fcba03 !important;
}

#notas:hover {
    background-color: #fc6b03 !important;
    border-color: #fc6b03 !important;
}

#civil:hover {
    background-color: #004040 !important;
    border-color: #004040 !important;
}

#prot:hover {
    background-color: #b103fc !important;
    border-color: #b103fc !important;
}

#rtd:hover {
    background-color: #03a5fc !important;
    border-color: #03a5fc !important;
}

@media screen and (max-width: 600px) {
    a {
        color: white !important;
        font-size: 0.8rem;
        padding: 10px !important;
    }
    .topnav a {
        display: block;
        border: none;
    }
    .btn {
        font-size: 0.8rem !important;
    }
    .topnav.responsive {
        position: relative;
        display: flex;
        border: none;
    }
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
        padding: 10px !important;
    }
    html,
    body {
        font-size: 1.1rem
    }
    #img {
        background-image: none !important;
        background: #01002a !important;
        height: 200px !important;
    }
    #img p {
        font-size: 0.8rem !important;
        padding: 2px !important;
    }
    #form input {
        width: 100% !important;
    }
    #form p {
        color: white;
    }
    .cont {
        width: 100%;
    }
    #services div .div-vert img {
        padding: 20px !important;
        padding-bottom: 20px !important;
        padding-top: 20px !important;
    }
    .breadcrumb_site {
        margin-top: 0 !important;
    }
    .modal-content {
        width: 98% !important;
    }
    #services div .div-vert {
        background-color: #004040 !important;
        border: 2px solid #004040 !important;
    }
    footer {
        position: static !important;
    }
}

@media screen and (max-width:959px) {
    #img {
        height: 200px !important;
    }
}

@media screen and (min-width: 601px) {
    .modal-content {
        max-width: 70%;
        margin: 0 auto;
    }
}

.modal-content a {
    color: black !important;
}

.modal-dialog {
    font-size: 1.5rem;
}

#img {
    width: 100%;
    z-index: -1;
    top: 0;
    position: absolute;
    height: 250px;
    background-image: url(back4.jpg);
    background-size: 100%;
    background-repeat: repeat-x;
    background-position: bottom;
    background-blend-mode: hard-light;
    background-color: #00002b;
    /* border-bottom: 5px solid #e1e100; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* color: white; */
    padding: 15px;
}

#img p {
    font-weight: 500;
    color: #04092a;
    padding: 15px;
    border-radius: 5px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    margin-top: 150px;
    text-align: center;
}

.row {
    justify-content: space-around !important;
}

.breadcrumb_site {
    display: flex;
    font-family: 'Montserrat', sans-serif;
    flex-wrap: wrap;
    font-size: 0.8rem;
    padding: 0.75rem 1rem;
    color: white;
    list-style: none;
    background-color: #004080;
    margin-top: 50px;
}

#quemSomos {
    background-color: #004040;
    color: white;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: color-burn;
}

#cartorios-page {
    background-color: #808000;
    color: white !important;
}

#services div {
    min-width: 180px;
    max-width: 180px;
    min-height: 200px;
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
}

#services div .div-vert {
    border-radius: 8px;
    text-align: center;
    display: flex;
    border: 2px solid #333;
    background-color: #333;
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: nowrap;
    transition: transform 0.5s;
    align-items: center;
}

#services div a {
    text-decoration: none;
}

#services div .div-vert img {
    width: 98%;
    margin: 0 auto;
    border-radius: 10px 10px 5px 5px;
    background-color: white;
    display: flex;
    padding: 10px;
    padding-bottom: 20px;
    padding-top: 20px;
}

#services div .div-vert .top-span {
    color: white;
    font-size: 0.9rem;
    font-weight: bolder;
    min-height: 80px;
    border-radius: 5px 5px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#services div .div-vert:hover {
    box-shadow: 2px 2px 5px grey;
    cursor: pointer;
    color: #00002b;
    transform: scale(1.09);
}

.space-100 {
    margin-bottom: 100px;
    border-top: none;
}

.space-80 {
    margin-bottom: 80px;
    border-top: none;
}

.space-20 {
    margin-bottom: 20px;
    border-top: none;
}

.radius-top-10 {
    border-radius: 10px !important;
}

.border-5 {
    border-radius: 5px !important;
}

.pd-20 {
    padding: 20px;
}

.flex-right {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.img-flex-cartorio {
    width: 50%;
    height: 100vh;
    border-radius: 5px;
    background-image: url(imgs/cartorio.jpg);
    background-size: cover;
}

.img-flex-cartorio img {
    width: 100%;
}

.w-60 {
    width: 60%;
}

.w-40 {
    width: 40%;
}

.font-08 {
    font-size: 0.8rem;
}

#form {
    background-color: #04092a;
    padding: 15px;
    font-size: 1rem;
}

#form input {
    font-size: 1rem !important;
    width: 50%;
    margin: 0 auto;
}

#form p {
    color: white;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 90% !important;
        margin: 1.75rem auto;
    }
}
