/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">
*/

:root {
    --color-primary-900: #5a0f0a;
    --color-primary-800: #7a150e;
    --color-primary-700: #991912;
    --color-primary-600: #b82016;
    --color-primary-500: #d12b1b; /* principal */
    --color-primary-400: #e04733;
    --color-primary-300: #e86a57;
    --color-primary-200: #f09381;
    --color-primary-100: #f7b7a9;
    --color-primary-50:  #fde2dc;
}

.popover {
    /*text-align: justify !important;*/
}

#cover-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #ffff;
    z-index: 9999;
}

.h6Modulos h6 {
    color: black !important;
    font-weight: normal !important;
}

.gooey {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 142px;
    height: 40px;
    margin: -20px 0 0 -71px;
    background: #fff;
    filter: contrast(20);
}

.gooey .dot {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 12px;
    left: 15px;
    filter: blur(4px);
    background: var(--color-primary-500);
    border-radius: 50%;
    transform: translateX(0);
    animation: dot 2.8s infinite;
}

.gooey .dots {
    transform: translateX(0);
    margin-top: 12px;
    margin-left: 31px;
    animation: dots 2.8s infinite;
}

.gooey .dots span {
    display: block;
    float: left;
    width: 16px;
    height: 16px;
    margin-left: 16px;
    filter: blur(4px);
    background: var(--color-primary-500);
    border-radius: 50%;
}

@-moz-keyframes dot {
    50% {
        transform: translateX(96px);
    }
}

@-webkit-keyframes dot {
    50% {
        transform: translateX(96px);
    }
}

@-o-keyframes dot {
    50% {
        transform: translateX(96px);
    }
}

@keyframes dot {
    50% {
        transform: translateX(96px);
    }
}

@-moz-keyframes dots {
    50% {
        transform: translateX(-31px);
    }
}

@-webkit-keyframes dots {
    50% {
        transform: translateX(-31px);
    }
}

@-o-keyframes dots {
    50% {
        transform: translateX(-31px);
    }
}

@keyframes dots {
    50% {
        transform: translateX(-31px);
    }
}


@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

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

#cover-spin::after {
    /*content:'';*/
    display: block;
    position: absolute;
    left: 48%;
    top: 40%;
    width: 40px;
    height: 40px;
    border-style: solid;
    border-color: var(--color-primary-500);
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}


#modulosMenu:hover {
    color: var(--color-primary-500) !important;
    font-weight: bold;
}

.menuCTS:hover {
    color: var(--color-primary-500) !important;
    font-weight: bold !important;
}

.menuCTS:focus {
    color: var(--color-primary-500) !important;
    font-weight: bold !important;
}

.menuEspecial {
    font-size: 25px;
    font-weight: 300;
    display: grid;
    grid-template-columns: auto 9px;
    grid-auto-rows: 65px;
    margin-bottom: 8px;
    align-items: center;
    text-align: left;
    box-shadow: 3px 3px 3px 1px rgba(0, 0, 0, .3);
    padding-bottom: 0px !important;
}

.menu-card__programName {
    font-size: 14px;
    color: #212121;
}

.btnCTS {
    background-color: var(--color-primary-500) !important;
    color: white !important;
    border-color: transparent !important;
}

/* Sobrescribe bloques rojos del template al color principal */
.pcac_color { background-color: var(--color-primary-500) !important; }
.bg-primary, .badge-primary { background-color: var(--color-primary-500) !important; }
.text-primary, a:hover, a:focus { color: var(--color-primary-500) !important; }
.btn-primary { background-color: var(--color-primary-500) !important; border-color: var(--color-primary-600) !important; }
.btn-primary:hover, .btn-primary:focus { background-color: var(--color-primary-600) !important; border-color: var(--color-primary-700) !important; }


.stop-scrolling {
    height: 100%;
    overflow: hidden;
}


.textSedes {
    height: 130px;
    line-height: 100px;
    text-align: center;
    padding-top: 10px !important;
}

.tituloSedes {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

@media (max-width: 1600px) {
    .img-loaded {
        background-position: 60% !important;
    }

}

@media (max-width: 1280px) {
    .img-loaded {
        background-position: 60% !important;
    }

}


@media (max-width: 1152px) {
    .img-loaded {
        background-position: -170% !important;
    }

}


@media (max-width: 1024px) {
    .img-loaded {
        background-position: -143% !important;
    }

}

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

.mfp-content {
    background: none !important;
}

.spanBlack > p > span {
    color: black !important;
}

h6 {
    font-weight: bold !important;
}

.subtitleAvales {
    font-weight: bold;
    font-size: 20px;
    text-align: center
}

.fontBlack{
    color: black !important;
}

.btn.btn-primary:hover{
    background-color: #8d8d8d !important;
    border-color: #8d8d8d !important;
    color: #fff;
}

.btn.btn-primary:focus{
    background-color: #f00 !important;
    border-color: #f00 !important;
    color: #fff;
}
