﻿/*css condicionales para opciones de cada municipio, quitar para que salgan.*/

/*modal módulos*/
#myModal, #myModalApartado, #modalFirmaElectronica, #myModalArauca {
    vertical-align: super;
}
/*-----------------------*/

body {
    background: url("../images/bkgBodyTop.png") repeat-x left 50px, url("../images/white_tiles.png");
}

.modulosGrid {
    height: 100%;
    display: grid;
    grid-template-rows: 105px auto 240px
}


.contentMods {
    margin-top: 37px;
    padding-top: 20px;
    padding-bottom: 40px;
    background-position: left bottom;
    background-size: 663px;
    border-top: 6px solid #CCC;
}
.contWrap {
margin:0 auto;
max-width:1100px;
}

.contentMods h3 {
    font-size: 1em;
    color: #000;
    border-bottom: 1px solid #ADC9FF;
    padding-bottom: 5px;
    margin-top: 0;
    font-weight: bold;
}

.modulos {
    padding: 0;
    text-align: center;

    margin: 0 auto;
}

    .modulos > ul {
        display: grid;
        flex-wrap: wrap;
        justify-content: center;
        grid-template-columns: repeat(4, 1fr);
        column-gap: 20px;
        row-gap: 20px;
        padding:0;
        margin-bottom:20px;
    }


    .modulos li {
        list-style: none;
        text-align: center;
        display: inline-block;
        border: 1px solid #ccc;
        border-top: none;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-bottom: 10px;
    }

.headerModuloUnidad {
    display:grid;
    grid-template-columns: 50px auto;
    color:#fff;
    font-weight:bold;
    text-align:left;
}



.nombre {
    padding: 10px;
    margin-top: 2px;
    font-size: 12px;
    font-weight: bold;
    width: 120px;
    margin: 0 auto;
    color: #fff;
}

.nombreMod {
    color: #ffffff;
    text-decoration: underline;
    font-size: 13px;
    padding-bottom: 10px;
    text-transform: uppercase;
}


.socialTop {
    margin-top:45px;
}

.titulos h2 {
    color: #376AD0;
    max-width: 400px;
    margin-bottom: 30px;
}

    .titulos h4 {
        margin-bottom: 30px;
    }

    .titulos h3 {
        margin-bottom: 30px;
        font-size: 20px;
    }
    

.titulos > * {
    font-weight:bold;
    margin:0 auto;
    }


.modulos li a {
    display: grid;
    height: 100%;
}

.modulos li a:hover {
    text-decoration:none;
}


.imgModNew img{
    border-right: 1px solid #fff;
}


.headerModuloUnidad {
    background: var(--Color01);
}

.modulos li p {
    text-align: justify;
    color: #4D4D4D;
}

.modulos .contentTramite {
    padding: 10px;

}

.modulos .ingresarTramite {
    display: block;
    height: 30px;
    width: 70px;
    padding: 3px 8px;
    font-weight: bold;
    margin: 0 auto;
}

.nombreModNew {
    display: flex;
    align-items: center;
    padding-left: 10px;
}



@media(max-width:1656px) {
    .modulosGrid {

        grid-template-rows: 127px auto 260px;
    }
}

@media(max-width:1208px) {

    .social li {
        margin-bottom:10px;
    }

}

@media(max-width:1182px) {
    footer .infoFooter {
    top:-60px;
    }

    .contentMods {
        padding-bottom:55px;
    }
}

@media(max-width:1144px) {
    .contWrap {
    margin:0 15px;
    }
}

@media(max-width:1098px) {
    .social{
        margin-top:15px
    }
    footer .infoFooter {
        top: -80px;
    }
}

@media(max-width:1099px) {
    .contentMods {
        padding-bottom: 75px;
    }
}

@media(max-width:913px) {


        .social li:first-child {
            margin-left:0;
        }


    .modulosGrid {
        grid-template-rows: 127px auto auto;
    }


    footer .infoFooter {
        top: -70px;
        display: block;
    }

    .contentMods {
        padding-bottom: 70px;
    }
}


@media(max-width:960px) {
    .modulos > ul {
    grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:877px) {
    .headerModulos .logosHeader::after {
    display:none;
    }
}

@media(max-width:830px) {
    .logoEstrategia {
        width: auto;
        background: none;
    }
}

@media(max-width:800px) {
    .modulos > ul {
        grid-template-columns: repeat(2, 1fr);

    }

}


@media (max-width: 751px) {
    .modulosGrid {
        grid-template-rows: max-content auto auto;
    }

    .headerModulos .logosHeader {
        height: auto!important;
    }

    .contentMods {
        margin-top: 0;
    }
}



@media(max-width:730px) {

    .logosEmpresa {
        margin-bottom: 10px;
    }

    .logosHeader {
        display: flex;
        justify-content: center;
    }

}

@media(max-width:558px) {

    .headerModulos .logosHeader {
    height:auto;
    }

    .contentMods {
    margin-top:0;
    }

    .logosHeader {
        text-align: center;
    }

    .logosHeader {
        display: block;
        text-align:center;
    }

    .modulosGrid {
        grid-template-rows: auto auto auto;
    }

    .logosEmpresa {
    margin:0 auto;
    }

    .oficinaVirtualImp {
        margin-top: 0;
    }

    .logosEmpresa, .tramitesFrase, .oficinaVirtualImp {
        float: none !important;
        margin: 0 auto!important;
    }

    .tramitesFrase {
    margin-bottom:10px;
    }

}



    @media(max-width:500px) {
        .modulos > ul {
            grid-template-columns: auto;
        }

        .headerModuloUnidad {
            display: flex;
        }

        .imgModNew {
            width: 80px;
        }

        footer .infoFooter {
            position: initial;
            border-radius: 0;
            border-right: none;
            border-left: none;
            margin: auto;
        }

        footer {
            margin-top: 0;
            padding-bottom: 0;
        }

            footer .logoGovco {
                position: initial;
            }

        .contentMods {
            padding-bottom: 0;
        }
    }
