@font-face {
    font-family: 'latin_modern_mono10_regular';
    src: url('fonts/lmmono10-regular-webfont.eot');
    src: url('fonts/lmmono10-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/lmmono10-regular-webfont.woff') format('woff'),
         url('fonts/lmmono10-regular-webfont.ttf') format('truetype'),
         url('fonts/lmmono10-regular-webfont.svg#latin_modern_mono10_regular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'latin_modern_mono_caps10Rg';
    src: url('fonts/lmmonocaps10-regular-webfont.eot');
    src: url('fonts/lmmonocaps10-regular-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/lmmonocaps10-regular-webfont.woff') format('woff'), url('fonts/lmmonocaps10-regular-webfont.ttf') format('truetype'), url('fonts/lmmonocaps10-regular-webfont.svg#latin_modern_mono_caps10Rg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'latin_modern_mono10_italic';
    src: url('fonts/lmmono10-italic-webfont.eot');
    src: url('fonts/lmmono10-italic-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/lmmono10-italic-webfont.woff') format('woff'), url('fonts/lmmono10-italic-webfont.ttf') format('truetype'), url('fonts/lmmono10-italic-webfont.svg#latin_modern_mono10_italic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sans_condensedbold';
    src: url('fonts/OpenSans-CondBold-webfont.eot');
    src: url('fonts/OpenSans-CondBold-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/OpenSans-CondBold-webfont.woff') format('woff'), url('fonts/OpenSans-CondBold-webfont.ttf') format('truetype'), url('fonts/OpenSans-CondBold-webfont.svg#open_sans_condensedbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
    height: 100%;
}

body {
    font-family: 'latin_modern_mono_caps10Rg';
}

h1,
h2,
h3 {
    font-family: 'open_sans_condensedbold';
    text-transform: uppercase;
}

sup {
    top: -0.2em;
}

a {
    transition: ease-in 0.15s;
}

button,
input {
    outline: none;
    transition: ease-in 0.15s;
}

input {
    border: 1px solid #000;
    background: transparent;
    border: 1px solid #000;
    padding-left: 8px;
}

input:focus {
    border: 1px solid #333;
    background: #f2f2f2;
}

button {
    background-color: #000;
}

button:hover {
    background-color: #333;
}

header {
    height: 230px;
    margin-top: -180px;
    position: relative;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

header.active {
    margin-top: 0;
}

header nav {
    height: 50px;
    background: #fff;
    box-shadow: none;
    border: 0;
}

header nav h1 {
    background: transparent url('../img/logo.png') no-repeat top left scroll;
    height: 33px;
    width: 28px;
    line-height: -1000px;
    overflow: hidden;
    float: left;
    margin: 8px 0 0 15px;
}

header nav h1 a {
    padding-left: 30px;
}

header nav button {
    float: right;
    background-color: transparent;
    border: 0;
    margin: 7px 0;
    font-size: 21px;
}

header nav button:hover {
    background-color: transparent;
    color: #333;
}

.menu-container {
    position: relative;
    float: left;
    width: 100%;
    height: 180px;
    background: #040707;
}

.menu-container ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-container ul li a {
    font-family: 'open_sans_condensedbold';
    font-size: 16px;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    display: block;
    line-height: 45px;
    float: left;
    height: 45px;
    border-bottom: 1px solid #302d2d;
}

.menu-container ul li a:hover {
    background: #333;
}

section.hero article.buy {
    height: 440px;
    background: #f2f2f2 url('../img/02-whitepaper.png') repeat top left scroll;
    margin-bottom: 40px;
}

section.hero article.buy h2 {
    background: transparent url('../img/logo-hero.png') no-repeat top left scroll;
    height: 186px;
    overflow: hidden;
    margin-top: 35px;
}

section.hero article.buy h2 span {
    margin-left: 190px;
    display: block;
}

section.hero article.buy form label {
    width: 100%;
    text-align: center;
    font-size: 18px;
    margin-top: 42px;
}

section.results input,
section.hero article.buy form input {
    width: 80%;
    float: left;
    font-family: 'latin_modern_mono10_italic';
}

section.contacto button.submit-btn,
section.product button.submit-btn,
section.results button.search-btn,
section.hero article.buy form button.search-btn {
    border: 1px solid #000;
    height: 24px;
    color: #fff;
    margin: 0;
    padding: 0;
    width: 20%;
}

section.hero article.buy form button.categ {
    margin-top: 15px;
    color: #fff;
    position: relative;
    width: 200px;
    display: block;
    font-size:18px;

    margin-right:20px;
}

section.hero article.sell {
    height: 200px;
    background: #666 url('../img/muchos-libros.png') no-repeat top left scroll;
    background-size: 100% auto;
    text-align: center;
    color: #fff;
    padding: 42px 0;
}

section.results h2,
section.recomended h2 {
    margin: 60px 0 0 0;
    border-bottom: 1px solid #000;
    padding-bottom: 4px;
}

section.results h2 {
    border: 0;
}

section.results .pagination.top,
section.recomended .pagination.top {
    font-family: 'latin_modern_mono10_italic';
    margin: -20px 0;
}

section.results .pagination.bottom,
section.recomended .pagination.bottom {
    font-family: 'latin_modern_mono10_italic';
    margin: 45px 0;
}

section.results .row.first,
section.recomended .row.first {
    margin-top: 43px;
}

section.results .row a,
section.recomended .row a {
    width: 100%;
    height: 100%;
    color: #000;
    display: block;
    background: transparent;
}

section.results .row a:hover,
section.recomended .row a:hover {
    background: #fff;
    opacity: 1;
    box-shadow: 1px 1px 1px #f2f2f2;
}

section.results .row .recomended-cont,
section.recomended .row .recomended-cont {
    margin-bottom: 22px;
    height: 106px;
}

section.results .row.even,
section.recomended .row.even {
    background-color: #f2f2f2;
}

section.results .row.odd,
section.recomended .row.odd {
    background-color: #fff;
}

section.results .row .pic-cont,
section.recomended .row .pic-cont {
    max-height: 102px;
    margin: 2px 0 2px -12px;
    overflow: hidden;
}

section.results .row .pic-cont .pic,
section.recomended .row .pic-cont .pic {
    min-width: 100%;
}

section.results .row .price,
section.recomended .row .price {
    line-height: 90px;
    width: 106px;
    float: right;
    height: 106px;
    margin-right: -27px;
    border: 10px solid #000;
}

section.results .row .col-md-8 h3 small,
section.recomended .row .col-md-8 h3 small {
    font-family: 'latin_modern_mono10_italic';
    font-size: 14px;
    text-transform: none;
}

section.results .row .col-md-8 p,
section.recomended .row .col-md-8 p {
    position: relative;
    top: -16px;
}

section.results .row .price p,
section.recomended .row .price p {
    width: 100%;
    display: block;
    text-align: center;
    font-family: 'open_sans_condensedbold';
    font-size: 18px;
}

footer {
    background: #111;
    height: 185px;
    margin-top: 150px;
}

footer .container {
    height: 100%;
}

footer h2 a {
    display: none;
}

footer h2 a.supra {
    overflow: hidden;
    width: 57px;
    height: 66px;
    background: transparent url('../img/logo-footer.png') top left no-repeat scroll;
    display: block;
    line-height: 999px;
}

footer .sitemap {
    list-style: none;
    border-left: 1px solid #fff;
    top: -57px;
    position: relative;
}

footer ul li {
    color: #fff;
}

footer .sitemap li a {
    color: #fff;
}

footer .social {
    list-style: none;
    top: -120px;
    right: -20px;
}

footer .social li {
    float: right;
    margin-right: 10px;
}

footer .social li a {
    width: 40px;
    height: 40px;
    display: block;
    background: #fff;
    color: #000;
    text-align: center;
    line-height: 42px;
    font-size: 20px;
}

footer .social li a:hover {
    background: #111;
    color: #fff;
    border: 1px solid #fff;
}


/* Acerca styles */
section.contacto article.heading,
section.product article.heading,
section.acerca article.heading {
    background: #000;
    height: 55px;
}

section.contacto article.heading h2,
section.product article.heading h2,
section.acerca article.heading h2 {
    color: #fff;
    line-height: 55px;
    font-size: 30px;
    margin: 0;
}

section.acerca article.content {
    margin: 100px 0 120px 0;
}

section.acerca article.content p {
    line-height: 25px;
    font-family: 'latin_modern_mono10_regular';
}

section.acerca article.content p q {
    font-family: 'latin_modern_mono10_italic';
    font-size: 16px;
    line-height: 30px;
    margin: 25px 60px 6px 15px;
    display: block;
    padding-bottom: -7px;
}


/* Resultados styles */
section.results .container {
    position: relative;
}

section.results .container .col-md-4 {
    top: 65px;
    position: absolute;
    right: 0;
}

/* Libro styles */
section.product article.heading h2 small {
    font-family: 'latin_modern_mono10_italic';
    font-size: 16px;
    line-height: 50px;
    color: #fff;
    text-transform: none;
}
section.product article.content figure.thumb {
    height: 366px;
    background: #ccc;
    position: relative;
    margin: 30px -15px 50px 3px;
    padding: 20px;
}

section.product article.content figure.thumb img {
    max-height: 326px;
    margin: 0 auto;
    position: relative;
    display: block;
    max-width: 286px;
}

section.product article.content .product-detail {
    margin-top: 30px;
}

section.product article.content .product-detail .price {
    width: 80px;
    height: 80px;
    display: block;
    border: 5px solid #000;
    margin-bottom: 11px;
}

section.product article.content .product-detail .price p {
    line-height: 70px;
    display: block;
    width: 100%;
    text-align: center;
    font-family: 'open_sans_condensedbold';
    font-size: 18px;
}

section.product article.buy h3 {
    height: 50px;
    background-color: #000;
    color: #fff;
    text-align: center;
    line-height: 50px;
    margin: -20px 0 30px 0;
    cursor: pointer;
}

section.contacto article.content form#buyForm,
section.product article.buy form#buyForm {
    height: 0;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

section.product article.buy form#buyForm.active {
    height: 264px;
}

section.contacto article.content form#buyForm {
    margin-top: 30px;
    height: 464px;
}

section.contacto article.content form#buyForm label,
section.product article.buy form label {
    width: 100%;
    margin: 5px 0;
}

section.contacto article.content form#buyForm input,
section.contacto article.content form#buyForm textarea,
section.product article.buy form textarea,
section.product article.buy form input {
    width: 100%;
}

section.contacto article.content form#buyForm textarea,
section.product article.buy form textarea {
    height: 150px;
    resize: none;
}

/* Overlay style */
.overlay {
    font-family: 'open_sans_condensedbold';
    text-transform:  uppercase;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.9);
}

/* Overlay closing cross */
.overlay .overlay-close {
	width: 80px;
	height: 80px;
	position: absolute;
	right: 20px;
	top: 20px;
	overflow: hidden;
	border: none;
	background: url(../img/cross.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
}

/* Menu style */
.overlay nav {
	text-align: center;
	position: relative;
	top: 50%;
	height: 60%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	height: 100%;
	position: relative;
}

.overlay ul li {
	display: block;
	height: 20%;
	height: calc(100% / 7);
	min-height: 54px;
}

.overlay ul li a {
    font-size: 28px;
    font-weight: normal;
    display: block;
    color: #fff;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
	color: #f0f0f0;
}

/* Effects */
.page {
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}

.page.overlay-open {
	-webkit-transform: scale(0.8);
	transform: scale(0.8);
}

.overlay-contentscale {
	visibility: hidden;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.5s, visibility 0s 0.5s;
	transition: transform 0.5s, visibility 0s 0.5s;
}

.overlay-contentscale.open {
	visibility: visible;
	-webkit-transform: translateY(0%);
	transform: translateY(0%);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}

@media screen and (max-height: 30.5em) {
	.overlay nav {
		height: 70%;
		font-size: 34px;
	}
	.overlay ul li {
		min-height: 34px;
	}
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */