
/* tabs */
ul.tabs {
	width: 100%;
	margin-top: 10px;
}
.tabs li {
	list-style: none;
	display: inline;
}

.tabs a {
	padding: 5px 10px;
	display: inline-block;
	background: #acadae;
	color: #fff;
	text-decoration: none;
	-webkit-border-radius: 4px 4px 0 0;
	-moz-border-radius: 4px 4px 0 0;
	border-radius: 4px 4px 0 0;
	min-width: 13px;
	text-align: center;
}
@media only screen and (max-width: 400px) {
	.tabs a {
		padding: 5px 5px;
	}
}
.tabs a.active {
	background: #e1e2e2;
	color: #000;
	border-top: 1px solid #acacad;
	border-left: 1px solid #acacad;
	border-right: 1px solid #acacad;
	border-bottom: 2px solid #e1e1e1;
	margin-bottom: -1.8px;
}

.tab_cont {
	width: -moz-calc(100% - 37px);
	width: -webkit-calc(100% - 37px);
	width: -o-calc(100% - 37px);
	width: calc(100% - 37px);

	height: 239px;
	top: -5px;
	background-color: #e1e1e1;
	
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid #acacad;
	overflow-y: auto;
	padding: 10px 10px 10px 25px;
}
@media only screen and (max-width: 400px) {
	.tab_cont {
		width: -moz-calc(100% - 22px);
		width: -webkit-calc(100% - 22px);
		width: -o-calc(100% - 22px);
		width: calc(100% - 22px);
		padding: 10px 10px 10px 10px;
	}
	p.tab_desc {
		margin-left: 0px !important;
	}
}
div#mtab.tab_cont {
	height: 236px;
}
::-webkit-scrollbar {
    width: 10px;
}
 
::-webkit-scrollbar-track {
    border-radius: 4px;
	background-color: #eaeaea;
}
 
::-webkit-scrollbar-thumb {
    border-radius: 45px;
	background-color: #c0c0c0;
	border: 1px solid #eaeaea;
}
.mtab a {
	background-color: #ff7e5a;
	margin-left: 5px;
}
.mtab a.active {
	background-color: #ff5805;
	border: none;
	border-bottom: 2px solid #ff5805;
}
#mtab{
	border-top: 5px solid #ff5805;
	height: 231px;
}
.tabs li :focus { 
	outline: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	/*color: #09f;*/
}
/* RULES */
#mtab ul.rules_bar {
	display: inline-block;
}
ul.rules_bar li:first-child{
	margin-bottom: 5px;
	font-size: 14px;
	margin-top: 5px;
}
ul.rules_bar li.add_rule_btt {
	border: 1px solid #acacad;
	width: 35px;
	text-align: center;
	height: 30px;
	line-height: 31px;
	background-color: #c0c0c0;
	margin-bottom: 20px;
	float: left;
	margin-right: -1px;
}
ul.rules_bar li.add_rule_btt:nth-child(2) {
	-webkit-border-radius: 4px 0 0 4px;
	-moz-border-radius: 4px 0 0 4px;
	border-radius: 4px 0 0 4px;
}
ul.rules_bar li.add_rule_btt:last-child {
	-webkit-border-radius: 0 4px 4px 0;
	-moz-border-radius: 0 4px 4px 0;
	border-radius: 0 4px 4px 0;
}
ul.rules_bar li.add_rule_btt:nth-child(2):last-child  {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
ul.rules_bar li:first-child:last-child  {
	visibility: hidden;
}
ul.rules_bar li.add_rule_btt:hover {
	background-color: #a9a9a9;
}

#mtab ul.rules {
	margin-right: 10px;
	margin-bottom: 20px;
}
#mtab ul.rules li {
	display: block;
	background-color: #eaeaea;
	margin-top: 4px;
	font-size: 13px;
	border: 1px dotted #c0c0c0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding: 2px 5px 2px 8px;
}
#mtab ul.rules li .rule_titl {
	min-width: 100px;
	display: inline-block;
}
#mtab ul.rules li var {
	color: #009192;
}
#mtab ul.rules li .rule_rem {
	float: right;
	text-transform: uppercase;
	padding: 0;
	line-height: 0;
	color: #929292;
}
#mtab ul.rules li .rule_rem:hover {
	color: #000;
}

div.help:hover, div.help:focus {
	position: absolute;
	float: right;
	display: inline-block;
	background-color: #eaeaea;
	height: 220px;
	right: 14px;

	width: -moz-calc(100% - 45px);
	width: -webkit-calc(100% - 45px);
	width: -o-calc(100% - 45px);
	width: calc(100% - 45px);
	
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	padding: 10px;
	top: 48px;
	color: #929292;
	border: 1px dotted #929292;
	z-index: 10;
}
div.help {
	position: absolute;
	float: right;
	right: 15px;
	padding: 10px;
	top: 49px;
	font-size: 20px;
	color: #333;
	overflow: auto;
}
div.help:hover div, div.help:focus div{
	display: inline;
	font-size: 15px;
}
div.help div{
	display: none;
}
div.help span {
	display: inline-block;
	position: relative;
	float: right;
	margin-right: -2px;
	margin-top: -5px;
}
div.help p {
	font-weight: bold;
	border-bottom: 1px dotted #a9a9a9;
	color: #5e5e5e;
}
@media only screen and (max-height: 550px), (max-width: 510px) {
	div.help {
		top: 55px;
		right: 35px;
	}
	div.help:hover, div.help:focus {
		top: 54px;
		right: 34px;
	}
}
@media only screen and (max-width: 1000px) {
	div.help:hover, div.help:focus {
		width: -moz-calc(100% - 45px);
		width: -webkit-calc(100% - 45px);
		width: -o-calc(100% - 45px);
		width: calc(100% - 45px);
	}
}
@media only screen and (max-height: 550px), (max-width: 510px){
	div.help:hover, div.help:focus {
		width: -moz-calc(100% - 84px);
		width: -webkit-calc(100% - 84px);
		width: -o-calc(100% - 84px);
		width: calc(100% - 84px);
	}
}
p.tab_desc {
	margin-right: 35px;
	margin-left: -10px;
	margin-top: 5px;
}

