body{font-family: Verdana, Helvetica, Arial,sans-serif;font-size:12px;margin:0;padding:0;line-height:2.5em;background-color:#E8E9EC!important;}
#container{margin-left:auto;margin-right:auto;padding:10px 0;background-color:#FFF;border-right:solid 1px #DFDFDF;border-left:solid 1px #DFDFDF;box-shadow:4px 0 2px #EAEAEA,-4px 0 2px #EAEAEA;}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
@media screen and (min-width:2001px){
	body{font-size: 14px;}
	#phpbb{font-size: 14px;}
	#menu{font-size: 14px;}
}

h1{font-size:1.6em;line-height:1.1em;color:#FD7F2F}
h2{font-size:1.3em;line-height:1.1em;color:#FD7F2F}
h3{font-size:1.25em;line-height:1.1em;color:#FD7F2F}
h4{font-size:1.17em;line-height:1.1em;color:#FD7F2F}
h5{color:#FD7F2F}

.rrow {
  display: flex;
}

.ccol {
  flex: 1;
}

.formula{padding:5px;margin-bottom:5px;font-weight:bold;}
.symbol{color:#0F4F37;font-style:italic;font-weight:bold }
a{text-decoration:underline;color:#000000}
h1 a,h2 a,h3 a,h4 a,h5 a{color:#FD7F2F}
img{max-width:100%}
.cursorhand{cursor:pointer}

#tophead{background:#FFF;width:100%;float:left;}
.cle{clear:both}
#logo{float:left;}
#googlePlus{float:left;width:33px;margin-left:20px}
#topmenu{width:100%;height:22px;float:left;margin-top:5px;border-top:solid 1px #069;border-bottom:solid 1px #069}
.tab{float:left;position:relative;margin:4px 0;padding:0 7px;border-right:dotted 1px #069;font-size:.92em;font-weight:bold}
.lasttab{border:none}.tab a,.tab a:link,.tab a:visited{text-decoration:none;color:#FD7F2F}
.tab a:hover{text-decoration:underline;color:#9FAD92}
#bottomhead{width:100%;margin-top:5px;padding-top:10px;padding-bottom:20px;text-align:center;border-top:solid 1px #E6E6E6;overflow-x:auto} #bottomhead div{padding:7px 0;} #bottomhead a{color: #ff8000;}
#content{width:100%;float:left;position:relative;overflow-x:auto;overflow-y: hidden;} /*forums*/ #page-body{overflow:auto}
.leftmenu{width:20%;border-right:solid 1px #C8D0C5;border-bottom:solid 1px #C8D0C5;padding:0 0 7px 1%;font-size:1.1em;position:relative;float:left;line-height:2em;}.leftmenu ul{margin:0;list-style-type:none;width:95%;padding:5px .5% 0 .2%}.leftmenu .li{color:#000;margin:5px 0 0;width:100%}.sign{margin:0}.leftmenu .li a{text-decoration:none;color:#000;font-weight:bold}.leftmenu .li ul a:hover{text-decoration:none;color:#9FAD92}.leftmenu .li a:hover{text-decoration:underline}.leftmenu .li ul a{text-decoration:none;color:#000;font-weight:normal}.leftmenu ul li ul{margin:5px 5px 5px 15px;padding:0}.leftmenu ul li ul li{margin-bottom:5px;margin-left:6px}
#middlecont{float:left;position:relative;width:75%;padding:5px 0 0 1.5%;background-color:#FFF;font-size:1.17em}
#middlecontIndex{float:left;position:relative;padding:5px 0 0 1%;background-color:#FFF}
.bottomAuthor{width:95%;margin-bottom:10px;margin-top:10px;clear:both}.containerIndex{float:left;position:relative;margin:5px .3%;border:1px solid #D8E6FC;width:39.5%;overflow:hidden;font-size:1.1em}.containerIndex h4{font-size:1.1em}.firstPageOpinions{padding:5px;margin-bottom:5px}.rssbgindex{width:48.5%}.containerIndexH4{margin:0 0 0 10px;padding-left:2px;padding-top:5px;padding-bottom:5px}.containerIndex a{text-decoration:none}.containerIndex a:hover{color:#FD7F2F}.indexContainerHeader{background:#069;color:#FFF}.containerIndexBody{padding:3px}.containerIndexBody a{color:#000}.latestposts a{color:#66CC98}#leftcont{float:left;position:relative;width:99%;padding:5px 0 0 10px}#rightcont{float:left;position:relative;width:56%;padding:5px 0 0 10px}#rightbanner{float:right}#rightbannerHome{float:right;position:relative;margin:0 0 5px 5px;padding-top:15px;width:160px}.rectanglesMainPages{margin-top:2px;padding:5px;border:1px solid #D8E6FC}.boxlargeindex{padding:5px;margin:5px;border:1px solid #D8E6FC}.boxlargeindex a:link{text-decoration:none}.boxlargeindex a:hover{text-decoration:underline}.firstpagetopics{margin-bottom:5px}.problemBox{clear:both;padding-top:20px}.problemText{padding-bottom: 10px;}.problemHeading{font-style:italic;color:#FD7F2F}.problemText [type=text]{width:60px;font-size:.92em}.problemText img{vertical-align:middle} .problemTest{float:left; margin-right:30px;} .problemAnswer{margin-bottom:10px;width:220px;float:left;font-style:italic;color:green;clear:both}.problemAnswer [type=text]{width:60px}.problemAnswer [type=button]{font-size:.92em}.problemSolution{float:left}.problemSolution [type=text]{width:60px;font-size:.92em}.problemSolution [type=button]{font-size:.92em}.texImage{vertical-align:middle}.pageLine{margin-top:5px}.sproblem{font-style:italic}#fif{color:red}#goBack{clear:both;padding-top:15px}.tooltip{display:none;background:url(/images/tooltip.png);height:148px;padding:40px 30px 10px;width:310px;font-size:14px}.answering{font-weight:bold;font-style:italic}#testPageDescription{margin-bottom:10px}.testProblemTitle{font-weight:bold}.resultPercent,.resultScore{color:green}.resultAnsweredWrong{color:red;margin-bottom:20px}#testResults{margin-top:10px;margin-bottom:20px}.answerField[type=text]{width:60px;margin-bottom:10px;}.openanswerword{color:green}.marqueeWrapper{width:80.42%!important;padding:0;font-size:.92em}.marquee1{position:relative;overflow:hidden;width:79.17%;height:22px;text-align:center}.marquee1 span{white-space:nowrap}.search_box{width:260px;float:right;text-align:right;padding-right:10px;}.imgmiddle{vertical-align:middle}
#difficulties{clear:both;padding-bottom:10px;}.currentDifficulty{color:green}.difficulty a{color:#FD7F2F}.ads{clear:both;padding-top:10px;padding-bottom:5px;min-height: 280px;}.ads-footer{clear:both;padding-top:20px;padding-bottom:5px;min-height: 280px;}.hideMobile{display:block}
.firstPageButton{border: 1px solid #ccc; background: none repeat scroll 0 0 rgba(0,0,0,0);
    color: #31708f;border-radius: 4px;cursor: pointer;display: inline-block;font-size: 14px;font-weight: 400;line-height: 1.42857;margin-bottom: 0;padding: 6px 12px;text-align: center;vertical-align: middle;white-space: nowrap; text-decoration: none;box-sizing: border-box;}
.firstPageButton:hover, .firstPageButton:active{background: none repeat scroll 0 0 rgba(0,0,0,0);color: #a94442;border-color:#adadad;} .listOfLinks a{display:block;margin-bottom:8px;}
.nexttick{width:12px;}
#page-body{overflow-y: hidden;}
.mobile-links{display:none;}
.achievements-cont-up{font-size: 1.2em;padding-left:30px;padding-top:10px;float:left;display:none;}
.achievements-cont{color:#0275d8;}
.achievements-cont-down{font-size:1.5em}
@media screen and (min-width:560.1px){
	#mainmobilemenu{display:none}
	#menu{width:100%}
	#menu ul{margin:0;padding:0;list-style:none;line-height:1.3em;}strong{margin:0;padding:0}
	#menu ul li{float:left;margin:0;padding:12px 1px 12px 0;border-bottom:5px solid #e60;border-top:3px solid #069}
	#menu ul li a{margin:0;padding:12px 1.9em;color:#000;text-decoration:none;font-size:1em;background:#f7f7f7}
	#menu ul li a:hover{background:#FFF}
}
@media screen and (min-width:800px){
h1{font-size:1.6em;} h2{font-size:1.5em;} h3{font-size:1.4em;} h4, h5{font-size:1.3em;}
#middlecont{font-size:1.3em;}.leftmenu{font-size:1.17em;}.containerIndex{font-size:1.2em;line-height:1.8em}
.achievements-cont-up{display:block;}
}
.flags a{display: inline-block;background-image: url("/images/flag.png");background-repeat: no-repeat;border:1px solid #000000;height:15px;width:30px;}
.flags a.enflag{background-position:-3px;background-size:170px 19px;} .flags a.bgflag{background-position: -34px -2px;} .flags a.bgflag{background-position: -34px -1px;} .flags a.ruflag{background-position:-67px -1px;} .flags a.srflag{background-position:-100px -1px;} .flags a.esflag{background-position:-163px;background-size:196px 15px} 
.main-idx{width:calc(100% - 180px);}
@media screen and (max-width:950px){#chessCtrlPanel{display:none} .containerIndex{width:39%}}
@media screen and (max-width:914px){
	.main-idx{width:100%;}
	#rightbannerHome{display:none}.containerIndex{width:39.5%}.marqueeWrapper{width:95%!important}.containerIndex{width:47%}#menu ul li{padding:9px 1px 9px 0}#menu ul li a{padding:9px}}
@media screen and (max-width:650px){#container{box-shadow:initial}.marqueeWrapper{display:none}}
@media screen and (max-width:560px){h1{font-size:1.4em;color:#FD7F2F;margin-right:0!important}h2{font-size:1.3em;color:#FD7F2F}h3{font-size:1.1em;color:#FD7F2F}h4{font-size:1.05em;color:#FD7F2F}#container{border-width:0}
#middlecontIndex{width:100%}.containerIndex,.rssbgindex{width:96%}
.rrow{display:block}
div.dropdownmenu{color:#000000;margin:5px 3px;width:95%;position:relative;height:32px;text-align:left}
div#menu{background:#fff;position:absolute;top:-12px;left:-20px;z-index:100;width:100%;display:none;margin-left:10px;padding:40px 0 5px;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.45)}.dropdownmenu li a{color:#000000;display:block;font-family:arial;font-weight:bold;padding:6px 15px!important;cursor:pointer;text-decoration:none;font-size:1.2em}
.dropdownmenu li a:hover{background:#155FB0;color:#FFF;text-decoration:none}
#mainmobilemenu{font-size:1.3em;line-height:1.3em;color:#000000;position:absolute;z-index:110;display:block;height:28px;width:95%;text-decoration:none;background:url(/images/arrow.png) 90% 17px no-repeat;cursor:pointer;text-transform:uppercase}
#menu ul{list-style:none;margin:0;font-size:1em;padding:11px 0 0;border-top:1px solid #dedede}#menu ul li{padding:0}dl.icon dd.lastpost,dl.icon dd.posts,dl.icon dd.topics,dl.icon dd.views{display:none}ul.topiclist dt{width:90%!important}#addthisDiv{display:none}h1{margin-top:0}.hideMobile{display:none}
.search_box input {font-size:0.9em}}
@media screen and (max-width:510px)
{
	body{line-height:1.8em}
	#container{padding:4px;border-width:0;}
	#content{float:left;}
	#middlecont{width:100%;float:none;padding:0;font-size:1.3em;}/*98%*/
	#rightbanner{display:none;}
	p{line-height:1.5em}
	.containerIndex{height:auto!important;line-height:2.1em}
	.containerIndex{font-size:1.3em}
	#logo{width:45%}
	.leftmenu{display:none;background:#fff;width:98%;font-size:1.3em;}
	.leftmenu ul li{line-height:2em}
	.leftmenu ul{padding-left:3%}
	.sign{margin-right:3%}
	#menu ul li a{padding:5px 4px 4px}
	.search_box{width:50%;margin-bottom:6px}
	#twitterlink{display:none}
	.postbody{width:98%!important}
	.postprofile{display:none!important}
	#smiley-box{display:none}
	.mobile-links{
		display:block;
		padding:10px;
		border:1px solid #D8E6FC;
		line-height:2em;
	}
	.mobile-links li {list-style-type: none;}
	.mobile-links ul {padding: 0;}
	.ads { min-height: 250px; } .ads-footer { min-height: 250px; }
}

@media screen and (min-width:1400px){
	.sign {
		width: 12px;
	}
	
	.search_box{width: 276px;}
}

@media screen and (min-width:2000px){
	.sign {
		width: 14px;
	}
	
	#menu ul li a{
		font-size: 1.2em;
		line-height: 1.2em;
	}
}

@media screen and (min-width: 900px){
	#menu{font-size: 12px;}
	#menu ul {
		display: table;
		width: 100%;
	}
	
	#menu ul li{
		display: table-cell;
		float: none;
		text-align:center;
		padding: 0 3px 0 0;
	}
	
	#menu ul li:last-child{
		padding: 0
	}
	
	#menu ul li a {
		padding-left:0px;
		padding-right:0px;
		display: block;
	}
	
	#container{
		padding: 10px 10px;
	}
	
	#logo{
		padding-left: 20px;
	}
}

input[type="radio"]:checked+label { font-weight: bold; }


ul.mbreadcrumbs {
  padding: 10px 16px;
  list-style: none;
  background-color: #f7f7f7;
}

ul.mbreadcrumbs li {
  display: inline;
  font-size: 1em;
}

ul.mbreadcrumbs li+li:before {
  padding-left: 3px;
  content: "/\00a0";
}

ul.mbreadcrumbs li a {
  color: #0275d8;
  text-decoration: none;
}

ul.mbreadcrumbs li a:hover {
  color: #01447e;
  text-decoration: underline;
}

.link-color{
	color: blue;
}
/*forums*/
.pagination span a{
	padding:5px !important;
}

@media screen and (max-width: 500px){
	#reputation-popup{
		width: 350px;
	}
}