@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700);

*{ outline: none; }

body{
	
	font-family: "Open Sans";
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
}

h1,h2,h3{ font-weight: 100; }

h1{ font-size: 34px; color: #999999; margin: 0; padding: 0 0 30px 0; }
h2, LI H2{ font-size: 26px; color: #3d7cb6 !important; margin: 0; padding: 10px 0 5px 0; }
h3,td h3{ font-size: 22px !important; color: #3d7cb6 !important; margin: 0; padding: 10px 0 5px 0; font-weight: normal !important;  }
h4{ font-size: 20px; color: #3d7cb6; margin: 0; padding: 10px 0 5px 0; }
h5{ font-size: 20px; color: #3d7cb6; margin: 0; padding: 10px 0 5px 0; }

LI H2,
LI H2 A{
	font-size: 24px !important; color: #3d7cb6 !important; margin: 0; padding: 0 0 10px 0; font-weight: normal !important; text-decoration: none !important;
}
LI H2 A:hover{ text-decoration: underline !important; }

h2.title{ font-size: 34px; color: #999999; margin: 0; padding: 30px 0; }

A{ color: #555555; }
A:hover{ color: inherit; text-decoration: none; }

p{ *font-size: 17px; color: #555555; }
p.small{ font-size: 14px; }

B,STRONG{ color:inherit; }

TABLE{ border:none; width:100%; }
TABLE TD,
TABLE TH{ border:none; *font-size: 17px; padding: 5px; font-size: inherit; color: auto; border-bottom:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; }

TABLE TD:last-child,
TABLE TH:last-child{ *text-align:right; }

TD, TH{ vertical-align: text-top; }

TABLE.table{ margin: 0 0 10px 0; border-bottom:1px solid #DDDDDD; }
TABLE.table TD{ padding: 5px; border-bottom:1px solid #DDDDDD; } 

.date{ font-size: 13px; color: #3d7cb6; display: block; padding-bottom: 10px; }
.date{}
.fa-chevron-down{ font-size: 10px; padding-left: 10px; float: right; padding-top: 3px; }

TABLE.borderless td, 
TABLE.borderless th {
    border: none !important;
}



/* Kontaktid tabel */
.kontaktid TD:nth-child(1){ width:20% !important; }
.kontaktid TD:nth-child(2){ width:30% !important; }
.kontaktid TD:nth-child(3){ width:30% !important; }
.kontaktid TD:last-child{
	text-align: right;
}

.rteindent1,
ul,
ol{ color: inherit; font-size: 18px; margin:0; padding: 0 0 0 30px;  }



/*----------------------------------------------------*/
/* Custom 											  */
/*----------------------------------------------------*/

.btn{ border-radius: 30px; padding-left: 20px; padding-right: 20px; }
.btn-primary{ border: 2px solid #999999; background-color: #FFF; color: #999999; }
.col-lg-fifth{ width: 20%; display: block; float: left; padding: 0 5px; padding-bottom: 30px; }

.row-eq-height {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
}

/* Tables */
.table h2,
.table h3{ padding: 5px 0; color: inherit; font-size: 16px; font-weight: 600; }

.table tr:first-child td{ border: none; }
.table .date{ padding-top: 5px; }

.container-inline-date .form-item, .container-inline-date .form-item input{
	width: 100%;
}

.date-padding{}

.breadcrumb{ background-color: transparent; margin-bottom: 0 !important; }
.node-type-persoon .breadcrumb,
.node-type-persoon .page-header{ display: none !important; }

.well_DISABLED{
	min-height: 200px !important;
	padding: 0 30px 0 0 !important;
	background-color: #FFF !important;
	box-shadow:none !important;
	border: none !important;
	border-radius: none !important;
	border-right: 1px solid #EEE !important;
}


/*----------------------------------------------------*/
/* Animations 										  */
/*----------------------------------------------------*/

.btn,
.menu-search input{
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.transition-1{
	transition: opacity 0.5s;
	-webkit-transition: all ease 0.5s;
	-moz-transition: all ease 0.5s;
	-o-transition: all ease 0.5s;
	-ms-transition: all ease 0.5s ;
	transition: all ease 0.5s ;
}



/*----------------------------------------------------*/
/* header 											  */
/*----------------------------------------------------*/

header{ height: 75vh; max-height: 600px; min-height: 300px; position: relative; background-position: center top; }

body.content header{ height: 35vh; background: url(../images/maja-wide.jpg) no-repeat center top; background-size: cover; }

.logo{ display: inline-block; padding: 30px 0; }

.slogan{ position: absolute; width: 100%; bottom: 130px; display: none; }
.slogan p{ font-size: 30px; color: #3d7cb6; text-shadow: 0px 0px 10px rgba(255, 255, 255, 1); }

.btn-header{
	text-transform: uppercase;
	margin-top: 30px;
	padding: 10px 50px 8px 50px;
	border-radius: 30px;
	*font-size: 17px;
	font-weight: 600;
	background-color: rgba(255,255,255,0.9);
	color: #3d7cb6;
	border: 2px solid #3d7cb6; }
	
/* Trail */
.trail{ color: #CCC; margin-left: -15px; }
.trail a{ font-size: 14px; line-height: 40px; display: inline-block; padding: 0 5px; color: #999; }
.trail a:first-child{ padding-left: 0; }
.trail a:hover{ color: #3d7cb6; }

/*----------------------------------------------------*/
/* Nav 												  */
/*----------------------------------------------------*/

.navbar-brand{ padding: 10px;}

.nav .open>a, .nav .open>a:hover, .nav .open>a:focus { background: transparent; }

nav.navbar a:hover,
nav.navbar a:active,
nav.navbar a:focus{ background: transparent; }


/*----------------------------------------------------*/
/* Top menu 										  */
/*----------------------------------------------------*/

.navbar-top ul{ margin: 20px 0; padding-left: 10px; padding-right: 10px; border-right: 1px solid #dadada; }
.navbar-top li{}
.navbar-top li a{ 
	padding: 5px 5px;
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease; }
.navbar-top li a:hover,
.navbar-top li a.active{ opacity: 0.5; }
.navbar-top li.active a{ font-weight: 600; }
.navbar-top ul:first-child{ border: none; padding-right: 0; }

#text-size-sm{ font-size: 10px; }
#text-size-lg{ font-size: 20px; }
#text-size-xl{ font-size: 30px; }

/*----------------------------------------------------*/
/* main menu 										  */
/*----------------------------------------------------*/

nav.navbar-main{
	margin: 0;
	position: absolute;
	width: 100%;
	*white-space: nowrap;
	bottom: 0;
	border: none;
	border-radius: 0;
	background-color: #3d7cb6;
	background-color: rgba(61,124,182,0.9);
	border-bottom: 4px solid #800000; }
	
	nav.navbar-main.fixed{ position: fixed; top:0; bottom: auto; z-index: 1000; }
	nav.navbar-main a.level1{ 
		color: #FFF; 
		*font-size: 17px; 
		text-transform: uppercase; 
		-webkit-transition: all 0.5s ease;
		-o-transition: all 0.5s ease;
		transition: all 0.5s ease;}
	nav.navbar-main a.level1:hover,
	nav.navbar-main a.level1.active{ opacity: 0.5; }
	nav.navbar-main a.level1 .fa{ opacity: 0; }
	nav.navbar-main a.level1:hover .fa,
	nav.navbar-main a.level1.active .fa{ opacity: 1; }
	
	.navbar-center{ *margin-left: 20%; }
	
	/* mobile menu toggle */
	.navbar-toggle{ border: none; }
	.navbar-toggle .icon-bar{ border: 1px solid #FFF; }
	
	/* dowpdown menu */
	.dropdown{ position: inherit !important; }
	
	.dropdown-menu{
		background-color: rgba(243,243,243,0.8);
		padding: 30px;
		padding-bottom: 0;
		position: absolute;
		left: 0;
		margin-top: 3px !important;
		right: 0;}
		
	.dropdown-menu li{ float: left; }
	.dropdown-menu a{ 
		display: block; 
		font-size: 15px; 
		color: #555555; 
		padding-bottom: 10px; 
		font-weight: 600; 
		-webkit-transition: all 0.5s ease;
		-o-transition: all 0.5s ease;
		transition: all 0.5s ease;
	}
	.dropdown-menu a:hover{ color: #3d7cb6; text-decoration: none; }
	.dropdown-menu p{ font-size: 13px; }

	
	.dropdown-menu .row{
		display: flex;
		flex-wrap: wrap;
	}
	.dropdown-menu .col-lg-fifth{
		width: 20%;
	}


.open a{}

/* Menu Search */
.menu-search{ line-height: 50px; overflow:hidden; }
.menu-search input,
.menu-search button{ border: none; *height: 50px; margin: 0; padding: 0;}

.menu-search input[type=text]{ border:1px solid #FFF; width: 100px; background: transparent; color: #FFF; text-align: left; font-size: 16px; opacity: 0.5; }
.menu-search button{ padding: 0 10px 8px 0; background-color: transparent; color: #FFF; }
.menu-search button i{}
.menu-search button:hover,
.menu-search button:focus{ background:transparent; }

.menu-search input{ height: 30px; border: 1px solid transparent; padding: 0 10px; color: #FFF; min-width: 160px; }
.menu-search input:hover,
.menu-search input:active,
.menu-search input:focus{ border: 1px solid #FFF; border-radius: 20px; *width:90%; background:none; }

/* Search results */
.search-results{ margin: 0; padding: 0 0 0 20px; }

.form-inline .btn{ margin: -15px 0 0 5px; }


.main-navbar-ul{
	white-space: nowrap;
}
.main-navbar-ul div *{ white-space: normal; }

.main-navbar-ul > li > a{ text-transform: uppercase; }

/* Files */
.add-new-file{
	margin-top:5px;
	display:inline-block;
	border:1px solid #CCC;
	padding:5px 10px;
	border-radius:5px;
	font-size:14px;
	text-decoration:none !important;
}

.oigus-veebivorm .element{
	border:1px solid #CCC;
	padding:5px;
	margin-bottom:5px;
}
.oigus-veebivorm .element-1{ padding:0; }
.oigus-veebivorm .element *{ border:none; }
.oigus-veebivorm .element input, .oigus-veebivorm .element .remove {
    float: left;
}
.oigus-veebivorm .element .remove {
    margin-left: 8px;
    background: url(/sites/all/themes/Oiguskantsler/remove.png) no-repeat center center;
    display: block;
    width: 14px;
    height: 14px;
    text-indent: -9999px;
    cursor: pointer;
    margin-top: 6px;
}
/*----------------------------------------------------*/
/* Sidemenu											  */
/*----------------------------------------------------*/

.sidemenu{ margin: 0; padding: 0; }
.sidemenu li{ list-style-type: none; margin: 0; padding: 0; }
.sidemenu li a{ text-decoration: none; display: block; padding: 0; padding: 10px 0; font-size: 16px; border-bottom: 1px solid #EFEFEF; }
.sidemenu li a:hover,
.sidemenu li a.active{ color: #3d7cb6; }
.sidemenu UL{ margin: 0; padding: 0; }
.sidemenu UL LI{} 
.sidemenu UL LI A{ font-size: 14px; padding-left: 30px; }
.sidemenu UL LI:before{ content: "»"; position: absolute; padding: 10px; color: #800000; }

.region-sidebar-first ul{ margin: 0; padding: 0; }
.region-sidebar-first ul li{ list-style-type: none; margin: 0; padding: 0; }
.region-sidebar-first ul a,
.region-sidebar-first ul span,
.region-sidebar-first ul li a{ color: inherit; text-decoration: none; display: block; padding: 0; padding: 10px 0; font-size: 16px; border-bottom: 1px solid #EFEFEF; }
.region-sidebar-first ul a:hover,
.region-sidebar-first ul a.active,
.region-sidebar-first ul li a:hover,
.region-sidebar-first ul li a.active{ color: #3d7cb6; }
.region-sidebar-first ul UL{ margin: 0; padding: 0; }
.region-sidebar-first ul UL LI{} 
.region-sidebar-first ul UL LI A{ font-size: 14px; padding-left: 30px; }
.region-sidebar-first ul UL LI:before{ content: "»"; position: absolute; padding: 10px; color: #800000; }

/*----------------------------------------------------*/
/* section											  */
/*----------------------------------------------------*/

section{ *padding-bottom: 60px; padding-top: 15px; }

/* article */
article{ *padding: 15px; padding-bottom: 30px; }
article .btn-text-link{ font-size: 13px; color: #800000; padding: 0; margin: 0; padding: inherit; display: inline; }
article p a{ text-decoration: underline; }
article p img{ padding: 10px 10px 0 0; }

article ul li{ list-style-type: none; }
article ul li:before{ content: "»"; position: absolute; color: #800000; margin-left: -25px; }
article ul li,
article ul li a{ font-size: 16px; color: #555555; }

article ol li{}
article ol li,
article ol li a{ font-size: 16px; color: #555555; }

article .custom_footer{ padding: 0; }
article header h2{}

/* Accordion content */
blockquote{
	display: none;
	border:none;
	padding:0;
	margin:0;
	*border:1px solid red;
	overflow: hidden;
}

.rtejustify{ margin: 0; padding: 0; }

.toggleMe{ padding-bottom: 10px; cursor: pointer; }

UL.toggleMe{ padding-bottom:0; }
UL.toggleMe LI{ padding:5px 0; }
UL.toggleMe LI H3{ padding:0; }

/* Views */
.view li{
	list-style-type: none;
	padding-bottom: 15px;
}
.view li:before{ content: "»"; position: absolute; color: #800000; margin-left: -25px; }
.view li .date{ margin:0; padding: 0; }
.view li a{ text-decoration: none; font-size: 16px; }

/* Files table */
.files-table{ margin-top: 30px; }
.files-table TH:last-child,
.files-table TD:last-child{ *text-align: right; }
.files-table .file-icon{ padding-right: 15px; height: 16px; }

/* Sidepanel */
.sidepanel h2.title{
	font-size: 18px;
	font-weight: bold;
	color: #333333 !important;
}

/*----------------------------------------------------*/
/* Form 											  */
/*----------------------------------------------------*/
.form-item{
	padding-bottom: 10px;
}
.form-item .form-item{ padding-bottom: 5px; }

/*----------------------------------------------------*/
/* social 											  */
/*----------------------------------------------------*/

.social-links li a{ 
	color: #FFF;
	padding-left: 5px; 
	padding-right: 0;
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.social-links span{ 
	border: 2px solid #FFF; border-radius: 100%; width: 25px; height: 25px; display: block; float: left; text-align: center; line-height: 22px; margin-top: -2px; }
.social-links span i{ font-size: 14px; }
.social-links li a:hover{ opacity: 0.5; }


/*----------------------------------------------------*/
/* seisukohad 										  */
/*----------------------------------------------------*/

.tags{}
.tags a{ color: #999; display: inline-block; padding: 0 10px 0 0; }

/*----------------------------------------------------*/
/* Kõned ja intervjuud 								  */
/*----------------------------------------------------*/

.view-konedjaintervjuud li{
	*border-bottom: 1px solid #CCC;
}


/*----------------------------------------------------*/
/* Contacts 										  */
/*----------------------------------------------------*/

.contact ul{ margin: 0; padding: 0; } 
.contact ul li{ list-style-type: none; }

/*----------------------------------------------------*/
/* Gallery	 										  */
/*----------------------------------------------------*/

.gallery-image{ padding-bottom: 30px; display: block; position: relative; }
.gallery_title{ position: absolute; top:94%; }
.gallery_title p{ font-size: 13px; }

.image-container,
.image-container *{ text-decoration:none !important;}
.image-container{ display:block; padding:0 0 15px 0; border:1px solid #FFF; }
.image-container p{ text-decoration:none !important; font-size:14px; }

/*----------------------------------------------------*/
/* footer 											  */
/*----------------------------------------------------*/

footer{ background-color: #555555; padding: 60px 0; }

footer p{ color: #FFFFFF; }
footer h2{ color: #999999 !important; font-size: 30px; padding-bottom: 30px; padding-top: 0; }
footer ul{ margin: 0; padding: 0; }
footer a{ text-decoration: none !important; }
footer a:hover{ color: #CCC; }

footer ul li{ list-style-type: none; padding-bottom: 15px; }
footer ul li:last-child{ padding: 0; }
footer ul li a{ color: #FFF; font-size: 18px; }

footer .col{ border-right: 1px solid #999999; min-height: 360px; }
footer .date{ color: #999999; }
footer .copyright{ font-size: 13px; color: #999999; }

footer.container{ width: 100%; }



/* pagination */
.pagination{
	white-space: nowrap;
}
.pagination *{ height:36px; }