/* Custom styles for this theme
========================================================================== */

/* site main  */

.site-main {
	min-height: 600px;
	padding: 3rem 0 2rem;
}

.page-template-default {
	min-height: 600px;
	padding: 3rem 0 0;
}

@media (min-width:768px) {
	.site-main{
		padding: 3rem 0 5rem;
	}		

	.page-template-default {
		padding: 3rem 0 0;
	}		
}

.category-tpl .main-header .content {
	padding-top:5rem !important;
}

@media (min-width:768px) {
	.category-tpl .main-header .content {
		padding-top: 3rem ;
	}		
}

.page .entry-title,
.not-found .page-title,
.tag-tpl .page-title {
	margin-bottom: 2rem;
	font-weight: 700;
	color: var(--color-1);
}

.CookieDeclarationDialogText,
.CookieDeclarationIntro {
	display: none;
}

/* site footer  */

.site-footer {
	color: var(--color-3);
	background-color: var(--color-2);
}

.site-footer a {
	color: var(--color-3);
}

@media (min-width: 768px) {
	.sidebar-1 > .widget:nth-child(2n+1) {
		clear: left;
	}

	.sidebar-2 > .widget:nth-child(2n+1) {
		clear: left;
	}
}

@media (min-width: 992px) {
	.sidebar-2 > .widget:nth-child(4n+1) {
		clear: left;
	}
}

.sidebar-2 p,
.sidebar-2 a {
	font-size: 12px;
	opacity: .8;
}

.sidebar-2 .menu {
	padding-left: 0;
	list-style: none;
}

.site-info {
	font-size: 12px;
	opacity: .8;
}

.site-info .menu-item {
	display: inline-block;
}

.site-info .list-inline {
	margin-bottom: 0;
}

.site-info .menu-item + li {
	margin-left: .5rem;
}

.site-info .menu-item + li::before {
	content: "|";
	margin-right: .5rem;
}

/* contact template  */

.contact-tpl > article {
	padding: 5rem 0 5rem;
	margin-top: -3rem;
	color: var(--color-3);
	background-color: var(--color-1);
	border-radius: 0 0 32px 32px;
}

/* @media (min-width:768px) {
	.contact-tpl > article {
		padding: 5rem 0 5rem;
	}
} */

.contact-tpl .entry-title {
	color: var(--color-2);
}

.home-tpl .wpcf7-response-output,
.contact-tpl .wpcf7-response-output {
	display: none !important;
}

/* home template */

@media (min-width: 992px) {
	.main-guides .row > .col-left {
		clear: left;
	}
}

/* guide taxonomy template */

.main-header {
	min-height: 510px;
	position: relative;
	margin-top: -3rem;
	color: var(--color-3);
	background-color: rgba(20, 27, 65, 0.35);
	background-blend-mode: darken;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

@media (min-width: 1200px) {
	.main-header .content {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 4rem;
		width: 100%;
		max-width: 1200px;
		margin: 0 auto;
	}
}

@media (max-width: 1199px) {
	.main-header .content {
		padding: 3rem 0 5rem;
	}
}

.main-content .wrapper {
	padding:1rem;
	background-color: #e9ecef;
}

@media (min-width: 768px) {
	.main-content .wrapper {
		padding: 2rem 2rem 3rem;
	}
}

@media (max-width: 767px) {
	.filters .list-inline-item {
		font-size:13px;
	}
}

.filters .list-inline-item:not(:last-child) {
	margin-right: 5px;
}

@media (min-width: 768px) {
	.filters .list-inline-item:not(:last-child) {
		margin-right: 2rem;
	}		
}

.filters .list-inline-item a {
	color: var(--color-2);
	font-weight: 400;
}

.filters li.filter-active a {
	text-decoration: underline;
}

@media (min-width: 1200px) {
	.main-content .wrapper {
		padding: 5rem 5rem 6rem;
	}
}

@media (min-width: 992px) {
	.guides > .guide-item:nth-child(2n+1) {
		clear: left;
	}
}

.guides .guide-item-content {
	margin: 0 auto;
	max-width: 420px;
}

.guides .title a {
	color: var(--color-2);
}

/* guide single template */

.guide-tpl > article {
	padding: 3rem 0 2rem;
	margin-top: -3rem;
	background-color: #e9ecef;
}

@media (min-width: 992px) {
	.guide-tpl > article {
		padding: 3rem 0 5rem;
	}
}

.guide-tpl .entry-header h6 a {
	color: var(--color-2);
}

.guide-tpl .entry-footer .btn {
	color: #fff;
	background-color: var(--color-1);
	border-color: var(--color-1);
}

.guide-tpl .entry-footer .btn:hover {
	opacity: .8;
}

.guide-tpl .thumbnail + .btn-play {
	position: absolute;
	width: 100px;
	height: 100px;
	top: 0; left: 0; right: 0; bottom: 0;
	margin: auto;
}

.content-border-radius {
	border-radius: 32px;
}

.content-border-radius .thumbnail {
	border-radius: 32px;
	display: block;
	overflow: hidden;
}

.content-border-radius .thumbnail img {
	display: block;
	height: auto;
	width: 100%;
}

/* detail */

.guide-tpl article.guide {
	border-radius: 0 0 32px 32px;
	padding-top: 80px;
}

@media (min-width:768px) {
	.guide-tpl article.guide {
		padding-top: 120px;
	}

	.guide-tpl article.guide .left > * {
		max-width: 490px;
	}
}

.guide-tpl article.guide .thumbnail {
	border-radius: 16px;
	display: block;
	overflow: hidden;
}

.guide-tpl .thumbnail+.btn-play {
	align-items: center;
	display: flex;
	height: 100% !important;
	justify-content: center;
	width: 100% !important;
}

.site-header .nav-item.active a {
	text-decoration: underline;
}

.site-navbar .navbar-nav .active.btn-item>a {
	text-decoration: none;
}

/* custom select */

.select2-container {
	max-width: 210px;
}

.select2-container--default .select2-selection--single {
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
	border-radius: 16px;
	height: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #fff;
	line-height: 36px;
	padding-left: 10px;
	padding-right: 25px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	right: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #fff;
	border-style: solid;
	height: 12px;
	width: 12px;
	border-top: 2px solid;
	border-right: 2px solid;
	border-bottom: 0;
	border-left: 0;
	transform: rotate(135deg);
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: #fff;
	border-width: 2px;
	transform: rotate(-45deg);
	top: 66%;
}

.select2-dropdown .select2-search {
	display: none;
}

.select2-dropdown {
	border: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 1px 1px 4px rgba(0, 0, 0, .5);
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background: #ddd;
	color: var(--color-2);
}

@media (min-width:768px) {
	.select2-container--default .select2-results>.select2-results__options {
		max-height: 365px;
	}
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,
.select2-container--open .select2-dropdown--below {
	border-radius: 16px;
}

.select2-results__option {
	padding-bottom: 10px;
	padding-left: 10px;
}

/* contact form */

.form-group {
	margin-bottom: 20px;
}

@media (min-width:768px) {
	.form-group {
		margin-bottom: 50px;
	}
}

.form-title {
	display: block;
	font-size: 16px;
	margin-bottom: 15px;
}

@media (min-width:1300px) {
	.form-title {
		font-size: 20px;
	}
}

.wpcf7-list-item {
	align-items: flex-start;
	display: flex;
	margin-bottom: 5px;
	margin-left: 0;
	margin-right: 1em;
	position: relative;
	flex-wrap: nowrap;
}

.wpcf7-list-item:last-of-type {
	margin-right: 0;
}

.wpcf7-list-item label {
	cursor: pointer;
	line-height: 24px;
	margin-right: 5px;
	font-size: 14px;
}

input[type=checkbox],
input[type=radio] {
	cursor: pointer;
	-webkit-appearance: none;
	height: 16px;
	width: 16px;
	border: 1px solid white;
	border-radius: 50%;
	margin-right: 7px;
	margin-top: 4px;
	transition: .3s;
}

@media (min-width:768px) {

	input[type=checkbox]:hover,
	input[type=radio]:hover {
		background: rgba(255, 255, 255, .3);
	}
}

.form-check-inline {
	display: block;
	margin-right: 0;
}

.form-check-inline .form-check-input {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	font-weight: 100;
	justify-items: space-between;
	font-size: 15px;
}

input[type=checkbox]:checked+.wpcf7-list-item-label:before,
input[type=radio]:checked+.wpcf7-list-item-label:before {
	background: #fff;
	border-radius: 50%;
	content: '';
	height: 10px;
	width: 10px;
	height: 8px;
	width: 8px;
	display: block;
	position: absolute;
	top: 8px;
	left: 4px;
}

.wpcf7-submit {
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 1px;
	padding-bottom: 1px;
	font-weight: bold;
	transition: .3s;
}

/* contact form - home */

.home-tpl .form-check-inline input[type=checkbox],
.home-tpl .form-check-inline input[type=radio] {
	border: 1px solid var(--color-2);
}

.home-tpl input[type=checkbox]:checked+.wpcf7-list-item-label:before,
.home-tpl input[type=radio]:checked+.wpcf7-list-item-label:before {
	background: var(--color-2);
}

.home-tpl .select2-container--default .select2-selection--single {
	border-color: var(--color-2);
	color: var(--color-2);
}

.home-tpl .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--color-2);
}

.main-contact:after {
	display: none;
}

@media (min-width:992px) {
	.main-contact:after {
		display: block;
	}
}

.home.page-template-default {
	padding-top: 0;
	padding-bottom: 0;
}

.hide {
	display: none !important;
}
