/* GENERAL HTML ITEMS */

@font-face {
  font-family: 'HeaderFont';
  src: url('Dosis-Bold.ttf')  format('truetype');
}

@font-face {
  font-family: 'TextFont';
  src: url('Dosis-Medium.ttf')  format('truetype');
}

body
{
	font-size:17px;
	font-family: TextFont, Helvetica, Arial, sans-serif; 
	color: #333;
}

img
{
	max-width: 960px;
}

h1,h2,h3,h4,h5,h6
{
	margin:0; 
	padding:10px 0; 
	font-weight:bold; 
	color:#7f3237;
	font-family: HeaderFont, Arial, Helvetica, sans-serif;
}

h1 { font-size: 20px;}
h2 { font-size: 18px;}
h3 { font-size: 16px;}
h4 { font-size: 14px;}

a:link, a:visited 
{ 
	text-decoration: none;
	color: 1b95e0;
}

a:hover 
{ 
	text-decoration: underline; 
}

ul 
{
	margin:0 0 0 15px;
}

p 
{
	margin-top: 0;
	margin-bottom: 10px; 
	padding: 0 5px 0 5px;
}

/* TEMPLATE FORMATTING */

div.format_header 
{
	width: 960px;
	height: 140px;
	background-image: url(back.png);
	background-repeat: no-repeat;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
	text-align: center;
	pointer-events: none;
	z-index:2;
	position: relative;
	overflow: visible;
	padding-bottom: 34px;
	margin-bottom: -34px;
}

div.format_top
{
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
} 

div.format_bottom
{
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}

div.format_contents
{
	width: 960px;
	max-width: 1024;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
	padding: 0;
	box-sizing: border-box;
	overflow: auto;
	position:relative;
	border-left: 1px solid #e2e4e7;
	border-right: 1px solid #e2e4e7;
}

div.format_left, div.format_right
{
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 0;
	top: 0px;
}

div.format_left
{
	float: left;
}

div.format_right
{
	float: right;
}

div.format_middle
{
	float: none;
	width: auto;
	overflow: hidden;
	margin-left: 0px;
	margin-right: 0px;
	background-color: #fee;

}

div.format_article
{
	top: 0px;
	padding: 0px;
	overflow: hidden;
	margin: 10px;/**/
	border-radius: 0px;
}

div.format_below
{
	float: bottom;
	bottom: 0px;
}

/* TEXTCMS ITEMS FORMATTING */

.summary a
{
	text-decoration: none;
	color: #555;
}

.summary a:hover 
{ 
	text-decoration: underline; 
	color:#7f3237;
}

.summary h3
{
	height: 32px;

}

.summary p
{
	margin-top: 5px;

}

div.area_left, div.area_right
{
	width: 170px;
}

div.area_left div.module, div.area_right  div.module, div.area_above  div.module, div.area_below  div.module
{
	padding: 0px;
	margin: 0px;
	background-color: white;
	box-shadow: 1px 2px 5px #282828;
	border-radius: 5px;
}

div.area_left div.module, div.area_right  div.module
{
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: center;
	width: 160px;
	padding: 0px;
}

div.area_left div.module
{
	margin-left: 10px;
	margin-right: 0px;
	text-align:center;
}

div.area_right div.module
{
	margin-left: 0px;
	margin-right: 0px;
	text-align:center;
}

div.area_above div.module, div.area_below  div.module
{
	margin: 10px;/**/
	padding: 10px;
	border-radius: 5px;
/*	background-color: #c9d8df;*/
}

div.area_left div.module_title, div.area_right div.module_title
{
	background-color: #bedbff;
/*	background-color: #5472b3;*/
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

div.area_left div.module_title h3, div.area_right div.module_title h3
{
	color: #134E8B;
}

div.area_left a:hover, div.area_right a:hover
{ 
	background: #536e93;
/*	color: #ffffff;*/
	text-decoration: none;
	box-shadow: 0px 0px 5px #282828;
	position: relative;
	z-index: 2;
}

div.area_top
{
	background-image: url(mainmenu.png);
	background-repeat: repeat-x;
	padding-left:10px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

div.area_bottom  
{
	background-image: url(mainmenu.png);
	background-repeat: repeat-x;
	color: #ffffff;
	padding: 5px;
	font-family: sans-serif, Arial, Helvetica;
	font-size:12px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;

}

/* DROPDOWN MENU FORMATTING */

div.dropdown_menu, div.dropdown_submenu, div.dropdown_item, div.dropdown
{
	background-image: url(mainmenu.png);
	background-repeat: repeat-x;
	color: #ffffff;
	font-family: sans-serif, Arial, Helvetica;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

div:hover.dropdown_menu, div:hover.dropdown_submenu, div:hover.dropdown_item
{
	background-image: url(mainmenu-h.png);
	background-repeat: repeat-x;
	color: #ffffff;
	box-shadow: 0px 0px 5px #282828;
	position: relative;
	z-index: 3;
}

.dropdown a
{
	color: inherit;
}

/* PREFFIFY FORMATTING */

.prettyprint
{
	font-size:14px;
	overflow: auto;
}


/* MAILFORM */


.mailform input[type=text], .mailform input[type=email], .mailform textarea
{
	border:1px solid #BEBEBE;
	padding: 7px;
	margin:0px;
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	outline: none;	
	font-family: TextFont;
	font-size: 17;
	margin-top: 5px;
	resize: none;
	width: 100%;
}

.mailform input[type=text]:focus, .mailform input[type=email]:focus, .mailform textarea:focus
{
	-moz-box-shadow: 0 0 8px #88D5E9;
	-webkit-box-shadow: 0 0 8px #88D5E9;
	box-shadow: 0 0 8px #88D5E9;
	border: 1px solid #88D5E9;
}

.mailform input[type=submit], .mailform input[type=button]
{
	background: #4B99AD;
	padding: 8px 15px 8px 15px;
	margin-top: 14px;
	border: none;
	color: #fff;
	font-family: TextFont;
	font-size: 17;
	min-width:200;
}
.mailform input[type=submit]:hover, .mailform input[type=button]:hover
{
	background: #4691A4;
	box-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
}

element.style { height:auto;}
