.card {
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   margin: 10px 0;
   margin-bottom: 20px;
}

.card * {
   transition: .3s;
}

.card .item {
   margin: 10px 0;
}

.card .title {
   font-size: 24px;
   padding-left: 5px;
}

.card .working-time .title {
   padding-bottom: 15px;
   display: inline-block;
}

.card .item:not(.contacts) {
   padding: 15px;
}

.card .content {
   font-size: 15px;
   line-height: 1.3;
}

.card .content-col {
   margin: 5px 0;
}

.card .content-row {
   display: flex;
}

.card .col-1 {
   width: 100px;
}

.card .working-time .col-1 {
   width: 50px;
}

.card .working-time {
   background: #e7e7e7;
}

.card .working-time .content-row:not(:last-child) {
   border-bottom: 1px solid #848383;
}

.card .working-time .content-col {
   padding: 5px;
}

.card .working-time .current {
   background: #ffc400;
}

.card .working-time .content-col span {
   background: rgb(7, 180, 30);
   color: #ffffff;
   padding: 3px;
}

.card .working-time .content-row:nth-child(n+6) span {
   background: #8f8e8e;
}

.card .contacts .title {
   background: #E7E7E7;
   padding: 15px;
   display: block;
   border-bottom: 1px solid #8d8d8d;
}

.card .contacts .content {
   padding: 15px;
   border-top: none;
   padding-bottom: 0;
}

.card .col-1 {
   font-weight: bold;
}

.card .contacts {
   border: 1px solid #8d8d8d;
   max-width: 400px;
}

.card .card-desc {
   flex-grow: 1;
   color: #7c7b7b;
}

.card .card-desc b {
   border-bottom: 1px dashed #3a3a3a;
}

.btn-wrapper {
   text-align: center;
   margin: 10px 0;
}

.btn-wrapper .consultation {
   padding: 0;
   background: none;
   color: #006EC4;
}

.btn-wrapper .consultation:hover {
   color: #222222;
}

/* site-branding */
.custom-logo {
   max-width: 70px;
   margin-right: 15px;
   fill: #fff;
}

.custom-branding-link {
   display: flex;
   align-items: center;
   color: #ffffff !important;
   font-size: 22px !important;
   max-width: 320px;
}

.site-header {
   background: linear-gradient(to right, #2632A2, #005BB8, #2632A2)
}

/* site-nav */
.main-navigation .main-nav ul li a {
   line-height: 40px !important;
}

header .inside-header {
   padding: 8px;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

/* search form */
.search-form {
   display: flex;
}
.search-form button:before {
   content: "\f002";
   font-family: GeneratePress;
}

/* article lists */
.marker, .order {
   list-style: none;
   margin: 15px;
   padding: 0;
}

.marker li, .order li {
   position: relative;
   padding-left: 35px;
   margin-top: 10px;
}

.marker li::before {
   content: '\f5ed';
   position: absolute;
   font-family: "Font Awesome 5 Pro";
   top: 50%;
   transform: translateY(-50%);
   left: 0;
   color: #018b01;
   font-size: 20px;
}

.order {
   counter-reset: my_counter;
}

.order li {
   position: relative;
   padding-left: 45px;
}

.order li::before {
   content: counter(my_counter);
   position: absolute;
   counter-increment: my_counter;
   top: 50%;
   transform: translateY(-50%);
   left: 0;
   background: #004CBD;
   color: #ffffff;
   width: 30px;
   height: 30px;
   display: flex;
   align-items: center;
   justify-content: center;
   border: 2px solid #000;
}

/* Simple nav after H1 */
.article-nav ul {
   list-style: none;
   padding: 0;
   margin: 0;
   display: flex;
   margin: 10px -5px;
   justify-content: flex-start;
 }
 
 .article-nav ul li {
   line-height: 1;
   padding: 0;
   margin: 0;
   flex-grow: 1;
   text-align: center;
   flex-grow: 0;
 }
 
 .article-nav ul li a {
   display: flex;
   justify-content: center;
   align-items: center;
   color: #525252;
   background: #fff;
   height: 100%;
   font-size: 14px;
   border: none;
     padding: 0px 0px;
     margin: 5px;
     border-bottom: 1px dashed #444343;
 }
 
 .article-nav ul li:not(:first-child) {
   margin-left: -1px;
 }
 
 .article-nav ul li a:hover {
   background: #1C28AF;
   color: #fff;
 }

 /* social icons after articles */
.repost-block {
   margin-top: 60px;
}

.repost-block b {
   margin-bottom: 10px;
   display: inline-block;
}

 #content .sfsi_shortcode_container {
    float: none !important;
    margin-bottom: 0;
 }

 .sfsi_shortcode_container .sfsi_wDiv {
   width: 100% !important;
 }

 /* social icons */
 .socilanue-seti {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
 }

 .socilanue-seti a {
   width: 40px;
   height: 40px;
   border-radius: 50%;
   background: #0051be;
   color: #ffffff;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 5px;
 }

 .socilanue-seti a:hover {
    background: #666666;
 }

 /* main-slider */
 .slider * {
    transition: .3s;
 }

 .slider {
    border: 1px solid #000;
    margin-bottom: 20px;
 }

 .slider .tabs.active {
   opacity: 1;
 }

 .slider .tabs-wrapper {
    position: relative;
    background: #E7E7E7;
 }

 .slider .tabs {
    opacity: 0;
    display: flex;
    padding: 20px;
 }

 .slider .tabs ul {
    margin: 0;
    padding: 0;
    padding-left: 20px;
    display: flex;
    flex-wrap: wrap;
 }

 .slider .tabs ul a {
    line-height: 1.3;
 }

 .slider .tabs ul li {
    margin: 5px 10px;
    width: 200px;
    flex-grow: 1;
 }

 .slider .tabs:nth-child(n+2) {
    display: none;
 }

 .slider .tabs-switcher {
   background: #004cbd;
 }

 .slider .tabs-switcher button {
   background: #004cbd;
   border-bottom: 1px solid #000;
}

 .slider .tabs-switcher button.active {
   background: #E7E7E7;
    color: #3a3a3a;
    border-bottom: none;
 }

 .slider .tabs-switcher .btn-wrapper {
    display: flex;
    margin: 0;
    flex-wrap: wrap;
 }

 .slider.alfavit .tabs-switcher .btn-wrapper {
   justify-content: center;
 }

 .slider.alfavit .tabs ul li {
    flex-grow: 0;
 }

/* card in listing */
.listing-main {
   margin-right: 40px;
}
.listing-card {
   border: 1px solid #000;
   padding-top: 15px;
   background: #f5f5f5;
   height: 100%;
   display: flex;
   flex-direction: column;
   min-height: 260px;
}

.listing-card div i {
   color: #006ec4;
}

.ymaps-geolink {
   color: #0067cb !important;
   white-space: normal !important;
   padding-left: 5px;
}

.card .ymaps-geolink {
   max-width: 230px;
}

.ymaps-geolink:hover {
   color: #222222 !important;
}

.listing-card .ymaps-geolink::before {
   left: -21px !important;
}

.ymaps-geolink::after {
   content: none !important;
}

.listing-card .learn-more {
   display: block;
   padding: 15px;
   background: #0c58b6;
   text-align: center;
}

.listing-card .consultation {
   color: #ffffff !important;
}

.listing-card .btn-wrapper {
   margin-top: auto;
}

.listing-card i {
   min-width: 20px;
}

.listing-card .consultation:hover {
   background: #222222;
}

.listing-card > *:not(.learn-more) {
   padding-left: 15px;
   padding-right: 15px;
}

.listing-card .btn-wrapper a {
   color: #b93e0d;
   margin-top: 20px;
   display: inline-block;
}

.listing-card .btn-wrapper a:hover {
   color: #222222;
}

.listing-card .btn-wrapper i {
   color: inherit;
}

.listing-card > div:last-of-type:not(.btn-wrapper) {
   margin-bottom: 10px;
}

.listing-card .name {
   font-size: 20px;
   margin-bottom: 5px;
}

.listing-main .post-wrapper {
   display: flex;
   flex-wrap: wrap;
   padding: 15px;
   background: #ffffff;
}

.listing-main .post-wrapper article {
   width: 315px;
   margin: 15px;
   flex-grow: 1;
}

.listing-main .inside-article {
   height: 100%;
   padding: 0 !important;
}

.listing-main h1 {
   background: #ffffff;
   padding: 15px;
}

.listing-main .consultant-form {
   margin-bottom: 30px;
}

/* map */
.BankMap {
   height: 400px;
   margin-bottom: 40px;
   margin-top: 20px;
}

.leaflet-popup-content {
   font-size: 14px !important;
  }

  .leaflet-popup-content p {
  background-color: #2017CC !important;
  font-weight: bold !important;
  margin-bottom: 5px !important;
}

  .leaflet-container a {
    font-size: 14px !important;
    color: #2017CC !important;
    word-break: break-all;
  }
  .leaflet-container a:hover {
    color: #222222 !important;
  }

/* similar posts */
.similar-posts {
   text-align: center;
   margin: 20px 0;
}

.similar-posts a {
   display: inline-block;
   padding: 10px 15px;
   background: #222222;
   color: #ffffff;
}

.similar-posts a:hover {
   background: #0342C5;
   color: #fff;
}

/* intext btn */
.first-text {
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   justify-content: space-between;
}

.first-text .text {
   max-width: 500px;
}

.intext-btn {
   display: inline-block;
   background: #e7e7e7;
   padding: 10px 15px;
   font-size: 14px;
   color: #3a3a3a;
}

.intext-btn:hover {
   background: #3F3F3F;
   color: #ffffff;
}

/* main page */
.find-notarius {
   display: flex;
   align-items: center;
   justify-content: space-between;
   flex-wrap: wrap;
   margin: 20px -10px;
}

.find-notarius a {
   width: 160px;
   height: 160px;
   border: 1px solid #000;
   padding: 10px;
   display: flex;
   line-height: 1.2;
   flex-direction: column-reverse;
   align-items: center;
   justify-content: center;
   text-align: center;
   background: #e7e7e7;
   margin: 10px;
}

.find-notarius a i {
   font-size: 60px;
}

.search-block {
   margin: 20px 0
}

.search-block input {
   width: 100%;
}

.info-bl {
   justify-content: center;
}

/* common */
.center {
   text-align: center;
   margin: 20px 0;
}

/* widgtes */
.links {
   display: flex;
   flex-direction: column;
}

.links a {
   position: relative;
   line-height: 1.2;
   margin-top: 10px;
   background: #e7e7e7;
   padding: 3px 10px;
   padding-left: 35px;
}

.links a:hover {
   background: #3f3f3f;
   color: #ffffff;
}

.links a::before {
   position: absolute;
   content: '\f356';
   font-family: "FOnt Awesome 5 Pro";
   top: 50%;
   transform: translateY(-50%);
   left: 10px;
   font-size: 20px;
}

.navigations {
   display: flex;
   flex-direction: column;
   margin-top: 15px;
}

.navigations a {
   margin-top: 5px;
}

.navigations a i {
   min-width: 25px;
}

/* footer */
.copyright-bar {
   display: flex;
   flex-direction: column;
   align-items: center;
}

/* panigation */
.navigation {
   display: flex;
   justify-content: center;
   margin: 40px 10px;
 }
 
 .nav-links {
   text-align: center;
   display: inline-flex;
   justify-content: center;
   border: 1px solid #000;
   border-radius: 30px;
   box-shadow: 1px 18px 5px -16px #353535;
 }
 
 .nav-links > * {
   display: inline-block;
   min-width: 40px;
   height: 40px;
   font-size: 18px;
   line-height: 40px;
   vertical-align: middle;
   transition: .3s ease;
   padding-left: 10px !important;
   padding-right: 10px;
 }
 
 .nav-links > *:not(:last-child) {
   border-right: 1px solid #000;
 }
 
 .nav-links .current {
   background: #004EBD;
   color: #ffffff;
 }
 
 .nav-links > a:hover {
   background: #39424B;
   color: #ffffff;
 }
 
 .nav-links *:first-child {
   border-bottom-left-radius: 30px;
   border-top-left-radius: 30px;
 }
 
 .nav-links *:last-child {
   border-bottom-right-radius: 30px;
   border-top-right-radius: 30px;
 }

 /* tables */
 .tablepress th {
    background: #0042b9 !important;
    color: #ffffff;
    line-height: 1.3;
 }

/* media queries */
@media (max-width: 768px) {
   .card .item {
      flex-grow: 1;
   }
   .listing-main > * {
      flex-grow: 1;
      margin: 20px;
   }
   .find-notarius {
      justify-content: center;
   }
   .find-notarius a {
      width: 140px;
      height: 140px;
      flex-grow: 1;
   }
   .slider .tabs-switcher button {
      font-size: 14px;
      padding-left: 10px;
      padding-right: 10px;
   }
}

@media (max-width: 600px) {
   .nav-links > * {
     font-size: 16px;
     min-width: 35px;
     height: 35px;
     line-height: 35px;
   }
 }

 .header-phone {
	margin-left: auto;
   color: #fff;
}

@media (max-width:600px) {
   .header-phone {
      margin: 0 auto;
   }
}

.header-phone-paragraph {
	margin-bottom: 4px;
   font-size: 14px;
}

a.header-phone-link {
   font-size: 17px;
   font-weight: 600;
   color: #fff !important;
   border-bottom: 1px dashed rgba(255, 255, 255, 0.342);
}