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

html, body {
  height: 100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

body {
  margin: 0;
  background-color: #1F2126;
  font-family:arial,sans-serif;
}

/*
#222E3C
*/


.btn-warning {
  background-color: #f1c40f !important;
}
.link-search {
  color: #f1c40f;
}

header,
footer,
.header-nav-bg,
.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary.dropdown-toggle,
.btn-secondary:focus, .btn-secondary.focus,
.btn-secondary:hover,
.btn-secondary {
  background: #040608;
}

a {
  color: #fff;
}

.btn-secondary:focus, .btn-secondary.focus {
  color: #fff;
  background-color: #040608;
  border-color: #040608;
  box-shadow: 0 0 0 0.2rem rgb(4 6 8 / 50%);
}

.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, .show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgb(4 6 8 / 50%);
}

.main-image {
  background-size:100% auto;
  background-repeat: no-repeat;
}

footer {
  clear: both;
  color: #828384;
}

.footer-links li {
  margin: 0;
  padding: 0;
  display: inline-block;
}

.footer-social .btn-primary {
  border: none;
}

.home,
.count-div {
  color: #fff;
}
.home {
  padding: 70px 0;
}

.home h1 {
  font-size: 35px;
  line-height: 35px;
  text-align: center;
  margin-bottom: 20px;
}
.main-page h2 {
  font-size: 18px;
  line-height: 18px;
  text-align: center;
}
.home.main-page,
.home.main-page form {
  margin: 0 0 20px;
  border-bottom: 1px #383b3e solid;
}

#map {
  padding-top: 1rem;
}
#map .map-image {
  width: 100%;
}
.map-href {
  float: right;
  font-style: italic;
}
#map .pdf-link {
  float: right;
  height: 42px;
  margin-top: 20px;
  padding-top: 5px;
  line-height: 18px;
  padding-left: 55px;
  background: url(../img/ico-pdf.png) no-repeat;
  width: 160px;
  font-style: italic;
}
.search-example {
  color: #bdc3c7;
}

.count-div .span4 h3 {
  font-size: 35px;
  line-height: 25px;
  text-align: center;
  color: #f1c40f;
}
.count-div .span4 h3,
.count-div .span4 p {
  text-align: center;
}
.history-page {
  padding: 90px 0;
  color: #fff;
}
.history-page h1{
  text-align: center;
  padding-bottom: 50px;
  font-size: 35px;
  line-height: 35px;
}
.history-page p{
  text-indent: 1.5rem;
  text-align: justify;
  margin-bottom: 0.5rem;
}

.map {
  color: #fff;
}
.map #map {
  background: url(https://www.smerli.lv/site/img/map.png) 0 0 no-repeat;
  min-height: 650px;
}
.map .pdf-link {
  float: left;
  height: 42px;
  margin-top: 20px;
  padding-top: 5px;
  line-height: 18px;
  padding-left: 55px;
  background: url(../img/ico-pdf.png) no-repeat;
  width: 160px;
  font-style: italic;
}
.map h1 {
  padding: 35px 0 15px 0;
  text-align: center;
  font-size: 35px;
  line-height: 35px;
}
.map .legend {
  text-align: center;
  padding-bottom: 15px;
  font-size: 14px;
  line-height: 14px;
}

.search,
.search-services,
.cart {
  color: #fff;
}

.search h1,
.search-services h1 {
  text-align: center;
  padding-bottom: 15px;
}
.table-container {
  margin-bottom: 30px;
}
.search .table-image {
  width: 50px;
}
.search .span2 {
  padding: 30px 0 90px;
}
.span2 h2,
.project h2,
.services h2,
.laws h2 {
  font-size: 18px;
}

.cart {
  padding: 10px;
}

.project,
.services,
.laws,
.contacts {
  color: #fff;
  text-align: justify;
  padding: 50px 0 50px 0;
}
.project h1,
.services h1,
.laws h1 {
  text-align: center;
  padding-bottom: 30px;
}
.project p,
.services p,
.laws p {
  font-size: 14px;
  line-height: 20px;
  text-indent: 1.5rem;
}
.back-to-search-link {
  font-style: italic;
  text-decoration: underline;
  color: #f1c40f;
  font-size: 15px;
}
.image-wrapper img {
  width: 100px;
  height: auto;
}

.span-services h2 {
  font-size: 2.25rem;
}
.dateChoseInformation {
  /*float: left;*/
}
.plus-div {
  float: right;
  /*margin-left: 15px;*/
}
.img-minus,
.img-plus {
  cursor: pointer;
}
.img-plus {
  margin-left: 5px;
}
.clearing-year {
  margin-left: 10px;
}
.payment-info-title {
  color: #ffffff;
  font-size: 24px;
}
.grave-resuls-row {
  display: inline-flex;
  padding: 5px 0;
}
.span-place-information,
.span-service-text {
  display: flow-root;
}

.services-header {
  padding: 15px 0;
  background-color: #353A3F;
  font-weight: 600;
  border-bottom: 1px solid #8B8B8B;
}

.service-clearing,
.service-skype,
.service-flowers,
.service-wreath,
.service-repair,
.service-my {
  padding: 15px 0;
  background-color: #353A3F;
  border-bottom: 1px solid #8B8B8B;
}

.lang-nav > li:nth-last-child(2){
  padding-right: 15px;
}

.cart-grave-header,
.cart-total-header {
  padding: 15px 0 15px 20px;
  background-color: #353A3F;

  font-weight: 700;
  font-size: 18px;
  line-height: 21px;
  color: #FFFFFF;
}
.cart-grave-item {
  padding: 20px;
  background-color: #6C6F6E;

  font-weight: normal;
  font-size: 14px;
  line-height: 16px;

  color: #FFFFFF;
}
.cart-grave-item:not(:last-child) {
  padding-bottom: 0;
}
.service-cart-price {
  text-align: center;
  text-align: -moz-center;
  text-align: -webkit-center;
}
.service-cart-delete-item {
  text-align: right;
  text-align: -moz-right;
  text-align: -webkit-right;
}
.service-cart-delete img {
  width: 20px;
}
.cart-total-header {
  text-align: right;
  border-top: 2px solid #fff;
}
.service-total-price {
  text-align: left;
}
.service-my-price,
.service-my-button,
.service-my-price input {
  display: inline-block;
}
.service-my-price{
  width: 40%;
}
.service-my-button {
  width: 50%;
  float: right;
}
.service-my-price input {
  width: 70%;
}
.btn-to-cart {
  background-color: #f1c40f;
}
.remove-cart-item:hover {
  cursor: pointer;
}

/* Carousel */
.carousel-inner{
  height: 400px;
}
.carousel-inner .carousel-item{
  height: 100%;
}
.carousel-inner .carousel-item img{
  margin: 0 auto;
  max-height: 100%;
  max-width: 100%;
}

.donate-form {
  display: none;
  background-color: #000;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 430px;
  height: 550px;
  z-index: 1;
}

#photosRow {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width:100%
}

.image-wrapper-custom img {
  width: 80px;
  height: auto;
  margin: 0 auto;
}
.map-link {
  margin: 40px 0 20px;
  text-align: center;
}
.map-wrapper {
  width: 990px;
  margin: auto;
}
.map-image {
  display: flex;
  align-items: center;
  width: 100%;
}
.close-donate-form-wrap {
  padding: 1px 1px 0 0;
}
.close-donate-form {
  cursor: pointer;
  background-color: #f4b0af;
  padding: 3px 6px;
  font-size: 14px;
  font-weight: bold;
}

/*grave modal gallery styles*/
#photo-modal .modal-content {
    background-color: #1F2126;
    /*background-color: transparent;*/
    border: none;
}

#photo-modal .modal-footer {
    border: none;
}

#photo-modal .carousel-inner {
    min-height: 60vh;
}

#photo-modal .img-size {
    object-fit: cover;
    -o-object-fit: cover;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    min-height: 100%;
}

.js-cookie-consent{
    position: fixed;
    bottom:0;
    padding: 10px;
    text-align: center;
    width: 100%;
    background-color: #fffbdb;
    border: #fffacc solid 1px;
    z-index: 9999;
}
.supported{
    width: 100%;
    background-color: #222E3C;
    color: #fff;
    margin-bottom: 10px;
    padding: 10px 0;
}
.supported img{
    width: 6%;
    text-align: right;
    margin-left: 10px;
}
