/*--------------------------------------------------------------
Basic
--------------------------------------------------------------*/
body {
    background-color: #101A29;
    color: white;
    height:100%;
}

body, input, select, textarea {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    /* font-weight: 300; */
    line-height: 1.65;
}

em, i {
    font-style: italic;
}

a {
    color: #4285f4;
    text-decoration: none;
}

a:hover{
    color: #4285f4;
    text-decoration: none;
}

p {
    margin: 0 0 2em 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto Slab", serif;
    /* line-height: 1.4; */
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
    text-decoration: none;
}

h6 a {
    color: #C00;
}

h1 {
    font-size: 2.5em;
    margin: 0 0 0.5em 0;
    /* line-height: 1.3; */
}

@media (min-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

@media screen and (max-width: 736px) {
    h1 {
        font-size: 2em;
        /* line-height: 1.4; */
    }
    h2 {
        font-size: 1.5em;
    }
}

blockquote {
    border-left: solid 3px rgba(210, 215, 217, 0.75);
    font-style: italic;
    margin: 0 0 2em 0;
    padding: 0.5em 0 0.5em 2em;
}

code {
    background: rgba(230, 235, 237, 0.25);
    border-radius: 0.375em;
    border: solid 1px rgba(210, 215, 217, 0.75);
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0.25em;
    padding: 0.25em 0.65em;
}

pre {
    -webkit-overflow-scrolling: touch;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0 2em 0;
}

pre code {
    display: block;
    line-height: 1.75;
    padding: 1em 1.5em;
    overflow-x: auto;
}

.hr-set{
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 15px;
    margin-bottom: 15px;
}

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

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

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

/*--------------------------------------------------------------
Scroll Up
--------------------------------------------------------------*/
.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    right: 10px;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: rgba(232, 98, 86, 0.8) url(../img/cd-top-arrow.svg) no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
    transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
}

.cd-top.cd-top--show,
.cd-top.cd-top--fade-out,
.cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
    transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
}

.cd-top.cd-top--show {
    visibility: visible;
    opacity: 1;
}

.cd-top.cd-top--fade-out {
    opacity: .5;
}

.cd-top:hover {
    background-color: #e86256;
    opacity: 1;
}

@media only screen and (min-width: 768px) {
    .cd-top {
        right: 20px;
        bottom: 20px;
    }
}

@media only screen and (min-width: 1024px) {
    .cd-top {
        height: 60px;
        width: 60px;
        right: 30px;
        bottom: 30px;
    }
}

@media screen and (max-width: 480px) {

    .features article {
        -moz-flex-direction: row;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -moz-align-items: -moz-flex-start;
        -webkit-align-items: -webkit-flex-start;
        -ms-align-items: -ms-flex-start;
        align-items: flex-start;
    }

    .features article .icon {
        height: 6em;
        line-height: 6em;
        margin: 0 0 1.5em 0;
        width: 6em;
    }

    .features article h3 {
        font-size: 1.4em;
    }
}

/*--------------------------------------------------------------
Custom CSS
--------------------------------------------------------------*/
.wrapper{
    padding: 60px 0 0 0;
}

.portada {
    background: rgb(22,47,87);
    background: linear-gradient(180deg, rgba(22,47,87,1) 0%, rgba(16,26,41,1) 20%);
}

.portada h2 a:hover {
    color: white;
    text-decoration: none;
}

.portada hr {
    border-width: 3px;
    border-color: #214886;
    width: 7%;
}

.cabecera {
    background: rgb(22,47,87);
    background: linear-gradient(180deg, rgba(22,47,87,1) 0%, rgba(16,26,41,1) 60%);
}

.btn-primary {
    background-color: rgba(146, 1, 6, .8) !important;
}

.btn-primary:hover {
    background-color: rgba(146, 1, 6, 1) !important;
}

.texto-celeste {
    color: #4285f4;
}

.wiki {
    padding-top: 2rem;
}

.texto-wiki {
    color: white;
    column-count: 3;
    column-gap: 2rem;
    position: relative;
    z-index: 1;
}

.texto-wiki u {
    display: block;
    font-family: "Roboto Slab", serif;
    margin-bottom: 1rem;
    text-decoration: none;
}

.texto-wiki a:hover {
    text-decoration: underline;
}

.btn-primary:not([disabled]):not(.disabled).active {
    background-color: #214886 !important;
}

.tab-content {
    padding: 2rem 0 0 0 !important;
}

#anexos-ex img {
    height: 150px;
    width: 150px;
}

.persp, .texto-wiki {
    background-color: rgba(33, 72, 134, .2);
    padding: 2rem;
    margin-bottom: 2rem;
}

.h-texto {
    background-color: rgba(33, 72, 134, .2);
    padding: 1rem 2rem;
    text-align: right;
}

.persp p {
    text-align: left;
}

.recursos a img {
    border: 4px solid #214886;
    transition: .3s;
}

.recursos a:hover img {
    border: 4px solid #4285f4;
    transition: .3s;
}

.recursos h6 a {
    color: white;
}

.recursos h6 a:hover {
    color: #4285f4;
}

.modal-content {
    background-color: #14243E;
    color: white;
    margin-top: 65px;
}

.close {
    color: white;
    opacity: 1;
    text-shadow: none;
}

.close:hover {
    color: #4285f4;
    text-decoration: none;
}

#timeline-movil .item {
    border-top: 4px solid rgba(146, 1, 6, 1);
    padding: 2rem 1rem;
}

#timeline-movil .item h2 {
    margin-bottom: 2rem;
}

.modal-header {
    border-bottom: 1px solid #214886;
}

.modal .list-group-item+.list-group-item {
    border-top-width: 0;
}

.modal .list-group-item {
    padding: 0.5rem 1.25rem;
    background-color: transparent;
    border: 1px solid rgba(256, 256, 256, .2);
}
.modal .list-group-item-action {
    color: white;
}

.modal .list-group-item-action:hover, .modal .list-group-item-action:focus {
    color: white;
    background-color: #214886;
}

a:focus-visible,
.btn:focus-visible,
button:focus-visible {
    outline: 2px solid red !important;
}

a.btn-tab {
    left: -999px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}
a.btn-tab:focus {
    left: 26.5%;
    top: auto;
    width: 117px;
    height: auto;
    overflow: auto;
    margin: 1rem 0 0 0;
    font-size: auto;
    outline: 2px solid red;
    text-align: center;
    z-index: 999;
}


/* MEDIA QUERYS */
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199px) {

    .wrapper{
        padding: 50px 0 0 0;
    }

    .modal-content {
        margin-top: 60px;
    }

    .texto-wiki {
        column-count: 2;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991px) {

    .texto-wiki {
        column-count: 1;
    }

}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {


}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {

    .btn {
        padding: 0.84rem 1.8rem;
    }
}

/*--------------------------------------------------------------
Sociales / Herramientas accesibilidad
--------------------------------------------------------------*/
.barra-herramientas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 10px 0;
    margin: 1rem 0;
}

#share i {
    color: white !important;
}

#tools {
    cursor: pointer;
    margin: 0;
}

#tools li {
    margin-left: 0px;
}

#tools .list-inline-item:not(:last-child) {
    margin-right: 0;
}

@media only screen and (min-width: 768px) {
    #tools li {
        margin-left: 5px;
    }

    #tools .list-inline-item:not(:last-child) {
        margin-right: .5rem;
    }
}

/*--------------------------------------------------------------
 Switch alto contraste
 --------------------------------------------------------------*/
.switch {
    position: relative;
    display: inline-block;
    width: 26px;
    height: 15px;
    top: 2px;
    margin: 0 0;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 11px;
    width: 11px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    -webkit-transition: 0.4s;
}

input:checked+.slider {
    background-color: #FFB946;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(11px);
    -ms-transform: translateX(11px);
    transform: translateX(11px);
}

.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}

/*--------------------------------------------------------------
Breadcrums
--------------------------------------------------------------*/
.breadcrumb {
    padding: 0rem 0rem;
    margin-bottom: 0rem;
    background-color: transparent;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .active {
    color: white;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    padding-right: 0;
    content: "";
}

