﻿@import url(../variablesGlobales.css);

/*Codigo principal*/
html {
    height: 100%
}

.body {
    font-family: var(--fuentePrincipal), var(--fuenteSecundaria),sans-serif;
    background-color: #edf3f4;
    font-variant-ligatures: no-common-ligatures;
    color: #231f20; /*
    position: absolute;
    width: 100%;
    min-height: 100%*/
}

    .body.login {
        height: 100%;
        margin: 0;
        padding-top: 180px;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background: rgba(0,102,212,1);
        background: -moz-linear-gradient(top,rgba(0,102,212,1) 0%,rgba(50,153,191,1) 85%,rgba(50,153,191,1) 100%);
        background: -webkit-gradient(left top,left bottom,color-stop(0%,rgba(0,102,212,1)),color-stop(85%,rgba(50,153,191,1)),color-stop(100%,rgba(50,153,191,1)));
        background: -webkit-linear-gradient(top,rgba(0,102,212,1) 0%,rgba(50,153,191,1) 85%,rgba(50,153,191,1) 100%);
        background: -o-linear-gradient(top,rgba(0,102,212,1) 0%,rgba(50,153,191,1) 85%,rgba(50,153,191,1) 100%);
        background: -ms-linear-gradient(top,rgba(0,102,212,1) 0%,rgba(50,153,191,1) 85%,rgba(50,153,191,1) 100%);
        background: linear-gradient(to bottom,rgba(0,102,212,1) 0%,rgba(50,153,191,1) 85%,rgba(50,153,191,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00A8E1',endColorstr='#3299bf',GradientType=0)
    }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

    html > .body {
    }

#page-wrapper {
    height: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 150px auto;
}

/*HEADER */
#header {
    background-color: var(--azulInstitucional);
    display: flex;
    height: 70px;
    grid-column: 2;
    grid-row: 1;
}

.contenedorTitle {
    display: flex;
    align-items: center;
    width: 35%;
    justify-content: center;
    flex-direction: column;
}

.titleHeader {
    font-weight: 600;
    color: #fff;
    padding: 0 5px;
}

.titulo-fiestas {
    display: none;
    color: white;
    border: 1px solid white;
    font-weight: 900;
    animation: openclose 5s ease-in-out infinite;
}

.word1, .word2, .word3 {
    display: inline;
    font-family: tahoma;
}

@keyframes openclose {
    0% {
        top: 0.2rem;
        width: 0;
    }

    5% {
        width: 0;
    }

    15% {
        width: 230px;
    }

    30% {
        top: 0.2rem;
        width: 230px;
    }

    33% {
        top: 0.2rem;
        width: 0;
    }

    35% {
        top: 0.2rem;
        width: 0;
    }

    38% {
        top: -4.5rem;
    }

    48% {
        top: -4.5rem;
        width: 190px;
    }

    62% {
        top: -4.5rem;
        width: 190px;
    }

    66% {
        top: -4.5rem;
        width: 0;
        text-indent: 0;
    }

    71% {
        top: -9rem;
        width: 0;
        text-indent: 5px;
    }

    86% {
        top: -9rem;
        width: 270px;
    }

    95% {
        top: -9rem;
        width: 280px;
    }

    98% {
        top: -9rem;
        width: 0;
        text-indent: 5px;
    }

    100% {
        top: 0;
        width: 0;
        text-indent: 0;
    }
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}

.contenedorListHeader {
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin: 0;
    width: 65%;
}

li.search {
    font-size: 30px;
    display: flex;
    align-items: center;
}

    li.search #openSearchBar {
        font-size: 22px;
        color: #fff;
        width: 75px;
        z-index: 1;
    }

        li.search #openSearchBar:hover {
            background-color: transparent;
        }

.closeSearchBar {
    position: relative;
    z-index: 1;
}

    .closeSearchBar img {
        width: 15px;
    }

#OperatorSection > .dropdown-menu {
   left: unset;
   background-color: var(--azulInstitucional);
   padding:2px;
}

#OperatorSection {
    z-index: 1;
    display: flex;
    width:100%;
    justify-content: end;
    margin-right: 3%;
}

    #OperatorSection #usermenu{
        display:flex;
        align-items:end;
    }

    #OperatorSection p {
        color: white;
    }

    #OperatorSection .logout {
        align-self: end;
        font-size: 24px;
        margin: 0 0 14px 7px;
    }

    #OperatorSection .logout i:before {
        color: white;
        font-weight: 400;
    }

.avatar-button {
    margin: 0px 0px 10px 10px;
}

.menu-toogle {
    margin: 0px;
}


/*NAVBAR LATERAL*/

.barra-nav-lateral {
    grid-row: 1;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    height: 100%;
    border-color: #e7e7e7;
    background-color: #fff;
    -webkit-box-shadow: 20px 0 38px 0 rgba(199,225,230,.3);
    -moz-box-shadow: 20px 0 38px 0 rgba(199,225,230,.3);
    box-shadow: 20px 0 38px 0 rgba(199,225,230,.3);
}

/*El checkbox según esté activado o no hará que el menú aparezca o desaparezca*/
#page-wrapper > .checkbox {
    display: none;
    /*Ocultamos el checkbox pues no nos interesa que se vea*/
}

.checkbox:checked ~ .nav {
    left: 0px;
    /*Le quitamos el left negativo para que el menú vuelva a su posición original*/
    /* position: relative; */
    /* Fijamos el menú lateral para que se desplace cuando hagamos scroll*/
    z-index: 1;
    top: 70px;
    height: 100%;
}

.checkbox:checked ~ #body {
    /*  margin-left: 100%;*/
    z-index: 0;
    top: 50px;
    /*Cuando el checkbox asigna un margen al contenedor principal para que se desplace junto con el menú*/
}

.checkbox:checked ~ .menu-toogle {
    left: 155px;
    position: fixed;
    /*Fijamos la hamburgues para que se desplace junto con el menú*/
}

.nav > li > a:hover, .nav > li > a:focus {
    background-color: transparent
}

ul.nav.navbar-top-links.navbar-right {
    max-height: 75px
}

.barra-nav-lateral .nav > li > a i {
    font-size: 28px;
    display: block
}

.barra-nav-lateral .nav > li > a {
    padding: 18px 15px
}

.nav .closeSearchBar {
    position: absolute;
    right: 0;
    top: 40%;
    padding: 0
}

    .nav .closeSearchBar:hover {
        background-color: transparent !important
    }

.barra-nav-lateral .nav > li > a {
    color: #6d6e71;
    font-size: 10px;
    font-weight: 700;
    text-align: center
}

.barra-nav-lateral .nav > li.active {
    background-color: #e2ebed
}

    .barra-nav-lateral .nav > li.active a {
        color: var(--amarilloInstitucional);
    }

.barra-nav-lateral .nav > li > a:focus, .barra-nav-lateral .nav > li > a:hover {
    background-color: #c5d6d8;
    color: #001e61
}

#page-wrapper .navbar.navbar-static-top .navbar-header .h5 {
    margin-left: 10px;
    display: inline-block;
}


@media (min-width:100px) and (max-width: 575px) {

    #header {
        grid-column: 1/3;
        font-size:10px;
        padding:5px;
    }

        #header .titleHeader{
            font-size:10px;
        }

        #header .contenedorListHeader{
            
        }

        /*Estos son los estilos de la hamburguesa del menú que abre y cierra el mismo*/
        .menu-toogle {
            position: absolute;
            /*Lo posicionamos absolutamente para poder darle una posición y poder moverlo según el menú esté abierto o cerrado*/
            width: 35px;
            line-height: 1.1;
            text-align: center;
            top: 75px;
            /*Le damos una posición top y left en donde queramos que se encuentre la hamburguesa del menú*/
            left: 8px;
            border-radius: 3px;
            background-color: #008ecc;
            transition: all .5s ease;
            z-index: 1;
            /*Añadimos una transición para que realice un desplazamineto suave*/
        }
        /*Añadimos la haburguesa y le damos unos estilos*/
        .menu-toogle::before {
            content: "☰";
            font-size: 32px;
            color: white;
        }

    .barra-nav-lateral {
        position: absolute;
        width: 150px;
        height: 100vh;
        top: 0;
        left: -220px;
        /*Ocultamos el menú en la parte izquierda para que no se vea a menos que pulsemos sobre la hamburguesa*/
        /*padding-top: 47px; */
        transition: all .5s ease;
        /*Damos a la caja del menú una transición para que tenga un desplazamiento suave*/
    }
    /*Estilos de los li del menú*/
    .nav__item {
        display: block;
        width: 96%;
        margin: 0 auto;
        line-height: 2;
        position: relative;
        /*Le damos una posición relativa para posteriormente añadirle el triangulo que indica que se está en la página actual del menú*/
        border-bottom: .5px solid rgba(59, 62, 61, 1);
        border-top: .5px solid rgba(59, 62, 61, 1);
        background-color: transparent;
        font-family: 'Open Sans Condensed', sans-serif;
        font-size: 1.3rem;
        text-align: center;
        color: rgba(221, 231, 228, 1);
    }
    /*Damos colocamos el triangulo negro a la pestaña del menú dónde nos encontramos actualmente*/
    .current:before {
        content: "";
        width: 0;
        height: 0;
        position: absolute;
        /*Le damos al before una posición absoluta relativa al li que lo contiene*/
        border-top: 17px solid transparent;
        border-left: 15px solid #1D2120;
        border-bottom: 17px solid transparent;
        top: 0px;
        right: -15px;
        /*Lo posicionamos -15px a la derecha de su contenedor*/
        /*le otorgamos un z-index alto para que se posicione arriba de otros elementeos*/
    }

    /*Colocamos el borde verde al triangulo por medio de otro trangulo verde*/
    .current:after {
        content: "";
        width: 0;
        height: 0;
        position: absolute;
        /*Le damos al after una posición absoluta relativa al li que lo contiene*/
        border-top: 16.5px solid transparent;
        border-left: 17px solid rgba(95, 0, 0, 1);
        border-bottom: 17px solid transparent;
        top: .5px;
        right: -21px;
        /*le otorgamos un z-index bajo para que se posicione debajo del trinagulo negro*/
    }

    #body {
        width: 100%;
        left: 2%;
        height: 100vh;
        transition: all .5s ease;
        grid-column: 1/3;
    }

    #page-wrapper {
        height: 100%;
        margin: 0;
        display: grid;
        grid-template-rows: 70px auto;
    }

    .contenedor-barra-lateral {
        border-right: 4px solid rgba(95, 0, 0, 1);
        transition: all .5s ease;
        border-color: #e7e7e7;
        background-color: #fff;
        -webkit-box-shadow: 20px 0 38px 0 rgba(199,225,230,.3);
        -moz-box-shadow: 20px 0 38px 0 rgba(199,225,230,.3);
        box-shadow: 20px 0 38px 0 rgba(199,225,230,.3);
    }

    .titulo-fiestas{
        display:none;
    }

    .search input{
        width:100px;
    }

    #OperatorSection{
        width:100px;
    }

    .contenedorListHeader{
        justify-content:space-evenly;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {

    #body {
        grid-column: 2;
        grid-row: 1;
        top: 70px;
        position: relative;
        padding:1%;
    }

    #page-wrapper {
        grid-template-columns: 90px auto;
    }

    .barra-nav-lateral {
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    .barra-nav-lateral {

    }

    .carousel-caption {
        display: none
    }

    #body {
        grid-column: 2;
        grid-row: 1;
        top: 70px;
        position: relative;
        padding:1%;
    }

    #page-wrapper {
        grid-template-columns: 90px auto;
    }

    .form-horizontal .control-label.with-hint {
        padding-top: 0;
        margin-top: -2px
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #page-wrapper {
    }

    #body {
        grid-column: 2;
        grid-row: 1;
        top: 70px;
        position: relative;
        padding:1%;
    }

    .barra-nav-lateral {
    }

    .modal-lg {
        width: 750px
    }
}

@media (min-width: 1200px) {
    #page-wrapper {
    }
    #body {
        grid-column: 2;
        grid-row: 1;
        top: 70px;
        position: relative;
        padding:1%;
    }

    .menu-toogle{
        display:none;
    }

    .barra-nav-lateral {
    }
}

/*
Vista de formulario 5254
*/

#A1row32861 {
    max-width: 1200px;
}

/*
    Vista de formulario 6255
*/
#form-presentation .sat-container-formgridedicion {
    max-width:900px;
}