/******************************************  
 CUSTOM STYLESHEET
*******************************************/

/*
* You can place your custom CSS statements in this file, after this message.
* It is better to write everything custom here
* because this file won't be replaced during updates.
* 
* Simply copy an existing style from style.css to this file, 
* and modify it to your liking.
*/

.menu-mobile-buttons {
	display: none;
	float: right;
	margin-right: 10px;
}

.menu-mobile-buttons a {
	line-height: 35px;
	margin: 5px;
	display: inline-block;
	background: #D63135;
	border-radius: 3px;
	color: #FFFFFF;
	padding: 0 10px;
}

#search,
#news-ticker,
#copyright {
	display: none;
}

#header {
	background: none;
	border: none;
}

#menu,
#menu .dropdown .sub-menu {
	background: #000000;
}

#menu .dropdown .sub-menu {
	border-color: #999999;
}


#menu .dropdown .sub-menu li {
	border-bottom: 1px dotted #999999;
}

#menu .dropdown .sub-menu li:last-child {
	border-bottom: none;
}

.dropdown > li:after {
	color: #999999;
}

body {
	background: url(images/bg.jpg) no-repeat top center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* 4 Small Posts at the Top */
.featured-post {
	height: 95px;
	margin: 0px;
	padding: 0px;
	font-size: 11px;
 	background: transparent;
 	color:#A1A9AF;
	box-sizing:border-box;
}
.featured-post:first-child {
	margin-left: 3px;
}
.featured-post img {
	width: 100%;
	height: auto;
	-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0 0 3px;
	-moz-box-shadow: rgba(0, 0, 0, .4) 0 0 3px;
	box-shadow: rgba(0, 0, 0, 0.4) 0 0 3px;
}

.featured-post a {
	display: block;
	padding: 0 3px;
}

.featured-grid .featured-post:first-child a {
	padding-left: 0;
}

.featured-grid .featured-post:last-child a {
	padding-right: 0;
}

.featured-grid {
	margin-bottom: 6px;
}

.container {
	background: none;
	border: none;
}

#menu {
	border-bottom: none;
	border-radius: 1px;
}

.inner-wrap {
	width: 1078px;
}

#menu #mainmenu > li > a,
#menu #mainmenu_en > li > a {
	font-size: 14px;
}

#slider {
	width: 730px;
	padding-top: 20px;
}

.feature-posts-list {
	list-style-position: outside;
	padding-top: 20px;
}

#calendar-widget h3 {
	font-size: 14px;
	font-weight: 400;
}

#calendar-widget .embedded-event {
	margin-bottom: 10px;
}

#calendar-widget .schedule {
	color: #A1A9AF;
    font-size: 12px;
    margin: 2px 0 4px;
}

.calendar-widget-link {
	padding: 10px;
	text-align: center;
	display: block;
	background: #F7F7F7;
	border-top: 1px solid #D9E0E6;
}

.sponsor-logos {
	background: none repeat scroll 0 0 #FCFCFC;
	-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0 0 3px;
	-moz-box-shadow: rgba(0, 0, 0, .4) 0 0 3px;
    box-shadow: rgba(0, 0, 0, 0.4) 0 0 3px;
    margin: 0 0 10px;
    padding: 10px;
    text-align: center;
}

.sponsor-logos .widget {
	background: none;
	display: inline-block;
	border: none;
	width: auto;
	box-shadow: none;
	padding: 20px;
	margin: 0;
	height: 75px;
}

.sponsor-logos .widget a {
	vertical-align: middle;
	height: 75px;
}

.valign-helper {
	display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#tribe-events{
	background-color: #ffffff;
	padding: 15px;
}


.sidebar-kalender {
	position: relative;
}

.sidebar-kalender span {
	position: absolute;
	bottom: 0;
	width: 100%;
	display: block;
	text-align: center;
	background: rgba(0, 0, 0, 0.7);
	color: #FFFFFF;
	font-size: 12px;
}

/** calendar */

.tribe-events-loop.hfeed.vcalendar {
	min-width: 100%;
}

.tribe-events-list-separator-month {
	margin: 0px;
}

.tribe-events-list .vevent.hentry,
.tribe-events-list .vevent.hentry.tribe-event-end-month{
	margin: 10px 0px 0px 0px;
	background-color: #f5f5f5;
	border-radius: 4px;
	padding-top: 10px;
	padding:10px;
	
}

#purjekool {
	background: white;
	border-radius: 4px;
}

#purjekool > tbody > tr,td,th {
	border:none;
}

.flex-control-nav {
	border-radius: 0px;
	padding:10px 0 0px;
}

.flex-direction-nav {
	bottom: 23px;
}

.entry p a:hover {
	color: #003399;
}

.responsive-tabs .responsive-tabs__list__item {
	font-size: 14px !important;
}

#tribe-events-pg-template {
	max-width: 100%;
}

#tribe-events-bar {
	display: none;
}

.events-header .year {
	display: block;
	background: #F5F5F5;
	padding: 10px;
	text-align: center;
	width: 50px;
	float: left;
	color: #666666;
	font-weight: 700;
	font-size: 16px;
	border-right: 3px solid #FFFFFF;
}

.events-header .year:hover,
.events-header .year.selected {
	background: #e2e2e2;
}

.events-header .month {
	display: block;
	background: #F5F5F5;
	padding: 5px 10px;
	text-align: center;
	width: 100px;
	float: left;
	color: #666666;
	font-weight: 700;
	font-size: 12px;
	border-right: 3px solid #FFFFFF;
	border-top: 3px solid #FFFFFF;
}

.events-header .month:hover,
.events-header .month.selected {
	background: #e2e2e2;
}

.events-list-month {
	padding: 10px;
	font-weight: 700;
	font-style: italic;
}

.event {
	background: #F5F5F5;
	margin-bottom: 5px;
}

.event .dates {
	float: left;
	padding: 10px;
	border-right: 3px solid #FFFFFF;
	font-size: 12px;
	width: 42px;
}

.event .dates .start {
	font-weight: 700;
}

.event .expand-event {
	display: block;
	float: right;
	text-align: center;
	padding: 10px;
	width: 42px;
	line-height: 38px;
	height: 38px;
	border-left: 3px solid #FFFFFF;
	font-size: 26px;
	color: #999999;
}

.event .expand-event:hover {
	background: #e2e2e2;
}

.event .event-title {
	margin-left: 65px;
	padding: 10px;
	line-height: 38px;
	font-weight: 700;
}
.event .tribe-events-event-image {
	float: right;
	height: 48px;
	width: auto;
	margin: 5px;
}

.event .expanded-info {
	padding: 10px;
	border-top: 3px solid #FFFFFF;
	font-size: 12px;
	display: none;
}

.event .expanded-info p {
	margin: 0;
}

#menu #mainmenu > li > a,
#menu #mainmenu_en > li > a {
	padding: 13px 15px;
}

.uudised-page {
	padding: 15px;
}

.uudised-page .uudis {
	background: #F5F5F5;
	margin-bottom: 5px;
	padding: 10px;
}

.uudised-page .uudis:last-child {
	margin-bottom: 0;
}

.uudised-page .uudis h2 {
	font-size: 14px;
}

.uudised-page .uudis p {
	font-size: 12px;
	margin: 5px 0 0 0;
}

.sidebar-oldpage {
	background: rgba(0, 0, 0, 0.7);
}

.sidebar-oldpage a {
	display: block;
	padding: 3px 15px;
	margin-bottom: 10px;
	text-align: center;
	color: #FFFFFF;
	font-size: 12px;
}

.widget.facebook {
	padding-top: 20px !important;
}

.widget.facebook h3.title {
	display: none;
}




/*** MEDIA QUERIES ***/
#sidebar > div.sidebar-kalender > p.simple-image > a > img {
    width: 100%;
    height: auto;
    max-height: 250px;
 }
#logo img {
    max-width: 100%;
}
@media only screen and (min-width: 53.125em) and (max-width: 66.875em) { 
    #menu #mainmenu > li > a,
    #menu #mainmenu_en > li > a {
        padding: 13px 12px;
        margin: 0;
        font-size: 12px;
    }
} 

@media only screen and (min-width:51.875em) and (max-width: 53.124em){
    #menu #mainmenu > li > a,
    #menu #mainmenu_en > li > a {
        padding: 13px 10px;
        margin: 0;
        font-size: 12px;
    }
} 



/* Large Screens */
@media screen and (max-width: 1115px) {
 
    .inner-wrap { width: 100%; }
    .container { width: 100%; padding: 10px 10px 0 10px; box-sizing: border-box;}

    .adv { display: none; }
    .adv_side { display: none; }
    .adv_slider { display: none; }
 
    .featured-post { width: 25%;}
    .featured-post p { display: none; }
    
    #main { width: 69%; }
    .sidebar-alt { width: 30%; }
    .featured-separator { width: 2%; }
    #slider { width: 100%; }
    #slider img { max-width: 100%; height: auto; }
    
    .left-col { width: 42%; margin: 0; padding: 2% 0 2% 2%; border: none; }
    .left-col img { max-width: 100%; height: auto; }
    .right-col { width: 50%; margin: 0; padding: 2% 2% 2% 0; border: none; }
    .right-col li { padding: 0 0 20px; }
    
    #sidebar { width: 30%; }
    #sidebar .left-col { width: auto; float: none; margin: 0 0 20px; padding: 20px 3% 0; border-bottom: 1px solid #D9E0E6; border-right: none; }
    #sidebar .right-col { width: auto; float: none; margin: 0; padding: 0 3% 20px; border-left: none; }
    
    .video_cover { position: relative; padding-bottom: 56.25%; display: block; padding-top: 30px; height: 0; overflow: hidden; width: 100%; max-width: 100%; }
    .video_cover iframe,
    .video_cover object,
    .video_cover embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
    .single-area { width: 69%; }
    
    #comments .commentlist li #respond input { width: 94%; }
    #comments .commentlist li #respond textarea { width: 94%; }
    #comments .commentlist li #respond p.form-submit input { width: auto; }
    
    .fb_iframe_widget { width: 100%!important }
    .fb_iframe_widget span { width: 100%!important; }
    .fb_iframe_widget span iframe { width: 100%!important; }
    .widget img,
    .adv_side img { max-width: 100%; height: auto; }
    ul.tabbernav li a { font-size: 10px; }
    
    #footer div.column { width: 24%; margin-right: 1%; }

    #copyright .inner-wrap { padding: 2% 2% 3%; }

}


/* Tablets */
@media screen and (max-width: 51.875em) {
    .header-wrap {padding: 0px;}

	.menu-mobile-buttons {
		display: block;
	}

    .events-list .container {
    	padding: 0;
    }

    body {
    	background: #D3DCE1;
    }

    #tribe-events-pg-template {
    	padding: 0;
    }

    .events-header .years {
    	display: none;
    }

    .tribe-events-event-image {
    	display: none;
    }

    .sidebar-oldpage,
    .widget.facebook {
		display: none;
    }
    
    #main { width: 100%; }
    #sidebar { width: 100%;margin-top: 10px; }
    .adv_top { display: none; }
    #banner {display: none; }
    .featured-post h3 { font-size: 12px; }
    .featured-post p { display: inline; }
    .featured-post {width: 50%; }
   #logo {
   	margin-left: 20px;
   	margin-bottom: 10px;
   }
    .single-area { width: 100%; }
    #slider { width: 100%;}
    #slider #slidemain .slide_content h2 { font-size: 14px; }
    .post-meta {padding: 10px;}
    .post-wrap {padding: 10px;}
    p {margin:0 0 10px;}
    .archiveposts h2 { font-size: 18px; }
    h1.title { font-size: 20px; margin:0; }
    h1 {font-size: 18px;}
   #slider #slidemain .slide_content p { font-size: 12px;}
    #header { position: relative; }
    .btn_menu { display: block; float: left; cursor: pointer; background: #D63135 url('images/menu.png') 8px 9px no-repeat; padding: 5px 5px 0; width: 30px; height: 30px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; margin: 5px; }
    #menu-wrap { margin: 0 15px; }
    #menu .dropdown .sub-menu li { border: none; }
    #menu .dropdown .sub-menu { border: none; }
    #menutop .btn_menu { background-color: #1F394D; }
    .mobile-menu { display: none; clear: both; }
    .dropdown li { display: block; float: none; }
    #menu .dropdown > li:after { display: none; }
    .dropdown a { padding-left: 10px; display: block; }
    .dropdown .sub-menu { -webkit-box-shadow: none; box-shadow: none; background: none; margin-left: 10px; position: relative; visibility: inherit !important; top: 0; width: auto; border: none; }
    .dropdown .sub-menu .sub-menu { -webkit-box-shadow: none; box-shadow: none; background: none; margin-left: 10px; display: block !important; position: relative; visibility: inherit !important; top: 0; width: auto; border: none; }
    .dropdown  li:hover .sub-menu .sub-menu { top: 0; left: 0; border: none; -webkit-box-shadow: none; box-shadow: none; background: none; }
    #mainmenu, #mainmenu_en { width: 100%; }
    #menu #mainmenu > li > a, #menu #mainmenu_en > li > a { border: none; padding-left: 0; }
    #menu #mainmenu > li > a:before, #menu #mainmenu_en > li > a:before { display: none; }
    #menutop .dropdown > li:after { display: none; }
    .dropdown .sub-menu li { border: none; }
    .dropdown a { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
    .dropdown a:hover {  }
    .dropdown li ul li { border: none; }
    .dropdown li ul li a {  }
    .dropdown li:hover li a:hover {  }
    .dropdown li:hover a {  }
    .dropdown li:hover ul a { background: none; }
    .dropdown > li > a:hover { margin-top: 0; }
    .dropdown > li > a:after { display: none; }
    .dropdown > li > a:hover { margin-top: 0; }
    .dropdown > li:hover { margin-top: 0; }
    .dropdown > li:hover > a { margin-top: 0; }
    .dropdown ul { background: none; }
    .dropdown li:hover ul,
    .dropdown li.sfHover ul { left: 0; top: 0; z-index: 99; background: none; }
    ul.dropdown li:hover li ul,
    ul.dropdown li.sfHover li ul { top: 0; }
    ul.dropdown li li:hover ul,
    ul.dropdown li li.sfHover ul { left: 0; top: 0; }
    ul.dropdown li li:hover li ul,
    ul.dropdown li li.sfHover li ul { top: 0; }
    ul.dropdown li li li:hover ul,
    ul.dropdown li li li.sfHover ul { left: 0; top: 0; }
   
    #logo img { max-width: 100%; height: auto; }
    #footer{display: none;}

 
  
}

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

    #header #searchform { display: none; }
    
     .featured-post {width: 50%; }
    
    .sidebar-alt { display: none; }

    .left-col { width: 96%; margin:2%; padding:0; }
    .right-col { width: 96%; margin:2%; padding:0; }

    .archiveposts .post-thumb { float: none; margin:0 0 20px; }

    .archiveposts .post-content { overflow: visible; }

    #slider { width: 100%; }
    .featured-separator { display: none; }
    #logo { float:left; display: block; width: 50%; margin-left: 20px; margin-bottom: 10px; }

    #respond .form_fields { width:97%; margin:0; }
    #respond input, #respond textarea { width: 97%; }
    #respond .comment-form-comment {width:99%; }
    #respond .form_fields input { width:94%; }
    .children #respond { margin-right:0; }

    #footer div.column { width: 100%; margin-right:0; float:none; vertical-align: top; display: inline-block;}

    #slider #slidemain .cover, #slider #slidemain .video_cover { margin: 0; text-align: center; }

    #copyright span { float:left; }
    
}

.wpglobus-selector-link img,
.wpglobus-selector-link .code {
	display: none;
}

.wpglobus-selector-link .name {
	text-shadow: 0px 0px 2px rgba(150, 150, 150, 1);
	color: #FFFFFF;
}

#banner {
	margin-top: 0;
}