/*
Theme Name: Morales Theme 1.0
Theme URI: http://elufo.com
Description: Morales Theme basado en elufo Base Theme 2.0
Author: elufo
Author URI: http://elufo.com
Version: 2.0
*/

html{ margin: 0; padding: 0; }
body { color: black; font-family: "Barlow", Arial, Verdana, Geneva, Helvetica, sans-serif; margin: 0 !important; padding: 0; font-size: 120%; font-weight: 300; font-style: normal; letter-spacing: 1px; word-spacing: 1px; line-height: 1.2em; text-rendering: optimizelegibility; -webkit-font-smoothing: antialiased; position: relative; background-position: top; background-size: 100% 470px; background-repeat: no-repeat; }
body.bg1{ background-image: linear-gradient(to right, #ffcccc 0%, #ffcccc 100%); background-color: #a2c0c1; }
body.bg2{ background-image: linear-gradient(to right, white 0%, white 100%); background-color: #a2c0c1; }
body.bg3{ background-image: linear-gradient(to right, #a2c0c1 0%, #a2c0c1 100%); background-color: #ffcccc; }
body.bg4{ background-image: linear-gradient(to right, white 0%, white 100%); background-color: #ffcccc; }
body.bg5{ background-image: linear-gradient(to right, #ffcccc 0%, #ffcccc 100%); background-color: white; }
body.bg6{ background-image: linear-gradient(to right, #a2c0c1 0%, #a2c0c1 100%); background-color: white; }
body.post-type-archive-works { background-size: 100% 600px; }
body.single-works{ background-image: none; }

body, select, input, textarea {color: black;}

a {color: black;}
a:hover {color: #757575;}

::-moz-selection{background: black; color: #fff; text-shadow: none;}
::selection {background: black; color: #fff; text-shadow: none;}
a:link {-webkit-tap-highlight-color: black;}
ins {background-color: black; color: #000; text-decoration: none;}
mark {background-color: black; color: #000; font-style: italic; font-weight: bold;}
input:-moz-placeholder { color:#757575; }
textarea:-moz-placeholder { color:#757575; }

h1{ margin: 0; }
p{ margin: 0 0 1em 0; }
.entry{ text-align: justify; color: black; padding: 0; }
.entry p:last-child{ margin: 0; }
div.eng{ color: #4c4c4c; padding-top: 1.5em; font-style: italic; }

#wrapper { max-width: 1024px; width: calc(100% - 40px); margin: 0 auto 4em auto; padding: 0 20px; position: relative; z-index: 1; }
header{ padding: 20px 0 60px 0; }
footer{ position: fixed; bottom: 0; left: 0; right: 0; z-index: 1; background-color: rgba(0,0,0,.2); text-align: center; color: white; font-size: 60%; }

header h1 a{ display: block; margin: 0 auto; max-width: 300px; }
#logo{ margin: 0 auto .2em auto; padding: 0; border: 0; display: block; width: 300px; height: auto; filter: invert(100%); }
.menu{ display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-content: stretch; align-items: center; margin: 0 auto; padding: 0; list-style: none; max-width: 270px; }
.menu li{ padding: 0; }
.menu li a{ color: black; text-decoration: none; font-weight: 700; font-family: "Overpass"; text-transform: uppercase; }

body.single-works .menu-item-26 a,
.current-menu-item a{ text-decoration: underline !important; color: #4c4c4c !important; }

.video { position: relative; padding-bottom: 56.25%; width: 100%; height: 0; overflow: hidden; border-radius: 5px; background-color: black; margin: 0 0 1em 0; }
.video iframe, .video object, .video embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.home .video{ margin: 0 auto 3em auto; }

.archive section{ display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-content: stretch; align-items: flex-start; }
.archive article{ flex: 1 1 auto; width: calc((100% /4 ) - 10px); max-width: calc((100% /4 ) - 10px); margin: 0 5px 1em 5px; }
.archive article .entry{ padding: 10px; border-radius: 5px; background-color: black; }
body.archive.bg1 article .entry,
body.archive.bg3 article .entry{ background-color: white; }
body.archive.bg2 article .entry,
body.archive.bg6 article .entry{ background-color: #ffcccc; }
body.archive.bg4 article .entry,
body.archive.bg5 article .entry{ background-color: #a2c0c1; }

.archive article .entry a { color: black; text-decoration: none; }
.archive article .entry a:hover{ text-decoration: underline; }
.archive article .entry a h2{ font-size: 70%; margin: 0; text-align: center; font-weight: 400; }
.archive article .entry img{ display: block; margin: 0 auto .2em auto; width: 100%; height: auto; border-radius: 5px; box-sizing: border-box; filter: grayscale(50%); }
.archive article .entry a:hover img{ filter: grayscale(0%); transition: all ease 300ms; }
.archive article .entry img.imgbase{ opacity: .5; }

.single-works article{ text-align: justify; color: black; padding: 0; }
.single-works article h1{ text-align: center; font-size: 150%; font-weight: 400; text-transform: uppercase; line-height: 1em; margin: 0 auto; padding: 1em .5em; }
.single-works article h1 small{ font-size: 60%; color: #757575; display: block; font-weight: 400; padding: .2em 0 0 0; }
.single-works article .entry{ background: rgba(0,0,0,.02); border-radius: 5px; padding: 1em; margin: 0 auto 2em auto; width: 84%; }
.single-works article .entry.flex{ display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-content: stretch; align-items: flex-start; }
.single-works article .entry.flex figure{ margin: 0; padding: 0; flex: 1 0 auto; width: 10.5em;  }
.single-works article .entry.flex img.cover{ display: block; margin: 0; border-radius: 5px; box-sizing: border-box; border: 0; width: 100%; height: auto; }
.single-works article .entry.flex .content{ margin: 0; padding: 0 0 0 2em; flex: 1 1 auto; width: calc(100% - 12em); }
.single-works article .video { border-radius: 5px; margin: 0 0 2em 0; }
.single-works article p.videotitulo{ padding: .5em 1em; text-align: center; margin: 0 auto; font-size: 120%; font-weight: 400; text-transform: uppercase; }

.single-works article ul.fotos{ margin: 0 0 2em 0; padding: 0; list-style: none; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-evenly; align-content: stretch; align-items: flex-start; }
.single-works article ul.fotos li{ flex: 1 1 auto; max-width: 50%; min-width: 300px; box-sizing: border-box; padding: 0 1em 2em 1em; }
.single-works article ul.fotos li img{ display: block; margin: 0; border: 0; width: 100%; height: auto; }

.single-works article ul.relacionados{ margin: 0 auto 1em auto; padding: .8em; list-style: none; text-align: center; font-size: 90%; background: rgba(0,0,0,.02); border-radius: 5px; width: 80%; }
.single-works article ul.relacionados li{ padding: .2em; }

.single-works article ul.audios{ margin: 0 auto; padding: 1em; list-style: none; text-align: center; }
.single-works article ul.audios li{ display: inline-block; margin: 0 .5em; }
.single-works article ul.audios li a{ display: block; margin: 0 auto; width: 40px; height: 40px; background-color: transparent; background-repeat: no-repeat; background-position: center; background-size: contain; text-indent: -9999vw; transition: all ease 300ms; border-radius: 50%; box-sizing: border-box; border: 3px solid rgba(0,0,0,1); transition: all ease 300ms; }
.single-works article ul.audios li a:hover{ border-radius: 0; border-color: white; }
.single-works article ul.audios li a.spotify{ background-image: url(media/spotify.png); }
.single-works article ul.audios li a.soundcloud{ background-image: url(media/soundcloud.png); }
.single-works article ul.audios li a.mixcloud{ background-image: url(media/mixcloud.png); }
.single-works article ul.audios li a.bandcamp{ background-image: url(media/bandcamp.png); }

@media screen and (max-width: 720px) {
	header{ padding: 10px 0 50px 0; }
	.entry { text-align: left !important; }
	#logo{  width: 240px; height: auto; }
	body { background-size: 100% 250px; }
	body.post-type-archive-works { background-size: 100% 580px; }
	.home .video{ max-width: 100%; padding-bottom: 50%; margin: 0 auto 1em auto; }
	.archive article { width: calc((100% /2 ) - 10px); max-width: calc((100% /2 ) - 10px); }
	.single-works article .entry { width: auto; }
	.single-works article .entry.flex { flex-direction: column; }
	.single-works article .entry.flex figure { margin: 0 auto 1em auto; flex: 1 1 auto; width: 80%; }
	.single-works article .entry.flex .content { margin: 0; padding: 0; flex: 1 1 auto; width: 100%; }
}