/*
Theme Name: Storefront Child Theme
Theme URI: http://www.gobiernodecanarias.org/educacion/clicescuela20/
Author: ATE
Description: Tema hijo  para personalizar el tema Storefront.
Requires at least: WordPress 4.9.6
Version: 1.0
Template: storefront
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, editor-style
*/


/* Import Stylesheets, don't remove these.
-----------------------------------------------------------*/

@import url("../storefront/style");

/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */


/* Anchos */

.width-100 {
    width: 100%;
}

.width-90 {
    width: 90%;
}

.width-80 {
    width: 80%;
}

.width-70 {
    width: 70%;
}

.width-60 {
    width: 60%;
}

.width-50 {
    width: 50%;
}

.width-40 {
    width: 40%;
}

.width-30 {
    width: 30%;
}

.width-20 {
    width: 20%;
}

.width-10 {
    width: 10%;
}


/* COLUMNAS */

@media (min-width: 300px) and (max-width: 829px) {
    .columna-pant-movil-05 {
        width: 5%;
        float: left;
    }
    .columna-pant-movil-1 {
        width: 10%;
        float: left;
    }
    .columna-pant-movil-2 {
        width: 20%;
        float: left;
    }
    .columna-pant-movil-25 {
        width: 25%;
        float: left;
    }
    .columna-pant-movil-3 {
        width: 30%;
        float: left;
    }
    .columna-pant-movil-4 {
        width: 40%;
        float: left;
    }
    .columna-pant-movil-5 {
        width: 50%;
        float: left;
    }
    .columna-pant-movil-6 {
        width: 60%;
        float: left;
    }
    .columna-pant-movil-7 {
        width: 70%;
        float: left;
    }
    .columna-pant-movil-8 {
        width: 80%;
        float: left;
    }
    .columna-pant-movil-9 {
        width: 90%;
        float: left;
    }
    .columna-pant-movil-95 {
        width: 95%;
        float: left;
    }
    .columna-pant-movil-10 {
        width: 100%;
        float: left;
    }
}

@media (min-width: 830px) and (max-width: 991px) {
    .columna-pant-tablet-05 {
        width: 5%;
        float: left;
    }
    .columna-pant-tablet-1 {
        width: 10%;
        float: left;
    }
    .columna-pant-tablet-2 {
        width: 20%;
        float: left;
    }
    .columna-pant-tablet-25 {
        width: 25%;
        float: left;
    }
    .columna-pant-tablet-3 {
        width: 30%;
        float: left;
    }
    .columna-pant-tablet-4 {
        width: 40%;
        float: left;
    }
    .columna-pant-tablet-5 {
        width: 50%;
        float: left;
    }
    .columna-pant-tablet-6 {
        width: 60%;
        float: left;
    }
    .columna-pant-tablet-7 {
        width: 70%;
        float: left;
    }
    .columna-pant-tablet-8 {
        width: 80%;
        float: left;
    }
    .columna-pant-tablet-9 {
        width: 90%;
        float: left;
    }
    .columna-pant-tablet-95 {
        width: 95%;
        float: left;
    }
    .columna-pant-tablet-10 {
        width: 100%;
        float: left;
    }
}

@media (min-width: 992px) {
    .columna-pant-grande-05 {
        width: 5%;
        float: left;
    }
    .columna-pant-grande-1 {
        width: 10%;
        float: left;
    }
    .columna-pant-grande-2 {
        width: 20%;
        float: left;
    }
    .columna-pant-grande-25 {
        width: 25%;
        float: left;
    }
    .columna-pant-grande-3 {
        width: 30%;
        float: left;
    }
    .columna-pant-grande-4 {
        width: 40%;
        float: left;
    }
    .columna-pant-grande-5 {
        width: 50%;
        float: left;
    }
    .columna-pant-grande-6 {
        width: 60%;
        float: left;
    }
    .columna-pant-grande-7 {
        width: 70%;
        float: left;
    }
    .columna-pant-grande-8 {
        width: 80%;
        float: left;
    }
    .columna-pant-grande-9 {
        width: 90%;
        float: left;
    }
    .columna-pant-grande-95 {
        width: 95%;
        float: left;
    }
    .columna-pant-grande-10 {
        width: 100%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .columna-pant-extra-05 {
        width: 5%;
        float: left;
    }
    .columna-pant-extra-1 {
        width: 10%;
        float: left;
    }
    .columna-pant-extra-2 {
        width: 20%;
        float: left;
    }
    .columna-pant-extra-25 {
        width: 25%;
        float: left;
    }
    .columna-pant-extra-3 {
        width: 30%;
        float: left;
    }
    .columna-pant-extra-4 {
        width: 40%;
        float: left;
    }
    .columna-pant-extra-5 {
        width: 50%;
        float: left;
    }
    .columna-pant-extra-6 {
        width: 60%;
        float: left;
    }
    .columna-pant-extra-7 {
        width: 70%;
        float: left;
    }
    .columna-pant-extra-8 {
        width: 80%;
        float: left;
    }
    .columna-pant-extra-9 {
        width: 90%;
        float: left;
    }
    .columna-pant-extra-95 {
        width: 95%;
        float: left;
    }
    .columna-pant-extra-10 {
        width: 100%;
        float: left;
    }
}


/* TEXTOS */

.text-left {
    text-align: left;
}

.text-right,
.text-right p.submit {
    text-align: right;
}

.text-center {
    text-align: center;
}


/* MARGENES Y PADDINGS*/

.m-5 {
    margin: 5px !important;
}

.m-15 {
    margin: 15px !important;
}

.m-t-5 {
    margin-top: 5px !important;
}

.m-b-5 {
    margin-bottom: 5px !important;
}

.m-l-15 {
    margin-left: 15px !important;
}

.m-r-15 {
    margin-right: 15px !important;
}

.m-t-15 {
    margin-top: 15px !important;
}

.m-b-15 {
    margin-bottom: 15px !important;
}

.m-t-30 {
    margin-top: 30px !important;
}

.m-b-30 {
    margin-bottom: 30px !important;
}

.p-5 {
    padding: 5px !important;
}

.p-t-5 {
    padding-top: 5px !important;
}

.p-b-5 {
    padding-bottom: 5px !important;
}

.p-l-5 {
    padding-left: 5px !important;
}

.p-r-5 {
    padding-right: 5px !important;
}

.p-15 {
    padding: 15px !important;
}

.p-b-15 {
    padding-bottom: 15px !important;
}

.p-l-15 {
    padding-left: 15px !important;
}

.p-r-15 {
    padding-right: 15px !important;
}

.clear-both {
    clear: both;
}

.separator-top {
    padding: 24px 0;
    border-top: 1px solid #f1f1f1;
    margin-top: 25px;
}

.separator-bottom {
    padding: 24px 0;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 25px;
}


/* --------------------- */


/*  LOGOS DE LA CABECERA */


/* --------------------- */

.white-background {
    background-color: white !important;
}

.logos-header {
    display: flex;
    align-items: center;
    justify-content: left;
}

.enlaces-top {
    display: flex;
    align-items: center;
    justify-content: right;
    float: right;
}

.logos-header>span {
    margin-right: 20px;
}


/* Título del centro */

.logos-header>span.nombre-centro {
    font-size: 25px;
    font-weight: normal;
}

.logos-header>a>span.nombre-centro {
    font-size: 20px;
    font-weight: normal;
    color: #2b2a29;
    font-family: Arial;
    align-content: end;
    /*height: 55px;*/
    display: grid;
    /*margin-bottom: 18px;*/
    line-height: 25px;
}


/* Título alternativo del centro. */

.school-name-alt>a>span.nombre-centro {
    font-size: 20px;
    font-weight: normal;
    color: #2b2a29;
    font-family: Arial;
    /*height: 55px;*/
    display: none;
    margin-bottom: 15px;
    line-height: 25px;
}

.logos-header>a {
    text-decoration: none;
}


/* Limitamos el tamaño de la cabecera */

.logos-header>span>a>img {
    max-height: 79px;
    max-width: none !important;
}


/* Limitamos específicamente el tamaño del logo autorizado */

.logos-header>span.logo-centro>a>img {
    max-height: 52px;
}

.logos-header>span.logo-centro {
    margin-bottom: 12px;
}

.enlaces-top>span {
    font-size: 16px;
    font-weight: normal;
    color: #2b2a29;
}

.enlaces-top>span>a {
    vertical-align: text-top;
}

.separator {
    position: relative;
}

.separator:not(:last-child) {
    margin-right: 22px;
}

.separator:not(:last-child)::after {
    content: "";
    height: 80%;
    width: 1px;
    right: -12px;
    top: 10%;
    background-color: #2b2a29;
    position: absolute;
}

#footer>.footer-consejeria {
    background-color: #FFDF61;
}

#footer .separator:not(:last-child)::after {
    height: 100%;
    top: 0;
    right: -11px;
}

#footer .separator {
    margin-right: 15px;
}

#footer a {
    color: #2b2a29 !important;
    text-decoration: none;
}

.widget-logo {
    margin-bottom: 20px;
}

li.widget-logo {
    text-align: center;
    margin: 10px auto;
    list-style-type: none;
}

.widget-logo img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 55px;
    margin: auto;
    border-radius: 0;
}

.footer-logos {
    text-align: center;
    padding-bottom: 0;
}

.footer-logos>span {
    margin: 10px 0;
}

.footer-logos>span img {
    display: inherit;
    /*display: unset;*/
    margin: 1.25rem;
}

.footer-logos>span a {
    text-decoration: none;
}

.footer-logos span:not(:last-child) {
    padding-right: 10px;
}

.footer-consejeria {
    background-color: #FFDF61;
    color: #2b2a29;
    height: 36px;
}


/* TRATAMIENTO DEL HEADER EN PANTALLAS DE MÓVIL */

@media (max-width: 1325px) {
    .logos-header>a>span.nombre-centro {
        display: none;
    }
    /* Título alternativo del centro. */
    .school-name-alt>a>span.nombre-centro {
        display: grid;
    }
}


/* TRATAMIENTO DEL FOOTER EN PANTALLAS DE MÓVIL */

@media (max-width: 1050px) {
    .footer-consejeria>div {
        text-align: center;
    }
    .separator:last-child {
        margin-right: 0px
    }
}

@media (max-width: 817px) {
    .footer-consejeria {
        height: 72px;
    }
}

@media (max-width: 455px) {
    .footer-consejeria {
        height: 100px;
    }
}

@media (min-width: 300px) and (max-width: 829px) {
    .footer-logos>span img {
        margin: 0;
    }
}