body{
background-image:url(../img/background1.jpg);
background-position:top left;
background-repeat:all;
background-attachment: fixed;
font-family:Verdana;

/*width:100%; 
text-align: center;
background-image:url(../img/head_background.jpg);
*/}

#lapas_galva {
padding: 1em 0;
width:100%; height:270px; background-color:#CCC; text-align: center;
background-image:url(../img/head_background.jpg);
padding: 10px 0;
}

.wrapper {
    margin: 0 auto;
    max-width: 1403px;
    padding: 0 1em;
}

#lapas_galva .wrapper {
	padding-left: 5em;
	text-align: left;
}

#lapas_galva .wrapper div {display: inline-block;}
#logo_block {float: left;}
#galvas_galerija_box{ display: inline-block; max-width:850px; max-height: 250px; margin-right:5em; float:right;}
#galvas_galerija {display: inline-block;  }
/*height: 250px; */
#galvas_galerija li {width:100%;  display: inline-block;}
#galvas_galerija img {max-height:250px;}
/*#galvas_galerija img {*/
  /*position:absolute;*/

  /*-webkit-transition: opacity 1s ease-in-out;*/
  /*-moz-transition: opacity 1s ease-in-out;*/
  /*-o-transition: opacity 1s ease-in-out;*/
  /*transition: opacity 1s ease-in-out;*/
  /*opacity : 0;*/
  /*max-width: 100%;*/
  /*max-height: 250px;*/

/*}*/

#soc_media_nagla{width:100%; text-align: center;}
#soc_media_nagla a{display: inline-block; margin:1em 0.5em;}
/*#soc_media_nagla a img{display: inline-block;}*/


.aktiva_izvelne{font-weight: bold;}

.obj_nos{ color: #134da5;}

.obj_datums {display:inline-block; 
    padding-left : 1em; color:#AA7700; font-size: 0.8em;}

.obj_saturs{display: inline-block; width: 100%;}
.obj_saturs img{cursor: pointer;}
.obj_saturs h2 {margin: 1em 0;}
.obj_saturs iframe {margin: 1em auto;}
.obj_saturs li {list-style-position:inside;}
.obj_galerija {width: 100%;}

.gal_icon{margin: 5px 0 0 5px; display: inline-block;}

.obj_galerija{margin: 1em 0;}
.obj_galerija a{margin: 0 2px 6px 0; padding: 0; display: inline-block;}
.obj_galerija span{margin: 0 2px 6px 0; padding: 0; display: inline-block;}
.obj_galerija img{margin:0; display: inline-block;}
.objekts {margin-bottom: 2em;}

#map{
    min-height: 300px;
    width:100%;
}

p {margin-bottom: 0.5em; text-indent: 1.5em; text-align: justify; line-height: 1.3em;}
.lasit_vairak{float: right; display: inline-block;}
#apaksizvelnes li a{padding: 0.2em 0.2em 0.2em 0.5em;
	border-bottom: 1px solid #99B26B;
}
#apaksizvelnes li a:hover{background-color: #C2EB49; color:#000; text-decoration: none;}

table, td {
	border-left: 1px solid #CCC;
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC !important;
	border-right: 1px solid #CCC;
}

table, td {
padding: 0.2em !important;
}

a[href$=".pdf"], a[href$=".PDF"] {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../img/icon_pdf.gif");
    background-origin: padding-box;
    background-position:    right center;
    background-repeat: no-repeat;
    background-size: auto auto;
    line-height: 25px;
    padding-right: 20px;
}

a[href$=".doc"], a[href$=".docx"] {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../img/icon_doc.gif");
    background-origin: padding-box;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto auto;
    line-height: 25px;
    padding-right: 20px;
}

a[href$=".xls"], a[href$=".xlsx"] {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../img/icon_xls.gif");
    background-origin: padding-box;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto auto;
    line-height: 25px;
    padding-right: 20px;
}

a[href$=".zip"] {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../img/zip.png");
    background-origin: padding-box;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto auto;
    line-height: 16px;
    padding-right: 20px;
}

a[href^="mailto:"] {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../img/mail-icon.png");
    background-origin: padding-box;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto auto;
    display: inline-block;
    line-height: 18px;
}

a[href^="youtu.be"] {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../img/play.png");
    background-origin: padding-box;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto auto;
    display: inline-block;
    line-height: 18px;
}


.img_100{width:100% !important; }
.img_50{width:50% !important;}
.img_33{width:33% !important;}
.img_20{width:20% !important;}

.img_left{float: left !important; margin: 0 1em 1em 0;}
.img_center{margin: auto !important; display: block;}
.img_right{float:right !important; margin: 0 0 1em 1em;}

figure{margin-bottom: 0 !important;}
figcaption p{text-indent: 0; padding-top: 0.4em; color: #444; text-align: center;}


#backtotop {
    cursor : pointer;
    display : none;
    position : fixed;
    bottom : 10px;
    right : 10px;
    font-size : 90%;
    padding : 10px 20px;
    text-align : center;
    background-color : #000;
    border-radius : 8px;
    -webkit-border-radius : 8px;
    -moz-border-radius : 8px;
    filter : alpha(opacity=60);
    -khtml-opacity : 0.6;
    -moz-opacity : 0.6;
    opacity : 0.6;
    color : #FFF;
    font-size : 14px;
    z-index : 1000;
}
#backtotop:hover
{
    filter : alpha(opacity=90);
    -khtml-opacity : 0.9;
    -moz-opacity : 0.9;
    opacity : 0.9;
}



/*// new calendar*/
#calendar_holder {padding:0.2em; margin-bottom:1em; background-color:#FDE3EB;}
#calendar_header {
    font-size: 15px;
    margin: 1em 0;
    padding: 1em 0.5em;
    letter-spacing: 2px;
    text-align: center;
    width:100%;
    display: inline-block;
    text-decoration: none;
    color:#000;
}
#calendar_selector_box{width:100%; display: inline-block;}
#calendar_selector_box select{max-width:49%; float: left;  vertical-align: center;}
#calendar_selector_box select:first-of-type{margin-right:2%;}
#calendar_selector_box div{display: inline-block; margin : 3px auto}
#calendar_selector_box a {float: left; display: inline-block; width:15%; height:45px;  background-size: contain; background-repeat: no-repeat; background-position: center center; }
#calendar_selector_box a img{ max-width: 100%;}

/*#k_prev_m{background-image: url("../img/c_left.png");}*/
/*#k_next_m{background-image: url("../img/c_right.png");}*/

#calendar_content {margin-top: 1em;}

.calendar_content_table{
    margin-bottom: 0.2em;
    padding: 0;
    border-width: 0 !important;
    border: 1px;
    border-collapse: collapse;
}

.calendar_content_table th{text-align: center; padding: 1em 0.2em;}
.calendar_content_table td{}
.calendar_content_table a{display: inline-block; text-decoration: none; padding:0.2em;}
.calendar_content_table a:hover{text-decoration: underline; font-size: 100%}

.calendar_content_table td{
    padding:0.2em;
    width: 1em !important;
    height: 1em !important;
    padding: 0.2em !important;
    vertical-align: top;
    text-align: center;
    color:#795548;
    border:1px solid #CCC;
}

#calendar_header {text-align: center;}
#calendar_header select{
    padding: 0.2em !important;
    line-height: 1.65em;
}
.k_poga{color:#795548 !important;}
#calendar_header {padding:0.2em; margin-bottom:0.5em;}
#k_menesis {margin-right: 0.2em !important; max-width:80px;}
#calendar_header a{
    padding: 0.3em 0.6em !important;
    margin: 0.5em 0.2em !important;
    line-height: 1.65em;
    text-align: center;
    background-color: #E0E3E5;
}

.brivdiena {background-color: #EBEBEB !important;}
#c_sadal a {margin:1em 0.5em 0 0.5em; }



#jaunakas_galerijas_title{ width: 100%; font-size: 1.2em; font-weight: bold; text-align: center;margin-bottom: 1em;}
.jaunakas_galerijas{ width: 100%; text-align: center;}
.jaunakas_galerijas a { width: 100%; display: inline-block; margin-bottom: 1em;}
.jaunakas_galerijas a span { width: 100%; display: inline-block; font-size: 0.9em; line-height: 1.2em;}
.jaunakas_galerijas a img { margin: 0 0.5em 0.5em 0; display: inline-block;}

#footer {
margin-top: 5em;
padding: 1em 0;
width:100%; min-height:200px;
text-align: center;
/*background-color:#CCC;
background-image:url(../img/head_background.png);*/
}
#footer .wrapper{margin: 2em 0;}

.mekletajs{ margin: 0.5em 0 1.5em 0;}

#main_menu_container {
width:100%;
/*background-color: #8C008C;*/
background-color: #F4C453;
/*#99b26b;*/
/*background: -moz-linear-gradient(top,  #99b26b 0%, #819e44 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#99b26b), color-stop(100%,#819e44));
background: -webkit-linear-gradient(top,  #99b26b 0%,#819e44 100%);
background: -o-linear-gradient(top,  #99b26b 0%,#819e44 100%);
background: -ms-linear-gradient(top,  #99b26b 0%,#819e44 100%);
background: linear-gradient(to bottom,  #99b26b 0%,#819e44 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#99b26b', endColorstr='#819e44',GradientType=0 );
*/
}

#lang_menu{display: inline-block; width: 18%; float: right; padding-right: 2em;}
#lang_menu li{ float:right; padding:0; margin-top: 0.5em;}
#lang_menu li a{ padding:0; margin: 0; cursor: pointer;}


#main_menu_container nav{
    padding: 0px !important;
    margin: 0px !important;
}
#main_menu .active a{background-color:#C2EB49; color: #000;}
#main_menu { width: 100%;}
#main_menu li{float: left;   margin: 0px;}
#main_menu li a{padding: 0.5em 1em; color: #FFF; }
#main_menu li a:hover{background-color: #C2EB49; color: #000; text-decoration: none;}

#main_menu li a span{margin-top:0.2em; display: inline-block;}

#saturs .wrapper {background-color: #FFF; padding: 1em;}

.aktiva_izvelne{font-weight: bold; background-color: #C2EB49; }