/**
 * @author 		Miguel Falcón <hola@miguelfalcon.es>
 * @copyright 	2023 Miguel Falcón Castro
 * @license		https://creativecommons.org/licenses/by-nc-nd/3.0/ Creative Commons (CC) BY-NC-ND 3.0
 * @version 	1.0.0
 * @since 		File available since Release 1.0.0
 * @deprecated 	File deprecated in Release 2.0.0
 */

/* *
 * *
 * * Reset & Fonts
 * *
 * */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* { margin: 0; padding: 0; -webkit-text-size-adjust: none; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
*::-moz-selection { color: #0A0A0A; background-color: #ffffff; } *::selection { color: #0A0A0A; background-color: #ffffff; }

body { font: 400 16px/180% 'Poppins', sans-serif !important; color: #ffffff; background-color: #0A0A0A; }
body.noscroll { overflow: hidden; }

header, main, footer { position: relative; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; text-transform: inherit; font-weight: 400; font-family: 'Poppins', sans-serif !important; }

h1 { font-size: 40px; line-height: 120%; font-weight: 700; }
h2 { font-size: 32px; line-height: 120%; font-weight: 700; }
h3 { font-size: 28px; line-height: 120%; }
h4 { font-size: 20px; line-height: 120%; }
h5 { font-size: 18px; line-height: 120%; }
h6 { font-size: 16px; line-height: 120%; }

hr { margin: 20px 0 40px; color: #dddddd; background-color: #dddddd; border-color: #dddddd; }

p { margin: 0 0 20px; }
p:last-child { margin: 0; }

a { text-decoration: none; color: inherit; -webkit-transition: all .3s; transition: all .3s; }

ul { list-style: outside; margin: 0; padding: 0 0 0 20px; }
ul li { margin: 0 0 5px; }
ul li:last-child { margin: 0; }

ul.doble { display: flex; flex-wrap: wrap; margin: -10px; }
ul.doble li { width: calc(50% - 10px); margin: 5px; }

ul.sinpuntos { list-style: none; }

img { display: block; width: 100%; max-width: 100%; }

strong { font-weight: 700; }

small { font-size: 70%; line-height: 120%; }

video { display: block; width: 100%; }

.wrapper { padding: 80px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.container.small { max-width: 1040px; }
.container.xsmall { max-width: 800px; }

.d-block { display: block; }
.d-inline-block { display: inline-block; }

.mb-0 { margin-bottom: 0px !important; }
.mb-1 { margin-bottom: 10px !important; }
.mb-2 { margin-bottom: 20px !important; }
.mb-3 { margin-bottom: 30px !important; }
.mb-4 { margin-bottom: 40px !important; }
.mb-8 { margin-bottom: 80px !important; }

.pt-0 { padding-top: 0px !important; }

.pb-0 { padding-bottom: 0px !important; }
.pb-1 { padding-bottom: 10px !important; }
.pb-2 { padding-bottom: 20px !important; }
.pb-3 { padding-bottom: 30px !important; }
.pb-4 { padding-bottom: 40px !important; }
.pb-8 { padding-bottom: 80px !important; }

.t-center { text-align: center; }
.t-right { text-align: right; }
.t-junto { display: inline-block !important; }
.t-upper { text-transform: uppercase; }

.t-primary { color: #0065FC !important; }
.t-secondary { color: #464646 !important; }
.t-dark { color: #0F0F0F !important; }
.t-light { color: #ffffff !important; }
.t-surface { color: #666666 !important; }

.b-primary { background-color: #0065FC !important; }
.b-secondary { background-color: #464646 !important; }
.b-dark { background-color: #0F0F0F !important; }
.b-light { background-color: #202020 !important; }
.b-surface { background-color: #E3E3E3 !important; }

.border { border: 2px solid #464646; }

.btn { display: inline-block; font-size: 16px; line-height: 120%; padding: 12px 30px; color: #ffffff; background-color: #0065FC; border: 2px solid #0065FC; border-radius: 4px; }
.btn:hover { color: #ffffff; background-color: transparent; border-color: #0065FC; }
.btn.nohover:hover { color: #ffffff; background-color: #0065FC; border-color: #0065FC; }
.btn.secondary { color: #ffffff; background-color: transparent; border-color: #0065FC; }
.btn.secondary:hover { color: #ffffff; background-color: #0065FC; border-color: #0065FC; }
.btn.secondary.nohover { border-color: #ffffff; }
.btn.secondary.nohover:hover { color: #ffffff; background-color: transparent; border-color: #ffffff; }

.caja { padding: 40px; background-color: #202020; border-radius: 24px; }
.caja.big { padding: 80px; }

.doble { display: flex; margin: -20px auto; }
.doble.centro { align-items: center; }
.doble .izq { width: calc(50% - 40px); margin: 20px; }
.doble .der { width: calc(50% - 40px); margin: 20px; }

.doble.slim { margin: -10px 0; }
.doble.slim .izq { width: calc(50% - 20px); margin: 10px; }
.doble.slim .der { width: calc(50% - 20px); margin: 10px; }

/* *
 * *
 * * Header
 * *
 * */
header .wrapper { position: relative; }
header .wrapper::before { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: rgb(10,10,10); background: linear-gradient(0deg, rgba(10,10,10,1) 0%, rgba(10,10,10,0) 100%); }
header .wrapper .container { position: relative; align-items: center; }
header .wrapper .container .logo { display: block; width: 200px; max-width: 100%; margin: 0 0 20px; }
header .wrapper .container .logo img { display: block; width: 100%; }

/* *
 * *
 * * Home
 * *
 * */

.doble.con_icon_der .der img { margin: -160px 0 0 !important; }
.doble.con_icon_der.typ { flex-direction: row-reverse; }

.caja.convideo { overflow: hidden; }
.caja.convideo .der { text-align: center; }
.caja.convideo .der video { display: inline-block; width: 450px; margin: 0 0 -180px; }

.tres_cajas { display: flex; margin: 40px -10px 50px; }
.tres_cajas .caja { width: 33.333%; margin: 10px; padding: 20px; text-align: center; }
.tres_cajas .caja .number { display: none; justify-content: center; align-items: center; width: 60px; height: 60px; margin: -50px auto 20px; text-align: center; font-size: 30px; font-weight: 400; border-radius: 100%; }
.tres_cajas .caja img { display: block; width: 100px; max-width: 100%; margin: 0 auto 20px; }
.tres_cajas .caja p { font-size: 14px; line-height: 180%; }

.cajas_bg > div { position: relative; padding: 20px 20px 30%; border-radius: 16px; }
.cajas_bg > div::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;  background: rgb(0,0,0); background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 50%); }
.cajas_bg > div > * { position: relative; }
.cajas_bg h4 { font-weight: 700; }

.cuatro_cajas { display: flex; margin: 40px -10px 50px; }
.cuatro_cajas .caja { width: 25%; margin: 10px; padding: 20px; text-align: center; }
.cuatro_cajas .caja .number { display: none; justify-content: center; align-items: center; width: 60px; height: 60px; margin: -50px auto 20px; text-align: center; font-size: 30px; font-weight: 400; border-radius: 100%; }
.cuatro_cajas .caja img { display: block; width: 75px; max-width: 100%; margin: 0 auto 20px; }
.cuatro_cajas .caja p { font-size: 14px; line-height: 180%; }

/* *
 * *
 * * Footer
 * *
 * */
.closed .ctn { display: none; margin: 0 0 20px; }
.closed .btn { margin: 20px 0 0; }

.risk-warking { display: flex; align-items: center; }
.risk-warking .izq { display: flex; align-items: center; width: 200px; }
.risk-warking .izq img { opacity: .4; width: 50px; }
.risk-warking .izq .title { margin: 0 0 0 20px; }
.risk-warking .der { width: calc(100% - 220px); margin: 0 0 0 20px; }
.risk-warking .der p { font-size: 12px; line-height: 140%; }

/* *
 * *
 * * Popup
 * *
 * */
#popup { z-index: 999; overflow: auto; visibility: hidden; opacity: 0; position: fixed; top: 0; left: 0; display: flex; justify-content: center; align-items: flex-start; width: 100%; height: 100%; padding: 30px; -webkit-transition: all .3s; transition: all .3s; }
#popup.open { visibility: visible; opacity: 1; }
#popup .close { opacity: .6; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #0F0F0F; }
#popup .box { overflow: auto; position: relative; width: 100%; max-width: 600px; max-height: 100%; padding: 30px; background-color: #202020; border: 2px solid #ffffff; border-radius: 16px; }
#popup .box > div { display: none; }
#popup .box > div.open { display: block; }


/* *
 * *
 * * Responsive
 * *
 * */
@media(max-width: 980px) {

    /* *
     * *
     * * Reset & Fonts
     * *
     * */
    h1 { font-size: 32px; line-height: 120%; }
    h2 { font-size: 28px; line-height: 120%; }
    h3 { font-size: 24px; line-height: 120%; }
    h4 { font-size: 20px; line-height: 120%; }

    .wrapper { padding: 40px 20px; }

    .caja { padding: 20px; border-radius: 12px; }
    .caja.big { padding: 20px; }

    .doble { flex-wrap: wrap; margin: 0; }
    .doble .izq { width: 100%; margin: 0 0 20px; }
    .doble .der { width: 100%; margin: 0; }

    .doble.slim { margin: 0; }
    .doble.slim .izq { width: 100%; margin: 0 0 20px; }
    .doble.slim .der { width: 100%; margin: 0; }

    /* *
     * *
     * * Home
     * *
     * */
    .doble.con_icon_der { flex-direction: column-reverse; }
    .doble.con_icon_der.typ { flex-direction: column-reverse; }
    .doble.con_icon_der .izq { margin: 20px 0 0; }
    .doble.con_icon_der .der img { margin: -60px 0 0 !important; }

    .tres_cajas { flex-wrap: wrap; margin: 20px 0 0; }
    .tres_cajas .caja { width: 100%; margin: 0 0 20px; }

    .cajas_bg > div { width: calc(50% - 40px) !important; margin: 20px !important; }

    .cuatro_cajas { flex-wrap: wrap; }
    .cuatro_cajas .caja { width: calc(50% - 20px); }

    /* *
     * *
     * * Footer
     * *
     * */
    .risk-warking { flex-wrap: wrap; }
    .risk-warking .izq { width: 100%; }
    .risk-warking .izq img { width: 30px; }
    .risk-warking .izq .title { margin: 0 0 0 10px; }
    .risk-warking .der { width: 100%; margin: 20px 0 0; }

}

@media(max-width: 540px) {

    /* *
     * *
     * * Home
     * *
     * */
    .cajas_bg { flex-wrap: wrap; margin: 0; }
    .cajas_bg > div { width: 100% !important; padding: 20px 20px 80%; }
    .cajas_bg .izq { margin: 0 0 20px !important; }
    .cajas_bg .der { margin: 0 !important; }

    /*.cuatro_cajas { margin: 20px 0 0; }
    .cuatro_cajas .caja { width: 100%; margin: 0 0 20px; }*/
    .cuatro_cajas .caja img { width: 50px; }
    .cuatro_cajas .caja p { font-size: 12px; line-height: 140%; }

}