@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  src: url(EB+Garamond.ttf) format('truetype');
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  src: url(Libre+Baskerville.ttf) format('truetype');
}
@font-face {
  font-family: 'Spirax';
  font-style: normal;
  font-weight: 400;
  src: url(Spirax.ttf) format('truetype');
}
@font-face {
  font-family: 'Milonga';
  font-style: normal;
  font-weight: 400;
  src: url(Milonga.ttf) format('truetype');
}
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  src: url(Prata.ttf) format('truetype');
}
@font-face {
  font-family: 'Adamina';
  font-style: normal;
  font-weight: 400;
  src: url(Adamina.ttf) format('truetype');
}

#bg-layer {
	background: url('../images/background4.jpg');
	background-color: #aecccc;
	background-size: 100% 100% !important;
	background-position: top center !important;
	background-repeat: repeat-y !important;
	position: fixed;
	overflow: hidden;
	min-width:100%; min-height:100%; width:auto; height:auto;
	top: 0;
	z-index: -100;
	opacity: 0.4;
	width: 100%;
	height: 100%;
}
.container {
	overflow: auto;
	margin: 0;
	padding: 1em;
	left: 1em;
	right: 1em;
	width: 98%;
	background: white;
	background-color: rgba(205, 205, 235, 0.35);
	background-attachment: scroll;
	height: auto;
	opacity: 0.95;
	text-align: left;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'EB Garamond', serif;
  font-size: 1.5em;
  text-align: center;
}

ul {
	list-style-type: none;
}

img {
	height: 400px;
	width: auto;
	float: left;
	margin: 5px;
}

a, a:hover {
  color: #a304cf;
}

a:hover {
  text-decoration: none;
}

#header {
	border: 0;
	width: 100%;
	height: auto;
	background: transparent;
	overflow: initial;
	margin: 0 auto !important;
	text-align: center;
  font-family: 'Libre Baskerville', sans-serif;
}

#header #title {
  height: auto;
	width: 100%;
	text-decoration: none;
  margin: 1em auto;
  color: #427ac7;
}
#header #title h1 {
  font-style: italic;
  font-size: 4em;
  min-height: 2.5em;
  margin: 0.5em 0;
  padding: 0.5em 0;
  border-color: #427ac7;
}
#header img {
	float: none;
	vertical-align: center;
	margin: 50px auto 0;
  width: auto;
  height: 375px;
  opacity: 0.89;
}
#header a {
  font-size: 1.5em;
  font-style: normal;
  font-weight: bold;
  line-height: normal;
  padding: 1em;
  text-transform: uppercase;
}
#header div {
  margin: 1em auto;
  display: inline-block;
}
#header h1 div {
  margin-bottom: 0;
}
#language-selection {
  margin: 0;
  float: right;
  line-height: 1em;
}
#language-selection a {
  font-size: 1.2em;
  color: #5384cc;
  text-transform: none;
  cursor: pointer;
  margin: 0;
}
#header #admission {
  width: 100%;
  clear: both;
  font-size: 1.25em;
  color: black;
  margin: 4em auto 2em;
}

#schedule {
  padding: 1em;
}
h1 {
  border-width: 0 0 3px 0;
  border-style: solid;
  border-color: #a304af;
  font-size: 4em;
  text-align: center;
}
#schedule h2 {
  text-align: center;
  margin-top: 1em;
  font-size: 3.5em;
}
#schedule h2 a {
  color: inherit;
}
#schedule div, #schedule table {
  font-size: 1.4em;
}
.schedule-day {
  text-align: center;
  margin-bottom: 100px;
  width: 100%;
  clear: both;
}
#schedule table {
  margin: 1em auto;
  font-size: 1em;
  text-align: left;
  border-width: 0 0 3px 4px;
  border-style: solid;
  border-color: #74b6ce;
  clear: both;
  border-collapse: collapse;
  overflow: auto;
}
#schedule th {
  background: #99becc;
  background: -moz-linear-gradient(left, #74b6ce, #5fafcc, #99becc, #afcfdb);
  background: -webkit-linear-gradient(left, #74b6ce, #5fafcc, #99becc, #afcfdb);
  padding: 0.4em 1.2em;
  text-align: left;
  border-right: 0;
}
#schedule tr {
  border-width: 0 3px 2px 0;
  border-style: solid;
  border-color: #7194a0;
  overflow: auto;
  font-size: 1.5em;
}
#schedule td {
  padding: 0.25em 1em;
  overflow: auto;
  border-width: 0 0 3px 0;
  border-style: solid;
  border-color: #73b4cc;
}
#schedule td a {
  color: #222;
}
#schedule td:hover {
  cursor: normal;
}
.composers {
  font-family: 'Milonga', cursive;
  font-size: larger;
  font-weight: bold;
  margin: 1em auto 0;
}
em {
  font-family: 'Adamina', serif;
  font-style: italic;
}

#performers {
  margin-bottom: 0;
  padding: 1em;
}
#all-performers {
  text-align: center;
  font-size: 1.75em;
}
#all-performers a {
  padding: 0 1em;
  white-space: nowrap;
}
#all-performers a:hover {
  text-decoration: underline;
}

.performer {
  clear: both;
  margin-bottom: 2em;
  overflow: auto;
  font-size: 1.75em;
  padding: 1em;
}
.performer a {
  color: #5384cc;
}
.performer h2 {
  border-bottom: 2px dotted #5384cc;
  font-size: 1.75em !important;
}
.performer img {
  float: left;
  margin: 1em;
  width: 300px;
  height: auto;
  border-width: 8px;
  border-style: groove;
  border-color: #9384fb #7384ac #83849c #8384cc;
}
.performer a {
  font-size: larger;
  margin-top: 2em;
}

#video {
  width: 50%;
  height: auto;
  min-height: 360px;
  padding: 0;
  margin: 1em auto;
  display: inline-block !important;
  text-align: center;
  float: break;
}
#video img {
	width: 100%;
  height: auto;
	max-width: 640px;
	opacity: 1;
}
#video iframe {
  position: relative !important;
  border: 0;
}

#map {
  margin: 1em auto;
  width: 640px;
  height: 480px;
  border-width: 8px;
  border-style: groove;
  border-color: #9384fb #7384ac #83849c #8384cc;
}
#map-wrapper {
  padding: 2em 8em;
}
#map-wrapper h1 {
  margin-bottom: 1em;
}
#marker-links li {
  float: left;
  font-size: 1.5em;
  padding: 0.5em 1.25em;
}
#marker-links a {
  color: #5384cc;
}
#schedulex {
  display: none;
}
.leaflet-popup-content div {
  margin: 1em 0;
}
.leaflet-popup-content b {
  font-family: 'Adamina', serif;
  line-height: 2.2em;
}
.leaflet-popup-content em {
  font-family: 'Libre Baskerville', serif;
}
.modal-header h4 {
  font-family: 'Spirax', cursive;
  font-size: 2.5em;
}
.modal-dialog {
  width: auto !important;
}
.leaflet-popup-content-wrapper {
  background: #fff;
}

#news-2018 {
  color: #ea3434;
  font-size: 1.25em;
  width: 100%;
}

#competition {
  text-align: left;
  width: 60%;
  min-width: 400px;
  margin: 0 auto;
  font-size: 1.5em;
}
#competition p {
  margin: 1em auto;
}
#title.competition {
  margin: 0 auto;
  width: 69% !important;
}
#title.competition h1 {
  font-size: 2.1em !important;
}

#logos {
  width: 100%;
  background: white;
  text-align: center;
  overflow: auto;
  margin: 4em 0 0;
  padding: 0 4em 10px;
  border-width: 4px 0 2px;
  border-style: groove;
  border-color: #9384fb #000 #5384cc;
}
#logos img {
  padding: 10px;
  background: white;
  margin: 10px;
  float: none;
}
#footer {
  clear: both;
  background: #7cb7cc;
  background: -moz-linear-gradient(left, #7cb7cc, rgba(204, 215, 219, 0.1));
  background: -webkit-linear-gradient(left, #7cb7cc, rgba(204, 215, 219, 0.1));
  width: 99%;
  color: #124aa7;
  margin: 0 0 0 0;
  padding: 0.25em 0.5em;
  border-radius: 0.45em;
  position: static;
  bottom: 0;
  font-size: 1.2em;
  font-family: 'Spirax', cursive;
  overflow: auto;
  text-align: center;
}
#footer span {
  clear: both;
}

@media screen and (max-width: 1200px) {
  #header #title h1 {
  	background-size: 100% 100% !important;
    font-size: 2.5em;
  }
  #header img {
    margin-top: 0;
  }
}
@media screen and (max-width: 720px) {
  #map {
    width: 98%;
    height: 420px;
  }
  .modal-header h4 {
    font-size: 1.75em;
  }
  #video {
    width: 98% !important;
    height: auto !important;
  }
  #video iframe {
    width: 100% !important;
  }
}
@media screen and (max-width: 485px) {
  .container {
    width: 100%;
    left: 0;
    right: 0;
    padding: 0;
  }
  h2 {
    font-size: 2.4em !important;
    padding: 0.24em;
    margin: 0.24em;
  }
  #header #admission {
    padding: 1em;
  }
  th {
    font-size: larger;
  }
  #language-selection {
    margin: 0;
    float: none;
    line-height: 1em;
  }
  #language-selection a {
    font-size: 1.2em;
    color: #5384cc;
    text-transform: none;
    cursor: pointer;
    margin: 0;
  }
  #schedule {
    padding: 1em 0.25em;
  }
  #schedule table {
    font-size: 0.8em !important;
    margin: 1em auto;
  }
  #schedule tr {
    font-size: 1em !important;
  }
  #schedule td {
    padding: 0.25em 0.25em;
  }
  .performer {
    font-size: 1.25em;
  }
  .performer img {
    width: auto;
    max-width: 100%;
    margin: 1em auto;
    float: none;
  }
  .performer h2 {
    padding: 0em;
    margin: 0em;
    font-size: 1.4em;
  }
  .modal-body {
    padding: 1px;
  }
  .leaflet-popup-content {
    font-size: smaller;
  }
  #map {
    border-width: 4px;
  }
  #logos img {
    margin: auto;
    width: 100%;
    height: auto !important;
    margin: 1em 0;
  }
}
