/* RESET */

a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}


/* === FUENTES === */ 

@font-face {
    font-family: "Roboto Regular";
    font-style: normal;
    font-weight: 400;
    src: url("https://e00.uecdn.es/fonts/roboto/Roboto-Regular.woff2") format("woff2"), url("https://e00.uecdn.es/fonts/roboto/Roboto-Regular.woff") format("woff");
  }

@font-face {
    font-family: "Roboto Bold";
    font-style: normal;
    font-weight: 700;
    src: url("https://e00.uecdn.es/fonts/roboto/Roboto-Bold.woff2") format("woff2"), url("https://e00.uecdn.es/fonts/roboto/Roboto-Bold.woff") format("woff");
  }

@font-face {
    font-family: "Roboto Light";
    font-style: normal;
    font-weight: 100;
    src: url("https://e00-elmundo.uecdn.es/fonts/roboto/Roboto-Light.woff2") format("woff2"), url("https://e00-elmundo.uecdn.es/fonts/roboto/Roboto-Light.woff") format("woff");
  }

@font-face {
    font-family: "Roboto_condensed Regular";
    font-style: normal;
    font-weight: 400;
    src: url("https://e00.uecdn.es/fonts/roboto/RobotoCondensed-Regular.woff2") format("woff2"), url("https://e00.uecdn.es/fonts/roboto/RobotoCondensed-Regular.woff") format("woff");
  }

@font-face {
    font-family: "Roboto_condensed Bold";
    font-style: normal;
    font-weight: 700;
    src: url("https://e00.uecdn.es/fonts/roboto/RobotoCondensed-Bold.woff2") format("woff2"), url("https://e00.uecdn.es/fonts/roboto/RobotoCondensed-Bold.woff") format("woff");
  }

@font-face {
    font-family: "Roboto_Mono Bold";
    font-style: normal;
    font-weight: 900;
    src: url("https://e00.uecdn.es/fonts/Roboto_Mono/RobotoMono-Bold.woff2") format("woff2"), url("https://e00.uecdn.es/fonts/Roboto_Mono/RobotoMono-Bold.woff") format("woff");
  }

@font-face {
    font-family: "Roboto_Mono Light";
    font-style: normal;
    font-weight: 200;
    src: url("https://e00.uecdn.es/fonts/Roboto_Mono/RobotoMono-Light.woff2") format("woff2"), url("https://e00.uecdn.es/fonts/Roboto_Mono/RobotoMono-Light.woff") format("woff");
  }

@font-face {
    font-family: "Rubik Black";
    font-style: normal;
    font-weight: 900;
    src: url("https://e00-elmundo.uecdn.es/fonts/Rubik/Rubik-Black.woff2") format("woff2"), url("https://e00-elmundo.uecdn.es/fonts/Rubik/Rubik-Black.woff") format("woff");
  }


/* === SPINNER === */

#loader{
    width: 100%;
    height: 100%;
    position: absolute;
    left:0;
    top:0;
    z-index:1000;    
    background-color: #edf3f9;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
}

#spinner{
    width: 50px;
    height: 50px;
    border: 5px solid #c5daeb;
    border-top-color:#5f9bc5;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    margin: 120px auto 0 auto;

    animation: spinning 2s linear infinite;
    -webkit-animation: spinning 2s linear infinite;
    -o-animation: spinning 2s linear infinite;
}

@keyframes spinning {
    from { transform: rotate(0deg) }
    to { transform: rotate(360deg) }    
}

#loader p{
    position:absolute;
    top: 0; left:50%; right: 0; bottom: 0;
    margin: auto;
}



/* === SECTION === */

#section{
    width: 989px;
    margin: 0 auto 0 auto;
    font-family: "Roboto_condensed Regular";
}

.section-icon{
    width: 210px;
    height: 210px;
    margin: 40px auto 0px auto;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    border: 1px solid;
    padding-top: 60px;
    box-sizing: border-box;
}

.section-icon-vivienda{
    border-color: #EDE226;
}

.section-icon-suministros{
    border-color: #3EBAED;
}

.section-icon-prestaciones{
    border-color: #FF2700;
}

/* .section-icon-laboral{
    border-color: #46DD7A;
} */

.icon-img{
    background-image: url("https://e00-elmundo.uecdn.es/elmundo/2021/graficos/oct/guia-ayudas/img/icons-s-2.png");
    background-size:cover;
    width: 70px;
    height: 50px;
    margin: 0px auto 5px auto;
}

.icon-vivienda{
    background-position-x:0;
}

.icon-suministros{
    background-position-x:-70px;
}

.icon-prestaciones{
    background-position-x:-140px;
}

.icon-laboral{
    background-position-x:-210px;
}

#section-title{
    font-family: "Roboto_Mono Bold", Arial, Helvetica, sans-serif;
    font-size: 18px;
    text-align: center;
    margin: 0px auto;
    text-transform: uppercase;
}




/* === CARD === */

.card{
    width: 989px;
    margin-top: 40px;
}

.card-title-block{
    position: relative;
    width: 100%;
    height: 100px;
    border-bottom: 1px #808080 solid;
}

.card-icon{
    width: 120px;
    height: 120px; 
    -webkit-border-radius: 50%;
    border-radius: 50%;
    position:absolute;
    z-index: -1;
    top: -10px;
    left: 0;
    box-sizing: border-box;
    padding-top:35px;
}

.card-icon-vivienda{
    background-color: #EDE226;
}

.card-icon-suministros{
    background-color: #3EBAED;
}

.card-icon-prestaciones{
    background-color: #FF2700;
}

/* .card-icon-laboral{
    background-color: #46DD7A;
} */

.card-img{
    width: 70px;
    height: 70px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    background-image: url("https://e00-elmundo.uecdn.es/elmundo/2021/graficos/oct/guia-ayudas/img/icons-s-2.png");
    background-size:cover;
    float:left;
    margin: 15px 15px 15px 0;
}

.card-img-vivienda{
    background-position-x:0;
}

.card-img-suministros{
    background-position-x:-70px;
}

.card-img-prestaciones{
    background-position-x:-140px;
}

.card-img-laboral{
    background-position-x:-210px;
}

.card-title{
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    top: 40px;
    left: 140px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 26px;
    float:left;
    line-height:28px;
    font-family: "Rubik Black", "Roboto_Mono Bold", Arial, Helvetica, sans-serif;
}



/* === COL NAMES === */

.col{
    width: 20%;
    display:inline-table;
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin:0;
}

.col-name{
    font-family: "Roboto_Mono Bold", Arial, Helvetica, sans-serif;
    font-size: 23px;
    text-transform: uppercase;
    border-bottom: 1px solid #808080;
    line-height: 21px;
    padding: 25px 15px 20px 15px;
}

.col-name span{
    font-size: 14px;
    font-family: "Roboto_Mono Light", Arial, Helvetica, sans-serif;
}

.clear{
    clear:both;
}



/* === col INFO === */

.col-info{
    padding:20px 15px;
    font-size: 16px;
    line-height: 20px;
}



/* .col-names{
    border-bottom: 1px solid #808080;
    padding:0;
}

.col-names li{
    font-family: "Roboto_Mono Bold", Arial, Helvetica, sans-serif;
    font-size: 23px;
    text-transform: uppercase;
    margin: 10px 1% 20px 1%;
    padding-bottom: 5px;
    line-height: 21px;
    float:left;
    width: 18%;
    list-style: none;
}

.col-names li span{
    font-size: 14px;
    font-family: "Roboto_Mono Light", Arial, Helvetica, sans-serif;
} */


.info-list{
    list-style-type: none;
    padding:0px;    
}

.info-list li{
    padding:0 0 16px 0;
}

.info-list a{
    /* color: #246FFF; */
    /* color: #A6A6A6; */
    color: #000;
    text-decoration: none;
}

.card-vivienda a{
    background-color: #f9f283;
}

.card-suministros a{
    background-color: #bae9fb;
}

.card-prestaciones a{
    background-color: #ffd9d9;
}

/* .card-laboral a{
    background-color: #46DD7A;
} */


@media (max-width: 988px){
    #section{
        width: 360px;
        padding:0 10px;
        box-sizing: border-box;
    }

    .section-icon{
        width:190px;
        height:190px;
        padding-top:55px;
    }

    #section-title{
        font-size:16px;
    }

    .card{
        width:100%;
        margin-top:50px;
    }

    .card-icon{
        width:90px;
        height:90px;
        top: 20px;
        padding-top:22px;
    }

    .card-title-block{
        margin-bottom:10px;
    }

    .card-title{
        left:105px;
        top: 46px;
        font-size:22px;
        width:235px;
        line-height:21px;
    }
    
    .col{
        width:50%;
        float:none;
    }

    .last-col{
        width:100% !important;
    }

    .col-name{
        font-size: 21px;
        line-height: 18px;
        padding: 20px 10px 10px 10px;
    }

    .col-name span{
        font-size: 13px;
    }

    .col-info{
        font-size:15px;
        line-height: 18px;
        padding:10px 10px;
    }
}