@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@300;400;500;600;700&display=swap');

/** Vars **/
:root {
    --font-primary: 'Zilla Slab', serif;
    --color-primary: #cc3300;
    --color-secondary: #ff531a;
}


/** Elements **/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
a {
  	color:var(--color-primary);
    transition: all 0.3s ease !important;
}
a:hover{
  	color:#000;
}
header{
 	font-family: var(--font-primary); 
}
footer{
 	font-family: var(--font-primary); 
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-primary);
  	color: rgb(0,0,0);
}


/** Header **/
.header-top {
    display: none;
}
.header-middle {
    padding: 25px 0;
 	background-color: var(--color-secondary); 
}
.header-middle li a {
  	color: #000;
}
.header-middle li a:hover {
  	color: var(--color-primary);
}
.header-middle .slogan h2 { 
    color: #CCC; margin-top: 20px;
}
.header-bottom {
 	background-color: transparent; 
  	border-top: 0px solid #E8E8E8;
}
.header-bottom .header-bottom-menu {
    background-color: #000;
}
.header-bottom .header-bottom-search {
    padding: 10px 0;
    display: flex;
    align-items: center;
    background-color: #ccc;   
}
#searchform input {
    width: 100%;
    height: 38px;
    padding: 0 8px 0 30px;
    background-position: 5px;
}
.images-info {
    height: 38px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.images-info div:first-child {
    margin-right: 15px;
}
.images-info div i {
    margin-right: 5px;
    font-size: 20px;
    vertical-align: bottom;
}
.images-info div span {
    font-size: 15px;
    font-weight: 500;
}
.services-menu li a {
	letter-spacing: 1px;
}
.logo {
    width: 100%;
}
.image-logo {
    width: 100% !important;
    max-width: 300px !important;
	height: auto !important;
}
.social-networks {
    margin-top: 15px;
    padding: 0;
    display: flex;
    align-items: center;
}
.social-networks ul {
    display: flex;
    justify-content: flex-start;
}
.social-networks ul li {
    float: none;
}
.social-networks ul a {
    background-color: #000;
}
.social-networks i {
    color: var(--color-secondary);
}
.header-top-nav {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header-top-nav li a {
    font-size: 14px;
    color: #000;
    vertical-align: text-bottom;
}
.header-top-nav li a i {
    font-size: 18px;
    color: #000;
}
.header-top-nav li a:hover {
    color: #fff;
}


/** Menu **/
.main-menu {
    width: 100%;
}
.nav > ul > li {
    margin: 0 4px 0 32px;
    font-size: 0.9em;
    list-style-type: square;
    color: #ccc;
}
.nav-list > li > a {
    color: #333;
    font-weight: bold;
  	background-color: #e6e6e6;
}
.nav-list > li > a:hover {
	color: var(--color-primary)!important;
	font-weight: bold;
  	background-color: #F7F7F7;
}
.nav-pills {
    display: flex;
    justify-content: center;
}
.nav-pills > li {
    float: none;
}
.banner-catalog {
	background-color: #fff;
}
.book-section h2, .dynamicbooks-section h2, .text-section h2, .author-section h2 {
	border-bottom: 2px solid #ccc;
}
.book-section h2::before {
	background: var(--color-primary) none repeat scroll 0 0;
	bottom: -2px;
	content: "";
	display: block;
	height: 3px;
	position: absolute;
	width: 45px;
}
.book-title{
 	font-family: var(--font-primary); 
}
.book-section h2, .dynamicbooks-section h2, .text-section h2, .author-section h2 {
	font-family: var(--font-primary);
}
.banner-catalog-title {
	font-family: var(--font-primary);
}
.signin-box, .box {
	font-family: var(--font-primary);
}


/** Catalog **/
.secondary-nav h3 {
	background-color: var(--color-primary);
  	border-bottom: 0px solid #EFEFEF;
 	font-family: var(--font-primary)!important; 
  	color: #fff;
}
.secondary-nav h3::after {
	border-color: var(--color-primary) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
}


/** Books **/
.book img:hover{
	-webkit-box-shadow: 0px 0px 4px 0px rgb(204, 51, 0);
    -moz-box-shadow: 0px 0px 4px 0px rgb(204, 51, 0);
    box-shadow: 0px 0px 4px 0px rgb(204, 51, 0);
}


/** Authors **/
.author-name {
	font-family: var(--font-primary)!important;
}
.authors-menu li a{
  	background-color: #fff;
}
.authors-menu li a:hover{
  	background-color: #d9d9d9;
  	color: var(--color-primary);
}


/* Addresses */
.address-areas{
 	background-color: #fff; 
}
.address{
  	background-color: #F7F7F7; 
}


/** News/Events **/
.event-date {
	background-color: var(--color-primary);
}
.single-meta {
	border-bottom: 1px dotted #cccccc;
	border-top: 1px dotted #cccccc;
}
.single-meta ul li {
  	color: var(--color-primary);
  	border-right: 1px solid #cccccc;
}
.event-wrapper-image:hover{
  	opacity:0.9;
}
.single-meta li span {
	color: #000;
}


/** Buttons **/
.btn{
 	background-color: var(--color-primary);
  	border: 1px solid var(--color-primary);
}
.btn:hover{
 	background-color: var(--color-secondary);
  	border: 1px solid var(--color-secondary);
}
.box-price .btn-primary {
  	background-color: var(--color-primary);
	border: 1px solid var(--color-primary);
	border-radius: 26px;
	padding: 5px 20px;
	width: 78%;
	margin-top: 12px;
}
.box-price .btn-primary:hover {
  	background-color: var(--color-secondary);
	border: 1px solid var(--color-secondary);
	border-radius: 26px;
	padding: 5px 20px;
	width: 78%;
	margin-top: 12px;
}
.btn-primary {
 	border: 1px solid #b32d00; 
}


/** Detail **/
.book-detail-cover {
    width: 100%;
    max-width: 250px;
}
.price {
	color: #000;
}
.book-editions a, .book-editions span {
	color: var(--color-primary);
  	font-size: 1.1em;
}
.book-editions a:hover, .book-editions span:hover {
	opacity:0.8;
}
.book-detail h1.book-title {
	font-family: var(--font-primary)!important;
}


/** Search **/
.nav-pills.nav-stacked.search-pills > li > a {
	color: #000 !important;
	border-bottom: 0px solid #000 !important;
}
.nav-pills.nav-stacked.search-pills > li > a:hover {
	color: var(--color-primary) !important;
	border-bottom: 0px solid #000 !important;
  	background-color: #F7F7F7;
}
.nav-pills.nav-stacked.search-pills > li > a.active {
	background-color: #EEEEEE;
}


/** Header Menu **/
.nav-pills > li > a {
    padding: 18px 1px;
    letter-spacing: 1.1px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    border: 0 !important;
    transition: ;
}
.nav-pills > li > a:hover {
    color: var(--color-secondary) !important;
}   


/* Botones Carrousel */
.carousel-control{
 	background-color: var(--color-primary);
}


/* Titulos sidebar */
.span3 .box > h3{
	position: relative;
  	letter-spacing: 0.6px;
}
.span3 .box > h3::after{
	content: ' ';
	position:absolute;
  	display:block;
  	width:26px;
  	height:1px;
  	background-color:var(--color-primary);
  	left:0;
  	bottom: -5px;
}


/* Section */
.book-section h2, .dynamicbooks-section h2, .text-section h2, .author-section h2{
  border-bottom: none;
}
.showcase section > h2{
	position: relative;
  	letter-spacing: 0.6px;
}
.showcase section > h2::before, section > h1::before{
	background-color: var(--color-primary);
    bottom: 0px;
    content: " ";
    display: block;
    height: 2px;
    position: absolute;
    width: 45px;
}
.showcase section.textshelf-2629 > h2::before{
	display: none;
}
section > h1{
  	letter-spacing:0.6px;
  	position: relative;
}
section > h1::before{
	background-color: var(--color-primary);
    bottom: -5px;
    content: " ";
    display: block;
    height: 2px;
    position: absolute;
    width: 45px;
}
h1.book-title::before{
	display: none;
}
.author-list h1::before{
	bottom: -7px;
}
.nav-list > li > a {
    font-weight: 400;
    letter-spacing: 0.1px;
}
.nav-list > li > a:hover{
	font-weight: 400;
}
section.home-featured-books.container-fluid > .container > h3{
	font-size: 19px;
  	position: relative;
}
section.home-featured-books.container-fluid > .container > h3::before, section > h1::before{
	background-color: var(--color-primary);
    bottom: -11px;
    content: " ";
    display: block;
    height: 2px;
    position: absolute;
    width: 45px;
}
.distributors > h1, .row-fluid > h1, .span10 > h1{
  position: relative;
}
.distributors > h1::before, .row-fluid > h1::before, .span10 > h1::before{
	background-color: var(--color-primary);
    bottom: -11px;
    content: " ";
    display: block;
    height: 2px;
    position: absolute;
    width: 45px;
}

/* menu secundario */
.secondary-nav h3{
 	letter-spacing: 0.6px;
}


/* Boton seguir comprando */
div.table-cart-wrapper.text-center .btn{
	color: #000;
  	border-color: #ccc;
}
div.table-cart-wrapper.text-center .btn:hover{
	color: #000;
  	border-color: #ccc;
}
.cart-actions .btn.pull-right:nth-child(2){
	color: black;
	border-color: #B0B0B0;
}
.cart-actions .btn.pull-right:nth-child(2):hover{
}


/* Pasos compra */
.nav.nav-pills.shopping-steps li a{
	color: #000 !important;
}
.shopping-steps.nav-pills > .active b, .shopping-steps.nav-pills > li > a:hover b{
	background-color: rgb(204, 51, 0);
}


/* header */
header{
  background-color: #F0F1F1;
}
@media (min-width: 769px) and (max-width: 870px){
  .image-logo{
  	height: 58px;
  }
}
@media (max-width: 768px){
  .image-logo{
    /*display: none;*/
  }
}
@media (max-width: 660px){
  .table-cart-wrapper{
    padding-left: 5px;
    padding-right: 5px;
  }
  td.text-center{
  	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
  }
  td.text-center a{
  	border-radius: 0px;
    margin: 0px;
    padding: 2px 2px;
  }
  td.text-center span{
    margin: 0px;
    order: 2;
    padding: 2px 2px;
  }
  td.text-center a.btn-cart-minus{
  	order: 3;
    width: 24px;
  }
  td.text-center a.btn-cart-plus{
  	order: 1;
    width: 24px;
  }
  td.text-center a.btn-cart-remove{
  	order: 4;
  }
}
@media (max-width: 495px){
  .table.table-cart, .table.table-cart td, .table.table-cart th, .cart-title, .cart-isbn{
    font-size: 11px;  
  }
  .table-cart-wrapper{
    padding-left: 2px;
    padding-right: 2px;
  }
  .table-cart-wrapper td,.table-cart-wrapper th {
    padding-left: 2px;
    padding-right: 2px;
  }
  .table-cart-wrapper .book-cover{
  	width: 50% !important;
  }
}


/* Logo responsive 
.image-logo {
	max-height: 75px;
    height: auto;
    position: absolute;
    margin: auto auto !important;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
  	object-fit: contain;
}
.logo {
	min-height: 79px;
    position: relative;
  	width: 50%;
}*/
.booktrailer-title {
  text-indent: -9999px;
  line-height: 0; /* Collapse the original line */
}
.booktrailer-title:after {
  content: "Conoce al autor/a";
  text-indent: 0;
  display: block;
  line-height: initial; /* New content takes up original line height */
}


@media (max-width: 1100px) {
    footer, 
    header, 
    .header-top,
    .footer-logos, 
    .header-bottom, 
    .footer-top {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .header-middle {
        padding: 15px;
    }
    .header-bottom {
        padding: 0;
    }
    .page-wrapper {
        padding: 0 !important;
    }
    .home-featured-books, 
    .page-content {
        padding: 2rem 1rem 0;
        overflow: hidden;
    }
    .header-top-nav li a span {
        display: none;
    }
    .slider-wrapper {
        margin-left: 0;
        margin-right: 0;
    }
    .footer-blocks li[class*="span"] {
        padding: 0 24px 14px;
    }
    .header-bottom-search .container {
        width: 780px;
    }
    .images-info div span {
        font-size: 13px;
    }
}
@media (max-width: 767px) {
    body,
    .page-wrapper{
        padding-top: 0 !important;
        overflow-x: hidden;
    }
    header,
    .slider-wrapper {
        padding: 0;
    }
    .btn_header {
        top: 22px;
    }
    .btn_header .menu-bar {
        background-color: #222;
    }
    .image-logo {
        max-width: 200px !important;
    }
}
@media (max-width: 480px) {
    .logo img {
        margin: 0;
    }
}