/*
 * Stylesheet contains:
 *
 * - Fonts
 * - HTML5 / Tweaks
 *
 * - General styles
 * - Forms
 * - Drop down menu base
 *
 * - Header
 * - Main menu
 * - Breadcrumbs
 * - Mainpart
 *
 * - Columns
 *
 * - Content
 * - Sidebar
 * - Front page
 *
 * X Pager
 * - Page tabs
 * X Tables
 *
 * - Footer
 */

/*
   .-----------------------------------------------------.
   |                       FONTS                         |
   '-----------------------------------------------------'
*/

body,
.t-font,
h2, .home h3,
input,
select,
textarea,
button,
label,
.block-content strong {
	font-family: 'QuicksandBook', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

.light {
	font-family: 'QuicksandLight', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

.regular {
	font-family: 'QuicksandRegular', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}


.sb-font {
	font-family: 'QuicksandBold', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

strong,
.strong,
table th,
table thead td,
h1,
.home h2,
h3,
h5,
h6,
.h1-like,
.h2-like,
.h3-like,
.nice-menu,
.submenu ul,
.breadcrumbs,
.content a {
	font-family: 'QuicksandBold', TimesNewRoman, 'Times New Roman', Times, Baskerville, Georgia, serif;
	font-style: normal;
}

.b-font,
.home .b-font,
.form-item label,
.form-item .wpcf7-submit {
	font-family: 'QuicksandBold', Arial, 'Helvetica Neue', Helvetica, sans-serif;
	font-weight: normal;
}

em,
.em-font,
h2 em, .home h3 em {
	font-family: 'QuicksandOblique', Arial, 'Helvetica Neue', Helvetica, sans-serif;
	font-style: normal;
}

.light-italic {
	font-family: 'QuicksandLightOblique', Arial, 'Helvetica Neue', Helvetica, sans-serif;
	font-style: normal;
}

strong em,
em strong,
h1 em,
.home h2 em,
h3 em,
h4 em,
h5 em,
h6 em,
.h-font em,
.h-font strong {
	font-family: 'QuicksandBoldOblique', TimesNewRoman, 'Times New Roman', Times, Baskerville, Georgia, serif;
	font-style: normal;
	font-weight: normal;
}

h4,
.h4-like,
.serif-bold {
	font-family: 'QuicksandBold', TimesNewRoman, 'Times New Roman', Times, Baskerville, Georgia, serif;
	font-style: normal;
}

/*
   .-----------------------------------------------------.
   |                   HTML5 / TWEAKS                    |
   '-----------------------------------------------------'
*/
/* HTML5 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
	height: 0;
}
[hidden],
template {
	display: none;
}
/* Prevent iOS text size adjust on device */
/* orientation change, without disabling user zoom */
html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
/* Improve image quality when scaled in IE7: h5bp.com/d */
/* Remove the gap between images and borders on image containers: h5bp.com/i/440 */
img {
	-ms-interpolation-mode: bicubic;
	vertical-align: middle;
}
figure {
	margin: 0;
}
/* Correct overflow not hidden in IE9 */
svg:not(:root) {
	overflow: hidden;
}
/* Text selection */
/* These selection declarations have to be separate */

::-moz-selection {
	background: #a6ce4f;
	color: #fff;
	text-shadow: none;
}

::selection {
	background: #a6ce4f;
	color: #fff;
	text-shadow: none;
}

pre,
code,
kbd,
samp {
	font-family: 'courier new', monospace, serif;
	font-size: 1em;
}
pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}
q {
	quotes: none;
}
q:before,
q:after {
	content: "";
	content: none;
}
/**
 * Hide elements visually, but keep them available for screen-readers.
 *
 * Used for information required for screen-reader users to understand and use
 * the site where visual display is undesirable. Information provided in this
 * manner should be kept concise, to avoid unnecessary burden on the user.
 * "!important" is used to prevent unintentional overrides.
 */
.element-invisible {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px);
	/* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
	height: 1px;
	border: 0;
	margin: -1px;
	padding: 0;
	width: 1px;
}

/*
   .-----------------------------------------------------.
   |                   GENERAL STYLES                    |
   '-----------------------------------------------------'
*/

html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	background: #ffffff;
	color: #857f67;
	font-size: 0.875em;  /* 14px */
	line-height: 1.571em;  /* 22px */
	/*line-height: 1.714em;  /* 24px */
	text-align: left;
}

a {
	text-decoration: none;
	color: #86ad30;
	/* remove gray bg of active liks in IE 10 */
	background: transparent;
}

a:hover {
	text-decoration: underline;
	color: #86ad30;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1-like,
.h2-like,
.h3-like,
.h4-like {
	display: block;
	text-align: left;
	font-weight: normal;
	padding: 0;
	color: #472606;
}

h1,
.h1-like {
	/* TODO */
	font-size: 2.143em;
	line-height: 1em;
	margin-top: 1.267em;
	margin-bottom: 0.667em;
}

h1.page-title,
h2.page-title {
	font-size: 2.143em;
	line-height: 1em;
	text-transform: none;
	color: #0a487d;


	padding-bottom: 0.400em;
	border-bottom: 1px solid #dddbd6;

	position: relative;
	clear: both;
}

h1.page-title:before,
h2.page-title:before {
	content: "";
	display: block;
	width: 100%;
	position: absolute;
	border-bottom: 1px solid #dddbd6;
	top: 1.533em;
}

.home h2.page-title {
	padding-bottom: 0.467em;
}

.home h2.page-title:before {
	top: 1.6em;
}


h1.page-title /*
body.blog h1.page-title,
body.single h1.page-title,
body.page h1.page-title,
body.page-template-page-contact-php h1.page-title*/ {
	margin-top: 0;
}

h2,
.h2-like {
	font-size: 1.714em;
	line-height: 1.5em;
	margin: 0.833em 0 0.364em 0;

	font-size: 1.714em;
	line-height: 1.250em;
	color: #1e89c7;
}

.home h3 {
	margin: 0.542em 0 0.333em;
}

h3,
.h3-like {
	font-size: 1.286em;
	line-height: 1.5em;
	color: #1e89c7;
	margin: 1.389em 0 0.444em;
}

h4,
h5,
h6 {
	font-size: 1em;
	line-height: 1.5em;
	color: #857f67;
	margin: 0.5em 0 0.750em 0;
}

p {
	margin: 0.571em 0 /*0.571em*/ 0;
}

p a {
	margin: 0;
}

/* TODO */
ul,
ol {
	margin: 1.25em 0;
	padding: 0 0 0 2.625em;
}

/*.content ul {
	padding-left: 1.425em;
}

.content ul li {
	list-style: none;
	position: relative;
	padding-left: 1.2em;
	line-height: 1.3em;
	margin: 0.5em 0;
}

.content ul li:before {
	content: "●";
	color: #4e8a35;
	font-size: 1em;
	position: absolute;
	left: 0;
	top: -0.125em;
}*/

img,
a img {
	border: none;
}

.type-news p img[style*="left"],
.type-page p img[style*="left"] {
	display: block;
	margin: 0.375em 15px 10px 0;
}

.type-news p img[style*="right"],
.type-page p img[style*="right"] {
	display: block;
	margin: 0.375em 0 10px 15px;
}

hr {
	display: block;
	height: 1px;
	width: 100%;
	margin: 1.8em 0;
	padding: 0;
	border: 0;
	background: #dddbd6;
	overflow: hidden;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

iframe {
	width: 100%;
	min-height: 50px;
	border: 0;
}

.uppercase {
	text-transform: uppercase;
}

.enlarged {
	font-size: 1.286em;
	line-height: 1.333em;
}

.hidden {
	display: none;
}

.width-wrap {
	width: 978px;
	margin: 0 auto;
	padding: 0 20px;
}

.line {
	width: 100%;
	overflow: hidden;
}

.clear {
	display: block;
	clear: both;
	height: 0;
	overflow: hidden;
}

/*
   .-----------------------------------------------------.
   |                       FORMS                         |
   '-----------------------------------------------------'
*/

/* TODO All in this section */

form {
	margin: 0;
	padding: 0;
}

/* --- Input Fields --- */

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
	background: #fff;
	border: 1px solid #e1e1e1;
	border-radius: 0;
	font-size: 1em;
	color: #7f6954;
	outline: 0;

	line-height: 1.533em;
	padding: 0.36em 9px 0.43em;

	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	width: 100%;

	-moz-box-shadow: inset 0 0 4px -1px #d0d0d0;
	-webkit-box-shadow: inset 0 0 4px -1px #d0d0d0;
	box-shadow: inset 0 0 4px -1px #d0d0d0;
}

.wpcf7-text {
	line-height: 1em;
	height: 2.286em;
	padding-top: 0;
	padding-bottom: 0;
}

.wpcf7-textarea {
	line-height: 1.4em;
	padding-right: 0;
	resize: none;
	width: 100%;
	overflow: auto;
	vertical-align: top;
}

.wpcf7-text,
.wpcf7-textarea {
	cursor: text;
}

.wpcf7-select {
	min-height: 2.533em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	/* the following is for Safari 5 only */
	line-height: 2.033em;
}

/*
.wpcf7-text:required,
.wpcf7-textarea:required,
.wpcf7-select:required {
	background: #f5f4f3;
	border-color: #d2d2d1;
}
*/
.wpcf7-text:focus,
.wpcf7-textarea:focus {
	border-color: #e1e1e1;
	background: #FFF;
	color: #1E89C7;


	-moz-box-shadow: inset 0 0 4px -1px #86AD30;
	-webkit-box-shadow: inset 0 0 4px -1px #86AD30;
	box-shadow: inset 0 0 4px -1px #86AD30;
}
/*
.wpcf7-text:invalid,
.wpcf7-textarea:invalid,
.wpcf7-select:invalid {
	outline: none;
	box-shadow: none;
    -moz-box-shadow: none;
}*/

/* --- Buttons --- */

.wpcf7-submit,
.button {
	border: none;
	background: url("../images/button-1.png") no-repeat scroll center center #A8CE52;
	background-size: cover;

    color: #FFFFFF;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;

	font-size: 1.143em;
	font-weight: normal;

	/*padding: 0 3.5em;
	min-width: 170px;*/
	line-height: 2.188em; /* height - (border-top + border-bottom)*/
    height: 2.188em;
    width: 7.125em;

	cursor: pointer;
	white-space: nowrap;
	overflow: visible; /* IE 7 */

	display: inline-block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.wpcf7-submit[disabled],
.button[disabled] {
    cursor: default;
}

.wpcf7-submit {
	-webkit-appearance: button;/* Allow styling in iOS */
}

input[type="submit"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input::-moz-focus-inner,
button::-moz-focus-inner {
	/*padding: 0;
	border: 0 none;
	-moz-box-sizing: border-box;*/
}

/* --- Buttons hover --- */

.wpcf7-submit:hover,
.button:hover {
	color: #01315A;
	text-decoration: none;
}

/*
   .-----------------------------------------------------.
   |                 DROP DOWN MENU BASE                 |
   '-----------------------------------------------------'
*/

ul.nice-menu,
ul.nice-menu li,
ul.nice-menu a,
ul.nice-menu ul {
	display: block;
	padding: 0;
	margin: 0;
}

ul.nice-menu,
ul.nice-menu ul {
	z-index: 5;
	position: relative;
	list-style: none;
}

ul.nice-menu li {
	position: relative;
	float: left;
}

ul.nice-menu ul {
	position: absolute;
	visibility: hidden;
	top: 2em;
	left: 0;
}

ul.nice-menu ul li {
	width: 12.5em;
}

/* Show submenus when over their parents */
ul.nice-menu li:hover ul,
ul.nice-menu li.menuparent li:hover ul,
ul.nice-menu li.menuparent li.menuparent li:hover ul,
ul.nice-menu li.menuparent li.menuparent li.menuparent li:hover ul,
ul.nice-menu li.over ul,
ul.nice-menu li.menuparent li.over ul,
ul.nice-menu li.menuparent li.menuparent li.over ul,
ul.nice-menu li.menuparent li.menuparent li.menuparent li.over ul {
	visibility: visible;
}

/* Hide sub-submenus initially */
ul.nice-menu li:hover ul ul,
ul.nice-menu li:hover ul ul ul,
ul.nice-menu li:hover li:hover ul ul,
ul.nice-menu li:hover li:hover ul ul ul,
ul.nice-menu li:hover li:hover li:hover ul ul,
ul.nice-menu li:hover li:hover li:hover ul ul ul,
ul.nice-menu li.over ul ul,
ul.nice-menu li.over ul ul ul,
ul.nice-menu li.over li.over ul ul,
ul.nice-menu li.over li.over ul ul ul,
ul.nice-menu li.over li.over li.over ul ul,
ul.nice-menu li.over li.over li.over ul ul ul {
	visibility: hidden;
}
ul.nice-menu:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* --- Drop Down Style --- */

ul.nice-menu-down {
	/*float: left;*/
}

ul.nice-menu-down ul {
	left: 0;
}

ul.nice-menu-down ul li {
	clear: both;
}

/*
ul.nice-menu-down li ul li ul {
	left: 9.000em;
	top: 0;
}
*/

/*
   .-----------------------------------------------------.
   |                       HEADER                        |
   '-----------------------------------------------------'
*/

header#Header {
	border-top: 13px solid #01315a;
	background: url(../images/header-bg.png) center top repeat;
}

header#Header h1 {
	display: none;
}

#Header .width-wrap {
	padding-top: 0.571em;
	padding-bottom: 0.786em;
	position: relative;
}

a.logo {
	position: relative;
	float: left;
	margin-bottom: 1.143em;
}

.additional-logos {
	float: right;
}

.additional-logos a:first-child {
	margin-right: 2.5em;
}

/* --- Main Menu : First level items --- */

#Menu {
	font-size: 1.143em;
	line-height: 2.188em;
	min-height: 2.188em;
	margin: 2em 0 1.875em;
	padding: 0;
	float: right;
	text-transform: uppercase;
	clear: right;
}

#Menu ul.nice-menu {
	padding: 0;
	margin: 0;
	z-index: 9999;
}

ul.nice-menu > li {
	float: left;
	list-style: none;
	height: 2.188em;
	margin-left: 30px;
}

ul.nice-menu > li:first-child {
	margin-left: 0;
}

ul.nice-menu > li > a {
	display: block;
	height: 2.188em;	/* 35px */
	width: 7.125em;	/* 114px */
	padding: 0em 0 0 0;
	margin:0;
	color: #fff;
	text-decoration: none;
	background: #a8ce52 url(../images/button-1.png) center center no-repeat;
	background-size: cover;
	text-align: center;
}

#Menu ul.nice-menu > li > a:hover,
#Menu ul.nice-menu > li.current-menu-item > a,
#Menu ul.nice-menu > li:hover > a,
#Menu ul.nice-menu > li.current-menu-parent > a  {
	color: #01315a;
	text-decoration: none;
}

/* --- Main Menu : Second level items --- */

#Menu ul.nice-menu ul {
	top: 2.188em;
	z-index: 9990;
}

body #Menu ul.nice-menu ul {
	top: 2.188em;
	padding-bottom: 0.625em;
	padding-top: 0.375em;
	background: #88bfdd;
}

#Menu ul.nice-menu ul li {
	padding: 0;
	background: #88bfdd;
	height: auto;
}

#Menu ul.nice-menu ul li a {
	height: auto;
	line-height: 1.875em;
	padding: 0 10px;
	background: #88bfdd;
	color: #fff;
	text-transform: none;
}

#Menu ul.nice-menu ul > li > a:hover,
#Menu ul.nice-menu ul > li:hover > a {
	text-decoration: none;
	color: #fff;
	background: #8fc6e4;
}

#Menu ul.nice-menu ul > li.current-menu-item > a,
#Menu ul.nice-menu ul > li.current-menu-parent > a {
	text-decoration: none;
	color: #01315a;
}

/*
   .-----------------------------------------------------.
   |                      MAINPART                       |
   '-----------------------------------------------------'
*/

#Wrapper {
	min-height: 100%;
	margin-bottom: -5.357em;
}

#Wrapper:after {
	content: "";
	display: block;
	height: 5.357em;
}

#Mainpart {
	padding: 0;
}

.push-top {
	display: block;
	height: 0;
	margin-top: 30px;
	overflow: hidden;
	width: 100%;
}

.push-bottom {
	display: block;
	height: 0;
	margin-top: 68px;
	overflow: hidden;
	width: 100%;
}

.home .push-top {
	display: block;
	height: 0;
	margin-top: 38px;
	overflow: hidden;
	width: 100%;
}


.home .push-bottom {
	display: block;
	height: 0;
	margin-top: 38px;
	overflow: hidden;
	width: 100%;
}

/*
   .-----------------------------------------------------.
   |                       CONTENT                       |
   '-----------------------------------------------------'
*/

.has-sidebar #Content {
	width: 684px;
	float: left;
}

.no-sidebar #Content {
	width: 978px;
	float: none;
}

.content a {
	text-transform: uppercase;
}

.content aside a {
	text-transform: none;
}

.navigation {
	margin-top: 2em;
	margin-top: 2em;
	overflow: hidden;
}

.navigation .button-next {
	float: right;
}

.navigation .button-prev {
	float: left;
}

/*
   .-----------------------------------------------------.
   |                       SIDEBAR                       |
   '-----------------------------------------------------'
*/

#Sidebar {
	width: 264px;
	float: right;
}

.block {
	margin-top: 30px;
}

.block-1 {
	margin-top: 0;
}

.block .block-title {
	display: table;
	text-align: center;
	background: #01315a;
	color: #fff;
	width: 100%;
	height: 98px;
}

.block .block-title h3 {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	font-size: 1.714em;
	line-height: 1.25em;
	margin: 0;
	padding: 0.083em 16px 0;
	color: #fff;
}

.block-title h3 .grades {
	display: block;
	font-size: 0.583em;
	margin: -0.143em 0 0;
}

.block-content {
	background: #eeeef2;
	padding: 8px 16px;
	color: #3e3f3f;
}

.block-content p {
	margin: 0.571em 0;
}

.block-content strong {
	color: #01315a;
}

.links {
	min-height: 110px;
	background: #e4e4e7;
	text-align: center;
	overflow: hidden;
}

.links a {
	font-size: 1.714em;
	text-decoration: none;
	display: inline-block;
	text-transform: none;
}

.links a:hover {
	text-decoration: none;
}

.links a:first-child {
	border-bottom: 1px solid #c4c2c2;
	padding-bottom: 0.583em;
	margin-bottom: 0.458em;
	margin-top: 0.792em;
}

/*
   .-----------------------------------------------------.
   |                     FRONT PAGE                      |
   '-----------------------------------------------------'
*/

.home #Header .width-wrap {
	padding-bottom: 0;
}

.home #Header .inner {
	background: #a8ce52 url(../images/header-front-lower-bg.png) top center repeat-x;
	height: 15px;
	position: relative;
	z-index: 100; /* above slider */
	-webkit-box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.25),
	                    0px -1px 2px rgba(50, 50, 50, 0.25);
	-moz-box-shadow:    0px 1px 2px rgba(50, 50, 50, 0.25),
	                    0px -1px 2px rgba(50, 50, 50, 0.25);
	-ms-box-shadow:     0px 1px 2px rgba(50, 50, 50, 0.25),
	                    0px -1px 2px rgba(50, 50, 50, 0.25);
	box-shadow:         0px 1px 2px rgba(50, 50, 50, 0.25),
	                    0px -1px 2px rgba(50, 50, 50, 0.25);
}

.home #Mainpart {
	overflow: hidden;
}

.front-content {
/*
	width: 390px;
	float: left;
*/
	overflow: hidden;
}

.home h2.page-title {
	margin-top: 0;
}

.home h3 {
	font-size: 1.714em;
	line-height: 1.250em;
	color: #1e89c7;
}

.front-cols {
/*
	width: 558px;
	float: right;
	padding-top: 0.357em;
*/
	margin-top: 38px;

	overflow: hidden;
}

.front-cols .block {
	float: left;
/*
	width: 264px;
	margin-top: 0;
*/
	width: 306px;
	margin: 0 0 0 30px;
}
.front-cols .block:first-child {
	margin-left: 0;
}
.front-cols .wp-post-image {
	width: 306px;
	height: auto;
}

/*
.front-cols .block-2 {
	float: right;
}
*/

.front-cols .block-content {
	min-height: 217px;
}

/*
   .-----------------------------------------------------.
   |                       FOOTER                        |
   '-----------------------------------------------------'
*/

footer#Footer {
	font-size: 1em;
	max-height: 5.357em;
	height: 5.357em;
	overflow: hidden;
	padding: 0;
	background: #01315a;
	color: #fff;
}

/* --- Footer Menu --- */

ul.footer-menu {
	float: left;
	list-style: none;
	margin: 0.571em 0 0 0;
	padding: 0;
	text-transform: uppercase;
}

ul.footer-menu li {
	float: left;
	margin-left: 0.286em;
}

ul.footer-menu li:first-child {
	margin-left: 0;
}

ul.footer-menu li:before {
	content: "|";
	margin: 0 0.286em 0 0;
	color: #a7d7f3;
}

ul.footer-menu li:first-child:before {
	content: "";
}

ul.footer-menu li a {
	color: #a7d7f3;
}

ul.footer-menu li a:hover {
	color: #fff;
	text-decoration: none;
}

.copyrights {
	float: right;
	margin: 0.571em 0 0 0;
}
