/*
Theme Name: Зелена хвиля
Description: Special theme. Based on Unify template & Bootstrap 4
Version: 1.0
Author: Jurko Chervony
Author URI: http://skinik.name
Theme URI: http://skinik.name
Text Domain: cehla

Used:
1) https://github.com/ressio/lazy-load-xt
2) https://fotorama.io
*/

.img-fluid {
	display: inline-block;
}

body {
	word-break: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	/*font-family: 'Noto Serif', serif!important;*/
}
hr {
	clear: both;
}

@media(max-width: 991px) {
	#js-header {
		background-color: #333;
	}
}

.custom-logo {
	max-width: 120px;
}
#topbar-menu-in-top {
	align-items: center;
}
#topbar-menu-in-top .list-inline-item a {
	font-size: .99rem;
	font-weight: 800;
}

.menu-item a {
	font-size: 1.1rem;
	font-weight: 800;
}
.list-inline-item:first-child,
.list-inline-item:nth-child(2),
.list-inline-item:nth-child(3) {
	margin-right: 0;
}

@media(min-width: 1024px) {
	.custom-logo {
		max-width: 140px;
	}	
}
@media(min-width: 1200px) {
	.custom-logo {
		max-width: 225px;
	}	
}

body.no-js .topbar li {
	display: inline-block;
	margin-right: 15px;
}

.topbar a {
	color: inherit;
}
#js-header .topbar .u-icon-v3 {
	color: #4267B2 !important;
}

@media(min-width: 992px) {
	.topbar .text-link+.text-link:before {
		content: "|";
		color: #fff;
		display: inline-block;
		margin-left: -10px;
		margin-right: 10px;
	}
}


.navbar-brand {
	font-size: 26px;
	font-family: 'Noto Serif', serif;
}

@media(min-width: 576px) {
	.navbar-brand {
		font-size: 30px;
	}
}

body.no-js .navbar-nav li {
	margin: 0 10px;
}
body.no-js .navbar-nav a {
	color: #464c5e;
}

.hs-sub-menu {
	padding: 0
}


body.no-js .sub-menu {
	display: none;
}
#js-header .sub-menu {
	max-width: 80%;
}
#js-header .sub-menu li {
	margin: 0 !important;
}

#js-header .u-header__section--dark .sub-menu {
	background-color: rgba(0, 0, 0, 1) !important;
}

#js-header .sub-menu li a {
	display: inline-block;
	word-break: break-word;
	white-space: pre-wrap;
}



.search-form-wrp {
	margin-left: auto;
	margin-right: auto;
}


/* Home slideshow */
 .hermes.tparrows {
 	display: none;
 }
.lang_search {
	flex-direction: row-reverse;
}



/* LOOP
###############################################################################################*/
.g-min-height-150 {
	min-height: 150px;
}
@media(min-width: 576px) {
	.g-min-height-200--sm {
		min-height: 200px;
	}
}

@media(min-width: 1024px) {
	.g-min-height-250--lg {
		min-height: 250px;
	}
	.g-min-height-vertical-img {
		min-height: 400px;
	}
}
.g-bg-size-vertical {
	background-size: 100% !important;
	background-repeat: no-repeat;
}



/* SINGLE
###############################################################################################*/
.entry-share {}
.entry-category a,
.entry-tags a {
	color: inherit;
}
.entry-category a:active,
.entry-category a:focus,
.entry-category a:hover,
.entry-tags a:active,
.entry-tags a:focus,
.entry-tags a:hover {
	text-decoration: none;
	color: inherit;
}

@media(max-width:575px) {
	.alignleft,
	.aligncenter,
	.alignright {
		display: block!important;
		float: none!important;
		margin-left: 0!important;
		margin-right: 0!important;
	}
}

.fotorama {
	background: #ececec;
	margin: 1em 0;
}

.fotorama>.fotorama__wrap {
	margin: 0 auto;
}

.fotorama__stage__frame .fotorama__caption {
	display: none;
}

.fotorama__stage__frame:hover .fotorama__caption {
	display: block;
}

.fotorama__caption {
	text-align: center;
}

.fotorama__caption .fotorama__caption__wrap {
	color: #fff;
	background: #000;
	background: rgba(0, 0, 0, 0.7);
	font-size: 11px;
	display: inline-block;
	margin: 0 auto;
}

.post .fotorama__stage {
	margin-bottom: 7px;
}

.post .fotorama__nav--thumbs .fotorama__nav__frame {
	opacity: .6;
}

.post .fotorama__nav--thumbs .fotorama__nav__frame:hover {
	opacity: .9;
}

.post .fotorama__nav__frame.fotorama__active {
	opacity: 1;
}


.wpcf7 form.sent .wpcf7-response-output {
	background-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	background-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	background-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	background-color: #ffb900; /* Yellow */
}

.cf7 .help-block {
	font-size: .85rem;
}

.wpcf7-not-valid-tip {
	color: red;
	font-size: .9rem;
}

@media(min-width: 992px) {
	.page-header .page-title {
		font-size: 36px;
	}
	.page-header .page-subtitle {
		font-size: 26px;
	}
}

@media(min-width: 1200px) {
	.page-header .page-title {
		font-size: 48px;
	}
	.page-header .page-subtitle {
		font-size: 36px;
	}
}



#toc_container ul {
	margin-left: 1.5em !important;
}
#toc_container ul li {
	list-style: disc !important;	
}
#toc_container ul ul li {
	list-style: circle !important;
}


article li {
	margin-bottom: 7px;
}



/* SIDEBAR
###############################################################################################*/
#sidebar .widget {
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
	margin-top: 20px;
}
#sidebar .widget ul {
	padding: 0; 
}
#sidebar .widget li:before {
	content: "\f105";
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin-right: 7px;
}
#sidebar .widget li {
	color: #777;
	list-style: none;
}
#sidebar .widget li+li {
	margin-top: 10px;
}
#sidebar .widget li a {
	color: inherit;
}

#sidebar .tagcloud {
	text-align: justify;
}

#sidebar .tagcloud a {
	display: inline-block;
	text-decoration: none;
	-webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;

	padding-top: 0.28571rem !important;
	padding-bottom: 0.28571rem !important;

	padding-left: 0.71429rem !important;
	padding-right: 0.71429rem !important;

	margin: 4px 0;

	color: #464c5e !important;
	background-color: #eee !important;
}
#sidebar .tagcloud a:hover {
	color: #fff !important;
	background-color: #000 !important;
}





/* Footer
###############################################################################################*/
/*****************      Team      ***************************/
#team figure h4 {
	font-family: unset !important;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.5;
}
/*****************  Useful links  ***************************/

#partners img {
	width: auto !important;
	max-height: 45px;
}
.element_spoiler_box {
	/*padding: 10px;*/
	border: 1px solid #eee;
	margin-bottom: 5px;
	border-radius: 5px;
}
.element_spoiler {
	padding: 10px;
	background: none;
}
.element_spoiler_box.open .element_spoiler {
	background: #eee
}
span.element_spoiler_title {
	padding-right: 20px;
}

.element_spoiler {
	display: flex;
	justify-content: space-between;
}
.element_spoiler {
	display: flex;
	justify-content: space-between;
	cursor: pointer;
}
.car-down {
	font-size: 14px;
	-webkit-transition: -webkit-transform 0.2s ease-out;
	-moz-transition: transform 0.2s ease-out;
	-ms-transition: transform 0.2s ease-out;
	-o-transition: transform 0.2s ease-out;
	transition: transform 0.2s ease-out;
}
.open .car-down {
	-webkit-transform: rotate(-180deg);
	transform: rotate(-180deg);
}
.content_spoiler {
	display: none;
}
/************ Pagination ****************/
.page-numbers {
	position: relative;
	display: block;
	padding: 0.5rem 0.75rem;
	margin-left: -1px;
	line-height: 1.25;
	background-color: #fff;
	border: 1px solid #dee2e6;
}
.page-numbers.current {
	border-color: #008c1f;
	background-color: #008c1f;
	color: #FFF;
}
.pagination.custom {
	padding-left: inherit;
}