/*
Theme Name: Tallinna Tehnikakõrgkool
Author: ADM Interactive
Author URI: https://www.adm.ee/
Version: 1.0
Text Domain: tktk


/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Table of Content
   -――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――
	Reset & Clearfix
	Basic Styles
	Site Styles
	Typography
	Links
	Lists
	Images
	Common
	Buttons
	Forms
	Misc
	Site Styles
	Columns
	Header
	Main Nav
	Sub Nav
	Breadcrumb Nav
	Page Styles
	Slider
	Footer
	Other
	Media Queries
	Font-Face */

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Reset & Clearfix (https://meyerweb.com/eric/tools/css/reset/)
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

.clear{clear:both;display:block;height:0;overflow:hidden;visibility:hidden;width:0}.clearfix:before,.clearfix:after,.form-field:after,.form-field:before{content:" ";display:table}.clearfix:after,.form-field:after{clear:both}.clearfix,.form-field{*zoom: 1}

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Basic Styles
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

body {
	background: #eee;
	font: 14px/21px Verdana, Geneva, sans-serif;
	color: #231f20;
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
	-webkit-text-size-adjust: 100%;
}

.ie8 body {
	background-color: #eeeeee;
}

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Typography
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

h1, h2, h3, h4, h5, h6 {
	color: #231f20;
	font-family: 'PT Sans', sans-serif;
	font-weight: 700;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;}
h2 { font-size: 35px; line-height: 40px; margin-bottom: 10px; }
h3 { font-size: 28px; line-height: 34px; margin-bottom: 8px; }
h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; }
h5 { font-size: 17px; line-height: 24px; }
h6 { font-size: 14px; line-height: 21px; }
.subheader { color: #777; }
.uppercase { text-transform: uppercase; }

.page-title { font-size: 30px; line-height: 35px; margin-bottom: 30px; }
.page-sub-title { font-size: 22px; line-height: 27px; margin-bottom: 20px; padding-top: 10px; text-transform: capitalize; }
.search-results-title { font-size: 16px; font-weight: bold; line-height: 20px; margin-bottom: 5px; }
.page-sub-title-hr { border-bottom: 1px solid #c5c5c5; font: bold 14px/21px Verdana, Geneva, sans-serif; margin-bottom: 20px; padding-bottom: 5px; padding-top: 10px; }

.page-title span.date { font-size: 14px; }

.section-title,
.section-title-green {
	border-bottom: 5px solid #231f20;
	display: inline-block;
	font-size: 24px;
	letter-spacing: 0.04em;
	line-height: 30px;
	margin-bottom: 30px;
	text-transform: uppercase;
}

.section-title-green {
	background: #1fb25a;
	border-bottom: 0;
	color: #fff;
	display: inline-block;
	letter-spacing: 0;
	margin-bottom: 35px;
	padding: 30px 20px;
	width: 260px;
}

p { margin: 0 0 20px 0; }
p img { margin: 0; }
.border img { border: 1px solid #666; }
p.lead { color: #777; font-size: 21px; line-height: 27px; }
p.copyright { color: #888; }

span.required { color: #139146 !important; font-weight: bold; }

em { font-style: italic; }
strong { font-weight: bold; }
small { font-size: 80%; }

/* Blockquotes */
blockquote, blockquote p { color: #777; font-size: 17px; font-style: italic; line-height: 24px; }
blockquote { border-left: 1px solid #ddd; margin: 0 0 20px; padding: 9px 20px 0 19px; }
blockquote cite { color: #555; display: block; font-size: 12px; }
blockquote cite:before { content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }

hr { border: solid #c5c5c5; border-width: 1px 0 0; clear: both; height: 0; margin: 10px 0 30px; }
hr.lighter { border: solid #d3d2d2; border-width: 1px 0 0; clear: both; height: 0; margin: 10px 0 30px; }
hr.content-hr { margin: 30px 0; }

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Links
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

a, a:visited, span {
	color: #139146;
	outline: 0;
	text-decoration: none;
	transition: background-color .2s ease-in-out, border .2s ease, color .2s ease, opacity .2s ease-in-out;
	-webkit-transition: background-color .2s ease-in-out, border .2s ease, color .2s ease, opacity .2s ease-in-out;
	-moz-transition: background-color .2s ease-in-out, border .2s ease, color .2s ease, opacity .2s ease-in-out;
	-ms-transition: background-color .2s ease-in-out, border .2s ease, color .2s ease, opacity .2s ease-in-out;
	-o-transition: background-color .2s ease-in-out, border .2s ease, color .2s ease, opacity .2s ease-in-out;
}

a:hover, a:focus { color: #231f20; text-decoration: none; }
a:focus { text-decoration: none; }
p a, p a:visited { line-height: inherit; }

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Lists
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

ul, ol { margin-bottom: 20px; }
ul { list-style: none outside; }
ol { list-style: decimal; }
ol { margin-left: 30px; }
ul ul, ul ol,
ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%;  }
ul ul li, ul ol li,
ol ol li, ol ul li { margin-bottom: 6px; }
li { line-height: 18px; margin-bottom: 12px; }
ul.large li { line-height: 21px; }
li p { line-height: 21px; }

.static-content ul li, ul.triangle li, ul.square li, ul.circle li {
	background: url(img/content-bullet-square.png) 0 6px no-repeat;
	margin-bottom: 2px;
	padding-left: 15px;
}

ul.triangle-section li,
ul.triangle li,
.quick-links ul li {
	background: url(img/bullet-arrow.png) 0 6px no-repeat;
	padding-left: 15px;
}

ul.circle li {
	background: url(img/content-bullet-circle.png) 0 6px no-repeat;
}

ul.triangle-section li.title, ul.triangle li.title {
	background: none;
	font: 700 20px/24px 'PT Sans', sans-serif;
}

.static-content ul, ul.triangle, ul.square, ul.circle {
	margin-left: 15px;
}

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Images
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

img { vertical-align: bottom; }

img.scale-with-grid {
	max-width: 100%;
	height: auto;
}

.single-thumbnail img {
	height: auto;
	width: 250px;
}

.ie8 .single-thumbnail img {
	height: auto;
	max-width: 250px;
}

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Common
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

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

.align-left { float: left; }

	img.align-left, .align-left img { margin-bottom: 15px; margin-right: 15px; }

.align-right { float: right; }

	img.align-right, .align-right img { margin-bottom: 15px; margin-left: 15px; }

.hidden { display: none !important; }

.disabled { cursor: auto; }

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Buttons
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

.button,
.wpcf7-submitbutton {
	background-color: transparent;
	border: none;
	cursor: pointer;
	margin: 0;
	overflow: visible;
	padding: 0;
}

.button span,
a.button span,
.wpcf7-submitbutton span {
	background: transparent url(img/forms/btn_right.png) no-repeat right top;
	display: block;
	float: left;
	margin: 0;
}

.button span span,
a.button span span,
.wpcf7-submitbutton span {
	background: transparent url(img/forms/btn_left.png) no-repeat top left;
	color: #fff;
	display: block;
	font: 700 18px/35px 'PT Sans', sans-serif;
	height: 36px;
	min-width: 80px;
	padding: 0 20px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

@-moz-document url-prefix() { 
	.button span span, a.button span span, .wpcf7-submitbutton span  {
		line-height: 34px;
	}
}

.button.full-width,
button.full-width,
input[type="submit"].full-width,
input[type="reset"].full-width,
input[type="button"].full-width {
	padding-left: 0 !important;
	padding-right: 0 !important;
	text-align: center;
	width: 100%;
}

/* Hover */
.button-hover span span, a.button:hover span span { background-position: left -36px; }
.button-hover span, a.button:hover span { background-position: right -36px; }

/* Clicked */
.button-click span span { background-position: left -72px; }
.button-click span { background-position: right -72px; }

/* Fix for odd Mozilla border & padding issues */
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Forms
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

.form .row {
	margin-bottom: 10px;
}

.form label {
	display: block;
	margin: 0 0 5px 0;
	clear: both;
}

/* Input */

.input-wrapper {
	background: transparent url(img/forms/input/input_text_left.png) no-repeat left top;
	float: left;
	height: 36px;
	padding: 0;
	width: 380px !important;
}

.input-inner {
	background: transparent url(img/forms/input/input_text_right.png) no-repeat top right;
	height: 36px;
	margin: 0 0 0 8px;
	padding: 0;
}

.input-inner input {
	background: transparent;
	border: none;
	color: #666;
	font: 14px/30px Verdana, Geneva, sans-serif;
	height: 36px;
	margin: 0;
	vertical-align: middle;
	width: 372px !important;
}

.frm_form_field {
	padding: 10px 0 0;
}

.frm_required {
	font-weight: 700;
}

.frm_radio label, .frm_checkbox label {
	clear: none;
	display: inline-block;
}

.frm_description {
	clear: both;
	display: block;
	width: 100%;
	padding: 5px 0;
}

.frm_pos_top {
	font-size: 14px;
	line-height: 1.2;
	border-bottom: 1px solid #ccc;
	padding: 20px 0 10px;
	margin: 0 0 10px;
}

.frm_submit {
	padding: 35px 0 0;
}

/* Hover */
.input-wrapper-hover { background-position: left -36px; }
.input-wrapper-hover .input-inner { background-position: right -36px; }

/* Focus */
.input-wrapper-focus { background-position: left -72px; }
.input-wrapper-focus .input-inner { background-position: right -72px; }

.safari-input .input-inner {
	position: relative;
	overflow: hidden;
}

.safari-input .input-inner input {
	background-color: none;
	position: absolute;
	top: 0;
	left: -2px;
	height: 36px; 
	padding-left: 4px;
}

/* Textarea */

table.textarea {
	width: 380px !important;
}

table.textarea td#textarea-mm textarea {
	color: #666;
	font: 14px/21px Verdana, Geneva, sans-serif;
	outline: none;
	padding: 1px 4px 0 3px;
	width: 365px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {

	table.textarea td#textarea-mm textarea {
		padding: 13px 0 0 15px;
	}

}

table.textarea td {
	font-size: 1px;
	height: 5px;
	line-height: 1px;
	margin: 0;
	padding: 0 !important;
	width: 4px;
	border: none !important;
}

table.textarea textarea {
	background: none;
	border: 0;
	margin: 0;
	padding: 0;
}
textarea {
    resize: vertical !important;
    min-height: 10em !important;
}
table.textarea td#textarea-tl { background: url(img/forms/textarea/textarea_tl.png) no-repeat top left; }
table.textarea td#textarea-tm { background: url(img/forms/textarea/textarea_tm.png) repeat-x top left; }
table.textarea td#textarea-tr { background: url(img/forms/textarea/textarea_tr.png) no-repeat top right; }
table.textarea td#textarea-ml { background: url(img/forms/textarea/textarea_ml.png) repeat-y top left; }
table.textarea td#textarea-mm { background: url(img/forms/textarea/textarea-mm.png) repeat;}
table.textarea td#textarea-mr { background: url(img/forms/textarea/textarea_mr.png) repeat-y top right; }
table.textarea td#textarea-bl { background: url(img/forms/textarea/textarea_bl.png) no-repeat top left; }
table.textarea td#textarea-bm { background: url(img/forms/textarea/textarea_bm.png) repeat-x top left; }
table.textarea td#textarea-br { background: url(img/forms/textarea/textarea_br.png) no-repeat top right; }

/* Hover
table.textarea-hover td#textarea-tl { background-position: 0px -5px; }
table.textarea-hover td#textarea-tm { background-position: 0px -5px; }
table.textarea-hover td#textarea-tr { background-position: 0px -5px; }
table.textarea-hover td#textarea-ml { background-position: -5px 0px; }
table.textarea-hover td#textarea-mm { background-image: url(img/forms/textarea/textarea-mm-hover.png); }
table.textarea-hover td#textarea-mr { background-position: -5px 0px; }
table.textarea-hover td#textarea-bl { background-position: 0px -5px; }
table.textarea-hover td#textarea-bm { background-position: 0px -5px; }
table.textarea-hover td#textarea-br { background-position: 0px -5px; } */

/* Focus
table.textarea-focus td#textarea-tl { background-position: 0px -10px; }
table.textarea-focus td#textarea-tm { background-position: 0px -10px; }
table.textarea-focus td#textarea-tr { background-position: 0px -10px; }
table.textarea-focus td#textarea-ml { background-position: -10px 0px; }
table.textarea-focus td#textarea-mm { background-image: url(img/forms/textarea/textarea-mm-focus.png); }
table.textarea-focus td#textarea-mr { background-position: -10px 0px; }
table.textarea-focus td#textarea-bl { background-position: 0px -10px; }
table.textarea-focus td#textarea-bm { background-position: 0px -10px; }
table.textarea-focus td#textarea-br { background-position: 0px -10px; } */

table.textarea .safari-textarea {
	border: none;
	overflow: hidden;
	position: relative;
}

table.textarea .safari-textarea textarea {
	background: none;
	left:-10px;
	padding: 10px 10px 10px 10px;
	position: absolute;
	resize: none;
	top:-10px;
}

/* Radio */

.radio-wrapper {
	display: block;
	float: left;
	margin: 1px 5px 0 0;
}

.radio {
	background: transparent url(img/forms/radio.png) no-repeat center top;
	display: block;
	height: 20px;
	vertical-align: middle;
	width: 20px;
}

/* Checkbox */

span.checkbox-wrapper {
	display: block;
	float: left;
	margin: 2px 5px 0 0;
}

a.checkbox {
	background: transparent url(img/forms/checkbox.png) no-repeat center top;
	display: block;
	height: 20px;
	vertical-align: middle;
	width: 20px;
}

a.checked { background-position: center bottom; }

/* Select */

.select-wrapper {
	background: url(img/forms/select_left.png) no-repeat top left;
	float: left;
	height: 36px;
	position: relative;
	width: 380px !important;
}

.select-wrapper span {
	color: #666;
	cursor: pointer;
	float: none;
	font: 14px/36px Verdana, Geneva, sans-serif;
	height: 36px;
	overflow: hidden;
	padding: 0 0 0 7px;
	position: absolute;
	white-space: nowrap;
	width: 372px !important;
}

.select-wrapper  a.select-open {
	background: url(img/forms/select_right.png) no-repeat center center;
	display: block;
	height: 36px;
	position: absolute;
	right: 0px;
	width: 31px;
}

.select-wrapper ul {
	background-color: #fff;
	border: solid 1px #ccc;
	display: none;
	height: 150px !important;
	left: 0px;
	list-style: none;
	margin: 0px;
	overflow-y: auto !important;
	overflow: auto !important;
	padding: 0px;
	position: absolute;
	top: 36px;
	width: 43px;
	z-index: 10;
}

.select-wrapper li {
	margin: 0;
	min-height: 18px;
	line-height: 1.5;
	background-image: none !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
}

.select-wrapper li a {
	background-color: #fff;
	color: #666;
	display: block;
	font: 14px/18px Verdana, Geneva, sans-serif;
	padding: 5px;
	text-decoration: none;
}

.select-wrapper li a.selected {
	background: #ededed;
	color: #666;
}

.select-wrapper li a:hover,
.select-wrapper li a.selected:hover {
	background: #1fb25a;
	color: #fff;
}

span.wpcf7-list-item {
	float: left;
	margin-left: 0;
	margin-right: 15px;
}

.wpcf7-form-control span.wpcf7-list-item:last-child {
	margin-right: 0;
}

.wpcf7-list-item-label {
	color: #231f20;
}

span.wpcf7-not-valid-tip {
    background: none;
    border: none;
    font-size: 12px;
	color: #231f20;
    left: 10px;
    padding: 2px;
    position: absolute;
    top: 18px;
    width: 280px;
    z-index: 100;
}

div.wpcf7-validation-errors {
	background: #f9e5e6;
    border: 1px solid #f7c7c9;
    color: #b3696c;
    font-size: 13px;
}

div.wpcf7-mail-sent-ok {
	background: #e3ebc6;
    border: 1px solid #c2d288;
    color: #8fa442;
    font-size: 13px;
}

div.wpcf7-response-output {
    margin: 20px 0 0;
    padding: 8px 15px 10px;
}

.hidden { display: none; }

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Misc
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

.remove-top { margin-top: 0 !important; }
.half-top { margin-top: 10px !important; }
.add-top { margin-top: 20px !important; }
.add-top-half { margin-top: 30px !important; }
.add-top-more { margin-top: 40px !important; }

.remove-right { margin-right: 0 !important; }
.half-right { margin-right: 10px !important; }
.add-right { margin-right: 20px !important; }

.remove-left { margin-left: 0 !important; }
.half-left { margin-left: 10px !important; }
.add-left { margin-left: 20px !important; }

.remove-bottom { margin-bottom: 0 !important; }
.half-bottom { margin-bottom: 10px !important; }
.add-bottom { margin-bottom: 20px !important; }

.half-top-gallup { margin-top: 7px !important; }
.add-left-gallup { margin-left: 30px !important; }

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Site Styles
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

.container {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0;
}

.header {
	position: relative;
}

.header-graphic {
	background: url(img/header-graphic.png) no-repeat;
	height: 63px;
	left: 75px;
	position: absolute;
	top: -40px;
	width: 153px;
}

.wrap {
	margin: 0 auto;
	max-width: 955px;
	position: relative;
}

.onerow {
	clear: both;
}

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Columns
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */


.one-half, .two-third, .one-third, .one-fourth, .one-fifth, .one-sixth { float: left; margin-right: 20px; position: relative; }

.galeriid__anniversary .one-fourth {
	margin-right: 0;
	padding-right: 10px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}


.one { width: 100%; }
.one-half {	width: 460px; }
.two-third { width: 620px; }
.one-third  { width: 300px; }
.one-fourth { width: 220px; }
.one-fifth { width: 172px; }
.one-sixth { width: 140px; }

.one-half.last, .two-third.last, .one-third.last, .one-fourth.last, .one-fifth.last, .one-sixth.last  { margin-right: 0; }

.boxed {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	padding: 20px;
}

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Header
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

#header {
	height: 180px;
	position: relative;
}

#logo {
	background: url(img/logo.png) no-repeat;
	height: 79px; /*79px*/
	left: 16px;
	top: 74px; /*74px*/
	width: 367px; /*367px*/
}

:lang(en) #logo {
	background: url(img/logo.png) no-repeat;
}

#logo,
#top-nav,
#search {
	position: absolute;
}

#top-nav ul,
#top-nav li,
.menu-top-links-container,
.menu-top-links-eng-container,
.menu-social-links-container,
.menu-social-links-eng-container,
.menu-sitemap-link-container,
.menu-sitemap-link-eng-container,
.lang_sel_list_horizontal,
.extra-links,
.lang_sel_list_horizontal a {
	float: left;
}

#top-nav li {
	line-height: 24px;
	margin-bottom: 0;
}

#top-nav { right: 0; top: 25px; }
#search { right: 0; top: 105px; }
#mobile-search { display: none; }

.top-links { margin-right: 25px; }
.top-links li { padding: 0 17px 0 0; }
.top-links a { color: #666; }
.top-links a:hover { color: #139146; text-decoration: none; }

.social-links,
.sitemap-link {
	margin-right: 20px;
}

.social-links li,
.sitemap-link li {
	background-color: #231f20;
	display: inline-block;
	margin-left: 5px;
	text-indent: -9999px;
}

.social-links li:first-child { margin-left: 0; }
.sitemap-link li { margin-left: 0; }

.social-links li a:hover,
.sitemap-link li a:hover,
.lang_sel_list_horizontal a:hover  {
	background-color: #139146;
	text-decoration: none;
}

.social-links a,
.sitemap-link a {
	display: block;
	height: 24px;
	width: 24px;
}

.social-links li.youtube a { background-image: url(img/icon-youtube.png); background-position: -1px -1px; width: 49px; }
.social-links li.facebook a { background-image: url(img/icon-facebook.png); }
.social-links li.twitter a { background-image: url(img/icon-twitter.png); }
.social-links li.instagram a { background-image: url(img/icon-insta.png); }

.sitemap-link li.sitemap a { background-image: url(img/icon-sitemap.png); background-position: 0 -1px; width: 25px; }

.lang_sel_list_horizontal a {
	background-color: #231f20;
	height: 24px;
	line-height: 20px;
	padding: 0 7px;
	text-align: center;
}

.lang_sel_list_horizontal a span {
	color: #fff;
	font-size: 12px;
}

.lang_sel_list_horizontal li { margin-left: 5px; }
.lang_sel_list_horizontal li:first-child { margin-left: 0; }

.lang_sel_list_horizontal li a.lang_sel_sel { background-color: #aaa; cursor: default; }

#search .input-wrapper,
#mobile-search .input-wrapper {
	margin-right: -1px;
	width: 341px !important;
}

#search .button span,
#search .button span span,
#mobile-search span,
#mobile-search span span {
	padding: 0;
}

#search .button span,
#search-courses .button span,
#mobile-search .button span {
	background: #231f20 url(img/icon-search.png) no-repeat;
	height: 35px;
	overflow: hidden;
	text-indent: -9999px;
	width: 40px;
}

#search .button:hover span,
#mobile-search .button:hover span {
	background: #139146 url(img/icon-search.png) no-repeat;
}

#search .form.input, #mobile-search .form.input { width: 341px !important; }

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Main Nav
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

.menu-main-container {
	float: left;
}

.main-nav {
	background: #231f20;
	min-height: 200px;
	position: relative;
}

.main-nav.breadcrumbs {
	background: #231f20 url(img/breadcrumb-bg.png) bottom center no-repeat;
}

#main-nav {
	position: absolute;
	top: 5px;
	width: 100%;
	/*top: 5px;*/
}

#mobile-nav, .mobile-contact { display: none; }

#main-nav li {
	float: left;
	margin-bottom: 0;
	padding: 6px 0 8px;
}

#main-nav li a {
	border-left: 1px solid #1fb25a;
	color: #fff;
	font: 700 20px/25px 'PT Sans', sans-serif;
	padding: 6px 9px 8px 9px;
	position: relative;
	transition: all .2s ease-out;
	-webkit-transition: all .2s ease-out;
	-moz-transition: all .2s ease-out;
	-ms-transition: all .2s ease-out;
	-o-transition: all .2s ease-out;
	z-index: 500;
}

#main-nav li:first-child a {
	border-left: none;
	padding: 6px 9px 8px;
}

#main-nav li a:hover,
#main-nav li.current_page_item a,
#main-nav li:hover > a,
#mobile-nav .toggle-open {
	background-color: #1fb25a;
	color: #231f20;
}

#main-nav li a:hover,
#main-nav li.current_page_item a:hover {
	text-decoration: none;
}

#main-nav li a:hover:after,
#main-nav li.current_page_item a:after,
#main-nav li:hover > a:after,
#mobile-nav .toggle-open:after,
#sub-nav ul > li.current_page_item > a:after,
#sub-nav ul > li.current-menu-ancestor > a:after {
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid #1fb25a;
	bottom: -8px;
	content: '';
	height: 0; 
	left: 18px;
	position: absolute;
	width: 0; 
	z-index: 200;
}

/*#main-nav li a:hover:after,
#main-nav li.current_page_item a:after,
#main-nav li:hover > a:after {
	background: url(img/nav-active-arrow.png) no-repeat;
	bottom: -9px;
	content: '';
	height: 9px;
	left: 17px;
	position: absolute;
	width: 18px;
	z-index: 200;
}*/

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Main Nav > Sub Nav
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

#main-nav li:hover > ul {
	display: block;
}

#main-nav ul ul {
	background: #323030;
	display: none;
	margin: 0;
	padding: 30px 0 25px;
	position: absolute;
	top: 59px;
	width: 340px;
	z-index: 400;
}

@-moz-document url-prefix() { #main-nav ul.sub-nav { top: 60px; } }

#main-nav .sub-nav li {
	border-right: none;
	margin: 0;
    padding: 0 0 0;
	width: 100%;
}

#main-nav .sub-nav li a {
    background: url(img/bullet-arrow.png) 25px 5px no-repeat;
    border-left: none;
	color: #fff;
	display: block;
	font: 400 14px/18px Verdana, Geneva, sans-serif;
	font-weight: normal;
	padding: 0 20px 8px 40px;
	text-align: left;
}

#main-nav .sub-nav li a:hover,
#main-nav .sub-nav li.current a {
    background: none;
    color: #1fb25a;
}

#main-nav .sub-nav li a:hover {
    background: url(img/bullet-arrow.png) 25px 5px no-repeat;
}

#main-nav .sub-nav li a:after {
	display: none;
}

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Sub Nav
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

#sub-nav {
	background: #fff;
	border-bottom: 1px solid #cbcbcb;
	border-right: 1px solid #cbcbcb;
	margin-right: 0;
	width: 280px;
}

#sub-nav ul:after {
	display: none;
}

#sub-nav ul { padding: 25px 0 5px 0; }
#sub-nav ul ul { margin-left: 25px; padding: 0 0 10px; }
#sub-nav ul ul ul { margin-left: 20px; padding: 0; }

#sub-nav li {
	border-top: 1px solid #ddd;
	margin-bottom: 0;
}

#sub-nav li:first-child { border-top: none; }
#sub-nav li:last-child { margin-bottom: 0; }

#sub-nav li { list-style: none; }

#sub-nav li a {
	font-weight: normal;
	display: block;
	padding: 8px 0 9px 20px;
}

#sub-nav li li { border-top: none; }

#sub-nav li li a {
	background: url(img/bullet-arrow.png) 0 6px no-repeat;
	font-size: 12px;
	font-weight: normal;
	padding: 0 0 5px 14px;
}

#sub-nav li li li a {
	background: url(img/content-bullet-square.png) 0 6px no-repeat;
	padding: 0 0 4px 12px;
}

#sub-nav ul > li.current-menu-item > a,
#sub-nav ul > li.current-menu-ancestor > a,
#sub-nav ul > li.current_page_item > a,
#sub-nav li.current_page_item > a {
	background-color: #1fb25a;
	color: #fff;
	margin-bottom: 20px;
	position: relative;
	font-weight: bold;
}

#sub-nav ul > li.current_page_item {
	border-top: none;
}

#sub-nav ul > li.current_page_item > a,
#sub-nav li.current_page_item > a {
	margin-bottom: -1px;
}

#sub-nav ul > li.current-menu-item.single > a:after,
#sub-nav ul > li li.current-menu-ancestor > a:after,
#sub-nav ul > li.current_page_item > a:after {
	display: none;
}

/*#sub-nav li.current-menu-item > a:hover { color: #fff; }*/

#sub-nav ul > li li.current-menu-item > a {
	background-color: #fff;
	color: #231f20;
	font-weight: bold;
	margin-bottom: 0;
}

#sub-nav ul > li li.current-menu-ancestor > a {
	background-color: #fff;
	color: #139146;
	font-weight: normal;
	margin-bottom: 0;
}

#sub-nav li li li.current-menu-item > a:hover { color: #231f20; }

#sub-nav li li li.current-menu-item > a:after { display: none; }
#sub-nav li.current-menu-item, #sub-nav li.current-menu-ancestor { border-top: none; }
#sub-nav li a:hover { color: #231f20; text-decoration: none; }

#sub-nav ul ul li.current-menu-item ul,
#sub-nav ul ul li.current-menu-parent ul {
	display: block !important;
}

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Breadcrumb Nav
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

.breadcrumb-nav, .mobile-breadcrumb-nav { margin-left: 15px; max-width: 900px; overflow: hidden; position: absolute; top: 95px; text-overflow: ellipsis; white-space: nowrap; }
.mobile-breadcrumb-nav { margin-left: 0; }
.breadcrumb-nav span, .mobile-breadcrumb-nav span { color: #bbb; font-size: 12px; margin-bottom: 0; overflow: hidden; position: relative; }
.breadcrumb-nav span span, .mobile-breadcrumb-nav span span { margin-bottom: 0; position: relative; }
.breadcrumb-nav span span a, .mobile-breadcrumb-nav span span a { color: #fff; font-size: 12px; }
.breadcrumb-nav span span a:hover { color: #bbb; text-decoration: none; }
.breadcrumb-nav span span.breadcrumb_last { color: #bbb; }



/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
	Anniversary menu
 ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-*/

#main-nav .menu-anniversary-container {
	float: right;
}
#main-nav .menu-anniversary-container a, #main-nav .menu-anniversary-container .current_page_item a {
	background-color:white;
	color: #1fb25a;
}
#main-nav .menu-anniversary-container a:hover, #main-nav .menu-anniversary-container .current_page_item a:hover {
	background-color:white;
	color: #1fb25a;

}

#main-nav .menu-anniversary-container:hover a::after {
	border-top:8px solid #fff;
	left:40%;
}

#main-nav .menu-anniversary-container a::after, #main-nav .menu-anniversary-container .current_page_item a::after {
	border-top:8px solid #fff;
	left:40%;
}


/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Page Styles
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

#content {
    margin-top: -110px;
    position: relative;
}

#content.static-page { margin-top: -50px; }

.static-content {
	background: #eee;
	margin-top: 10px;
	padding: 30px 40px 0 39px !important;
	position: relative;
	width: 580px;
}

.static-content.second {
	margin-top: 0;
	width: 861px;
}

.static-content table {
	width: 100%;
	clear: both;
	margin: 0 0 20px;
}

.static-content table th {
	font-weight: 700;
	background: #e5e5e5;
}

.static-content table th, .static-content table td {
	border-bottom: 1px solid #d3d2d2;
	padding: 10px;
}

/* Main Blocks */

.main-blocks { padding-bottom: 20px; }

.block-220x225, .block-220x185, .block-220x165, .block-220x245, .block-300x150, .block-300x165, #block-slider {
	margin-bottom: 10px; position: relative;
}

.block-300x150, .section-extra .block-300x165 { margin-bottom: 20px; }

.block-220x225 p, .block-220x185 p, .block-220x165 p, .block-220x245 p, .block-300x165 p {
	margin-bottom: 0;
    padding: 0 45px 0 20px;
}

.ie8 .block-220x225 p, .ie8 .block-220x185 p, .ie8 .block-220x165 p, .ie8 .block-220x245 p, .ie8 .block-300x165 p {
	font-size: 14px;
	line-height: 18px;
}

.block-220x245 .block-overlay-green-full p { padding: 0; }

.block-220x225 a.block-inner-content, .block-220x185 a.block-inner-content, .block-220x165 a.block-inner-content, .block-220x245 a.block-inner-content, .block-300x150 a, .block-300x165 a.block-inner-content, .block-overlay-green-full, .slider-title, p.bjqs-caption, .block-video a.block-inner-content {
	color: #fff;
	font: 700 16px/20px 'PT Sans', sans-serif;
	position: relative;
}

#block-slider a {
	color: #fff;
	font: 700 16px/20px 'PT Sans', sans-serif;
}

.block-220x225 a:hover, .block-220x185 a:hover, .block-220x165 a:hover, .block-220x245 a:hover, .block-300x150 a:hover, .block-300x165 a:hover, #block-slider a:hover {
	text-decoration: none;
}

.block-220x225 { height: 225px; }
.block-220x185 { height: 185px; }
.block-220x165 { height: 165px; }
.block-220x245 { height: 245px; }
.block-300x150 { height: 150px; }
.block-300x165 { height: 165px; }
.block-460x420 { height: 420px; }

.block-220x225.last, .block-220x185.last, .block-220x165.last, .block-220x245.last, .block-300x165.last {
	margin-bottom: 0; }

#block-slider { margin-bottom: 35px; }

.block-overlay-dark {
	background: url(img/overlay-dark.png) repeat;
	bottom: 0;
    height: 40px;
    padding: 18px 0 22px 0;
    position: absolute !important;
    width: 100%;
}

.block-overlay-dark span,
.block-overlay-green-full span,
.bjqs-slide a span {
	background: #231f20 url(img/arrow-right-big.png) 8px 20px no-repeat;
    bottom: 0;
    height: 80px;
    position: absolute;
    right: 0;
    width: 35px;
}

.bjqs-slide a span {
	background: #231f20 url(img/arrow-right-big.png) 31px 20px no-repeat;
	position: absolute;
	width: 80px;
	z-index: 200; }

.block-overlay-dark:hover span,
.main-blocks .block-220x225:hover span,
.main-blocks .block-220x185:hover span,
.main-blocks .block-220x165:hover span,
.main-blocks .block-220x245:hover span,
.section-extra .block-300x165:hover span,
.main-blocks #block-slider:hover span,
.block-overlay-green-full:hover span,
.bjqs-slide a:hover span {
	background-color: #1fb25a;
}
.swipe {
  overflow: hidden;
  visibility: hidden;
  position: relative;
}
.swipe-wrap {
  overflow: hidden;
  position: relative;
}
.swipe-wrap > div {
  float:left;
  width:100%;
  position: relative;
}
a.block-overlay-green,
a.block-overlay-green-full,
.block-overlay-green-full,
.slider-content,
p.bjqs-caption {
    display: block;
    text-transform: uppercase;
}

a.block-overlay-green,
.slider-content,
p.bjqs-caption {
	background: url(img/overlay-green.png) repeat;
    bottom: 0;
    font-size: 28px;
    height: 70px;
    left: 20px;
    line-height: 34px;
    padding: 19px 20px 21px;
    position: absolute;
    width: 400px;
}

.ie8 a.block-overlay-green,
.ie8 .ie8 .slider-content,
.ie8 p.bjqs-caption {
    font-size: 27px;
}

.slider-content { height: auto; padding: 30px 20px 40px; z-index: 100; }
.slider-content.just-title { padding: 19px 20px 8px; }
.slider-title { font-size: 28px; line-height: 34px; margin-bottom: 15px; }
.slider-content p { font-size: 16px; font-weight: normal; padding-right: 75px; text-transform: none; }

p.bjqs-caption:hover { cursor: default; }

a.block-inner-content.block-overlay-green-full,
.block-overlay-green-full {
	background: #1fb25a;
    font-size: 20px;
    line-height: 26px;
    min-height: 185px;
    padding: 30px 20px;
}

.courses-blocks a.block-overlay-green-full,
.courses-blocks .block-overlay-green-full {
	font-size: 22px;
	line-height: 28px;
	min-height: inherit;
	height: 90px;
}

.block-overlay-green-full span {
	background-position: 31px 20px;
    height: 80px;
    width: 80px;
}

.courses-blocks .block-overlay-green-full span {
	background: #231f20 url(img/arrow-right-medium.png) 12px 5px no-repeat;
    height: 35px;
    width: 35px;
}

.courses-blocks .block-overlay-green-full:hover { background-color: #22c162; }

.block-video a.block-inner-content {
	left: inherit;
	line-height: 38px;
	padding: 26px 148px 34px 30px;
	position: absolute;
	right: 0;
	width: 120px;
}

.block-video a.block-inner-content p { font-size: 36px; letter-spacing: 0.02em; }
.block-video a.block-inner-content:hover { text-decoration: none; }

.block-video span {
	background: url(img/icon-watch-video.png) no-repeat;
    height: 80px;
    position: absolute;
    right: 25px;
    top: 25px;
    width: 80px;
}

.block-video a.block-inner-content:hover span, 
.section-extra .block-video:hover span { background: url(img/icon-watch-video-white.png) no-repeat; }

/* Section News */

.section-news, .section-events, .section-courses { margin-bottom: 40px; }

.news-single { padding-right: 30px; }

.news-single img { float: left; height: auto; margin-bottom: 15px; margin-right: 15px; max-width: 220px; }

.news-single .article-title, .featured-box .article-title { margin-bottom: 5px; }

.news-list p, .section-news.one-third p.article-title {
	border-bottom: 1px solid #d3d2d2;
	margin-bottom: 10px;
	padding-bottom: 12px;
}

.news-list p:first-child {
	border-top: 1px solid #d3d2d2;
	padding-top: 12px;
}

.one-third .news-list p:first-child {
	border-top: none;
	padding-top: 0;
}

.news-single-content .page-title {
	margin-bottom: 10px;
	padding-right: 55px;
}

.news-content .news-list p {
	border-bottom: none;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.news-content .news-list p:first-child {
	border-top: none;
	padding-top: 0;
}

.article-title { font-weight: bold; }

span.date {
	color: #868686;
	display: block;
	font-size: 12px;
	font-weight: normal;
}





/* Section Courses */

.section-courses.two-third {
	margin-right: 0;
	width: 640px;
}

.content-block {
	color: #231F20;
}

/* Featured Box */

.featured-box {
	background: #e5e5e5;
	border-bottom: 1px solid #cbcbcb;
	border-right: 1px solid #cbcbcb;
	margin-bottom: 10px;
	position: relative;
}

.featured-box p.article-title { color: #139146; width: 100%; }
.featured-box p { color: #231f20; margin-bottom: 0; width: 87%; }
.featured-box:hover a { text-decoration: none; }

.featured-box-white {
	background: #fff;
	border-bottom: 1px solid #c5c5c5;
	border-top: 1px solid #c5c5c5;
	margin: 10px 0 35px;
	padding: 40px 0 10px;
}

.featured-box-white .triangle-section { min-height: 135px; }
.featured-box-white .triangle-section ul { margin-left: 0; }
.featured-box-white .triangle-section li { font-size: 14px; font-weight: bold; line-height: 18px; margin-bottom: 12px; margin-left: 20px; }
.featured-box-white .triangle-section li.title { margin-bottom: 15px; margin-left: 5px; }

.logoroll { margin-top: 0; padding: 20px 0; }
.logoroll img { padding-right: 75px; }
.logoroll img:last-child { padding-right: 0; }

/* Section Media */

.section-extra .block-300x165:nth-child(1) a { line-height: 40px; }
.section-extra .block-300x165:nth-child(2) a { padding: 8px 0 32px; }

/* Content Share */

.content-share ul { margin-bottom: 0; margin-left: 0 !important; }
.content-share li { background: none !important; display: inline-block; margin-bottom: 0; padding-left: 0 !important; }
.content-share li:first-child { padding-right: 5px; position: relative; top: -8px; }

.content-share li.facebook a, .content-share li.twitter a {
	background: url(img/share-facebook.png);
	float: left;
	height: 24px;
	width: 24px;
}

.content-share li.twitter a { background: url(img/share-twitter.png); }

.content-share li a:hover { opacity: .9; }

.content-share li.twitter { display: none; }

/* Search Page */

span.search-terms,
span.search-count {
	color: #666;
}

#nav-below, #nav-above {
	float: left;
	height: auto;
	padding-left: 15px;
	position: relative;
	width: 100%;
}

#nav-above {
	border-bottom: 1px solid #ccc;
	margin-bottom: 40px;
	padding: 0 0 15px 15px;
}

#nav-below {
	border-top: 1px solid #ccc;
	margin-bottom: 40px;
	margin-top: 40px;
	padding-top: 20px;
}

#nav-below a.page-numbers, #nav-above a.page-numbers {
    color: #231F20;
    display: inline-block;
    padding: 7px 0;
    text-align: center;
    width: 33px;
}

#nav-below a.next, #nav-above a.next,
#nav-below a.prev, #nav-above a.prev {
	display: none;
}

#nav-below span.current, #nav-above span.current {
	background: #1fb25a;
	color: #fff;
	padding: 7px 12px;
}

#nav-above .nav-next a, #nav-below .nav-next a,
#nav-above .nav-previous a, #nav-below .nav-previous a {
	background: url(img/search-next.png) 0 0 no-repeat;
	float: left;
	height: 24px;
	margin-left: 7px;
	width: 12px;
}

#nav-above .nav-previous a, #nav-below .nav-previous a {
	background: url(img/search-prev.png) 0 0 no-repeat;
	margin-left: 0;
	margin-right: 7px;
}

#nav-above .nav-previous, #nav-below .nav-previous {
    left: 0;
    position: absolute;
    top: 7px;
}

#nav-below .nav-previous {
    top: 26px;
}

#nav-above .nav-next, #nav-below .nav-next {
    bottom: 19px;
    position: absolute;
    right: 5px;
}

#nav-below .nav-next {
    bottom: 4px;
}

/* Sitemap */

.second.page-full {
	padding-left: 80px !important;
	padding-top: 40px !important;
	width: 820px;
}

.sitemap-content li { margin-bottom: 15px; }
.sitemap-content li > ul { margin-left: 15px; margin-top: 15px; }
.sitemap-content li > ul li { margin-bottom: 8px; background: url(img/bullet-arrow.png) 0 6px no-repeat; padding-left: 15px; }
.sitemap-content li > ul ul li { margin-bottom: 5px; }
.sitemap-content li > ul ul ul li { background: url(img/content-bullet-square.png) 0 6px no-repeat; }
.sitemap-content li > ul ul { margin-top: 10px; }
.sitemap-content li > ul ul ul { margin-top: 5px; }
.sitemap-content li > a { font-size: 18px; font-weight: bold; }
.sitemap-content li li > a { font-size: 16px; font-weight: normal; }
.sitemap-content li li li > a { font-size: 14px; }
.sitemap-content li li li li > a { font-size: 12px; }

/* Contact Details */

.contact-details .one-third { margin-bottom: 30px; height: 160px; width: 180px; }

.contact-item {
	padding: 0 0 0 100px;
	height: 190px;
	width: 170px;
}

.second.page-full .contact-item {
	width: 290px;
}

.contact-item p { margin-bottom: 0;}

.contact-item .align-left {
	min-width: 1px;
	position: absolute;
	left: 0;
	top: 0;
	width: 82px;
	height: 100px;
	background: url("temp/profile.jpg") no-repeat 0 0;
}
.contact-item .align-left img {
	max-width: 80px;
}

/*.one-third.external {
    margin: 0 0 0 96px;
}*/

p.name { font-weight: bold; margin-top: -5px;}
p.email, p.other { margin-top: 5px; }
p.email, p.tel { background: url(img/icon-email.png) 0 7px no-repeat; padding-left: 20px;}
p.tel { background: url(img/icon-tel.png) 0 6px no-repeat; }

/* Gallery */

.gallery { margin: 40px 0 15px; width: 104%; }
.gallery .gallery-item { float: left; margin-bottom: 20px; margin-right: 20px; margin-top: 0 !important; text-align: left !important; width: 130px !important; }
.gallery img { border: 1px solid #444 !important; height: auto; margin: -1px; width: 130px !important; }
.gallery img:hover { border: 2px solid #139146 !important; margin: -2px; }

/* Events Calendar */

.block-calendar { height: 220px; padding: 25px 15px 0; text-align: center; }
/*.block-calendar p.calendar-title { margin-bottom: 13px; }*/

#ai1ec-calendar-view {
	margin: 0 auto;
	position: relative;
}

h2.ai1ec-calendar-title {
	color: #fff !important;
	float: none;
	margin: 0 0 15px !important;
	text-align: center;
}

.timely .pull-right {
    float: none !important;
}

.timely .btn-group {
    margin-bottom: 0;
}

.ai1ec-pagination {
    margin-left: 0;
}

.ai1ec-pagination > .btn {
    padding: 4px 7px;
}

.ai1ec-pagination > .ai1ec-prev-year {
    padding: 4px 10px;
}

.ai1ec-pagination > .btn.ai1ec-prev-year,
.ai1ec-pagination > .btn.ai1ec-next-year {
    min-width: 41px;
}

.timely .btn-group > .btn:first-child {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.timely .btn-group > .btn:last-child,
.timely .btn-group > .dropdown-toggle {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.ai1ec-pagination > .btn.ai1ec-prev-month,
.ai1ec-pagination > .btn.ai1ec-next-month {
	min-width: 0;
}

.ai1ec-month-view .ai1ec-day-stretcher {
    height: 0;
}

.ai1ec-month-view th,
.ai1ec-oneday-view th {
    font-size: 8px;
}

.ai1ec-event span {
    background: #231F20;
    bottom: 0;
    height: 0;
    position: relative;
    right: 0;
    width: auto;
}

.ai1ec-month-view th,
.ai1ec-week-view th,
.ai1ec-oneday-view th {
    height: 20px;
    line-height: 20px;
}

.ai1ec-month-view .ai1ec-date {
	height: 20px;
	line-height: 20px;
	margin-bottom: 0 !important;
	text-align: center;
}

.ai1ec-month-view .ai1ec-event {
    height: 20px;
    line-height: 20px;
    margin: 0 0 1px;
}

.ai1ec-event-container.ai1ec-load-event.ai1ec-popup-trigger {
    top: 0 !important;
}

.ai1ec-month-view .ai1ec-event,
.ai1ec-week-view .ai1ec-event,
.ai1ec-oneday-view .ai1ec-event {
	padding: 0 3px;
	text-indent: -9999px;
	width: 18px;
}

.ai1ec-month-view .ai1ec-allday .ai1ec-event,
.ai1ec-month-view .ai1ec-multiday .ai1ec-event,
.ai1ec-week-view .ai1ec-allday-events .ai1ec-allday .ai1ec-event,
.ai1ec-week-view .ai1ec-allday-events .ai1ec-multiday .ai1ec-event,
.ai1ec-oneday-view .ai1ec-allday-events .ai1ec-allday .ai1ec-event,
.ai1ec-oneday-view .ai1ec-allday-events .ai1ec-multiday .ai1ec-event {
    border-radius: 0;
}

.ai1ec-month-view td.ai1ec-empty {
    background: none !important;
}

table.ai1ec-month-view,
.ai1ec-week-view table,
.ai1ec-oneday-view table {
    background: none;
    border: 1px solid #57c583 !important;
}

.ai1ec-month-view td,
.ai1ec-week-view td,
.ai1ec-oneday-view td {
    border: 1px solid #57c583 !important;
}

.ai1ec-month-view .ai1ec-date {
    background: none;
    color: #fff;
    position: relative;
    text-shadow: none;
    /*z-index: 100;*/
}

.ai1ec-month-view a.ai1ec-event-container,
.ai1ec-week-view a.ai1ec-event-container,
.ai1ec-oneday-view a.ai1ec-event-container {
    opacity: 0.5;
}

.timely .datepicker .table-condensed td.today {
    background-color: #eaeaea !important;
}

.ai1ec-multiday-arrow1,
.ai1ec-multiday-arrow2,
.ai1ec-event {
	display: none;
}

.ai1ec-month-view .ai1ec-multiday-bar {
    border-radius: 0;
    height: 20px;
}

/*#wp-calendar caption {
	font: normal 11px/21px Verdana, Geneva, sans-serif;
	padding-bottom: 4px;
	padding-top: 1px;
	position: relative;
	text-transform: capitalize;
}

#wp-calendar th,
#wp-calendar td {
	border: 1px solid #57c583;
	color: #fff;
	font: normal 11px/21px Verdana, Geneva, sans-serif;
	padding: 0 5px;
}

#wp-calendar th {
	background: #198e48;
}

#wp-calendar td a {
	background: #43be75;
	color: #333;
	font: normal 11px/21px Verdana, Geneva, sans-serif;
	margin: 0 -5px;
	padding: 3px 5px;
}

.ie8 #wp-calendar td a {
	padding: 4px 5px;
}

td#prev, td#next {
	left: 0;
    position: absolute;
    top: 0;
}

td#next {
	left: inherit;
	margin-left: 157px;
	right: 0;
}

td#prev, td#next {
	border: none;
}

td#prev a, td#next a {
	background: none;
	color: #fff;
	font-size: 20px;
}

#wp-calendar tfoot tr td {
    display: none;
}

#wp-calendar tfoot tr td#prev,
#wp-calendar tfoot tr td#next {
	display: block !important;
}*/

/* Contact Page */

.contact-details.two-third {
    padding: 30px 20px 0 39px !important;
    width: 600px;
}

.postid-14587 .page-title span { display: none; }

/* Poll */

.poll { margin-bottom: 20px; position: relative; }
.wp-polls-ul { margin: 0 0 25px; }
.wp-polls-ul .radio-wrapper { margin: 0 10px 0 0; }
.wp-polls-loading { left: 30%; position: absolute; top: 40%; }

/* Random */

.tax-kursuste_valdkond .news-content .news-list p {
    margin-bottom: 0;
    padding-bottom: 0;
}

.tax-kursuste_valdkond .news-list > div {
    margin-bottom: 15px;
}

span.koolituse-aeg,
span.koolituse-maht {
	color: #231f20;
}

span.koolituse-maht {
	font-style: italic;
}

/* Buttons & Links */

a.see-all {
	background: #231f20;
	color: #fff;
	float: left;
	margin-top: 10px;
	padding: 7px 40px 9px 11px;
    position: relative;
}

a.see-all span {
	background: url(img/arrow-right-medium.png) no-repeat;
	float: right;
	height: 24px;
	position: absolute;
	right: 12px;
	top: 6px;
	width: 12px;
}

a.see-all:hover { background-color: #1fb25a; text-decoration: none; }

a.read-more {
    bottom: -21px;
    float: right;
    line-height: 40px;
    padding-right: 45px;
    position: relative;
    right: -21px;
}

a.read-more span, .featured-box span.read-more {
	background: #1fb25a url(img/arrow-right-medium.png) 12px 5px no-repeat;
	bottom: 0;
	height: 35px;
	position: absolute;
	right: 0;
	width: 35px;
}

.section-courses .featured-box span.read-more {
	bottom: -1px;
	right: -1px;
}

a.read-more:hover { text-decoration: none; }
a.read-more:hover span, .featured-box:hover span.read-more { background-color: #231f20; }

a.button-print {
	color: #666;
	font-size: 12px;
	background: url(img/icon-print.png) right 4px no-repeat;
	padding-right: 21px;
	position: absolute;
	right: 20px;
	top: 12px;
}

a.go-back {
	background: url(img/content-bullet-arrow-back.png) left 7px no-repeat;
	padding-left: 12px;
}





/* Anniversary page */

#block-video {
	cursor: pointer;
	overflow: hidden;
	max-height: 420px;
}
#block-video img {width: 100%}
.video-wrapper video {display: none}

.hide {display: none;}
.show {display: block}

.page-template-page-templatesanniversary-page-php .breadcrumb-nav {display: none;}
.page-template-page-templatesanniversary-page-php #content.static-page {margin-top: -110px}

.page-template-page-templatesanniversary-page-php .news-single {padding-right: 0}

.page-template-page-templatesanniversary-page-php div[class^="block-"] {overflow: hidden;}

.anniversary_post--home img {width: 100%;}

.anniversary_news {
	margin:0;
	clear: both;
}
.anniversary_news li{
	padding-bottom: 15px;
	padding-top: 10px;
	margin: 0;
	border-bottom: 1px solid #c5c5c4;
}

.anniversary_news li:nth-child(odd) {
	margin-right:20px; 
}

.blocks-wrapper {
	position: relative;
	margin-bottom: 20px;

}

.blocks-wrapper::before , .blocks-wrapper::after {  content: " ";display: table;}
 .blocks-wrapper::after { clear: both; }
.counter, .alumni {
	min-height: 420px;
}

.counter {background:#231f20;}
.counter-container {
	padding: 20px;
}
.counter-container .message {
	color: white;
	text-transform: uppercase;
	font-size: 30px;
	text-align: center;
}

.counter-container #timer {
	text-align: center;
	line-height: 100px;
	margin-top: 50px;
	position: relative;
	font-size: 60px;
	z-index: 1;
}

.counter-container #timer span {
	color: white;
	text-shadow:1px 1px 0 #000;
	margin: 0 10px;
}

.counter-container .time {
	display: block;
	text-align: center;
	font-size: 16px;
	text-transform: uppercase;
	margin-bottom: 50px;
}
.counter-container .time span {
	color: white;
	margin: 0 20px;
}

.counter-container .shape-1, 
.counter-container .shape-2,
.counter-container .shape-3 {
	position: absolute;
	z-index: 0;
}
.counter-container .shape-1 {
	left:60px;
	top: 60px;
	zoom:1.2;
}
.counter-container .shape-2 {
	left:205px;
	top: 70px;
}

.counter-container .shape-3 {
	left:280px;
	top: 70px;
	zoom:1.1;
}


.alumni {
	background:#9c9a9a url(images/alumni-bg.jpg) right no-repeat;
}


.alumni-container {
	padding: 70px  110px 25px 30px;
}
.alumni-container .search {
	float: left;
	margin-right: 8px;
}
.alumni-container .title {
	font-size: 18px;
	color: white;
	font-weight: bold;
	display: block;
	margin-bottom: 30px;
}

.alumni-container label {
	color: #000;
	font-size: 16px;
	display: inline-block;
	position: relative;
	width: 190px;
	height:20px;
	background:white;
	vertical-align: middle;
	margin-bottom: 20px;
	padding: 5px 10px;
	overflow: hidden;

}

.alumni-container label::after {
	content:"";
	position: absolute;
	width: 19px;
	height:19px;
	background:#fff url(images/small_arrow.png);
	right:5px;
	top:5px;
}

.alumni-container .input-label {
	font-size: 18px;
	text-transform: uppercase;
	color: white;
	display: inline-block;
	vertical-align: middle;
	margin-bottom: 20px;
	width: 70px;
}

.alumni-container select {
	cursor: pointer;
	position: absolute;
	width: 108%;
	height:100%;
	opacity: 1;
	top: 1px;
	border:0;
	font-size: 16px;
	right: 0;
	bottom: 0;
	left: 0;
	background: white;
	
} 

.alumni-container .show-alumni {
	width:265px;
	background:white;
	padding: 10px;
	height:105px;
	overflow-y: scroll; 
}

.alumni-container  .search-button {
  width: 80px;
  height: 80px;
  position: absolute;
  right: 0px;
  top: 80px;
  background: #231f20;
  text-align: center;
  padding: 30px 10px;
  box-sizing: border-box;
  cursor: pointer;
  text-transform: uppercase;
  color: white;
  transition:all 0.3s ease-in-out;	
}

.alumni-container  .search-button:hover {
	background: #1fb25a ;
}



/*Anniversary gallery*/


.galeriid__anniversary {
	display: block;
}

.galeriid__anniversary figure img {
	width: 100%;
	height:auto;
	margin: 0 0 10px 0;
}

/* video animation  */



.video-wrapper {
			width: 100%;
			height:100%;
			top:0;
			left: 0;
			position:fixed;
			background:rgba(0,0,0,0);
			overflow: hidden;
			padding: 20px;
			z-index: 9999;
			cursor: pointer;
		}
		.vertical-line {
			width:20px;
			height: 100%;
			position:absolute;
			background:#1fb25a;
			opacity:0;
		}
		.horizontal-line {
			width:100%;
			height: 20px;
			position:absolute;
			background:#1fb25a;
			opacity:0;
		}
		.line-left {
			bottom:0;left:0; 
			animation:up 0.2s linear forward;
			-webkit-animation: up 0.2s linear forwards;
			-moz-animation: up 0.2s linear forwards;
		}
		.line-right {
			top:0;right:40px;
			animation:up 0.2s linear forward;
			-webkit-animation: up 0.2s linear forwards;	
			-moz-animation: up 0.2s linear forwards;	
			-webkit-animation-delay: 0.4s;
			-moz-animation-delay: 0.4s;
         	 animation-delay: 0.4s;
		}
		.line-bottom {
			bottom:40px; right:40px;
			animation:side 0.2s linear forward;
			-webkit-animation: side 0.2s linear forwards;	
			-moz-animation: side 0.3s linear forwards;	
			-webkit-animation-delay: 0.6s;
			-moz-animation-delay: 0.6s;
         	 animation-delay: 0.6s;

		}

		.line-top {
			top:0; left:0;
			animation:side 0.2s linear forwards;
			-webkit-animation: side 0.2s linear forwards;
			-moz-animation: side 0.2s linear forwards;
			-webkit-animation-delay: 0.2s;
			-moz-animation-delay: 0.2s;
         	 animation-delay: 0.2s;
		}

		.line-bottom-back {
			animation:otherside 0.2s linear backwards;
			-webkit-animation: otherside 0.2s linear backwards;	
		}
		.line-right-back {
			animation:down 0.2s linear backwards;
			-webkit-animation: down 0.2s linear backwards;	
			-webkit-animation-delay: 0.2s;
         	 animation-delay: 0.2s;
		}

		.line-top-back {
			animation: otherside 0.2s linear backwards;
			-webkit-animation: otherside 0.2s linear backwards;	
			-webkit-animation-delay: 0.4s;
         	 animation-delay: 0.4s;
		}

		.line-left-back {
			animation: down 0.2s linear backwards;
			-webkit-animation: down 0.2s linear backwards;	
			-webkit-animation-delay: 0.6s;
         	 animation-delay: 0.6s;
		}

.bgIn {
			animation:bg 0.2s linear forwards;
			-webkit-animation: bg 0.2s linear forwards;
			-moz-animation: bg 0.2s linear forwards;

		}

		.close {
			position: absolute;
			right:90px;
			top:50px;
			cursor: pointer;
			display: none;
			z-index: 999;
		}

@keyframes up {
			0% {opacity:0;height:0;}
			1% {opacity:1;}
			100% {opacity:1;height:100%;}
		}

		@-webkit-keyframes up {
			0% {opacity:0;height:0;}
			1% {opacity:1;}
			100% {opacity:1;height:100%;}
		}


		@keyframes down {
			0% {opacity:1;height:100%;}
			100% {opacity:0;height:0%;}
		}

		@-webkit-keyframes down {
			0% {opacity:1;height:100%;}
			100% {opacity:0;height:0%;}
		}

		@keyframes side {
			0% {opacity:0;width:0;}
			1% {opacity:1;}
			100% {opacity:1;width:100%;}
		}

		@-webkit-keyframes side {
			0% {opacity:0;width:0;}
			1% {opacity:1;}
			100% {opacity:1;width:100%;}
		}


		@keyframes otherside {
			0% {opacity:1;width:100%;}
			100% {opacity:0;width:0%;}
		}

		@-webkit-keyframes otherside {
			0% {opacity:1;width:100%;}
			100% {opacity:0;width:0%;}
		}

		@keyframes bg {
			0% {background:rgba(0,0,0,0);}
			100% {background:rgba(0,0,0,1);}
		}

		@-webkit-keyframes bg {
			0% {background:rgba(0,0,0,0);}
			100% {background:rgba(0,0,0,1);}
		}
/*end anniversary*/


/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Basic jQuery Slider
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

ul.bjqs { position: relative; list-style: none; padding: 0; margin: 0; overflow: hidden; display: none; }
li.bjqs-slide { position: absolute; z-index: 300; }
ul.bjqs-controls { list-style: none; margin: 0; padding: 0; z-index: 400; }
ul.bjqs-controls.v-centered li a { position: absolute; }
ul.bjqs-controls.v-centered li.bjqs-next a { right: 0; }
ul.bjqs-controls.v-centered li.bjqs-prev a { left: 0; }
ol.bjqs-markers { list-style: none; padding: 0; margin: 0; width: 100%; }
ol.bjqs-markers.h-centered {  }
ol.bjqs-markers li { display: inline; }
ol.bjqs-markers li a { display: inline-block; }
p.bjqs-caption { margin: 0; }

ul.bjqs-controls.v-centered li a {
	background: #fff;
	color: #000;
	display: block;
	padding: 10px;
	text-decoration: none;
}

ul.bjqs-controls.v-centered li a:hover { background: #231f20; }

ol.bjqs-markers li a {
	background: #ccc;
	height: 15px;
	margin: 10px 6px 0 0;
	text-indent: -9999px;
	width: 15px;
}

ol.bjqs-markers li.active-marker a {
	background: #231f20 url(img/arrow-up-small.png) 5px 12px no-repeat;
	height: 35px;
	width: 25px;
	position: relative;
	top: -10px;
}

ol.bjqs-markers li a:hover { background-color: #1fb25a; }

ol.bjqs-markers li.active-marker a:hover { background-color: #231f20; cursor: default; }

p.bjqs-caption { background: url(img/overlay-green.png) repeat; }

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Footer
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

#footer {
	background: #231f20 url(img/footer-bg.png) right bottom no-repeat;
	clear: both;
	margin-top: 60px;
	padding: 5px 0 0;
}

#footer .social-links { margin-right: 0; }

.footer-links { padding: 20px 0; }

.footer-links ul,
.footer-contact ul,
.footer-contact li  {
	margin-bottom: 0;
}

.footer-contact ul {
	margin-left: -35;
}


.footer-links ul {
	margin-left: 0;
}

.footer-links li.title {
	color: #ddd;
	font: 700 11px/16px 'PT Sans', sans-serif;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.footer-links li { margin-bottom: 6px; }

.footer-links li a {
	background: url(img/footer-bullet.png) 0 5px no-repeat;
	color: #fff;
	font-size: 11px;
	padding-left: 10px;
}

.footer-links li a:hover {
	text-decoration: underline;
}

.footer-contact {
	background: #1fb25a;
	color: #fff;
	font-size: 12px;
	height: 80px;
}

.footer-contact a { color: #fff; }

.footer-contact li {
	float: left;
    margin-right: 15px;
	line-height: 80px;
}

.footer-contact li:last-child { margin-right: 0; }

#footer .contact-details { float: left; }

#footer .menu-social-links-container,
#footer .menu-social-links-eng-container {
	float: right;
	margin-right: 0;
	margin-top: 27px;
}

#footer .menu-social-links-container li,
#footer .menu-social-links-eng-container li {
	background-color: #fff;
	margin-right: 0;
}

#footer .menu-social-links-container li a:hover,
#footer .menu-social-links-eng-container li a:hover { background-color: #fff; opacity: .7; }

#footer .menu-social-links-container li.youtube a,
#footer .menu-social-links-eng-container li.youtube a { background-image: url("img/icon-youtube-green.png"); }
#footer .menu-social-links-container li.facebook a,
#footer .menu-social-links-eng-container li.facebook a { background-image: url("img/icon-facebook-green.png"); }
#footer .menu-social-links-container li.instagram a,
#footer .menu-social-links-eng-container li.instagram a { background-image: url("img/icon-insta-green.png"); }
#footer .menu-social-links-container li.twitter a,
#footer .menu-social-links-eng-container li.twitter a { background-image: url("img/icon-twitter-green.png"); }

.footer-banners { padding: 40px 0; }

.back-to-top, .mobile-breadcrumb-nav, #tablet-nav { display: none; }

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   other
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

#fancybox-title > div { text-align: left; }

/* ――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-
   Media Queries
-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-――――-―――― */

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {


.alumni {width: 100%; margin-bottom: 20px}
.counter {width: 100%; }

.container { max-width: 660px; }

.wrap { max-width: 620px; }

.header-graphic {
	background: url(img/header-graphic-bigger.png) no-repeat;
	height: 81px;
	left: -77px;
	width: 197px;
}

#logo {
	background: url(img/logo.png) no-repeat;
	height: 100px;
	top: 72px;
	width: 255px;
	background-size: contain;
	-webkit-background-size: contain;
	-moz-background-size: contain;
}

:lang(en) #logo {
	background: url(images/100-logo.png) no-repeat;
}

#top-nav { top: 17px; }

.top-links { margin-right: 0; }

.top-links li:last-child { padding-right: 0; }

.extra-links {
	clear: both;
	float: right;
}

#search .input-wrapper,
#search .form.input {
    width: 181px !important;
}

#main-nav, #sub-nav, .mobile-breadcrumb-nav { display: none; }

.main-nav {
	cursor: pointer;
}

#mobile-nav {
	display: block;
	padding-bottom: 135px;
}

#mobile-nav #mmenu { display: none; }
 
#mobile-nav #toggle-bar {
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    max-width: 120px;
    margin-top: 25px;
    position: relative;
    bottom: -1px;
}
 
#tablet-nav #toggle-bar {
	background: #323030 url(img/tablet-nav-arrow.png) 37px 28px no-repeat;
    cursor: default;
    height: 70px;
    line-height: 70px;
    overflow: hidden;
    padding-bottom: 20px;
    padding-left: 65px;
    position: relative;
}
 
#tablet-nav #toggle-bar.current {
	background: #323030 url(img/tablet-nav-arrow-current.png) 37px 28px no-repeat;
}
 
#mobile-nav a.link, #tablet-nav a {
	color: #fff;
	font: 700 20px/25px 'PT Sans', sans-serif;
}
 
#mobile-nav a.link:hover, #tablet-nav a:hover { text-decoration: none; }
 
#mobile-nav .navicon {
	border-bottom: 3px solid #1fb25a;
	border-top: 9px double #1fb25a;
	float: left;
	font-size: 0;
	height: 3px;
	margin: 12px 10px 13px 16px;
	width: 17px;
}
 
#mobile-nav .toggle-open .navicon {
	border-bottom: 3px solid #fff;
	border-top: 9px double #fff;
}
 
#mobile-nav .toggle-open .link { color: #231f20; }

#mobile-nav ul#mmenu, #tablet-nav ul#mmenu, #menu-main-navigation-1 {
	border-top: 1px solid #504d4e;
    margin-top: 0;
    padding-top: 18px;
}

#tablet-nav {
    display: block;
    left: -20px;
    margin-bottom: -20px;
    position: relative;
    top: 0;
    width: 660px;
}

.single #tablet-nav { display: none; }

#tablet-nav > ul, #menu-main-navigation-1 {
	background: #323030;
    margin-top: -20px;
    padding: 0 20px 20px;
    position: relative;
}
 
#mobile-nav ul li, #tablet-nav ul li {
	background: url(img/bullet-mobile-nav.png) 20px 10px no-repeat;
	border-bottom: 1px solid #504d4e;
	clear: both;
	list-style: none;
	margin: 5px 0;
}
 
#tablet-nav ul li {
	background: url(img/bullet-arrow.png) 25px 9px no-repeat;
}
 
#mobile-nav ul li a, #tablet-nav ul li a {
	color: #fff;
	display: block;
	font: 400 20px/25px 'PT Sans', sans-serif;
	padding: 5px 0 10px 45px;
}
 
#tablet-nav ul li a {
	font: 14px/21px Verdana, Geneva, sans-serif;
	padding: 1px 0 10px 45px;
}
 
#mobile-nav ul li a:hover,
#tablet-nav ul li a:hover,
.back-to-top a:hover {
	text-decoration: none; }
 
#mobile-nav ul ul { display: none; }

.breadcrumbs #mobile-nav { padding-bottom: 25px; }

.main-nav.breadcrumbs { background: #231f20; min-height: 150px; }

.main-nav.breadcrumbs .breadcrumb-nav, .mobile-breadcrumb-nav {
	background: #fff;
	height: 60px;
	left: -35px;
	overflow: hidden;
	padding: 0 35px;
	width: 590px;
    position: relative;
    top: 0;
}

.breadcrumb-nav span, .mobile-breadcrumb-nav span { line-height: 58px; }
.breadcrumb-nav span span a, .mobile-breadcrumb-nav span span a { color: #139146; }
.breadcrumb-nav span span a:hover, .mobile-breadcrumb-nav span span a:hover { color: #231f20; text-decoration: none; }

.breadcrumb-nav span span.breadcrumb_last, .mobile-breadcrumb-nav span span.breadcrumb_last {
	color: #666; }

#content.static-page {
    margin-top: 35px;
}

.static-content {
    margin-top: 10px;
    padding: 0 !important;
    width: 620px;
}

.static-content.second {
	margin-top: 0;
	width: 861px;
}

.contact-details.two-third {
    padding: 30px 0 0 19px !important;
}

.second.page-full {
    padding-left: 50px !important;
    width: 530px;
}

.gallery .thumbnail {
    margin-bottom: 31px;
    margin-right: 31px;
}

.main-blocks .one-half { overflow: hidden; width: 380px; }

.main-blocks .one-fourth:nth-child(2) { display: none; }

.slider-content { padding: 20px 20px 10px; }
a.block-overlay-green, p.bjqs-caption { width: 320px; }
.slider-title { font-size: 24px; }
.bjqs-slide a span { right: 80px; }

p.bjqs-caption {
	background: url(img/overlay-green.png) repeat;
    font-size: 22px;
    line-height: 28px;
    padding: 11px 20px 11px 15px;
    bottom: 0;
    height: 58px;
    position: absolute;
    left: 25px;
}

.block-300x150 { height: 110px; }

.featured-box-white { padding-bottom: 0; }

.courses-blocks .one-third:nth-child(2), .courses-blocks .one-third:nth-child(4),
.featured-box-white .one-third:nth-child(2), .featured-box-white .one-third:nth-child(4) {
	margin-right: 0; }

.courses-blocks .one-third:nth-child(3),
.featured-box-white .one-third:nth-child(3) {
	margin-right: 20px; }

.courses-blocks a.block-overlay-green-full { height: 80px; }
.courses-blocks a.block-overlay-green-full, .courses-blocks .block-overlay-green-full { padding: 15px 20px; }
.courses-blocks a.block-overlay-green-full, .courses-blocks .block-overlay-green-full { font-size: 20px; }

.slider-content { width: 320px; }

.section-news { width: 300px; }
.section-news.one-third { border-top: 1px solid #c5c5c5; padding-top: 30px; width: 620px; }
.section-extra .watch-video.half { overflow: hidden; width: 300px; }
.section-extra .watch-video.half a.block-overlay-green { width: 270px; }
.section-extra .watch-video.half img { float: right; }
.news-single { padding-right: 0; }
.news-single img { display: none; }
.news-single p { margin-bottom: 10px; }

.news-list.view-two .article-title:nth-child(3),
.home .news-list .article-title:nth-child(6),
.home .news-list .article-title:nth-child(7),
.section-extra .galleries {
	display: none;
}

.one-third .news-list .article-title:nth-child(5) {
	display: block;
}

a.button-print { right: 0; top: 8px; }

.section-extra .two-third { margin-top: 10px; }
.section-extra a.block-overlay-green { width: 265px; }
.section-extra .block-video a { padding-right: 0; }

.mobile-breadcrumb-nav, a.button-print { display: none; }

#footer { background: #231f20 url(img/footer-bg.png) -110px -180px no-repeat; }

.back-to-top {
	display: block;
	height: 80px;
	line-height: 80px;
	text-align: center;
}

.back-to-top a {
	background: url(img/back-to-top-arrow.png) center 23px no-repeat;
	color: #fff;
	display: block;
	font-size: 12px;
}

.footer-contact {
	height: 100px;
	text-align: center;
}

#footer ul.contact-details {
	display: inline-block;
	float: none;
	margin: 24px 0 0;
}

#footer .contact-details li {
	line-height: 25px;
}

#footer .contact-details li:nth-child(2) { margin-right: 0; }

#footer .contact-details li:nth-child(3) { clear: both; margin-left: 61px; }

.footer-links, #footer .social-links, .footer-banners, a.desktop-website { display: none; }

}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {

.alumni {
	background: #9c9a9a;
	
}

.alumni-container {padding: 30px}

.alumni-container .show-alumni {width: 100%}

.counter-container #timer {font-size: 40px}

.counter-container .time {font-size: 12px}

.counter-container .time span {margin: 0 10px}

.counter-container .message {font-size: 18px}

.container { max-width: 340px; }

.wrap { max-width: 300px; overflow: hidden; }

#content, #content.static-page { margin-top: 0; }

.main-nav.breadcrumbs { min-height: 90px; }

.static-content { margin-top: 35px; padding: 0 !important; }

.static-content.second { margin-top: 0; width: 861px; }

.second.page-full { padding-left: 20px !important; width: 280px; }

.page-title { font-size: 24px; line-height: 29px; margin-bottom: 30px; }

.one, .one-half, .two-third, .one-third, .one-fourth, .one-fifth, .one-sixth { width: 100%; }

.header-graphic { left: -83px; }

#logo { left: 10px; }

#top-nav { top: 30px; }

.top-links { margin-right: 15px; }

.lang_sel_list_horizontal li { margin-left: 10px; }

#search,
.top-links li,
.social-links,
.sitemap-link,
.breadcrumb-nav,
a.button-print,
.content-share,
#tablet-nav {
	display: none; }

.top-links li:nth-child(3) { display: block; }

.extra-links {
	clear: none;
	float: right;
}

.main-nav { min-height: 90px; }

#mobile-nav { padding-bottom: 0; }
#mobile-nav > ul { padding-bottom: 0; } 
#mobile-nav ul li:last-child { border-bottom: none; }
 
#mobile-nav ul ul {
	display: block;
	margin: 0;
}
 
#mobile-nav ul ul li {
	background: url(img/bullet-mobile-sub-nav.png) 30px 7px no-repeat;
	border-bottom: none;
	margin-left: 30px;
}

#mobile-nav ul ul a {
	color: #ddd;
	font: 400 16px/21px 'PT Sans', sans-serif;
	padding: 0 0 10px 45px;
}

.mobile-breadcrumb-nav {
	border-top: 1px solid #ccc;
	display: block;
	left: 0;
	margin-top: 25px;
	overflow: hidden;
	padding: 0 20px;
	width: 300px;
}

#mobile-nav ul#mmenu ul {
    display: block;
}

#mobile-nav ul#mmenu ul, #tablet-nav ul#mmenu ul {
    padding-top: 7px;
}

#mobile-nav ul ul li {
    margin-left: 18px;
}

.mobile-breadcrumb-nav span { line-height: 58px; }

.main-blocks { margin-top: 30px; }

#block-slider { margin-bottom: 0; }

.gallery .thumbnail {
    margin-bottom: 26px;
    margin-right: 26px;
}

.main-blocks .one-half { width: 100%; }

.main-blocks .one-fourth { display: none; }

a.block-overlay-green, p.bjqs-caption { width: 265px; }

p.bjqs-caption {
	background: url(img/overlay-green.png) repeat;
    font-size: 18px;
    line-height: 24px;
    padding: 11px 20px 11px 15px;
    bottom: 0;
    height: 48px;
    position: absolute;
    left: 0;
}

ol.bjqs-markers { display: none; }

.slider-content { left: 0; width: 260px; }
.slider-content p { display: none; }
.bjqs-slide a span { background: url("img/arrow-right-big.png") no-repeat scroll 8px 20px #231F20; right: 0; width: 35px; }

.input-wrapper, .select-wrapper { width: 300px !important; }
.input-inner input, .select-wrapper span { width: 292px !important; }

table.textarea { width: 300px !important; }
table.textarea td#textarea-mm textarea { width: 285px; }

#mobile-search {
	display: block;
	margin-top: 30px;
}

#mobile-search .input-wrapper,
#mobile-search .form.input {
    width: 261px !important;
}

.mobile-contact {
	background: #fff;
	border-bottom: 1px solid #cbcbcb;
	border-right: 1px solid #cbcbcb;
	display: block;
	margin-top: 25px;
}

.mobile-contact p { margin-bottom: 8px; }

#nav-above { padding-bottom: 4px; }

.news-list .article-title:nth-child(3),
.news-list .article-title:nth-child(4),
.section-events .featured-box:nth-child(3),
.section-extra, hr {
/*display: none;*/
}

.section-news { margin-top: 20px; }
.section-events { margin-top: 15px; }

.contact-details.two-third {
    padding: 0 0 0 19px !important;
    width: 280px;
}

.featured-box-white { margin-bottom: 30px; padding: 20px 0 20px; }

.featured-box-white .one-third:last-child ul { margin-bottom: 0; }

.section-title-green { margin-bottom: 25px; }

.featured-box-white ul.triangle-section { min-height: 100%; }

.section-news.one-third { border-top: none; margin-top: 10px; padding-top: 0; width: 100%; }

.logoroll img { clear: both; padding-right: 0; }

.news-single-content img { float: none; margin: 0 0 30px; width: 100%; }

.section-courses.two-third { width: auto; }

.button span span, a.button span span, .wpcf7-submitbutton span { padding: 0; }
.button span span, a.button span span, .wpcf7-submitbutton span span { min-width: 300px; }

.gallery { margin: 0 0 0 2px !important; width: 100%; }

#footer { background: #231f20 url(img/footer-bg.png) -470px -180px no-repeat; margin-top: 50px; }

.back-to-top {
    display: block;
    height: 55px;
    line-height: 50px;
    position: relative;
    text-align: left;
}

.back-to-top a {
	background: url(img/back-to-top-arrow.png) 20px 24px no-repeat;
	color: #fff;
	display: block;
	font-size: 12px;
	padding-left: 35px;
	width: 30%;
}

.desktop-website {
    display: block;
    height: 55px;
    line-height: 50px;
    position: absolute;
    top: 0;
    right: 20px;
    text-align: right;
}

a.desktop-website {
	background: url(img/small-arrow-right.png) right 22px no-repeat;
	color: #fff;
	display: block;
	font-size: 12px;
	padding-right: 15px;
	padding-left: 0;
	width: 55%;
}

.footer-contact { height: 160px; }

#footer .contact-details li {
	display: block;
	line-height: 22px;
    float: none;
    margin-right: 0;
}

#footer ul.contact-details { margin: 15px 0 0; }

#footer .contact-details li:nth-child(3) { margin-left: 0; }

}

.ai1ec-time, .ai1ec-calendar-link, .ai1ec-categories {
    display: none;
}

.home .section-events .ai1ec-no-results {

}
#fancybox-overlay {
    z-index: 0 !important;
}

.frm_opt_container label {
	width: 100%;
}

.section-events .frm_ajax_loading {
	display: none !important;
}

.section-events .frm_hidden {
	display: none !important;
}

/* Courses */
.course-blocks .block-overlay-dark.table {
	height: 100%;
}

.course-blocks .block-overlay-dark.table:hover {
	background: none;
}

.course-blocks .block-220x165:hover span {
	background: none;
}

/* Contacts */
.one-contact {
	float: left;
	padding: 0;
	margin-bottom: 20px;
	height: 360px;
	width: 280px;
}

.one-contact.single-contact {
	float: none;
	height: auto;
}

.one-contact .contact-image {
	margin-bottom: 20px;
}

.odd-contact {
	margin-right: 20px;
}

.one-contact p {
	margin-bottom: 0;
}

.one-contact i {
	color: gray;
	font-size: 16px;
	margin-right: 10px;
}

.one-contact .fa {
	padding: 0 7px 0 0;
}

.one-contact .fa-phone {
	padding: 0 11px 0 0;
}

.one-contact.shortcode {
	height: auto;
	margin: 0 10px 10px 0;
}

.contact-image-single {
	margin-top: 20px;
	margin-bottom: 20px;
}

/* Institutes */
.institute-page-title-wrapper {
	text-align: center;
}
.institute-page-title {
	display: inline-block;
	border-bottom: 4px solid black;
}

.institute-left-blocks a {
	height: 135px;
	line-height: 135px;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	width: 100%;
	text-align: center;
	background: url(img/overlay-dark.png) repeat;
	position: absolute;
	top: 0;
}

@media only screen and (max-width: 479px) {
	.institute-left-blocks a {
		font-size: 18px;
	}
}

.institute-left-blocks a:hover {
	background: none;
}

.institute-left-blocks p {
	padding: 0;
	width: 100%;
	margin: 0;
	line-height: 30px;
	text-align:center;
	vertical-align: middle;
	display: table-cell;
}

.institute-block {
	margin-bottom: 8px;
}

.institute-left-blocks .one-fourth:nth-child(odd) {
	margin-right: 20px;
}

.institute-left-blocks .one-fourth:nth-child(even) {
	margin-right: 0;
}

.institute-left-blocks .one-fourth, .institute-left-blocks .one-fourth:nth-child(2) { display: inline-block; }

@media only screen and (max-width: 479px) {
	.course-blocks .one-fourth {
	    display: inline-block;
	}
}

@media only screen and (max-width: 959px) {
	.course-blocks .one-fourth:nth-child(2) {
	    display: inline-block;
	}
}

.institute-links {
	margin-top: 20px;
}

.institute-left-blocks .non-wide {
	width: 220px;
}

.institute-links div {
	background-color: #E2E3E5;
	border-bottom: 1px solid #BCBDBF;
	color: #05AA6E;
	text-align: center;
}

.institute-links a {
	display: inline-block;
	height: 50px;
	line-height: 50px;
}

.institute-links a .fa {
	margin-right: 5px;
}

.institute-links .one-third {
	margin-right: 13px;
}

@media only screen and (max-width: 959px) {
	.institute-left-blocks .non-wide {
		width: 100%;
	}

	.institute-left-blocks .non-wide img {
		object-fit: cover;
	    width: 100%;
	  	height: 135px;
	}
}



body.page-template-institute-front-page .main-nav.breadcrumbs,
body.page-template-course-front-page  .main-nav.breadcrumbs {
    background-image: none;
    background-position: center top;
    background-size: cover;
    background-color: transparent;
}
@media only screen and (max-width: 959px) {
    body.page-template-institute-front-page .main-nav.breadcrumbs,
    body.page-template-course-front-page .main-nav.breadcrumbs {
        background-color: #231f20;
    }
}
body.page-template-institute-front-page,
body.page-template-course-front-page {
    overflow-x: hidden;
}
body.page-template-institute-front-page #content,
body.page-template-course-front-page #content {
    position: relative;
}
body.page-template-institute-front-page #content > .bg,
body.page-template-course-front-page #content > .bg {
    content: '';
    position: absolute;
    top: -150px;
    left: -100px;
    right: -100px;
    bottom: 0;
    background-image: url('../img/bg-header-tktk.png');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
}









/* Language Switcher */
.wpml-ls-legacy-list-horizontal {
	border: 0 none;
	clear: none;
	padding: 0;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item {
	margin-left: 5px;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item:first-child {
	margin-left: 0;
}

.wpml-ls-legacy-list-horizontal .icl_lang_sel_translated {
	display: none;
}

.frm_error {
	color: red;
	font-size: 11px;
}

.koolituse-linn {
    font-style: italic;
    color: #231f20;
    margin-left: 30px;
}

/* Formidable */
