/***************************************
NORMALIZE:
***************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, h1, h2, h3,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block;
}

html, body { 
	height: 100%;
}

ul { 
	list-style: none;
}

blockquote, q { 
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after { 
	content: ''; content: none;
}

table { 
	border-collapse: collapse; border-spacing: 0;
}

a {
	color: black;
	text-decoration: none;
}

strong {
	font-weight: bold;
}

a:hover,
.bxslider li a,
a.bold-link:hover,
.lang-wrap a:hover,
.lang-wrap a.active {
	
}

.lang-wrap a:hover,
.lang-wrap a.active {
	text-decoration: underline;
}

a.bold-link,
span.bold-link,
div.bold-link,
th,
td.bold-link {
	text-transform: uppercase;
	font-family: 'Roboto Slab', serif;
	font-weight: bold;
}

.bxslider li a:hover {
	text-decoration: underline;
}

* {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
	-webkit-transition: all 0.4s ease;
	   -moz-transition: all 0.4s ease;
	     -o-transition: all 0.4s ease;
	        transition: all 0.4s ease;
}

.uppercase {
	text-transform: uppercase;
}

/* -----------------------------------------------------
	-------------------------------------------------- */
	
	
/* globālie */

html {
	font-size: 16px;
	height: 100%;
}

/*
#faf3e7; bēšs
#F9D348; dzeltens
#FF4800; orandžs
#8CAFFF; gaiši zils VAI #5f97fb
#03102F; zils
*/

body {
	/*font-family: 'Lora', serif;*/
	font-family: 'Roboto', serif;
	font-size: 16px;
	font-weight: 300;
	background-color: white;
	background-image: url('../img/site/16.png'), url('../img/site/16.png'), url('../img/site/16.png');
	background-repeat: no-repeat;
	background-position: top right;
	background-size: 82% auto;
	background-attachment: fixed;
}

a,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
}

/* menu links */



/* header */

.header {
	display: block;
	width: 100%;
	margin: 25px auto;
	position: relative;
}

.langs {
	position: absolute;
	width: 100%;
	top: -15px;
}

.langs-links {
	width: 85%;
	max-width: 1100px;
	margin: 0 auto;
	text-align: right;
}

.langs-links a {
	border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 32px;
    display: inline-block;
    text-align: center;
    background: #faf3e7;
/* 	background: #8CAFFF; */
    font-size: 14px;
}

.langs-links.lv a.lv,
.langs-links.en a.en,
.langs-links.ru a.ru,
.langs-links a:hover {
	/*background: #FF4800;*/
	background: #03102F;
	color: white;
}

.logo {
	height: 100px;
	margin-bottom: 30px;
	display: block;
	width: 85%;
	max-width: 1100px;
	margin: 0 auto;
}

.logo-img,
.logo-text {
	display: inline-block;
}

.logo-img {
	height: 100px;
	vertical-align: middle;
}

.logo-text {
	font-size: 18px;
	line-height: 20px;
    font-weight: bold;
    text-transform: uppercase;
    vertical-align: -20px;
    margin-left: 15px;
    color: #03102F;
/*
    vertical-align: -55px;
    margin-left: -15px;
*/
    letter-spacing: 1px;
}

.logo-text-1 {
/* 	word-spacing: 18px; */
}

.logo-text-small {
	font-size: 12px;
}

.menu {
	display: block;
	width: 100%;
	height: 40px;
	line-height: 40px;
	text-align: right;
	background: #8CAFFF;/*#F9D348;*/
	background: #5f97fb;
}

.menu-items {
	width: 85%;
	max-width: 1100px;
	margin: 0 auto;
}

.items {
	display: block;
}

.items li {
	display: inline-block;
	vertical-align: top;
	height: 40px;
	line-height: 40px;
	padding: 0 15px;
	margin-left: -4px;
	text-transform: uppercase;
}

.items li:hover,
#sakums li.sakums,
#avoti li.avoti,
#par-veru li.par-veru,
#apmaciba li.apmaciba,
#aktualitates li.aktualitates,
#biblioteka li.biblioteka,
#galerija li.galerija,
#saites li.saites,
#kontakti li.kontakti  {
	background: #f9f3e8;
}

.items li a {
	font-size: 14px;
	font-weight: bold;
	display: block;
	color: black;
/*
	word-spacing: 4px;
    letter-spacing: 1px;
*/
}


/* slides */

.slides {
	width: 100%;
	margin: 0 0 0px 0;
	padding: 30px 0;
}

.slides.no-padding {
	padding-bottom: 0;
}

.slide {
	display: flex;
	width: 85%;
	max-width: 1100px;
	margin: 0 auto;
	align-items: center;
	
}

.slide-left,
.slide-right {
	display: inline-block;
	width: 50%;
	height: 100%;
	vertical-align: top;
}

.slide-left.proportion {
	width: calc(100% - 350px);
}

.slide-right.proportion {
	width: 350px;
}

.slide-img {
	display: block;
	margin: 15px auto;
	width: 250px;
	height: 250px;
	border-radius: 50%;
	background-size: cover;
	background-repeat: no-repeat;
	box-shadow: 0 0 15px -2px gray;
}

.slide-img.carl {
	background-image: url('../img/carl.jpg');
	background-position: -90px 0;
}

.slide-img.dora {
	background-image: url('../img/dora.jpg');
	background-position: right;
}

.slide-img.vera {
	background-image: url('../img/vera.jpg');
	background-position: -45px center;
}

.slide-img.vera-2 {
/*
	background-image: url('../img/vera-2.jpg');
    background-position: -100px -10px;
    width: 270px;
    height: 270px;
    background-size: 430px auto;
*/
	background-image: url('../img/vera-sakums.jpg');
	background-position: -165px center;
	width: 270px;
	height: 270px;
	background-size: auto 320px;
}

.slide-img.vera-4 {
	background-image: url('../img/vera-4.jpg');
	background-position: 0 -35px;
	width: 270px;
	height: 270px;
	background-size: 460px auto;
}

.slide-img.vera-5 {
	background-image: url('../img/vera-5.jpg');
	background-position: -45px center;
	width: 270px;
	height: 270px;
}

.slide-img.vera-apmaciba {
	background-image: url('../img/vera-apmaciba.jpg');
	background-position: center -65px;
/*
	width: 270px;
	height: 270px;
*/
}

.slide-img.vera-sakums {
	background-image: url('../img/vera-sakums.jpg');
	background-position: -165px center;
	width: 270px;
	height: 270px;
	background-size: auto 320px;
}

.slide-text {
	text-align: left;
    padding: 0 20px;
    font-family: 'Lora', serif;
    line-height: 26px;
    font-size: 20px;
    text-indent: 35px;
}

.slide-text-caption {
	font-family: 'Lora', serif;
    text-align: right;
    font-style: italic;
    margin-top: 10px;
    font-size: 18px;
}

/* themes */

.themes {
/* 	background-color: #fae596; */
/*     background-image: url('../img/logo-besh-rot.png'); */
    padding: 30px 0;
    background-size: auto 50%;
    background-repeat: no-repeat;
    background-position: right bottom;
    background: #f9f3e8;
	box-shadow: 0px 15px 40px -10px #9c9c9c;
}

.themes.clear-look {
	box-shadow: none;
	background: transparent;
}

.themes-title {
    font-size: 28px;
    /*border-bottom: 5px solid #8CAFFF;*/
/*     border-bottom: 5px solid #f9f3e8; */
    text-transform: uppercase;
    word-spacing: 7px;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.themes.clear-look .themes-title {
	border-bottom: none;
}

.themes-title-wrap {
	width: 85%;
	max-width: 1100px;
	margin: 0 auto;
}

.theme-title {
	font-size: 16px;
    line-height: 18px;
    font-weight: bold;
    text-transform: uppercase;
    word-spacing: 5px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.theme-row {
	width: 85%;
	max-width: 1100px;
	margin: 0 auto 40px auto;
	display: flex;
	justify-content: space-between;
	
}

.theme {
	width: 30%;
	padding: 35px;
/* 	border-radius: 30px; */
	background: white;
	box-shadow: 0px 15px 40px -10px #9c9c9c;
}

.theme.full-entry {
	width: 100%;
}

.theme.full-width {
	width: 100%;
}

.theme.half-entry {
	width: 48%;
}

.theme.newest {
	background: #F9D348; /*#8CAFFF;*/
}

.theme.beige {
	background: #f9f3e8;
}

.theme-date {
	font-size: 14px;
	margin-bottom: 10px;
}

.theme-text {
	margin-bottom: 10px;
}

.theme-text img {
	width: 100%;
	margin-top: 10px;
}

.theme-link a {
	font-weight: bold;
	color: #03102F;
}

.theme-link a:hover {
	color: #F9D348; /*#8CAFFF*/;
}

.theme.newest .theme-link a:hover {
	color: #f9f3e8;
}

ul.text-list li {
	position: relative;
	margin-bottom: 15px;
    padding: 3px 0 3px 10px;
    border-left: 3px solid #F9D348;
}

ul.text-list.no-border li {
	border: none;
	padding-left: 0
}

ul.text-list li:last-child {
	margin-bottom: 0;
}

ol {
	padding-left: 35px;
	margin-top: 10px;
}

.tighter {
	width: 80%;
	margin: 0 auto;
}

/* motos */

.motos-wrap {
	padding: 50px 0;
}

.motos {
	width: 85%;
	max-width: 1100px;
	margin: 0 auto;
}

.moto.moto-top .moto-text {
	margin-bottom: 20px;
}

.moto.moto-bottom .moto-text {
	padding: 20px 30px 20px 25px;
}

.moto-text {
	position: relative;
	width: calc(100% - 300px);
	padding: 20px 25px;
	background: #faf3e7;
	font-family: 'Lora', serif;
    font-size: 16px;
    margin: 0 auto;
    text-indent: 15px;
    box-shadow: 0px 15px 40px -10px #9c9c9c;
}

.moto-caption {
	font-size: 14px;
	font-style: italic;
	margin-top: 10px;
	text-indent: 0;
}

.caption-right {
	text-align: right;
}

.caption-left {
	text-align: left;
}

.moto-img {
	position: absolute;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: 0 0 15px -2px gray;
	z-index: 10;
}

.moto-img.carl {
	top: 15px;
	left: -125px;
	background-image: url('../img/carl.jpg');
	background-position: -45px 0;
}

.moto-img.dora {
	top: -15px;
	right: -125px;
	background-image: url('../img/dora.jpg');
	background-position: right;
}
	
	
.clear-both {
	clear: both;
}

/* galerija */

.gallery {
	width: 85%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 0 50px 0;
}

.thumb-wrap {
	margin-bottom: 75px;
}

.thumb-wrap:last-child {
	margin-bottom: 0;
}

.thumb-link {
	display: inline-block;
	margin: 0 5px 15px 5px;
	width: calc((100% - 40px)/3);
	height: auto;
	vertical-align: top;
}

.thumb {
	width: 100%;
}

.thumb-img {
	width: 100%;
	height: 200px;
	background-size: cover;
	background-position: top center;
}

.thumb-caption {
	padding: 10px;
	margin-top: -4px;
	font-size: 14px;
	background: #f9f3e8;
}

.bb {
	border: 2px solid black;
	display: inline-block;
	padding: 0 2px;
	margin: auto 2px;
}

.act-img img {
	max-width: 100%;
}

@media only screen and (min-width: 900px) {
	.thumb-img {
		height: 200px;
	}
}

@media only screen and (min-width: 1090px) {
	.thumb-img {
		height: 230px;
	}
}

@media only screen and (min-width: 1350px) {
	.thumb-img {
		height: 300px;
	}
}

.thumb-link:hover {
    box-shadow: 0px 15px 40px -10px #9c9c9c;
}

.thumb-wrap-title {
	font-size: 18px;
    text-transform: uppercase;
    word-spacing: 3px;
    margin-bottom: 5px;
    border-bottom: 2px solid #FF4800;
}

.thumb-wrap-title-text {
	display: inline-block;
	vertical-align: middle;
	margin-right: 20px;
	width: calc(100% - 230px);
}

.thumb-wrap-title-date {
	display: inline-block;
	vertical-align: middle;
	width: 200px;
	font-size: 14px;
	font-weight: normal;
	text-align: right;
}

/* contacts */

.contacts-full .theme-title {
	font-size: 22px;
	line-height: 22px;
	margin-bottom: 25px;
}

.contacts-full .theme {
	background: #f9f3e8;
}

.contacts-full .theme-text {
	font-size: 18px;
}

.contacts-full .theme-text span {
	text-transform: uppercase;
	letter-spacing: 1px;
	word-spacing: 3px;
	font-weight: bold;
	display: inline-block;
	margin-bottom: 5px;
}

.contacts-full .theme-text span:first-child {
	
}

/* footer */

.footer {
	background: #F9D348; /*#FF4800; /*#faf3e7;*/
	display: block;
	padding: 50px 0 15px 0;
	text-align: center;
	margin-top: 35px;
	box-shadow: 0 0px 20px -5px #9c9c9c;
}

.footer.footer-lv {
	/*background: #FF6C32;*/
}

.footer-link {
	font-size: 14px;
	line-height: 24px;
	font-weight: bold;
	text-transform: uppercase;
}

.footer-link:hover {
	color: #8CAFFF;
	color: #5f97fb;
}

.copy {
	width: 85%;
	max-width: 1100px;
	margin: 0 auto;
	clear: both;
	font-size: 12px;
	text-transform: uppercase;
	text-align: left;
}

.contacts {
	display: flex;
    width: 85%;
    max-width: 1100px;
    text-align: left;
    margin: 0 auto 50px auto;
    align-items: flex-start;
}

.contacts-title {
	font-size: 14px;
}

.contacts-left,
.contacts-right {
	width: 50%;
}

.contacts-left {
    line-height: 20px;
/*     padding-left: 35px; */
    font-size: 14px;
}

.contacts-right {
	text-align: right;
}

/* --------- MEDIA --------- */

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

/* ----------- iPhone 4 and 4S ----------- */

/* Portrait */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
	
}

/* Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {

}

/* ----------- iPhone 5 and 5S ----------- */

/* Portrait */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {

}

/* Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {

}

/* ----------- iPhone 6 ----------- */

/* Portrait */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
	
}

/* Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) { 
	
}

/* ----------- iPhone 6+ ----------- */

/* Portrait */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) { 
	
}

/* Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) { 

}