#soc_media{float: right; margin-right: 2em;}
#soc_media a{display: inline-block; margin-right: 1em;}
#soc_media img{display: inline-block;}

.social_buttons{width: 100%; margin: 2em 0 1em 0;}
.social_buttons div{float: left;}

/*.soc-btn-facebook {width:60px; float: right; }
.soc-btn-facebook:first-child {position: absolute; width:none;}
*/
.soc-btn-draugiem {padding-top: 5px;  margin-right: 1em;}
.soc-btn-twitter {padding-top: 5px;  margin-right: 1em;}
.soc-btn-print {float: right; padding: 5px 5px 0 0; display: inline-block;}
.fb-share-button{padding-top: 5px;  margin-right: 1em;}

.obj_galerija span{margin: 0 2px 6px 0; padding: 0; display: inline-block;}

.dati_sagatavoti{color:#E4E4E4; font-size: 0.8em;}
.dati_sagatavoti a{color:#E4E4E4;}

.obj_nos{margin-bottom: 0.2em; color:#5B491E;}
.obj_nos a{text-decoration: none !important; color:#222222; color:#5B491E;}
.obj_nos a:hover{ color:red;}
.obj_datums {background-image: url("../img/calendar.png");
    background-repeat: no-repeat;
    display: inline-block;
    min-height: 20px;
    padding: 0 25px;
    font-size: 1em;
    font-weight: bold;
    color:#45382c;
    margin-bottom: 0.3em; 

}

.raksta_nos{color:#5B491E;}
.raksta_datums{background-image: url("../img/calendar.png");
    background-repeat: no-repeat;
    display: inline-block;
    min-height: 21px;
    padding:0.4em 0 0 1.5em;
    line-height: 1em !important;
    font-size: 0.8em !important;
    font-weight: bold;
    color:#45382c;
    margin:0 0 0.2em 1em; 
}
.norises_vieta{margin-left: 2em; font-weight: normal;}
.obj_saturs {margin-top: 0.2em;}

.brivdiena{background-color: #EBEBEB;}
.sodiena {background-color: #B9C998;}
.selected_date{background-color: #EBDE03;}

.saraksta_persona{ width:100%; display: inline-block; margin-bottom: 2em;}
.saraksta_persona_logo{display: inline-block; width:15%; float: left; text-align: center;}
.saraksta_persona_dati {display: inline-block; margin-left: 2%; width:83%;}
.saraksta_pers_dati2 {display: inline-block; width:70%;}

.saraksta_persona_nos{display: inline-block; font-weight: bold; float: left; color:#5B491E; text-decoration: none; font-size: 1.2em;}
.saraksta_persona address{display: inline-block; float: left; color:#5B491E; 
    text-decoration: none; margin: 0 !important; padding:0 !important; font-size: 1em; width: 100%;}
.saraksta_persona_kontakti {display: inline-block; font-size: 0.9em;}
.saraksta_pers_atslegv{display: inline-block; float: right; width:29%; line-height: 1.2em; font-size: 0.9em; padding-left:1%;}

.sp_show_more { text-align:right; width:100%;  display: inline-block;}
.sp_show_more  a {
background-color: #d8d8d8;
color:#795548;
padding: 0.5em;
text-decoration: none;}

.sp_www {
    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;
}

.sp_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;
    display: inline-block;
    line-height: 18px;
    padding-left: 22px;
    margin-right: 1em;
}

.cbooking {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../img/gulta.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;
    margin-right: 1em;
}

.sp_epasts {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("../img/aploksne.png") !important;
    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;
    margin-right: 1em;
}


#iepirkumi_table a{ text-decoration: none;  }
.iepirkums_detalas a{ text-decoration: none;  }
.iepirkums_detalas { margin-top: 1em;  }
.iepirkums_detalas td{padding: 0.2em 1em;}

.video_links{ margin:1em; display: inline-block;}
.video_links img{display: inline-block;}


#pasakumu_navigacija{width:100%; display: inline-block;}
#pasakumu_view {margin: 0 0 1em 0; display: inline-block; float:left;  text-align: center;}
#pasakumu_view li{float:left; list-style: none;margin-left: 1em; }
#pasakumu_view li a{text-decoration: none; display: inline-block; color: #0f0f0f;}
/*#pasakumu_view li  .active {font-weight: bold;
  background-color: #E0E3E5;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  box-shadow: 0 0 1px #F5F4E0;
  padding: 0.2em;
}
*/
#pasakumu_datumu_navigacija {margin:0 0 1em 0; display: inline-block; float:right;  text-align: center;}
#pasakumu_datumu_navigacija li{float:left; list-style: none;margin-right: 1em;}
#pasakumu_datumu_navigacija li a{text-decoration: none; display: inline-block; color: #0f0f0f;}
#pasakumu_datumu_navigacija .active {font-weight: bold;
  background-color: #E0E3E5;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  box-shadow: 0 0 1px #F5F4E0;
  padding-left: 1em;
  padding-right: 1em;}




.tabs {
    margin-bottom: 24px;
    font-size: 14px;
}
.tabs ul {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    margin-top: -1px;
}
.tabs li {list-style: none;}
.tabs li em, .tabs li.active a {
    border-bottom: 1px solid #fff;

}
.tabs li em, .tabs li.active a {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #000;
    cursor: default;
    text-decoration: none;
}
.tabs em, .tabs a {
    border: 1px solid transparent;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    color: rgba(0, 0, 0, 0.5);
    display: block;
    font-style: normal;
    padding: 7px 24px;
    position: relative;
    text-decoration: none;
    top: 1px;
}


/*personas*/


.personas_kontakti .show_more span {background-color: #795548; display: inline-block; margin: 0.2em 1.3em;}
.personas_kontakti .show_more a{
background-color: #795548;
padding: 0.1em 0 0.1em 1em;
margin: 0 1em 0 0;
text-decoration: none;
color:#FFF;
display: inline-block;
}


.persona #map{
	min-height: 400px !important;
	margin-top: 0.5em;
}


.persona {margin-bottom:1em; display: inline-block; width:100%;}
address{	margin-bottom: 0.5em !important;}
/*jaunie kontakti*/
.personas_logo { float: right; margin-bottom:1em; display: inline-block;}
.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 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;
    padding-left: 22px;
}

/*kalendariem*/

#calendar_holder {
    padding:0.2em;
    margin-bottom:0.5em;
}

.calendar_content_table{
    margin-bottom: 0.2em;
    padding: 0;
}
.calendar_content_table td{
    /*width: 1em !important;*/
    /*height: 1em !important;*/
    padding: 0.2em !important;
    vertical-align: top;
    text-align: center;
}

#calendar a { text-decoration: none;}
#calendar_header {text-align: center;}
#calendar_header select{
    padding: 0.2em !important;
    line-height: 1.65em;

}
.k_poga{}

#calendar_header {margin-bottom: 0.3em;}
#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;
}

@media screen and (max-width: 1460px) {
    #k_menesis{max-width: 80px;}
}

@media screen and (max-width: 1400px) {
    #k_menesis{max-width: 70px;}
}

@media screen and (max-width: 1350px) {
    #k_menesis{max-width: 60px;}
}

@media screen and (max-width: 1300px) {
    #k_menesis{max-width: 50px;}
}
@media screen and (max-width: 1250px) {
    #k_gads{max-width: 50px;}
}

@media screen and (max-width: 1200px) {
    .k_poga{font-size: 10px;}
    #calendar a {font-size: 12px;}
}
@media screen and (max-width: 1150px) {
    .k_poga{font-size: 8px;}
}
@media screen and (max-width: 1120px) {
    .k_poga{font-size: 5px;}
}
@media screen and (max-width: 1050px) {
    .k_poga{display: none}
    calendar a {font-size: 10px;}
}

@media screen and (max-width: 850px) {
    calendar a {font-size: 8px;}
}

.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{}