*{
    font-family: 'Neucha', cursive;
}

body{
    margin: 0;
    background-image: url(images/background.jpg);
}

img{
    width: 100%;
}

h1, h2, h3, h4, h5, h6, p, a, li{
    font-family: 'Neucha', cursive;
}

h1{
    font-size: 3em;
}

#seat1 p, #seat2 p, #seat3 p, #seat4 p{
    display: inline-block;
    margin-left: 10px;
}

.popup{
    position: absolute;
    z-index: 999999;
    left: 42%;
    top: 50%;
    display: none;
}

#yourGo{
    font-size: 3em;
    min-width: 40%;
}

#table_stats{
    position: absolute;
    z-index: 99999;
    width: 57% !important;
    left: 21%;
    top:22%;
    background-color: white;
    display: none;
}

#main table{
    width: 100%;
}

.mdl-data-table td{
    
    border-right: 1px solid rgba(0,0,0,.12);
}

.mdl-data-table th{
    font-size: 19px;
}

.title{
    text-align: center;
}

h1.title{
    padding: 2% 10% 3.5%;
    text-align: center;
    font-size: 4em;
    display: inline-block;
    background-image: url(images/title-png.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.table{
    text-align: center;
    min-height: 100px;
}

#hand{
        width: 100%;
    height: 300px;
    position: absolute;
    
    z-index: 998;
    background-color: aliceblue;
}

.fs-gal-view i{
        font-size: 30px;
    color: white;
}

.article{
    font-size: 1.4em;
}

.article p{
    font-size: 1.5em;
}

.article li{
    margin: 1.1em 0;
}

a.menu_link{
    font-size: 1.3em;
}

.pagination{
    padding: 20px;
    text-align: center;
}

.pagination p{
    margin: 5px;
    font-size: 1.5em;
    text-decoration: none;
    padding: 5px 10px;
    background-color: #636363;
    color: white;
    border-radius: 6px;
    display: inline-block;
    cursor: pointer;
}

.pagination a{
    margin: 5px;
    font-size: 1.5em;
    text-decoration: none;
    padding: 5px 10px;
    background-color: #636363;
    color: white;
    border-radius: 6px;
    display: inline-block;
}

.pagination p.active{
    
    background-color: black;
}

.pagination a.active{
    
    background-color: black;
}

.filter-container{
    padding: 5px;
}

.filter-container>.select-box{
    display: inline-block;
}

.select-box{
    padding: 10px;
    margin:5px;
    border: 1px solid black;
    border-radius: 10px;
    text-align: center;
}

.select-box select, .select-box p{
    font-size: 13px;
}

div.count{
    text-align: left;
}

.img_box{
    width: 19%;
    display: inline-block;
    position: relative;
    height: 426px;
    overflow: hidden;
}

.img_box img.view{
    position: fixed;
    background-color: aliceblue;
    border-radius: 10px;
    z-index: 999;
    right: 14%;
    width: 24%;
    bottom: 10%;
    display: none;
}

#deck-container .img_box{
    width: 100%;
    display: inline-block;
    position: relative;
    height: 70px;

}

.img_box:hover .view{
    display: block;
}

.card_box{
    width: 19.5%;
    height: auto;
}

.card_box img{
    border-radius: 6%;
}

.use{
    filter: contrast(9%);
}

.button_bar{
    position: absolute;
    bottom: 2px;
    z-index: 99;
}

#description p{
    margin: 0;
    flex:none;
    width: 100%;
}

#panel-cards{
    display: none;
}

.half{
	width: 49%;
	display: inline-block;
	vertical-align: top;
}

.third{
    width: 30%;
    display: inline-block;
    vertical-align: top;
    margin: 1%;
}

.container{
    background-color: white !important;
    padding: 30px;
}

.server-container{
    margin: 2%;
}

.interface{
    text-align: center;
}

.col{
    position: relative;
    display: inline-block;
    width: 48.9%;
    text-align: center;
    margin-top: 6%
}


#card{
    
    background-color: blueviolet;
	position: sticky;
	border-radius: 48px;
    background-repeat: no-repeat;
    background-size: cover;
    width: 600px; height: 885px; display: inline-block;
}

#cards{
    text-align: center;
}

#power{
    position: absolute;
    left: 53px;
    top: 5px;
    width: 100px;
}

#power p{
    font-size: 61px;
    font-weight: 900;
    margin:1em 0;
        padding-top: 22px;
}

#name{
    position: absolute;
    top: 50px;
    left: 205px;
    width: 339px;
}

#name p{
	font-weight: 900;
    font-size: 30px;
    margin: 1.5em 0;
}

#description{
    padding: 5px;
    margin-bottom: 95px;
    height: 181px;
    margin-left: 95px;
    margin-right: 99px;
    display: flex;
    align-items: center;
}

#rasa{
	
    position: absolute;
    bottom: 12px;
    width: 100%;
    text-align: center;
    
}

#rasa p{
    font-weight: 900;
    font-size: 30px;
    margin:1.2em 0;
}

#user_panel{

    position: fixed;
    display: inline-block;
    bottom: 1%;
    right: 1%;
    z-index: 99;
    width: 9%;
}

.wrapper{
    overflow: hidden;
}

.col-1{
    width: 19.9%;
    bottom: 0;
    top:0;
    position: absolute;
    margin-top: 10px;

}

.col-2{
    width: 59.9%;
    bottom: 0;
    top:0;
    position: absolute;
}

.row{
    min-height: 130px;
    max-height: 300px;
    margin-top: 10px;
    text-align: center;
}

.on-bottom{
    width: 100%;
    position: absolute;
    bottom: 2%
}

.mm-listitem img{
    position: absolute;
    display: none;
    z-index: 99;
}

.mm-listitem img:hover{
    display: block;
}

.mm-listitem i:hover+img{
    display: block;
}

#card-container{
    width: 86%;
    overflow-y: scroll;
    max-height: 600px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
}

#deck-container{
    width: 13%;
    overflow-y: scroll;
    max-height: 600px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    float: right;
}

.filters .select-box{
    width: 10%;
    display: inline-block;
}

#last-death{
    position: absolute;
    z-index: 9999;
    top: -100%;
    display: none;
}

#last-death img{
    display: inline-block;
    width: 50%;
}

#view_last_death:hover+#last-death{
    display: block;
}

#last-death:hover{
    display: block;
}



.table_row{
    border-top: 2px solid black;
    border-bottom: 2px solid black;   
}

.table_row p{
        margin: 0;
    padding: 10px;
}

.table_row>div{
    width: 49.9%;
    text-align: center;
    display: inline-block;
    vertical-align: middle;

}

.titles h3{
    width: 49%;
    text-align: center;
    display: inline-block;
    margin: 2px;
}

.table{
    border: 2px black solid;
}

.turn_detector{
        margin: 5px;
    font-size: 20px;
    display: none;
}



.card_on_table, .sortable-placeholder{
    position: relative;
    display: inline-block;
    
    height: 100px;
    border-radius: 20px;
    background-position: center 0;
    background-size: cover;
}

#death_deck{
    height: 100px;
    border-radius: 10px;
    background-color: grey;
    margin-top: 5%;
}

#death_deck:after{
    content: 'Отбой';
    font-size: 1.5em;
}

#death_deck .card_on_table{
    display: none !important;
}

#seat1 .card_on_table, #seat1 .sortable-placeholder{
    width: 15.8%;
    margin: 0.4%;
}

#seat2 .card_on_table, #seat2 .sortable-placeholder{
    width: 15.8%;
    margin: 0.4%;
}

#hand .card_on_table{
    width: 19%;
    margin: 0.4%;
}

#seat3 .card_on_table, #seat3 .sortable-placeholder{
    width: 70%;
    margin: 2.4%;
}
#seat4 .card_on_table, #seat4 .sortable-placeholder{
    width: 70%;
    margin: 2.4%;
}

#seat1 .table .card_on_table img{
    display: none;
    position: absolute;
    width: 170%;
    bottom: -136%;
    right: -27%;
    z-index: 999;
}

#seat2 .table .card_on_table img{
    display: none;
    position: absolute;
    width: 170%;
    bottom: -316%;
    right: -27%;
    z-index: 999;
}

#seat4 .table .card_on_table img{
    display: none;
    position: absolute;
    width: 117%;
    bottom: -254%;
    left: -117%;
    z-index: 999;
}

#seat4 .table li:last-child img{
    bottom: -90%;
}

#seat4 .table li:first-child img{
    bottom: -254%;
}

#seat3 .table .card_on_table img{
    display: none;
    position: absolute;
    width: 117%;
    bottom: -254%;
    right: -117%;
    z-index: 999;
}

#seat3 .table li:last-child img{
    bottom: -90%;
}

#seat3 .table li:first-child img{
    bottom: -254%;
}

.view{
    position: absolute;
    font-size: 15px;
    padding: 6px 10px;
    background-color: aliceblue;
    border-radius: 10px;
    bottom: 0;
    right: 0;
}

.attack{
    position: absolute;
    left: 7px;
    top: 8px;
    font-size: 2em;
    width: 23%;
    text-align: center;
    border-radius: 24px;
}


.view:hover + img{
    display: inline !important;
}

.table .card_on_table img:hover{
    display: inline !important;
}


.table .card_on_table button{
    position: absolute;
    bottom: -30%;
    z-index: 1000;
}


#hand .card_on_table:hover img{
    display: inline;
}

#hand .card_on_table img{
    display: none;
    position: absolute;
    width: 170%;
    bottom: 32%;
    right: -27%;
    z-index: 999;
}

#hand .card_on_table input{
    display: none;
}

#passGame{
    background: rgba(255, 0, 0, 0.8);
}

.pass_detector{
    margin: 5px;
    font-size: 20px;
    display: none;
}





button.auth{
    float: right;
}

@media (max-width: 1000px){
    .half{
        width: 100%;
    }
}