body{
/*background-image:url(../img/peleks_lins.jpg);*/
background-color: #c2dae7;
background-image:url(../img/clouds_bg.png);
background-position: center;
background-repeat: repeat;
}

#lapas_galva {
padding: 2.5em 0;
width:100%; min-height:250px; background-color:#CCC; text-align: center;
background-image:url(../img/galva2.jpg);
background-position: center;
}
#lapas_galva_title{
color: #FFF;
/*#fff;*/
font-size: 3em;
margin: 3em 0 0 0.3em; display: inline-block;
text-shadow: 0 0 0.1em #000, 0 0 0.1em #000, 0 0 0.1em #000;
}

.objekts ul{
  display: inline-block;
  margin-left: 1em !important;
}

.obj_saturs p{text-indent:0;}
.obj_saturs ul{margin-bottom:1em;}

.wrapper {
    margin: 0 auto;
    max-width: 1403px;
    padding: 0px;
}

#lapas_galva .wrapper {
	padding-left: 5em;
	text-align: left;
}


#saturs {padding: 0 2em;}
#saturs .wrapper {background-color: #FFF; padding: 1em;}

.obj_nos{ color: #134da5;}
.raksta_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: 0.5em auto; }
.obj_saturs li ul{display: inline-block; width: 100%;}

p iframe {margin: 0.5em auto; }
.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;}
.objekts h3{display:inline-block; width:100%;}

#map{
	min-height: 600px;
	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.5em; border-bottom: 1px solid #A7114C;}
#apaksizvelnes li a:hover{background-color:#A7114C; color:#FFF; text-decoration: none;}

.aktiva_izvelne{background-color:#A7114C; color:#FFF; font-weight: bold;}
/*.objekts a{color: #E8A300;}*/
.laba_mala{
    /*background-color: #B7C893;*/
    float: right !important;
}

table, td {
	border-left: 1px solid #CCC;
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC !important;
	border-right: 1px solid #CCC;
}

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;
    padding-left: 20px;
}

a[href^="https://youtu.be"], a[href^="https://www.youtube.com"] {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../img/play.png");
    background-origin: padding-box;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto auto;
    line-height: 16px;
    padding-right: 28px;
}


.img_100{width:100% !important; }
.img_50{width:50% !important;}
.img_33{width:31% !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;
}


.calendar_content_table{
    margin-bottom: 0.2em;
    padding: 0;
    border-width: 0 !important;
}
.calendar_content_table td{
    width: 1em !important;
    height: 1em !important;
    padding: 0.2em !important;
    vertical-align: top;
    text-align: center;
    color:#795548;
    border-width: 0 !important;
}

#calendar_holder {padding:0.2em; margin-bottom:0.5em; background-color:#FDE3EB;}
#calendar a { text-decoration: none; color:#A7114C; font-weight: bold;}
#calendar_header {text-align: center;}
#calendar_header select{
    padding: 0.2em !important;
    line-height: 1.65em;
}
.k_poga{color:#795548 !important;}
#calendar_header {margin-bottom: 0.3em; style="padding:0.2em; margin-bottom:0.5em"}
#k_menesis {margin-right: 0.2em !important;}
#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: #e9cfd7 !important;}
/*#D9E1C6*/
/*.brivdiena a{color:#795548 !important;}*/
.sodiena {background-color: #e9cfd7 !important;}
.sodiena a{ color:#795548 !important;}
.selected_date {background-color: #A7114C !important;}
.selected_date a{ color:#FFF !important;}

#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 .wrapper{margin: 2em 0;}

.mekletajs{ margin: 0.5em 0 1.5em 0;}



iframe {max-width: 100% !important;}
#visi_video{text-align: center;}
#visi_video a{margin: 0 1em 1em 0; float: left;}

#zo {width:100%; height:4000px; overflow: auto;}

#sazinies {cursor:pointer;}
#sazinies_form .units-row{margin-bottom: 0em !important;}
#labie_baneri a {display: block; margin-top: 1em; cursor: pointer;}

#apbalvojumi_logo {margin:1em auto; text-align: center; width:100%; padding-top:1em; margin-bottom: 2em;}
.apbalvojumi {
    padding:0 1em;
    background: -webkit-linear-gradient(#BABCBE, #FFFFFF); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#BABCBE, #FFFFFF); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#BABCBE, #FFFFFF); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#BABCBE, #FFFFFF); /* Standard syntax */
}

@media print {
    a[href]:after {
        content: none !important;
    }
    a{text-decoration: none;}

    #soc_media {float: left; widht:30%;}
    #logo_link { widht:70%;}

    .navbar {width: 100% !important;}
    .wrapper {width: 100% !important;}

    .obj_saturs{font-size: 0.8em;}
    #apaksizvelnes li a{font-size: 0.8em !important;}
    
    .mekletajs{display: none;}
    #calendar_header {display: none;}
    #calendar_content {font-size: 0.6em !important;}


    #main_menu .has-sub ul{display: none;} 

    #main_menu_container .wrapper {width: 100%;}

    #main_menu{font-size: 0.8em; width: 100%; }
    
    .lapas_galva .wrapper {width:100%;}
    .lapas_galva {font-size: 0.5em;}
    .lapas_galva img{height: 10% !important;}
    .obj_nos {font-size: 1em !important;}
    #lapas_galva_title {font-size: 2em !important; margin-bottom: 0px;}
    #pirmais_novads  {font-size: 0.5em !important; margin-top: 0em;}
    
    #jaunakas_galerijas_title {font-size: 0.8em; margin: 0 auto;}
    .jaunakas_galerijas a img { margin: 0 1%; display: inline-block; width: 31%;}
    .jaunakas_galerijas a span {display: inline-block; width: 100%; font-size: 0.8em;}
    #footer {display: none;}
    #social_buttons {display: none;}
}

#svariga_informacija{display:block; margin: 0 0 1em 0;}
#svariga_informacija img {display:inline-block;}

.sporta_stat td {
    padding: 0.2em !important;
}
table td {padding: 0.2em !important;}
table td p{padding: 0; text-indent:0 !important;}

#left_baners {width:100%; text-align:center; margin-top:1em;}
#left_baners a{margin-top:1em; display: inline-block;}


/*jaunie kontakti*/
.personas_logo { float: right; margin-bottom:1em;}
.kontakti ul{ overflow: auto;}
.kontakti li{ list-style-type:none !important; overflow: auto !important; }

.kontakti {padding:0; margin:0; list-style-type:none;}
.kontakti .kontakti_cilveks{padding:0; margin:1.2em 0 1em 0; list-style: outside disc;}
.kontakti_cilveks .amats{width:100%; display: inline-block; font-weight: bold; font-size: 1.1em;}
.kontakti_cilveks .vards_uzvards{width:100%; display: inline-block; padding:0 0 0 2em; font-size: 1.1em; line-height: 1.3em;}
.kontakti_cilveks .cilveka_apraksts {width:100%; display: inline-block; padding-left:2em ;}
.kontakti_cilveka_kontakti {margin:0 0 0 1em;}
.kontakti_cilveka_kontakti li{ padding-left:1em; line-height: 1.3em;}

.kontaktu_tabula {margin-top:0.5em !important;}
.kontaktu_tabula td {padding:0.5em !important; line-height: 1.3em;}
.kontaktu_grupas_nosaukums_tabula {background-color: #ebebeb; font-weight: bold; padding: 0.5em 1em !important;}
/*.telefons {letter-spacing: 1px;}*/
/*.fakss {letter-spacing: 1px;}*/
/*.kontakti_grupa_holder span{*/
    /*background-color: rgba(222, 238, 189, 0.65);*/
    /*font-weight: bold;*/
    /*width:90%; margin-right:10%; display: inline-block; padding:0.3em 1em;}*/
.kontakti_grupa{ }
.kontaktu_grupas_nosaukums {font-weight: bold; margin:1em 0 0 0; font-size: 1.1em;
    display: inline-block;}

.kontakti a[href^="mailto:"] {
    background-attachment: scroll;
    background-color: transparent;
    background-image:unset;
    display: inline-block;
    padding-left:0;
    width:100%;
    text-decoration: none;
    color:#000;
}

.kontakti a[href^="mailto:"]:hover {
    color: red;
}

.kwww{width:unset !important;}

#tabs {margin-top: 0.5em; width:100%; display:block;}

.kontaktu_tabula span { display: inline-block; width:100%;}

.kontakti .telefons, .kontaktu_tabula .telefons {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../../../img/telefons.png");
    background-origin: padding-box;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto auto;
    line-height: 18px;
    padding-left: 22px;
}

.kontakti .fakss, .kontaktu_tabula .fakss{
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../../../img/fakss.png");
    background-origin: padding-box;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto auto;
    line-height: 18px;
    padding-left: 22px;
}

.kontakti .kwww, .kontaktu_tabula .kwww {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../../../img/www.png");
    background-origin: padding-box;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto auto;
    display: inline-block;
    line-height: 18px;
    padding-left: 22px;
}
.gps {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../../../img/karte.png");
    background-origin: padding-box;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto auto;
    display: inline-block;
    line-height: 18px;
    padding-left: 22px;
}

.kontakti a[href^="mailto:"], .kontaktu_tabula .kontakti a[href^="mailto:"] {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../../../img/aploksne.png");
    background-origin: padding-box;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto auto;
    display: inline-block;
    line-height: 18px;
    padding-left: 22px;
}

/*personas*/


.personas_kontakti .show_more span { display: inline-block; margin: 0.2em 1.3em;
//background-color: #795548;
}
.personas_kontakti .gps {margin-bottom: 1em;}
.personas_kontakti .show_more a{
//background-color: #795548;
    padding: 0.1em 0 0.1em 1em;
    margin: 0 1em 0 0;
    text-decoration: none;
    color:#000;
    display: inline-block;
}


.persona #map{
    min-height: 400px !important;
    margin-top: 0.5em;
    z-index: 0;
}


.persona {
//margin-bottom:1em; display: inline-block;
    box-shadow: none;
//line-height: 1em;
    width:96%;
    padding: 2%;
    display: inline-block;
    -webkit-box-shadow: 3px 3px 11px 1px rgba(114, 114, 114, 0.82);
    box-shadow: 3px 3px 11px 1px rgba(114, 114, 114, 0.82);
    margin-bottom: 1em;
}
.persona .obj_nos {margin-top: 0 !important;}
address{	margin-bottom: 0.5em !important;}
/*jaunie kontakti*/
.personas_logo { float: right; margin-bottom:1em; display: inline-block; width:300px;text-align: center;}

.kontakti ul{ overflow: auto;}
.kontakti li{ list-style-type:none !important; overflow: auto !important; }

.kontakti {padding:0 0 1em 0; margin:0; list-style-type:none;}
.kontakti .kontakti_cilveks{padding:0; margin:1.2em 0 1em 0; list-style: outside disc;}
.kontakti_cilveks .amats{width:100%; display: inline-block; font-weight: bold; font-size: 1.1em;}
.kontakti_cilveks .vards_uzvards{width:100%; display: inline-block; padding:0 0 0 2em; font-size: 1.1em; line-height: 1.3em;}
.kontakti_cilveks .cilveka_apraksts {width:100%; display: inline-block; padding-left:2em ;}
.kontakti_cilveka_kontakti {margin:0 0 0 1em;}
.kontakti_cilveka_kontakti li{ padding-left:1em; line-height: 1.3em;}

.kontaktu_tabula {margin-top:0.5em !important; width:100%; display:inline-block;}

.ct_row {display: flex; flex-direction: row; flex-wrap: wrap; border-top: 1px solid #ebebeb; margin-bottom: 0.5em; padding:0.5em 0; }
.ct_row div {text-align: left; flex-basis: 25%;}
.ct_amats{}
.ct_vards{}
.ct_amats_vards, .ct_kontakti_no_apr{flex-basis:50%;}
.ct_kontakti{}
.ct_apr{}

@media only screen and (max-width: 960px) {
    .ct_amats {}
    .ct_amats, .ct_vards{flex:100% !important;}

}
.kontaktu_grupas_nosaukums_tabula {background-color: #ebebeb; font-weight: bold; padding:1em; width:100%;}


//.kontaktu_tabula td {line-height: 1.3em;} //padding:0.5em !important;
//.kontaktu_tabula tr:first-child {padding:0.5em 0.5em 0.5em 0 !important; line-height: 1.3em;}


.kontakti_grupa{ }
.kontaktu_grupas_nosaukums {font-weight: bold; margin:1em 0 0 0; font-size: 1.1em;
    display: inline-block;}

.kontakti a[href^="mailto:"] {
    background-attachment: scroll;
    background-color: transparent;
    background-image:unset;
    display: inline-block;
    padding-left:0;
    width:100%;
    text-decoration: none;
    color:#000;
}

.kontakti a[href^="mailto:"]:hover {
    color: red;
}

.kwww{width:unset !important;}

#tabs {margin-top: 0.5em; width:100%; display:block;}

.kontaktu_tabula span { display: inline-block; width:100%;}

.kontakti .telefons, .kontaktu_tabula .telefons {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../../../img/telefons.png");
    background-origin: padding-box;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto auto;
//line-height: 18px;
    line-height: 20px;
    padding-left: 22px;
}

.kontakti .fakss, .kontaktu_tabula .fakss{
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../../../img/fakss.png");
    background-origin: padding-box;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto auto;
//line-height: 18px;
    line-height: 20px;
    padding-left: 22px;
}

.kontakti .kwww, .kontaktu_tabula .kwww {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../../../img/www.png");
    background-origin: padding-box;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto auto;
    /*display: inline-block;*/
//line-height: 18px;
    line-height: 20px;
    padding-left: 22px;
}
.gps {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../../../img/karte.png");
    background-origin: padding-box;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto auto;
    /*display: inline-block;*/
//line-height: 18px;
    line-height: 20px;
    padding-left: 22px;
}

.kontakti .Facebook{
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../../../img/facebook.png");
    background-origin: padding-box;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto auto;
    /*display: inline-block;*/
//line-height: 18px;
    line-height: 20px;
    padding-left: 22px;
}
.kontakti .youtube{
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../../../img/youtube.png");
    background-origin: padding-box;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto auto;
    /*display: inline-block;*/
//line-height: 18px;
    line-height: 20px;
    padding-left: 22px;
}


.kontakti a[href^="mailto:"], .kontaktu_tabula a[href^="mailto:"], a[href^="mailto:"] {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../../../img/aploksne.png");
    background-origin: padding-box;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto auto;
    /*display: inline-block;*/
//line-height: 18px;
    line-height: 20px;
    padding-left: 22px;
}

#vardadienas {
    padding: 0 0 0 1em;
//font-style: italic;
}
#vardi {font-size:1.2em; font-weight: bold; font-style: normal;}
.l_galery_box{background-color:#6B9035;
    padding:1em;
    margin:1em 0 0 0;
    text-align: center;
    width:100%;
}
.l_galery_box a {display: inline-block;
    text-align: left;
    color:#FFF;
    width:100%; display: inline-block;
    text-decoration: none;
}

a:focus {border:4px solid #FFF;}

.l_galery_box a:focus{border:2px solid #FFF;}
.l_galery_box a:hover{text-decoration: underline;}

.l_galery_box a span { width:100%; padding-top: 100%; display: inline-block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.obj_saturs p {
    padding: 0;
    width: 100%;
//font-size: 1.1em;
//line-height: 1.65em;
    margin:0 0 0.5em 0;
    text-align: justify;
}