@font-face {
font-family: LatoBold;
src: url(./img/Lato-Bold.ttf);
}

@font-face {
font-family: Lato;
src: url(./img/Lato-Light.ttf);
}

@font-face {
font-family: LatoB;
src: url(./img/Lato-Regular.ttf);
}

/* Remove outline on the forms and links */
:active, :hover, :focus {
outline: 0;
outline-offset: 0;
}

html, body{
margin: 0;
border: 0;
padding: 0;
}

body {
background: #33c;
color: white;
font-family: Lato;
font-size: 18px;
line-height: 1.5;
}

#logo {
display: block;
margin-top: 7px;
}

.mainbut:hover{
opacity: 0.8;
cursor: pointer;
}

#main{
display: table;
/* width: 860px; */
margin: 0 auto;
padding: 0px;
}

#main h1{
font-family: LatoBold;
font-size: 30px;
margin: 0px;
}

.mainly{
display: table;
/* width: 860px; */
margin: 12px auto;
padding: 0px;
}

#footer{
background: #1e134a;
border-top: #5885e1 solid 7px;
}

#footer a{
text-decoration: none;
border-bottom: solid 1px;
color: #5885e1;
}

#footer a:hover{
border-bottom: none;
}

#enterforma {
background: url('../img/enter-back-left.png') left top no-repeat, url('../img/enter-back-right.png') right top no-repeat, url('../img/enter-back.png') center repeat;
background-size: 150px auto, 150px auto, 100% 100%;
}

#enter input, #enter_up input{
display: block;
width:820px;
padding: 20px;
color: #321d70;
background: #edfbfe;
border: #edfbfe solid 1px;
border-radius: 12px;
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
margin-bottom: 10px;
font-size: 18px;
}

.mainblock{
display: table;
width: 100%;
margin: 0px;
padding: 0px;
border: 0px;
}

.blocktitle{
font-size: 26px;
font-weight: bold;
}

.lblue{
color: #bcf2fd;
font-weight: bold;
}

#hi{
display: inline-block;
width: 36px;
height: 36px;
}

.message{
position: relative;
display: block;
/* width: 580px;  */
padding: 0 20px;
background: #fff;
border: #52007a solid 1px;
border-radius: 24px;
-webkit-border-radius: 24px;
-moz-border-radius: 24px;
margin-bottom: 10px;
}

.firstmes{
border-left: #52007a solid 2px;
border-top: #52007a solid 2px;
border-radius: 10px 24px 24px 24px;
-webkit-border-radius: 10px 24px 24px 24px;
-moz-border-radius: 10px 24px 24px 24px;
}

.messageme_ {
position: static;
padding: 0;
background: none;
border: none;
text-align: right;
}

.messageme_ p{
position: relative;
display: inline-block;
text-align: right;
padding: 20px;
color: #609;
background: #ede6f4;
border: #609 solid 1px;
border-right: #609 solid 2px;
border-top: #609 solid 2px;
border-radius: 24px 10px 24px 24px;
-webkit-border-radius: 24px 10px 24px 24px;
-moz-border-radius: 24px 10px 24px 24px;
right: 0px;
}

.messageme{
text-align: left;
color: #609;
background: #ede6f4;
border: #609 solid 1px;
border-right: #609 solid 2px;
border-top: #609 solid 2px;
border-radius: 24px 10px 24px 24px;
-webkit-border-radius: 24px 10px 24px 24px;
-moz-border-radius: 24px 10px 24px 24px;
}

.round{
border-radius: 24px;
-webkit-border-radius: 24px;
-moz-border-radius: 24px;
}

.roundtop{
border-radius: 24px 24px 0px 0px;
-webkit-border-radius: 24px 24px 0px 0px;
-moz-border-radius: 24px 24px 0px 0px;
}

.roundbottom{
border-radius: 0px 0px 24px 24px;
-webkit-border-radius: 0px 0px 24px 24px;
-moz-border-radius: 0px 0px 24px 24px;
}

.from{
display: inline-block;
width: 10px;
height: 20px;
background: url(./img/from-mozg.png);
position: absolute;
margin-left: -30px;
margin-top: 24px;
}

.fromme{
display: none;
width: 9px;
height: 16px;
background: url(./img/from-me.png);
margin-left: -29px;
margin-top: 27px;
}

.fromright{ /* треугольник фигура */
position: absolute;
width: 0px; height: 0px;
right: -20px; top: 30px;
border: 10px solid transparent;
border-left: 10px solid #609;
}

.fromright::before{
content: '';
right: -9px; top: -10px;
position: absolute;
border: 10px solid transparent;
border-left: 10px solid #ede6f4;
}


.fromright1{ /* треугольник картинка */
display: inline-block;
position: absolute;
width: 9px;
height: 16px;
background: url(./img/from-me.png);
transform: scale(-1,-1);
right: -9px;
top: 27px;
}

.from1{
display: inline-block;
width: 10px;
height: 20px;
background: url(./img/from-mozg.png);
position: absolute;
margin-left: -30px;
margin-top: 24px;
}

.fromme1{
width: 9px;
height: 16px;
background: url(./img/from-me.png);
margin-left: -29px;
margin-top: 27px;
}

.menu{
display: block;
position: fixed;
width: 140px;
background: #52007a;
margin: 0;
padding: 0;
}

.amenu{
display: block;
padding: 10px;
text-decoration: none;
color: #dbd3e2;
text-align: center;
border-top: 1px solid #460068;
}

.amenu:hover{
color: #fff;
background: rgba(255,255,255,0.15);
}

#menuava{
width: 58px;
height: 58px;
border-radius: 29px;
-webkit-border-radius: 29px;
-moz-border-radius: 29px;
margin: 6px auto;
}

#progressbar{
display: block;
width: 140px;
height: 10px;
border-top: 1px solid #460068;
background: url(./img/progress-fon.png);
}

#progressbar img{
position: absolute;
clip: rect(auto, 35px, auto, auto);
}

#menulevel{
display: inline-block;
position: relative;
width: 16px;
height: 16px;
color: #460068;
background: #dbd3e2;
font-size: 11px;
font-weight: bold;
text-decoration: none;
border: solid 2px #460068;
border-radius: 12px;
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
text-align: center;
vertical-align: middle;
left: 130px;
bottom: 4px;
}

#menumoney{
display: block;
padding: 10px;
background: rgba(255,255,255,0.15);
text-decoration: none;
font-size: 12px;
color: #dbd3e2;
text-align: center;
border-top: 1px solid #460068;
margin: 0;
line-height: 2;
}

#menumoney b{
font-size: 14px;
}

#menumoney a{
text-decoration: none;
color: #dbd3e2;
border-bottom: solid 1px #dbd3e2;
}

#menumoney a:hover{
border: none;
}

#menucaller{
display: block;
position: fixed;
width: 60px;
height: 24px;
background: #52007a;
bottom: 3px;
margin-left: 40px;
}

#menucaller img{
margin-top: 10px;
}

#menucaller:hover{
cursor: pointer;
background: #6c268e;
}

#bottomline{
display: block;
height: 3px;
width: 100%;
background: #460068;
position: fixed;
bottom: 0px;
}

#upmenu{
display: block;
width: 100%;
position: fixed;
top: 0;
z-index: 100;
color: #dbd3e2;
background: #460068;
}

#upprogressbar{
display: block;
width: 100%;
height: 20px;
border-top: 1px solid #460068;
border-bottom: 1px solid #460068;
background: linear-gradient(90deg, rgba(0,204,255,0.7), rgba(204,0,102,0.7));
}

#upprogress{
position: absolute;
display: block;
width: 20%;
height: 20px;
background: rgba(0,204,255,0.7);
}

#uplevel{
display: inline-block;
position: absolute;
width: 18px;
height: 18px;
color: rgba(255,255,255,0.7);
font-size: 14px;
font-weight: bold;
text-decoration: none;
text-align: center;
right: 3px;
margin-top: -1px;
}

#uplevel_zapas{
display: inline-block;
position: absolute;
width: 18px;
height: 18px;
color: #fff;
border: 2px solid #fff;
background: #460068;
font-size: 12px;
font-weight: bold;
text-decoration: none;
border-radius: 12px;
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
text-align: center;
right: 1px;
margin-top: -1px;
}

#mylevel{
display: inline-block;
width: 18px;
height: 18px;
color: #460068;
border: 2px solid #460068;
background: #fc3;
font-size: 12px;
font-weight: bold;
text-decoration: none;
border-radius: 18px;
-webkit-border-radius: 18px;
-moz-border-radius: 18px;
text-align: center;
margin-left: 8px;
}


.lighted, .lighted:hover{
background-image: url(./img/menu-light.png);
background-position: bottom;
background-repeat: repeat-x;
}

.button{
display: block;
/* width: 580px; */
padding: 0 20px;
color: #fff;
text-align: center;
font-weight: bold;
background: #609;
border: #609 solid 1px;
border-radius: 100px;
-webkit-border-radius: 100px;
-moz-border-radius: 100px;
margin-bottom: 10px;
cursor: pointer;
}

.button:hover, .buttoncom:hover{
cursor: pointer;
opacity: 0.8;
}

.butbig{
display: inline-block;
width: 420px;
text-align: left;
float: left;
}

.butbig span{
display: inline-block;
position: absolute;
margin-top: -16px;
margin-left: -36px;
font-size: 36px;
font-style: italic;
}

.butbig p{
padding-left: 36px;
}

.butsmall{
display: inline-block;
width: 100px;
float: right;
}

.commentbox{
display: block;
width: 580px;
padding: 20px;
color: #609;
text-align: left;
font-style: italic;
font-size: 14px;
background: #fff;
border: #609 solid 1px;
border-radius: 24px 24px 0px 0px;
-webkit-border-radius: 24px 24px 0px 0px;
-moz-border-radius: 24px 24px 0px 0px;
resize: none;
overflow: hidden;
}

.butcomment{
display: inline-block;
width: 100px;
text-align: center;
border-radius: 0px 24px 24px 0px;
-webkit-border-radius: 0px 24px 24px 0px;
-moz-border-radius: 0px 24px 24px 0px;
float: right;
margin-bottom: 10px;
}

.buttoncom{
display: block;
width: 580px;
padding: 0 20px;
color: #fff;
text-align: center;
font-weight: bold;
background: #609;
border: #609 solid 1px;
border-radius: 0px 0px 24px 24px;
-webkit-border-radius: 0px 0px 24px 24px;
-moz-border-radius: 0px 0px 24px 24px;
margin-bottom: 10px;
}

.orange{
background: #f5ebb4;
border-color: #c30;
color: #c30;
}

.s_orange{
background: #c30;
border-color: #c30;
color: #f5ebb4;
}

.green{
background: #c4fabd;
border-color: #060;
color: #060;
}

.s_green{
background: #060;
border-color: #060;
color: #c4fabd;
}

.blue{
background: #d3eef4;
border-color: #036;
color: #036;
}

.s_blue{
background: #036;
border-color: #036;
color: #d3eef4;
}

.expa{
display: block;
/* width: 580px; */
padding: 0 20px;
color: #0cf;
background: #eaf9fc;
border: #0cf solid 1px;
border-radius: 24px;
-webkit-border-radius: 24px;
-moz-border-radius: 24px;
margin-bottom: 10px;
}

.expa span{
font-size: 16px;
font-weight: bold;
}

.message a{
text-decoration: none;
color: #000;
border-bottom: #000 solid 1px;
}

.message a:hover{
border: none;
}

#main .message .ya-share2__container{
position: absolute;
margin-top: -36px;
margin-left: 100px;
}

#main .message .ya-share2__container a{
text-decoration: none;
border: none;
}

.diaava{
display: inline-block;
position: absolute;
width: 48px;
height: 48px;
border: #609 solid 1px;
border-radius: 28px;
-webkit-border-radius: 28px;
-moz-border-radius: 28px;
margin-top: 11px;
margin-left: -70px;
}

.logava{
display: inline-block;
position: absolute;
content: url(../img/logo.gif);
width: 60px;
height: 60px;
margin-top: 10px;
margin-left: -70px;
}

@-moz-document url-prefix() {
.logava { content: url(../img/logo.png); }
}
