@font-face {
  font-family: 'Monda';
  font-style: normal;
  font-weight: 400;
  src: local('Monda Regular'), local('Monda-Regular'), url(400.woff) format('woff');
}
@font-face {
  font-family: 'Monda';
  font-style: normal;
  font-weight: 700;
  src: local('Monda Bold'), local('Monda-Bold'), url(700.woff) format('woff');
}


html, body 
{
	background-color: #fff;
	background-image: url(../include/bg.png);
	background-repeat: repeat;
	font-family: 'Monda';
	font-style: normal;
	font-weight: 700;
	font-size: 15px;
	
	margin: 0px;
	width: 100%;
	height: 100%;
}  
.name 
{
	font-size: 18px;
	width: 60%;
	margin: 0 auto;
	padding-top: 10px;
	margin-bottom: 10px;
}
.full
{
	height: 100%;
	width: 100%;
}
.sign
{
	margin: 0 auto;
	margin-top: 15px;
	left: 50%;
	bottom: 0;
	width: 200px;
	text-align: center;
	font-size: 12px;
}
.sign a:link {text-decoration:none; color: #51a4e2;}
.sign a:visited {text-decoration:none; color: #51a4e2;}
.sign a:hover {text-decoration:none; color: #51a4e2;}
.sign a:active {text-decoration:none; color: #51a4e2;}

.main
{
	min-height: 300px;
	width: 65%;
	overflow: hidden;
	
	background-color: rgba(255,255,255, 0.6);
	border: 1px solid gray;
	
	margin: 0 auto;
	
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	

}

.msg_box, .popup
{
	position: fixed;
	margin: 0 auto;
	top: 0px;
	left: 50%;
	margin-left: -175px;
	line-height: 25px;
	text-align: center;
	width: 350px;
	height: 25px;
	border: 1px solid #ffee8e;
	font-weight:700;
	background: #fdf4c6;
	z-index:10;
	cursor: pointer;
	font-size: 15px;
	-webkit-border-bottom-right-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-moz-border-radius-bottomright: 3px;
	-moz-border-radius-bottomleft: 3px;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
	
}
.error_box
{
	position: fixed;
	margin: 0 auto;
	top: 0px;
	left: 50%;
	margin-left: -175px;
	line-height: 25px;
	text-align: center;
	width: 400px;
	height: 25px;
	border: 1px solid #f47979;
	font-weight:700;
	background: #f7a7a7;
	z-index:10;
	cursor: pointer;
	font-size: 15px;
	-webkit-border-bottom-right-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-moz-border-radius-bottomright: 3px;
	-moz-border-radius-bottomleft: 3px;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
	
	visibility: visible;
}


nav ul ul 
{
	display: none;
}

nav ul li:hover > ul 
{
	display: block;
}

nav ul 
{
	padding: 0 20px;
	list-style: none;
	position: relative;
	display: inline-table;
	background-color: #a78188;
	font-size: 15px;
	margin: 0 auto;
	margin-left: -15px;
	width: 100%;
}

nav ul li { float:left;}

nav ul li a
{
	padding: 5px 10px 5px 10px;
	display:block;
	text-decoration: none;
	color: #fff;
}

nav ul li:hover {background-color: #9c5d69;}
nav ul li:hover > ul {margin:0px; padding:0px;}
nav ul li:hover > ul li {float:none; display:block;}
nav ul li:hover > ul li a {color:#666; min-width:150px; color: #fff;}
nav ul li:hover > ul li a:hover {color:#fff;}

nav ul li {position:relative;}
nav ul li ul {position:absolute; top:34px; left:0px; color: #fff; font-size: 10px; }

.content
{
	margin-top: 10px;	
	padding-left: 15px;
	padding-right: 15px;
}

h1
{
	font-weight: 700;
	font-size: 15px;
	line-height: 18px;
}
.form_table
{
	border-collapse: collapse;
}
.form_table td
{
	padding-right: 15px;
}
.form_table th
{
	font-size: 12px;
	color: #555555;
	text-align: left;
	padding-bottom: 10px;
	padding-left: 5px;
}
.form_table input
{
	width: 100%;
}
.button
{
	height: 30px;
	min-width: 100px;
	
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: none;
	border: 1px solid #797979;
	
	background: #eeeeee; /* Old browsers */
	background: -moz-linear-gradient(top,  #eeeeee 0%, #bbbbbb 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#bbbbbb)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #eeeeee 0%,#bbbbbb 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #eeeeee 0%,#bbbbbb 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #eeeeee 0%,#bbbbbb 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #eeeeee 0%,#bbbbbb 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#bbbbbb',GradientType=0 ); /* IE6-9 */

	cursor: pointer;
	text-decoration:none;
	text-align:center;
	color: #191919;
	font-family: 'Monda';
	font-weight: 700;
	margin: 15px;
}

.button:active
{	
	background: #bbbbbb; /* Old browsers */
	background: -moz-linear-gradient(top,  #bbbbbb 0%, #eeeeee 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bbbbbb), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #bbbbbb 0%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #bbbbbb 0%,#eeeeee 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #bbbbbb 0%,#eeeeee 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #bbbbbb 0%,#eeeeee 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bbbbbb', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
	
	border: 1px solid #3b98d0;
}
.button:hover { background-color: #cfcece; border: 1px solid #3b98d0; }

.textbox
{
	height: 26px;
	
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	
	outline: none;
	border: 1px solid #9f9f9f;
	color: #666666;
	text-decoration:none;
	font-size: 16px;
	padding-left: 5px;
	
	background: #f6f5f5;
}
.textbox:focus
{
	border: 1px solid #3b98d0;
}
.textbox[disabled] 
{
	background: #e5e5e5;
	color: #a3a3a3;
}
.error
{
	outline: none;
	text-decoration:none;

	border: 1px solid #fc7474;
	background: #ffd1d1;
	color: #e07d7d;
}
.error:focus
{
	border: 1px solid #ff2121;
}

.error p, .message p
{
	padding: 0;
	margin: 0;
	line-height: 25px;
}

.selectbox
{

	height: 30px;


	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	
	outline: none;
	border: 1px solid #9f9f9f;
	color: #666666;
	text-decoration:none;
	font-size: 16px;
	padding-left: 5px;
	line-height: 16px;
	margin-left: 2px;

	overflow: hidden;
	background-color: #f6f5f5;
}
.selectbox:focus
{
	border: 1px solid #3b98d0;
}

.big
{
	height: auto;
}

.result_table
{
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	border-collapse: collapse;
	overflow: hidden;
	width: 100%;
	text-align: center;
	font-size: 14px;
}

.result_table th
{
	background-color: #cdcdcd;
	cursor: pointer;
}
.result_table th:hover
{
	background-color: #adacac;
}

.edit_button
{
	height: 18px;
	width: 60px;
	
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: none;
	border: 1px solid #d5d2d2;
	color: #2d2d2d;
	cursor: pointer;
	text-decoration:none;
	text-align:center;
	
	background: #e7e7e7;
}

.edit_button:hover { background-color: #cfcece; border: 1px solid #3b98d0; }
.edit_button:active { background-color: #b0c3e1; border: 1px solid #3b98d0; }

.textarea
{
	outline: none !important;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	
	outline: none;
	border: 1px solid #9f9f9f;
	color: #666666;
	text-decoration:none;
	
	padding-left: 5px;
	
	background: #f6f5f5;
	
	font-family: 'Monda';
	font-style: normal;
	font-weight: 400;
	font-size: 15px;
}
.textarea:focus
{
	border: 1px solid #3b98d0;
}
.textarea_error
{
	outline: none !important;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: none;
	text-decoration:none;
	
	padding-left: 5px;

	border: 1px solid #fc7474;
	background: #ffd1d1;
	color: #e07d7d;
}
.textarea_error:focus
{
	border: 1px solid #ff2121;
}
.menu_name_box
{
	width: 100%;
	height: 25px;
	background-color: #d396a1;
	color: #fff;
	text-align: center; 
}
SELECT, INPUT[type="text"], input[type="password"]
{
    width: 160px;
    box-sizing: border-box;
}
SECTION 
{
    padding: 8px;
    background-color: #f0f0f0;
    overflow: auto;
}
SECTION > DIV 
{
    float: left;
    padding: 4px;
}
SECTION > DIV + DIV 
{
    width: 40px;
    text-align: center;
}

.black
{
	z-index: 50;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
}
#loading-gif
{
	width: 50px;
	height: 50px;
	position: fixed;
	left: 50%;
	top: 50%;
	margin-left: -25px;
	margin-top: -25px; 
	
	background-image: url(../include/loader.gif);
	background-repeat: no-repeat;
	background-size: contain; 
}
.alert_box
{
	position: fixed;
	margin: 0 auto;
	top: 20%;
	left: 50%;
	margin-left: -175px;
	text-align: center;
	width: 350px;
	font-weight:700;
	color: #4d4d4d;

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
	z-index: 51;
	padding: 15px 20px 15px 70px;
}
.alert_box > .container
{
	border-left: 1px solid rgba(0, 0, 0, 0.1);
}
.alert_box > .container .text
{
	border-left: 1px solid rgba(255, 255, 255, 0.7);
	padding-left: 15px;
}
.alert_box > .container .text h1
{
	font-size: 14px;
}

.alert_box > .container .text h2
{
	font-size: 12px;
	font-weight: normal;
}
.alert_box.warn
{
	border: 1px solid #c1002c;
	
	background: #fce6eb; /* Old browsers */
	background: url(warn.png) no-repeat 20px, -moz-linear-gradient(top,  #fce6eb 0%, #facad5 3%, #f693aa 100%); /* FF3.6+ */
	background: url(warn.png) no-repeat 20px, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fce6eb), color-stop(3%,#facad5), color-stop(100%,#f693aa)); /* Chrome,Safari4+ */
	background: url(warn.png) no-repeat 20px, -webkit-linear-gradient(top,  #fce6eb 0%,#facad5 3%,#f693aa 100%); /* Chrome10+,Safari5.1+ */
	background: url(warn.png) no-repeat 20px, -o-linear-gradient(top,  #fce6eb 0%,#facad5 3%,#f693aa 100%); /* Opera 11.10+ */
	background: url(warn.png) no-repeat 20px, -ms-linear-gradient(top,  #fce6eb 0%,#facad5 3%,#f693aa 100%); /* IE10+ */
	
	
	-moz-box-shadow: 0px 0px 10px 1px #b87181;
	-webkit-box-shadow: 0px 0px 10px 1px #b87181;
	box-shadow: 0px 0px 10px 1px #b87181;
}
.alert_box.win
{
	border: 1px solid #60b670;
	
	background: #fcfef3; /* Old browsers */
	background: url(win.png) no-repeat 20px, -moz-linear-gradient(top,  #fcfef3 0%, #f1facf 3%, #c6dc77 100%); /* FF3.6+ */
	background: url(win.png) no-repeat 20px, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfef3), color-stop(3%,#f1facf), color-stop(100%,#c6dc77)); /* Chrome,Safari4+ */
	background: url(win.png) no-repeat 20px, -webkit-linear-gradient(top,  #fcfef3 0%,#f1facf 3%,#c6dc77 100%); /* Chrome10+,Safari5.1+ */
	background: url(win.png) no-repeat 20px, -o-linear-gradient(top,  #fcfef3 0%,#f1facf 3%,#c6dc77 100%); /* Opera 11.10+ */
	background: url(win.png) no-repeat 20px, -ms-linear-gradient(top,  #fcfef3 0%,#f1facf 3%,#c6dc77 100%); /* IE10+ */
	
	
	-moz-box-shadow: 0px 0px 10px 1px #c3c67e;
	-webkit-box-shadow: 0px 0px 10px 1px #c3c67e;
	box-shadow: 0px 0px 10px 1px #c3c67e;
}
.alert_box > .close
{
	display: block;
	position: absolute;
	top: 10px;
	right: 10px;
	width: 26px;
	height: 26px;
	background: center no-repeat;
	opacity: 0.8;
	cursor: pointer;
}

.alert_box > .close:hover
{
	opacity: 1;
}

.alert_box.warn > .close
{
	background-image: url(close.png);
}
.alert_box.win > .close
{
	background-image: url(close_win.png);
}



.login
{
	position: absolute; 
	width: 30%;
	left: 50%;
	margin-left: -15%; 
	

	background-color: rgba(255,255,255, 0.6);
	border: 1px solid gray;

	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;	
	
}

.login h1
{
	text-align: center; 
	margin: 0; 
	padding: 0; 
	font-family: inherit;
	font-size: 18px; 
	margin-top: 10px; 
	margin-bottom: 10px; 
}

.login input
{
	margin: 0 auto; 
	width: 100%; 
	float: center;
	padding: 0; 
	margin-top: 10px; 
}
