*, *::befoore, *::after {
  box-sizing: inherit;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
}

body, #page {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  overflow-X: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#galva {
  width: 100%;
}
#galva a {
  text-decoration: none;
  cursor: pointer;
  color: #000;
}

#head-container, #main-menu-container {
  width: 100%;
  margin: 0 auto;
}
#head-container .wrapper, #main-menu-container .wrapper {
  max-width: 1420px;
  display: flex;
  justify-content: center;
}
#head-container li, #main-menu-container li {
  list-style: none;
}

#head-container {
  position: fixed;
  z-index: 10000;
}
@media (max-width: 950px) {
  #head-container .wrapper {
    flex-direction: column;
  }
}
#head-container .i-map-simple-marker-line-mans, #head-container .i-eye, #head-container .i-feel, #head-container .i-bed, #head-container .i-eating, #head-container .i-kofers, #head-container .i-search {
  margin-right: 0.1em;
}
#head-container #main-menu {
  display: flex;
  flex-direction: column;
  flex-flow: row wrap;
  justify-content: space-between;
  margin: 0px;
  padding: 0px;
}
#head-container #main-menu li {
  display: block;
  float: left;
  padding: 0 0.5em;
  margin: 0;
  align-self: center;
}
#head-container #main-menu li a {
  padding: 1em 0.5em;
  text-decoration: none;
  display: block;
  position: relative;
  color: #542c84;
  font-weight: bold;
  font-size: 1.2em;
}
#head-container #main-menu li ul {
  padding: 0;
}
#head-container #main-menu > li a {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#head-container #main-menu > li a i {
  margin-bottom: 8px;
}
#head-container #main-menu > li > a:hover:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 5px;
  background-color: #F8D85E;
}
#head-container #main-menu > li:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  display: block;
  height: 40px;
  width: 1px;
  background-color: #eee;
}
#head-container #main-menu #search-link-container:after {
  content: none;
}
#head-container #main-menu .submen {
  visibility: hidden;
  position: absolute;
  width: 100%;
  background-color: #fff;
}
#head-container #main-menu .submen .wrapper {
  text-align: left;
  padding: 0 0 1em 0;
}
#head-container #main-menu .submen .wrapper ul {
  margin: 0;
  padding: 0;
  width: 100%;
}
#head-container #main-menu .submen .wrapper li {
  float: left;
}
#head-container #main-menu .submen .wrapper li a {
  padding: 0.5em;
}
#head-container #main-menu .submen .wrapper li a div {
  width: 150px;
  height: 150px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 0.3em;
}
#head-container #main-menu .i-caret-down {
  visibility: hidden;
  position: absolute;
}
@media screen and (max-width: 1400px) {
  #head-container #main-menu li {
    padding: 0.1em;
  }
  #head-container #main-menu li a {
    font-size: 1.1em;
    padding: 1em 0.4em;
  }
}
@media screen and (max-width: 1180px) {
  #head-container #main-menu > li {
    padding: 0em;
  }
  #head-container #main-menu > li a {
    font-size: 1em;
  }
}
@media screen and (max-width: 1024px) {
  #head-container #main-menu > li a {
    font-size: 1em;
  }
}
#head-container #logo-link-container {
  padding: 0.5em;
  background-color: #542c84;
  display: flex;
  flex-direction: row;
  align-items: center;
}
#head-container #logo-link-container #logo-link {
  display: flex;
  flex-direction: row;
  padding: 0 10px;
  max-width: 100%;
}
@media screen and (max-width: 1180px) {
  #head-container #logo-link-container {
    width: 250px;
  }
}
@media screen and (max-width: 1024px) {
  #head-container #logo-link-container {
    width: 210px;
  }
}
@media screen and (max-width: 950px) {
  #head-container #logo-link-container {
    width: 100%;
    visibility: visible;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  #head-container #logo-link-container #logo-link {
    margin: 0.5em;
  }
}
@media screen and (max-width: 460px) {
  #head-container #logo-link-container #logo-link-container {
    width: 100%;
    max-width: unset;
  }
  #head-container #logo-link-container #menu-icon {
    padding: 45px 10px 45px 0;
  }
  #head-container #logo-link-container #logo-link {
    max-width: 80%;
  }
}
#head-container #head-soc {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: unset;
  margin-right: 2em;
}
#head-container #head-soc > li {
  float: left;
  margin-left: 1em;
  display: flex;
}
#head-container #head-soc img {
  max-width: 32px;
}
@media screen and (max-width: 1400px) {
  #head-container #head-soc {
    margin-right: 1em;
  }
  #head-container #head-soc > li {
    margin-left: 0.5em;
  }
}
@media screen and (max-width: 950px) {
  #head-container #main-menu {
    order: 3;
  }
  #head-container #main-menu li {
    width: 100%;
  }
  #head-container #main-menu .active {
    background-color: #f8d85d;
  }
  #head-container #main-menu > li {
    visibility: hidden;
    position: absolute;
    background-color: #e5e5e5;
    border-bottom: 1px solid #CCC;
  }
  #head-container #main-menu > li .i-caret-down, #head-container #main-menu > li .i-cross {
    visibility: inherit;
    float: right;
    display: inline-block;
    margin-top: 20px;
    width: 10%;
    cursor: pointer;
  }
  #head-container #main-menu > li a {
    float: left;
    width: 90%;
    flex-direction: row;
  }
  #head-container #main-menu > li a i {
    width: 40px;
    margin-left: 0.5em;
  }
  #head-container #main-menu > li a:hover:before {
    content: none;
  }
  #head-container #main-menu > li ul {
    display: inline-block;
  }
  #head-container #main-menu > li li {
    border-bottom: 1px solid #CCC;
  }
  #head-container #main-menu > li > ul li {
    background-color: #f3f0f0;
  }
  #head-container #main-menu > li > ul li ul li {
    background-color: #FFF;
  }
  #head-container #search-link-container {
    display: none;
  }
  #head-container #head-soc {
    width: 100%;
    order: 2;
  }
  #head-container #chosed_lang {
    visibility: hidden;
    position: absolute;
  }
  #head-container #chose_lang_box {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 0;
    box-shadow: none;
  }
}

#search-box {
  margin: 1em;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: left;
}
#search-box input {
  width: 250px;
  padding: 0.5em 1em;
}
#search-box button {
  padding: 0.5em 1em;
  margin-left: 0.5em;
  color: #5e5e5e;
  cursor: pointer;
}

#text-size span:nth-child(2) {
  font-size: 92%;
}

#text-size span:nth-child(3) {
  font-size: 84%;
}

.wrapper {
  max-width: 1420px;
  margin: 0 auto;
}

#main-menu-container {
  box-shadow: 0 2px 18px #00000026;
  background-color: #542c84;
  top: 0px;
}
#main-menu-container .wrapper {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
}

#chose_lang_box {
  visibility: hidden;
  position: absolute;
  display: inline-block;
  width: 64px;
  box-shadow: 0 2px 18px #00000026;
  margin: 1.5em 0 0 0;
  padding: 0;
  z-index: 100001;
  background-color: #fff;
}
#chose_lang_box li {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
  display: inline-block;
}
#chose_lang_box li a {
  width: 100%;
  padding: 0.5em 1em;
  display: inline-block;
  height: 35px;
}

#chosed_lang svg, #chose_lang_box svg {
  border: 1px solid #CCC;
}
#chosed_lang svg, #chosed_lang a, #chose_lang_box svg, #chose_lang_box a {
  width: 32px;
  height: 22px;
}
#chosed_lang a:hover, #chose_lang_box a:hover {
  background-color: #eaeaea;
}

@media screen and (max-width: 950px) {
  #head-container {
    position: relative;
  }

  #main-menu-container {
    position: relative;
  }
}
@media screen and (max-width: 460px) {
  #menu-icon {
    padding: 45px 25px;
  }

  #logo-link {
    margin: 0.5em 0.5em;
  }
}
#search-container {
  width: 100%;
  visibility: hidden;
  position: absolute;
  background-color: #f8d85d;
}
#search-container .wrapper {
  background-color: #f8d85d;
  padding: 0.5em 0;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
#search-container input {
  padding: 0.25em;
  font-size: 1.5em;
  width: 50%;
}
#search-container button {
  padding: 0 1.5em;
  cursor: pointer;
}
@media screen and (max-width: 950px) {
  #search-container input {
    padding: 0.25em;
    font-size: 1.5em;
    width: 70%;
    float: left;
    position: relative;
  }
  #search-container button {
    width: 15%;
    float: left;
    position: relative;
  }
}

#chose_text_size_box {
  visibility: hidden;
  position: absolute;
  display: inline-block;
  width: 80px;
  box-shadow: 0 2px 18px #00000026;
  margin: 1.5em 0 0 0;
  padding: 0;
  z-index: 100001;
  background-color: #fff;
}
#chose_text_size_box li {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
}
#chose_text_size_box li a {
  padding: 0.5em 1em;
  display: block;
}
#chose_text_size_box li a:hover {
  background-color: #eaeaea;
}

.font_siz1 {
  font-size: 95% !important;
}

.font_siz2 {
  font-size: 104% !important;
}

.font_siz3 {
  font-size: 107% !important;
}

#chose_contrast_box {
  visibility: hidden;
  position: absolute;
  display: inline-block;
  width: 50px;
  box-shadow: 0 2px 18px #00000026;
  margin: 1.5em 0 0 0;
  padding: 0;
  z-index: 100001;
  background-color: #fff;
}
#chose_contrast_box li {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
}
#chose_contrast_box li a {
  padding: 0.5em 1em;
  display: block;
}

.contr1 {
  background-color: #FFF !important;
  color: #000 !important;
}

.contr2 {
  background-color: #000 !important;
  color: #FFF !important;
}

.contr3 {
  background-color: #FFFF00 !important;
  color: #000 !important;
}

.contr4 {
  background-color: #000 !important;
  color: #FFFF00 !important;
}

#main_intor_galerija_container {
  width: 100%;
  text-align: center;
  overflow: hidden;
}
#main_intor_galerija_container ul {
  margin: 0;
  padding: 0;
  min-height: 500px;
  width: 100%;
  background-color: #f3ec5d;
}
#main_intor_galerija_container .wrapper {
  max-width: 100%;
  position: relative;
}
#main_intor_galerija_container #m_gal_bullets {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}
#main_intor_galerija_container #m_gal_bullets a {
  border-radius: 30px;
  background-color: #542c84;
  margin: 1em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}
@media screen and (max-width: 1400px) {
  #main_intor_galerija_container #m_gal_bullets a {
    margin: 0.4em;
  }
}
#main_intor_galerija_container .slide {
  font-size: 3em;
  font-weight: bold;
  color: #FFF;
}
#main_intor_galerija_container .slide a {
  font-weight: bold;
  color: #FFF;
  text-decoration: none;
}
#main_intor_galerija_container .active {
  border: 8px solid #542c84;
  background-color: #f8d85d !important;
}

#m_gal_left, #m_gal_right {
  background-color: #2fc4b6;
  position: absolute;
  width: 10%;
  height: 100%;
  top: 0;
}

#m_gal_left {
  left: 0;
}

#m_gal_right {
  right: 0;
}

.intro_title {
  margin: 1em auto;
  text-align: center;
  font-weight: bold;
  color: #542c84;
  font-size: 2em;
  position: relative;
}
.intro_title span {
  background-color: #FFF;
  padding: 0 1em;
}

.intro_title:before {
  border-top: 10px solid #a7a0b1;
  content: "";
  margin: 0 auto;
  /* this centers the line to the full width specified */
  position: absolute;
  /* positioning must be absolute here, and relative positioning must be applied to the parent */
  top: 12px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

#intro_box1 a:nth-child(1), #intro_box1 a:nth-child(4) {
  flex-basis: 63%;
}
@media (max-width: 950px) {
  #intro_box1 a:nth-child(1), #intro_box1 a:nth-child(4) {
    flex-basis: 47%;
  }
}
@media (max-width: 460px) {
  #intro_box1 a:nth-child(1), #intro_box1 a:nth-child(4) {
    flex-basis: 98vw;
  }
}

.intro_box {
  width: 100%;
  margin: 1em 0 0 0;
  padding: 0;
  background-color: #FFF;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.intro_box li {
  display: inline-block;
  vertical-align: top;
  float: left;
  position: relative;
  margin: 0;
  padding: 0;
  height: 300px;
  flex-basis: 32%;
  float: left;
  background-color: #f3f3f3;
  text-decoration: none;
  margin: 1% 0.5% 0 0.5%;
}

.intro_box li a {
  display: inline-block;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  vertical-align: top;
  background-size: cover;
  color: #FFF;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.intro_box li a span {
  display: block;
  height: 75%;
  width: 100%;
  margin: 0;
  padding: 0;
  vertical-align: top;
  background-size: cover;
}

.intro_box li a h3 {
  display: inline-block;
  width: 96%;
  margin: 0%;
  font-weight: bold;
  font-size: 1em;
  vertical-align: bottom;
  background-color: #FFF;
  color: #3a3a39;
  position: absolute;
  bottom: 0px;
  left: 0px;
  min-height: 65px;
  font-family: "Open Sans", sans-serif;
  padding: 0.4em 2%;
}

.intro_more {
  width: 98%;
  text-align: right;
}

.intro_more a {
  text-decoration: none;
  color: #836E6E;
  font-weight: bold;
  font-size: 1.2em;
}

/*pers intro*/
.section_data_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.pers_intro {
  flex-basis: 24%;
  float: left;
  text-decoration: none;
  display: inline-block;
  margin: 1% 0.5% 0 0.5%;
  height: 400px;
}

.pers_intro_logo {
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 80%;
  float: left;
}

.pers_intro_nos {
  float: left;
  font-size: 1em;
  font-weight: bold;
  color: #542c84;
  height: 20%;
  overflow: hidden;
}

.pers_intro:hover {
  transform: scale(1.02);
}

/*$mxl:1442px;
$ml:1204px;
$mm:1024px; //1204
$ms:768px; //768
$mxs:368px;*/
@media screen and (max-width: 920px) {
  .pers_intro {
    flex-basis: 32%;
  }
}
/* beradcrumb*/
.my_breadcrumb {
  padding: 1em 0;
}

#breadcrumb_submenu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: #F8D85E;
}
#breadcrumb_submenu a {
  display: inline-block;
  padding: 0.5em;
  text-decoration: none;
  color: #000000;
  border-radius: 7px;
  background-color: #f1f1f3;
  margin: 0.2em 0.5em;
}
#breadcrumb_submenu a:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
#breadcrumb_submenu .active {
  background-color: #CCC;
}

#sub-menu-cards-container {
  wdith: 100%;
  padding-top: 1em;
}

.cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  flex-basis: 31%;
  float: left;
  height: 400px;
  margin: 0 1% 1em 1%;
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
@media (max-width: 950px) {
  .card {
    flex-basis: 47%;
    height: 300px;
  }
}
@media (max-width: 460px) {
  .card {
    flex-basis: 98vw;
    border: 1px solid #CCC;
    border-collapse: collapse;
    margin: 0.5em;
    height: 300px;
    margin-bottom: 1vw;
  }
  .card td, .card th {
    border: 1px solid #CCC;
    padding: 0.5em;
  }
  .card td p, .card th p {
    padding: 0;
    text-indent: 0 !important;
  }
}
.card span {
  display: block;
}
.card .card-calendar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  padding: 0.5em 3%;
  font-size: 1.5em;
  background-color: #542c84;
  color: #f8d85d;
}
.card .card-calendar .i-calendar {
  margin: 0;
  padding: 0;
}
.card .card-calendar .i-calendar:before {
  margin-right: 0.5em;
}
.card .card-cover {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 60%;
  width: 100%;
  background: linear-gradient(180deg, rgba(11, 14, 22, 0), rgba(11, 14, 22, 0.052) 15%, rgba(11, 14, 22, 0.9) 75%);
}
.card .card-title {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1em;
  font-size: 1.5em;
  color: #FFF;
  width: 100%;
}
@media screen and (max-width: 920px) {
  .card .card-title {
    font-size: 1.3rem;
  }
}
.card .card-title .i-location {
  font-size: 0.8em;
  color: #f8d85d;
}
.card .card-title .i-location:before {
  margin-right: 0.5em;
  font-size: 0.8em;
}

.card:hover {
  transform: scale(1.02);
}

.c1 {
  width: 100%;
  padding: 0 1%;
}

.header-title-container {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  display: block;
  text-align: center;
  margin-top: 94px;
}
@media screen and (max-width: 950px) {
  .header-title-container {
    margin-top: 0;
  }
}
.header-title-container div {
  text-align: left;
}
.header-title-container .wrapper {
  max-width: 1420px;
}
.header-title-container .my_breadcrumb {
  padding: 1em 0 0 0;
  color: #542c84;
}
.header-title-container .my_breadcrumb a {
  color: #542c84 !important;
  font-size: 1.2em;
}
.header-title-container .my_breadcrumb a:hover {
  text-decoration: underline !important;
}
.header-title-container .my_breadcrumb i {
  margin: 0.7em;
  font-size: 1.2em;
}
.header-title-container h1 {
  color: #542c84;
  font-size: 2.2em;
  margin: 0.3em 0;
  padding: 0;
}

.pager_box {
  width: 100%;
  display: inline-block;
}

.pager {
  font-size: 0.875em;
  font-weight: normal;
  text-transform: none;
  margin-top: 20px;
  margin-bottom: 20px;
}

.pager a, .pager span {
  float: left;
  padding: 8px 16px;
  border: 1px solid rgba(17, 17, 19, 0.1);
  border-right-color: transparent;
  color: #111113;
  text-decoration: none;
  line-height: 1.4;
}

#footer {
  width: 100%;
  background-color: #542c84;
  min-height: 280px;
  color: #FFF;
  position: relative;
}
#footer #bottom-castle {
  margin-top: 15%;
  max-width: 40%;
}
#footer .wrapper {
  padding: 1em;
  display: flex;
}
@media screen and (max-width: 950px) {
  #footer .wrapper {
    flex-direction: column;
  }
}
#footer .wrapper > div:first-of-type a {
  display: flex;
  max-width: 65%;
  margin: 0 auto;
  justify-content: center;
}
#footer .wrapper h2 {
  width: 80%;
  margin: 1em 0;
}
#footer .wrapper > div {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 33%;
  margin-bottom: 1em;
}
#footer .wrapper a {
  color: #fff;
  text-decoration: none;
  line-height: 1.5em;
}
#footer .wrapper .ftic {
  font-size: 1.2em;
  font-weight: bold;
  display: inline-block;
  margin: 0 0 0.5em 0 !important;
}
#footer .wrapper ul li {
  list-style: none;
  padding-left: 1em;
}
#footer .wrapper .f_soc_media {
  display: flex;
  flex-direction: row;
  margin-top: 1em;
}
#footer .wrapper .f_soc_media a {
  font-size: 3em;
}
@media screen and (max-width: 950px) {
  #footer .wrapper > div {
    text-align: center;
  }
  #footer .wrapper .f_soc_media {
    justify-content: center;
  }
}

#viss-lv {
  color: #0a6aa1;
  position: absolute;
  right: 50px;
  bottom: 20px;
}

.personas_logo {
  float: right;
  width: 500px;
  margin: 0 0.5em 1em 1em;
  position: relative;
}

.objekts {
  width: 100%;
}

.raksts .raksta_datums {
  width: 100%;
  font-size: 1.2em;
  font-weight: bold;
  color: #542c84;
  padding: 0 1em 1em 1em;
  display: block;
}
.raksts .raksta_datums i {
  margin-right: 0.5em;
  font-size: 1.1em;
}
.raksts .obj_saturs p {
  display: inline-block !important;
  width: 100%;
}

.pasakums .obj_datums {
  width: 100%;
  font-size: 1.2em;
  font-weight: bold;
  color: #542c84;
  padding: 0 1em 1em 1em;
  display: block;
}
.pasakums .obj_datums i {
  margin-right: 0.5em;
  font-size: 1.1em;
}
.pasakums .obj_datums .norises_vieta {
  margin-left: 2em;
}
.pasakums .obj_saturs p {
  display: inline-block !important;
  width: 100%;
}

.persona {
  margin-bottom: 1em;
  width: 100%;
}

.objekts .kontakti li:first-of-type {
  margin-bottom: 1em;
}
.objekts .kontakti li {
  display: flex;
  list-style: none;
}
.objekts .kontakti li i {
  width: 40px;
  display: inline-block;
  margin-bottom: 0.3em;
  font-size: 1.2em;
  color: #542c84;
}
.objekts .kontakti li a {
  text-decoration: none;
  color: #000;
}

.pers_head {
  width: 100%;
  padding: 1em 1%;
}
@media (max-width: 950px) {
  .pers_head {
    padding: 1em 0;
  }
}
.pers_head .pers_head_img {
  width: 38%;
  margin: 0 0 1.5em 1.5em;
  float: right;
  display: flex;
  flex-direction: column;
}
.pers_head .pers_head_img .pers_logo {
  width: 100%;
  padding-bottom: 63%;
  background-position: center center;
  background-size: cover;
}
.pers_head .pers_head_img .lb-small {
  margin-top: 1em;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.pers_head .pers_head_img .lb-small a {
  flex-basis: 31%;
  padding-bottom: 31%;
  background-position: center center;
  background-size: cover;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .pers_head .pers_head_img {
    width: 49%;
  }
}
@media (max-width: 950px) {
  .pers_head .pers_head_img {
    width: 100%;
  }
  .pers_head .pers_head_img .lb-small {
    display: none;
  }
}
.pers_head .p_head_data {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 56%;
  padding: 0 1%;
  justify-content: space-between;
}
.pers_head .p_head_data .kontakti_container {
  flex-basis: 60%;
}
@media (max-width: 1024px) {
  .pers_head .p_head_data .kontakti_container {
    flex-basis: 100%;
  }
}
.pers_head .p_head_data .darbalaiki_container {
  flex-basis: 38%;
}
@media (max-width: 1024px) {
  .pers_head .p_head_data .darbalaiki_container {
    flex-basis: 100%;
  }
}
.pers_head .p_head_data .darbalaiki_container .darba_laiki > li {
  margin-bottom: 1em;
}
.pers_head .p_head_data .darbalaiki_container .darba_laiki li {
  list-style: none;
}
.pers_head .p_head_data .darbalaiki_container .darba_laiki li i {
  width: 40px;
  display: inline-block;
  margin-bottom: 0.5em;
  font-size: 1.2em;
  color: #542c84;
}
.pers_head .p_head_data .darbalaiki_container .darba_laiki span {
  padding-right: 1em;
  margin-right: 1em;
}
.pers_head .p_head_data .darbalaiki_container .pers_tags {
  margin-top: 1em;
  cursor: pointer;
}
.pers_head .p_head_data .darbalaiki_container .pers_tags i {
  color: #542c84;
  font-size: 2em;
  margin: 0.1em 0.3em 0.1em 0.1em;
}
@media (max-width: 1024px) {
  .pers_head .p_head_data {
    justify-content: center;
    width: 46%;
  }
  .pers_head .p_head_data .darbalaiki_container, .pers_head .p_head_data .kontakti_container {
    flex-basis: 96%;
  }
}
@media (max-width: 950px) {
  .pers_head .p_head_data {
    width: 100%;
    justify-content: space-between;
    padding: 0 3%;
  }
  .pers_head .p_head_data .darbalaiki_container, .pers_head .p_head_data .kontakti_container {
    flex-basis: 44vw;
  }
}
@media (max-width: 460px) {
  .pers_head .p_head_data {
    justify-content: center;
  }
  .pers_head .p_head_data .darbalaiki_container, .pers_head .p_head_data .kontakti_container {
    flex-basis: 98vw;
  }
}

.audio-list {
  margin: 1em 0;
  padding: 0 1em;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
}
.audio-list li {
  width: 100%;
  list-style: none;
}
.audio-list audio {
  width: 100%;
  margin: 1em 0;
}

.obj_saturs {
  width: 100%;
  padding: 0 1% 1em 1%;
  line-height: 1.6em;
  text-align: justify;
}
.obj_saturs ul {
  padding-left: 1.5em;
}
.obj_saturs p {
  text-indent: 1em;
  margin-bottom: 1em;
}
@media (max-width: 1024px) {
  .obj_saturs {
    padding: 0 2%;
  }
}
.obj_saturs h2 {
  margin-bottom: 1em;
}

.pers_map {
  margin: 1em 0;
  min-height: 400px !important;
}

.pers_info_title {
  width: 98%;
  padding: 0em;
  margin: 1em 0;
  position: relative;
  display: inline-block;
}
.pers_info_title span {
  background-color: #FFF;
  padding: 0 1em;
}
.pers_info_title i {
  float: right;
  background-color: #FFF;
  padding: 0 1em;
  cursor: pointer;
  display: none;
}
@media (max-width: 950px) {
  .pers_info_title {
    width: 100%;
    display: block;
  }
  .pers_info_title i {
    display: inline-block;
  }
}

.pers_info_title:before {
  border-top: 4px solid #e7e7e7;
  content: "";
  margin: 0 auto;
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.pers_pied {
  display: flex;
}

.obj_galerija {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2em;
}
.obj_galerija a {
  flex-basis: 150px;
  padding-bottom: 150px;
  margin: 0 1em 1em 0;
}

.slud_piedava {
  margin: 0 0 1em 1em;
  float: right;
  display: flex;
  flex-direction: column;
  width: 30%;
}
.slud_piedava .intro_box .card {
  flex-basis: 100%;
  margin: 0;
  padding: 0;
}
.slud_piedava .kontakti {
  margin-top: 1em;
}

.social_buttons {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 1em 0;
  padding: 0 1em;
}

.tabs {
  width: 100%;
  margin-top: 1em;
}

.tabs ul {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.tabs ul li {
  text-align: left;
  align-self: start;
}

.tabs ul .active {
  border-bottom: 3px solid #CCC;
}

#jump_to_page_map {
  width: 0px;
  height: 0px;
  display: inline-block;
  position: absolute;
  top: -100px;
}

#jump_to_page_map:focus {
  height: 100%;
  width: 100%;
  position: relative;
  top: 0;
}

.img_100 {
  width: 100% !important;
}

.img_50 {
  width: 50% !important;
}

.img_33 {
  width: 33% !important;
}

.img_20 {
  width: 20% !important;
}

.img_10 {
  width: 10% !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 img {
  max-width: 100%;
}

#panorama {
  background-color: #CCC;
  display: grid;
}

#panorama iframe {
  height: 100%;
  width: 100%;
}

/*Slider*/
.slider-container {
  height: 500px;
  display: inline-flex;
  overflow: hidden;
  transform: translateX(0);
  transition: transform 0.3s ease-out;
  cursor: grab;
}

.slide {
  max-height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  user-select: none;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  float: left;
}

#audio_gids_container {
  width: 100%;
  height: 100vh;
}
#audio_gids_container .wrapper {
  width: 100%;
}
#audio_gids_container #ag_places {
  width: 50%;
  float: left;
}
#audio_gids_container #ag_places img {
  max-width: 50px;
  max-height: 100%;
  float: left;
  margin: 0 1em;
  display: inline-block;
}
#audio_gids_container #ag_places span {
  display: inline-block;
}
#audio_gids_container #ag_places li {
  list-style: none;
  padding: 0.2em;
}
#audio_gids_container #ag_map {
  width: 50%;
  background-color: #0C8B56;
  float: left;
}

.izvelnes_head_map {
  margin-bottom: 1em;
}

.map_wrapper {
  min-width: 100%;
}

#map {
  width: 100%;
  min-height: 100px;
  background-color: #CCC;
}

.leaflet-popup-content-wrapper {
  min-width: 250px;
}
.leaflet-popup-content-wrapper img {
  max-width: 100%;
}

#map_filtri_title {
  background-color: #542c84 !important;
  color: #FFF;
  padding: 3% !important;
  width: 100%;
  border-radius: 5px;
  display: block !important;
}

#map_filtri_title span {
  float: right;
}

@media (max-width: 950px) {
  .is-hidden-mobile {
    display: none;
  }
}

#map_tool_box {
  font-size: 1.2em;
  padding: 1em;
  width: 260px;
  background-color: #CCC;
  border-radius: 10px;
  border: 2px solid #8a8a8a;
  overflow-x: hidden;
  margin: 30px;
}
@media (max-width: 950px) {
  #map_tool_box {
    margin: 15px;
  }
}

#map_filtri_container a {
  background-color: #FFF;
  color: #FFF;
  padding: 2px 3%;
  margin: 2px;
  display: inline-block;
  width: 100%;
  border-radius: 5px;
}
#map_filtri_container a span {
  width: 25px;
  display: inline-block;
  text-align: center;
}
#map_filtri_container a i {
  margin-right: 0.5em;
}

.disabled_izv {
  background-color: unset !important;
  color: #000 !important;
}

.leaflet-popup-content a {
  font-size: 1.5em;
}

/*mobile menu krustins*/
/* mobile menu icon */
#mmenu-show {
  display: none;
}

#menu-icon {
  cursor: pointer;
  float: right;
  padding: 0 40px;
  position: relative;
  user-select: none;
  display: none;
}

@media screen and (max-width: 950px) {
  #menu-icon {
    display: block;
    padding: 45px 35px;
  }
}
#menu-icon i {
  background: #FFF;
  display: block;
  height: 4px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 28px;
}

#menu-icon i:before,
#menu-icon i:after {
  background: #FFF;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}

#menu-icon i:before {
  top: 10px;
}

#menu-icon i:after {
  top: -10px;
}

#mmenu-show:checked ~ #menu-icon i {
  background: transparent;
}

#mmenu-show:checked ~ #menu-icon i:before {
  transform: rotate(-45deg);
  top: 0;
}

#mmenu-show:checked ~ #menu-icon i:after {
  transform: rotate(45deg);
  top: 0;
}

#gallery_back {
  background-color: rgba(0, 0, 0, 0.9);
  height: 100vh;
  width: 100%;
  position: absolute;
  z-index: 100001;
}
#gallery_back #gal_close {
  position: absolute;
  right: 0;
  top: 0;
  padding: 1em;
  color: #FFF;
  text-decoration: none;
  font-size: 2em;
  cursor: pointer;
  z-index: 100002;
}
#gallery_back #gal_previous, #gallery_back #gal_next {
  position: absolute;
  left: 2vw;
  top: 28vh;
  padding: 2vw;
  color: #FFF;
  text-decoration: none;
  font-size: 3em;
  font-weight: bold;
  cursor: pointer;
  z-index: 100002;
}
#gallery_back #gal_next {
  left: unset;
  right: 2vw;
}

#galerija {
  height: 100vh;
}

#gal_slides_container {
  height: 80vh;
  margin-top: 2vh;
  display: inline-flex;
  overflow: hidden;
  transform: translateX(0);
  transition: transform 0.3s ease-out;
  cursor: grab;
}
#gal_slides_container .gal_slide {
  max-height: 100%;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  user-select: none;
  float: left;
}
#gal_slides_container .gal_slide picture {
  max-height: 100%;
  max-width: 100%;
}
#gal_slides_container .gal_slide source {
  max-height: 100%;
  max-width: 100%;
}
#gal_slides_container .gal_slide img {
  max-height: inherit;
  max-width: 100%;
}
#gal_slides_container .gal_slide .g_b_title {
  color: #FFF;
  width: 100%;
  margin: 1em;
  padding: 1em;
  text-align: center;
}

#gal_preview_container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 1em;
  flex-wrap: nowrap;
}
#gal_preview_container a {
  padding-top: 150px;
  padding-left: 150px;
  margin: 0 0 1em 1em;
  display: block;
  cursor: pointer;
  background-position: center center;
  background-size: cover;
}

.obj_nos_full {
  margin: 1em 0;
  text-align: center;
}

.video_box {
  text-align: center;
  margin: 0 auto;
}

#cookie_warning {
  background-color: #542c84;
  border-top: 3px solid #FFF;
  color: #FFF;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 10000;
}
#cookie_warning a {
  padding: 0.5em;
  background-color: #f8d85d;
  color: #542c84;
  cursor: pointer;
  margin: 0.5em;
  display: inline-block;
  border-radius: 5px;
  text-decoration: none;
}
#cookie_warning a:hover {
  background-color: #FFF;
}
#cookie_warning .wrapper {
  padding: 1em;
}

table {
  border: 1px solid #CCC;
  border-collapse: collapse;
  margin: 0.5em;
}
table td, table th {
  border: 1px solid #CCC;
  padding: 0.5em;
}
table td p, table th p {
  padding: 0;
  text-indent: 0 !important;
}

.no_border {
  border: 0px solid #CCC;
}
.no_border td, .no_border th {
  border: 0px solid #CCC;
}

.user_map {
  width: 100%;
  min-height: 400px;
  background-color: #CCC;
  margin-bottom: 1em;
}

#main_intro ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}
#main_intro li {
  box-sizing: border-box;
  position: relative;
}
#main_intro li a {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 150px;
  padding: 10px;
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}
#main_intro li a:hover {
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.1);
}

@media screen and (orientation: portrait) {
  #main_intro li {
    flex-basis: calc(50% - 5px);
  }
}
@media screen and (orientation: landscape) {
  #main_intro li {
    flex-basis: calc(25% - 7.5px);
  }
}

/*# sourceMappingURL=stili3.css.map */
