/* fuentes */
@import url('https://fonts.googleapis.com/css2?family=Amaranth:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


/* variables */
:root {
  	--font-body: 'Montserrat', sans-serif;
    --font-title: 'Montserrat', sans-serif;
    --color-azul: #250671;
    --color-naranja: #ff8e00;
}

body {
    font-family: var(--font-body);
    background-color: #fff;
}
a {
    color: var(--color-azul);
    transition: 0.3s all;
}
p {
    font-size: 16px;
}

/* header */
header {
    position: relative;
    z-index: 999999999;
}
.header-top {
    background-color: var(--color-azul);
}
.header-top-nav > li a {
    font-size: 12px;
}
.header-top-nav > li a:hover {
    color: var(--color-naranja);
}
.header-middle-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-middle {
    background-color: #fff;
}
.header-middle li a {
    color: #333;
}
.header-middle .slogan h2 { 
    color: #CCC; margin-top: 20px;
}
.image-logo {
    height: 65px;
    transition: 0.2s all;    
}
.header-middle-right {
    padding-top: 0;
}
.minicart-icon .ion-bag::before {
    font-size: 35px;
}
.header-contact-txt, .minicart-txt {
    font-size: 16px;
    font-weight: 500;
}
.minicart-items {
    background-color: var(--color-naranja);
}
#searchform input {
    height: 60px;
    margin: 0;
    background-color: #fff;
    -webkit-box-shadow: 0 10px 30px rgba(0,0,0,.1);
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    border: 1px solid #eee;
}
#searchform input {
  width: 60%;
  border-radius: 35px;
}
.header-bottom {
    border: 0
}

/* footer */
footer {
    background-color: #e6e6e6;
}
.footer-top {
    padding-bottom: 0;
}
.footer-top h5 {
    margin-top: 30px;
    font-size: 16px;
    letter-spacing: initial;
}
.footer-info {
    display: block;
    width: 100%;
    padding-bottom: 30px;
    font-size: 16px;
    text-align: center;
    color: #333;
}

/* menu */
.nav-pills > li {
    padding: 0 20px;
}
.nav-pills > li > a {
    padding: 20px 0;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #666;
    border-right: 0;
}
.main-menu .nav > li > a:hover, 
.main-menu .nav > li > a:focus, 
.main-menu .nav > li > a.selected {
    border-bottom-color: var(--color-naranja);
}
.nav > ul > li {
    margin: 0 4px 0 32px;
    font-size: 0.9em;
    list-style-type: square;
    color: #ccc;
}
.nav-list > li > a {
    color: #666;
    font-family: var();
    font-weight: bold;
}
@media only screen and (min-width: 1280px) {
    .fixed-header .main-menu {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .fixed-header .nav-pills > li > a {
        padding: 18px 0;
        font-size: 18px;
    }
}

.social-networks {
    padding-top: 0px;
}

.subnav.main-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.subnav.main-menu ul.nav {
  margin-bottom: 0;
}

.subnav.main-menu .social-networks {
  display: flex;
  align-items: center;
}

.subnav.main-menu .social-networks li {
  margin-left: 10px;
}

/* titulos */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title) !important;
    color: var(--color-azul) !important;
}
h1, 
.book-section h2, 
.dynamicbooks-section h2, 
.text-section h2, 
.author-section h2,
.book-detail h1.book-title {
    font-family: var(--font-title);
    font-size: 35px;
    color: var(--color-azul);
    line-height: 2.5rem;
}

/* slider */
.slider-wrapper {
    margin-top: -45px;
    margin-bottom: 0;
}
.slidesjs-container,
.slidesjs-control { 
    min-height: 480px !important;
}
.goToPrevSlide.arrowHeader {
    left: 30px !important;
}
.goToNextSlide.arrowHeader {
    right: 30px !important;
}
.goToPrevSlide:hover, .goToNextSlide:hover {
    color: var(--color-azul);
  }
#slides .slidesjs-pagination-item a.active {
    border: 0;
    background: var(--color-azul);
}
.content-slider .book-cover {
    /*height: 355px;
    object-fit: contain;
    object-position: bottom;*/
    max-width: 100%;
    width: auto;
    height: auto;
}
@media (max-width: 1280px) { 
    .slidesjs-container,
    .slidesjs-control { 
        min-height: 395px !important;
    }
}
@media (max-width: 980px) { 
    .slidesjs-container,
    .slidesjs-control { 
        min-height: 0 !important;
    }
    .content-slider .book-cover {
        max-height: 200px;
    }
}
#content-slider {
    padding-left: 10px;
}
.carrusel-book {
    text-align: center;
}

/* books */
.book-title a {
    font-family: var(--font-title);
    font-size: 18px !important;
    color: var(--color-azul);
}
.book-synopsis, 
.book-synopsis p, 
.book-detail 
.author-bio, 
.author-bio p {
    font-size: 14px;
}
.catalog-list .book-title a {
    font-size: 20px !important;
}
.book-cover {
    margin-bottom: 15px;
    box-shadow: none !important;
}
.three-cols .book-cover {
    width: auto;
    max-height: 200px;
}
.five-cols li {
    text-align: center;
}
.five-cols .book-cover {
    width: auto;
    float: none;
}
.book-definitions dt, 
.book-definitions dd {
    padding: 5px 0;
    font-size: 15px;
}
.book-detail h2.book-author {
    font-family: var(--font-body) !important;
    font-size: 18px;
    font-weight: 400;
    color: #999 !important;
    text-transform: capitalize;
}
.book-detail h3 {
    font-size: 15px;
}
.book-detail .book-synopsis p {
    font-size: 16px;
}

/* noticias */
.new-title {
    font-family: var(--font-body) !important;
}
.new-title a {
    font-weight: 600;
    color: #333;
}
.event-date {
    border: 0;
    background-color: var(--color-azul);
}

/* boxs */
.signin-box, .box {
    padding: 30px;
    border: 0;
    background-color: #f6f6f6;
}
.box h2 {

}
.box h3 {
    font-size: 22px;
}

/* formularios */
.uneditable-input, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="tel"], input[type="color"], input[type="search"], select, textarea {
    height: 40px;
    margin-bottom: 15px;
}
.signin-box label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}
.btn {
    padding: 5px 15px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: 0.3s all;
}
.btn-primary {
    background-color: var(--color-azul);
    border-color: var(--color-azul);
}
.btn-primary:hover {
    background-color: var(--color-naranja);
    border-color: var(--color-naranja);
}

/* Misc */
.secondary-nav h3 {
    font-size: 14px;
}
.secondary-nav .nav > li > a:hover {
    color: var(--color-azul);
}
.social-networks-home {
    padding: 0 15px;
}
.social-networks-home ul li a {
    font-size: 14px;
    font-weight: 600;
    border-radius: 0;
    border: 0;
}
.author-face {
    border: 0;
    padding: 0;
    background-color: var(--color-azul);
    filter: grayscale(1);
}
h4.author-name {
    font-size: 20px;
}
.author-name a {
    color: var(--color-azul);
}
.address p, 
.address span,
.footer-blocks li,
.footer-blocks li a {
    margin-bottom: 3px;
    font-size: 14px !important;
}
.badge-info, .label-info {
    padding: 5px 10px;
    text-shadow: 0;
    font-weight: 600;
    background-color: var(--color-azul);
}
.book-actions {
    margin-top: -30px;
    background-image: none;
}
.book-actions::before {
    background: none;
}

/* responsive */
@media (max-width: 768px) {
    header {
        padding: 5px 0;
    }
    .btn_header {
        top: 23px;
    }
    .header-middle-right {
        position: relative;
        top: auto;
        padding: 0;
        margin-left: 20px;
    }
    .image-logo {
        width: 75px;
        margin-left: 30px;
    }
    #searchform input {
        height: initial;
    }
}

/* subvención */
.subvencion {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px 0;
}
.subvencion p {
    margin-bottom: 8px;
    padding: 0 15px;
    text-align: center;
    color: #333;
}
.subvencion .logos {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    max-width: 680px;
    margin: 20px 0;
    padding: 0 50px;
}
.subvencion .logos div {
    width: calc(100% / 3);
    padding: 0 15px;
    text-align: center;
}
.subvencion .logos div img {
    width: 250px;
    max-width: 100%;    
}
@media (max-width: 480px) {
    .subvencion .logos {
        flex-direction: column;
    }
    .subvencion .logos div {
        width: auto;
    }
    .subvencion .logos div img {
        width: 200px;
        margin-bottom: 30px;
    }
}
/*************************************************************************************/
@media (min-width: 981px){
  .fixed-header .header-bottom .subnav.main-menu{
    position: relative;
    left: 90px;
  }

  .fixed-header .header-bottom .social-networks.hidden-phone.pull-right{
    position: relative;
    right: 240px;
  }

  .fixed-header .header-bottom.hidden-phone{
    overflow: visible;
  }
}