
bloghtml {font-size: 100%}
html {
	min-width: 320px;
	scroll-behavior: smooth;
}
body { 
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	color: rgb(51,51,51);
	clear:both;
	margin:0 auto;
	min-width:320px;
	max-width: 1920px;
	font-weight: 300;
    /* border-top:4px solid #1A60A7; */
}

body p {
	letter-spacing: 0.3px;
}
.body,.content{clear:both; margin:0 auto; width:100%; box-sizing: border-box}
a{text-decoration:none;}
/* p{font-family:arial;} */

/* =============================================================================
  Header content
   ========================================================================== */
/* #logo {
    margin-top:15px;
	margin-left:35px;
	position: absolute;
} */

a#logo {
	max-width: 280px;
	width: 100%;
	height: 36px;
}

a#logo > img {
	height: 100%;
}

#peamenuu {
	max-width: 700px;
	width: 100%;
	margin-left: 120px;
}

.alignright {
    float: right;
}
#header{position:relative;height:80px; max-width: 1420px; align-items: center;}
#header.row {margin-left: auto; margin-right: auto;}
/* #header > a >  img {height: 69px} */
.headermenu{
	position: relative;
	right: 0;
	/* transform: translateY(-50%); */
	z-index: 99;
	padding: 0 10px;
	cursor: pointer;
	margin-left: 18.5px;
/* 	right:30px;
	top:5px; */
	/* display: none */ /* uue lahenduse jaoks peidetud */
}

#otsingKeel {
	max-width: 200px;
	width: 100%;
	margin-left: 120px;
	display: flex;
	justify-content: flex-end;
}

#otsingKeel i {
	cursor: pointer;
	margin-right: 32.5px;
}

/*! kuniks keeli pole */

#otsingKeel .vl {
	display: none;
}

#otsingKeel .headermenu {
	display: none;
}

#otsingKeel i {
	margin-right: 0px;
}

/*! kuniks keeli pole */

.headermenu::after {
	content: '\25BC';
	display: block;
    position: absolute;
    top: 50%;
   	right: 0;
    font-size: x-small;
    transform: translateY(-50%);
}

.headerContainer {
	width: 100%;
	background-color: white;
	position: fixed;
	top: 0;
	z-index: 90000;
	border-bottom: 1px solid #D9D9D9;
	left: 0;
	right: 0;

}

.modal {
	z-index: 90001;
}

.modal-backdrop {
	z-index: 90000 !important;
}

#kaart {
	margin-top: 30px;
}
.ve-gmap-wrapper {
	height: 300px !important;
}



/* .headermenu li{
	margin:3px 8px 0 0 ;
	float: left;
	font-size: 13px;
	margin-right: 10px;
	position: relative;
	color:#666;
	margin-top:10px;
} */
.headermenu li a{color:#999;}
.headermenu li a:hover{color:#1a60a7;}
.headermenu li.active a{color:#1a60a7;}

#hero {
	position: relative;
	margin-top: 80px;
	overflow: hidden;
	max-height: calc(100vw / 2.6666666666666666666666666666667);
}

#heroslogan {
    display: block;
    position: absolute;
    left: 50%;
    top: 41%;
    transform: translateY(-50%) translateX(-50%);
    color: white;
    font-size: 61px;
    font-weight: bold;
    text-shadow: 5px 5px 5px rgba(0,0,0,.34);
    -webkit-transform: translateY(-50%) translateX(-50%);
    -moz-transform: translateY(-50%) translateX(-50%);
    -ms-transform: translateY(-50%) translateX(-50%);
    -o-transform: translateY(-50%) translateX(-50%);
    width: 100%;
    max-width: 1490px;
    margin: 0 auto;
    padding: 0 35px;
}


#headermenu2{ 
	/* font-family: 'AndrewSamuelsLightRegular'; */
	font-size:14px;
	font-weight: 500;
	display:inline;
	top:65px;
	left:22px;
	text-align: center;
	color: rgb(77,77,77);
}

#teenusedPage, #koolitusPage, #tehtudTood, #ettevottest, #uudisedPage, #kontaktPage, #tehtudToodPage, #kasulikkuPage {
	padding-top: 200px;
	background-color: rgb(240,241,242);
	min-height: 120vh;
}

#teenusedPage ~ #footer, #koolitusPage ~ #footer, #tehtudTood ~ #footer, #ettevottest ~ #footer, #uudisedPage ~ #footer, #tehtudToodPage ~ #footer, #kasulikkuPage ~ #footer {
	background-color: rgb(240,241,242);
}

#ettevottest, #uudisedPage {
	padding-bottom: 60px;
}

#koolitusPage:not(.pohileht) {
	padding-bottom: 90px;
}

#teenusedPage > .w1420 {
	padding-bottom: 90px;
}



#koolitusPage .editor-content, #ettevottest .editor-content {
	margin-bottom: 60px;
}

div.middle.teenused li.level2, #ettevottest ul.sideMenu li, #tehtudTood ul.sideMenu li, #mobilemenu > li {
	padding-bottom: 15px;
	border-bottom: 1px solid rgb(217,217,217);
	font-size: 16px !important;
	font-weight: 400;
}

#teenusedPage h6, #koolitusPage h6 {
	font-size: 12px;
	font-weight: 500;
	margin-bottom: 32px;
	text-transform: uppercase;
}

#headermenu2 > li{
	/* float:left; */
	display: inline;
	padding-right:15px;
}

#headermenu2 a {color: rgb(77,77,77)}

#headermenu2 > li  a:hover, #headermenu2 > li.active > a, #headermenu2 .megamenu a.active { color:rgb(0,137,255); text-decoration: none;}



#teenused a:hover {color: inherit; text-decoration: none;}
#teenused a:hover h3{color: rgb(0, 137, 255);}

.megamenu a


#headerbg {
	margin-top:-45px;
	z-index:0;
}
#search-container{ 
	padding-left: 8px;
	display:inline;
	position:absolute;
	margin-left: 829px;
	/* margin-top:56px;
	width: 192px;
	height: 30px; */
	border: none;
	background:url(img/searchuus.png) no-repeat;
}
#search-container input[type='text']{ width:167px;margin-top:6px;border:none;height:20px;}

#search{
	border:none;
	background-color:transparent;
	padding-top:6px}

/* =============================================================================
  Middle content
   ========================================================================== */
.footercontent{
	width:1030px;
	margin-left: auto;
	margin-right: auto;
	margin-top:110px;

}
#footerbg{
	min-height:125px;
	width:1073px;
	background: url(img/header.png) 100%;
	position:relative;
	top:20px;
}
#footerlogod{
	padding-top:45px;
	padding-left:20px;
	display:inline-block;
	position:absolute;
	left:10px;
}
.footertext{
	font-size:11px;
	padding-top:0px;
	padding-left:10px;
	color:#999;
	text-transform:uppercase;
	}

#footermenu{
	margin-left:70px;
	margin-top:20px;
}
#footermenu li{
	/* font-family:arial; */
	font-size:12px;
	color: #999;
	float:left;
	margin-right:8px}
#footermenu a{color:#999}
#footermenu a:hover,#footermenu li.active a{color:#1a60a7}

/* =============================================================================
  Front page menu
   ========================================================================== */

#bigmenu{margin:0 auto !important;margin-top:5px;}
#bigmenu li{ 
	margin:0 25px;
	float:left;
	font-weight:bold;
	margin-bottom:15px;
	font-size:13px;
	/* font-family: 'AndrewSamuelsLightRegular'; */
    position:relative;
}
#bigmenu a{color:#50575c;text-transform: uppercase;}
#bigmenu a:hover{color:#1a60a7}

#bigmenu li div{width:198px;height:230px;background:url(img/big_menu_drop.png) no-repeat 0 0 ;position:absolute;bottom:15px;left:0px;z-index: 9999999;display:none;}
#bigmenu li div ul{position:absolute;bottom:15px;width:178px;padding:0 10px}
#bigmenu li div ul li{float:none;margin:0px;width:170px;padding:7px 0;padding-left:10px;text-align: left;}
/* #bigmenu li div ul li a{font-family: 'AndrewSamuelsLightRegular';color:#fff;text-transform: uppercase;} */
#bigmenu li div ul li a:hover{color:#bbb;}

#frontpage-news-cycle-pager-container{
	width:1020px;
	height:170px;
	position:relative;

/*	border-top: solid 1px #999;*/
}
#frontpage-news-cycle-pager{
	float:left;
	margin-left:55px;
	margin-top:20px;
}
#frontpage-news-cycle-pager li{
	border-right: solid 1px #d7d7d7;
	padding: 0 20px 0 20px;
	font-size:12px;
	float:left;
	width:120px;
	position:relative;
}
#frontpage-news-cycle-pager li:last-child{border:none;}
#frontpage-news-cycle-pager li.activeSlide{
	width:201px;
	
}

#frontpage-news-cycle-pager li .tn-active{display:none;}
#frontpage-news-cycle-pager li.activeSlide .tn-active{display:block;}
#frontpage-news-cycle-pager li.activeSlide .pager-link{display:none;}
#frontpage-news-cycle-pager li .active-flag{display:none;}
#frontpage-news-cycle-pager li.activeSlide .active-flag{display:block;width:26px;height:12px;background:url(img/news_pager_active.png) no-repeat 0 0;position:absolute;bottom:0px;left:108px;}

#frontpage-news-cycle-pager h2{
	font-size:12px;
	padding-top:10px;
	/* font-family: 'AndrewSamuelsLightRegular'; */
	line-height: 19px;}
#frontpage-news-cycle-pager a h4{
	font-size:11px;
	padding-top:10px;color:#000;}
#frontpage-news-cycle-pager a{color:#999 }
#frontpage-news-cycle-pager a:hover{color:#1a60a7}
.scroll-button{ margin-top:60px;}



#front-content-picture,.front-content-picture{
	position:absolute;
	left:520px;
	width:477px;
	height:298px;
	top:9px;
	
}
#front-content-text,.front-content-text {
	padding: 30px 20px 20px 70px;
	width:400px;
	height:180px;
	display:inline-block;}
#front-content-text,.front-content-text p {
    text-align:justify;
	font-size:13px;
	padding-top:20px;
	line-height: 19px;
	color:#363636;
    /* font-family: Arial; */
}

#front-content-texth1,.front-content-texth1{
	font-size:20px;
	color:#1a60a7;
/*	text-align:justify;*/
	line-height:24px;
	/* font-family: 'AndrewSamuelsLightRegular';*/}
#front-content-textp,.front-content-textp{
	text-align:justify;
	font-size:13px;
	padding-top:20px;
	line-height: 19px;
	color:#363636;
    /* font-family: Arial; */
}
#front-content-text h4{
	font-size:11px;
	padding-top:10px;
	color:#999;
}
#loe{
	padding-top: 20px;
	margin-left:-13px;
}
/* =============================================================================
  Left menu 
   ========================================================================== */

#left-content{
	max-width:280px;
	width: 100%;
	display:inline-block;
	margin-top:0;
}
.leftmenu{
	max-width:280px;
	margin-top:31px;
}


 
.leftmenu a, #mobilemenu a {text-decoration: none; color:rgb(77,77,77)}
#mobilemenu a {color: rgb(38,38,38)}
.leftmenu a:hover{ color:rgb(0, 137, 255);}
.leftmenu li.active > a{ color: rgb(0, 137, 255);}


.leftmenu .teenused h2, #mobiilne-menu h2{
	display: none;
}

.leftmenu li:not(.level2) {
	font-size: 14px;
	font-weight: 400;
}

.leftmenu li {

	color:#666;
	/* font-family: 'AndrewSamuelsLightRegular'; */
	font-size:16px;
	padding-left:0px;
	margin:15px 15px 0px 0px;
	width:100%;
	list-style-type: none;
	font-weight: 500;
}


#tehtudTood .leftmenu li {
	font-size: 16px;
}

.leftmenu li li{margin-left:5px}
.leftmenu li li li {margin-left: 5px}
.leftmenu li.open {
	
	padding-left:0;
	margin-left:0
}

.leftmenu li.open:not(.level2) {
	background: url(img/left_menu_open.png) no-repeat 0px 2px;
}
/* =============================================================================
  Middle content
   ========================================================================== */

#middle-content{
	/* min-width: 320px; */
	max-width: 700px;
	width: 41vw;
	margin-left: 120px;	
}

#tehtudTood #middle-content {
	max-width: 1020px;
	width: 100%;
}

#tehtudTood #kaartideUmbris, #tehtudTood #filtrid{
	width: 100%;
	max-width: 1020px;
	/* justify-content: space-between; */
	width: 100%;
	gap: 60px;
}

#right-content{
	width: 200px;
	zoom:1;
	margin-left: 120px;
}
.right-content-place{
	width:200px;
	padding:0px;
	position:relative;
	zoom:1;
	
}





#kaartideUmbris {
	margin-top: 60px;
}

#filtrid .col-4 {
	max-width: 300px;
}

#filtrid > div > div:first-of-type {
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 0.1px;
}

#tehtudTood .card {
	max-width: 300px;
	height: 399.99px;
	margin-bottom: 60px;
	background-color: white;
	
}

#kontaktPage .leftmenu {
	margin-top: 0px;
	margin-bottom: 30px;
}

#tehtudTood .card .card-body p.card-text{
	font-size: 14px !important;
	line-height: 20px;
	font-weight: normal;
	margin: 0;
}

#tehtudTood h5.card-title {
	font-size: 16px;
	line-height: 24px;
	color: rgb(77,77,77);
	font-weight: bold;
	text-transform: unset;
}

#tehtudTood #middle-content h2, #uudisedPage #middle-content h2 {
	font-size: 28px;
	line-height: 35px;
	font-weight: bold;
	color: rgb(112,112,112);
	padding: 0;
}

#tehtudToodPiltWrapper {
	/* max-width: 640px; */
	margin-top: 30px;
}

#tehtudTood .modal-body, #uudisedPage .modal-body, #uudised .modal-body {
	padding-top: 0;
}

#tehtudTood .koolituseSisu  div:first-of-type, #uudisedPage .uudisedSisu  div:nth-of-type(2) {
	text-align: right;
	margin-right: 2em;
}

#tehtudTood .card-body > .title {
	height: 133.33px;
}

#tehtudTood .card-body > .content {
	position: absolute;
	bottom: 20px;
}

.uudiseKp {
	font-size: 12px;
	font-weight: normal;
	line-height: 20px;
	margin-top: 86px;
	margin-bottom: 29px;
}

.uudiseKp.single {
	margin-top: 0px;
}

.uudisteKP.mobile {
	display: none;
}



.uudisedSingle .uudisteKP, .singleTehtudTood .uudisteKP{
	margin-top: 0px;
}

#tehtudTood #koolituseContent, #uudisedPage #uudisedContent, #tehtudToodContent {
	margin-top: 60px;
}

.imageConteiner {
	min-height: 133.333px;
	max-height: 133.333px;
	overflow: hidden;
	margin: 0 -15px;
}

#tehtudTood .card  a:hover h5, #uudisedPage #middle-content a:hover h5 {
	/* color: rgb(0, 137, 255); */
	text-decoration: none;
}
#tehtudTood a:hover, #uudisedPage a:hover {
	text-decoration: none;
}
/* #middle-content-big{
	width:795px;
	padding-left:35px;

    padding-bottom: 30px
	
} */

#kontaktPage #left-content p{
	font-size: 16px;	
	line-height: 30px;
	color: rgb(112,112,112);
}

#kontaktPage #left-content a {
	color: rgb(0, 137, 255);
}

#kontaktPage .contact td, #kontaktPage .contact td p, #kontaktPage #uusKontaktTabel p {
	font-size: 14px;
	line-height: 20px;
	margin: 0;
}

#kontaktPage tr {
	height: 140px;
	border-bottom: 1px solid rgb(166,166,166);
	margin-top: 28px;
}

#kontaktPage .contact tr > td:nth-of-type(2), #uusKontaktTabel div:last-of-type {
	/* color: red; */
	width: 205px;
	padding: 0;
}

#uusKontaktTabel > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#kontaktPage #kaart > img {
	max-width: 700px;
	width: 100%;
	display: block;
    margin: 0 auto;
}



/* #kontaktPage .parameter-table tr > td:nth-of-type(2) p {
	line-height: 20px;
	margin: 0;
} */

#aadress, #avatudAjad {
	line-height: 30px;
}

#middle-content #aadress p, #middle-content #avatudAjad p {
	margin: 0;
}

#avatudAjad div:first-of-type {
	padding-left: 0
}

#avatudAjad div:last-of-type {
	padding-right: 0;
}

.paevad {
	display: flex;
}

.nadalaPaev {
	/* font-weight: 600; */
	width: 60px;
}

.teavituseTaust {
	width: 100%;
	height: 120px;
	margin-top: 80px;
	display: flex;
	justify-content: center;
	background-color: rgb(61,81,101);
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-ms-border-radius: 6px;
	-o-border-radius: 6px;
}
.teavituseTaust > div {
	width: 100%;
	color: white;
}

.lahtiOlekuAjad {
	margin-top: 0px;
	margin-bottom: 116px;
	padding: 28px;
	width: 100%;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-ms-border-radius: 6px;
	-o-border-radius: 6px;
	border: 1px solid red;
}


.ajaUmbris {
	margin-top: 18px;
}

.ajaUmbris:first-of-type {
	margin-top: 0px;
}

div.lyhendatud, div.pyhad {
	font-size: 18px;
	line-height: 30px;
	color: rgb(112,112,112);
}

div.lyhendatud span:first-of-type, div.pyhad span:first-of-type {
	color: red;
	font-weight: 600;
}

.lahtiOlekuAjad:empty {
	display: none;
}

.teavituseTaust > .ikoon {
	margin-top: 16px;
}

.teavituseTaust > .ikoon img {
	height: 41.3px;
	width: auto;
}

.teavituseTaust > .tekst p {
	margin: 0 !important;
	font-size: 20px;
	line-height: 23px;
}


#kontaktPage .parameter-table tr > td:nth-of-type(1) {
	padding-left: 30px;
}

#kontaktPage .parameter-table tr > td:nth-of-type(2) a, #kontaktPage #uusKontaktTabel a {
	color: rgb(0, 137, 255)
}

#kontaktPage #left-content a:hover {
	text-decoration: underline;
}

.middle-content-palace{
	width:100%;
	/* max-width: 300px; */
	margin-top: 90px;
}
#legend a{
color:#666;
font-size:10px;
padding:0 5px 05px;
display: none;
}

#legend {
	display: none;
}

#middle-content h1, #middle-content-big h1, #search h1 {
	font-size:28px;
	color: rgb(77,77,77);
	line-height:30px;
	/* font-family: 'AndrewSamuelsLightRegular'; */
	padding-bottom:30px;
	margin: 0px;
}
#middle-content h2,#middle-content-big h2{
	font-size:18px;
	color:rgb(77,77,77);
	line-height:24px;
	/* font-family: 'AndrewSamuelsLightRegular'; */
	padding-top:20px;
	padding-bottom:10px
}

div.editor-content {
	counter-reset: tabel;
}

/* .tabeliPealkiri::before {
	counter-increment: tabel;
	content: "Tabel "counter(tabel) ". ";
} */

#search h2 {
	font-size: 18px;
	line-height: 20px;
	color: rgb(77,77,77);
	margin-top: 8px;
	margin-bottom: 6px;
}



#middle-content h3,#middle-content-big h3{
	color:#666;
	line-height:24px;
	font-size:16px;
}
#middle-content h4,#middle-content-big h4{
	padding:7px 5px 5px 0;
	color:#666;
	font-size:14px;
}
#middle-content h5,#middle-content-big h5{
	color:#1a60a7;
	font-weight: normal;
	font-size:12px;
	line-height: 20px;
	letter-spacing: 0.1px;

}

#middle-content h5.riiklikudPuhad {
	color: red;
	margin-bottom: 14px;
}


#middle-content h6 ,#middle-content-big h6{
	color:#666;
	font-weight: normal;
	padding:0;
	font-size:12px;
	line-height:17px
}

#middle-content:not(.uudisedPage) p, #middle-content-big p, /* #uudised */ .modal-body p {
	font-size:18px;
	line-height:30px;
	margin-bottom: 18px;
	margin-top: 18px;
	letter-spacing: 0.3px;
}


#middle-content p:first-of-type, #middle-content-big p:first-of-type {
	margin-top: 0;
}

/* #tehtudTood h1 {
	margin-bottom: 46px;
} */

iframe {
	display: block;
	margin: 0 auto;
	border: solid 4px rgb(255,255,255) !important;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
}



#middle-content li,#middle-content-big li, .modal-content li {
	/* background:url(img/list_punkt.jpg) no-repeat 0 0; */
	/* color:#666; */
	/* font-family: arial; */
	/* font-size:13px; */
	/* padding-left:10px; */
	margin:5px 15px 0px 20px;
	line-height: 30px;
	list-style-type: disc;
}

#uudisedContent ol {
	margin-left: 18px;
	margin-right: 18px;
}

#uudisedContent img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

ol > li, #middle-content ol>li,#middle-content-big ol>li  {
	list-style-type: decimal;
	margin:5px 15px 0px 20px;
	line-height: 30px;
} 

ol.carousel-indicators > li {
	list-style-type: none;
} 

#middle-content a ,#middle-content-big a{
color:#1A60A7; font-weight: 500;
}

#middle-content p + ul, #middle-content-big p +ul, #middle-content p + ol, #middle-content-big p + ol  {
	margin-top: -9px;
}

ol {
	list-style: decimal;
}

#legend a {	color: #666; font-weight: normal;}

.middle-content-pic {
	float:left;
	margin-right: 15px;}
	
/* ========================
  Tabel
 ======================== */

table { padding:0px;  color:#666; /* width:500px; */ margin: 10px 0 10px 0;  border-bottom:none;}
table.contact {
	width: 100%;
}

table.contact tr > th {
	width: 80px;
}

#middle-content-table  td{ margin-bottom:25px; ;  }

#middle-content table h3{
	color:#1a60a7;
	text-transform:uppercase;
	font-size:12px;
	border-left:solid #999 1px;
	padding-left:10px;
}
#middle-content table h4{
	border-left:solid #999 1px;
	padding-left:10px;
	text-transform:uppercase;
}

.editor-content ol, .editor-content ul {
	padding-left: 18px;
	padding-right: 18px;
}

#middle-content td{

	font-size:14px;
	padding:10px;
	vertical-align:middle;
}

#kava td {border-bottom:solid 1px #999 !important; border-top:none; border-left:none; border-right:none }
#kava h6{ width:40px; }
/* kolituse p'evakava*/
#kava h5{ color:#1a60a7!important; 
	border:none !important; 
	text-transform:none !important; 
	padding-left: 0px !important; 
	font-size:12px;}

/* ========================
  Galerii
   ======================== */
   
#project-list {
	width:800px;
	float:left;
	margin-top:30px;
}
#project-list li {float:left; padding-right:30px; background: none; margin: 0;}
#project-list h3{
	text-transform: uppercase;
	color:#1a60a7;
	font-size:12px;
	background:url(img/nool.png) no-repeat 0 6px;
	padding:5px 0 5px 20px;
}
#middle-galery h1{
	font-size:20px;
	color:#1a60a7;
	text-align:justify;
	line-height:24px;
	/* font-family: 'AndrewSamuelsLightRegular'; */
	padding-top:20px;
	padding-bottom:10px;
}
/* #middle-galery img{

} */

ul.sub-menu {
	display: none;
	position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(120,120,120,.5);
    border-radius: 0 0px 5px 5px;
	padding: 10px;
	z-index: 99;
    background-color: white;
}

ul.headermenu:hover  ul.sub-menu {
	display: block;
	
}

#frontSlogan {
	display: inline-block;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	margin-top: 60px;
	font-weight: bold;
	font-size: 42px;
	text-align: center;
	color: rgb(87,87,87);
	line-height: 51px;
	padding: 0 15px;
}

#koolitused #frontSlogan {
	margin-top: 0px;
	margin-bottom: 60px;
}

.pealkiri {
	font-weight: bold;
	font-size: 42px;
	line-height: 51px;
	text-align: center;
	color: rgb(23,23,23);
}

#tutvustavTekst {
	margin-top: 63px;
	margin-bottom: 56px;
	font-size: 24px;
	line-height: 29px;
	color: rgb(51,51,51);
}



.w1420 {
	width: 100%;
	max-width: 1490px;
	margin: 0 auto;
	padding: 0 35px;
}

#tehtudTood > .w1420 {
	flex-wrap: nowrap;
}

h5 {
	font-size: 14px;
	color: rgb(61,81,101);
	text-transform: uppercase;
}

#teenused {
	margin-top: 41px;
}

#tooted {
	padding: 120px 35px;
}

#tooted > #tooted {
	padding: 0 35px;
}

#tooted > #tooted img {
	display: block;
	margin-left: auto;
}

#tooted > h5 {
	margin-bottom: 30px;
}

.w220 {
	width: 100%;
	max-width: 220px;
}

#teenused a, #meidUsaldavad a{
	margin-top: 60px;
	width: 220px;
	display: flex;
}

#meidUsaldavad {
	margin-bottom: 180px;
}

#meidUsaldavad a {
	margin-top: 0;
	
}

#meidUsaldavad a img {
	width: 220px;
	/* height: auto; */
	object-fit: cover;
}

#meidUsaldavad .row {
	margin-top: 60px;
}

#meidUsaldavad .row:first-of-type {
	margin-top: 0;
}



#koolitused {
	position: relative;
}


#footer {
	/* background-color: rgb(61,81,101); */
	padding: 60px 0px;
	/* background-image: url(../img/TTK_Footer.jpg); */
	position: relative;
	padding-top: 150px;
}

#footerMenu .megamenu {
	display: block;
	position: relative;
	left: unset;
	background-color: transparent;
	padding: 0;
	transform: unset;
	-webkit-transform: unset;
	-moz-transform: unset;
	-ms-transform: unset;
	-o-transform: unset;
}

#footerImage {
	background-image: url(../img/TTK_Footer_3.png);
	background-size: cover;
	background-position-x: center;
    height: 300px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

#footerMenu .megamenu li {
	border: none;
}

#footerMenu > li > a{
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .3px;
}

#footerMenu > li {
	display: inline-block;
	margin-left: 15px;
}

ul#headermenu2 > li {
	cursor: pointer;
	margin-left: 40px;
}

ul#headermenu2 > li:first-of-type {
	margin-left: 0;
}



#footerMenu a {
	color: white;
	line-height: 25px;
	font-size: 14px;
	font-weight: 300;
	letter-spacing: .1px;
}

#footer  #muuInfo  div span {
	color: white;
	font-size: 14px;
	display: inline-block;
	margin-right: 30px;
}



#frontPageFooter {
	margin-bottom: 80px;
}

#muuInfo > div {
	padding-left: 0px;
}

#muuInfo {
	flex-direction: column;
	position: relative;
}

.socialMedia {
	position: absolute;
	right: 0px;
	color: white;
	font-size: 30px;
}

.socialMedia a {
	color: white;
}

.socialMedia a:hover {
	color: rgb(0,137,255)
}

.socialMedia i {
	margin-right: .35em;
	font-size: 25px;
}

#teenusedPage #middle-content img:not(.print-disable) {
	display: block;
	position: relative;
	/* max-width: 600px; */
	max-width: 100%;
	height: auto;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
	border: solid 4px rgb(255,255,255);
	margin: 0 auto;
	/* left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%); */
}

.wp-caption {
	/* max-width: 700px; */
	width: 100% !important;
}


#middle-content p.wp-caption-text {
	display: block;
	font-size: 14px;
	font-weight: normal;
	font-style: italic;
	margin-top: 10px;
	text-align: center;
}

.teenuseKaart .image{
	height: 62px;
	min-height: 62px;
	max-height: 62px;
}
.teenuseKaart img {
	max-height: 62px;
	max-width: 62px;
}

.teenuseKaart h3, #koolitusAjakava h3{
	margin-top: 20px;
	font-size: 26px;
	font-weight: bold;
	line-height: 32px;
	color: rgb(77,77,77);
}

#kontaktPage h2.osakond, #middle-content #registreeri h2 {
	font-size: 28px;
	line-height: 30px;
	font-weight: normal;
	color: rgb(77,77,77);
	padding-bottom: 30px;
	padding-top: 0px;
}

#middle-content #registreeri h2 {
	margin-bottom: 15px;
	padding-bottom: 0;
}

#registreeri {
	margin-top: 100px;
}

h2.registreeri {
	color: rgb(0,137,255) !important;
	font-weight: bold !important;
	margin-bottom: 34px !important;
    line-height: 30px !important
}

#kontaktPage h2.osakond:nth-of-type(2) {
	margin-top: 106px;
}

.teenuseKaart .teenuseKirjeldus {
	margin-top: 25px;
	font-size: 18px;
	line-height: 22px;
	color: rgb(51,51,51);
}

#teenusedPage h4, #ettevottest h4, #tehtudTood h4 {
	font-size: 18px;
	font-weight: bold;
	line-height: 22px;
	color: rgb(77,77,77);
	letter-spacing: 0.1px;
}

.editor-content {
	margin-bottom: 110px;
}


#middle-content .right-box a.dokumendid {
	display: flex;
	align-items: center;
	background-color: white;
	border: 1px solid rgb(217, 217, 217);
	font-size: 18px;
	line-height: 18px;
	color: rgb(112,112,112);
	margin-bottom: 40px;
}

#middle-content .right-box a.dokumendid:hover {
	background-color: rgb(230, 243, 255);
	border: 1px solid rgb(153,204,255);
}

.sinineNupp {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    background-color: rgb(0, 137, 255);
    height: 40px;
    border-radius: 3px;
    font-size: 14px;
	font-weight: 500;
	padding: 0 15px;
}

a#saadaEmail, a.sinineNupp {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    background-color: rgb(0, 137, 255);
    height: 40px;
    border-radius: 3px;
    font-size: 14px;
	font-weight: 500;
	padding: 0 15px;
}



a#saadaEmail:hover, a.sinineNupp:hover {
	color: black !important;
	text-decoration: none;
}

a#saadaEmail {
	width: 100%;
	margin: 10px 0px;
}

.vaataKoiki {
	text-align: center;
}

.vaataKoiki a {
	padding: 0 15px;
	margin-top: 100px;
}

li.active.level3, li.active.level4 {
	margin-left: 10px;
}


/* ========================
  Teenuste list
   ======================== */

#teenus-list{ width:500px;}
#teenus-list li{
	border-bottom: solid #999 1px;
	text-transform: uppercase;
	color:#1a60a7;
	padding:10px 0 5px 0px;
	font-size:12px;
	/* font-family: 'AndrewSamuelsLightRegular'; */
	background:none;
}
#teenus-list p{
	/* font-family:arial; */
	font-size:13px;
	line-height: 19px;
	text-transform:none;
	
}

.teenus-list-pic{
	background:url(img/list_nool.png) no-repeat 0 0;
	float:right;
	height:11px;
	width:11px;
	padding-left:5px
}
.teenus-list-pic-open{
	background:url(img/list_nool_open.png) no-repeat 0 0;
	float:right;
	height:11px;
	width:11px;
	padding-left:5px
}

/* ========================
  Koolitus kalender
   ======================== */
  
  #koolitus-kalender  { display:inline;}
  
#koolitus-kalender > li{ border-bottom: solid 1px #999; background:none;
	margin:0px;
}
#koolitus-kalender li .pane li {
	border-bottom: none;
	list-style-type: disc;
    background: none;
}
#koolitus-kalender h2{
	display:inline-block;
	text-transform: uppercase;
	color:#1a60a7;
	padding:10px 0 5px 0px;
	font-size:12px;
	/* font-family: 'AndrewSamuelsLightRegular'; */
	width: 70%;
}
 #koolitus-kalender div.tab{cursor:pointer}
 #koolitus-kalender /*div.pane*/{
	/* font-family:arial; */
	font-size:13px;
	line-height: 19px;
	text-transform:none;
	width:100%}


#koolitus-kalender h3{
	display:inline-block;
	width:90px;
	font-size:12px;
	zoom:1;
}
#koolitus-kalender h3.big{width:115px;}
#koolitus-kalender h3:hover{text-decoration:underline;}

#koolitus-kalender .tab a{ padding:5px;}
div.pane{display: none;}
#koolitus-kalender .koolitus-list-pic{
	background:url(img/list_nool.png) no-repeat 0 0;
	float:right;
	height:11px;
	width:11px;
	padding-left:5px;
	margin-top:15px;
}
#koolitus-kalender  .current .koolitus-list-pic{
	background:url(img/list_nool_open.png) no-repeat 0 0;
	float:right;
	height:11px;
	width:11px;
	padding-left:5px;
	margin-top:15px;
}
.lisa {
	margin:10px 0 10px 0;
	background:url(img/left_menu_close.png) no-repeat 0 2px;
	padding-left:15px;
	color:#666;
	font-size:13px
}
.lisa a:hover{color:#1a60a7;}






/* ========================
  Search content
   ======================== */
/* #search {
} */
#search p {color:#666;}

.search-button{
width:95px;
height:34px;
background: none !important;
}

/* ========================
 info tabel
   ======================== */
#info-table li{
border-bottom: solid #999 1px;
background: none !important;
display:block;
margin:6px;
padding:0px;
padding-bottom:2px;
}
#info-table ul{ margin-bottom:30px}

#info-table h5 {
display:inline;
font-size:12px;
color:#1a60a7;
border-left: solid #999 1px;
padding:0px 0 0 10px;
zoom:1;
}
#info-table h6 {
display:inline-block;
*display:inline;
padding-left:0;
font-size:11px;
padding-right:10px;
zoom:1;
}
#info-table h5 a{color:#1a60a7;}
#info-table h5 a:hover{text-decoration:underline;}

/* =============================================================================
  Right content
   ========================================================================== */



.reg-content{
	margin-left:30px;
}



.right-box p{font-size:12px;}
.right-box a{color: #1A60A7;font-size:12px}
.right-box.gray img {
	float: none !important;
	padding: 0;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	border: white 2px solid;
}





.right-content-place p{
	position:absolute;
	width:150px;
	padding-left:55px;
	font-size:13px;
	/* font-family:arial; */
	line-height:19px;
	padding-top:40px;
}
.right-content-place a{
	position:absolute;
	width:150px;
	padding-left:57px;
	font-size:13px;
	/* font-family:arial; */
	line-height:19px;
	color:#666;
	padding-top:130px;
}
#right-content a:hover{ color:#1a60a7}

.right-box h1{
	/* font-family: 'AndrewSamuelsLightRegular'; */
	font-size:14px;
	padding:12px 0 10px 0px;
	text-transform: uppercase;
}

.right-box h4{ 
font-size:12px;
margin-bottom:5px;
color:#666;}
/* .right-content-place-2 img{
} */

#right-content-img{
	position:absolute;
	padding:40px 0 0 33px
}

.right-content-place-2 h1{
	/* font-family: 'AndrewSamuelsLightRegular'; */
	font-size:14px;
	padding:12px 0 10px 54px;
	text-transform: uppercase;
	position:absolute;
}
.right-content-place-2 p{
	position:absolute;
	width:150px;
	padding:150px 0 0 55px;
	font-size:13px;
	/* font-family:arial; */
	line-height:19px;
}
.right-content-place-2 a{
	color:#1a60a7;
	padding-top:190px;
	position:absolute;
	width:150px;
	padding-left:57px;
	font-size:13px;
	/* font-family:arial; */
	line-height:19px;
}

.reg-content h1{
	padding:5px 0 15px 0;
	/* font-family: 'AndrewSamuelsLightRegular'; */
	font-size:14px;
	text-transform: uppercase;
}
.reg-content-input input {
	width:190px;
	height:26px;
	border: solid 1px #666;
	border-radius:5px;
	padding-left:5px;
	padding-right:5px;
	margin-bottom:10px;
}

#big-input textarea {
width:191px;
height:107px;
border:solid 1px #666;
border-radius:5px;
padding: 5px 5px 5px 5px;
resize:none;
/* font-family:arial; */
color:#999;
margin-bottom:10px;
}
.saada{
margin:10px 0 0 0;
width:100px;
height:40px;
}

.right-search { border:none;
background:url(img/right_search.png) no-repeat 0 0;
height:32px;
width:160px;
margin:5px 0 10px 0px;
padding:0px 32px 0px 10px
}

.checkbox{text-transform: uppercase; font-size:11px; color:#666; }

a.gray-button span {
background: transparent url(img/button_right3.png) no-repeat 0 0;
display: block;
line-height: 22px;
padding: 2px 0 5px 18px;
color: #fff;
}

a.gray-button {
background: transparent url(img/button_left3.png) no-repeat top right;
display: block;
float: left !important;
/*height: 34px;*/
margin-right: 6px;
padding-right: 15px;
text-decoration: none;
/* font-family: 'AndrewSamuelsLightRegular'; */
font-size:12px;
}
#news-list{padding-top:6px;min-height:150px;}



span.icon{display:inline-block;min-width: 80px; width:80px;height:80px;background:url(img/icons/file.png) no-repeat 50% 50% rgb(0,72,145); margin-right:25px;}
/* span.icon.pdf{background-image:url(img/icons/file-pdf.png)}
span.icon.doc,span.icon.ocx{background-image:url(img/icons/file-doc.png)}
span.icon.xls{background-image:url(img/icons/file-xls.png)}
span.icon.jpg{background-image:url(img/icons/file-jpg.png)}
span.icon.ppt,span.icon.ptx{background-image:url(img/icons/file-ppt.png)}
span.icon.txt{background-image:url(img/icons/file-txt.png)} */


/* #product-pics{} */
#product-pics li{float:left;margin:2px;height:50px}
#product-pics li a{display:block;}

/* .editor-content table,.training-agenda table,.parameter-table{border-collapse:collapse;font-family:'arial' !important;line-height:14px;} */
.editor-content table table tr,.training-agenda table tr,.parameter-table tr{margin-top:5px;}

#middle-content .editor-content table > tbody > tr > td > p, #middle-content .training-agenda table tr td p{margin:0 !important;font-size:16px}
.editor-content table{width: 100% !important; table-layout:auto; box-sizing: border-box;}
.editor-content table.labor {width: 100% !important; table-layout:fixed; box-sizing: border-box;}
/* .editor-content table tr{width:500px !important;} */
.editor-content table tr:first-child > td {
	color: white !important;
	border: none !important;
}
#middle-content .editor-content table tr:first-child {
	background-color: rgb(112,112,112);
	font-size: 12px;
	text-transform: uppercase;
}

#middle-content .editor-content table tr:first-child td {
	font-size: 12px;
}

tr.rohutatud td {
	font-size: 16px;
	font-weight: 500;
}

/* .editor-content table tr:nth-of-type(2n+2){
	background-color: white;
}

.editor-content table tr:nth-of-type(2n+3){
	background-color: rgb(235, 243, 255);
} */

.editor-content table tr {
	background-color: white;
	border-bottom: 1px dashed rgb(217,217,217) !important;
}

.editor-content table {
	border: 1px solid rgb(217, 217, 217);
}

.editor-content table td:nth-of-type(1n+2){
	border-left: 1px dashed rgb(217,217,217) !important;
	border-bottom: none !important;
}

.editor-content table td {
	border-bottom: none !important;
}
/* .editor-content table td{border-right: 1px solid #999999 !important;} */
.editor-content table td:first-child {vertical-align:top; text-align:left;}
.editor-content table td a:hover,.training-agenda table td a:hover,.parameter-table td a:hover{text-decoration: underline;}
.parameter-table td.space{padding:3px 0px !important;border:none !important;}

.parameter-table.contact td{vertical-align: middle;}
.parameter-table.contact td p{margin:0 !important;}
.parameter-table.contact th img, #uusKontaktTabel div:first-of-type img{
	padding:0 !important;
	height: 120px;
	width: auto;
	border: 2px solid white;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	margin-top: 28px;
    margin-bottom: 21px;
}
.parameter-table.contact td p a:hover{text-decoration: underline}

.kontaktiPilt {
	min-width: 86px;
	min-height: 120px;

}

#footer-banners{margin-left:30px;}
#footer-banners li{float:left;width:500px;}
#footer-banners li .banner-holder{height:60px;padding:10px 5px;}
#footer-banners li .banner-holder .banner-item{float:left;margin-right:10px;}

.captcha-img{
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border:1px solid #666;
}
.error_list{padding-bottom: 15px;}
.error_list li{color:red !important;font-size:13px;}


.megamenu{
	margin:auto 0;
	position:absolute;
	left:50%;
	transform: translateX(-25%);
	/*top:15px;
	*/z-index:300;
	display:none;
	background-color: white;
	padding: 35px;
	padding-top: 50px;
	-webkit-transform: translateX(-25%);
	-moz-transform: translateX(-25%);
	-ms-transform: translateX(-25%);
	-o-transform: translateX(-25%);
}

#mobilemenu .megamenu {
	display: block;
	position: unset;
	left: unset;
	transform: none;
	-webkit-transform: none;
	-moz-transform: none;
	-ms-transform: none;
	-o-transform: none;
	top: unset;
	padding: 20px 0px;
	padding-bottom: 0px;
	/* margin-left: 20px; */
}

#mobilemenu .megamenu .level2 {
	display: none;
}


.megamenu li.level2, .megamenu .level3, .megamenu .level4 {
	display: none;
}

.megamenu li {
	color: rgb(38,38,38);
	line-height: 17px;
	font-weight: 500;
	border-bottom: rgb(217, 217, 217) solid 1px;
	text-align: left;
	white-space: nowrap;
}

.has_children {
	position: relative;
	cursor: pointer;

}

.middle.teenused a, #mobilemenu a {
	position: relative;
	padding-right: 15px;
}

#mobilemenu .megamenu a {
	padding-left: 15px;
}


#left-content .has_children > a::after{
	font-family: "FontAwesome";
    content: '\f0dd';
    display: block;
    position: absolute;
	top: 2px;
	right: 0;
	font-size: inherit;
	transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
}

#headermenu2 .has_children > a::after, #left-content .has_children.open > a::after{
    font-family: "FontAwesome";
    content: '\f0dd';
    display: block;
    position: absolute;
    top: -50%;
    right: 0;
    font-size: inherit;
    transform: translateY(50%);
    -webkit-transform: translateY(50%);
    -moz-transform: translateY(50%);
    -ms-transform: translateY(50%);
    -o-transform: translateY(50%);
}

#headermenu2 .megamenu a {
	color: rgb(38,38,38);
	text-decoration: none;
	line-height: 50px;
	font-weight: 500;
	padding-left: 20px;
	position: relative;
}

#headermenu2 .megamenu a::before, #left-content .level3 a::before, #mobilemenu .level1 a::before {
	font-family: "FontAwesome";
    content: '\f054';
    display: inline-block;
    position: absolute;
    font-size: 10px;
	top:-3px;
	left: 0;
	line-height: 18px;
}

.middle.teenused {
	letter-spacing: 0.1px;
}

li.level3:last-of-type {
	margin-bottom: 21px;
}

#left-content .level3 a  {
	padding-left: 15px;
	display: block;
}

#left-content .level4 {
	padding-left: 5px;
}

#headermenu2 li.has_children:hover > div.megamenu {
	display: block;
}

body > #teenused {
	padding-bottom: 180px;
}

body > #koolitused {
	background-color: rgb(240,241,242);
	padding-top: 100px;
	padding-bottom: 80px;
}

#koolitused h5{
	/* margin-top: 41px; */
	margin-bottom: 40px;
}

#koolituseKarusell {
	max-width: 1100px;
	height: calc( 1100px / 16 * 9);
	margin: 0 auto;
}

.carousel-inner {
	overflow: hidden;
	border-radius: 3px;
	position: unset;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
}

.carousel {
	position: unset;
}

#koolituseKarusell .carousel-item {
	max-width: 1100px;
	height: calc( 1100px / 16 * 9);
	overflow: hidden;
}
#tootedKarusell .carousel-item {
	height: 650px;
	overflow: hidden;
}

.googleRecaptcha {
	margin-top: 0rem;
    margin-bottom: 0rem;
    color: rgb(154 153 153);
    font-size: 80%;
    padding-left: 0rem;
}

.grecaptcha-badge { visibility: hidden; }

.rm_captcha_fieldrow {
	visibility: hidden;
	display: none !important;
}



.koolitusItem {
	position: relative;
	max-width: 700px;
	width: 100%;
	max-height: 400px;
	margin-bottom: 60px;
	overflow: hidden;
}

.kasulikkuItem {
	position: relative;
	max-width: 700px;
	width: 100%;
	height: 200px;
	margin-bottom: 60px;
	overflow: hidden;
}

#tootePilt img {
	max-height: 650px;
}

#uudised {
	padding-top: 120px;
	padding-bottom: 80px;
	background-color: rgb(240,241,242);
}

#uudised h5:not(.card-title), #uudisedPage h5:not(.card-title) {
	margin-bottom: 60px;
}

a.uudised{
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	max-width: 710px;
	width: 100%;
}

a.otsi{
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}

/* #uudised a.uudised:hover h5.card-title, #uudisedPage a.uudised:hover h5.card-title {
	color: rgb(0, 137, 255);
} */

#uudised a.uudised > .card, #uudisedPage a.uudised > .card, #tehtudTood .card, #uudisedPage a > .card {
	box-shadow: 0rem 0rem 0rem rgba(0,0,0,.075) !important;
	transition: box-shadow 0.3s ease-in-out;
	-webkit-transition: box-shadow 0.3s ease-in-out;
	-moz-transition: box-shadow 0.3s ease-in-out;
	-ms-transition: box-shadow 0.3s ease-in-out;
	-o-transition: box-shadow 0.3s ease-in-out;
}

#uudised a.uudised:hover .card, #uudisedPage a.uudised:hover .card, #tehtudTood .card:hover, #uudisedPage a:hover > .card {
	box-shadow: .25rem .25rem .25rem rgba(0,0,0,.075) !important;
}


#uudised .card-image .card-img, #uudisedPage .card-image .card-img {
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
}

#uudised .card-body > .card-text:first-of-type, #uudisedPage .card-body > .card-text:first-of-type {
	font-size: 12px;
	line-height: 20px;
	margin-bottom: 30px;
	letter-spacing: -0.32;
}

#uudised .card-body > .card-title, #uudisedPage .card-body > .card-title {
	font-size: 18px;
	line-height: 20px;
	font-weight: bold;
	color: rgb(120,120,120);
}

#uudised .card-body > .card-text:last-of-type, #uudisedPage .card-body > .card-text:last-of-type {
	font-size: 16px;
	line-height: 24px;
	font-weight: 300;
}

#uudised .card {
	padding: 20px;
	padding-left: 0px;
	max-width: 680px;
	max-height: 300px;
	/* width: 100%; */
}

.logo {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 20%;
	margin: 10px;
}

.uudisteKP {
	font-size: 12px;
	color: rgb(166,166,166)
}



#uudised .card-deck:first-of-type {
	margin-top: 0
}


.headermenu img {
	height: 15px;
	width: auto;
}

#meidUsaldavad #frontSlogan {
	font-weight: 400;
	margin-top: 180px;
	margin-bottom: 120px;
}

#uudisedPage #middle-content a {
	color: rgb(112,112,112);
	font-weight: normal;
}

.card-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 225px;
	height: 260px;
	overflow: hidden;
}

#uudisedPage .card {
	max-height: 300px;
	padding: 20px;
}

/* #uudisedPage .card-body {
	padding-left: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
} */

#uudisedPage .card-image {
	/* width: 225px;
	height: 260px; */
	/* position: relative; */
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.alignCenter{
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
}

.carousel-control-prev {
	/* left: unset;
	right: 100%; */
	left: 0;
	right: unset;
	justify-content: flex-start;
}

.carousel-control-next {
	/* right: unset;
	left: 100%; */
	right: 0;
	left: unset;
	justify-content: flex-end;
}

.carousel-control-prev-icon {
	/* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23111' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e"); */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23111' width='24' height='36.209' viewBox='0 0 24 36.209'%3E%3Cpath id='Path_165' data-name='Path 165' d='M1444.52,877.757a1.82,1.82,0,0,1-1.136-3.241l18.582-14.865-18.582-14.86a1.822,1.822,0,0,1,2.276-2.846l20.356,16.285a1.822,1.822,0,0,1,0,2.846l-20.356,16.285A1.829,1.829,0,0,1,1444.52,877.757Z' transform='translate(1466.701 877.757) rotate(180)' /%3E%3C/svg%3E");
}

.carousel-control-next-icon {
	/* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23111' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e"); */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23111' width='24' height='36.209' viewBox='0 0 24 36.209'%3E%3Cpath id='Path_208' data-name='Path 208' d='M1444.52,877.757a1.82,1.82,0,0,1-1.136-3.241l18.582-14.865-18.582-14.86a1.822,1.822,0,0,1,2.276-2.846l20.356,16.285a1.822,1.822,0,0,1,0,2.846l-20.356,16.285A1.829,1.829,0,0,1,1444.52,877.757Z' transform='translate(-1442.701 -841.548)' /%3E%3C/svg%3E%0A");
}

#koolitusPiltWrapper .overlay {
	/* mix-blend-mode: multiply;
	background-color: rgb(35,98,57);
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	opacity: .3; */
	mix-blend-mode: multiply;
	background-color: rgb(140,160,179);
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	opacity: 1;
}

#koolitusPiltWrapper {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#kasulikPiltWrap .overlay {
	mix-blend-mode: multiply;
	background-color: rgb(35,98,57);
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	opacity: .5;
}

#kasulikPiltWrap img {
	min-width: 100%;
	min-height: 100%;
	width: 100%;
	position: absolute;
	bottom: 50%;
	transform: translateY(50%);
	-webkit-transform: translateY(50%);
	-moz-transform: translateY(50%);
	-ms-transform: translateY(50%);
	-o-transform: translateY(50%);
}

#kasulikPiltWrap {
	position:relative;
	height: 100%;
}

.kasulikkuItem #pealkiri {
	position: absolute;
	top: 0;
	color: white;
	padding: 1em;
}

.kasulikkuItem #pealkiri h1 {
	color: white;
	font-weight: bold;
}

.kasulikkuItem #pealkiri p {
	line-height: 18px;
}

#koolitusPiltWrapper img {
	position: relative;
	/* left: 50%;
	top:50%; */
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center;

	/* transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%); */
}

#carousel-pealkiri {
	position: absolute;
	bottom: 50%;
	transform: translatey(50%);
	max-width: 916px;
	font-size: 60px;
	font-weight: 500;
	line-height: 65px;
	color: white;
	text-shadow: 0px 3px 6px rgba(0,0,0,.25);
	margin-left: 60px;
}

.koolitusItem #carousel-pealkiri {
	font-size: 36px;
	line-height: 50px;
	margin-right: 60px;
}

.koolitusModal #carousel-pealkiri {
	font-size: 60px;
	line-height: 65px;
}

.koolituseModal {
	position: relative;
}

#koolitusAjakava p {
	margin: 0;
	font-size: 18px;
	line-height: 30px;
}

.kell p {
	font-weight: bold;
}

#koolitusAjakava .paev {
	margin-top: 18px;
	margin-bottom: 40px;
}

#koolitusAjakava .ymbris {
	margin-top: 28px;
}

#koolitusAjakava .ymbris:first-of-type {
	margin-top: 0px;
}

#koolitusPage .vaataKoiki a {
	color: white;
}

#koolituseContent {
	margin-top: 97px;
}

#koolituseContent img {
	max-width: 100%;
}

#koolitusAjakava {
	margin-top: 60px;
}

.modal-xl {
	width: calc(100vw * 0.7395);
	max-width: 1420px;
	padding: 0;
	margin-top: 110px;
	
}

.modal-body {
	padding: 77px 100px 100px 112px;
}

.modal-header {
	border-bottom: none;
}

.koolituseModal #koolitusPiltWrapper {
	margin-bottom: 20px;
	height: 546px;
	overflow: hidden;
}

.koolitusKutsub {
	font-size: 18px;
	line-height: 24px;
	margin-bottom: 18px;
}
.koolituseSisu, .uudisedSisu, .otsinguSisu {
	margin-top: 122px;
	margin: 0 auto;
	width: 100%;
	max-width: 665px;
	/* background-color: rgb(240,241,242); */
}

#carousel-info{
	display: flex;
}

#carousel-info > div:nth-of-type(2){
	min-width: fit-content;
}

.pac-container {
	z-index: 1000000 !important;
}

.rmagic .rmrow .rmfield label {
	font-size: 14px;
	color: rgb(112,112,112);
	line-height: 20px;
	font-weight: normal !important;
}


.rmagic .rmrow .rminput input{
	border: 1px solid rgb(217,217,217);
    background-color: white;
    border-radius: 3px;
    box-shadow: none;
    width: 350px !important;
	padding: 0 20px;
	font-size: 16px !important;
	border-style: solid !important;
}

#middle-content h1.rm_form_field_type_heading {
	padding-bottom: 0;
	margin-top: 60px;
	font-size: 26px;
    font-weight: bold;
}

#meieTeekond img {
	width: 165px;
	margin-top: 60px;
}

#meieTeekond.pildiga {
	background-image: url(../img/teejooned.svg);
	background-size: 130px;
    background-repeat: repeat-y;
    background-position-x: center;
}

#meieTeekond.pildiga p:nth-of-type(even) {
	background-color: rgb(240,241,242);
}

#meieTeekond > p:first-of-type img {
	margin-top: 30px;
}

.rmagic .buttonarea input[type='submit'] {
	margin: 0px;
	background-color: rgb(0,137,255);
	color: white;
	border: none;
	margin-right: 0px !important;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
}

.rmagic .buttonarea {
	max-width: 350px;
	margin-top: 0px !important;
	text-align: right !important;
	float: none !important;
}

.singleKoolitus .koolituseSisu{
	margin: 50px 0;
	margin-bottom: 200px;
}

.uudisedSingle .uudisedSisu, .singleTehtudTood .uudisedSisu {
	margin: 0;
	margin-bottom: 200px;
}

.singleKoolitus #koolitusPiltWrapper {
	max-height: 400px;
}

.singleKoolitus #carousel-pealkiri {
	font-size: 45px;
}

.otsinguSisu{
	margin-top: 0px;
	width: 100%;
    max-width: 655px;
    margin: 0 auto;
}

.otsingu-tulemused .kirjeldus {
	font-weight: 16px;
	color: rgb(112,112,112);
	line-height: 24px;
	margin-bottom: 38px;
}

.otsinguSlug {
	font-size: 12px;
	line-height: 20px;
	letter-spacing: .1px;
	color: rgb(166,166,166);
	text-transform: uppercase;
}

.otsingu-tulemused a:hover {
	color: inherit;
	text-decoration: none;
}

#search .otsingu-tulemused a:hover h2 {
	color: rgb(0,137,255);
}

#search .modal-content {
	min-height: 80vh;
}

#datafetch {
	margin-top: 90px;
}

.hide {
	display: none;
}

input#keyword {
	width: 100%;
	height: 60px;
	border-radius: 9px;
	-webkit-border-radius: 9px;
	-moz-border-radius: 9px;
	-ms-border-radius: 9px;
	-o-border-radius: 9px;
	border: 1px solid rgb(217,217,217);
	padding-left: 20px;
	font-size: 20px;
	color: rgb(77,77,77);
}

input#keyword::placeholder {
	color: rgb(217, 217, 217);
	font-weight: normal;
}

div.search-wrap {
	position: relative;
}

.uudisedSisu {
	margin-top: 0;
}

button.otsing {
	position: absolute;
	right: 15px;
	border: none;
	background: transparent;
	top: 50%;
	transform: translateY(-50%);
	color: rgb(77,77,77);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
}




#carousel-info.karusell {
	position: absolute;
	bottom: 51px;
	left: 60px;
	font-size: 24px;
	line-height: 29px;
	color: white;
	font-weight: bold;
}

.koolitusItem #carousel-info {
	font-size: 18px;
	line-height: 24px;
	display: flex;
}

.koolitusItem #carousel-info div {
	padding: 0 31.5px;
	border-right: 2px solid rgb(217,217,217);
}

#carousel-info > div {
	display: inline-block;
}

#carousel-info div {
	padding: 0 40px;
	border-right: 2px solid rgb(217,217,217);
}

#carousel-info div:first-of-type {
	padding-left: 0px;
}

#carousel-info div:last-of-type {
	border: none;
}


#carousel-info img {
	display: block;
	margin-bottom: 12.6px;
}

.koolitusItem #carousel-info img {
	display: block;
	height: 18px;
	margin: 0 auto;
	margin-bottom: 9.7px;

}

.koolitusItem #carousel-info div:last-of-type img {
	margin: unset;
	margin-bottom: 9.7px;
}

#nav-icon4 {display: none;}





/* .editor-content a{color:#1A60A7 !important;} */
/* .editor-content a:hover{text-decoration: underline !important} */

#sorter{margin:10px 0}

.pager{text-align:right;padding:3px 0;padding-right:15px;}

.r10{
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
.r5{
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.button{display:inline-block;padding:5px 7px !important;margin:10px;font-weight:bold;font-size:12px;}
.button.pager{margin:5px 1px;}
.button:hover{text-decoration:none;}
.button.blue{color:white !important}
.button.blue:hover{color:#ededed;border-color:#285575!important;}
.button.dark:hover{border-color:#5b5b5b!important;}
.button.white-gray{color:#333!important;}
.button.white-gray:hover{color:#444!important;border-color:#aaa!important;}




#frontpage-cycle{width:1001px;height:323px;margin: 0 auto;background:url(img/frontpage_cycle_bg.png) no-repeat 0 0;}
#frontpage-cycle .slide{width:985px;height:305px;margin-left:12px;padding-top:2px}
#frontpage-cycle .slide img{display:block;}



small, sub, sup { font-size: .83em }
sub             { vertical-align: sub }
sup             { vertical-align: super }


/*! minu sätungid */

#trainingListContainer.mobiilne {display: none !important;}

.page_item {background: none !important;}
#menu2.mobiilne { 
	display: block; 
	overflow: auto; 
	/*margin-top: 20px; */
	position: fixed; 
	/* min-height: 100vh;  */
	width: calc(100% - 65px); 
	z-index: 90000; 
	background-color: white; 
	left: 0px;
	top: 0px;
	bottom: 0px;
	padding: 20px;
	transition: left 1s ; 
	-webkit-transition: left 1s ;
	-moz-transition: left 1s ;
	-ms-transition: left 1s ;
	-o-transition: left 1s ; }
#menu2.mobiilne.kinni { left: calc(-100% + 65px);}
.mobmenu {margin-top: 20px;}

.menutaust { padding: 0 10px 10px 10px; background-color: rgba(60,68,75,0.10);}
.rc-anchor-normal {position: relative;}
.g-recaptcha {min-width: 304px;}


.mobiilneinfo {display: none;}
#uudised_mobiilne {display: none; }

.mobiilneinfo.persoon {display: none;}

#bwg_container1_0 #bwg_container2_0 .image_browser_images_conteiner_0 {background-color: transparent !important;}
.image_browser_images_conteiner_0 img { width: 100%}

#news-content img {padding-top: 0px}
table.labor td:last-of-type > p {line-height: normal}
table.labor td:nth-child(1) {text-align: center; margin: 0 auto; padding: 10px; width: 40px;}
table.labor td:nth-child(1) > p {padding: 0 5px; line-height: normal}
table.labor td:nth-child(2) {text-align: left;}
table.labor tr:not(.columnSpan):not(.rohutatud) td:last-of-type {text-align: center; padding: 10px; width: 60px;}

table.labor td > p {padding-bottom: 0; padding-top: 0; line-height: normal;}
table.labor tr:not(.columnSpan) td:nth-last-child(2) {text-align: center; width: 150px;}

/* table.labor tr:first-of-type > td:nth-of-type(2) {width: 250px;} */
table td {line-height: 18px !important;}

.teenusteNimekiri a {font-weight: normal !important; text-transform: none}
.aktiivne {zoom:1.3; line-height: 14px; margin: 10px 0}
/* .pyhad {color: red !important; font-size: 14px !important; font-weight: bold;}
.lyhendatud {font-size: 14px !important; font-weight: bold; color: red !important} */
.loeedasi {height: 40px; clear: both}
.struktuur {width: 100%;}
.pilt-tekstis {float: right; margin-left: 2em; width: 50% !important; height: auto !important; padding: 0 !important; margin-top: 10px !important; margin-bottom: 10px !important; }

.blog-image img {float: left; padding: 0 !important; padding-right: 1em !important; height: auto; width: auto; max-height: 250px; max-width: 250px; display: table-cell; vertical-align: middle; filter: grayscale(100%);transition: filter 1.5s;}
.blogi-loend:hover img {filter: grayscale(0);}
.blogi-loend p {color: #666; transition: all .5s;}
.blogi-loend:hover p {color:#1A60A7 !important}
.blogi-loend {min-height: 200px; height: auto;display: table; width: 100%}
#middle-content.blog {width: 85%; margin: 0 auto; max-width: none; float: none; padding: 2em; }
.blogi-pilt {width: 70%; text-align: center;padding: 10px 0 !important;}
.blog h1 {text-align: center; border: 2px solid #1a60a7; clear: both; padding: 10px 0 !important;border-left: 0; border-right: 0;}
/*.kommentaarid {display: none;margin-top: 50px; cursor: pointer !important;transition: height 1s;}*/
.kommentaarid {height: 0; overflow: hidden; margin-top: 30px; cursor: pointer !important; transition: height 1s;}
.avakommentaar span {cursor: pointer; background-color: #1a60a7; font-weight: bold; border: 1px solid #1a60a7; padding: 0.5em;  color: white; font-size: 12px;}
.avakommentaar span:hover {cursor: pointer !important; background-color: rgba(60,68,75,1.00); font-weight: bold; border: 1px solid #1a60a7; padding: 0.5em;  color: white; font-size: 12px;}
.avakommentaar {margin-bottom: 20px; clear: both }
.tagasi span {cursor: pointer; background-color: #1a60a7; font-weight: bold; border: 1px solid #1a60a7; padding: 0.5em; color: white; font-size: 12px;}
.tagasi span:hover {cursor: pointer !important; background-color: rgba(60,68,75,1.00); font-weight: bold; border: 1px solid #1a60a7; padding: 0.5em; margin-bottom: 20px; color: white; font-size: 12px;}
.autor, .date {font-size: 12px; font-style: italic; text-align: right; width: 100%;}
.autor_date {text-align: right;}
#middle-content .editor-content.blog img {width: 50%; height: auto; float: right; clear: both; padding-left: 1em;}
#middle-content .editor-content.blog p:first-of-type img {padding-top: 0 !important}

#middle-content.kontaktid .editor-content {padding-bottom: 0;}
.info {font-size: 12px; color: rgb(165, 164, 164); font-style: italic;}
/*.editor-content.blog p:nth-of-type(even) > a > img {float: left; clear: both; padding-left: 0 !important;padding-right: 1em !important}
.editor-content.blog p:nth-of-type(even) > img {float: left; clear: both; padding-left: 0 !important;padding-right: 1em !important}*/
img.aligncenter:nth-child(even) {float: left;}
.blogi-loend a {font-weight: normal !important}
.postitustelingid {width: 100%; text-align: center;margin-top: 20px;}
.vasak {float: left !important; padding-right: 20px !important; clear: left !important; padding-left: 0 !important}
.parem {float: right !important; padding-left: 20px !important; clear: right !important; padding-right: 0 !important}
.keskel {text-align: center; width: 100%}
.kommnr {color: rgba(60,68,75,1.00); font-size: 12px;}
.pildiosa {float: left; width: 30%}
.tekstiosa {margin-left: 30%; width: 70%;}
.tekstiosa h2 {padding:0 !important;}
textarea#comment {width: 99%;}
.editor-content.blog {padding-bottom: 50px !important}
#blogiLoend {margin-top: 1em;}
blockquote {background-color: #e4e4e488; clear: both; padding: 1em; margin: 0 auto; width: 90%; margin-left: 50px; border-radius: 0 30px}
blockquote p:first-of-type {color: #1a60a7 !important; margin-bottom: -5px !important}
blockquote::before {background-image:url(../img/quote.svg); width: 50px; height: 50px; content: ""; display: block; position: absolute; left: 0;}
.no_float {float: none !important; text-align:center; display: block; margin-left: auto; margin-right: auto; width: 50%; height: auto;}
.no_float75 {float: none !important; text-align:center; display: block; margin-left: auto; margin-right: auto; width: 75% !important; height: auto;}
.muudatused {margin: 0 auto;  background-color: rgba(228, 228, 228, 0.533); width: 750px; border-radius: 15px; padding: 0px 10px 5px;}
.muudatused li {line-height: 25px}
.muudatused:nth-of-type(2n+0) {background-color: rgb(194, 194, 194)}
.muudatused img {max-width: 700px;}
.kuupaev {font-weight: bold; padding: 1em; padding-bottom: 0}
.muudatused li > ul {background-color: rgba(26, 97, 167, 0.5); width: 75%; border-radius: 0px 10px 10px 0px; margin-left: 25px}
#admin { position: fixed; bottom: 5px;	right: 5px;	width: 25px; height: 25px;}
#admin a {display: block; height: 100%; width: 100%;}


.myWrapper {
	display: flex;

}






/* Icon 1 */
#nav-icon4 {zoom: 1}


/* Icon 1 */

#nav-icon1, #nav-icon2, #nav-icon3, #nav-icon4 {
  width: 30px;
  height: 10px;
  position: fixed;
	top: 20px;
	right: 20px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  z-index: 999999;
  /* background-color: rgba(255,255,255,0.40); */
}



#nav-icon1 span, #nav-icon3 span, #nav-icon4 span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: rgb(77,77,77);
  border-radius: 4px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  -webkit-border-radius: 4pxx;
  -moz-border-radius: 4pxx;
  -ms-border-radius: 4pxx;
  -o-border-radius: 4pxx;
}

/* Icon 4 */

/* #nav-icon4 {
} */

#nav-icon4 span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(2) {
  top: 8px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(3) {
  top: 16px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -2px;
  left: 8px;
}

#nav-icon4.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon4.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 19px;
  left: 8px;
}


.veel_kontakte a, .veel_kontakte a:visited {display: block; color: #1a60a7 !important; }
.veel_kontakte a:hover {font-weight: bold !important;}

/* #backToTop {
  display: inline-block;
  background-color: #1A60A7;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#backToTop::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#backToTop:hover {
  cursor: pointer;
  background-color: #333;
}
#backToTop:active {
  background-color: #555;
}
#backToTop.show {
  opacity: 1;
  visibility: visible;
} */

.normalTable > tbody > tr >  td {
	font-size: 13px;
	padding-left: 0px !important;
	margin-left: 0px !important;

}
table.normalTable.nosides {
	border-left: 0px !important;
	border-right: 0px !important;
	border-color: #666;
}

#middle-content .blogi-loend a {
	color: #666;
}

#middle-content .blogi-loend h2 a, #middle-content .blogi-loend a.moretag {
	color: #1A60A7;
}

.ymbris {height: 100%; display: table;}
.pilt {width: 100%; text-align: center;}

a[href$=".pdf"].materjalid {text-decoration: none; color: black; padding-right: 22px; background-image: url(img/icons/file-pdf.png); background-position: right; background-repeat: no-repeat; background-size: 16px;}
a.materjalid {text-decoration: none; color: black; padding-right: 22px;}
a[href$=".pdf"].materjalid:hover {color:rgba(0,71,169,1);}
.koolitusenimi {display: table-cell; vertical-align: middle;font-weight: bold; }
#koolituskavad .koolitusenimi p, #koolituskavad .kell p {font-size:  13px; margin-bottom: 5px;}
.ettekandja {font-style: italic; font-weight: normal;}
.kell {min-width: 175px; font-weight: bold;}

@media  (max-device-width: 750px){
	#middle-content.kontaktid span.pyhad, #middle-content.kontaktid span.lyhendatud {
		font-size: 220% !important;
	}

	.kell { min-width: 75px;}
	.kell > p > span {
		display: none;
	}
}


.tagasiAlgusesse {
	font-size: 16px;
}

#middle-content.single-koolitus  td {font-size: 13px; line-height: 19px;}

#carousel-logo {
	position: absolute;
    top: 75px;
    margin-left: 60px;
}

#carousel-logo-mobile {
	display: none;
}

.carousel-indicators {
	bottom: -35px;
}

/* #tootedKarusell .carousel-indicators {
	bottom: 15px;
} */

.carousel-indicators li {
	background-color: rgb(0, 71, 169);
}

.mobiilne > #logo > img {
	height: 20px;
}

#mobilemenu li {
	color: rgb(38,38,38);
    line-height: 17px;
    font-weight: 500;
    text-align: left;
	white-space: nowrap;
	padding: 15px 10px;
	border-bottom: none;
	padding-bottom: 0px;
}

#mobilemenu > li {
	border-bottom: rgb(217, 217, 217) solid 1px;
	padding-bottom: 15px;
}

#mobilemenu > li > a {
	color: rgb(38,38,38);
}

#mobiilne-menu {
	display: none;
}

#mobilemenu .has_children > a::after {
    font-family: "FontAwesome";
    content: '\f0dd';
    display: block;
    position: absolute;
    top: 1px;
    right: 0;
    font-size: inherit;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
}

#mobilemenu li.active > a {
	color: rgb(0, 137, 255);
}

#teenused > #teenused > div > * {
	width: 220px;
}

#teenused a:nth-of-type(4n+2), #meidUsaldavad a:nth-of-type(4n+2){
	margin-left: calc((100% - 4 * 220px) / 3);
	margin-right: calc((100% - 4 * 220px) / 6);
}

#teenused a:nth-of-type(4n+3), #meidUsaldavad a:nth-of-type(4n+3){
	margin-left: calc((100% - 4 * 220px) / 6);
	margin-right: calc((100% - 4 * 220px) / 3);
}

/* #teenused-row {
	justify-content: space-between;
} */

#right-content #kontakt img {
	height: 120px;
}

#kontaktiEmail {
	display: none;
	color: rgb(0, 137, 255);
}

#right-content h1#teenusePealkiri{
	display: none;
}

#uusKontaktTabel {
	display: flex;
	flex: 1;
	border-bottom: 1px solid rgb(166,166,166);
}

#uusKontaktTabel #kontaktiInfo {
	padding-left: 30px;
	flex-direction: row;
	width: calc(100% - 85px);
	align-items: center;
	min-height: 169px;
}

#kontaktiInfo div:last-of-type {
	margin-left: auto;
}

#uusKontaktTabel div:nth-of-type(3) {
	margin-left: auto;
}

#kontaktiInfo > div {
	justify-content: center;
	align-items: center;
}

#kontaktPage {
	padding-bottom: 180px;
	background-color: unset;
}

#carousel-info > .mobileDivider {
	display: none;
}

#innovation {
	width: 130px;
    position: absolute;
    right: -15px;
    z-index: 100;
    bottom: -50px;
}


.p10 {
	padding: 10px !important
}

div#moodunudKoolitused {
	height: 0px;
	overflow: hidden;
}

.peidetud {
	overflow: hidden;
	height: 0px;
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-ms-transition: all .5s ease-in-out;
	-o-transition: all .5s ease-in-out;
}

#documents h1 {
	display: flex;
	align-items: center;
}

#documents h1 > i {
	font-size: 20px;
	margin-left: 5px;
}


/*! MEEDIA ASJAD HAKKAVAD SIIT */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	#uudised .card {
		width: 680px;
	}

	#koolitusPiltWrapper .overlay{
		/* background-color: transparent !important; */
		display: none;
	}

	.carousel-control-prev {
		left: -15%;
	}

	.teenuseKaart img {
		height: 100px;
	}
	
}

@media  (max-width: 1425px){
	#header {
		max-width: 90vw;
		
	}
	#peamenuu {
		
		max-width: 50vw;
	}

	#header a, #header #otsingKeel {
		max-width: calc(20vw - 120px);
	}
}


/* @media  (max-width: 1520px){
	#uudised .card {
		
	}
	
} */

@media (max-width: 1367px){
	#right-content h1#teenusePealkiri {
		display: block;
		padding: 0px;
		text-transform: none;
		font-size: 28px;
		padding-bottom: 30px;
		color: rgb(77,77,77)
	}

	#teenusedPage #middle-content h1#teenused, #koolitusPage h1#teenused {
		display: none;
	}

	#koolitusPage #left-content, #uudisedPage #left-content {
		display: none;
	}

	.koolitusItem {
		margin-right: auto;
		margin-left: auto;
	}

	.right-box h6 {
		display: none;
	}

	.myWrapper {
		flex-direction: column;
		width: 100%;
	}

	#right-content #kontakt{
		width: unset !important;
		padding: 0px;
		display: flex;
		align-items: center;
		margin-bottom: 1em;
	}

	#right-content #kontakt:last-of-type {
		margin-bottom: unset;
	}

	#kontaktiEmail {
		display: block;
	}

	a#saadaEmail {
		display: none;
	}

	.kontaktInfo {
		margin-left: 24px;
	}

	#right-content {
		/* display: none; */
		order: 1;
		margin-left: 45px;
		width: unset;
		margin-bottom: 38px;
	}



	#middle-content {
		order: 2;
		margin-left: 45px;
		margin-right: 0;
		/* min-width: 320px; */
		width: calc(100% - 45px);
		max-width: unset;
	}

	#uudisedPage #middle-content {
		margin: 0 auto;
		width: 75%;
	}

	.w1420 {
		flex-wrap: nowrap;
	}
}

@media (min-width: 1100px){
	p#name, p#telefon {
		margin-bottom: 30px;
	}
}

@media (max-width: 1100px){
	#tootedKarusell .carousel-item {
		height: unset;
	}

	#carousel-pealkiri{
		font-size: 38px !important;
	}

	#carousel-info{
		font-size: 14px !important;
	}
}

@media (max-width: 840px){


	#carousel-pealkiri{
		font-size: 24px !important;
		line-height: 28px !important;
	}

	#carousel-info{
		font-size: 14px !important;
	}

	#koolituseKarusell .carousel-item, #koolituseKarusell, .koolituseModal #koolitusPiltWrapper {
		height: 400px;
	}

}

@media  (max-width: 1100px){

	#teenusedPage, #koolitusPage, #tehtudTood, #ettevottest, #uudisedPage, #kontaktPage, #tehtudToodPage, #kasulikkuPage {
		padding-top: 100px;
	}

	#left-content {
		display: none;
	}

	#kontaktPage #left-content {
		display: block;
	}

	#kontaktPage #left-content p {
		display: inline-block;
		width: 32%;
	}

	#kontaktPage > .w1420 {
		flex-direction: column;
	}

	#kontaktPage #left-content, #kontaktPage .leftmenu {
		max-width: unset;
	}

	#kontaktPage .leftmenu {
		display: flex;
	}

	#middle-content {
		margin-left: 0px;
		/* min-width: 320px; */
		width: calc(100% - 0px)
		/* max-width: unset;
		width: 70vw; */
	}

	#right-content {
		margin-left: 0px;
	}


	.modal {
		padding: 0px !important;
	}

	.modal-xl {
		width: 100%;
		margin: 0;
		min-height: 100vh;
	}

	.modal-body {
		padding: 20px;
	}

	.modal-content {
		min-height: 100vh;
	}

	.modal-header > button.close {
		position: fixed;
		right: 30px;
		z-index: 9999;
	}

	.uudiseKp {
		margin-top: unset;
	}



	#teenused a:nth-of-type(4n+3), #meidUsaldavad a:nth-of-type(4n+3){
		margin-left: unset;
		margin-right: unset;
	}


	#teenused a:nth-of-type(3n+2), #meidUsaldavad a:nth-of-type(3n+2){
		margin-left: calc((100% - 3 * 220px) / 2);
		margin-right: calc((100% - 3 * 220px) / 4);
	}
	
	#teenused a:nth-of-type(3n+3), #meidUsaldavad a:nth-of-type(3n+3){
		margin-left: calc((100% - 3 * 220px) / 4);
		margin-right: unset;
	}

	/* #teenused a:nth-of-type(even){
		width: 220px;
		margin-left: calc((100% - 2 * 220px - 2 * 15%) / 2);
		margin-right: 15%;
	}
	#teenused a:nth-of-type(odd){
		width: 220px;
		margin-right: calc((100% - 2 * 220px - 2 * 15%) / 2);
		margin-left: 15%; 
	} */
	/* [id^=row-]{
		justify-content: center;
	} */
/* 	#teenused a:nth-of-type(2), #teenused a:nth-of-type(3) {
		margin-left: auto;
    	margin-right: auto;
	} */

	#peamenuu, #otsingKeel {
		display: none;
	}

	.mobiilne #otsingKeel {
		display: flex;
	}

	#header {
		height: 60px;
	}

	#hero {
		margin-top: 60px;
		overflow: hidden;
	}

	#hero > img {
		min-width: 600px;
		position: relative;
		left: 50%;
		/*top: 50%;
		*/transform: translate(-50%, 0%);
		-webkit-transform: translate(-50%, 0%);
		-moz-transform: translate(-50%, 0%);
		-ms-transform: translate(-50%, 0%);
		-o-transform: translate(-50%, 0%);
	}

	#nav-icon4 {display: block;}

	#koolitusPiltWrapper img {
		width: unset;
		height: 100%;
		/* min-width: 660px; */
	}

	.carousel-control-next-icon, .carousel-control-prev-icon {
		display: none;
	}

	a#logo {
		height: 20px;
	}

	#meidUsaldavad #frontSlogan {
		margin-top: 80px;
	}

	#middle-content .right-box a.dokumendid {
		font-size: 90%;
		margin-bottom: 30px;
	}

	span.icon {
		height: 60px;
		width: 60px;
		min-width: 60px;
	}

	#mobiilne-menu {
		display: block;
	}

	#mobiilne-menu li {
		display: none;
		list-style-type: none;
	}

	#mobiilne-menu a {
		font-size: 14px;
		line-height: 25px;
	}

	#mobiilne-menu li.open, #mobiilne-menu li.open li {
		display: list-item;
	}

	#mobiilne-menu li.level2 {
		border-bottom: none;
	}

	#mobiilne-menu li.level2 > a {
		font-size: 16px;
	}

	#mobiilne-menu li.active.level3, #mobiilne-menu li.active.level4 {
		margin-left: 0;
	}

	#mobiilne-menu li.active.level2 > a, #mobiilne-menu li.active.level3 > a, #mobiilne-menu li.active.level4 > a {
		color: rgb(0, 137, 255);
	}

	#mobiilne-menu li.active.open > a{
		display: none;
	}

	#mobiilne-menu li .level4, #mobiilne-menu li.active.level4 {
		margin-left: 15px;
	}

	#mobiilne-menu li .level4 a{
		font-size: 12px;
	}


	#mobiilne-menu .level3 a::before {
		font-family: "FontAwesome";
		content: '\f054';
		display: inline-block;
		position: absolute;
		font-size: 14px;
		top: 0;
		left: 0;
		line-height:14px;
	}

	#mobiilne-menu .level3 a {
		padding-left: 15px;
	}

	.w1420 {
		padding: 0px 20px;
	}

	#tooted {
		padding: 50px 20px;
	}

	#tooted > #tooted {
		padding: 0;
	}

	/* #teenusedPage{
		padding-left: 15px;
		padding-right: 15px;
	} */

	.teenused-container {
		padding-left: 0;
		padding-right: 0;
	}

	#tehtudTood #kaartideUmbris, #tehtudTood #filtrid {
		justify-content: center;
	}

	#tehtudTood .card, #filtrid .col-4 {
		max-width: 350px;
	}
}

@media  (max-width: 775px){
	#teenused a {
		width: 200px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	#uudisedPage .card {
		max-height: unset;
	}
}

@media (max-width: 767px){
	#avatudAjad, #avatudAjad div:last-of-type {
		padding: 0px;
	}

	#uudisedPage #middle-content {
		width: 100%;
	}

	#kontaktPage #left-content p {
		width: 45%;
	}

	.socialMedia {
		margin-top: 1rem;
		position: absolute;
		right: unset;
		font-size: 30px;
		top: 100%
	}
	
}

@media (max-width: 715px){
	#heroslogan {
		font-size: 45px;
	}

	#hero {
		max-height: 270px;
	}
}

@media (max-width: 700px){
	#carousel-info {
		display: flex;
	}

	.kasulikkuItem {
		height: 250px;
	}

	#carousel-info div, .koolitusItem #carousel-info div {
		padding: 0px 20.5px;
		border: none;
	}

	#carousel-info div:first-of-type, .koolitusItem #carousel-info div:first-of-type {
		padding-left: 0;
	}


	#carousel-logo {
		display: none;
	}

	#carousel-logo-mobile {
		display: block;
		z-index: 10;
		position: absolute;
		top: 50px;
	}

	#carousel-pealkiri, #carousel-logo-mobile {
		margin-left: 30px;
		margin-right: 30px;
	}


	
	#carousel-info.karusell {
		bottom: 15px;
		left: 30px
	}

	.card-image {
		height: 312px;
	}

	#uudised .card {
		max-height: 355px;
	}

	#carousel-info > .mobileDivider {
		display: inline-block;
		width: 2px;
		height: 24px;
		padding: 0 !important;
		background-color: rgb(217, 217, 217);
		transform: translateY(calc(101px / 2 - 12px))	;
		-webkit-transform: translateY(calc(101px / 2 - 12px))	;
		-moz-transform: translateY(calc(101px / 2 - 12px))	;
		-ms-transform: translateY(calc(101px / 2 - 12px))	;
		-o-transform: translateY(calc(101px / 2 - 12px))	;
	}

	.koolitusItem #carousel-info > .mobileDivider {
		transform: translateY(calc(77.64px / 2 - 12px))	;
		-webkit-transform: translateY(calc(77.64px / 2 - 12px))	;
		-moz-transform: translateY(calc(77.64px / 2 - 12px))	;
		-ms-transform: translateY(calc(77.64px / 2 - 12px))	;
		-o-transform: translateY(calc(77.64px / 2 - 12px))	;
	}

	#footerImage{
		background-position-x: -150px;
	}
}

@media screen and (max-width: 700px){
	table {
		display: table !important;
		overflow: auto;
	}
}

@media (max-width: 579px){
	#meidUsaldavad .row:first-of-type{
		justify-content: center;
	}
	.logo {
		flex: unset;
		width: 40%;
	}

	#meidUsaldavad a img, #meidUsaldavad a{
		width: 100%;
		min-width: unset;
	}

}

@media  (max-width: 576px){
	#uudised .card, #uudisedPage .card {
		max-height: unset;
		padding-left: 20px;
	}

}


@media  (min-width: 1201px){
	.card-deck {
		flex-flow: unset;
	}

	

	.card-deck a.uudised:nth-of-type(2){
		margin-left: auto;
	}

	a.uudised {
		width: 90%;
	}

	#uudised .card-deck {
		margin-top: 46px;
	}
}
@media  (max-width: 1200px){
	.card-deck {
		justify-content: center;
	}

	#tootedKarusell .carousel-item {
		height: unset;
	}

}

@media (max-width: 575px){ /* oli 575 */
	#middle-content td {
		padding: 10px 5px;
	}

	.uudisteKP.mobile {
		display: block;
		margin-right: auto;
		margin-bottom: 10px;
	}
	.uudisteKP{
		display: none;
	}
	.card-image {
		flex-wrap: wrap;
	}

	body > #teenused {
		padding-bottom: 75px;
	}

	#frontSlogan, #meidUsaldavad #frontSlogan {
		font-size: 20px;
		line-height: 27px;
		margin-top: 30px;
	}

	#meidUsaldavad #frontSlogan {
		margin-top: 75px;
		margin-bottom: 40px;
	}





	#footer {
		padding-top: 120px;
	}

	#heroslogan {
		font-size: 27px;
		top: 34%;
	}

	body > #koolitused {
		padding-top: 45px;
		padding-bottom: 60px;
	}

	.pealkiri {
		font-size: 24px;
		line-height: 32px;
	}

	#tutvustavTekst {
		margin-top: 9px;
		margin-bottom: 26px;
		font-size: 14px;
		line-height: 18px;
	}

	#tooted, #uudised {
		padding-top: 45px;
		padding-bottom: 75px;
	}

	.carousel-indicators {
		bottom: -60px;
	}

	#uudised .card-body > .card-title {
		font-size: 16px;
		line-height: 18px;
	}

	#uudised .card-body > .card-text:last-of-type {
		font-size: 14px;
		line-height: 18px;
	}

	.teenuseKaart h3 {
		font-size: 18px;
		line-height: 24px;
	}

	.teenuseKaart .teenuseKirjeldus {
		font-size: 14px;
		line-height: 18px;
	}

	.w220 {
		max-width: 150%;
	}

	#uudised .card-image .card-img  {
		max-height: 300px;
		width: 100%;
		height: auto;
	}



	#uudisedPage .card-image .card-img {
		max-height: 300px;
		width: 100%;
		height: auto;
	}

	.card-body {
		padding: 0px;
		padding-top: 20px;
	}

	#uudisedPage .card-image, #uudised .card-image {
		height: unset;
	}

	.footerInfo {
		display: flex;
		flex-direction: column;
	}

	.footerInfo span {
		margin-top: 0.35em;
	}


	#filtrid {
		flex-direction: column;
		width: 100%;
	}

	#filtrid .col-4 {
		max-width: unset;
	}

	#tehtudTood #kaartideUmbris, #tehtudTood #filtrid {
		gap: 20px;
	}

	#uusKontaktTabel #kontaktiInfo {
		flex-direction: column;
		padding-left: 30px;
		align-items: flex-start;
	}

	#kontaktiInfo div:last-of-type {
		margin-top: 10px;
		margin-left: unset;
	}

	.teavituseTaust {
		padding: 20px;
		height: auto;
	}

	.teavituseTaust > .ikoon {
		margin-bottom: 16px;
	}

	#kontaktPage #left-content p {
		width: 100%;
		/* text-align: center; */
	}

	#tootePilt {
		height: 360px;
		min-height: 360px;
		max-height: 360px;
		width: 100%;
		overflow: hidden;
		margin-bottom: 1em;
	}

	#tootePilt img {
		object-fit: cover;
		min-width: 100%;
		min-height: 100%;
	}

	.alignCenter {
		top: 0%;
		transform: translateY(0%);
		-webkit-transform: translateY(0%);
		-moz-transform: translateY(0%);
		-ms-transform: translateY(0%);
		-o-transform: translateY(0%);
}

}

@media (max-width: 500px){
	#teenused a {
		width: 100% !important;
	}

	table.labor tr:not(.columnSpan) td:nth-last-child(2){
		width: 100px;
	}
}

@media (max-width: 430px){
	.koolitusItem #carousel-pealkiri {
		bottom: 90%;
		transform: translateY(90%);
		-webkit-transform: translateY(90%);
		-moz-transform: translateY(90%);
		-ms-transform: translateY(90%);
		-o-transform: translateY(90%);
		font-size: 18px !important;
	}
}

@media (max-width: 410px){
	#kasulikPiltWrap img {
		min-width: unset;
		min-height: unset;
		height: 100%;
		width: auto;
		object-fit: cover;
	}
}