/*
Theme Name: Ligir
Author: Ivan Frolov
Description: Ligir WordPress Theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ligir
Tags:
*/

/* Default content */

.entry-content img {
	margin: 0 0 1.5em 0;
}

.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
}

.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
}

.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
}

.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	max-width: 100%;
	border: 1px solid #f0f0f0;
	border-radius: .25rem;
    padding: 5px;
}

.wp-caption figcaption {
	padding: 10px;
}

.wp-caption img {
	border: 0 none;
	border-radius: .25rem;
	padding: 0;
	margin: 0;
	max-width: 100%;
    height: auto;
}

.wp-caption p.wp-caption-text {
	margin: 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;
}

/* END: Default content */

/* Header Search */

.top-search .inside {
	padding-right: 15px;
}

.search-form {
	position: relative;
}

.search-form__input {
	width: 100%;
	height: 38px;
	line-height: 38px;
	border-radius: 19px;
	background-color: #fff;
	border: 1px solid #e3e3e4;
	padding: 0 39px 0 20px;
	color: #4E6170;
}

.search-form__input:focus {
	box-shadow: unset !important;
	border-color: #e3e3e4 !important;
}

.search-form__button {
	height: 25px;
	width: 37px;
	background: transparent;
	cursor: pointer;
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 5;
	padding: 0;
}

.search-form__icon {
    background: url(./images/search-button.png) no-repeat center center;
    height: 37px;
    width: 32px;
    padding: 0;
    margin: 0;
}

/* END: Header Search */

/* Custom */

.modid97 .inside {
    filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur in="SourceAlpha" stdDeviation="10" /><feOffset dx="1" dy="11" result="offsetblur" /><feFlood flood-color="rgba(50,50,0,0.2)" /><feComposite in2="offsetblur" operator="in" /><feMerge><feMergeNode /><feMergeNode in="SourceGraphic" /></feMerge></filter></svg>#filter');
    -webkit-filter: drop-shadow(0px 10px 10px rgba(50, 50, 0, 0.2));
            filter: drop-shadow(0px 10px 10px rgba(50, 50, 0, 0.2));
}

.modid97 .inside img {
    margin: 0 0 40px !important;
    -webkit-clip-path: polygon(0% 0%, 90% 0%, 100% 15%, 100% 100%, 0% 100%);
            clip-path: polygon(0% 0%, 90% 0%, 100% 15%, 100% 100%, 0% 100%);
}

.modid96 .jn-left img {
	height: 228px;
    width: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
}

#footer .fb-block a {
	display: inline-block;
}

/* END: Custom */

/* AJAX Search */

.search-form__results {
    position: absolute;
    top: 100%;
    left: 0px;
    margin-top: 2px;
    z-index: 1000;
    font-size: 12px;
    width: 250px;
	background: #fff;
	border: 1px solid #e5e5e5;
	display: none;
}

.search-form__image {
	width: 50px;
	min-width: 50px;
	height: 50px;
	-o-object-fit: cover;
	   object-fit: cover;
	margin-right: 10px;
}

.search-form__name {
	color: #4e6170;
    font-weight: bold;
	line-height: 1.2;
}

.search-form__description {
    color: #7794aa;
    font-size: 11px;
	line-height: 1.2;
	margin-top: 5px;
}

.search-form__blocks {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding: 5px;
}

.search-form__result {
	display: block;
}

.search-form__result:not(:last-child) {
	border-bottom: 1px solid #c2d5e1;
}

.search-form__found {
	border-bottom: 1px solid #c2d5e1;
	padding: 5px;
}

.search-form__all {
	text-align: right;
	padding: 5px;
	border-top: 1px solid #c2d5e1;
}

/* END: AJAX Search */
