﻿html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;    
}

p {
    padding: 0;
    margin: 0;
}

.aside {
    background-color:antiquewhite;
    background-image: url(../css/images/ui-bg_dots-small_100_c07878_2x2.png);
    width: 15%;
    height: 100%;
    float: left;        
    overflow: hidden;
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

.border {
    background-image: url(../images/background/boxes2_000000_12x10.png);    
    float:left;
    height: 100%;
    width: 1.5%;
}

.section {
    background-color: antiquewhite;
    background-image: url(../css/images/ui-bg_3D-boxes_100_ae9029_12x10.png);
    background-position: center;
    background-size:auto;
    width: 83.5%;
    height: 730px;
    height: 100%;    
    float: left;   
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

.label {
    margin-left: 0%;
    margin-right: 3%;
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
}

.divSel {
    overflow: hidden;
    margin-left: 3%;
    width: 93%;
}

.options {
    height: 44%;
    margin-left:3%;
    margin-right:4%;
}

.ground1, .ground2, .ground3, .ground4 {    
    width:50%;
    height: 50%;
    float: left;    
    background-size: cover;
    background-repeat: no-repeat;
}

.ground1 {
    background-image: url(../images/minback/1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.ground2 {
    background-image: url(../images/minback/d5_back.jpg);    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.ground3 {
    background-image: url(../images/minback/2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.ground4 {        
    background-image: url(../images/minbgd/6.jpg);    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#attempts, #open, #time {
    margin-left:20px;
    margin-right:10px;
    font-weight: bold;
    font-size: 40px;         
}

.data {
    height: 12%;    
    overflow-y: auto;
}

.data div {
    float:left;
}
.data div:first-child {
    width: 15%;
    font-size: 20px;        
}
.data div:nth-child(2) {
    width: 15%;    
}
.data div:nth-child(3) {
    width: 40%;
    text-align: center;
}
.data div:nth-child(4) {
    float: right;
    width: 30%;    
    text-align: center;
}
.fons {
    font-size: 30px;
}
    
button {
    width: 92%;
    margin-left: 3%;            
    margin-bottom: 15px;
    margin-top: 5px;
}

 button:active, button:focus, .select:active, .select:focus {
        outline: none !important;
    }
    button::-moz-focus-inner, .select::-moz-focus-inner {
        border: 0 !important;
    }

/*---------------------Game Block-----------------------*/

#ok {
    width: 55px;
    height: 38px;    
    font-size: 28px;
    padding: 0;
    text-align: center;
    border: 2px solid black;
    border-radius: 15px;
}

.game-block {    
    width: 100%;
    height: 88%;
}

.card {
    float: left;
    font-size: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

/*-------------------End Game Block---------------------*/

/*---------------------Settings-------------------------*/

.sett {        
    max-height:100%;
    overflow-y:auto;
    height:auto;    
             
}

input[type=radio] {
    float: left;    
}

.radio {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    position: relative;
    background-image: url(../images/background/dots-small1_000000_2x2.png);
    color: #666;
    top: 1px;
    height: 25px;
    width: 25px;
    border: 2px solid white;
    border-radius: 50px;
    cursor: pointer;
    margin-right: 7px;
    outline: none;   
}
    .radio:checked::before {
        position: absolute;
        font: 22px/1 'Open Sans', sans-serif;
        left: 5px;
        color: green;
        top: -1px;
        content: '\02143';
        transform: rotate(40deg);        
    }
    .radio:hover {
        background-image: url(../images/background/dots-small3_f5868b_2x2.png);        
    }
    .radio:checked {
        background-image: url(../images/background/dots-medium_fddfdf_4x4.png);
    }


.size div div {        
    width: 60px;
    height: 90px;
}

.size div {
    float: left;    
}

.size2 div {
    float: left;
}

.wdt {
    width: 35.5px;
}

.wdh {
    width: 60px;
    height: 90px;
}

.img {
    width: 100%;
    height: 100%;       
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 6px;   
}

.img:active {
    width: 240px;
    height: 360px;   
    margin-right: 60px;
    position: absolute;
    z-index: 999;
    border-radius: 25px;            
}

.img-background1, .img-background2,
.img-background3, .img-background4,
.img-background5, .img-background6,
.img-background7, .img-background8,
.img-background9, .img-background10,
.img-background11, .img-background12,
.img-background13, .img-background14,
.img-background15, .img-background16,
.img-background17, .img-background18{     
    float: left;
    width: 60px;
    height: 90px;    
    border: 1px solid black;      
    background-size: cover;
}

.img-background1, .img-background2,
.img-background3, .img-background4,
.img-background5, .img-background6,
.img-background7 {
    background-size: auto;
}

.img-background1:active, .img-background2:active,
.img-background3:active, .img-background4:active,
.img-background5:active, .img-background6:active,
.img-background7:active, .img-background8:active,
.img-background9:active, .img-background10:active,
.img-background11:active, .img-background12:active,
.img-background13:active, .img-background14:active,
.img-background15:active, .img-background16:active,
.img-background17:active{        
    background-position: center;
    background-size: cover;
    width: 400px;
    height: 400px;        
    position: absolute;    
    margin-top: -300px;
    z-index: 999;    
}
.img-background18:active{        
    background-position: center;
    background-size: cover;
    width: 400px;
    height: 400px;        
    position: absolute;        
    margin-top: -300px;    
    z-index: 999;
}
.img-background11:active, .img-background12:active,
.img-background10:active {
    margin-left: -300px;
}

.img-background1:active, .img-background2:active,
.img-background3:active, .img-background4:active,
.img-background5:active, .img-background6:active,
.img-background7:active {
    background-size: auto;
}

.img-background1 {
    background-image: url(../images/background/boxes1_a06f30_12x10.png);
}
.img-background2 {
    background-image: url(../images/background/boxes2_000000_12x10.png);
}
.img-background3 {
    background-image: url(../images/background/boxes3_2ceceb_12x10.png);
}
.img-background4 {
    background-image: url(../images/background/boxes4_78a6c0_12x10.png);
}
.img-background5 {
    background-image: url(../images/background/diamond_1966f69_10x8.png);
}
.img-background6 {
    background-image: url(../images/background/dots-small1_000000_2x2.png);
}
.img-background7 {
    background-image: url(../images/background/layered-circles1_000000_13x13.png);
}
.img-background8 {
    background-image: url(../images/minbgd/1.jpg);
}
.img-background9 {
    background-image: url(../images/minbgd/2.jpg);
}
.img-background10 {
    background-image: url(../images/minbgd/3.jpg);
}
.img-background11 {
    background-image: url(../images/minbgd/4.jpg);
}
.img-background12 {
    background-image: url(../images/minbgd/5.jpg);
}
.img-background13 {
    background-image: url(../images/minbgd/6.jpg);
}
.img-background14 {
    background-image: url(../images/minbgd/7.jpg);
}
.img-background15 {
    background-image: url(../images/minbgd/8.jpg);
}
.img-background16 {
    background-image: url(../images/minbgd/9.jpg);
}
.img-background17 {
    background-image: url(../images/minbgd/10.jpg);
}
.img-background18 {
    background-image: url(../images/minbgd/11.jpg);
}

.backgound {
    float: left;    
}
.backgound div {
    float: left;        
}

.clear {
    clear: left;    
}


/*-------------------End Settings-----------------------*/

/*--------------------Rotate 3D-------------------------*/

.card { /* поворачивать будем общий контейнер */
    float: left;
    transition: transform 0.5s;   
    transform-style: preserve-3d; 
}

    .card.flip {
        transform: rotateY( 180deg );
    }

figure {
    width: 100%;
    height: 100%;
    position: absolute;    
    display: block;
    backface-visibility: hidden;             
}

.back {
    top: -20px;
    left: -40px;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    filter: contrast(112%);
}

.front {
    top: -20px;
    left: -40px;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    transform: rotateY( 180deg );     
    filter: contrast(112%);
}

/*----------------------Flip Switch--------------------------*/
.fswitch {
    margin-top: 15px;
    margin-left: 8%;
    float:left;
}

.memory {    
    margin-top: 15px;    
    float:left;
}
.flipswitch {
  position: relative;
  width: 84px;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select: none;
}
.flipswitch input[type=checkbox] {
  display: none;
}
.flipswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid black;
  border-radius: 19px;
}
.flipswitch-inner {
  width: 200%;
  margin-left: -100%;
  -webkit-transition: margin 0.3s ease-in 0s;
  -moz-transition: margin 0.3s ease-in 0s;
  -ms-transition: margin 0.3s ease-in 0s;
  -o-transition: margin 0.3s ease-in 0s;
  transition: margin 0.3s ease-in 0s;
}
.flipswitch-inner:before, .flipswitch-inner:after {
  float: left;
  width: 50%;
  height: 30px;
  padding: 0;
  line-height: 30px;
  font-size: 18px;
  color: white;
  font-family: Trebuchet, Arial, sans-serif;
  font-weight: bold;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;  
}
.flipswitch-inner:before {
  content: "ON";
  padding-left: 8px;
  background: url(../css/images/ui-bg_layered-circles_100_7298cd_13x13.png);
  color: #8e4d4d;
}
.flipswitch-inner:after {
  content: "OFF";
  padding-right: 8px;
  background-color: #EBEBEB;
  background: url(../css/images/ui-bg_layered-circles_100_eb1b24_13x13.png);
  color: black;
  text-align: right;
}
.flipswitch-switch {
  width: 41px;
  margin: -5.5px;
  background: url(../css/images/ui-bg_3D-boxes_100_bb7f7f_12x10.png);
  border: 1px solid black;
  border-radius: 19px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 51px;
  -webkit-transition: all 0.3s ease-in 0s;
  -moz-transition: all 0.3s ease-in 0s;
  -ms-transition: all 0.3s ease-in 0s;
  -o-transition: all 0.3s ease-in 0s;
  transition: all 0.3s ease-in 0s;
}
.flipswitch-switch:hover{
    background: url(../css/images/ui-bg_carbon-fiber_100_eae5a0_8x9.png);
}
.flipswitch-cb:checked + .flipswitch-label .flipswitch-inner {
  margin-left: 0;
}
.flipswitch-cb:checked + .flipswitch-label .flipswitch-switch {
  right: 0;
}


/*--------------------End Flip Switch------------------------*/

/*-------------Title-------------*/

/*-----------------------myTitleLove-------------------------*/
.myTitleLove {
    color: #A7DD3C;
    background: none;
    text-shadow: 2px 0 0px #800040, 3px 2px 0px rgba(77,0,38,0.5), 3px 0 3px #FF002B,
                 5px 0 3px #800015, 6px 2px 3px rgba(77,0,13,0.5), 6px 0 9px #FF5500,
                 8px 0 9px #802A00, 9px 2px 9px rgba(77,25,0,0.5), 9px 0 18px #FFD500,
                 11px 0 18px #806A00, 12px 2px 18px rgba(77,66,0,0.5), 12px 0 30px #D4FF00,
                 14px 0 30px #6A8000, 15px 2px 30px rgba(64,77,0,0.5), 15px 0 45px #80FF00,
                 17px 0 45px #408000, 17px 2px 45px rgba(38,77,0,0.5);
    text-align: center;
    margin-left: 2%;
    font-size: 25px;    
}

/*---------------------myTitleGrave---------------------*/
.myTitleGrave{
    font-size: 35px;
    color: #202c2d;
    background: none;    
    text-shadow: 0 1px #808d93, -1px 0 #cdd2d5, -1px 2px #808d93, -2px 1px #cdd2d5, 
        -2px 3px #808d93, -3px 2px #cdd2d5, -3px 4px #808d93, -4px 3px #cdd2d5, -4px 5px #808d93, 
        -5px 4px #cdd2d5, -5px 6px #808d93, -6px 5px #cdd2d5, -6px 7px #808d93, -7px 6px #cdd2d5, 
        -7px 8px #808d93, -8px 7px #cdd2d5;        
    margin-left: 3%;   
    margin-bottom: 5px; 
    margin-top: 5px;
}

/*---------------------myTitleDracula---------------------*/
.myTitleDracula{
    color: #92a5de;    
    background: -webkit-gradient(linear, left top, left bottom, from(#212124), to(#c288d4));
    background: -webkit-linear-gradient(top, #212124, #c288d4);
    background: -moz-linear-gradient(top, #212124, #c288d4);    
    background: -o-linear-gradient(top, #212124, #c288d4);
    background: none;
    text-shadow: 0px 0px 0 #899CD5, 1px 1px 0 #8194CD, 2px 2px 0 #788BC4,
                3px 3px 0 #6F82BB, 4px 4px 0 #677AB3, 5px 5px 0 #5E71AA, 6px 6px 0 #5568A1, 
                7px 7px 0 #4C5F98, 8px 8px 0 #445790, 9px 9px 0 #3B4E87, 10px 10px 0 #32457E, 
                11px 11px 0 #2A3D76, 12px 12px 0 #21346D, 13px 13px 0 #182B64, 14px 14px 0 #0F225B, 
                15px 15px 0 #071A53, 16px 16px 0 #02114A, 17px 17px 0 #0B0841, 18px 18px 0 #130039, 
                19px 19px 0 #1C0930, 20px 20px 0 #251227, 21px 21px 20px rgba(0,0,0,1), 
                21px 21px 1px rgba(0,0,0,0.5), 0px 0px 20px rgba(0,0,0,.2);
    text-align: center;
    font-size: 50px;    
    border-radius: 8px;       
}


/*---------------------myTitleComic---------------------*/
.myTitleComic{
    font-size: 35px;
    color: #bc2e1e;
    background: none;
    text-shadow: 0 1px 0px #378ab4, 1px 0 0px #5dabcd, 1px 2px 1px #378ab4, 
    2px 1px 1px #5dabcd, 2px 3px 2px #378ab4, 3px 2px 2px #5dabcd, 3px 4px 2px #378ab4, 
    4px 3px 3px #5dabcd, 4px 5px 3px #378ab4, 5px 4px 2px #5dabcd, 5px 6px 2px #378ab4, 
    6px 5px 2px #5dabcd, 6px 7px 1px #378ab4, 7px 6px 1px #5dabcd, 7px 8px 0px #378ab4, 
    8px 7px 0px #5dabcd;
    text-align: center;    
}




