/*
 Theme Name:   Theme from Denis
 Description:  Wordpress Theme From Denis
 Author:       Denis R
 Version: 1.1
*/

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

  @font-face {
    font-family: 'Claren';
    src: url('fonts/ClarenBd.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
  }

  html,
  body {
    font-family: "Open Sans";
    font-weight: 400;
    font-size: 20px;
    color: #000;
    line-height: normal;
    min-height: 100vh;
    overflow-x: hidden;
  }

  body {
    position: relative;
    overflow-y: hidden;
  }

  a {
    text-decoration: none !important;
  }

  a:hover {
  }

  img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
  }

  button {
    cursor: pointer;
  }

  p {
    margin-bottom: 35px;
  }

  input, textarea, select {
    font-family: "Open Sans";
  }

  h1, h2, h3, h4, h6 {
    font-family: 'Claren';
    font-weight: 700;
  }

  h2 a {
    font-weight: 700;
    color: #000;
    text-decoration: underline !important;
  }

  h3 {
      line-height: 0.8;
  }

  .mt1 {
    margin-top: 10px;
  }

  .mt2 {
    margin-top: 20px;
  }

  .mt3 {
    margin-top: 30px;
  }

  .mt4 {
    margin-top: 40px;
  }

  .mb1 {
    margin-bottom: 10px;
  }

  .mb2 {
    margin-bottom: 20px;
  }

  .mb3 {
    margin-bottom: 35px;
  }

  .mb4 {
    margin-bottom: 40px;
  }

  .container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 15px;
  }

	.container.container-lg {
		max-width: 1175px
	}

  .flexed {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .flexed--between {
    justify-content: space-between;
  }

  .flexed--around {
    justify-content: space-around;
  }

  .flexed--top {
    align-items: flex-start;
  }
  
  .flexed--bottom {
    align-items: flex-end;
  }

  .flexed--center {
    justify-content: center;
  }

  .rel {
    position: relative;
  }

  header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: #fff;
      box-shadow: 0 0 5px rgba(0,0,0,0.3);
      z-index: 2;
  }

  .admin-bar main {
      padding-top: 118px;
  }

  main {
      padding-top: 118px;
  }

  .main-top {
      padding-bottom: 0px;
  }

  .review-info-row a {
    color: currentColor;
    text-decoration: underline !important;
  }

  .thanks-block.aside-block p {
      margin-bottom: 20px;
  }

  .footer-top-right li a,
  footer h3 a,
  .breads a,
  header .logo ~ div ul a {
    position: relative;
  }

  .footer-top-right li a:after,
  footer h3 a:after,
  .breads a:after,
  header .logo ~ div ul a:after {
    content: '';
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    width: 0;
    height: 2px;
    transition: 0.3s;
    background: #000031;
  }

  .footer-top-right li a:hover:after,
  footer h3 a:hover:after,
  .breads a:hover:after,
  header .logo ~ div ul a:hover:after {
    width: 100%;
  }

  .admin-bar header {
      top: 32px;
  }

  header {
    padding: 10px 0 20px;
  }

  header .menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  header .menu li {
      display: block;
  }

  header .logo {
      max-width: 370px;
/*       margin-left: -43px; */
      width: 100%;
  }

  header .logo img {
      width: 100%;
  }

  header .logo ~ div {
      flex: 1;
	  max-width: 650px;
	  margin-bottom: -10px;
  }

  header .logo ~ div ul {
      justify-content: flex-end;
      gap: 0px 20px;
      margin-top: 0px;
  }

  header .logo ~ div ul a {
      font-size: 32px;
      font-family: 'Sofia Sans Condensed';
      color: #000;
      text-transform: uppercase;
      font-weight: 700;
  }

  footer {
      padding-top: 100px;
  }

  .footer-top {
      padding-top: 30px;
      border-top: 4px solid #000;
  }

  footer h3 {
      font-family: 'Sofia Sans Condensed';
      font-size: 35px;
      text-transform: uppercase;
      padding-bottom: 35px;
  }

  .footer-about {
      max-width: 425px;
      width: 100%;
  }

  footer a {
      color: currentColor;
      text-decoration: underline !important;
  }

  footer h3 a {
      text-decoration: none !important;
  }

  footer li {
      display: block;
  }

  .footer-cats {
      margin-bottom: 30px;
  }

  .footer-top-left-right {
      max-width: 320px;
  }

  .footer-top-left {
      gap: 60px;
  }

  .footer-top-right li {
      text-align: right;
  }

  .footer-top-right li a {
      text-decoration: none !important;
      position: relative;
      font-size: 35px;
      font-family: 'Sofia Sans Condensed';
      font-weight: 700;
      text-transform: uppercase;
  }

  .footer-message {
      font-size: 35px;
      font-family: 'Sofia Sans Condensed';
      padding-top: 42px;
  }

  .footer-logo {
      margin-right: -60px;
  }

  .see-all a {
      color: currentColor;
      font-weight: 700;
      text-decoration: underline !important;
      text-transform: uppercase;
  }

  .main-top-right {
      position: relative;
  }

  .search input {
      border: 3px solid currentColor;
      border-radius: 5px;
      position: absolute;
      top: 50%;
      right: 50px;
      font-size: 20px;
      padding: 5px;
      width: 220px;
      transform: translateY(-50%);
      width: 0;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
  }

  .search button {
      width: 40px;
      height: 40px;
      text-indent: -99999px;
      background: url('img/essential.png') 50% 50% no-repeat;
      border: 3px solid currentColor;
      border-radius: 40px;
      margin-right: -1px;
      background-size: 25px;
  }

  .see-all {
      margin-right: 10px;
  }

  .breads a {
      color: currentColor;
  }

  .search.active input {
      width: 230px;
      opacity: 1;
      visibility: visible;
  }

  aside {
      max-width: 280px;
      width: 100%;
      margin-top: 8px;
  }

  .main-content {
      flex: 1;
      margin-top: -8px;
  }

  .main-main {
      gap: 40px;
  }

  .main-content h1 {
      font-size: 45px;
	  line-height: 1.1em;
  }

  .main-text p:has(img) {
    padding: 0;
  }

  .main-text img {
      padding: 10px 0 10px;
      margin: 0 auto;
  }

  .main-text h1:first-child + p:first-letter,
  .main-text > p:first-child:first-letter {
      font-size: 65px;
      float: left;
      padding-right: 5px;
      line-height: 50px;
      font-family: 'Claren';
	  padding-top: 10px;
  }

  .tax-feat-text a,
  .main-text p a {
    color: currentColor;
/*    font-weight: 700;*/
    text-decoration: underline !important;
  }

  .main-text h2 {
    margin: 20px 0 20px;
  }

  .main-text h3 {
    margin: 30px 0 20px;
  }

	.main-text h2,
	.main-text h3,
	.main-text h4,
	.main-text h5 {
		line-height: 1.2;
	}

  .review-star-empty,
  .review-star {
    width: 36px;
    height: 36px;
    background: url('img/star-empty.png') 50% 50% no-repeat;
    background-size: contain;
  }

  .review-star {
    background: url('img/star.png') 50% 50% no-repeat;
    background-size: contain;
  }

  .review-info-row {
    padding-right: 55px;
    background: url('img/telephone.png') 100% 50% no-repeat;
    background-size: 40px;
    margin: 20px 0 0;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .review-info-row.review-info-website {
    background-image: url('img/globe.png');
    word-break: break-all;
  }

  .review-info-row.review-info-route_hint {
    background-image: url('img/train.png');
  }

  .review-info-row.review-info-address {
    background-image: url('img/map.png');
  }

  .review-info-block {
      font-size: 16px;
      text-align: right;
  }

  .flexed.flexed--end {
      justify-content: flex-end;
  }

  .review-stars {
    gap: 3px;
    margin-right: 1px;
    max-width: 192px;
  }

  .review-info-rate {
      gap: 10px;
      padding-right: 1px;
  }

  .review-info-rate span {
      text-transform: uppercase;
      padding-top: 5px;
  }

  .review-map-sm .acf-map {
    height: 230px;
    margin-top: 20px;
  }

  .cat-block {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 15px 5px;
      flex-wrap: wrap;
  }

  .btn a {
      font-size: 32px;
      font-family: 'Sofia Sans Condensed';
      color: #000;
      text-transform: uppercase;
      border: 4px solid #000;
      padding: 1px 5px 0;
      border-radius: 10px;
      transition: 0.3s;
  }

  .btn a:hover {
      background: #000;
      color: #fff;
  }

  .aside-block h3 {
      margin-bottom: 20px;
      text-align: center;
      text-transform: uppercase;
      font-family: 'Sofia Sans Condensed';
      font-size: 35px;
  }

  .aside-block p {
    margin-bottom: 20px;
  }

  .aside-block ul li {
      display: block;
      
  }

  .aside-block ul li a {
      color: currentColor;
      text-decoration: underline !important;
      padding-left: 30px;
      background: url('img/star.png') 0 0 no-repeat;
      background-size: 25px;
      display: inline-block;
  }

  .aside-block ul.book-decor li a {
    background-image: url('img/content-writing.png');
    background-size: 20px;
    background-position: 0 4px;
  }

  .thanks-block a {
    color: currentColor;
  }

  .thanks-block p a {
    text-decoration: underline !important;
  }

  .review-map-sm {
      position: relative;
  }

  .review-map-sm-overlay {
      position: absolute;
      z-index: 2;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      cursor: pointer;
  }

  .review-map .acf-map {
      height: 600px;
      margin-top: 30px;
  }

  .main-text.contact-text {
      max-width: 300px;
  }

  .contact-content-wrap {
      gap: 35px;
  }

  .contact-contact-form {
      width: 100%;
      max-width: 570px;
      flex: 1;
      margin: 0 20px;
  }

  .thanks-block p + h3 {
      padding-top: 15px;
  }
  
  .contact-contact-form input, .contact-contact-form textarea {
      border: 3px solid currentColor;
      border-radius: 5px;
      font-size: 20px;
      padding: 5px;
      width: 100%;
      transition: 0.3s;
  }

  .contact-contact-form textarea {
      height: 130px;
      resize: none;
  }

  .contact-contact-form input[type="submit"] {
      font-size: 32px;
      font-family: 'Sofia Sans Condensed';
      color: #000;
      text-transform: uppercase;
      border: 4px solid #000;
      padding: 0 5px;
      border-radius: 10px;
      transition: 0.3s;
      display: block;
      width: auto;
      margin-left: auto;
      cursor: pointer;
      appearance: none;
  }

  .contact-contact-form input[type="submit"]:hover {
      background: #000;
      color: #fff;
  }

  .main-text.contact-text h2, 
  .main-text.contact-text p, 
  .main-text.contact-text ul {
      margin-bottom: 20px;
  }

  .main-text.contact-text ul li {
      padding-left: 30px;
      background: url(img/star.png) 0 50% no-repeat;
      background-size: 20px;
      display: block;
  }

  li.res-review a {
      color: currentColor;
      text-decoration: underline !important;
      padding-left: 30px;
      background: url(img/star.png) 0 0 no-repeat;
      background-size: 25px;
      display: inline-block;
  }

  .tax-cat-list li,
  .main-text.search-text li {
      display: block;
      margin-bottom: 5px;
  }

  li.res-post a {
      color: currentColor;
      text-decoration: underline !important;
      padding-left: 30px;
      background: url(img/content-writing.png) 3px 3px no-repeat;
      background-size: 20px;
      display: inline-block;
  }

  .search-page-form input {
      border: 3px solid currentColor;
      border-radius: 5px;
      padding: 5px;
      font-size: 20px;
      width: 100%;
      max-width: 780px;
      margin-right: 10px;
  }

  .search-page-form button {
      width: 40px;
      height: 40px;
      text-indent: -99999px;
      background: url(img/essential.png) 50% 50% no-repeat;
      border: 3px solid currentColor;
      border-radius: 40px;
      background-size: 25px;
  }

  .main-text.global-text h2 {
      margin-bottom: 20px;
  }

  .tax-cat-col {
      width: 223px;
  }

  .breads {
	  flex: 1;
	  max-width: calc(100% - 310px);
  }

  .tax-cats-list {
      gap: 30px 20px;
  }

  .tax-cat-title {
      text-align: center;
  }

  .tax-cat-list {
      margin-top: 20px;
  }

.home .home-articles h2 {
	font-size: 40px;
}

  .home .cat-block-text h2,
  .tax-feat-text h2 {
      font-size: 40px;
      margin-bottom: 35px;
  }

  .main-text h1 {
    margin-bottom: 30px;
  }

  .place-grid-item {
      width: calc(33.33333% - 14px);
  }

  .places-grid-inner {
      gap: 30px 21px;
  }

  .main-thanks-block img {
      border-radius: 10px;
  }

.thanks-block ~ .thanks-block img {
    border-radius: 0;
}

  .review-info-row.review-info-phone {
      background-size: 42px;
      margin-right: -2px;
  }

  .place-grid-title a {
      font-size: 20px;
      margin: 20px 0 10px;
      display: block;
      min-height: 48px;
      font-family: 'Claren';
      color: #000;
  }

  .place-grid-text p {
      display: inline;
  }

  .place-grid-text a {
      color: #000;
      text-decoration: underline !important;
      font-weight: 600;
  }

  .home-articles-list ul li {
      display: block;
  }

  .menu-icon {
    display: none;
  }

  .menu-icon {
    height: 25px;
    cursor: pointer;
    max-width: 40px;
    position: relative;
    overflow: hidden;
  }
  .menu-icon:before, .menu-icon:after {
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: linear;
    transition-delay: 0s;
    content: "";
    display: block;
    width: 4px;
    height: 28px;
    border-radius: 10px;
    transform-origin: center center;
    background-color: #000;
  }
  .menu-icon:before {
    position: absolute;
    top: 0;
    left: 18px;
    transform: rotate(-45deg);
  }
  .menu-icon:after {
    position: absolute;
    top: 0;
    right: 18px;
    transform: rotate(45deg);
  }
  .menu-icon .bar {
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: linear;
    transition-delay: 0.2s;
    width: 100%;
    height: 5px;
    background-color: #000;
    border-radius: 20px;
  }
  .menu-icon .bar-1 {
    position: absolute;
    top: 0;
    left: 0;
  }
  .menu-icon .bar-2 {
    position: absolute;
    top: 10px;
    left: 0;
  }
  .menu-icon .bar-3 {
    position: absolute;
    top: 20px;
    left: 0;
  }
  .menu-icon.opened .bar {
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: linear;
    transition-delay: 0s;
  }
  .menu-icon.opened:before, .menu-icon.opened:after {
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: linear;
    transition-delay: 0.2s;
  }

  .menu-icon-7:before, .menu-icon-7:after {
    top: -2px;
    opacity: 0;
  }
  .menu-icon-7:before {
    transform: rotate(90deg);
  }
  .menu-icon-7:after {
    transform: rotate(-90deg);
  }
  .menu-icon-7.opened:before, .menu-icon-7.opened:after {
    top: 0px;
    opacity: 1;
  }
  .menu-icon-7.opened:before {
    transform: rotate(-45deg);
  }
  .menu-icon-7.opened:after {
    transform: rotate(45deg);
  }
  .menu-icon-7.opened .bar-1 {
    top: -15px;
    transition-delay: 0.1s;
  }
  .menu-icon-7.opened .bar-2 {
    top: -20px;
    transition-delay: 0.05s;
  }
  .menu-icon-7.opened .bar-3 {
    top: -25px;
  }

  .single-review aside {
      margin-top: 4px;
  }

  .place-grid-item-img img {
      aspect-ratio: 1.6 / 1;
      object-fit: cover;
  }

  .mob-show {
    display: none !important;
  }

  .wsp-container ul {
      margin: 5px 0 20px 20px;
  }

  .wsp-container ul a {
      color: currentColor;
      text-decoration: underline !important;
  }

  img.aligncenter {
      margin: 0 auto;
  }

  .main-thanks-mobile {
    display: none;
  }

  .mobile {
    display: none;
  }

  .review-map-sm {
      margin-top: 30px;
      padding-bottom: 10px;
      text-align: center;
      font-size: 32px;
      font-family: 'Sofia Sans Condensed';
      color: #000;
      text-transform: uppercase;
      font-weight: 700;
  }

  .review-map {
      margin: 0;
  }

  .main-content.page-404 h1 {
      margin-bottom: 30px;
      margin-top: 20px;
  }

  .main-content.page-404 h2 {
      margin-bottom: 20px;
  }

  .main-content.page-404 img {
      display: block;
      padding-bottom: 10px;
  }

  .main-content.page-404 a {
      color: currentColor;
      font-weight: 700;
      text-decoration: underline !important;
  }

  .full-feat-img img {
      width: 100%;
      max-height: 400px;
      object-fit: cover;
  }

  .tax-feat-img img {
      aspect-ratio: 3.4 / 2;
      object-fit: cover;
  }

  .search-page-form input:focus::placeholder {
      opacity: 0;
  }

  .footer-top-right {
      margin-top: -7px;
  }

  blockquote:before, blockquote:after {
      content: '“';
      font-size: 70px;
      font-family: 'Claren';
      height: 20px;
      display: block;
      position: absolute;
      top: -10px;
      left: 0;
  }

  blockquote {
      position: relative;
      padding-left: 60px;
      padding-right: 60px;
  }

  blockquote:after {
      top: inherit;
      bottom: -10px;
      left: inherit;
      right: 0;
      transform: rotate(-180deg);
  }

  .main-content.page-404 h1 {
      margin-bottom: 10px;
  }

  .main-content.page-404 h2 {
      margin-bottom: 8px;
  }

  .main-content.page-404 p + h2 {
      margin-top: 16px;
  }

	.thanks-block img {
		border-radius: 0px;
	}

.main-text {
    line-height: 1.6;
	color: #222;
}

.single-post .main-text ol,
.single-post .main-text ul {
    margin-left: 22px;
}

.single-post .main-text ol a,
.single-post .main-text ul a {
    color: inherit;
    text-decoration: underline !important;
}

.single-post .main-text h3 {
	margin: 15px 0;
}

.main-text p:has(img) strong {
    margin: 20px 0 8px;
    display: block;
}

blockquote {
    font-style: italic;
    margin-top: 30px;
}

.main-text p:has(img) strong + br {
    display: none;
}

span.dash-bullet {
	background: #d2383a;
	width: 15px;
	height: 4px;
	display: inline-block;
	border-radius: 10px;
	margin-right: 12px;
	margin-left: 3px;
	position: relative;
}

span.round-bullet {
    background: #d2383a;
    width: 15px;
    height: 15px;
    display: inline-block;
    border-radius: 10px;
    margin-right: 12px;
    margin-left: 3px;
	flex-shrink: 0;
}

h3 span.round-bullet {
    margin-top: 8px;
}

h3 span.dash-bullet {
    margin-top: 14px;
}

h2 span.dash-bullet {
    margin-top: 19px;
}

h2 span.round-bullet {
    margin-top: 11px;
}

p span.dash-bullet {
	margin-bottom: 4px;
}

h2:has(span), h3:has(span), h4:has(span) {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.a-single {
    margin-top: 20px;
}

.thanks-block h4 {
    font-family: 'Sofia Sans Condensed';
    font-size: 28px;
}

header .logo {
    position: relative;
    top: 2px;
}