@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;
user-select: none;
}

body {
background: #f5f5f5;
color: black;
font-family: Lato;
font-size: 18px;
line-height: 1.5;
}

@keyframes blink {
50% { opacity: 0; }
}

.blinky {
animation: blink 1s linear infinite;
}

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

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

.message, .answers{
position: relative;
/* width: 580px;  */
padding: 20px;
background: #fff;
/* border: #52007a solid 1px; */
border-radius: 24px;
-webkit-border-radius: 24px;
-moz-border-radius: 24px;
margin-bottom: 10px;
color: #f5f5f5;
font-size: 18px;
font-family: Lato;
}

.message {display: inline-block; text-align:left;}
.answers {display: block;}

.answers p{
padding: 4px 12px;
border-radius: 12px;
text-align: left;
}

.answers p span{
display: inline-block;
float: right;
font-family: LatoB;
}

.answers tr{
display: block;
padding: 4px 12px;
border-radius: 12px;
text-align: left;
margin-top: 16px;
margin-bottom: 16px;
}

.answers td {
display: inline-block;
}

.answers td span{
display: inline-block;
float: right;
font-family: LatoB;
}

.answers td img{
display: inline-block;
width: 12px;
position: absolute;
margin-top: 9px;
/*margin-left: -56px;*/
}

.infomsg{
display: block;
color: #333;
border: 3px solid #ee6557;
}

.line{
display:block;
height:0px;
border-top: #bbb dotted 2px;
margin: 32px 0px;
}

.popupdot{
border-bottom: #bbb dotted 2px;
padding: 10px 0;
}

.popuph1{
font-family: LatoBold;
font-size: 20px;
}

#balls_txt{ text-transform: uppercase; }

.greenback{background: #16a6b6;}

.orangeback{background: #ee6557;}

.greyback{background: #ccc;}

.leftcorner{
border-radius: 0px 24px 24px 24px;
}

.rightcorner{
border-radius: 24px 0px 24px 24px;
}

.rightcorner::after{
content: '';
display: block;
position: absolute;
border-top: solid transparent 1rem;
border-bottom: solid #ee6557 1rem;
border-left: solid transparent 1rem;
border-right: solid #ee6557 1rem;
right: 0;
top: -1rem;
width: 0;
height: 0;
}

.rcgreen::after{
border-top: solid transparent 1rem;
border-bottom: solid #16a6b6 1rem;
border-left: solid transparent 1rem;
border-right: solid #16a6b6 1rem;
}

.rcgrey::after{
border-top: solid transparent 1rem;
border-bottom: solid #ccc 1rem;
border-left: solid transparent 1rem;
border-right: solid #ccc 1rem;
}

.leftcorner::before{
content: '';
display: block;
position: absolute;
border-top: solid transparent 1rem;
border-bottom: solid #16a6b6 1rem;
border-right: solid transparent 1rem;
border-left: solid #16a6b6 1rem;
left: 0;
top: -1rem;
width: 0;
height: 0;
}

.ansbut{
background: rgba(255,255,255,0.2);
cursor: pointer;
box-sizing: border-box;
/* border: 3px solid transparent; */
}

.ansbut:hover{
background: rgba(255,255,255,0.3);
/* border: 3px solid rgba(255,255,255,0.5); */
}

.firstmes{
border-left: #52007a solid 1px;
border-top: #52007a solid 1px;
border-radius: 2px 24px 24px 24px;
-webkit-border-radius: 2px 24px 24px 24px;
-moz-border-radius: 2px 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: #5885e1;
background: #bcf2fd;
border: #609 solid 1px;
border-right: #609 solid 1px;
border-top: #609 solid 1px;
border-radius: 24px 2px 24px 24px;
-webkit-border-radius: 24px 2px 24px 24px;
-moz-border-radius: 24px 2px 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: #181818;
margin: 0;
padding: 0;
}

.amenu{
display: block;
padding: 10px;
text-decoration: none;
color: rgba(255,255,255,0.7);
text-align: center;
border-top: 1px solid #1e134a;
}

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

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

#progressbar{
display: none;
width: 140px;
height: 10px;
border-top: 1px solid #321d70;
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: #306;
background: #dbd3e2;
font-size: 10px;
font-weight: bold;
text-decoration: none;
border: solid 1px #306;
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: table;
width: 100%;
position: fixed;
top: 0;
z-index: 100;
color: #f5f5f5;
background: #181818;  /* #321d70; */
padding: 15px 20px;
font-size: 18px;
/* border-bottom: 3px solid #321d70; */
}

#balls_menu{
font-family: LatoBold;
color: #16a6b6;
}

#upmenu a, #downmenu a{
text-decoration: none;
border: none;
/*margin-left: 4px;
color: #5383ec;
font-size: 18px;
font-weight: 700;*/
}

#upmenu a:hover img, #mainpage a:hover img{
opacity: 0.8;
}

#downmenu a:hover img{
opacity: 0.5;
}

#downmenu{
display: table;
width: 100%;
position: fixed;
bottom: 0;
z-index: 100;
color: #f5f5f5;
background: #f5f5f5;  /* #321d70; */
border-top: #b8b8b8 solid 1px;
padding: 10px;
font-size: 18px;
/* border-bottom: 3px solid #321d70; */
}

#main h1{
font-family: LatoB;
font-weight: bold;
font-size: 17px;
color: #181818;
margin: 0px;
text-transform: uppercase;
}

#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;
}

.formphotoblock{
display: inline-block;
width: 22%;
margin-right: 2%;
}

.formphoto{
display: inline-block;
aspect-ratio: 1 / 1;
width: 100%;
background: url("../img/form-photo.png");
background-size: cover;
cursor: pointer;
border-radius: 12px;
}

.delphoto{
display:none;
width: 20px;
/*z-index: 999;*/
position: absolute;
cursor: pointer;
margin-top: -5px;
margin-left: -15px;
}

.abuse{
display:inline-block;
width: 20px;
position: absolute;
cursor: pointer;
top:0;
right: 0;
}

#newq input{
box-sizing: border-box;
width: 100%;
border-radius: 12px;
border: #bfbfbf solid 1px;
padding: 12px;
resize: none;
font-size: 20px;
font-family: Lato;
}

#add3, #add4{
color: #16a6b6;
cursor: pointer;
font-family: LatoB;
}

#add4, #pole3, #pole4{
display:none;
}

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

#popupblock{
display: block;
color: #000;
font-size: 18px;
width: 100%;
height: 100%;
position: fixed;
top: 0;
background: rgba(0,0,0,0.7);
z-index: 100;
}

#popup{
position: absolute;
width: 80%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
/*margin: 10%;*/
/*margin-top: 1rem !important;*/
padding: 20px;
border-radius: 24px;
-webkit-border-radius: 24px;
-moz-border-radius: 24px;
background: #fff;
}

.popbut{
font-weight: normal !important;
font-size: 16px !important;
padding-top: 14px !important;
padding-bottom: 14px !important;
}

.button{
display: block;
/* width: 580px; */
padding: 0 20px;
color: #fff;
text-align: center;
font-family: LatoB;
background: #ee6557;
border: #ee6557 solid 1px;
border-radius: 24px;
-webkit-border-radius: 24px;
-moz-border-radius: 24px;
margin-bottom: 10px;
}

.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;
}

.comment{
display: block;
background: #fff;
border: #ee6557 solid 1px;
border-radius: 24px 24px 0px 0px;
-webkit-border-radius: 24px 24px 0px 0px;
-moz-border-radius: 24px 24px 0px 0px;
margin-bottom: 0px;
margin-top: 16px;
}

.commentbox{
display: block;
width: 88%;
min-height: 110px;
box-sizing: border-box;
/*margin: 0px 20px;*/
padding: 20px 0px;
color: #333;
text-align: left;
font-family: Lato;
font-size: 18px;
background: #fff;
outline: none;
-moz-appearance: none;
border: 0px;
resize: none;
overflow: hidden;
}

.commentline{
display: block;
width: 80%;
margin: 20px;
padding: 5px 0px;
color: #5885e1;
text-align: left;
font-family: Lato;
font-size: 16px;
background: #fff;
outline: none;
-moz-appearance: none;
border: 0px;
resize: none;
overflow: hidden;
}

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

.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;
}


.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-new+.gif);
width: 50px;
height: 50px;
border: #5885e1 solid 2px;
border-radius: 30px;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
margin-top: 0px;
margin-left: -70px;
}

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