/*
Design by Free Responsive Templates
http://www.free-responsive-templates.com
Released for free under a Creative Commons Attribution 3.0 Unported License (CC BY 3.0)
*/ 
* {
	margin:0;
	padding:0;
}
body  {
	font-family: 'Gentium Basic', serif;
	font-size: 16px;
	background: url(../images/siteBackground.jpg) repeat;
	color:#424242;
	text-shadow: 0px 0px, 1px 1px #E1E1E1;
}
.smallr{font-size:14px; color:#FF0000;}
.f20{
	font-family: 'Gentium Basic', serif;
	font-size: 20px;
}
a {
	color:#0088d0;
	text-decoration:underline;
}
p {
	line-height:140%;	
}
h2 {
	font-size:18px;
	color:#160000;
}
.container { 
	width: 1000px;
	margin: 0 auto;
} 
header h1 {

	padding:75px 0 0 0;
}
header h1 a {
	font-size: 36px;
	color:#160000;
	text-decoration:none;
}
.boxes {
	background:url(../images/contentBackground.jpg) repeat;
	border:1px solid #bbbbbb;
	padding:30px;
	overflow:auto;
}
.box {
	width:233px;
	float:left;
	padding:0 32px;
	padding-bottom:35px;
	
}
.box h2, .sidebar1 h2, .mainContent h2 {
	padding:20px 0;
}
.box img {
	max-width: 100%; 
	display: block; 
	border:2px solid #FFFFFF;
	box-shadow: 0px 3px 4px 0px #939393;
}
.box p {
	margin-bottom:20px;
}
.box p a {
	background:#18bbff;
	text-shadow:none;
	color:#ffffff;
	border-radius:5px;
    box-shadow: 0 3px #0695d1;
	padding:10px 20px;
	text-transform:uppercase;
	font-weight:bold;
	text-decoration:none;
	float:right;
}
.box p a:hover {
	background:#0695d1;
	text-shadow:none;
	color:#ffffff;
	border-radius:5px;
    box-shadow: 0 3px #007fb4;
	padding:10px 20px;
	text-transform:uppercase;
	font-weight:bold;
	text-decoration:none;
	float:right;
}
.sidebar1 {
	float: right; 
	width: 290px;
	padding:20px 0 20px 0;
}
.sidebar1 li {
	list-style:none;
	padding:10px 0 10px 7px;
	background:url(../images/p.png) no-repeat left 17px;
	border-bottom:1px solid #bbbbbb;
	box-shadow: 0 1px #f2f2f2;
}
.sidebar1 li a {
	text-decoration:none;
}
.sidebar1 li a:hover {
	text-decoration:underline;
}
.mainContent { 
	margin: 0 360px 0 0;
	padding:20px 0 20px 0;
}
.mainContent img {
	max-width: 100%; 
	display: block; 
	border:2px solid #FFFFFF;
	box-shadow: 0px 3px 4px 0px #939393;
}
.floatPic {
	float:left;
	margin:0 25px 10px 0;
}
footer {
	background:url(../images/contentBackground.jpg) repeat;
	border-top:1px solid #bbbbbb;
} 
footer p {
	text-align:center;
	padding:30px;
}
.clearfloat { 
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

.h_controlpanel {
	padding: 20px 10px 20px 10px;
		background:url(../images/contentBackground.jpg) repeat;
	border-bottom:1px solid #bbbbbb;
	text-align:center;
} 

.content{
	padding:20px 20px 20px 20px;
	background:url(../images/contentBackground.jpg) repeat;
	border:1px solid #bbbbbb;
	padding:30px;
}
/*--------------------------------------------------------------------------------------------*/
/********* begin MAIN NAV ********/
/*--------------------------------------------------------------------------------------------*/
#navcontainer {
	float:right;
}
ul#navlist {
	margin-left: 0;
	padding-left: 0;
	white-space: nowrap;
}
#navlist li {
	display: inline;
	list-style-type: none;
	padding:65px 0 0 1px;
	float:left;
}
#navlist a {
	padding:60px 10px 10px 10px;
	color: #444444;
	text-transform:uppercase;
	text-decoration:none;
	font-size:18px;
	font-weight:bold;
}
#navlist a:hover {
	background:#18bbff;
	text-shadow:none;
	color:#ffffff;
	border-radius:0 0 5px 5px;
    box-shadow: 0 3px #0695d1;
}
#navlist #active a {
	background:#18bbff;
	text-shadow:none;
	color:#ffffff;
	border-radius:0 0 5px 5px;
    box-shadow: 0 3px #0695d1;
}
/*--------------------------------------------------------------------------------------------*/
/********* end MAIN NAV ********/
/*--------------------------------------------------------------------------------------------*/
/********* begin SLIDER ********/
/*--------------------------------------------------------------------------------------------*/
.slider { 
	width:956px;
	position:relative; 
	z-index:1; 
	background:#fff; 
	margin:20px 0 80px 0;
	margin-left:auto;
	margin-right:auto;
}
.flexslider {
	margin: 0;
}
.flexslider .slides > li {
	display: none; 
	list-style:none;
} 
.flexslider .slides img {
	max-width: 100%; 
	display: block; 
	border:2px solid #FFFFFF;
	box-shadow: 0px 3px 4px 0px #939393;
}
.flex-pauseplay span {
	text-transform: capitalize;
}
/* Clearfix for the .slides element */
.slides:after {
	content: "."; 
	display: block; 
	clear: both; 
	visibility: hidden; 
	line-height: 0; 
	height: 0;
} 
/* control Nav */
.flex-control-nav { 
	position:absolute; 
	bottom:-80px; 
	left:434px;
}
.flex-control-nav li { 
	display:block; 
	float:left; 
	margin-right:1px;
}
.flex-control-nav li a {
	display:block;
	background:url(../images/pagination.png) 0 0 no-repeat; 
	width:32px; height:33px; 
	text-indent:-5000px;
}
.flex-control-nav li a:hover,.flex-control-nav li a.active { 
	background-position:0 -33px; 
	cursor:pointer;
}
/* Slider Image Caption */
.sliderImageCaption{ 
	position:absolute; 
	color:#160000;
	text-align:center; 
	width:100%; 
	bottom:-35px;
}
/*--------------------------------------------------------------------------------------------*/
/********* end SLIDER ********/
/*--------------------------------------------------------------------------------------------*/
/********* begin MEDIA QUERIES ********/
/*--------------------------------------------------------------------------------------------*/
/* for 980px or less */
@media screen and (max-width: 960px) {
	.container {
		width: 98%;
	}
	.mainContent {
		width: 70%;
	}
	.sidebar1 {
		width: 29%;
	}
	.slider {
		width:99.6%;
	}
}
/* for 768px or less */
@media screen and (max-width: 768px) {
	header h1 {
    	float: left;
		padding: 5px 20px 0 0;
	}
	header h1 a {
		font-size:18px;
	}
	#navcontainer {
		float:none;
	}
	#navlist li {
		display: inline;
		float: left;
		list-style-type: none;
		padding: 17px 0 0 1px;
	}
	#navlist #active a {
		border-radius: 5px;
	}
	#navlist a:hover {
		border-radius: 5px;
	}
	#navlist a {
		font-size: 18px;
		padding: 10px 10px;
	}
	.sidebar1 {
		float:none;
	}
	.mainContent {
		margin:0;
	}
	.slider {
		margin-top:10px;
		margin:20px 0 80px 0;
	}
	.sidebar1 {
		width: 100%;
		padding:0;
	}
	.mainContent {
		width: 100%;
		padding:0;
	}
	.box {
		float:none;
		clear:both;
		border-bottom:1px solid #bbbbbb;
		box-shadow: 0 1px #f2f2f2;
		margin-bottom:30px;
		width:auto;
	}
	.box h2 {
		padding:0 0 5px 0;
	}
	.box p a  {
		float:none;
	}
	.box p a:hover  {
		float:none;
	}
	.box img {
		width:auto;
		float:left;
		margin:0 20px 10px 0;
	}
	.sliderImageCaption{ 
		position:absolute; 
		color:#160000;
		text-align:center; 
		width:100%; 
		bottom:-35px;
	}
	.flex-control-nav { 
		position:absolute; 
		bottom:-80px; 
		left:40%;
	}
}
/* for 480px or less */
@media screen and (max-width: 480px) {
	header h1 {
    	float: none;
		padding: 5px 20px 0 0;
	}
	#navlist li {
		display: block !important;
		list-style-type: none;
		float:none !important;
		padding-top:4px;
	}
	#navlist a {
		background: url(../images/contentBackground.jpg) repeat;
		text-shadow:none;
		border-radius:0 0 5px 5px;
		box-shadow: 0 3px #bbbbbb;
		font-size:14px;
		padding:10px 5px; 
	}
	#navcontainer { 
		width: 100%; 
	}
	#navcontainer a {
		display: block;
		width: 100%;
	}
	.slider {
		margin-top:0px;
		margin-bottom:0px;
	}
	.sidebar1 {
		width: 100%;
		padding:0;
	}
	.mainContent {
		width: 100%;
		padding:0;
	}
	.box {
		width:100%;
		clear:both;
		border-bottom:1px solid #bbbbbb;
		box-shadow: 0 1px #f2f2f2;
		padding:0;
		margin-bottom:10px;
	}
	.box p a  {
		float:none;
	}
	.box p a:hover  {
		float:none;
	}
	.box img {
		text-align:center;
		width:99%;
	}
	.sliderImageCaption {
		display:none;
	}
	.flex-control-nav { 
		position:absolute; 
		bottom:5px; 
		left:25%;
	}
}
img {
	max-width: 100%;
	height: auto;
	width: auto;
}

/*--------------------------------------------------------------------------------------------*/
/********* end MEDIA QUERIES ********/
/*--------------------------------------------------------------------------------------------*/


/*Control Panel*/

.login {
	padding-top:100px;
	padding-bottom:100px;
}

/* Buttons */

.button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
	width:200px;
}

.button1 {
    background-color: white; 
    color: black; 
    border: 2px solid #4CAF50;
}

.button1:hover {
    background-color: #4CAF50;
    color: white;
}

.button2 {
    background-color: white; 
    color: black; 
    border: 2px solid #008CBA;
}

.button2:hover {
    background-color: #008CBA;
    color: white;
}

.button3 {
    background-color: white; 
    color: black; 
    border: 2px solid #f44336;
}

.button3:hover {
    background-color: #f44336;
    color: white;
}

.button4 {
    background-color: white;
    color: black;
    border: 2px solid #9D5DAB;
}

.button4:hover {background-color: #9D5DAB;}

.button5 {
    background-color: white;
    color: black;
    border: 2px solid #555555;
}

.button5:hover {
    background-color: #555555;
    color: white;
}

.button7 {
    background-color: white;
    color: black;
    border: 2px solid #FFD93D;
}

.button7:hover {
    background-color: #FFD93D;
    color: white;
}

.cp_button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 1px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 2px 1px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
	width:100px;
	height:30px;
}


.cp_button6 {
    background-color: white;
    color: black;
    border: 2px solid #FB9F2A;
}

.cp_button6:hover {
    background-color: #FB9F2A;
    color: white;
}

.main_cp {
	padding-top:10px; 
	padding-bottom:80px;
}

#divleft{float:left; padding-right:5px;}

input {
   /* width: 100%;*/
    padding: 12px 20px;
    margin: 8px 0;
	border:thin solid;
    border-radius: 6px;
    box-sizing: border-box;
	font-family: 'Gentium Basic', serif;
	font-size: 18px;
}

.ifile{
	border:none; width:220px; padding:1px 3px 1px 3px;
	font-family: 'Gentium Basic', serif;
	font-size: 14px;
	background-color: white;
    color: black;
    border: 2px solid #FB9F2A;
}

.fileserver{
	border:none; width:350px; padding:1px 3px 1px 3px;
	height:30px;
	font-family: 'Gentium Basic', serif;
	font-size: 16px;
	background-color: white;
    color: black;
    border: 2px solid #FB9F2A;
}


.framer{
width:350px;height:60px;border-radius: 6px;box-sizing: border-box;
background-color: white;
color: black;
border: 2px solid #FB9F2A;
margin-top:auto; margin-bottom:auto; vertical-align:central;

}

textarea {
   /* width: 100%;*/
    height: auto;
    padding: 12px 20px;
    box-sizing: border-box;
    border: thin solid;
    border-radius: 4px;
    background-color: #ffffff;
    resize: none;
	font-family: 'Gentium Basic', serif;
	font-size: 18px;
}


select {
    width: 100%;
    padding: 8px 15px;
    border: solid;
	border-width:thin;
    border-radius: 6px;
    background-color: #ffffff;
}

.appform{
	margin-left:auto;
	margin-right:auto;
	background-color:#F0F0F0;
	border: #D3D3D3 2px solid;
}

table td {
	padding-left: 8px;
	padding-top:5px;
}

.b_box {
	float:left;
	width:150px;
	height:35px;
}

.c_b_box{
	width:auto;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
}