/*!
Theme Name: Yalyboylu
Author: Koçebe
Version: 1.0.0
*/

/* STYLE.CSS FOR THEMES */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
    --bg: #414141;
	--font_color: #f0f0f0;
	--villages: #B9B9B9;
	--second_color: #0A0A0A; /* black */ 
	--accent_color: #961635;
	--footer: #2D2D2D;
	--head_hover: #0A0A0A; /* black */ 
	--unactive: #8f8f8f;
	--placeholder: #acacac;
	--placeholder_ham: #acacac;
}

html {
	height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    margin: 0%;
	
	min-height: 100%;
	
	display: flex;
	flex-direction: column;
}

/* HEADER */


.hero { /* background photo */
    position: relative;
    max-width: 100%;
}

.img_background { /* background главной станицы */
    background: linear-gradient(to bottom, transparent, 80%, #414141), url(img/bg.jpg);
    background-size: 50% 40%;
    position: absolute;
    z-index: -1;
    background-size: cover;
    width: 100%;
    height: 1200px;
    background-position: center no-repeat;
    margin: 0 auto
}

.thumbs_img { /* background photo */
    background-size: cover;
    width: 100%;
    height: 800px;
    background-position: center;
    background-attachment: fixed;
}

.img_backgroundpage { /* background обрезанная версия */
    background: linear-gradient(to bottom, transparent, 100%, #414141), url(img/bg.jpg);
	/*    overflow: hidden; */
	background-size: 50% 40%;
    position: absolute;
    z-index: -1;
    background-size: cover;
    width: 100%;
    height: 80px; /* высота navbara */
    background-position: center no-repeat;
    margin: 0 auto
}

	.nav-header {
		font-size: 1.5625em;
		height: 80px;
		margin: 0;
		padding-right: 100px;
		padding-left: 100px;
	}

	.nav-header a { /* "Baş saife" */
		color: var(--font_color);
		line-height: 80px;
		text-decoration: none;
	}

	.nav-header a:hover {
		color: var(--accent_color);
	}

	.nav-header ul {
		float: right;
		margin: 0;
		display: flex;
		align-items: center;
		padding-inline-start: 0px;
		margin-block-end: 0px;
	}

	.nav-header ul li {
		display: inline-block;
		padding-left: 25px;
	}

	.nav-header ul li a {
		color: var(--font_color);
		text-decoration: none;
	}

	.nav-header ul li a:hover {
		color: var(--accent_color);
		text-decoration: none;
	}

	.nav_sidebar {
		display: none;
	}

	.header_hr {
		display: none;
	}


/* HAMBURGER MENU */

	.ham-nav {
		display: none;
	}

	.ham-nav a {
		font-size: 1.5625em;
		color: var(--font_color);
		line-height: 80px;
		text-decoration: none;
	}

	.ham-menu {
		height: 50px;
		width: 40px;
		margin-right: 50px;
		position: relative;    
		cursor: pointer;
	}

	.ham-menu span {
		z-index: 502; /* hides the leaflet map (z-index leaflet map = 500) */
		height: 5px;
		width: 100%;
		background-color: var(--font_color);
		border-radius: 25px;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		transition: .3s ease;
	}

	.ham-menu span:nth-child(1) {
		top: 25%;
	}

	.ham-menu span:nth-child(3) {
		top: 75%;
	}

	.ham-menu.active span {
		background-color: var(--accent_color);
	}

	.ham-menu.active span:nth-child(1) {
		top: 50%;
		transform: translate(-50%, -50%) rotate(45deg);
	}

	.ham-menu.active span:nth-child(2) {
		opacity: 0;
	}

	.ham-menu.active span:nth-child(3) {
		top: 50%;
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	/* off-screen-menu */
	.off-screen-menu {
		overflow-y: auto;
		background-color:  var(--footer);
		border-left: 1.5px solid var(--font_color);
		border-top: 1.5px solid var(--font_color);
		height: 100vh;
		width: 100%;
		max-width: 450px;
		position: fixed;
		top: 80px;
		right: -452px;
		display: flex;
		flex-direction: column;
		align-items: center;    
		font-size: 2em;
		transition: .3s ease;
		z-index: 501; /* hides the leaflet map (z-index leaflet map = 500) */
	}
	.off-screen-menu.active {
		right: 0;
	}

	.off-screen-menu ul {
		list-style-type: none;
		padding-inline-start: 0px;
	}

	.off-screen-menu ul li {
		padding-bottom: 10px;
	}

	.off-screen-menu ul li a {
		color: var(--font_color);
		text-decoration: none;
	}

	.off-screen-menu ul li a:hover {
		color: var(--accent_color);
	}


/* SEARCH */
	
	/* DESCTOP VERSION */
	form {
		display: inline-block;
	}

	.search {
		display: inline-block;
	}

	.search-form {
		display: flex;
		align-items: center;
	}

	.search-field {
		color: var(--font_color);
		padding: 10px;
		margin-right: 10px;
		border: 1.5px solid var(--font_color);
		background: transparent;
		border-radius: 5px;
		outline: none;
		font-size: 15px;
		width: 250px;
	}

	.search-field::placeholder {
		color: var(--placeholder);
	}

	.search-submit {
		background: none;
		border: none;
		color: var(--font_color);
		font-family: 'Inter', sans-serif;
		text-decoration: none;
		display: inline-block;
		font-size: 25px;
	}

	/* MOBILE VERSION */
	
	.ham-seacrh-label {
		display: flex;
	}

	.ham-search {
		display: inline-block;
	}

	.ham-search-form {
		display: flex;
		align-items: center;
		margin: 20px;
	}

	.ham-search-field {
		color: var(--font_color);
		padding: 10px;
		margin-right: 10px;
		border: 1.5px solid var(--font_color);
		background: transparent;
		border-radius: 5px;
		outline: none;
		width: 300px;
	}
	
	.ham-search-field::placeholder {
		color: var(--placeholder_ham);
	}

	.ham-search-submit {
		background: none;
		border: none;
		color: black;
		font-family: 'Inter', sans-serif;
		text-decoration: none;
		display: inline-block;
		font-size: 25px;
	}

/* BREADCRUMB NAVIGATION */

	/* Style the list */
	ul.breadcrumb {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		list-style: none;
		height: 40px;
		margin-bottom: 0;
		margin-top: 0;
		padding-inline-start: 0px;
		margin-left: 100px;
	}

	/* Display list items side by side */
	ul.breadcrumb li {
		display: inline;
		font-size: 18px;
		color: var(--unactive);
	}

	/* Add a slash symbol (/) before/behind each list item */
	ul.breadcrumb li+li:before {
		padding: 8px;
		color: var(--font_color);
		content: "/\00a0";
	}

	/* Add a color to all links inside the list */
	ul.breadcrumb li a {
		color: var(--font_color);
		text-decoration: none;
	}

	/* Add a color on mouse-over */
	ul.breadcrumb li a:hover {
		color: var(--accent_color);
		text-decoration: underline;
	}


/* tittles started */

#tittles {
	list-style-type: none;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    font-size: 150px;
    padding-left: 100px;
    padding-right: 100px;
    margin: 0 auto;
}

.tittle_viilage {
    text-decoration: none;
    color: var(--villages);
}

.tittle_viilage:hover {
    color: var(--accent_color);
}

/* tittles finished */


/* selected started */

.select-container {
    display: inline-block;
    position: relative;
}

.custom-select {
    font-family: 'Inter', sans-serif;
    font-size: 25px;
    overflow: hidden;
    background: none;
    border: none;
}

.pll-switcher-select {
	color: var(--font_color);
	font-family: 'Inter', sans-serif;
    font-size: 25px;
    overflow: hidden;
    background: none;
    border: none;
	cursor: pointer;
}

.pll-switcher-select:focus {
    outline: none !important;
}

select option {
	color: var(--font_color);
	background-color: var(--unactive);
}


/* selected finished */



/* sidebar started */

	.sidebar-menu {
		padding-top: 500px;
		padding-left: 0px;
		padding-right: 100px;
	}

	.sidebar-menu_main_page {
		padding-top: 200px;
		padding-left: 0px;
	}

	.sidebar-header {
		font-size: 3em;
		color: var(--font_color);
		font-style: normal;
		line-height: normal;
		margin: 0;
		padding-bottom: 20px;
	}

	.cat-item {
		color: var(--font_color);
		text-decoration: none;
		font-style: normal;
		list-style-type: none;
		padding-bottom: 15px;
	}

	.cat-item-ham-menu {
		color: var(--font_color);
		font-size: 2em;
		text-decoration: none;
		font-style: normal;
		list-style-type: none;
	}

	.cat-item a /* стиль текста сайдбара */{
		color: var(--font_color);
		text-decoration: none;
		font-style: normal;
		list-style-type: none;
	}

	.cat-item a:hover {
		color: var(--accent_color);
	}

	.wp-block-categories /* стиль блока сайдбара */{
		list-style-type: none;
		display: flex;
		flex-direction: column;
		margin: 0;
		padding-left: 0px;
		font-weight: 400px;
	}

	.cat-item li {
		font-size: 0.5em;
    	margin: 10px 0px 10px 35px;
    	list-style: disc;
    	padding: 0px;
	}

/* sidebar finished */



/* BLOG PAGE */

	.container {
		display: flex;
	}

	.container-main-page {
		display: flex;
	}
	
	.map {
		padding-top: 150px;
		padding-bottom: 150px;
		margin-left: 100px;
		margin-right: 100px;
		flex-grow: 1;
	}

	.leaflet-container {
		border-radius: 14px;
	}

	.blog-content-header {
		font-size: 3em;
		color: var(--font_color);
		margin-top: 0px;
	}

	.blog-content {
		padding-top: 25px;
		padding-bottom: 25px;
		margin-left: 250px;
		margin-right: 250px;
		flex-grow: 1;
	}

	.sidebar-box-blog-page {
		padding-top: 30px;
		margin-right: 100px;
	}

	.sidebar-box-blog-page ul {
		padding-left: 0px;
	}

	.sidebar-box-blog-page ul li a {;
		font-size: 1.8em;
	}

	.sidebar-box-main-page {
		padding-top: 250px;
		margin-right: 100px;
	}

	.sidebar-box-main-page ul {
		padding-left: 0px;
	}

	.sidebar-box-main-page ul li a {;
		font-size: 1.8em;
	}

	
/* POST CARD */

	.box-content {
		margin: 20px 0;
		border: 1.5px solid var(--font_color);
		box-sizing: border-box;
	}

	.box-content img {
		width: 100%;
		height: auto;
		display: block;
	}

	.post-content {
		padding: 20px;
		display: flex;
		flex-direction: column;
		color: var(--font_color);
	}

	.post-content p {
		margin: 0;
	}

	.post-content h4 {
		margin: 0px 0px 20px 0px;
		color: var(--font_color);
		font-size: 1.5em;
	}
	
	.post-content button {
		align-self: flex-end;
		background-color: transparent;
		border: 1.5px solid var(--font_color);
		border-radius: 5px;
		color: var(--font_color);
		padding: 15px 32px;
		text-align: center;
		font-size: 1em;
		cursor: pointer;
		margin-top: 20px;
	}

	.post-content button:hover {
		background-color: var(--font_color);
		color: var(--bg);
	}

	.post-pagination {
		display: flex;
		justify-content: center;
		padding: 0;
		border-top: 1.5px solid var(--font_color);
	}

	.post-pagination > .nav-links > .page-numbers {
		padding-top: 10px;
		display: flex;
		list-style: none;
		gap: 3px;
	}

	.post-pagination li a {
		border: 1.5px solid var(--font_color);
		border-radius: 5px;
		padding: 10px;
		color: var(--font_color);
		text-decoration: none;
	}

	.post-pagination li a:hover {
		background-color: var(--font_color);
		color: var(--bg)
	}

	.post-pagination span {
		color: var(--unactive);
		border: 1.5px solid var(--unactive);
		border-radius: 5px;
		padding: 10px;
	}

	.post {	
	}

	.post h1 {
	color: var(--font_color);
	font-size: 1.5em;
	}

	.post p {
		color: var(--font_color);
		font-size: 1em;
	}

	
/* COMMENTS */


	.comment-header {
		color: var(--font_color);
		font-size: 1.5em;
	}

	/* Стили для списка комментариев */
	.comment-list {
		list-style-type: none;
		margin: 0;
		padding: 0;
		color: var(--font_color);
	}

	.comment-list li {
		margin-bottom: 20px;
	}

	.comment-list .comment {
		margin-bottom: 20px;
	}

	/* Стили для каждого отдельного комментария */
	.comment {

	}

	.comment a {
		color: var(--font_color);
	}

	.comment a:hover {
		color: var(--accent_color)
	}

	.comment ol {
		color: var(--font_color);
	}

	.comment .comment-meta {
		font-size: 12px;
		color: var(--font_color);
	}

	.comment-reply-title {
		color: var(--font_color);
    	font-size: 1em;
		margin-top: 20px;
	}

	.comment-reply-link {/*
		border: 1.5px solid var(--font_color);
		padding: 8px 15px 8px 15px;
		border-radius: 5px;
		font-size: 0.7em;*/
	}

	.comment-reply-link:hover {
		
	}

	.comment .comment-content {
		margin: 10px 0px 10px 0px;
		border: 1.5px solid var(--font_color);
		border-radius: 5px;
		padding: 10px;
		background-color: ;
	}
	
	.comment-metadata time {
		color: var(--unactive)
	}
	
	/* Стили для формы добавления комментариев */
	.comment-form {
	}
	
	.comment-form input[type="text"],
	.comment-form textarea {
		width: 100%;
		padding: 5px;
		border: 1.5px solid var(--font_color);
		border-radius: 5px;
		background: var(--unactive);
		outline: none;
		opacity: 0.4;
	}

	.form-submit {
		display: flex;
		justify-content: flex-end;
	}

	.comment-form input[type="submit"] {
		background-color: transparent;
		border: 1.5px solid var(--font_color);
		border-radius: 5px;
		color: var(--font_color);
		padding: 15px 32px;
		text-align: center;
		font-size: 0.8em;
		cursor: pointer;
	}

	.comment-form input[type="submit"]:hover {
		background-color: var(--font_color);
		color: var(--bg);
	}
	
	.reply {
		display: flex;
		justify-content: flex-end;
	}

/* SEARCH PAGE */
	img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
		width: 100%;
		height: auto;
		display: block;
	}

/* FOOTER */

	.footer {
		background-color: var(--footer);
		color: var(--font_color);
		margin-top: auto;
	}

	.footer-container {
		display: flex;
		justify-content: space-between;
		margin: 0px 100px 0px 100px;
	}

	.footer-about {
		flex-grow: 1;
		padding: 20px 0px 20px 0px;
	}

	.footer-contact {    
		width: 40%;
		padding: 20px 0px 20px 100px;
	}

	.footer-contact ul {
		list-style-type: none;
		padding-inline-start: 0px;
	}

	.footer-contact ul li {
		padding-bottom: 10px;
	}

/* adaptive */

@media screen and (min-width: 1920px) {
  	#tittles {
        line-height: 200%;
    }
}

@media (max-width: 1200px) {
	.blog-content {
	margin-left: 150px;
    margin-right: 150px;
	}
}

@media (max-width: 1024px) {
	.blog-content {
	margin-left: 100px;
    margin-right: 100px;
	}
}

@media (max-width: 800px) {
	
	
	.nav-header {
		display: none;
	}
	
	.ham-nav {
		display: flex;
		justify-content: flex-end;
		align-items: center;
		padding-left: 50px;
		height: 80px
    }
	
	.header {
        display: none;
    }
	
	.logo {
    	padding-left: 50px;
	}
	
	#tittles {
        padding-left: 50px;
        padding-right: 50px;
		font-size: 6em;
    }
 
    .header {
        padding-left: 50px;
        padding-right: 50px;
    }
	
	.nav_sidebar {
		display: block;
		position: none;
    }

	.header_hr {
		display: block;
    }
	
	.wp-block-categories {
		position: static;
	}
	
	.nav-header {
		padding-right: 0px;
	}
	
    .nav-header ul {
		display: inline;
		overflow: overlay;
		position: fixed;
        width: 100%;
        height: 100vh;
        background: #2d2d2d;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
		z-index: 501; /* hides the leaflet map (z-index leaflet map = 500) */
    }
    .nav-header ul li { 
        display:block;
        margin: 50px 0;
        line-height: 30px;
    }
    .nav-header ul li a {
        font-size: 20px;
    }

	
	.sidebar-box-main-page {
		display: none;
	}
	.sidebar-box-blog-page {
		display: none;
	}
	
	ul.breadcrumb {
		margin-left: 50px;
	}
	
	.blog-content {
		width: 100%;
		margin-left: 50px;
		margin-right: 50px;
	}
	
	.map {
		box-sizing: border-box;
		padding-top: 50px;
		padding-bottom: 50px;
		margin-left: 50px;
    	margin-right: 50px;
	}
	
	.footer-container {
		flex-direction: column;
		margin: 0px 50px 0px 50px;
	}
	
	.footer-contact {    
		width: 100%;
		padding: 0px 0px 20px 0px;
	}
}

@media (max-width: 480px) {
    #tittles {
		font-size: 4em;		    
		line-height: 170%;
    }
	.map {		
		margin-left: 20px;
    	margin-right: 20px;
	}
	.blog-content {
	margin-left: 20px;
    margin-right: 20px;
	}
	
	.ham-menu {
    margin-right: 20px;
	}
}


