html, form
{
    height:100%;
}
body
{
    text-align: left;
    margin:0px;
    padding:0px; 
    position:relative;
    font-family: Trebuchet MS, sans-serif;
    font-size: 14px;
    background:url(/images/bg.jpg) top center no-repeat #d3cabf;
    color:#353535;
    height:100%;
}

a, a:focus, a:active { 
    outline-width: 0px;
    outline-style: none;
    color:#5a87b0;
}

a:hover
{
    color:#ff7f00;
}

#page
{
    width:1100px;
    margin:0 auto;
    position:relative;
}

#request, #requestForm
{
    font-size:150%;
    text-align:center;
    margin:15px;
}

#request div, #requestForm div
{
    font-size:80%;
    cursor:pointer;
    margin:0px 10px;
    display:inline-block;
}

#requestForm
{
    display:none;
}

#requestForm input
{
    padding:5px;
    margin-right:10px;
}

#lk
{
    font-family: 'DS Goose', sans-serif;
    color:#e4002f;
    display:inline-block;
    font-size:20px;
    position:absolute;
    right:355px;
    top:61px;
    transform:rotate(-2deg);
    
}

#menu
{
    position:absolute;
    width:170px;
    font-family: 'DS Goose', sans-serif;
    left: -225px;
    top: -30px;
}

.menu_item
{
    background:url(/images/menu.png);
    width:135px;
    height:45px;
    padding:10px;
    padding-top: 20px;
    padding-left:25px;
}

.menu_item a, .menu_item a:focus, .menu_item a:active
{
    color:White;
    text-decoration:none;
    font-size:20px;    
}

.menu_item a:hover
{
    color:#f7c089;
}

.menu_item a span
{
    font-size:14px;
    display:block;    
}

.menu_item a span:first-child
{
    text-transform:capitalize;
    font-size:20px;    
    padding-top:7px;
}

.menu_item a span:last-child
{
    font-size:20px;    
    padding-top:7px;
}

.menu_item a span:nth-child(2)
{
    padding-left:20px;
    padding-top: 0px;
}

.dz-link a span
{
    font-size: 19px !important;
    padding-top: 4px !important;
    line-height: 16px !important;
}

#tablet
{
    width:610px;
    height:455px;
    position:absolute;
    top:130px;
    left:245px;
}

#loginForm
{
    width:250px;
    margin:0 auto;
    margin-top:100px;
    font-size:110%;
}

#loginForm input
{
    display:block;
    padding:8px;
    margin:5px 0px;
    margin-bottom:10px;
    width:235px;
    border-radius:3px;
    box-shadow:0px 2px 3px rgba(0, 0, 0, 0.3);
    border:0px;
}

#loginError, #addError
{
    margin:5px 0px;
}

.btn, .btn:focus, .btn:active
{
    height:22px;
    background:linear-gradient(to bottom, #eee730, #dcbe36);
    cursor:pointer;
    text-align:center;
    display:inline-block;
    padding:14px 20px;
    margin-bottom:4px;
    font-family: 'DS Goose', sans-serif;
    color:White;
    border-radius:25px;
    font-size:20px;
    box-shadow:0px 2px 3px rgba(0, 0, 0, 0.3);
    text-decoration:none;
}
.btn:hover
{
    color:White;
    box-shadow:0px 2px 5px rgba(0, 0, 0, 0.5);
}

.tab-btn
{
    margin-right:15px;
}

.list-btn, .list-btn:focus, .list-btn:active
{
    display:block;
    margin-bottom:10px;
}

.content
{
    padding:5px 10px;
}

/**** Pages Checker Style ****/
.pcs 
{
	color:#5a87b0;
    font-size: 21px;
    font-weight: 300;
	text-decoration:none;
	padding:0px 5px;
	cursor:pointer;
}
.pcs_selected
{
	background:#5a87b0;
	color:white;
	padding:0px 7px;
	cursor:default;
}
.pcs:hover
{
	color:#ff7f00;
	cursor:pointer;
	font-weight:400;
}
.pcs_selected:hover
{
    color:White;
    cursor:default;
	font-weight:300;
}
/********************/


.checkbox
{
    background:url(/images/checkbox.png) 0px 0px no-repeat;
    
    margin:5px;
    width:90px;
    height:22px;
    padding-top:3px;
    font-size:120%;
    padding-left:30px;
    text-align:left;
    user-select:none;
}

.checkbox:hover
{
    background-position:0px -25px;
    cursor:pointer;
}

.checkbox-checked
{
    background-position:0px -50px;
}

.checkbox-checked:hover
{
    background-position:0px -75px !important;
}

h1, h2
{
    font-family: 'DS Goose', sans-serif;
    font-weight:400;
    margin-top:5px;
    font-size:24px;
}
h1
{
    margin-bottom:10px;
}
h2
{
    margin-bottom:5px;
}

.window
{
    width:568px;
    height:350px;
    padding:10px;
    top:78px;
    left:11px;
    position:absolute;
    z-index:10;
    display:none;
    background:rgba(235,235,235,0.9);
    box-shadow:0px 1px 4px rgba(0, 0, 0, 0.3);
}

.window input
{
    display:block;
    padding:8px;
    margin:5px 0px;
    margin-bottom:10px;
    width:235px;
    border-radius:3px;
    box-shadow:0px 2px 3px rgba(0, 0, 0, 0.3);
    border:0px;
}

.window .inputBox
{
    display:inline-block;
    vertical-align:top;
    width:270px;
    margin-right:10px;
}

#lkbtn
{
    display:inline-block;
    vertical-align:top;
    width:240px;
    height:80px;
    padding-top:15px;
    padding-left:10px;
    background:url(/images/best.png) no-repeat;
    margin:0px 20px;

}

#lkbtn a, #lkbtn a:focus, #lkbtn a:active
{
    color:black;
    font-family: 'DS Goose', sans-serif;
    text-decoration:none;
    font-size:24px;
    background:url(/images/key.png) 3px 3px no-repeat;
    padding-left:30px;
}

#best
{
    display:inline-block;
    vertical-align:top;
    width:240px;
    height:88px;
    padding-top:7px;
    padding-left:10px;
    background:url(/images/lkbtn.png) no-repeat;
    margin-left:30px;
}

#best a, #best a:focus, #best a:active
{
    color:white;
    font-family: 'DS Goose', sans-serif;
    text-decoration:none;
    font-size:16px;
    background:url(/images/star.png) 5px 11px no-repeat;
    padding-left:30px;
    display:block;
}

#best a span
{
    display:block;
    font-size:20px;
}

#avatar
{
    width:200px;
    display:inline-block;
    vertical-align:top;
}

#pic
{
    border:7px solid white;
    border-radius:50%;
    width:150px;
    height:150px;
    background:#DDD;
    overflow:hidden;
    margin:0px 15px 3px;
}

#pic img
{
    border-radius:50%;
}

#avatarbtn
{
    width:27px;
    height:25px;
    margin:0 auto;
    background:url(/images/avatarbtn.png);
    margin-bottom:5px;
    cursor:pointer;
}

#shadow
{
    width:200px;
    height:15px;
    background:url(/images/shadow.png);
}

#profile
{
    width:390px;
    display:inline-block;
    vertical-align:top;
    font-size:15px;
}

.name
{
    font-family: 'DS Goose', sans-serif;
    color:#4569b1;
    font-size:30px;
    margin-bottom:10px;
}

#home
{
    position: absolute;
    display: block;
    width: 250px;
    height: 90px;
    top: 0px;
    left: 110px;
}

.list-item, .mini-btn
{
    margin: 4px 2px 0px 2px;
    cursor: pointer;
    background: linear-gradient(to bottom, #eee, #ccc);
    padding: 5px 7px;
    border-radius: 20px;
    min-width: 15px;
    display: inline-block;
    vertical-align: top;
    text-align: center;    
    font-size: 82%;    
    user-select: none;
}
.mini-btn
{
    font-size: 100%;
}
.list-item.checked
{
    background: linear-gradient(to bottom, #e7de27, #cdaf2e);
    color: White;
}
.label
{
    display: inline-block;
    vertical-align:middle;
    font-weight:bold;
    margin-bottom:5px;
}
.check-list, .radio-list, .count-input, .speed-input
{
    display: inline-block;
    vertical-align:middle;
}
.settings-row
{
    margin: 5px 0px;
    user-select: none;
    font-size: 16px;
}
.input
{
    font-family: 'DS Goose', sans-serif;
    padding: 2px 5px;
    margin: 3px 5px;
    width: 30px;
    font-size: 100%;
    text-align: center;
    user-select: none;
    vertical-align:middle;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
.speed-input span
{
    height: 30px;
    min-width: 1px;
    padding: 0px 1px;
    margin: 0px 0px 0px 0px;
    border-right: 1px solid #eee;
    display: inline-block;
    vertical-align: top;
    background: linear-gradient(to bottom, #eee, #ccc);
    cursor:pointer;
}
.speed-input .n5
{
    background: linear-gradient(to bottom, #ddd, #bbb);
}
.speed-input .n10
{
    background: linear-gradient(to bottom, #ccc, #aaa);
}
.speed-input span.selected {
    background: linear-gradient(to bottom, #e7de27, #cdaf2e);
    color: White;
}
.speed-input span:hover
{
    background: linear-gradient(to bottom, #e7de27BB, #cdaf2eBB);
}
.speed-input b
{
    margin: 5px;
    min-width:25px;
    display:inline-block;
    vertical-align:middle;
}
.label.tumbler 
{
    cursor:pointer;
}
.loader
{
    width:128px;
    height:15px;
    background:url(/images/loader.gif) no-repeat;
    margin:100px auto;
}
.input-loader {
    background: white url(/images/loader.gif) no-repeat center right 10px;
}

.tournament-tabs
{
    position:absolute;
    right:10px;
    top:10px;
}
.tournament-scrollbox
{
    max-height: 400px;
    overflow:auto;
}

.child-list
{
    width: 250px;
    display: inline-block;
    vertical-align: top;
}
.child-list .items-list
{
    height: 400px;
}
.chat-block {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 265px);
    padding-left: 10px;
    max-height: 400px;
    overflow: auto;
}

.avatar
{
    width:50px;
    height:50px;
    overflow:hidden;
    border-radius:50%;
    text-align:center;
    display:inline-block;
    vertical-align:top;
}
.message
{
    margin-bottom:15px;
}
.message-text
{
    display:inline-block;
    vertical-align:top;
    padding:0px 10px;
    width:calc(100% - 70px);
}
.message-date
{
    font-size:80%;
    text-align:right;
    color:#333;
    margin-bottom:5px;
}
.message-name 
{
    font-weight:bold;
}
.chat
{
    
}
.chat-scrollbox 
{
    height: 340px;
    overflow:auto;
}
.chat-panel 
{
    padding-top:10px;
}
.chat-panel .mini-btn
{
    width:66px;
}
.chat-panel textarea 
{
    width: calc(100% - 110px);
    max-width: calc(100% - 110px);
    min-width: calc(100% - 110px);
    height:30px;
    max-height:30px;
    min-height:30px;
    padding: 8px;
    border-radius: 3px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    border: 0px;
}
.new-messages 
{
    position:absolute;
    right:5px;
    top:5px;
    padding: 4px 5px 2px;
    color:White;
    font-size:80%;
    background:#4569b1;
    border-radius: 50%;
        
}

#miniChat
{    
    z-index:10;    
    position:fixed;
    bottom:5px;
    right:5px;
}

#miniChat .mini-chat-bg 
{
    background:white;
    width:300px;
    height:260px;
    padding:5px;
    border-radius:5px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.6);
}

#miniChat .chat-scrollbox  
{
    height:200px;
}

#miniChat .mini-chat-toolbar 
{
    position:absolute;
    right:8px;
    bottom:2px;
}

#miniChat .mini-chat-toolbar img 
{
    width:16px;
    height:16px;
    margin-left:8px;
    cursor:pointer;
}

.new-message
{
    width:64px;
    height:64px;
    border-radius:50%;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.6);
    cursor:pointer;
    animation: 0.5s ease 0s infinite alternate newMessage;
}

@keyframes newMessage { from { width:64px;height:64px; } to { width:78px;height:78px; }  }

.shop-list
{
    width:300px;
    display:inline-block;
    vertical-align:top;
}

.shop-block {
    width: 285px;
    display: inline-block;
    vertical-align: top;
    padding-left: 10px;
}

.shop-block input[type=text]
{
    padding: 8px;
    border-radius: 3px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    border: 0px;
    width:260px;
    margin-bottom:10px;
}

.shop-block input[type=number]
{
    padding: 8px;
    border-radius: 3px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    border: 0px;
    width:40px;
}

.shop-block input[type=file], .school-settings input[type=file]
{
    display:none;
}

.shop-price
{
    margin-bottom: 5px;
}

.shop-block .mini-btn
{
    vertical-align:middle;
}
.shop-img
{
    margin:10px;
    height:180px;
    width:180px; 
    text-align:center;
    overflow:hidden;
}
.shop-img img 
{
    height:180px;
}
.mini-loader
{
    margin-top:10px;
    margin-left:10px;
}

.shop-scrollbox
{
    height:400px;
    overflow:auto;
}

.shop-item
{
    display:inline-block;
    vertical-align:top;
    text-align:center;
    margin:15px 5px;
}

.shop-item.expensive img
{
    opacity:0.5;
    filter:grayscale(100%);
}

.shop-item .shop-img
{
    margin: 0;  
    margin-bottom:10px; 
    height:180px;
    width:180px; 
    overflow:hidden;
}
.shop-item .shop-img img 
{
    max-height:180px;
}

.shop-item-name
{
    font-family: 'DS Goose', sans-serif;
    font-weight: 400;
}

.shop-balance
{
    position:absolute;
    left:200px;
    top:5px;
    font-size:230%;
    font-weight:400;
    font-family: 'DS Goose', sans-serif;
}

.shop-balance img
{
    width: 35px;
    margin-right:0px;
    vertical-align:sub;
}

.shop-item .shop-price 
{
    margin:10px;
    font-size: 140%;
    font-family: 'DS Goose', sans-serif;
}

.shop-item .shop-price img
{
    width: 30px;
    margin-right:0px;
    vertical-align:bottom;
}

.school-logo img
{
    border-radius:50%;
    max-height:150px;
}
.school-settings table 
{
    width:100%;
}
.school-settings td 
{
    vertical-align: top;
}
.level
{
    width:370px;
    height:275px;
}

.level0
{
    background:url(/images/levels/0.png) center bottom no-repeat;
}
.level1
{
    background:url(/images/levels/1.png) center bottom no-repeat;
}
.level2
{
    background:url(/images/levels/2.png) center bottom no-repeat;
}
.level3
{
    background:url(/images/levels/3.png) center bottom no-repeat;
}
.level4
{
    background:url(/images/levels/4.png) center bottom no-repeat;
}


.school-settings .level
{
    display:inline-block;
    vertical-align:top;
    height:150px;
    width:100px;
    background-size:cover;
    margin:10px 8px;
}

.school-settings .level0
{
    width:70px;
}

.level-input input[type=number] 
{
    width:84px;
    margin:0px 9px;
    text-align:center;
}

.level-input .level-input0
{
    width:54px !important;
    text-align:center;
}

.school-settings input[type=text], .school-settings input[type=number]
{
    padding: 8px;
    border-radius: 3px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    border: 0px;
}

.school-settings input[type=text]
{
    width:260px;
}

.dz-points div 
{
    display:inline-block;
    vertical-align:top;
    width:100px;
    margin:10px 5px;
    text-align:center;
    font-size:150%;
    
}

.dz-input input[type=number] 
{
    width:84px;
    margin:10px 5px;
    text-align:center;
}

.settings-save
{
    margin-top:30px;
    text-align:center;
}

.levelup-fixed
{
    position:fixed;
    top:0px;
    left:0px;
    width:100%; 
    height:100%;
    z-index:99999;   
    background:rgba(0,0,0,0.5);
    cursor:pointer;
}
.levelup-window
{    
    position:relative;
    background:url(/images/levels/levelup.jpg);   
    background-size:cover;   
    top:20vh; 
    height:60vh;
    padding:20px;
    width:90%;
    max-width:600px;
    margin: 0 auto;
    border-radius:15px;
    z-index:99999;
    text-align:center;
    font-family: 'DS Goose', sans-serif;
    cursor:default;
    user-select: none;
}

.levelup
{
    border-radius:15px;
    padding:10px;
    text-shadow: 2px 2px 3px #FFF;
}

.level-img img
{
    max-width:80%;
    max-height:250px;
    
    -webkit-filter: drop-shadow(5px 5px 5px #111);
    filter:         drop-shadow(5px 5px 5px #111); 
}

.level-img img:hover
{
    max-width:80%;
    max-height:250px;
    
    -webkit-filter: drop-shadow(5px 5px 10px #111);
    filter:         drop-shadow(5px 5px 10px #111); 
}

.level-text
{
    font-size:180%;
    margin:15px;
}
.level-name
{
    font-size:220%;
    margin:15px;
}

.level-name:hover, .level-text:hover
{
    text-shadow: 2px 2px 7px #FFF;
}

.my-level
{
    position:fixed;
    bottom:0px;
    left:0px;
    height: 100px;
    width: 130px;
    transition: 0.5s;    
}

.my-level:hover
{
    height: 180px;
    width: 170px;
}

.my-level img
{
    height:120px;
    transition: 0.5s;
    filter: drop-shadow(5px 5px 5px #111);
}

.my-level:hover img
{
    height:200px;
}

.my-level .level-name
{
    color:White;
    position:absolute;
    bottom:0px;
    left:0px;
    width:100%;
    text-align:center;
    font-family: 'DS Goose', sans-serif;
    text-shadow: 1px 1px 5px #000;
    margin:0px;
    padding:5px 5px;
    font-size:140%;
    transition: 0.5s;
}

.my-level:hover .level-name
{
    font-size:220%;
    padding:5px 10px;
}

.account
{
    height:240px;
    width:calc(100% - 200px);
    padding:10px;
    display:inline-block;
    vertical-align:top;
}

.account-avatar
{
    width:70px;
    height:70px;
    overflow:hidden;
    border-radius:50%;
    border:2px solid white;
    display:inline-block;
    vertical-align:top;
    text-align:center;
}

.account-info
{
    display:inline-block;
    vertical-align:top;
    padding:10px;
    font-family: 'DS Goose', sans-serif;
    font-size:150%;
}

.account-level
{
    width:84px;
    text-align:center;
    height:70px;
    display:inline-block;
    vertical-align:middle;
}

.account-level-info
{
    display:inline-block;
    vertical-align:middle;
    padding:10px;
    font-family: 'DS Goose', sans-serif;
    font-size:150%;
    text-align:right;
    margin-right:10px;
}

.account-level img
{
    height:70px;
}

.account-coins img
{
    height:40px;
    margin:0px 15px;
}

.account-coins
{
    vertical-align: middle;
    display:inline-block;
    margin-right:10px;
    font-size:200%;
    font-family: 'DS Goose', sans-serif;
}

.level-line
{
    width: 98%;
    margin: 3px auto;
    border: 1px solid black;
    border-radius: 4px;
    height: 10px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, #e0dddd, #a2a0a0);
}
.level-line-done
{
    height: 10px;
    background: linear-gradient(to bottom, #AAAAFF, #41418e);
}

.account-menu
{
    display:inline-block;
    vertical-align:top;
    width:180px;
    text-align:right;
}

.account-menu div, .account-menu a
{
    display:block;
    padding:10px;
    font-family: 'DS Goose', sans-serif;
    font-weight: 400;
    color: #4569b1;
    font-size: 16px;
    padding: 5px 10px;
    cursor: pointer;
    text-decoration:none;
}

.account-menu .selected, .account-menu div:hover, .account-menu a:hover
{
    background: #AAAAFF;
    color: White;
}

.top-block
{
    display:none;
}

.best-coins
{
    height:25px;
    vertical-align: sub;
    margin-right: 10px;
}

#mobile-menu
{
    display:none;
}

.my-progress
{
    position:fixed;
    right:10px;
    bottom:10px;
    padding:10px;
    padding-right:80px;
    border-radius:5px;
    background:rgba(0,0,0,0.5);
    width:200px;
}

.progress-points
{
    position:absolute;
    right:5px;
    bottom:5px;
    padding:4px;
    color:White;
    border-radius:5px;
    background:rgba(0,0,0,0.5);
}

.progress-img
{
    right: 5px;
    bottom: 0px;
    position:absolute;
    width:60px;
}

.points-scrollbox {
    height: 300px;
    overflow: auto;
}
.points-panel {
    padding-top: 10px;
}

.points-panel input[type=number]
{
    padding: 6px;
    border-radius: 3px;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
    border: 0px;
    width:60px;
    margin-bottom:0px;
}

.points-stats-text {
    display: inline-block;
    vertical-align: top;
    padding: 0px 10px;
    width: calc(100% - 20px);
}

.autoremove
{
    position:relative;
    top: 40px;
}

.account-radio
{
    margin-top:10px;
}

.account-radio span {
    margin: 0px 2px 0px 2px;
    cursor: pointer;
    background: linear-gradient(to bottom, #eee, #ccc);
    padding: 8px 10px 5px;
    border-radius: 20px;
    min-width: 15px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
}

.account-radio .selected {
    background: linear-gradient(to bottom, #e7de27, #cdaf2e);
    color: White;
}
.dz-start
{
    background: linear-gradient(to bottom, #e7de27, #cdaf2e);
    color: White;
}

.tap-caption
{
    display:none;
}

.school-logo .account-avatar
{
    width: 120px;
    height: 120px;
    background-size:cover !important;
}

#changeSpeed
{
    display: inline-block;
    vertical-align: top;
}