@font-face{ 
    font-family: "Montserrat"; 
    src: local('☺'), url('../media/fonts/Montserrat-Regular.woff') format('woff');
}

@font-face{ 
    font-family: "Montserrat"; 
    src: local('☺'), url('../media/fonts/Montserrat-Bold.woff') format('woff');
    font-weight: bold;
}


@font-face{ 
    font-family: "Futura PT Extra Bold"; 
    src: local('☺'), url('../media/fonts/ftn95-webfont.woff') format('woff');
    font-weight: bold;
}



/* -------------------------- */
/* general                    */
/* -------------------------- */


.dummy{
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
  background-color: red;
}


#editor_rotate{
  position: absolute;
  display: none;
  width: 48px;
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  background-color: green;
  -webkit-transform-origin: 50% 50%; /* Chrome, Safari, Opera */
  transform-origin: 50% 50%;
  border: 2px solid white;
  border-radius: 25px;
  background-size: contain, auto;
  background-position: center, center;
  background-image: url('../media/images/icn_adjust.svg'), url('../media/images/rotate_bg.jpg');
}
#editor_rotate:hover{
  cursor: pointer;
}

#editor_delete{
  position: absolute;
  display: none;

  width: 48px;
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  background-color: red;
  -webkit-transform-origin: 50% 50%; /* Chrome, Safari, Opera */
  transform-origin: 50% 50%;

  border: 2px solid white;
  border-radius: 25px;
  background-size: contain, auto;
  background-position: center, center;
  background-image: url('../media/images/icn_trash.svg'), url('../media/images/delete_bg.jpg');
}
#editor_delete:hover{
  cursor: pointer;
}



html {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  background-color: black;
  overflow: hidden;
  -ms-user-select: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none; 
  -webkit-user-callout: none;
  -ms-touch-action: manipulation !important;
  -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
}

body {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;

  overflow: hidden;
  -ms-user-select: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none; 
  -webkit-user-callout: none;
  -ms-touch-action: manipulation !important;
  -webkit-backface-visibility: hidden;
   backface-visibility: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../media/images/background.jpg');

}

a { color: inherit; } 

canvas {
  position: absolute;
  display: block;
  top: 0px; 
  left: 0px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* -------------------------- */
/* canvases                   */
/* -------------------------- */


#wrapper{
  position: absolute;
  display: block;
  top: 0px; 
  left: 0px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-origin: 0% 0%;
  -webkit-transform-origin: 0% 0%;
  -ms-transform-origin: 0% 0%;
  overflow: hidden;
}


#editor_block, #share_block{
  position: absolute;
  display: none;
  top: 0px; 
  left: 0px;
  width: 100%;
  text-align: center;
  margin: 0px;
  padding: 0px;
  font-size: 0px;
}



#canvas_image{
  position: relative;
  display: inline-block;
  background-color: rgba(0,0,0,0.5);
}

#gif_image{
  position: relative;
  display: inline-block;
  pointer-events: none;
  background-repeat: no-repeat;
  background-color: #000000;
  background-position: center;
  background-size: cover;
  clear: both;
}

#canvas_share{
  position: relative;
  display: inline-block;
  margin: 0px;
  padding: 0px;
  /*background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0));*/
}



#chooser_block{
  position: relative;
  white-space: nowrap;
  margin: 0px;
  padding: 0px;
}
#canvas_chooser{
  position: relative;
  display: inline-block;
  margin: 0px;
  padding: 0px;
  background-color: rgba(0,0,0,0.5);
}
#canvas_prev{
  position: relative;
  display: inline-block;
  margin: 0px;
  padding: 0px;
}
#canvas_next{
  position: relative;
  display: inline-block;
  margin: 0px;
  padding: 0px;
}



#canvas_buttons{
  position: relative;
  display: inline-block;
  margin: 0px;
  padding: 0px;
}








#debug{
  position: absolute;
  display: none;
  top: 0px; 
  left: 0px;
  z-index: 2;
  overflow: auto;
  height: 100%;
  padding: 20px;
  color: red;
  font-family: sans-serif;
  background-color: rgba(0,0,0,0.4);
  pointer-events: none;
}






#canvas_debug{
  position: absolute;
  display: block;
  top: 0px; 
  left: 0px;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#canvas_overlay {
  position: absolute;
  display: none;
  top: 0px; 
  left: 0px;
  background: transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}



/* -------------------------- */
/* landscape / screensize     */
/* -------------------------- */

#orientation_overlay {
  position: absolute;
  display: none;
  top: 0px; 
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: #000000;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#screensize_overlay {
  position: absolute;
  overflow: hidden;
  top: 0px; 
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 1001;
  background-color: black;
  color: #89a8cc;
  text-align: center;
  font-family: Arial, Helvetica;
  font-weight: normal;
  font-size: 14px;
}

#div_errors{
    position: absolute;
    display: none;
    left: 0px;
    top: 0px;
    z-index: 1002;
    font-family: Arial, Helvetica;
    width: 100%;
    height: 100%;
    opacity: 1;
    font-size: 14px;
    color: #ffffff;
    background-color: black;
}

#fader {
  position: absolute;
  top: 0px; 
  left: 0px;
  background-color: rgb(13, 100, 169);
  transform: transale3d(0,0,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  pointer-events: none;
}



/* -------------------------- */
/* loading                     */
/* -------------------------- */


#div_loading{
  position: absolute;
  display: block;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
 }

.loading_block{
  position: absolute;
  display: block;
  text-align: center;
  pointer-events: none;
 }

 .loading_logo{
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: -14px;
 }

.loading_logo_date{
    position: relative;
    display: inline-block;
    pointer-events: none;
    color: white;
    font-size: 16px;
    text-align: center;
    font-family: "Montserrat";
    font-weight: bold;
 }

 .loading_msg{
    position: relative;
    display: inline-block;
    pointer-events: none;
    color: white;
    font-size: 14px;
    text-align: center;
    font-family: "Montserrat";
 }

 .loading_bar{
    position: relative;
    display: inline-block;
    margin-top: 40px;
    width: 90%;
    height: 2px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
 }
.loading_bar_fill{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: white;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
 }

.loading_bar_frame{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
   
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
 }








#div_legal{
  position: absolute;
  display: none;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 100px;
  background-color: #02102e;
  touch-action: none;
  text-align: center;
  padding: 0px;
  font-size: 14px;
  font-family: "MontserratRegular";
  color: #ffffff;
  -webkit-text-size-adjust: 100%;
  -ms-transform-origin: 0% 100%; /* IE 9 */
  -webkit-transform-origin: 0% 100%; /* Chrome, Safari, Opera */
  transform-origin: 0% 100%;

}

.legal_table{
  width: 100%;
  height: 100%;
}

.legal_td_left{
  vertical-align: middle;
  text-align: left;
    white-space: nowrap;
}
.legal_td_right{
  text-align: right;
  padding-right: 10px;
  padding-left: 4px;
}


.legal_text {
  position: relative;
  display: inline-block;
  pointer-events: none;
  white-space: nowrap;
  color: #ffffff;
  margin-right: 4px;
  margin-left: 4px;
  font-family: "Montserrat";
}

.legal_link {
    text-decoration: none;
    pointer-events: auto;
    white-space: nowrap;
    color: #ffffff;
    font-family: "Montserrat";
}
.legal_link:hover {
    color: #faaf1e;
    cursor: pointer;
}
.legal_link:active {
    color: #faaf1e;
}

/*legal links for mobile*/
.legal_link_mobile {
    text-decoration: none;
    pointer-events: auto;
    white-space: nowrap;
    color: #ffffff;
    font-size: 14px;
    font-family: "Montserrat";
}

.legal_button_holder{
    position: absolute;
    display: block;
    width: 100%;
    height: 46px;
    top:-45px;
    left:-8px;
    text-align: center;
    pointer-events: none;
}

.legal_image{
    position: relative;
    vertical-align: middle;
    display: inline-block;
    margin: 5px;
    pointer-events: none;
}

.b_legal {
    position: relative;
    display: inline-block;
    min-width: 80px;
    top: 0px;
    height: 46px;
    line-height: 46px;
    padding-right: 20px;
    padding-left: 20px;
    pointer-events: auto;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none !important;
    white-space: nowrap;
    color: #ffffff;
    text-decoration: none;
    pointer-events: auto;
    font-family: "Montserrat";
    border-radius: 30px 30px 0px 0px;
    background-color: #02102e;
}

.b_legal:active {
    color: #faaf1e;
}

.b_legal:hover {
    color: #faaf1e;
}

.b_legal_mobile {
    position: relative;
    display: inline-block;
    top: 0px;
    height: 46px;
    min-width: 80px;
    pointer-events: auto;
    cursor: pointer;
    text-align: center;
    line-height: 45px;
    font-size: 16px;
    text-decoration: none !important;
    white-space: nowrap;
    color: #ffffff;
    padding-right: 20px;
    padding-left: 20px;
    text-decoration: none;
    pointer-events: auto;
    font-family: "Montserrat";
    border-radius: 30px 30px 0px 0px;
    background-color: #02102e;
}






/*==========================*/
/* popup legal */
/*==========================*/


.legal_panel{
    position: absolute;
    display: block;
    padding: 40px;
    padding-top: 60px;
    padding-left: 50px;
   
   /*
    max-height: calc(100% - 20px);
    max-width: 800px;
    width: calc(100% - 20px);
    */

    color: white;
    font-family: 'Montserrat';
    font-size: 16px;
    overflow-y: auto;
    background-color: #02102e;
    pointer-events: auto;
    text-align: center;
    -webkit-text-size-adjust: 100%;
    vertical-align: top;
    border: 2px solid white;
     transform-origin: 0% 0%;
  -webkit-transform-origin: 0% 0%;
  -ms-transform-origin: 0% 0%;

    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

label.checkbox input[type="checkbox"] {display:none;}
label.checkbox span {
    position: relative;
    display: inline-block;
    border: 2px solid white;
    border-radius:4px;
    width:30px;
    height:30px;
    background:none;
    vertical-align:middle;
    margin:3px;
    margin-right: 14px;
    float:left;
  color: white;
}
label.checkbox :checked + span {
  color: white;

}
label.checkbox :checked + span:after {
    content: "✔\fe0e";
    font-size: 20px;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 30px;
    color: #ffffff;
}

.legal_checkbox{
   position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    background:none;
    border-radius: 4px;
    border-color: white;
    border-width: 2px;
    margin-right: 10px;
    float: left;
    z-index: 10;
}

.b_agree{

    position: relative;
    display: inline-block;
    padding: 8px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 8px;
    margin-top: 20px;
    color: #1a3187;
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 22px;
    line-height: 24px;
    text-align: center;
    border-radius: 100px;
    pointer-events: auto;
    cursor: pointer;
    background-color: white;
}


.b_close{
    position: absolute;
    display: block;
    top: 0px;
    right: 0px;
    width: 36px;
    height: 36px;
    pointer-events: auto;
    cursor: pointer;

    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 38px;
    background-image: url('../media/images/b_close.svg');
    
  border: 1px solid white;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}



/* -------------------------- */
/* video                      */
/* -------------------------- */

.video_block{
  position: absolute;
  display: block;
  background-color: black;
}


#div_popups {
    position: absolute;
    display: none;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.6);
    pointer-events: auto;
}
#popup_video {
    position: absolute;
    display: none;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.8);
    pointer-events: auto;
}

.poster_large{
    position: absolute;
    display: block;
    background-repeat: no-repeat;
    background-color: #000000;
    background-position: center;
    background-image: url('../media/images/spinner.gif');
    box-sizing: border-box;
}


.poster_play{
  position: absolute;
  display: block;
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  margin-top: -50px;
  margin-left: -85px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../media/images/video_play.svg');
  cursor: pointer;
}
/*
.poster_play:hover{
  cursor: pointer;
  background-image: url('../media/images/video_play_over.svg');
}
*/
.poster_restart{
  position: absolute;
  display: block;
  width: 100px;
  height: 100px;
  top: 50%;
  right: 50%;
  margin-top: -50px;
  margin-right: -85px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../media/images/video_restart.svg');
  cursor: pointer;
}



.gif_block{
    position: absolute;
    display: block;
    top: 0px;
    left: 0px;
    width: 512px;
    height: 512px;
    background-color: #333333;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../media/images/spinner.gif');
}


#menu_block{
  position: absolute;
  display: block;
  top: 0px;
  left: 0px;
  padding-top: 80px;
  transform-origin: 0% 0%;
  -webkit-transform-origin: 0% 0%;
  -ms-transform-origin: 0% 0%;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

.menu_opened{
  position: absolute;
  display: block;
  top: 0px;
  left: 0px;
  background-color: #1f0d43;
  border-radius: 6px;
  border-radius: 0px 0px 20px 0px;
  overflow: hidden;
}

.menu_closed{
 position: absolute;
  display: block;
  top: 0px;
  left: 0px;
  overflow: hidden;
}


.menu_button{
  position: relative;
  display: block;
  width:100%;
  height:60px;
  padding: 8px;
  background-repeat: no-repeat;
  background-position: 8px, center;
  background-color: #331964;
  background-image:url('../media/images/menu_button.png'), linear-gradient(to right, #0c0326,#331964);
  cursor: pointer;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

.menu_button_closed{
  position: relative;
  display: block;
  width:100px;
  height:60px;
  padding: 8px;
  background-repeat: no-repeat;
  background-position: 8px;
  background-image:url('../media/images/menu_button.png');
  cursor: pointer;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

.menu_item{
  position: relative;
  display: block;
  width:100%;
  padding: 8px;
  margin-top: 2px;
  padding: 8px;
  padding-left: 20px;
  padding-right: 20px;
  font-family: "Montserrat";
  font-size: 24px;
  color: white;
  background-color: #331964;
  pointer-events: auto;
  background-image: linear-gradient(to right, #0c0326,#331964);
  cursor: pointer;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */

}

.menu_item:hover{
  background-image: linear-gradient(to right,#331964, #4e2698);
  cursor: pointer;

}





