/**
*Theme Name: Smart Legal
*Theme URI: http://google.com
*Author: dima23ua
*Text Domain: smartlegal
*Author URI: http://google.com
*Version: 1.0.0
*Description: 
License URI:   
License:
*Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
*/

.aligncenter {
   margin: 10px auto;
   display: block;
}

.alignright {
   float: right;
   margin: 0 0 20px 20px;
}

.alignleft {
   float: left;
   margin: 0 20px 20px 0;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
}
.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}
.wp-caption p,
.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}
.sticky {
   position: sticky;
   top: 0;
   bottom: 0;
}

.gallery-caption {
   display: flex;
}

.bypostauthor {
   display: flex;
}
.screen-reader-text {
   display: flex;
}
.pagination {
   display: flex;
   justify-content: center;
}

.page-numbers {
	padding: 5px;
    color: var(--dark);
    transition: all .3s ease 0s;
}

.page-numbers:hover {
	color: var(--red);
}

.page-numbers.current {
	color: var(--red);
    font-size: 18px;
}

.post iframe {
	min-height:600px;
	min-width: 400px;
	max-width:100%;
    width: 100%;
}
.post iframe .wp-embed-featured-image img {
	width:auto!important;
}

@media (max-width:767px) {
	.post iframe {
		min-height:350px;
	    min-width: 300px;
	}
}

.header__menu .sub-menu {
	display:none;
	position: absolute;
	top:100%;
	left:0;
	width:100%;
	min-width:250px;
	padding:15px;
	background:#fff;
}

.header__menu .sub-menu li {
	margin-bottom:10px;
}

.header__menu .sub-menu li:last-child {
	margin-bottom:0;
}

.header__menu .sub-menu a {
	text-transform: none;
}

.header__menu  li {
	position:relative;
}

.header__menu .menu-item-has-children > .menu__list-item {padding-right:20px;}

.header__menu .down-arr {
    display: block;
    border-left: 2px solid;
    border-bottom: 2px solid;
    width: 10px;
    height: 10px;
    transform: rotate(-45deg);
    position: absolute;
    right: 0;
    top: 5px;
}

@media (min-width:992px) {
.header__menu li:hover .sub-menu{
	display:block;
}
}

.home .section-hero-uk__img:after {
	display:none;
}


@media (min-width:992px) {
	.visib-mob {
		display:none!important;
  }
}

@media (max-width:991px) {
	.hidden-mob {
		display:none!important;
  }
}
.price__title {

    padding: 20px 45px;
    margin: 0;
    position: relative;
/*     cursor: pointer; */

}
.price__block {
	background: var(--gray-light);
    margin-bottom: 15px
}

.price__body {
	padding: 0 45px 20px 45px;
}

.form-section .half-form {
    width: 70%;
	margin:auto;
	padding:30px 50px;
}

.single .more-posts + .section,
.single .section-post + .section {
	padding-top:0;
}

@media (max-width:991px) {
	.form-section .half-form {
		width: 100%;
	}
}

/* Category list */

main .blog-cats li::before {
  content: none;
}

.blog-cats,
.blog-cats ul {
  list-style: none;
  padding: 0;
  margin: 0;
}


.blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content:space-between;
  margin-top: 20px;
} 

.blog-cats li {
	margin:0;
	padding:0;
	width:24%;
}

.blog-cats li a {
  	padding: 10px 15px;
	background-color: #9f0e0d;
	color: white;
	font-weight: 600;
  	text-transform: uppercase;
  	text-decoration: none;
  	font-size: 16px;
	text-align:center;
  	line-height: 1.3;
  	transition: opacity .3s ease;
	display:block;
}

.blog-cats li a:hover {
  opacity: .6;
}

@media (max-width:991px) {
	.blog-cats li {
		width:49%;
	}
}

.archive-wrapper__card {
	position: relative;
	overflow: hiden;
}

.archive-wrapper__cat-name {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	background: #9f0e0d;
    padding: 0 10px;
}
@media (max-width: 991px) {
	.archive-wrapper__cat-name {
	right: 15px;
}
}
.archive-wrapper__cat-name p {
	color: white;
	font-weight: 600;
	font-size: 14px;
}
.archive-wrapper__cat-name a {
	color: white;
	font-weight: 600;
	font-size: 14px;
}