/*
Theme Name: Attorney
Theme URI: 
Author: Oleh Ponomarenko
Author URI: 
*/

.entry-content img {
	margin: 0 0 1.5em 0;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.entry-content table,
.entry-content table tr,
.entry-content table tr td {
	border: 1px solid #dfe6e9;
}

.entry-content table tr td {
	padding: 5px;
}

.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
}
img.alignleft {
	margin-top: 1.5em;
	margin-right: 1.5em;
	display: inline;
	float: left;
	border-radius: 6px;
}
.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
}
img.alignright {
	margin-top: 1.5em;
	margin-left: 1.5em;
	display: inline;
	float: right;
	border-radius: 6px;
}

.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
}
img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	border-radius: 6px;
}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 15px 0;
}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
}
#wp-calendar {
	width: 100%;
	font-size: 11px;
}
#wp-calendar thead th {
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-top: none;
	font-size: 11px;
}
#wp-calendar tbody td {
	text-align: center;
	border: 1px solid #ddd;
	line-height: 2.5em;
	transition: background 0.15s ease;
	-webkit-transition: background 0.15s ease;
	-o-transition: background 0.15s ease;
	-moz-transition: background 0.15s ease;
}
#wp-calendar tbody td:hover {
	background: #f1f1f1;
	color: #333;
}
#wp-calendar tbody td:hover a {
	background: #4d4d4d;
	color: #666;
}
#wp-calendar tbody td a {
	display: block;
	text-decoration: none;
	background: #f1f1f1;
	color: #333;
}
#wp-calendar tbody a {
	display: block;
	text-decoration: underline;
}
#wp-calendar tfoot td {
	padding-top: 1px;
	padding: 4px;
}
#wp-calendar caption {
	cursor: pointer;
	font-size: 13px;
	text-transform: uppercase;
	margin: 0;
	padding: 12px;
	outline: 0 none !important;
	background: #3b86b0;
	color: #666;
}
#wp-calendar th {
	text-align: center;
	border: 1px solid transparent;
	border-top: none;
	padding: 7px 0;
	color: #ffffff;
}
#footer #wp-calendar thead th {
	background: #222;
}
#footer #wp-calendar tbody td {
	border-color: #333;
}

.service-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: all 0.3ms linear;
	height: 240px;
}

.service-box:hover {
	border-radius: 30px;
}

.service-box__img {
	width: 40px;
	height: 40px;
	display: block;
	margin: 0 auto;
}

.language-dropdown {
	position: relative;
	border-left: 1px solid #f1f1f1;
	padding-left: 12px;
}

.language-toggle {
	display: none;
}

.language-label {
	display: block;
	cursor: pointer;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	user-select: none;
	margin-bottom: 0;
}

.language-options {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	background-color: #fff;
	cursor: pointer;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.language-toggle:checked + .language-label + .language-options {
	display: block;
}

.language-options li a,
.language-options li span {
	display: block;
	padding: 10px;
	font-size: 13px;
}

.current-language {
	font-weight: bold;
}

.language-options li:hover {
	background-color: #f0f0f0;
}

.page-cover {
	background-size: cover;
	background-position: center;
	margin-bottom: 40px;
}

.page-cover__overlay {
	padding: 140px 0;
	background-color: rgba(0, 0, 0, 0.75);
}

.page-cover__title {
	color: #ffffff;
}

@media only screen and (max-width: 600px) {
	.page-cover__overlay {
		padding: 60px 0;
	}
}

.post-date {
	clear: both;
	font-weight: bold;
	font-size: 12px;
	border-top: 1px solid #f5f5f5;
	border-bottom: 1px solid #f5f5f5;
	padding: 15px 0;
	margin: 15px 0;
	text-align: right;
}

.page .section-title {
	margin: 60px 0 20px 0;
}

.post-card {
	overflow: hidden;
	margin-bottom: 32px;
	box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
	border-radius: 6px;
}

.post-card__image {
	width: 100%;
	height: 240px;
	background-size: cover;
	background-position: center 0;
	display: block;
}

.post-card__title {
	margin-bottom: 12px;
}

.post-card__link {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	display: block;
}

.post-card__content {
	padding: 24px 16px 16px;
}

.post-card__text {
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.7px;
	margin-bottom: 16px;
	height: 54px;
}

.post-card__date {
	font-weight: 600;
	font-size: 11px;
	color: #6666667a;
	text-align: right;
}

.recents-posts__more {
	text-align: center;
}

.pagination {
	clear: both;
}

.page-content--mb45 {
	margin-bottom: 45px;
}

/* Pagination styles */
.pagination {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.pagination a,
.pagination span {
	display: inline-block;
	padding: 8px 16px;
	margin: 0 4px;
	border: 1px solid #ddd;
	background-color: #f1f1f1;
	color: #333;
	text-decoration: none;
	border-radius: 4px;
}

.pagination a:hover {
	background-color: #ddd;
}

.pagination .current {
	background-color: #dca44d;
	color: #fff;
	border: 1px solid #dca44d;
}

@media only screen and (max-width: 600px) {
	.pagination a,
	.pagination span {
		padding: 4px 8px;
		font-size: 12px;
	}
}

.social-icon-link {
	font-size: 23px;
}

.social-icon-link .fa {
	color: #ffffff;
}

.logo a {
	display: block;
}

.top-logo-img {
	height: 50px;
	width: auto;
}

@media only screen and (max-width: 600px) {
	.alignleft,
	.entry-content img,
	img.alignright,
	img.alignleft {
		display: block;
		float: none;
		max-width: 95%;
		height: auto;
		margin: 20px auto;
	}
}
