/*
Theme Name: Studio.lv
Author: Web-Sun.eu
Author URI: http://www.web-sun.eu
Version: 1.0
*/

html {
	padding: 0;
	margin: 0;
}

html, body {
    width:100%;
    height:100%;
}

body {
	padding: 0;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 300;
	color: #fff;
	background: #ffffff;
}

a:link,
a:visited {
	color: #84827d;
}

p {
	line-height: 1.65em;
	margin: 0 0 1em 0;
	font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 1em 0;
	font-weight: normal;
}

.h3-titles {
	text-transform: uppercase;
	font-size: 27px;
}

.clearer {
    font-size: 0px;
    line-height: 0px;
    display: block;
    margin: 0px;
    padding: 0px;
    clear: both;
    height: 0px;
    width: auto;
}

/* General Layout */

div.container {
    margin: 0 auto;
    max-width: 1170px;
    padding: 0 10px;
}

.home .container-outer {
	background-color: #050505;
}

.flex-container {
	background-color: #343436;
	/*background-color: rgba(55,55,57,1);*/
	/*background-color: #3B3B3E;*/
	/*
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    */
}

.flex-container > * {
	/*
    -webkit-flex: 1 100%;
    flex: 1 100%;
    */
}


/* Content Area */

.article {
    text-align: left;
}

.article-page {
	/*margin-top: -734px !important;*/
	z-index: 9998;
	/*
	-webkit-box-shadow: inset 0px -200px 91px -83px rgba(255,255,255,1);
	-moz-box-shadow: inset 0px -200px 91px -83px rgba(255,255,255,1);
	box-shadow: inset 0px -200px 91px -83px rgba(255,255,255,1);
	*/
	/*background: #373739;*/
}

.article-page .container:first-child {
	/*
	margin-top: 172px;
	min-height: 400px;
	*/
}

.article-page .container {
	/*background: #373739;*/
	-webkit-border-radius: 6px 6px 0px 0px;
	-moz-border-radius: 6px 6px 0px 0px;
	border-radius: 6px 6px 0px 0px;
	padding:0 43px 47px;
}

.home article .container {
	padding:50px 52px 0;
}

article.post {
	border-bottom: 1px dotted #DDD;
	padding-bottom: 20px;
}

article.post:last-of-type {
	border-bottom: none;
}

article img {
	/*width: 100%;*/
	max-width: 100%;
	height: auto;
}

article .alignright {
	float:right;
}

/* Header */

.top-shadow {
	top: 0;
	position: absolute;
	min-height: 170px;
	width: 100%;
	z-index: 3;
}

/*
.div-header-page-image {
	height: 327px;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: -1;
}
*;/

.container-outer {
	position: relative;
	/*background: #0B0B0B;*/
}

.site-header {
	padding: 20px 0 0 0;
	background-position: top center;
	background-repeat: no-repeat;
	background-size:cover;
	min-height: 150px;
	position: relative;
}

.site-header-page .container {
	z-index: 9999;
	position: relative;
}

.site-header-page {
	height: 275px;
	margin-bottom: 0 !important;
}

.site-header-page h1 {
	background:none !important;
}

.site-header h1 {
	margin: -33px 0 0 0;
	text-indent: -9999px;
	/*background: transparent url(images/menu-bg-shadow.png) no-repeat right 114px;*/
	padding: 0;
}

.site-header h1 a {
	margin: 0;
	display: block;
	width: 153px;
	height: 84px;
}

.site-header-h1 a {
	background: transparent url(images/logo.png) no-repeat left center;
}

.site-header h1 a:link,
.site-header h1 a:visited {
	text-decoration: none;
}

.site-header h5 {
	margin: 0;
}

/* Language menu */

.widget-language {
	float: right;
	margin-top: 17px
}

.widget-language ul {
	list-style: none;
	margin:0;
	padding:0;
}

.widget-language ul li {
	float: left;
	margin:0 0 0 16px;
	padding:0;
}

.widget-language ul li a {
	color: #9b9c9e;
	text-decoration: none;
	font-size: 14px;
}

.widget-language ul li a:hover, .widget-language ul li.current-lang a {
	color: #fff;
}

.lang-item-en, .lang-item-ru {
	display:none;
}

.logged-in .lang-item-en, .logged-in .lang-item-ru {
	display:block !important;
}

/* end Language menu */

/* Search widget */

.widget-search {
	float: right;
	margin-top: 25px;
}

.widget-search #searchform {
	width: 257px;
}

.widget-search #s {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: none;
	background-color: rgba(0,0,0,0.3);
	color: #fff;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 16px;
	padding:8px 34px 7px 11px;
}

.widget-search .search-button-open {
	margin-left: -29px;
}

.widget-search .search-button-open .fa-search {
	color: #fff;
        -moz-transform: scaleX(-1);
        -o-transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
        filter: FlipH;
        -ms-filter: "FlipH";
        font-size: 18px;
}

/* end Search widget */

/* Standard Nav Menu */

html .nav-button-mobile-menu {
    display: none;
}

html .close-button-mobile-menu {
    display: none;
}

.site-nav ul {
	margin: 0;
	padding: 0;
	float: right;
}

.site-nav ul:before, .site-nav ul:after { content: ""; display: table; }
.site-nav ul:after { clear: both; }
.site-nav ul { *zoom: 1; }

.site-nav ul li {
	list-style: none;
	float: left;
	/*margin-left: 37px;*/
}

.site-nav ul li a:link,
.site-nav ul li a:visited {
	display: block;
}

/* Header Nav Menu */
.site-header nav {
	margin-top: -23px;
	width: 975px;
	float: right;
}

.site-header nav ul li {
	/*margin-right: 5px;*/
	position: relative;
	padding-bottom: 17px;
}

.site-header nav ul li a {
	color: #9b9c9e;
	text-transform: uppercase;
	font-size: 16px;
}

.site-header nav ul li:last-child {
	margin-right: 0 !important;
}

.site-header nav ul li:last-child a {
	padding-right:0 !important;
}

.site-header nav ul li .sub-menu li a {
	color: #9b9c9e !important;
}

.site-header nav ul li a:link,
.site-header nav ul li a:visited {
	padding:0 23px;
	text-decoration: none;
}

html .site-header nav ul li a:hover,
html .site-header nav ul li.current_page_item > a,
html .site-header nav ul li.current-page-ancestor .sub-menu li.current_page_item a,
html .site-header nav ul .current-page-ancestor > a {
	color: #fff !important;
}

.site-header nav ul li.current-menu-parent a:nth-child(1n) {
	color: #fff;
}

.site-header nav ul li.menu-item-has-children > a {
	/*padding-right: 15px;*/
}

.site-header nav ul li.menu-item-has-children {
	margin-right: 10px;
}

.site-header nav ul li.current-menu-item a:link,
.site-header nav ul li.current-menu-item a:visited,
.site-header nav ul li.current-page-ancestor a:link,
.site-header nav ul li.current-page-ancestor a:visited {
	/*color: #fff;*/
}

.site-header nav .sub-menu {
	display: none;
	background-color: rgba(0,0,0,0.8);
	padding:19px 15px 3px;
	width: 215px;
	-webkit-border-bottom-right-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-bottomright: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}

.site-header nav .sub-menu li {
	margin: 0 0 21px 0 !important;
	padding:0 !important;
	float: none !important;
}

@media all and (min-width: 791px) {

	.site-header nav li.menu-item-has-children:hover > ul.sub-menu {
	    display: block;
	    margin: 0;
	    position: absolute;
	    top: 36px;
	    left: -37px;
	    width: 273px;
	}

}

@media screen and (-webkit-min-device-pixel-ratio:0) {
	/* Safari and Chrome */

	.site-header nav li.menu-item-has-children:hover > ul.sub-menu {
		top: 36px !important;
	}


	/* Safari only override */
	/*
	::i-block-chrome,.site-header nav li.menu-item-has-children:hover > ul.sub-menu {
		top: 36px !important;
	}
	*/
}

/* div-banners-block */

.div-banners-block {

}

.div-banners-block ul {
	list-style:none;
	margin:50px 0 0 0;
	padding:0;
}

.div-banners-block ul li {
	float: left;
	margin-right: 50px;
	margin-bottom: 50px;
}

html .div-banners-block ul li:nth-child(3n) {
	margin-right: 0;
}

.div-banners-block ul li a {
	width: 300px;
	height: 150px;
	display: block;

}

.div-banners-block img {
	width: 100%;
	max-width: 350px;
	height: auto;
}

/* END div-banners-block */

/* Footer */
.site-footer {
	background: #2f2f31;
	min-height: 200px;
	position: relative;
}

.topbutton {
	cursor: pointer;
	display: block;
	background: transparent url(images/topbutton.jpg) no-repeat center top;
	width: 32px;
	height: 40px;
	float: right;
}

.div-footer-left {
	width: 70%;
	float: left;
	/*min-width: 740px;*/
	padding-top:50px;
}

.div-footer-right {
	width: 30%;
	float: left;
	/*min-width: 140px;*/
	text-align: right;
	padding-top:50px;
}

.span-footer-title1 {
	font-size: 16px;
	font-weight: 300;
	color:#9b9c9e;
	display: inline-block;
	padding-right: 75px;

}

.span-footer-title2 {
	font-size: 21px;
	font-weight: 300;
	color: #fff;
	padding-top: 20px;
	display: block;
}

.a-footer-email {
	text-decoration: none;
	color:#fff !important;
}

.p-site-description {
	font-size: 16px;
	font-weight: 300;
	color:#9b9c9e;
}

.a-footer-facebook {
	color:#fff !important;
}

.a-footer-instagram {
	color:#fff !important;
}

.a-footer-twitter {
	color:#fff !important;
	padding-left:5px;
}

.div-rights {
	background-color: #6f6d69;
	text-align: center;
	width: 100%;
	color: #c1c0be;
	position: absolute;
	bottom: 0;
}

.div-rights p {
	padding: 13px 0;
	margin:0;
}



/* END Footer */

/* Page Layout */
article.page h2 {
	font-size: 50px;
	font-weight: 300;
	margin-bottom: 15px;
	margin-bottom: 39px;
	text-transform: uppercase;
	line-height: 51px;
}

/* Clearfix */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }


/* Two Column Title Layout */
div.title-column {
	width: 30%;
	float: left;
}

div.text-column {
	width: 70%;
	float: right;
}

/* Info Box Styles */
div.info-box {
	width: 30%;
	float: right;
	margin: 0 0 30px 30px;
	padding: 20px;
	background-color: #EEE;
}

div.info-box h4 {
	margin-bottom: 6px;
}

div.info-box p {
	font-size: 85%;
}

/* Children Links */
.children-links {
	margin-bottom: 20px;
	font-size: 80%;
}

.children-links a:link,
.children-links a:visited {
	text-decoration: none;
	padding-bottom: 2px;
}

.children-links ul {
	float: left;
}

.children-links li {
	margin-right: 20px;
}

.children-links .parent-link {
	float: left;
	margin-right: 20px;
	padding-right: 20px;
	border-right: 1px solid #DDD;
	font-size: 120%;
	font-weight: bold;
}

.children-links .parent-link a:link,
.children-links .parent-link a:visited {
	color: #333;
}

.children-links .current_page_item a:link,
.children-links .current_page_item a:visited {
	border-bottom: 1px solid #DDD;
	color: #333;
	cursor: default;
}

/* HOME */

.site-header-home {
	z-index: 9998;
	position: absolute;
	left: 0;
	right: 0;
}


.swiper-container-home {
    width: 100%;
    max-width: 1600px;
    height: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-top:0;
    position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	top: 0;
}


.logged-in .swiper-container-home {
	margin-top: 32px !important;
}


.swiper-container-home .swiper-slide img {
	width: 100%;
	height: auto;
}

.swiper-container-home .swiper-slide {
    background-size: cover;
    background-position: center;
}


.div-promo-info-text {
	position: absolute;
	text-align: left !important;
	left: 0 !important;
	right: 0 !important;
	top: 198px !important;
	margin: auto !important;
}

.div-promo-info-text .span-slide-title {
	font-size: 50px;
	font-weight: 300;
	color: #fff;
	display: block;
	padding-bottom: 33px;
	max-width: 695px;
	text-transform: uppercase;
}

.div-promo-info-text .span-slide-desc {
	font-size: 24px;
	font-weight: 300;
	color: #fff;
	display: block;
	padding-top: 30px;
	padding-bottom: 40px;
	max-width: 500px;
}

.a-slider {
	font-size: 18px;
	font-weight: 300;
	color: #fff !important;
	/*display: inline-block;*/
	border: 1px solid #fff;
	text-transform: uppercase;
	padding: 3px 22px;
	text-decoration: none;
}

.a-slider:hover {
	text-decoration: none;
}

/*
.div-promo-info-text-bg {
	display: inline-block;
	padding:22px 18px 46px;
}
*/

.div-promo-info-line {
	border-bottom: 1px solid #fff;
	width:100px;
}

.swiper-container-home .swiper-pagination {
	text-align: left !important;
	left: 50% !important;
	right: 50% !important;
	bottom: 32px !important;
	margin: auto !important;
}

.swiper-container-home .swiper-pagination-bullet {
	background: #d8d8d9;
}

.swiper-container-home .swiper-pagination-bullet-active {
	background: #757577 !important;
}

.p-promo-text {
	font-size: 27px;
	text-align: center;
	padding:50px 52px;
	margin:0 !important;
}

.p-promo-text-block {
	font-size: 21px;
	background-color: #f7f8f7;
	padding: 52px 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	text-align: center;
	margin:0 !important;
}

.div-content-wide-bg {
	height: 375px;
	background-size: cover;
	background-position: center;
}

.parallax {
	width: 100%;
	height: 375px;
	background-attachment: fixed !important;
	/*background-size: cover !important;*/
	/*background-repeat: repeat-y;*/
	/*background-position: top center;*/
	background-repeat: no-repeat;
		margin: 0 auto;
	padding: 0;
}

.article-home {
	background: #313133;
	padding-bottom: 70px !important;
}

.p-home-services-desc {
	font-size: 35px;
	font-weight: 300;
	color: #fff;
	width: 100%;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 52px;
}

.swiper-container-home-services {
	width: 100%;
	height: 100%;
}


.swiper-container-home-services .swiper-slide {
  text-align: center;
  font-size: 18px;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-container-home-services .swiper-slide {
	width: auto;
	height: 272px;
	display: table;
}

.swiper-button-prev-home, .swiper-button-next-home {
	/* background: url(images/arrows_thumb_slider.png) no-repeat left center !important; */
}
.swiper-button-prev::after, .swiper-container-rtl .swiper-button-next::after, .swiper-button-next::after, .swiper-container-rtl .swiper-button-prev::after {
	color: #616162;
	content: none;
}

.swiper-button-prev-home {
	background-position: center top !important;
}

.swiper-button-next-home {
	background-position: center -68px !important;
}

.swiper-container-home-services .a-home-services {
	color:#fff;
	font-weight: 300;
	font-size:24px;
	text-transform:uppercase;
	text-decoration: none;
}

.swiper-container-home-services .span-slide-title {
    display: block;
    padding-top: 20px;
}

.div-home-services {
	display: block;
	position: relative;
}


.div-home-services-left {
	position: absolute;
	right: -50px;
	top: 110px;
}

.div-home-services-right {
	position: absolute;
	left: -50px;
	top: 110px;
}

.div-home-film-latvia {
	/*background: #fff url(images/film_latvia_bg.jpg) no-repeat center top;*/
	background: #fff url(images/home/1.jpg) no-repeat center top;
	min-height: 337px;
	padding-top: 313px;
}

.p-home-film-title {
	text-transform: uppercase;
	font-size: 35px;
	font-weight: 300;
	color: #404042;
	padding: 0 0 20px 0;
	margin:0;
}

.p-home-film-desc {
	font-size: 21px;
	font-weight: 300;
	color: #404042;
	padding: 20px 0 25px 0;
	margin:0;
	max-width: 480px;
	width: 100%;
}

.div-home-film-line {
	border-bottom: 1px solid #404042;
	width:100px;
}

.a-vairak-film, .form-submit {
	font-size: 18px;
	font-weight: 300;
	text-transform: uppercase;
	padding: 3px 22px;
	text-decoration: none;
	cursor: pointer;
}

.a-vairak-film:hover, .form-submit:hover {
	text-decoration: none;
}

.form-submit {
	padding: 7px 18px !important;
	width: auto !important;
	
	background: transparent;
}

.form-send-info-home .form-submit, .a-vairak-film {
	color: #404042 !important;
	border: 1px solid #404042 !important;
}

.form-send-info-home .form-submit:hover, .a-vairak-film:hover {
	background: #404042;
	color:#fff !important;
}

.form-send-info-kontakt .form-submit {
	color: #fff !important;
	border: 1px solid #fff !important;
}

.form-send-info-kontakt .form-submit:hover, .a-vairak-kontakt:hover {
	background: #fff;
	color:#404042 !important;
}

.div-home-aktual {
	min-height: 421px;
	background: #fff;
}

.div-home-aktual-left {
	background: #404042;
	float: left;
	width: calc(50% - 58px);
	min-height: 229px;
	padding: 28px 22px;
	min-width: 256px;

}

.div-home-aktual-right {
	background: #404042;
	float: right;
	width: calc(50% - 58px);
	min-height: 229px;
	padding: 28px 22px;
	min-width: 255px;
}

.div-home-aktual-lv, .div-home-aktual-en, .div-home-aktual-ru {
	margin-top: -117px;
	/*margin-top: 30px;*/
}

.div-home-aktual-ru {
	margin-top: -40px;
}

.p-home-aktual {
	color: #9b9c9e;
	font-size: 21px;
	font-weight: 300;
	text-transform: uppercase;
	padding: 0 0 19px 0;
	margin: 0;
}

.a-home-aktual {
	text-decoration: none;
	padding: 0;
	margin: 0;
}


.a-home-aktual:hover {
	text-decoration: none;
}

.span-home-aktual-title {
	font-size: 35px;
	color: #fff;
	font-weight: 300;
	display: block;
}

.span-home-aktual-line {
	border-bottom: 1px solid #fff;
	width:100px;
	display: block;
	padding: 20px 0 0 0;
	margin-bottom: 20px;
}

.span-home-aktual-desc {
	font-size: 18px;
	color: #fff;
	font-weight: 300;
	display: block;
}

.div-home-form-left {
	float: left;
	width: calc(50% - 14px);
	margin-top: 70px;
	min-width: 271px;
	margin-bottom: 20px;

}

.div-home-form-right {
	float: right;
	width: calc(50% - 14px);
	margin-top: 70px;
	min-width: 271px;
	margin-bottom: 20px;
}

.div-home-form-line {
	border-bottom: 1px solid #646566;
	width:100px;
	display: block;
	padding: 20px 0 0 0;
	margin-bottom: 31px;
}

.div-home-form-line-kontakt {
	border-bottom: 1px solid #fff !important;
}

.a-home-form {
	color: #646566;
	font-size: 35px;
	font-weight: 300;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.a-home-form-kontakt {
	color: #fff !important;
}

.a-home-form:hover {
	text-decoration: none;
}

.div-contactform-left {
	float: left;
	width: calc(45% - 7px);
	min-width: 251px;
}

.div-contactform-right {
	float: right;
	width: calc(55% - 7px);
	margin-bottom: 60px;
	min-width: 251px;
}

.form-send-info-slide {
	display: none;
}

.form-send-info-home input, .form-send-info-home textarea, .form-send-info-home lable {
	color:#646566;
}

.form-send-info-kontakt input, .form-send-info-kontakt textarea, .form-send-info-kontakt lable {
	color:#fff;
}

.form-send-info-kontakt input, .form-send-info-kontakt textarea {
	border:#646566;
	background: transparent;
}

.form-send-info {
	font-size: 18px;
	color: #404042;
}

.form-send-info input {
	width:225px;
	padding: 6px 10px;
	font-size: 16px;
	font-weight: 300;
	border: 1px solid #dbdcdc;
	margin-bottom: 26px;

}

.form-send-info input.wpcf7-date {
	width:135px !important;
	margin-left: 20px;
}

.form-send-info textarea.textarea-appointment {
	height:62px !important;
}

.form-send-info textarea {
	width:276px;
	height: 121px;
	padding:15px;
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-weight: 300;
	border: 1px solid #dbdcdc;
	margin: 0;
	font-style: italic;
	margin-bottom: 26px;
}

/* end HOME */



/* Page detail view */

.div-page-header {

}

.div-page-header-left {
	float: left;
	width: calc(50% - 20px);
	padding-right: 20px;
}

.div-page-header-left-full {
	width: 100% !important;
}

.div-page-header-right {
	float: left;
	width: 50%;
	text-align: center;
	margin-top: 66px;
	padding-bottom: 20px;
}

.h2-page-title {
	color:#fff;
	font-size: 32px;
	padding: 0;
	margin: 0 0 41px 0 !important;
}

.div-page-share {
	font-size: 16px;
	padding: 0;
	/*margin: 44px 0 19px 0;*/
	margin: 20px 0 19px 0;
}

.div-page-share span {
	float: left;
}

.ul-page-share {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-block;
}

.ul-page-share li {
	float: left;
	margin-left: 14px;
}

.a-share-facebook {
	background: url(images/icon-share-facebook.png) no-repeat left center;
	display: block;
	width: 10px;
	height: 21px;
	cursor: pointer;
}

.a-share-twitter {
	background: url(images/icon-share-twitter.png) no-repeat left center;
	display: block;
	width: 19px;
	height: 21px;
	cursor: pointer;
}

.p-page-desc {
	padding:0 0 26px 0;
	margin:0;
	font-size: 24px;
}

.div-page-content {
	/*
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    */
}

.div-page-content-left {
	max-width: 680px;
	width: 100%;
	float: left;
	padding-right: 20px;
}

.div-page-content-left-full {
	max-width: 1170px !important;
}

.div-page-content-right {
	max-width: 470px;
	width: 100%;
	float: left;
}

.div-page-content, .div-page-content p {
	font-size: 18px !important;
	line-height: 24px;
}

.div-page-content-single {
    -webkit-column-count: 1 !important; /* Chrome, Safari, Opera */
    -moz-column-count: 1 !important; /* Firefox */
    column-count: 1 !important;
}

.p-files-download {

}

.ul-files {
	list-style: none;
	padding: 0;
	margin:0;
}

.ul-files li {
	padding: 0;
	margin:0;
}

.ul-files li:last-child {
	padding: 0 !important;
}

.ul-files li a {
	padding:10px 0 10px 28px;
	text-decoration: none;
	display: block;
}

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

.ul-files li a[href*=".pdf"] {
	background: url(images/icon-pdf.png) no-repeat left center;
}

.ul-files li a[href*=".doc"], .ul-files li a[href*=".dot"], .ul-files li a[href*=".docx"], .ul-files li a[href*=".dotx"], .ul-files li a[href*=".docm"], .ul-files li a[href*=".dotm"] {
	background: url(images/icon-doc.png) no-repeat left center;
}

.ul-files li a[href*=".xls"], .ul-files li a[href*=".xlt"], .ul-files li a[href*=".xla"], .ul-files li a[href*=".xlsx"], .ul-files li a[href*=".xltx"], .ul-files li a[href*=".xlsm"], .ul-files li a[href*=".xltm"], .ul-files li a[href*=".xlam"], .ul-files li a[href*=".xlsb"] {
	background: url(images/icon-xls.png) no-repeat left center;
}

.ul-files li a[href*=".ppt"], .ul-files li a[href*=".pot"], .ul-files li a[href*=".pps"], .ul-files li a[href*=".ppa"], .ul-files li a[href*=".pptx"], .ul-files li a[href*=".potx"], .ul-files li a[href*=".ppsx"], .ul-files li a[href*=".ppam"], .ul-files li a[href*=".pptm"], .ul-files li a[href*=".potm"], .ul-files li a[href*=".ppsm"] {
	background: url(images/icon-ppt.png) no-repeat left center;
}

.div-gallery-images {

}

.div-gallery-image:first-child {
	max-width: 475px;
	width: 100%;
	margin-left: 0 !important;
}

.div-gallery-image {
	width: 225px;
	float: left;
	margin-left: 20px;
	margin-bottom: 37px;
}

.div-gallery-image:nth-child(2n) {
	margin-left: 0 !important;
}

.div-gallery-image:first-child img {
	/*max-width: 475px;*/
	max-width: 100%;
	height: auto;
}

.div-gallery-image img {
	max-width: 230px;
}

.fancybox-slide {
    text-align: left !important;
}

.ol-page-draugi {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ol-page-draugi li {
	float: left;
	width: 270px;
	margin-right: 30px;
	font-size: 18px;
	margin-bottom: 27px;
}

.ol-page-draugi li:nth-child(4n) {
	margin-right: 0 !important;
}

.ol-page-draugi li a {
	text-decoration:none;
}

.ol-page-draugi li a:hover {
	text-decoration:underline;
}

.ol-page-draugi li img {
	padding-bottom: 10px;
}

.tablepress .odd td, .tablepress .even td {
	background-color: transparent !important;
}

.tablepress tbody td {
	border-top: 1px solid #4b4b4d !important;
	color: #8f9092;
	font-size: 18px;
}

.tablepress tbody tr:first-child td, .tablepress tbody td[rowspan] {
	border-top: none !important;
}

.tablepress tbody tr:hover td {
	color: #fff !important;
}

.tablepress tbody td[rowspan] {
	font-size: 50px;
}

.tablepress [colspan|="4"] {
	display:none;
}

.tablepress tr {
	cursor: pointer;
}

.div-kontakt {

}

.div-kontakt-col:first-child {
	padding-right:20px;
}

.div-kontakt-col:last-child {
	padding-left:20px;
}

.div-kontakt-col {
	float: left;
	width: calc(50% - 20px);
	min-width: 280px;
}

.div-kontakt-td {
	padding-bottom: 40px;
}

.div-kontakt-td-left {
	float: left;
}

.div-kontakt-td-right {
	float: right;
}

.div-film-latvia {

}

.div-film-latvia-box {
	float: left;
	width: calc(25% - 20px);
	padding-left: 20px; 
	min-width: 270px;
	height: 655px;
}

.div-film-latvia-box:first-child {
	padding-left: 0; 
}

.p-film-latvia-title {
	font-size: 24px;
	color: #9b9c9e;
	text-transform: uppercase;
}

.div-page-editor {

}

.div-page-editor-left {
	float: left;
	width: calc(50% - 10px);
	padding-right: 10px;
	min-width: 270px;
}

.div-page-editor-right {
	float: left;
	width: calc(50% - 10px);
	padding-left: 10px;
	min-width: 270px;
}

.p-page-editor-desc {
	color: #9b9c9e;
	text-transform: uppercase;
	padding: 0;
	margin: 0;
}

/* end Page detail view */

/* breadcrumbs */

#breadcrumbs{
    list-style:none;
    margin:0 0 19px 0;
    padding: 0;
    overflow:hidden;
}

#breadcrumbs li{
    display:inline-block;
    vertical-align:middle;
    margin-right:2px;
    font-size:21px;
    font-weight: 300;
}

#breadcrumbs .separator{
    color: #84827d;
}

#breadcrumbs li.item-current {
	color: #84827d; !important;
}

#breadcrumbs li a {
    /*color:#7b7b7d !important;*/
    color: #84827d; !important;
    text-decoration: none;
}

/* video */

.container-video {
	background: transparent !important;
	position: relative;
	height: 0 !important;

	margin: 0 auto;
	max-width: 1000px;
	padding: 15px 10px 26.25%;
}

.container-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 760px;
    height: 375px;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

/* END video */

/* rakstu kategorija */

.div-white-line {
	border-bottom: 1px solid #fff;
	width:100px;
	display: block;
	padding: 0;
	margin-bottom: 35px;
}

.h2-blog {
	margin-bottom: 41px !important;
}

.div-raksts-main {
	border-bottom: 1px solid #4b4b4d;
	padding-bottom: 30px;
	margin-bottom: 30px;
}

.div-raksts-main-full {
	width: 100% !important;
}

.div-raksts-main-left {
	width: 50%;
	float: left;
}

.div-raksts-main-right {
	width: calc(50% - 59px);
	float: left;
	padding-left:59px;

}

.p-page-date {
	padding: 0 0 20px 0;
	margin: 0;
	color: #9b9c9e;
	font-size: 18px;
}

.a-raksts-main-title {
	color: #fff !important;
	font-size: 32px;
	line-height: 27px;
	margin:0;
	text-decoration: none;

}

.a-raksts-main-title:hover {
	text-decoration: none;
	color: #fff !important;
}

.p-raksts-main-date {
	font-size: 18px;
	margin:0 0 12px 0;
	color:#9b9c9e;

}

.span-raksts-main-desc {
	font-size: 18px;
	margin:31px 0 0 0;
	text-align: justify;
}

.div-raksti {
	margin-top: 30px;
}

.div-raksts {
	width: 310px;
	float: left;
	margin-right: 34px;
	margin-bottom: 37px;
}

.div-raksts-last {
	margin-right: 0 !important;
}

.a-raksts {
	text-decoration: none;
}

.a-raksts:hover .span-raksts-main-title {
	text-decoration: underline;
}

.span-raksts-main-title {
	color:#fff;
	font-size: 35px;
	display: block;
}

.span-raksts-main-date {
	font-size: 16px;
	display: block;
	margin-top: 16px;
}

.span-raksts-main-desc {
	font-size: 16px;
	display: block;
	margin-top: 16px;
}

.img-raksti-thumb {
	margin-top: 16px;
	margin-bottom: 6px;
}

.p-nothing-to-load {
	display:none;
	width: 100%;
	text-align: center;
}

.span-load-more-text {

}

/*
	Ajax Loading
	------------------------------------------------
*/



.posts-container .div-raksts, .div-raksts-main {
	-webkit-transition: all 320ms ease;
	-moz-transition: all 320ms ease;
	-ms-transition: all 320ms ease;
	-o-transition: all 320ms ease;
	transition: all 320ms ease;

	-webkit-transform: translateY(100px);
	-moz-transform: translateY(100px);
	-ms-transform: translateY(100px);
	-o-transform: translateY(100px);
	transform: translateY(100px);

	opacity: 0;
}

.posts-container .div-raksts.reveal, .div-raksts-main.reveal {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	-o-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}

.a-load-more {
	display: block;
	width: 200px;
	color: #222;
	font-size: 30px;
	margin: 0 auto;
	cursor: pointer;
	opacity: 0.5;
	text-align: center;

    -webkit-transition: opacity 320ms ease;
    -moz-transition: opacity 320ms ease;
    -ms-transition: opacity 320ms ease;
    -o-transition: opacity 320ms ease;
    transition: opacity 320ms ease;

}

.a-load-more:hover, .a-load-more:focus, .a-load-more .loading {
	opacity: 1;
}

.a-load-more.loading {
	cursor: default !important;
}

.a-load-more span {
	display: block;
}

.spin {
	animation-name: spin;
	animation-duration: 1000ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

@keyframes spin {
    from { transform:rotate(0deg); }
    to { transform:rotate(360deg); }
}

/* END rakstu kategorija */

/* google maps */

#map_wrapper {
    height: 400px;
}

#map_canvas {
    width: 100%;
    height: 100%;
}

/* Page */

.firework {
	position: absolute;
	z-index: 9;
}
.explosion {
	position: absolute;
	left: -2px;
	bottom: 0;
	width: 4px;
	height: 80px;
	transform-origin: 50% 100%;
	/* background-color: rgba(0,0,0,.2); */
	overflow: hidden;
}
.explosion:nth-child(1) {
	transform: rotate(0deg) translateY(-15px);
}
.explosion:nth-child(2) {
	transform: rotate(30deg) translateY(-15px);
}
.explosion:nth-child(3) {
	transform: rotate(60deg) translateY(-15px);
}
.explosion:nth-child(4) {
	transform: rotate(90deg) translateY(-15px);
}
.explosion:nth-child(5) {
	transform: rotate(120deg) translateY(-15px);
}
.explosion:nth-child(6) {
	transform: rotate(150deg) translateY(-15px);
}
.explosion:nth-child(7) {
	transform: rotate(180deg) translateY(-15px);
}
.explosion:nth-child(8) {
	transform: rotate(210deg) translateY(-15px);
}
.explosion:nth-child(9) {
	transform: rotate(240deg) translateY(-15px);
}
.explosion:nth-child(10) {
	transform: rotate(270deg) translateY(-15px);
}
.explosion:nth-child(11) {
	transform: rotate(300deg) translateY(-15px);
}
.explosion:nth-child(12) {
	transform: rotate(330deg) translateY(-15px);
}

.explosion::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 40px;
	background-color: #fff;
}
@keyframes explosion {
	0% {
		top: 100%;
	}
	33%, 100% {
		top: -50%;
	}
}

#firework1 {
	left: 50%;
	top: 50%;
	transform: scale(1);
}
#firework1 .explosion::before {
	animation: explosion 2s ease-in-out infinite;
}

#firework2 {
	left: 40%;
	top: 45%;
	transform: scale(.7);
}
#firework2 .explosion::before {
	animation: explosion 2s .6s ease-in-out infinite;
}

#firework3 {
	left: 60%;
	top: 65%;
	transform: scale(.4);
}
#firework3 .explosion::before {
	animation: explosion 2s .4s ease-in-out infinite;
}
