/* general */

.simple-margin {
	margin-bottom: 0.7em;
	margin-top: 0.7em;
}

.nowrap {
	white-space: nowrap;
}

.info-description {
	
}

.info-data {
	font-weight: 600;
}

/* carousel */

#main_carousel {
	display: block;
	padding-top: 0px;
	
	/*
	background-color: #fff;
	background-image: url(../images/off_brown.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;	*/
}

.container .carousel {
	margin-bottom: 0px;
}

.container-carousel {
	margin-top: 2.5em;
}

.carousel-text-crop {
	overflow: hidden;
	height: 29em;
	position: relative;
}

.carousel-text-crop h1 {
	font-size: 2.5em;
	font-weight: 600;
}

.carousel-head {
	position:absolute;
	right:0;
	bottom:0;
	left:0;
	padding:0px;
	margin:0px;
	top: 10em;
}

.carousel-head .lead {
	font-weight: 400;
}

/* page title */

.page-title-official {
	background-color: #fff;
	/*background-image: url(../images/off_brown.jpg);*/
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover; 
}

.page-title {
	padding-top: 0.8em;
	padding-bottom: 1.0em;
	position: absolute;
	top: 0.5em;
	/*background-color: #000;
	background-image: url(../images/standard_blue.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;	*/
	/*border-bottom: 3px solid #0c1;*/
}

.page-title-small {
	padding-top: 0.5em;
	padding-bottom: 0.8em;
	cursor: pointer;
}

.page-title img {
	height: 80px;
}

.page-title-small img {
	height: 50px;
}

.lang-img {
	border: 0px solid #aaa;
	width: 20px;
	height: 20px;
	border-radius: 20px;
}

.list-img {
	margin-top: 10px;
}

.off-lead {
	/*font-family: 'Noticia Text', serif;*/
	font-weight: 400;
}

.off-gray, .off-gray a {
	/*color: #5f6161;*/
}

.off-blue, .off-blue a {
	color: #438390;
}

.carousel-indicators {
	top: 15px;
	right: 15px;
	bottom: auto;
	left: auto;
}

/* section title */

.section-title {
	font-size: 2.0em;
	font-weight: 300;
	margin-top: 1.0em;
	margin-bottom: 0.7em;
}

.section-title a, h1 a, h4 a {
	color: #000;
	text-decoration: none;	
}

.section-title a:hover, h1 a:hover, h4 a:hover {
	color: #000;
	text-decoration: none;	
}

/* content box */

.box {
	display:block;
	padding:0px;
	line-height:20px;
	/*border:1px solid #ddd;
	-webkit-box-shadow:0 1px 5px rgba(0,0,0,0.1);
	-moz-box-shadow:0 1px 5px rgba(0,0,0,0.1);
	box-shadow:0 1px 5px rgba(0,0,0,0.1);*/
	background-color: #fff;
	overflow: hidden;
	margin-top: 1.0em;
	margin-bottom: 1.0em;
}

.box-link {
	/*border-top: 3px solid #0c1;*/ /* #0c1 */
	
	-webkit-transition: all 0.5s ease;
  	-moz-transition: all 0.5s ease;
  	-o-transition: all 0.5s ease;
  	-ms-transition: all 0.5s ease;
  	transition: all 0.5s ease;
}

.box-link:hover {
	/*border:1px solid #bbb;*/
	/*border-top: 3px solid #08c;*/
	-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.3);
	-moz-box-shadow:0 5px 10px rgba(0,0,0,0.3);
	box-shadow:0 5px 10px rgba(0,0,0,0.3);
	cursor: pointer;
	
	/*transform:scale(1.05);*/
    /*-ms-transform:scale(1.05);*/ /* IE 9 */
    -moz-transform:translateY(-7px); /* Firefox */
    -webkit-transform:translateY(-7px); /* Safari and Chrome */
    -o-transform:translateY(-7px); /* Opera */
}

.box-tableXX {
	border:1px solid #ddd;
	/*-webkit-box-shadow:0 1px 5px rgba(0,0,0,0.1);
	-moz-box-shadow:0 1px 5px rgba(0,0,0,0.1);
	box-shadow:0 1px 5px rgba(0,0,0,0.1);*/
}

.box-overflow {
	overflow: visible;
}

.box-content {
	margin: 12px;
}
		
.no-margin {
	margin: 0;
}

.no-margin-top {
	margin-top: 0;
}

.no-margin-bottom {
	margin-bottom: 0;
}

.margin-top-title {
	margin-top: 0.5em;
}

.article-box-crop {
	overflow: hidden;
	height: 9.5em;
	position: relative;
}

.media-box-crop {
	overflow: hidden;
	height: 4em;
	position: relative;
}

.fadeout {
    position: absolute; 
    bottom: 0em;
    width:100%;
    height: 4.0em;
    background: -webkit-linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    ); 
    background-image: -moz-linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    background-image: -o-linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    background-image: linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    background-image: -ms-linear-gradient(
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 100%
    );
}

.media-box-crop .fadeout {
	height: 1.0em;
}

.thumb-heading { /* võibolla peaks elle ära jätma? */
	margin-top: 0;
	line-height: 1.2em;
}

/* main content */

.content {
	font-size: 1.2em;	
	white-space: normal;
	line-height: 1.4em;
	/*font-family: 'Noticia Text', serif;*/
	margin-top: 1.5em;
}

.content li {
	line-height: 1.4em;
	margin-bottom: 0.35em;
}

.content p {
	line-height: 1.4em;
}

.article-main-photo {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	width: 100%;
}

#gmap img { 
  max-width: none;
}

#gmap label { 
  width: auto; display:inline; 
} 

/* thumb box */

.video-duration {
	position:absolute;
	bottom:0.2em;
	right:0.2em;
	padding-left: 0.3em;
	padding-right: 0.3em;
	background-color: rgba(0,0,0,0.5);
	color: #fff;	
}

/* footer */

.footer {
  margin-top: 2.0em;
  color: #fff;
  border-top: solid 2px #fff;
  background-color: #222;
  /*background: url(../images/bg_dark.png);*/
}
.footer a:hover {
  color: #fff;
  text-decoration: none;
}
.footer-title {
	color: #aaa;
	font-size: 2.0em;
	font-weight: 300;
	margin-top: 1.0em;
	margin-bottom: 0.7em;
}
.footer-verse {
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.1);
  border-bottom: solid 1px #000;
  border-top: solid 1px #000;
  margin-top: 2.0em;
}
.footer-info {
  padding-bottom: 1.0em;
}
.footer-copyright {
  border-top: solid 1px #000;
  padding: 1.5em;
  background-color: rgba(0, 0, 0, 0.5);
  font-weight: 300;
  color: #888;
}

/* facebook like box */

#fb-root {
    display: none;
}
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}

/* thumb  */

.thumb-image, .thumb-image-sq {
	position: relative;
	width: 100%;
}


.image-left {
	max-width: 300px;
	margin-right: 0.7em;
}


/* youtube embed */
[data-oembed-url] {
	margin-bottom: 0.7em;
}




/* responsive stuff */


@media (max-width: 1199px) { 

	.carousel-text-crop {
		max-height: 23em;
	}
	
	.page-title img {
		height: 70px;
	}
	
	.page-title-small img {
		height: 50px;
	}

	.carousel-head {
		top: 8em;
	}

	.carousel-head h1 {
		font-size: 2em;
		line-height: 1em;
	}

	.carousel-head .lead {
		font-size: 1.2em;
		line-height: 1.2em;
	}

	.container-carousel {
		margin-top: 2em;
	}
	
}
 

@media (max-width: 979px) { 

	.carousel-text-crop {
		max-height: 17em;
	}
	
	.page-title img {
		height: 50px;
	}
	
	.page-title-small img {
		height: 40px;
	}

	.carousel-head {
		top: 6em;
	}

	.carousel-head h1 {
		font-size: 1.7em;
		line-height: 1em;
	}

	.carousel-head .lead {
		font-size: 1.1em;
		line-height: 1.1em;
	}

	.container-carousel {
		margin-top: 2em;
	}
	
}

@media (max-width: 767px) {

	.carousel-text-crop {
		max-height: 8em;
	}
	
	.box-content {
		margin-top: 7px; /* 7 */
		margin-bottom: 7px;
		margin-left: 0px;
		margin-right: 0px;
	}

	.box-linkXX .box-contentXX {
		margin: 5px;
	}

	.content {
		margin-top: 0em;
	}
	
	/* thumb  */
	
	.thumb-image, .thumb-image-sq {
		margin-right: 7px;
		float: left;	
	}
	
	.thumb-image {
		width: 150px;
		height: 90px;
	}
	
	.thumb-image-sq {
		width: 90px;
		height: 90px;
	}

	.article-box-crop {
		height: 4.0em;
	}

	.thumb-heading {
		margin-bottom: 6px;
		font-weight: 400;
	}
	
	.no-margin-top {
		margin-top: 0px;
	}
	
	.no-margin-bottom {
		margin-bottom: 0px;
	}
	
	.margin-top-title {
		margin-top: 0.5em;
	}
	
	.fadeout {
    	height: 1.4em;
	}
	
	.page-title img {
		height: 50px;
	}

	.page-title {
		top: 0.0em;
	}
	
	.page-title-small img {
		height: 40px;
	}
  
	.carousel-inner img {
		margin-top: 5.5em;
		margin-bottom: 7em;
	} 

	.carousel-head {
		top: auto;
		bottom: -1em;
	}

	.carousel-head h1 {
		font-size: 2.4em;
		line-height: 1em;
	}

	.container-carousel {
		margin-top: 0em;
	}


	.image-left {
		max-width: 200px;
	}
		
	
}


@media only screen and (max-width: 479px) {

	/* thumb  */

	.thumb-image {
		width: 90px;
		height: 90px;
	}
	
	.thumb-image-sq {
		width: 90px;
		height: 90px;
	}

	.margin-top-phone {
		
		/*margin-left: 7px;*/
	}
	
	.page-title-small img {
		height: 40px;
	}
  
	.carousel-inner img {
		margin-top: 5.5em;
		margin-bottom: 7em;
	} 

	.carousel-head {
		top: auto;
		bottom: -2em;
	}

	.carousel-head h1 {
		font-size: 1.7em;
		line-height: 1em;
	}
	
}


/* temporary and development */

.round-badge-white {
  display: block;
  padding: 20px;
  text-align: center;
  position: absolute;
  top: 50px;
  right: 50px;
  background-color: rgba(255,255,255,180);
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  border-radius: 60px;
  color: #000;
  font-weight: 300;
  font-size: 30px;
  line-height: 30px;
}
.ma-highlight {
	font-family: 'Merriweather';
	padding: 20px;
	text-align: center;
	display: flex;
	border-radius: 60px;
	color: #000;
	font-weight: 500;
	font-size: 1.7em;
	line-height: 1.2em;
}
