html {
  margin:0;
  padding:0;
}
body {
  margin:0;
  padding:0px 0px 20px 0px;
  font-family:Verdana, Nokora, Sans-serif;
  font-size:16px;
  line-height:145%;
  color:#dddddd;
  background-color:#000000;
  text-align:center;
}
html[lang='km'] body {
  font-family:Nokora, Verdana, Sans-serif;
  font-size:18px;
}

a, a:visited {
  color:#ffffff;
  text-decoration:underline;
}
a:hover {
  color:#ffffff;
  text-decoration:none;
}
a.action, a.action:visited {
  display:inline-block;
  margin:0px 5px 0px 5px;
}

p {
  margin:16px 0px 16px 0px;
}

h1 {
  margin:0px;
  padding:0px 0px 3px 0px;
  color:#ffffff;
  font-size:140%;
}
h3 {
  margin:0px 0px 6px 0px;
  padding:0px;
  color:#ffffff;
}
ul {
  margin:8px 0px 16px 0px;
  padding: 0;
  list-style-position: inside;
  list-style-type: none;
}

div.head {
  padding:10px 0px 10px 0px;
  background: #0c1839;
  background: -moz-linear-gradient(142deg, rgba(255,139,39,0.4) 0%, #0c1839 100%);
  background: -webkit-linear-gradient(142deg, rgba(255,139,39,0.4) 0%, #0c1839 100%);
  background: linear-gradient(142deg, rgb(255,139,39,0.4) 0%, #0c1839 100%)
}
html[lang='km'] div.head {
  padding:6px 0px 10px 0px;
}
img.logo {
  max-width:65%;
  max-height:86px;
  vertical-align:bottom;
}
html[lang='km'] img.logo {
  max-height:90px;
}
a.lang {
  position: absolute;
  top: 7px;
  right: 12px;
  display: block;
  padding: 0px 8px 0px 8px;
  height:26px;
  line-height:26px;
  font-size:92%;
  text-decoration:none;
  border-radius: 4px;
  border:1px solid #5c83c488;
  background-color: #000000;
  color:#5c83c4;
}
a.lang:hover {
  border:1px solid #5c83c4 !important;
}
html[lang='km'] a.lang {
  font-size:80%;
}
div.subhead {
  position:sticky;
  top:0px;
  padding:8px 0px 6px 0px;
  background-color:#0d1117ee;
  color:#5c83c4;
  z-index:10;
}
div.subhead a, div.subhead a:visited {
  display:inline-block;
  margin:5px 5px 0px 5px;
  padding:2px 4px 2px 4px;
  background-color:#000000;
  color:#5c83c4;
  border:1px solid #5c83c488;
  border-radius:4px;
  font-size:92%;
  text-decoration:none;
  box-sizing:border-box;
}
div.subhead a:hover {
  border:1px solid #5c83c4 !important;
}
div.subhead a.selected, div.subhead a.selected:visited {
  color:#ffffff !important;
  border:1px solid #ffffff88 !important;
}

div.content {
  margin:auto;
  padding-top:16px;
  width:100%;
  max-width:1100px;
}

div.foot {
  color:#555555;
}

div.foot a, div.foot a:visited {
  color:#555555;
}

div.movies {
  margin-bottom:26px;
}

img.poster {
  width:120px;
  border-radius:4px;
}

div.thumbnail {
  position:relative;
  margin:4px;
  padding-bottom:14px;
  display:inline-block;
  vertical-align:top;
  width:170px;
  text-align:center;
}
div.thumbnail.expired {
  opacity:0.35;
  filter:grayscale(0.7);
}
div.thumbnail.expired a, div.thumbnail.expired a:visited {
  text-decoration:none;
}
div.thumbnail p {
  margin:0px 0px 0px 0px;
}
div.thumbnail img.poster {
  width:170px;
  height:255px;
  border-radius:10px;
}
div.thumbnail.new img.poster, img.poster.new {
 -webkit-box-shadow:0px 0px 13px 0px rgba(255,137,18,0.9);
 -moz-box-shadow: 0px 0px 13px 0px rgba(255,137,18,0.9);
 box-shadow: 0px 0px 13px 0px rgba(255,137,18,0.9);
}
div.thumbnail.expired img.poster {
  mask-image:linear-gradient(to bottom, #0004 0%, black 75%);
}
div.thumbnail div.trailer {
  position: absolute;
  width: 100%;
  padding: 0px 5px 0px 5px;
  background-color: rgba(0,0,0,0.5);
  height: 0px;
  opacity: 0.0;
  box-sizing: border-box;
  overflow: hidden;
  -moz-transition: all 200ms ease;
  -moz-transition-property: height, opacity;
  -webkit-transition: all 200ms ease;
  -webkit-transition-property: height, opacity;
  transition: all 500ms ease;
  transition-property: height, opacity;
  z-index:1;
}
div.thumbnail:hover div.trailer {
  height: 40px;
  opacity: 1.0;
}
div.thumbnail div.trailer a {
  display: block;
  height: 40px;
  line-height: 40px;
}

div.location {
  margin-bottom:30px;
}
p.location_title {
  margin-bottom:0px;
  font-weight:bold;
}
div.movie {
  margin-bottom:30px;
  background-size: 290px auto;
  background-position: center center;
  background-repeat: no-repeat;
  text-shadow: 2px 2px 4px #000000;
}
p.movie_title {
  margin-bottom:3px;
  font-weight:bold;
}
div.time p {
  margin:2px 0px 2px 0px;
}

p.movie_title a, p.location_title a {
  display:inline-block;
  margin:0px 2px 0px 2px;
  font-weight:normal;
  font-size:75%;
  color:#dddddd;
}

p.sort {
  margin-top:0px;
  margin-bottom:10px;
  font-size:75%;
}
p.sort a, p.sort a:visited {
  display:inline-block;
  margin:0px 2px 0px 2px;
  color:#f88125;
}
a.sortedby, a.sortedby:visited {
  display:none !important;
  color:#ffffff !important;
  text-decoration:none;
}

#sbutton {
  display:none;
}

.current_city {
  color:#5c83c4;
}

span.detailtag {
  display:inline-block;
  margin:0px 1px 0px 1px;
  padding:0px 6px 0px 6px;
  background-color:#11224e;
  border-radius:4px;
  color:#5c83c4;
  font-weight:normal;
  font-size:70%;
  line-height:140%;
}
span.detailtag.new {
  position:relative;
  top:-1px;
  background-color:rgba(0,0,0,0);
  color:#f88125;
}
span.langtag {
  display:inline-block;
  color:#2c599d;
  font-weight:normal;
  font-size:75%;
}
span.disttag {
  display:inline-block;
  margin-left:6px;
  color:#f88125;
  font-weight:normal;
  font-size:75%;
}
div.timetag {
  display:inline-block;
  margin-top:4px;
  width:60px;
  text-align:center;
  color:#5c83c4;
  line-height:110%;
}
div.timetag.expired {
  opacity:0.5;
  text-decoration:line-through;
}

div.timetag a, div.timetag a:visited {
  color: #5c83c4;
  text-decoration:none;
}
div.timetag.soon a, div.timetag.soon a:visited {
  animation: 1.5s linear 0s infinite alternate soon;
}

@keyframes soon {
  from { color:#fb9b50; }
  to { color:#5c83c4; }
}

div.overlay {
  position:fixed;
  top:0px;
  left:0px;
  display:none;
  justify-content:center;
  align-items:center;
  width:100%;
  height:100%;
  background-color:#00000099;
  z-index:100;
}
div.overlay > div {
  max-width:100%;
  max-height:65vh;
}
div.overlay iframe {
  max-width:100%;
  max-height:65vh;
  background-color:#000000;
  box-shadow:0px 0px 20px #000000;
}

div.box {
  margin-top:4px;
  padding:10px;
  border-radius:10px;
  box-sizing:border-box;
  background:rgb(17,34,73);
  background:-moz-linear-gradient(180deg, rgba(17,34,73,0.5) 0%, rgba(17,34,73,0.2) 100%);
  background:-webkit-linear-gradient(180deg, rgba(17,34,73,0.5) 0%, rgba(17,34,73,0.2) 100%);
  background:linear-gradient(180deg, rgba(17,34,73,0.5) 0%, rgba(17,34,73,0.2) 100%);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#112249",endColorstr="#112249",GradientType=1); 
}
div.box h3 {
  background-color:#11224e;
  border-radius:4px;
  padding:4px 0px 4px 0px;
}

@media (min-width: 850px) {
  div.movies {
    float:left;
    width:calc(100% - 330px);
  }
  div.locations {
    float:right;
    width:330px;
  }
  div.overview {
    float:right;
    position:sticky;
    top:80px;
    width:330px;
  }
  div.showtimes {
    margin-right:330px;
  }
}
