
:root {--vs-width: 1032px;--vs-height: 1431px;--vs-font-size:10px;--vs-info-font-size:10px}

.vs-hide
{
  display: none;
}
.vs-eula {
  float:left;
}
.vs-contacts{
  float: right;
}
.vs-changelog{
  position: absolute;
  left: 45%;
}
#vsContainer
{
  float: right;
  width: var(--vs-width);
  height: var(--vs-height);
  bottom: 30px;
  right: 30px;
  position:fixed;
  z-index: 99;
  touch-action: none;
  /*
  user-select: text !important;
  -moz-user-select: text !important;
  -webkit-user-select: text !important;
  -ms-user-select: text !important;
  -khtml-user-select: text !important;*/
}

.vs-ms-plugin {
  position: absolute !important;
  left: 50%;
  top: 50%;
}

#vsContainer > div{
  user-select: none !important;
  -moz-user-select: none !important;
  -webkit-user-select: none !important;
  -ms-user-select: none !important;
  -khtml-user-select: none !important;
}
#vsWindow{
  border-radius: 7px;
}
#vsWindow > canvas{
  border-radius: 7px;
  border: .2px solid grey;
}

.vs-clickthrough{
  pointer-events: none;
}
.vs-move
{
  cursor: move;
  height:15%;
  width: 70%;
  position: absolute;
  z-index: 111;
  touch-action: none;
  user-select: none;
  margin-left: 15%;
  border: 0px;
  pointer-events: initial;
}

.vs-open {
  height: 64px;
  width:64px;
  position: fixed;
  bottom:30px;
  right: 30px;
  z-index: 101;
  background:url('icon.png');
  background-size: 100% 100%;
  pointer-events: initial;
  user-select: none;
}


#vsContent{
  width: var(--vs-width);
  height: var(--vs-height);
  bottom:0px;
  right: 0px;
  position:relative;
  z-index: 99;
  touch-action: none;
  user-select: none;
}

#vsLoading{
  width: var(--vs-width);
  height: var(--vs-height);
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: 200;
  border: black 15px;
  pointer-events: none;
  user-select: none;
}
#vsInfo{
  height: 11%;
  width: 15%;
  position: absolute;
  top: 8%;
  right: 1%;
  z-index: 101;
  background: url('icons/BT_info.png');
  background-size: 100% 100%;
}
#vsSubtitle{
  height: 11%;
  width: 15%;
  position: absolute;
  top: 15%;
  right: 1%;
  z-index: 101;
  background: url('icons/BT_subtitles.png');
  background-size: 100% 100%;
}
#vsSpeed{
  height: 11%;
  width: 15%;
  position: absolute;
  top: 22%;
  right: 1%;
  z-index: 101;
  background: url('icons/gear.png');
  background-size: 100% 100%;
}

#vsRotateRight{
  height: 11%;
  width: 15%;
  position: absolute;
  top: 40%;
  right: 1%;
  z-index: 101;
  background: url('icons/BT_rodar.png');
  background-size: 100% 100%;
}
#vsRotateLeft{
  transform: scaleX(-1);
  height: 11%;
  width: 15%;
  position: absolute;
  top: 40%;
  left: 1%;
  z-index: 101;
  background: url('icons/BT_rodar.png');
  background-size: 100% 100%;
}

#vsLangCombo {
  position: absolute;
  bottom: 13.5%;
  left: 0px;
  width: 39.7%;
  height: 70%;
  background: white;
  z-index: 102;
  border-style: solid;
  border-width: 2px;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  border-color: grey;
}

#vsSpeedCombo {
  position: absolute;
  top: 32%;
  right: 1%;
  width: 15%;
  height: 26%;
  background: white;
  z-index: 102;
  border-style: solid;
  border-width: 2px;
  border-radius: 7px;
  border-color: grey;
  font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
  font-size: calc(var(--vs-font-size)*1.1);
  font-weight: 750;
  color: grey;
}

#vsInfoPanel{
  z-index: 108;
  position: absolute;
  background: url("icons/info_UK.png");
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  border-radius: 7px;
  border-style: solid;
  border-color: grey;
  border-width: 2px

}

.vs-infopanel-UK{
}
.vs-infopanel-PT{
  background: url("icons/info_PT.png") !important;
  background-size: 100% 100% !important;
}
#vsInfoClose {
  z-index: 109;
  width: 20%;
  height: 15%;
  position: absolute;
  right: 0px;
}
#vsLangItem {
  position: relative;
  width: 100%;
  height: 14%;
}
.vs-langitem {
  position: relative;
  width: 100%;
  height: 14%;
  z-index: 105;
}

#vsLangFlag {
  height: 55%;
  width: 23%;
  position: absolute;
  top: 29%;
  left: 8%;
  z-index: 101;
  background-size: 100% 100%;
}


#vsComboFlag {
  height: 63%;
  width: 23%;
  position: absolute;
  top: 29%;
  left: 8%;
  z-index: 101;
  background-size: 100% 100%;
}

#vsLangText {
  height: 35%;
  width: 50%;
  position: absolute;
  top: 40%;
  left: 38%;
  z-index: 101;
  font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
  font-size: var(--vs-font-size);/*calc( var(--vs-width) / 2px);*/
  font-weight: 750;
  color: grey;
}


#vsLangPanel {
  position: absolute;
  bottom: 5%;
  left: 0.5%;
  width: 38%;
  height: 87%;
  z-index: 105;
}

#vsLangDownArrow{
  height: 60%;
  width: 27%;
  position: absolute;
  top: 25%;
  left: 70%;
  z-index: 101;
  background: url('icons/angle-down.png');
  background-size: 100% 100%;
}
#vsLangCheck{
  height: 60%;
  width: 27%;
  position: absolute;
  top: 25%;
  left: 70%;
  z-index: 101;
  background: url('icons/BT_check.png');
  background-size: 100% 100%;
}

#vsControlPanel {
  position: absolute;
  height: 100%;
  width: 41%;
  bottom: 0px;
  right: 0px;
}

.vs-bottompanel{
  position: absolute;
  width: 100%;
  height: 14%;
  bottom: 0px;
  z-index: 101;
  background-color: white;
  border-style: solid;
  border-color: grey;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  border-width: 2px;
}
.vs-replaypanel {
  position: absolute;
  width: 20%;
  height: 100%;
  left: 39%;
  background-color: white;
  border-style: solid;
  border-width: 0 2px 0 2px;
  border-color: grey;
}

.vs-flipy{
  transform: scaleY(-1);
}

#vsReplay {
  height: 100%;
  width: 100%;
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: 101;
  background: url('icons/BT_replay.png');
  background-size: 100% 100%;
}


#vsPause {
  height: 100%;
  width: 45%;
  position: absolute;
  left: 29%;
  z-index: 101;
  background: url('icons/BT_pause_enabled.png');
  background-size: 100% 100%;
}

.vs-pausedisabled {
  height: 100%;
  width: 45%;
  position: absolute;
  left: 29%;
  z-index: 100;
  background: url('icons/BT_pause_disabled.png');
  background-size: 100% 100%;
}

#vsStop {
  height: 100%;
  width: 45%;
  position: absolute;
  z-index: 101;
  background: url('icons/BT_stop_enabled.png');
  background-size: 100% 100%;
}
.vs-stopdisabled {
  height: 100%;
  width: 45%;
  position: absolute;
  z-index: 100;
  background: url('icons/BT_stop_disabled.png');
  background-size: 100% 100%;
}

#vsPlay {
  height: 100%;
  width: 45%;
  position: absolute;
  right: 0px;
  z-index: 101;
  background: url('icons/BT_play_enabled.png');
  background-size: 100% 100%;
}
.vs-playdisabled {
  height: 100%;
  width: 45%;
  position: absolute;
  right: 0px;
  z-index: 100;
  background: url('icons/BT_play_disabled.png');
  background-size: 100% 100%;
}


#vsClose {
  height: 11%;
  width: 15%;
  position: absolute;
  top: 1%;
  right: 1%;
  z-index: 101;
  touch-action: none;
  user-select: none;
  pointer-events: initial;
  background: url('icons/BT_fechar.png');
  background-size: 100% 100%;
}
.vs-infotext{
  position:relative;
  top:30%;
  left:17%;
}
.vs-infotext-alt{
  text-align: center;

}
.vs-infotext-ctrl{
  text-align: center;

}
.vs-barbackground {
  position: relative;
  margin: auto;
  top: 53%;
  z-index: 101;
  width: 50%;
  height: 2%;
  border-radius: 10px;
  background-color: #cfcfcf;
}

.vs-loadingbar{
  position: absolute;
  width: 0%;
  height: 100%;
  z-index: 102;
  border-radius: 10px;
  background-color: #36A8AB;
}

.vs-loadinghelp {
  border-radius: 7px;
  border: .2px solid grey;
  position: relative;
  top: -9.8px;
  height: 100%;
  width: 100%;
  z-index: 100;
  background: url('help.png');
  background-size: 100% 100%;
}

.vs-trigger {
  position: absolute;
  z-index: 101;
  top: 89.5%;
  left: 88%;
  width: 10%;
  height: 8%;
  background:url('translate.png');
  background-size: 100% 100%;
  pointer-events: initial;
  user-select: none;
}
.vs-resize {
  cursor: move;
  height: 11%;
  width: 15%;
  position: absolute;
  top: 1px;
  left: 1px;
  z-index: 111;
  touch-action: none;
  user-select: none;
  pointer-events: initial;
  background: url('icons/BT_expand.png');
  background-size: 100% 100%;
}

.vs-info-links{
  position: relative;
  top: 19%;
  margin: 0 10%;
}
.vs-info-links a {
  text-decoration: none;
  color: black;
  cursor: pointer;
  font-size:  var(--vs-info-font-size);
}
.vs-flag-UK{
  background: url('flags/Flag_of_England.png');
}
.vs-flag-CY{
  background: url('flags/Flag_of_Cyprus.png');
}
.vs-flag-DE{
  background: url('flags/Flag_of_Germany.png');
}
.vs-flag-GR{
  background: url('flags/Flag_of_Greece.png');
}
.vs-flag-BR{
  background: url('flags/Flag_of_Brazil.png');
}
.vs-flag-PT{
  background: url('flags/Flag_of_Portugal.png');
}
.vs-flag-SL{
  background: url('flags/Flag_of_Slovenia.png');
}
.vs-flag-IT{
  background: url('flags/Flag_of_Italy.png');
}

#vsErrorMessage{
  position: absolute;
  width: 80%;
  height: 7%;
  background-color: white;
  border-style: solid;
  border-color: red;
  border-width: 2px;
  border-radius: 7px;
  left: 10%;
  bottom: 20%;
  padding-top: 2%;
  text-align: center;
  font-size:  var(--vs-font-size);
  z-index: 110;
}
#vsSubtitles{
  position: absolute;
  width: 80%;
  height: 7%;
  background-color: white;
  border-style: solid;
  border-color: #40bfbf;
  border-width: 2px;
  border-radius: 7px;
  left: 10%;
  bottom: 20%;
  padding-top: 2%;
  text-align: center;
  font-size:  var(--vs-font-size);
  z-index: 101;
}

#vsCertificate {
  position: absolute;
  width: 45%;
  height: 100%;
  right: 10%;
  bottom: 120%;
  z-index: 110;
}
/*#vsCertificatePanel {
  position: absolute;
  width: 45%;
  height: 100%;
  right: 10%;
  bottom: 120%;
  z-index: 110;
  }*/


  #vsCertGear{
    position: absolute;
    width: 45%;
    height: 100%;
    right: 10%;
    bottom: 120%;
    z-index: 110;

    background: url('icons/cert_gear.png');
    background-size: 100% 100%;

    -webkit-animation:spin 6s linear infinite;
    -moz-animation:spin 6s linear infinite;
    animation:spin 6s linear infinite;
  }

  @-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
  @-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
  @keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

  .vs-CERT00{
    background: url('icons/CERT00.png');
    background-size: 100% 100%;
  }
  .vs-CERT01{
    background: url('icons/CERT01.png');
    background-size: 100% 100%;
  }
  .vs-CERT02{
    background: url('icons/CERT02.png');
    background-size: 100% 100%;
  }
  .vs-CERT03{
    background: url('icons/CERT03.png');
    background-size: 100% 100%;
  }
