html {
  font-family: 'Cutive Mono', Courier, monospace;
  }

body {
  background-color: #303033;
  padding: 0;
  margin: 0;
  min-height: 100%;
  background: radial-gradient(#000, #303033);
  }

#tv {
  background-color: #303033;
  padding: 0;
  margin: 100px auto 0;
  position: relative;
  width: 1000px;
  height: 632px;
  background-image: url(../img/kino-tv.jpg);
  background-size: cover;
  }

#tv a {
/*  border: 1px pink solid;*/
  display: block;
  position: absolute;
  cursor: pointer;
  }
  #tv a:hover {
    background: radial-gradient(rgba(255,160,50,0.2), transparent, transparent);
    }

  #a1 {
    top: 112px;
    left: 164px;
    width: 193px;
    height: 56px;
    rotate: 23deg;
    }
  #a2 {
    top: 222px;
    left: 87px;
    width: 224px;
    height: 61px;
    rotate: 22deg;
    }    
  #a3 {
    top: 369px;
    left: 103px;
    width: 174px;
    height: 75px;
    rotate: -20deg;
    }
  #a4 {
    top: 471px;
    left: 106px;
    width: 205px;
    height: 66px;
    rotate: -8deg;
    }
  #a5 {
    top: 154px;
    left: 454px;
    width: 259px;
    height: 56px;
    rotate: -15deg;
    }
  #a6 {
    top: 297px;
    left: 502px;
    width: 181px;
    height: 58px;
    rotate: 14deg;
    }
  #a7 {
    top: 446px;
    left: 468px;
    width: 213px;
    height: 58px;
    rotate: 37deg;
    }
  #a8 {
    top: 100px;
    left: 367px;
    width: 87px;
    height: 60px;
    }
  
  #b1 {
    top: 48px;
    left: 855px;
    width: 46px;
    height: 37px;
    }
  #b2 {
    top: 86px;
    left: 855px;
    width: 46px;
    height: 36px;
    }
  #b3 {
    top: 123px;
    left: 855px;
    width: 46px;
    height: 38px;
    }
  #b4 {
    top: 162px;
    left: 855px;
    width: 46px;
    height: 37px;
    }
  #b5 {
    top: 200px;
    left: 855px;
    width: 46px;
    height: 38px;
    }
  #b6 {
    top: 239px;
    left: 855px;
    width: 46px;
    height: 37px;
    }



#dialogs {
  display: none;
  }

.ui-dialog {
  box-shadow: rgba(68, 68, 68, 0.5) 5px 5px 5px;
  padding: 0;
  }
  .ui-dialog img {
    max-width: 100%;
    }
  .ui-dialog .ui-dialog-titlebar {
    height: 21px;
    }
  .ui-dialog .ui-dialog-content {
    padding: 0;
    }





img[usemap] {
  border: none;
  height: auto;
  max-width: 100%;
  width: auto;
  }


div.ui-dialog.ui-dialog-content[data-type="img"] {
  overflow: hidden;
}

div.doc-content {
  background-color: white;
  color: #000;
  padding: 25px 25px 45px 25px;
  font-size: 15px;
  font-family: 'Cutive Mono', Courier, monospace;
  background: url(../img/paper3.png) repeat;
  line-height: 1.2;
  min-height: calc(100% - 50px);
  }
  div.doc-content a {
    color: #70534c;
    }
  div.doc-content u, div.doc-content span.underline, div.doc-content i {
    text-decoration: underline;
    }
  div.doc-content span.red {
    color: red;
    }
  div.doc-content p {
    margin: 0;
    }
  div.doc-content p.bottom-margin {
    margin-bottom: 20px;
    }
  div.doc-content p.double-bottom-margin {
    margin-bottom: 40px;
    }
  div.doc-content p.center {
    text-align: center;
    }
  div.doc-content p.right {
    text-align: right;
    }
  div.doc-content p.indent {
    text-indent: 52px;
    }
  div.doc-content .text-divider {
    margin-top:20px;
    border-bottom: 1px solid #000;
    }
  div.doc-content .half {
    width: 50%;
    }
  div.doc-content .cyr {
    font-family: 'Anonymous Pro', monospace;
  }


#portrait-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  }
  .overlay-content {
    text-align: center;
    position: relative;
    top: 50%;
    height: 60%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    }
  #portrait-overlay h1 {
    color: white;
    font-size: 35px; 
    }


  @media screen and (max-width: 999px) and (orientation:portrait) {
   #portrait-overlay {
/*     display: block;*/
   }
}
