body {
	/*		font-family: Helvetica, Arial;*/
	color: #131947;
}

p {
	color: #888;
}

a {
  color: rgb(19, 25, 71);
}

.target {
  position: absolute;
  left: 0px;
  top: -70px;
}

.circle2 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #131A47;
	color: white;
	min-width: 1em;
	border-radius: 50%;
	vertical-align: middle;
}
.circle {
	width: 460px;
	height: 460px;
	border-radius: 50%;
	font-size: 50px;
	color: #fff;
	line-height: 460px;
	text-align: center;
	background-color: #131A47;
	text-transform: uppercase;
}
.home-content {
	color: white;
	padding-top: 2.1em;
	padding-bottom: 1em;
	padding-right: 1em;
	line-height: 1.1em;
	font-size: 5em;
	font-weight: bold;
	text-align: left;
	letter-spacing: -0.03em;
	z-index: 2;
	position: relative;
}

.section-heading {
	max-width: 1000px;
	margin: auto;
	color: #ddd;
	padding-top: 1em;
	padding-bottom: 0.7em;
	padding-left: 20px;
	line-height: 1.1em;
	font-size: 5em;
	font-weight: bold;
	text-align: left;
	letter-spacing: -0.03em;
	z-index: 2;
	position: relative;
}

.big-heading {
	margin: auto;
	color: #ddd;
	padding-top: 0.5em;
	padding-bottom: 0.7em;
	line-height: 1.1em;
	font-size: 5em;
	font-weight: bold;
	letter-spacing: -0.03em;
	z-index: 2;
}

.small-heading {
	margin: auto;
	color: #ddd;
	padding-top: 0.5em;
	padding-bottom: 0.7em;
	line-height: 1.1em;
	font-size: 3em;
	font-weight: bold;
	letter-spacing: -0.03em;
	z-index: 2;
}
.circle-content br {
	line-height: 1.2em;
}
.triangle:before {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	line-height: 0px;
/*  _border-color: #000000 #000000 #FFF #000000;
_filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');*/
position: absolute;
z-index: -1;
/*  left: 100%;*/
margin-left: -150px;
}
.triangle {
	font-size: 14px;
	padding: 6px;
	color: #131947; 
	text-align: center;
	position: relative;
	z-index: 20;
}

#arendaja-bubble-et, #arendaja-bubble-en, #arendaja-bubble-ru {
	width: 192px;
	height: 192px;
	position: absolute;
	background-size: cover;
	top: 32%;
	right: -90px;
	z-index: 0;
	transform: translatey(0px);
}

#arendaja-bubble-et {
	background-image: url(../images/arendaja-bubble-et.png);
}

#arendaja-bubble-en {
	background-image: url(../images/arendaja-bubble-en.png);
}

#arendaja-bubble-ru {
	background-image: url(../images/arendaja-bubble-ru.png);
}

video {
	object-fit: cover;
	width: 100%;
  height: 100%;
}

/* Header bar */
.mainor-logo {
	position: absolute;
	left: 0;
	top: 0;
	width: 120px;
	padding: 27px 25px 15px;
	transition: all 0.30s ease;
	-webkit-transition: all 0.30s ease;
	-moz-transition: all 0.30s ease;
	-ms-transition: all 0.30s ease;
}
.mainor-logo img{
	display: block;
	width: 100%;
}

.sticky-wrapper {
	z-index: 100;
	width: 100%;
	position: fixed;
	top: 0;
}

/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #131947;
}

.sticky .header-sticky{
  background-color: #131947;
  height: 90px;
  transition: 0.5s background-color;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 60px;
}

.header-section {
	position: relative;
	z-index: 100;
	width: 100%;
	/* background-color: rgba(82,59,49,1); */
	text-align: center;
	/*height: 102px;*/
	padding: 15px 10px 15px;
	box-sizing: border-box;
	transition: background 0.30s ease;
	-webkit-transition: background 0.30s ease;
	-moz-transition: background 0.30s ease;
	-ms-transition: background 0.30s ease;
}
.header-wrap {
	/* max-width: 1400px; */
	margin: 0 auto;
	padding: 0 15px;
	/* position: relative; */
	text-align: right;
}
.main-menu ul {
	display: inline-block;
}
ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.main-menu ul li, ul.lang li {
	display: inline-block;
	margin: 0 10px;
}
.main-menu ul li a, ul.lang li a {
	font-weight: 400;
	font-size: 16px;
	line-height: normal;
	color: white;
	display: block;
	text-decoration: none;
}
ul.lang {
	float: right;
}
ul.mainmenu {
	float: right;
	clear: both;
	margin-top: 1em;
}
ul.lang li a{
	text-transform: uppercase;
	/*	font-weight: bold;*/
	font-size: 12px;
}
ul li a:hover{
	text-decoration: underline;
}

a[href^="tel:"] {
  color: initial;
  text-decoration: none;
}


/* Style for our header texts
* --------------------------------------- */
h1{
	font-size: 4em;
	/*		font-family: Helvetica, Arial;*/
	text-transform: uppercase;
	letter-spacing: -0.03em;
	margin: 0 auto;
	padding: 0;
	line-height: 1.2;
	font-weight: bold;
}
h3 {
	font-weight: lighter;
	letter-spacing: -0.03em
}
a.btn {
	display: inline-block;
	padding: 10px 20px;
	background-color: white;
	color: black;
	text-decoration: none;
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	/*		font-weight: bold;*/
}
a.btn-lite {
	display: inline-block;
	padding: 10px 20px;
	background-color: #F3F3F3;
	color: #131A47;
	text-decoration: none;
	font-size: 0.8em;
	/*text-transform: initial;*/
	letter-spacing: 0.02em;
	font-weight: normal;
}

a.btn-ulemiste {
	background-color: #00ADE9;
	color: white;
}

a.btn:hover {
	background-color: black;
	color: white;
}
a.btn-lite:hover {
	background-color: #131A47 !important;
	color: white;
	
}
.contact-pic {
	width: 50%;
}

.hr {
  background-color: #ddd;
  height: 2px;
  margin-bottom: 2em;
}

h3 span.title {
	text-transform: uppercase;
	font-weight: normal;
	font-size: 1em;
	letter-spacing: 0.04em;
	margin-bottom: 1em;
	display: inline-block;
}

.label-small {
	position:relative;
	display: inline-block;
	color: #222;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 0.8em;
	letter-spacing: 0.04em;
	padding: 0.2em 0 0.2em 0.6em;
	padding-right: 2.6em;
	margin-bottom: 1em;
	background-image: url(../images/white-angle.png);
	background-position: right;
}

.label-small-more {
	position:relative;
	display: inline-block;
	color: #222;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.7em;
	letter-spacing: 0.04em;
	padding: 0.2em 0 0.2em 0.6em;
	padding-right: 1.8em;
	background-image: url(../images/silver-angle.png);
	background-position: top right;
	margin-left: 0.3em;
}
 
a.label-small-more {
	text-decoration: none;
}

.label-big-blue {
	font-weight: bold;
	position:relative;
	display: inline-block;
	color: white;
	font-weight: normal;
	font-size: 1.1em;
	letter-spacing: 0.04em;
	padding: 0.4em 0 0.4em 0.8em;
	padding-right: 6em;
	margin-bottom: 1em;
	background-image: url(../images/blue-angle.png);
	background-position: right;
	background-repeat: no-repeat;
}

.label-big-silver {
	font-weight: bold;
	position:relative;
	display: inline-block;
	color: #00ADE9;
	font-weight: normal;
	font-size: 0.8em;
	letter-spacing: 0.04em;
	padding: 0.4em 0 0.4em 0.8em;
	padding-right: 7.5em;
	margin-bottom: 1em;
	background-image: url(../images/silver-angle.png);
	background-position: right;
	background-repeat: no-repeat;
}

.label-big-blue h4, .label-big-silver h4 {
	font-weight: bold;
	font-size: 3em;
	line-height: 1em;
	margin-top: 0;
	margin-bottom: 0;
}
/* Centered texts in each section
* --------------------------------------- */
.section {
  position: relative;
	text-align:center;
	/* margin: 3em 0; */
	padding-bottom: 2em;
}

/* Backgrounds will cover all the section
* --------------------------------------- */
.section{
	background-size: cover;
}
.slide{
	background-size: cover;
}

/* Defining each section background and styles
* --------------------------------------- */
.section-content{
top: 30%;
position: relative;
max-width: 1000px;
margin: 0 auto;
padding: 0 10px; 
}

#section1, #section2 {
	box-sizing: border-box;
	/*top: initial;*/
	color: white;
	position: relative;
	text-align: left;
	/* margin: 0 4em; */
	padding: 20px 20px;
	background-size: cover;
	font-size: 0.85em;
}

#section3-content {
	color: white;
}

#section1-slogan {
/*	background-image: url(../images/demo1-slogan.png);
	width: 200px;
	height: 250px;
	background-size: contain;
	background-repeat: no-repeat;
	right: 40px;
	top: 40px;
	position: absolute; */
}

#section2.section-content {
	color: #222;
}

#section1 h2, #section2 h2, #section3 h2 {
	font-size: 1.6em;
	/*		line-height: 1.6em;*/
	letter-spacing: 0;
}

#section1 h3, #section2 h3 {
	font-size: 1.2em;
	line-height: 1.3em;
	letter-spacing: 0;
}

#section3 h3 {
	font-size: 1em;
	line-height: initial;
	letter-spacing: 0;
}

#section3 .section-heading {
 color: #00ade9;
}

#section5-content a {
  text-decoration: none;
}

#section5-content a:hover {
  text-decoration: underline;
}

#section5-content a:before {
  content:"";
  background-image: url('../images/icon-pdf.png');
  background-size: 32px 40px;
  display: inline-block;
  width: 32px; 
  height: 40px;
  margin-right: 10px;
  top: 12px;
  position: relative;
}


#home{
	background-color: #131947;
	color: white;
}

#home.section{
	margin-top: 0;
	/* background-image: url(../images/home-bg.jpg); */
	background-position: center;
}

#sub.section{
	margin-top: 0;
	background-color: #131947;
	padding-bottom: 90px;
}

#home h1{
	position: relative;
}
#home h2{
	font-size: 1.7rem;
	margin-top: 0;
}

#home .icon {
	display: block;
	margin: auto;
	padding-bottom: 1em;
	max-width: 67px;
	max-height: 67px;
}

.home-argument {
	text-transform: uppercase;
	font-size: 0.8em;
	font-weight: bold;
	max-width: 130px;
}

.flexrow {
 display: flex;
}

.flex-25 {
  flex: 25%;
}

.drop-picture.flex-25 {
 height: 15vw; 
 background-size: cover;
}

#section1{
	position: relative;
	/* background-image: url(../images/demo2.jpg); */
	/* padding: 6% 0 0 0; */
	min-height: 500px;
	flex: 1;
}
#section2{
	background-image: url(../images/demo3.jpg);
	flex: 1;
	/* padding: 6% 0 0 0; */
}

#section3{
	background-color: #FAFAFA;
	/*		background-image: url(../images/demo4.jpg);
	padding: 6% 0 0 0;*/
}
#section3-content{
	bottom: 0;
	height: 60%;
	background-color: #00ADE9;
	position: absolute;
	padding: 20px 40px 0 40px;
}
#section3b {
	background-color: #FAFAFA;
	/* padding: 1em; */
}
#section3b-content{
	margin: 0 auto;
}

#section3b .section-heading{
    margin-bottom: -0.5em;
}

.news-container {
	text-align: left;
	padding-bottom: 2em;
}

#section4-content{
/*	top: 30%;
	transform: translateY(-30%);*/
	position: relative;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 10px;
	text-align: center;
}

#section4-content table td{
	padding: 20px;
}
#section4-content h1 {
	margin-bottom: 1em;
}
#section4-content h2 {
	margin-bottom: 0.1em;
	font-size: 1.5em;
	font-weight: 600;
}
#section4-content h3 {
	font-size: 0.9em;
	letter-spacing: 0;
	line-height: 1.4em;
	font-weight: normal;
	margin-top: 0;
	color: #888;
}

#section4-content h3 span {
	font-size: 0.7em;
	color: #888;
}
#section4-content table {
	margin: 0 auto;
}

#section5-content{
/*	top: 30%;
	transform: translateY(-30%);*/
	position: relative;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 10px;
	text-align: center;
}

#ulemistecity-slide-header {
	clip-path: polygon(
		0 0, /* left top */
		100% 0, /* right top */ 
		100% calc(100% - 8vw), /* right bottom */
		0 100% /* left bottom */
		);
}
#ulemistecity-slide-header {
	background-size: cover;
	/*		height: 30%;*/
	/*		background-image: url(../images/demo4.jpg);*/
	background-color: #01A9E0;
	padding: 3em;
	padding-bottom: 5em;
	box-sizing: border-box;
	color: white;
}
#ulemistecity-slide-header h1 {
	font-size: 2.2em;
	letter-spacing: -0.01em;
}

#ulemistecity-slide-header p {
	color: white;
}
#ulemistecity-slide-content {
	position: relative;
	background-size: cover;
	/*		height: 70%;*/
	padding: 3em;
	box-sizing: border-box;
}
#ulemistecity-slide-content-map {
	position: absolute;
	background-size: contain;
	width: 100%;
	right: 0;
	top: -5vw;
	height: 62%;
	height: 38vw;
	background-image: url(../images/ulemiste-map.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	z-index: -1;
}
#ulemistecity-slide-content-insp {
	position: relative;
	width: 100%;
	left: 0;
	bottom: 0;
	height: 15vw;
	background-image: url(../images/photos-ulemiste.jpg);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
.ulemiste-logo{
	/*		top:50%;
	transform: translateY(-50%);*/
	position: relative;
}
.ulemiste-argument{
	width: 100px;
	text-align: center;
	font-size: 0.85em;
	color: #01A9E0;
	float: left;
	margin-right: 2em;
	margin-top: 2em;
}
.fp-controlArrow.fp-prev {
	border-width: 14.25px 17px 19.25px 0;
}
.fp-controlArrow.fp-next {
	border-width: 19.25px 0 19.25px 17px;
} 
.fp-controlArrow {
	top: 15%;
}
	/*Adding background for the slides
	* --------------------------------------- */
	#uc-slide1{
		background-color: #FAFAFA;
		position: relative;
		/*background-image: url(../images/demo2.jpg);*/
		/*		padding: 6% 0 0 0;*/
	}
	#uc-slide2{
		background-color: #FAFAFA;
		/*background-image: url(../images/demo4.png);*/
		/*		padding: 6% 0 0 0;*/
		position: relative;
	}
	/* News section */
	.news-container .date, .popup_content .date {
		display: block;
		font-size: 0.6em;
		letter-spacing: 0.02em;
		color: lightgrey;
	}
	.news-container h3, .popup_content h3 {
		font-weight: 600;
		margin-top: 2em;
	}

	.news-container h2, .popup_content h2 {
		font-weight: 600;
		margin-top: 0;
	}
	.ulemiste-img1 {
		background-image: url('../images/ulemiste-img1.jpg');
		height: 30%;
	}
	.ulemiste-img {
		width: 100%;
	}
	.image-row {
		margin: 0;
	}
	.image-row .col-4 {
		margin: 0;
		display: inline-block;
	}
	#kogukond-wrap {
		margin-top: 6em;
		margin-bottom: 3em;
	}

	#keskkond-wrap{
		margin-top: 3em;
	}
	
	.popup-item {
	  display: none;
	}
	
	.featherlight-content .popup-item {
	  display: block;
	}
	/* Footer
	* --------------------------------------- */
	
	#footer {
	  padding: 2em;
	  background-color: #F9F9F9;
	  color: #B0B0B0;
	  font-size: 80%;
	}
	
	#footer a{
	  color: #B0B0B0;
	  text-decoration: none;
	}
	
	
	#footer a:hover{
	  text-decoration: underline;
	}
	
	.footer-logo {
	  width: 103px;
	}
	
	/* Bottom menu
	* --------------------------------------- */
	#infoMenu li a {
		color: #fff;
	}
	
	
	/* Edit mode 
	* ---------------- */
	#section1 .voog-bg-picker-btn, #section2 .voog-bg-picker-btn {
    top: 15px;
    right: 15px;
}


	@media only screen and (max-width: 1250px) {  
		html, body {
			
		}
		
		.home-content {
		  font-size: 4em;
		  margin: auto 2%;
		}

		#ulemistecity-slide-header {
			padding: 2em 4em;
		}
		#ulemistecity-slide-content {
			padding: 2em 4em;
		}
		#ulemistecity-slide-content-map {
			background-size: contain;
		}

		#arendaja-bubble {
			right: 70px;
		}

	}
	@media only screen and (max-width: 650px) {  
		ul.mainmenu {
			display: none;
		}
		
		html, body {
			font-size: 90%;
		}
		
    #arendaja-bubble {
      right: 10px;
  		width: 96px;
      height: 96px;
      top: 20%;
		}
		
  	.col-6 {
      width: 96%;
    }
    
    .flexrow {
      flex-wrap: wrap;
    }
    
    .section-heading {
      
      /* padding-left: 2%; */
    }
    
    #section1-slogan {
      bottom: -20px;
    }
    
    .label-big-blue {
      padding-right: 8em;
    }
  
  .flexrow.ulemiste-images .drop-picture.flex-25 {
    flex: 50%;
   height: 30vw; 
   background-size: cover;
  }


	}

	@media only screen and (min-width: 25em) and (max-width: 45em) { 
	#home .col-2 {
	    width: 40%;
	}
	}