@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900);
@import url(https://fonts.googleapis.com/css?family=Six+Caps);
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.clearfix:before, .clearfix:after {
  display: table;
  content: '';
}
select::-moz-focus-inner{
  border: 0;
  outline : 0;
}
.clearfix:after {
  clear: both;
}
body, html {
    background: #324C57;
    color: #FFF;
    font-weight: 400;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}
ul{list-style: none; padding: 15px 0;}
input, button, select, textarea {
    border-radius: 8px;
    margin-bottom: 0px;
    padding-left: 50px;
    height: 35px;
    width: 300px;
    color: #FFF;
    background: rgba(84, 128, 147, 0.55);
    text-align: left;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid #B1B1B1;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance:    none;
    appearance:         none;
}
select {
    background-image: url(../img/select.png);
    background-position: right center;
    background-repeat: no-repeat;
    margin: 40px auto;
}
a{
    text-decoration: underline;
    color: white;
    font-style: italic;
    font-size: 14px;
    transition: opacity 1s ease;
}
a:active, a:link, a:visited{text-decoration: none; color: white;}
a:hover{
    cursor: pointer;
    opacity: 0.5;
}
button, select {
    text-transform: none;
    user-focus: none;
    user-select: none;
    outline:none;
    text-align: left;
}
select:focus, select:active, select:visited, button:focus, button::-moz-focus-inner, select::-moz-focus-inner {outline:none;color: #FFF;}
select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

header{
    padding:20px 5px 0px 5px;
    margin: 0;
    width: 100%;
    z-index: 20000;
    position: fixed;
    top: 0;
}
header div{margin: 0;float: left;}
header div a img{width: 180px; margin: 10px 10px -8px 20px;}
header div h2{
    font-weight: 400;
    font-size: 18px;
    display: inline-block;
}
header ul{float: right; margin: 0 35px 0;}
header li{
    font-weight: 700;
    font-size: 12px;
    display: inline-block; 
    margin: 0 10px; 
    vertical-align: middle;
    transition: opacity 0.5s ease;
}
header li:hover{
    opacity: 0.4;
    cursor: pointer;
}

#menu_burge {
    z-index: 9999;
}
#menu_burge img{
    width: 25px;
}
main{
    text-align: center;
    padding: 0;
    margin: 0;
    background-image: none;
    background-position: center bottom;
    background-repeat: no-repeat;
    height: 100vh;
}
h1{
    font-family: 'Six Caps', sans-serif;
    font-size: 8em;
    color: white;
    font-weight: 100;
    width: 55vw;
    margin: 0 auto 0 auto;
    padding-top: 8%;
}
h1 span{
    color: #CC645F;
}
h2 {font-size: 1em;}
p{
    max-width: 700px;
    margin: 0 auto;
    font-size: 1em;
}
section{
    background-color: rgba(3, 41, 47, 0.95);
    width: 100%;
    height: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    display: none;
    z-index: 5;
    padding: 10%;
}
section .item{
    text-align: left;
    display: inline-block;
    margin: 30px;
    width: 150px;
}
section h3{
    font-size: 24px;
    font-weight: 900;
} 
section .item li{
    padding-bottom: 5px;
    border-bottom: 1px solid #B1B1B1;
}
section .item li a span{
    font-weight: 900;
    color: #CC645F;
}
section .item p{
    margin: 10px 0 30px 0;
}
#share {
    position: absolute;
    right: 195px;
    top: 30px;
}
#share li {
	float: left;
}
#share li a {
	width: 23px;
	height: 23px;
	display: block;
	margin-left: 15px;
	opacity: 0.5;
	transition: opacity 0.5s ease 0s;
}
#share li a:hover {
	opacity: 1;
}
#share li.facebook a {
	background: url(../svg/share_facebook.svg) no-repeat center center;
	background-size: contain;
}
#share li.twitter a {
	background: url(../svg/share_twitter.svg) no-repeat center center;
	background-size: contain;
}
#share li.google a {
	background: url(../svg/share_google.svg) no-repeat center center;
	background-size: contain;
}
#ficha{
    background-color: #D8D8D8;
    width: 250px;
    padding: 21px;
    position: absolute;
    top: 70px;
    right: 50px;
    z-index: 6;
    display: none;
    opacity: 0;
    color: #324C57;
    text-align: left;
}
#ficha .cerrar{
    background-image: url(../img/cerrar.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    opacity: 1;
    transition: 1s ease opacity;
}
#ficha .cerrar:hover{
    opacity: 0.5;
    cursor: pointer;
}
#ficha p{
    font-size: 12px;
}

#social{
    width: 250px;
    padding: 21px;
    /*position: absolute;*/
    top: 70px;
    right: 50px;
    z-index: 6;
    display: none;
    opacity: 0;
    color: #324C57;
    text-align: left;
}
#social .cerrar{
    background-image: url(../img/cerrar.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    opacity: 1;
    transition: 1s ease opacity;
}
#social .cerrar:hover{
    opacity: 0.5;
    cursor: pointer;
}
#social p{
    font-size: 12px;
}
.city {
    width: 100%;
    position: absolute;
    bottom: 0;
    display: block;
    z-index: 1;
    pointer-events: none;
}
.open{
  animation: openFrames linear 0.5s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  animation-fill-mode:forwards; /*when the spec is finished*/
  -webkit-animation: openFrames linear 0.5s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/ 
  -moz-animation: openFrames linear 0.5s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -moz-animation-fill-mode:forwards; /*FF 5+*/
  -o-animation: openFrames linear 0.5s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -o-animation-fill-mode:forwards; /*Not implemented yet*/
  -ms-animation: openFrames linear 0.5s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
  -ms-animation-fill-mode:forwards; /*IE 10+*/
}
@keyframes openFrames{
  0% {
    transform:  rotate(0deg) ;
  }
  100% {
    transform:  rotate(90deg) ;
  }
}
@-moz-keyframes openFrames{
  0% {
    -moz-transform:  rotate(0deg) ;
  }
  100% {
    -moz-transform:  rotate(90deg) ;
  }
}
@-webkit-keyframes openFrames {
  0% {
    -webkit-transform:  rotate(0deg) ;
  }
  100% {
    -webkit-transform:  rotate(90deg) ;
  }
}
@-o-keyframes openFrames {
  0% {
    -o-transform:  rotate(0deg) ;
  }
  100% {
    -o-transform:  rotate(90deg) ;
  }
}
@-ms-keyframes openFrames {
  0% {
    -ms-transform:  rotate(0deg) ;
  }
  100% {
    -ms-transform:  rotate(90deg) ;
  }
}

.closed{
  animation: closedFrames linear 0.5s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  animation-fill-mode:forwards; /*when the spec is finished*/
  -webkit-animation: closedFrames linear 0.5s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/ 
  -moz-animation: closedFrames linear 0.5s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -moz-animation-fill-mode:forwards; /*FF 5+*/
  -o-animation: closedFrames linear 0.5s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -o-animation-fill-mode:forwards; /*Not implemented yet*/
  -ms-animation: closedFrames linear 0.5s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
  -ms-animation-fill-mode:forwards; /*IE 10+*/
}
@keyframes closedFrames{
  0% {
    transform:  rotate(90deg) ;
  }
  100% {
    transform:  rotate(0deg) ;
  }
}
@-moz-keyframes closedFrames{
  0% {
    -moz-transform:  rotate(90deg) ;
  }
  100% {
    -moz-transform:  rotate(0deg) ;
  }
}
@-webkit-keyframes closedFrames {
  0% {
    -webkit-transform:  rotate(90deg) ;
  }
  100% {
    -webkit-transform:  rotate(0deg) ;
  }
}
@-o-keyframes closedFrames {
  0% {
    -o-transform:  rotate(90deg) ;
  }
  100% {
    -o-transform:  rotate(0deg) ;
  }
}
@-ms-keyframes closedFrames {
  0% {
    -ms-transform:  rotate(90deg) ;
  }
  100% {
    -ms-transform:  rotate(0deg) ;
  }
}

/*FOOTER*/
#footer .main {
	padding: 20px 0 20px 0;
}
#footer .main p {
	color: #9f9f9f;
	font-size: 9px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	line-height: 18px;
	letter-spacing: 1px;
}
#footer .main p strong {
	color: #d6d6d6;
}

#compact {
    background-color: rgba(3, 41, 47, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 10008;
    opacity: 0;
    width: 100%;
    height: 100%;
} 
.center-element { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; height: 555px; width: 860px; }
.center-element:after{ content: ""; display: table; clear: both; }
#compact .item {
    text-align: left;
    display: inline-block;
    margin: 20px 20px 20px 0;
    width: 150px;
    overflow: hidden;
    vertical-align: top;
}
#compact .item:last-child { margin-right: 0; }
#compact h3 {
    font-size: 14px;
    font-weight: 900;
}
#compact .item li {
    padding-bottom: 5px;
    border-bottom: 1px solid #B1B1B1;
    font-size: 12px;
}
#compact .item li a span {
    font-weight: 900;
    color: #CC645F;
}
#compact .item p {
    margin: 10px 0;
    font-size: 12px;
}

#compact {
    background-color: rgba(3, 41, 47, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 10008;
    opacity: 0;
    width: 100%;
    height: 100%;
} 
.center-element { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; height: 455px; width: 860px; }
.center-element:after{ content: ""; display: table; clear: both; }

#compact .item {
    text-align: left;
    display: inline-block;
    margin: 20px 20px 20px 0;
    width: 150px;
    overflow: hidden;
}
#compact .item:last-child { margin-right: 0; }

/* MEDIA QUERIES*/


/* MOBILE */
@media screen and (max-width: 420px) {
    header div h2 {
        display: none;
    }
    h1 {padding-top: 30vw; font-size: 2.5em;}
    main {    background-image:none;    margin: 10px;}
    p {font-size: 0.8em;}
    section {height: 100vh;}
    .city { display: none;}
}

/* TABLET */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    h1 {font-size: 8em;padding-top: 10%;}
    .city { display: none;}
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    h1 {font-size: 6em;padding-top: 20%;}
    p {max-width: 600px;}
    .city { display: none;}
}

@media screen and (max-width: 530px) {
    input, button, select, textarea {width: 250px;font-size: 12px;}
    header li {float: left;margin: 0px 5px;font-size: 8px;}
    header ul {margin: -10px 0px 0;}
    header div a img {margin: 0px 0px -8px 20px;}
    #creditos {display: none;}
    #logo {overflow: hidden;
    width: 138px;}
    h1 {width: 85vw;font-size: 60px;padding-top: 20vw;}
    #share {right: 65px;top: 10px;
}
    .city { display: none;}
 }

/*************************** Actualizaciones en los diseños ***********************************/
@media only screen and (max-width: 875px) {
    #compact { position: absolute; }
    .center-element { position: relative; height: auto; width: 520px; padding: 20px 0; }
    h1 {font-size: 3em;padding-top: 20%;}
    .city { display: none;}
}

@media only screen and (max-width: 768px) {
    .main { margin-left: 0; }
    .filter { display: none; }
    #selectores { margin-bottom: 20px; }
    .city { display: none;}
}

@media only screen and (max-width: 530px) {
    .center-element { width: 350px; }
    .city { display: none;}
}

@media only screen and (max-width: 360px) {
    .center-element { width: 200px; }
    #compact .item { margin: 20px auto; }
    .city { display: none;}
}

@media only screen and (max-width: 320px) {
    html, body { width: 320px; }
    .city { display: none;}
}