@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap');

@font-face {
    font-family: 'avenir_black';
    src: url('fonts/AvenirLTStd-Black.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'avenir_book';
    src: url('fonts/AvenirLTStd-Book.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'avenir_heavy';
    src: url('fonts/AvenirLTStd-Heavy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'avenir_light';
    src: url('fonts/AvenirLTStd-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'avenir_light_oblique';
    src: url('fonts/AvenirLTStd-LightOblique.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'avenir_medium';
    src: url('fonts/AvenirLTStd-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'avenir_oblique';
    src: url('fonts/AvenirLTStd-Oblique.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'avenir_roman';
    src: url('fonts/AvenirLTStd-Roman.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'akhand_soft';
    src: url('fonts/indiantypefoundry-akhandsoft-regular-webfont.woff2') format('woff2'),
        url('fonts/indiantypefoundry-akhandsoft-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'akhand_softextralight';
    src: url('fonts/indian-type-foundry-akhandsoft-extralight-webfont.woff2') format('woff2'),
        url('fonts/indian-type-foundry-akhandsoft-extralight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'akhand_softbold';
    src: url('fonts/indiantypefoundry-akhandsoft-bold-webfont.woff2') format('woff2'),
        url('fonts/indiantypefoundry-akhandsoft-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'akhand_softextrabold';
    src: url('fonts/indiantypefoundry-akhandsoft-extrabold-webfont.woff2') format('woff2'),
        url('fonts/indiantypefoundry-akhandsoft-extrabold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'akhand_softsemibold';
    src: url('fonts/indiantypefoundry-akhandsoft-semibold-webfont.woff2') format('woff2'),
        url('fonts/indiantypefoundry-akhandsoft-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*Vars*/
:root {
    --marine: #165DA9;
}

.font_light{
    /* font-family: 'akhand_softextralight'; */
    font-family: 'Noto Sans',sans-serif !important;
}

html,
body {
    height: 100%;
    font-family: 'avenir_heavy', sans-serif !important;
    padding: 0px;
    margin: 0px;
    color: #fff;
}

/* body {
    background-color: var(--marine);
    background-image: url(../../images/home_bg_color.jpg) !important;
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: contain;
} */

h1 {
    margin-top: 45px;
    font-size: 65px;
    line-height: 20px;
}

h3{
    margin-top: 25px;
    font-size: 25px;
    font-family: 'avenir_light', sans-serif !important;
    font-weight: 100;
}

form{
    font-family: 'avenir_light', sans-serif !important;
    font-size: 18px;
    font-weight: 100;
}

.title{
    margin-top: 80px;
    font-size: 20px;
    font-family: 'avenir_book', sans-serif !important;
}

.footer{
    font-size: 16px;
    font-family: 'avenir_light', sans-serif !important;
}

a{
    text-decoration: none;
    font-family: 'avenir_light', sans-serif !important;
    font-size: 14px;
    color: #FFF
}

a:hover{
    text-decoration: none;
    font-family: 'avenir_light', sans-serif !important;
    font-size: 14px;
    color: #FFF
}

.img-main:hover{
    /* opacity: 0.5; */
    filter: brightness(0.4);
}

.img-main:unhover{
    filter: brightness(1);
}

img {max-width: 100%;}

p{
    font-size: 27px;
    /* font-family: 'akhand_softextralight'; */
    font-family: 'Noto Sans',sans-serif !important;
}

#google_translate_element{
    position: absolute;
    top: 1vh;
    left: 1vw;
    z-index: 9999999999;
}

/***************** LOGIN */

#login_left {
    background-image: url('../../images/foto_izq_login.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: bottom;
}

#logo {
    display: inline-block;
    width: 20vh;
    max-width: 300px;
}

.loginrow #login_right {
    padding-top: 10vh;
}

#login_right #frame {
    width: 60%;
    margin: 0 auto;
}

#login_right .bordertopleft {
    border-top: 2px solid white;
    position: relative;
    border-radius: 10px 0px;
    top: 1vw;
    left: 0;
    padding-right: 0;
    height: 1vw;
    float: left;
}

#login_right .bordertopright {
    border-top: 2px solid white;
    position: relative;
    border-radius: 0px 10px;
    top: 1vw;
    right: 0;
    padding-left: 0;
    height: 1vw;
    float: right;
}

.login .fa-paw {
    font-size: 26px
}

a.hiddenanchor {
    display: none
}

.login_wrapper,
.registration_form,
.login_form {
    width: 100%
}

.login_wrapper {
    height: 260px;
    position: relative;
}

.registration_form,
.login_form {
    position: absolute;
    top: 0px;
}

.registration_form {
    z-index: 21;
    opacity: 0;
    width: 100%;
}

.login_form {
    z-index: 22
}

#signup:target~.login_wrapper .registration_form,
#signin:target~.login_wrapper .login_form {
    z-index: 22;
    animation-name: fadeInLeft;
    animation-delay: .1s
}

#signup:target~.login_wrapper .login_form,
#signin:target~.login_wrapper .registration_form {
    animation-name: fadeOutLeft
}

.animate {
    -webkit-animation-duration: 0.5s;
    -webkit-animation-timing-function: ease;
    -webkit-animation-fill-mode: both;
    -moz-animation-duration: 0.5s;
    -moz-animation-timing-function: ease;
    -moz-animation-fill-mode: both;
    -o-animation-duration: 0.5s;
    -o-animation-timing-function: ease;
    -o-animation-fill-mode: both;
    -ms-animation-duration: 0.5s;
    -ms-animation-timing-function: ease;
    -ms-animation-fill-mode: both;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-fill-mode: both
}

.login_box {
    padding: 20px;
    margin: auto
}

.login_content {
    margin: 0 auto;
    position: relative;
    text-align: center;
    color: #FFF;
    min-width: 280px
}

#login_right a,
#login_right .btn-default:hover {
    text-decoration: none;
    color: #FFF;
}

#login_right a:hover {
    text-decoration: underline
}


.login_content form {
    margin: 20px auto;
    display: block;
    width: 240px;
}

.login_content form input[type="text"],
.login_content form input[type="email"],
.login_content form input[type="password"] {
    border-radius: 3px;
    border: 1px solid white;
    color: #777;
    margin: 0 0 10px;
    width: 100%
}

.login_content form input[type="text"]:focus,
.login_content form input[type="email"]:focus,
.login_content form input[type="password"]:focus {
    -ms-box-shadow: 0 0 2px var(--blue) inset;
    -o-box-shadow: 0 0 2px var(--blue) inset;
    box-shadow: 0 0 2px #A97AAD inset;
    background-color: #fff;
    border: 1px solid var(--blue);
    outline: none
}

#username {
    background-position: 10px 10px !important
}

#password {
    background-position: 10px -53px !important
}

.reset_pass {
    margin-top: 10px !important
}

.login_content div .reset_pass {
    margin-top: 13px !important;
    margin-right: 39px;
    float: right
}

.separator {
    border-top: 1px solid #D8D8D8;
    margin-top: 10px;
    padding-top: 10px
}

.button {
    background: #f7f9fa;
    background: linear-gradient(top, #f7f9fa 0%, #f0f0f0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f9fa', endColorstr='#f0f0f0', GradientType=0);
    -ms-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    -o-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    border-radius: 0 0 5px 5px;
    border-top: 1px solid #CFD5D9;
    padding: 15px 0
}

.login_content form input[type="submit"],

form .submit {
    border-color: #fff;
    width: 100%;
    background-color: transparent;
    border: 1px solid #FFF;
    border-radius: 10px;
}

form .botonlogin:hover {
    text-decoration: underline;
}

form .botonlogin:focus {
    box-shadow: white;
}

.btn-danger.focus,
.btn-danger:focus {
    box-shadow: 0 0 0 0.2rem rgb(225 225 225 / 50%);
}

form .botonlogin.btn-danger:hover {
    color: #fff;
}

form .botonlogin.btn-danger:active {
    border: 2px solid #FFF !important;
    background-color: transparent !important;
}

.button a {
    background: url(http://cssdeck.com/uploads/media/items/8/8bcLQqF.png) 0 -112px no-repeat;
    color: #7E7E7E;
    font-size: 17px;
    padding: 2px 0 2px 40px;
    text-decoration: none;
    transition: all 0.3s ease
}

.button a:hover {
    background-position: 0 -135px;
    color: #00aeef
}

header {
    width: 100%
}

#nprogress .bar {
    background: #BE1E2D
}

#nprogress .peg {
    box-shadow: 0 0 10px #BE1E2D, 0 0 5px #BE1E2D
}

#nprogress .spinner-icon {
    border-top-color: #BE1E2D;
    border-left-color: #BE1E2D
}

.footerlogin {
    text-align: center;
    font-size: 0.9rem;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
}

.footerlogin a {
    text-decoration: underline;
    font-weight: bold;
}

a.to_register {
    font-size: 14px;
}

/****************************** Login checkbox*/
/* The container */
.chkcontainer {
    position: relative;
    padding-left: 20px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.chkcontainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

label.chkcontainer {
    margin-bottom: 0px;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 15px;
    width: 15px;
    border-radius: 3px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.chkcontainer:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.chkcontainer input:checked~.checkmark {
    background-color: #3C6886;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.chkcontainer input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.chkcontainer .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.form-control {
    height: calc(1.5em + 1rem + 8px);
}

/* Input icons*/
.has-icon .form-control {
    padding-left: 3rem;
}

.has-icon .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

.has-icon .form-control-feedback::before {
    font-size: 25px;
}

/* Media Queries */
@media only screen and (max-width: 1200px){

    .loginrow #login_left {
        background-position: top;
        background-repeat: no-repeat;
    }

    #login_right #frame {
        width: 90%;
        margin: 0 auto;
    }
    
}

@media only screen and (max-width: 768px) {
    .loginrow  #login_left{
        background-size: 100%;
        background-position-y: 10%;
    }

    .loginrow #login_right {
        padding-top: 12vh;
    }

    .footerlogin {
        font-size: 0.5rem !important;
    }
    h1 {
        font-size: 50px;
        line-height: 12px;
    }
    p{font-size: 21px;}
}

@media (min-width: 630px) and (max-width: 768px) {
    .loginrow #login_left{
        background-size: cover;
        background-position-y: unset;
    }

    .login_content>img {
        max-width: 100px;
    }

    .login_content>h3 {
        padding: 5px;
        font-size: 1.3rem;
    }

    .login_content form input[type="text"],
    .login_content form input[type="email"],
    .login_content form input[type="password"] {
        margin: 0 0 8px !important;
    }

    .form-group {
        margin-bottom: 5px;
    }
}

@media only screen and (max-width: 577px) {
    .loginrow #login_left {
        background-size: 100%;
        background-position-y: 10%;
    }
    .loginrow #login_right {
         padding: 0vh 3vw 0px 3vw;
    }

    #login_right #frame {
        padding-top: 10vw;
    }
    #login_right #frame {
        width: 90%;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 572px) {
    .loginrow #login_left {
        display: none;
    }
    .login_content {
        padding: 10px 0 0;
    }
    .login_content>img{ max-width: 150px;}
    .login_content>h3 { 
        padding: 10px;
        font-size: 1.5rem;
    }
}



@media (min-width: 576px) { 
    .formContent{
        margin-top: 70px;
        margin-bottom: 70px;
    }
 }

@media (min-width: 768px) { 
    .formContent{
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

@media (max-height: 500px) and (max-width: 1200px) {

    #logo {
        width: 18vh;
    }
    
    #login_right #frame {
        width: 100%;
        margin: 0 auto;
    }

    .loginrow #login_right {
        padding-top: 3vh;
    }

    h1 {
        margin-top: 25px;
        font-size: 30px;
        line-height: 2px;
    }

    h3 {
        margin-top: 8px;
        font-size: 18px;
    }

    p {
        font-size: 13px;
        margin-bottom: 0px;
    }

    .login_content form {
        margin: 10px auto;
    }

    .form-group {
        margin-bottom: 0px;
    }

    .has-icon .form-control-feedback {
        width: 2rem;
        height: 2rem;
        line-height: 2rem;

    }

    .login_content form input[type="text"] {
        margin: 0 0 5px;
    }

    .form-control {
        height: calc(1.3em + 1rem + 0px);
    }

    .has-icon .form-control-feedback::before {
        font-size: 20px;
    }

    #opciones {
        display: flex;
    }

    #opciones div:nth-child(2) {
        padding-left: 15px;
    }

    .login_content form {
        width: 280px;
    }

    .btn-lg {
        padding: .4rem 1rem;
        font-size: 1rem;
        line-height: 1.2;
    }

    .footerlogin {
        bottom: 15px;
    }

}

div#bibliogrid .thumbnail .view img {
    height: 17rem;
    object-fit: cover;
    object-position: center top;
}


/*lightbox Navidad 
.lightboxnavidad {
    background-image: url("layout/images/fondo-n-lb.png");
    background-repeat: repeat;
    width: 100%;
    height: 160%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    text-align: center;
}

@media only screen and (max-height: 380px) {

    .lightboxnavidad {
        height: 240%;
    }
}

@media only screen and (max-height: 300px) {

    .lightboxnavidad {
        height: 340%;
    }
}

@media only screen and (max-height: 210px) {

    .lightboxnavidad {
        height: 450%;
    }
}

.lightboxnavidad #lb {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    min-width: 800px;
    max-height: 790px;
    min-height: 500px;
}

.lightboxnavidad #cerrar-lb {
    position: absolute;
    top: 6vh;
    right: 10%;
    z-index: 9000;
    cursor: pointer;
}

END lightbox Navidad */