/*!
Theme Name: Rama
Theme URI: http://underscores.me/
Author: Tal-Shachar Gilboa
Author URI: http://underscores.me/
Details URI: https://google.com
Description: Description
Version: 6.0.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: rama
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Rama is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

@import url("https://fonts.googleapis.com/css?family=Alef:400,700|Assistant:200,300,400,600,700,800|Heebo:100,300,400,500,700,800,900|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i|Varela+Round&display=swap&subset=hebrew");
body {
	margin: 0;
	padding: 0;
	width: 100%;
	overflow-x: hidden;
	font-size: 16px;
	font-family: var(--font);
}

* {
	box-sizing: border-box;
	transition: all 0.4s;
	--main-color: black;
	--second-color: #304e73;
	--font: "Assistant", sans-serif;
}

*:focus {
	outline: 0;
}

h1,
h2,
h3,
h4 {
	font-weight: normal;
	letter-spacing: 1px;
}

h1 {
	font-size: 50px;
}
h2 {
	font-size: 40px;
}
h3 {
	font-size: 30px;
}

a {
	transition: all 0.4s;
	color: var(--main-color);
}

a:hover {
	opacity: 0.7;
}

img {
	max-width: 100%;
	height: auto;
}

button,
input,
textarea,
select {
	font-family: var(--font);
	font-size: inherit;
}

.center {
	width: 90%;
	max-width: 1400px;
	margin: 0 auto;
}

.mobile {
	display: none;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
	float: left;
	margin-right: 40px;
}

.alignright {
	float: right;
	margin-left: 40px;
}

.iframe-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	overflow: hidden;
}

.iframe-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Buttons */
button {
	position: relative;
	background: transparent;
	border: 1px solid black;
	padding: 5px 15px;
	margin-top: 20px;
	font-size: inherit;
	cursor: pointer;
}

button:before {
	content: "";
	position: absolute;
	z-index: -1;
	width: 0px;
	height: 100%;
	top: 0;
	right: 0;
	background: white;
	transition: all 0.4s;
}

button:hover:before {
	width: 100%;
}

/* Form elements */
input,
textarea,
select {
	border: 1px solid black;
	padding: 4px;
}

input[type="submit"] {
	background: black;
	color: white;
	border: 0;
	padding: 7px 25px;
	font-size: inherit;
	cursor: pointer;
}

input[type="submit"]:hover {
	opacity: 0.8;
}

input[type="checkbox"] {
	position: relative;
}

input[type="checkbox"]:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 15px;
	height: 15px;
	border: 1px solid black;
	background: white;
}

input[type="checkbox"]:checked:after {
	content: '';
    position: absolute;
    top: -1px;
    right: 1px;
    width: 6px;
    height: 14px;
    border-right: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
    transform: rotate(45deg);
}

/* Header */
header.main-header {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 10;
	width: 100%;
	padding: 10px 0;
	background: linear-gradient(to bottom, white, transparent);
	transition: background 1s;
}

header.main-header.bg-white {
	background: white;
}

header.main-header .center {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.main-logo img {
	height: var(--logo-height);
	width: auto;
	object-fit: contain;
}

header.main-header.bg-white .main-logo img {
	height: 60px;
}

header.main-header nav {
	min-width: 200px;
}

header.main-header ul {
	margin: 0;
	padding: 0;
}

/* main-nav */
@keyframes humburger-animation1 {
	50% {
		transform: translateY(10px);
	}
	100% {
		transform: translateY(10px) rotate(45deg);
	}
}
@keyframes humburger-animation2 {
	50% {
		transform: translateY(-9px);
	}
	100% {
		transform: translateY(-9px) rotate(-45deg);
	}
}
@keyframes humburger-animation11 {
	0% {
		transform: translateY(10px) rotate(45deg);
	}
	50% {
		transform: translateY(10px) rotate(0deg);
	}
	100% {
		transform: translateY(0px) rotate(0deg);
	}
}
@keyframes humburger-animation22 {
	0% {
		transform: translateY(-9px) rotate(-45deg);
	}
	50% {
		transform: translateY(-9px) rotate(0deg);
	}
	100% {
		transform: translateY(0px) rotate(0deg);
	}
}

.humburger {
	position: relative;
	z-index: 12;
	display: flex;
	flex-direction: column;
	cursor: pointer;
}

.humburger span {
	width: 35px;
	height: 2px;
	margin: 4px 0;
	background: var(--main-color);
}

header:not(.open-menu) .humburger span:first-child {
	animation-name: humburger-animation11;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	transition: background 1s linear 0.3s;
}

header:not(.open-menu) .humburger span:nth-child(3) {
	animation-name: humburger-animation22;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	transition: background 1s linear 0.3s;
}

.open-menu .humburger span:first-child {
	animation-name: humburger-animation1;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	background: white;
}

.open-menu .humburger span:nth-child(2) {
	width: 0;
}

.open-menu .humburger span:nth-child(3) {
	animation-name: humburger-animation2;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	background: white;
}

.main-nav_container {
	position: fixed;
	top: 0;
	left: -60vw;
	z-index: 11;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 450px;
	height: 100vh;
	transition: all 1s;
}

.open-menu .main-nav_container {
	left: 0;
}

.main-nav_container:before {
	content: "";
	position: absolute;
	top: 0;
	z-index: -1;
	right: 0;
	width: 100%;
	height: 100%;
	background: var(--main-color);
	opacity: 0.9;
}

.main-nav_container ul {
	list-style: none;
	text-align: center;
}

.main-nav_container ul li {
	margin: 10px 0;
}

.main-nav_container ul li a {
	text-decoration: none;
	color: white;
	font-size: 22px;
}

li.menu-item-has-children > a {
	position: relative;
}

li.menu-item-has-children > a:before {
	content: "";
	position: absolute;
	right: calc(100% + 10px);
	top: 8px;
	width: 10px;
	height: 10px;
	border-right: 1px solid white;
	border-bottom: 1px solid white;
	transform: rotate(45deg);
	transition: all 1s;
}

li.menu-item-has-children:hover > a:before {
	transform: rotate(225deg);
	top: 15px;
}

ul.sub-menu {
	max-height: 0px;
	overflow: hidden;
	transition: all 1s;
}

li:hover ul.sub-menu {
	max-height: 350px;
}

li:hover ul.sub-menu li a {
	font-size: 18px;
}

/* Social nav */
.social-nav {
	direction: rtl;
	display: flex;
}

.social-nav * {
	direction: rtl;
}

.social-nav ul {
	display: flex;
	list-style: none;
}

.social-nav ul li {
	margin: 0 7px;
}

.social-nav ul li a,
.social-nav .cart-icon {
	font-size: 20px;
	color: var(--main-color);
}

.social-nav .cart-icon {
	border-left: 2px solid var(--main-color);
	padding-left: 15px;
	margin-left: 10px;
	cursor: pointer;
}

.show-cart {
	position: relative;
}

.number-of-product-in-cart {
	position: absolute;
	bottom: -3px;
	right: -9px;
	width: 18px;
	height: 18px;
	background: black;
	border-radius: 50%;
	color: white;
	font-size: 10px;
	line-height: 18px;
	text-align: center;
}

.language-switcher li.current-lang {
	display: none;
}

/* Footer */
#contact {
	background: #262626;
	color: #bbb;
	padding: 30px 0;
}
#contact.light {
	background: #bbb;
	color: #262626;
}

#contact h2 {
	margin-top: 0;
}

#contact h3 {
	color: #fefefe;
	margin: 15px 0;
}

#contact.light h3,
#contact.light a {
	color: #262626;
}

#contact a {
	color: #bbb;
	text-decoration: none;
}

#contact .center {
	display: flex;
	flex-wrap: wrap;
}

#contact .quarter,
#contact .half {
	width: calc(25% - 30px);
	margin: 0 15px;
	padding: 30px 0;
}

#contact .half {
	width: calc(50% - 30px);
}

#contact .quarter iframe,
#contact .quarter img {
	max-width: 100%;
}

#contact .quarter iframe {
	max-height: 300px;
}

#contact ul.contact-info-list {
	padding: 0;
	list-style: none;
}

#contact ul.contact-info-list li {
	margin-bottom: 5px;
}

#contact .contact-info-list i {
	width: 20px;
	margin-left: 10px;
}

#contact .quarter input,
#contact .quarter textarea {
	width: 100%;
    background: transparent;
    border-color: #fefefe;
    color: #fefefe;
}

#contact.light .quarter input,
#contact.light .quarter textarea {
	border-color: #262626;
}

#contact .quarter button {
	margin-top: 0;
	border-color: #fefefe;
	width: 100%;
}

#contact.light .quarter button {
	color: #262626;
	border-color: #262626;
}

footer.main-footer {
	padding: 15px 0;
	background: black;
	color: white;
	text-align: center;
	letter-spacing: 1px;
	font-size: 14px;
}

footer.main-footer a {
	color: white;
}

#contact div.wpforms-container-full .wpforms-form .wpforms-field {
    padding: 0 0 10px 0;
}

#contact div.wpforms-container-full .wpforms-form .wpforms-field-label {
	font-weight: normal;
}

#contact .social-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
}

#contact .social-list li {
	margin-left: 20px;
	font-size: 30px;
}

.footer-form {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.footer-form_half {
	width: calc(50% - 10px);
}

.footer-form label {
    display: inline-block;
	margin-bottom: 3px;
	height: 25px;
}

.footer-form input,
.footer-form textarea, 
.footer-form select {
    border: 1px solid #bbb;
    width: 100%;
	margin-bottom: 5px;
	background: transparent;
	color: #bbb;
}

.footer-form textarea {
	height: 117px;
}

.footer-form input[type="submit"] {
	background: #bbb;
	color: black;
	padding: 4px;
}

/* Home page */
.hp-slider_item {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	width: 100%;
	height: 70vh;
	opacity: 0;
	padding: 10vh;
	text-align: center;
	font-size: 24px;
	background-size: cover;
	background-position: center;
}

.hp-slider_item.show {
	opacity: 1;
}

.hp-slider_item:before,
.after-slider:before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.4);
}

.hp-slider_item h3 {
	margin: 0;
	font-size: 50px;
}

.hp-slider_item h3,
.hp-slider_content,
.hp-slider_item button {
	opacity: 0;
	transform: translateY(-40px);
	transition: all 0.8s;
}

.slick-active .hp-slider_item h3,
.slick-active .hp-slider_content,
.slick-active .hp-slider_item button {
	opacity: 1;
	transform: translateY(0px);
}

.hp-slider_item button:hover:before {
	background: transparent;
}

ul.slick-dots {
	position: absolute;
	bottom: 20px;
	display: flex;
	justify-content: center;
	width: 100%;
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.slick-dots li {
	font-size: 0;
	width: 12px;
	height: 12px;
	border: 2px solid var(--main-color);
	border-radius: 50px;
	margin: 0 8px;
	cursor: pointer;
}

ul.slick-dots li button {
	opacity: 0;
}

ul.slick-dots li.slick-active {
	background: var(--main-color);
}

img.profile-image {
    position: relative;
    display: block;
    z-index: 1;
    width: 180px;
    height: 180px;
    margin: -80px auto -30px auto;
    object-fit: cover;
    border-radius: 50%;
}

.after-slider-container {
	display: flex;
	flex-wrap: wrap;
}

.after-slider {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 50%;
	height: 370px;
	padding: 50px 80px;
	background-size: cover;
	background-position: center;
	font-size: 20px;
}

.after-slider h3 {
	margin: 0;
}

.after-slider button:hover:before {
	background: transparent;
}

.after-slider-left {
	text-align: right;
}

.hp-products {
	text-align: center;
	margin: 50px auto 70px;
}

.hp-products ul.products {
	justify-content: center;
}

.main-hp-content {
	margin: 50px auto;
}

.main-hp-content h2,
.main-hp-content h3,
.main-hp-content p {
	margin: 0;
}

.hp-halfs {
	display: flex;
	width: 100%;
	height: 50vh;
}

.hp-halfs .half {
	width: 50%;
	height: 100%;
}

.hp-halfs .half-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	height: 100%;
	max-width: 700px;
	margin: 0 0 0 calc(50vw - 700px);
	padding: 0 50px 0 0;
}

.hp-halfs .half:nth-child(2) .half-inner {
	margin-right: 0;
	margin: 0 calc(50vw - 700px) 0 0;
	padding: 0 0 0 50px;
}

.hp-halfs .half img,
.hp-halfs .half iframe {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Teatimonials */
.testimonials {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	margin: 50px auto;
	text-align: center;
}

.testimonials h2 {
	margin: 0;
}

.testimonials-slider_item {
	max-width: 500px;
}

.testimonials-slider_item img,
.no-image {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto;
}

.no-image {
	background: pink;
	display: block;
}

.author {
	margin-top: 20px;
	font-style: italic;
	color: black;
}

.slick-prev,
.slick-next {
	position: absolute;
	top: 35px;
	right: 15px;
	z-index: 1;
	width: 30px;
	height: 30px;
	border-top: 1px solid black;
	border-right: 1px solid black;
	transform: rotate(45deg);
	transition: all 0.4s;
	cursor: pointer;
}

.slick-next {
	right: auto;
	left: 15px;
	transform: rotate(-135deg);
}

.slick-prev:hover,
.slick-next:hover {
	border-top-color: black;
	border-right-color: black;
}

.slick-prev:hover {
	right: 5px;
}

.slick-next:hover {
	left: 5px;
}

/* Features */
.features {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 50px auto;
}

.feature_item {
	display: flex;
	align-items: center;
	padding: 15px;
	width: calc(33.33% - 30px);
}

.feature_item h3,
.feature_item p {
	margin: 0;
}

.feature_item h3 {
	font-size: 18px;
}

.feature_item p {
	color: #555;
	font-size: 14px;
}

.feature_item i {
	width: 30px;
	font-size: 30px;
	margin-right: 25px;
}

/* Services in home page */
.hp-services {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 50px auto;
}

.hp-services.circle .posts-list_item img {
	width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 10px auto;
}

.hp-services h3 {
	text-align: center;
    margin: 10px 0;	
}

.hp-services a {
	text-decoration: none;
	border: 1px solid black;
	color: black;
	width: 100%;
	text-align: center;
	padding: 6px;
	margin: auto 0 0 0;
}

/* Blog in home page */
.hp-blog {
	margin: 50px auto;
}

.hp-blog h2 {
	text-align: center;
	margin-bottom: 0;
}

.hp-blog ul.slick-dots {
	bottom: -20px;
}

/* Pages & posts */
.main-title {
	position: relative;
	width: 100%;
	height: 50vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	text-align: center;
	margin-bottom: 60px;
}

.main-title:before {
	content: "";
	position: absolute;
	z-index: -1;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.4);
}

.main-title img {
	position: absolute;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#breadcrumbs {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

#breadcrumbs li {
	margin: 0 5px;
}

.content-and-sidebar {
	display: flex;
	margin-bottom: 60px;
}

.entry-content {
	width: 100%;
	overflow: auto;
}

#secondary {
	width: 30%;
	margin-right: 30px;
}

/* Comments */
.comment-reply-title {
	margin-bottom: 0;
}

.comment-form p {
	margin: 0 0 10px;
}

.comment-form textarea {
	width: 100%;
}

.comment-form input[type="submit"] {
	display: block;
	margin: 0 auto 0 0;
}

.comment-form label {
	display: inline-block;
	min-width: 65px;
}

.reply a {
	color: white;
	background: black;
	text-decoration: none;
	padding: 2px 8px;
}

/* Widgets */
#searchform {
	display: flex;
}

#searchform input {
	width: 100%;
	border: 2px solid black;
	padding: 7px;
}

#searchform input[type="submit"] {
	background: black;
	width: 46px;
	background-image: url(icons/search.png);
	background-size: 25px auto;
	background-position: center;
	background-repeat: no-repeat;
}

.widget ul.costum-recent-posts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.costum-recent-posts li {
	display: flex;
	align-items: center;
}

.costum-recent-posts li img {
	width: 80px;
	height: 80px;
	margin-left: 10px;
}

.costum-recent-posts li .date {
	color: grey;
	font-size: 12px;
	font-style: italic;
}

.costum-recent-posts li a {
	text-decoration: none;
	color: black;
	font-size: 18px;
}

.widget {
	margin-bottom: 50px;
}

h3.widget-title {
	font-size: 20px;
	border-right: 4px solid var(--main-color);
	padding-right: 10px;
	margin-bottom: 10px;
	margin-top: 0;
}

.widget ul {
	padding-right: 15px;
	list-style: none;
}

.widget ul li {
	margin-bottom: 8px;
}

.widget ul li a {
	text-decoration: none;
}

/* Shear buttons */
.shear-buttons {
	display: flex;
	align-items: center;
}

.shear-buttons h3 {
	margin: 0 0 0 20px;
	font-size: 20px;
}

.shear-buttons ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.shear-buttons li {
	width: 25px;
	height: 25px;
	margin: 0 3px;
	text-align: center;
	background: black;
}

.shear-buttons li a {
	color: white;
	font-size: 18px;
}

.shear-buttons li:first-child {
	background: #4267b2;
}
.shear-buttons li:nth-child(2) {
	background: #0073b0;
}
.shear-buttons li:nth-child(3) {
	background: #55688a;
}
.shear-buttons li:nth-child(4) {
	background: #00e676;
}

/* Category page */
.content-and-sidebar.posts-list {
	flex-wrap: wrap;
}

.posts-list_item {
	position: relative;
	display: flex;
	flex-direction: column;
	width: calc(20% - 30px);
	margin: 15px;
	color: black;
	text-decoration: none;
	transform: scale(0.7);
	opacity: 0;
}

.posts-list_item.animated {
	transform: scale(1);
	opacity: 1;
}

.posts-list_item:hover {
	opacity: 1;
}

.posts-list_item img {
	height: 220px;
	width: 100%;
	object-fit: cover;
}

.posts-list_item:hover img {
	opacity: 0.7;
}

.posts-list_item h3 {
	margin: 0;
	font-size: 22px;
}

.posts-list_item .date {
	color: grey;
	font-size: 14px;
	font-style: italic;
}

.posts-list_item button {
	position: absolute;
	z-index: 1;
	right: 16%;
	width: 60%;
	margin-top: 160px;
	font-size: 16px;
	opacity: 0;
}

.posts-list_item:hover button {
	opacity: 1;
}

/* Accommodation */
.accommodation-gallery {
	display: flex;
	flex-wrap: wrap;
}

.accommodation-gallery_item {
	position: relative;
	margin: 3px;
}

.accommodation-gallery_item a {
	display: block;
	line-height: 0;
}

.accommodation-gallery_item p {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	margin: 0;
	padding: 10px 0;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.5);
	opacity: 0;
}

.accommodation-gallery_item:hover p {
	opacity: 1;
}

/* Responsive */
@media all and (max-width: 1400px) {
	.hp-halfs .half-inner,
	.hp-halfs .half:nth-child(2) .half-inner {
		height: auto;
		margin-left: 0;
		margin-right: 0;
		padding: 40px 20px 0 20px;
	}
}

@media all and (max-width: 600px) {
	.desktop {
		display: none !important;
	}
	.mobile {
		display: block;
	}

	h1 {
		font-size: 40px;
	}
	h2 {
		font-size: 32px;
	}
	h3 {
		font-size: 24px;
	}

	/* Header */
	header.main-header nav {
		min-width: unset;
	}

	.main-logo img {
		max-width: 200px;
		max-height: 90px;
	}

	.main-nav_container {
		left: -100vw;
		width: 100vw;
	}

	.main-nav_container {
		flex-direction: column;
	}

	header.main-header ul.social-list {
		display: flex;
		margin-top: 20px;
	}

	header.main-header ul.social-list li {
		margin: 0 7px;
	}

	header.main-header a.remove.remove_from_cart_button {
		float: right;
	}

	/* Footer */
	#contact .quarter,
	#contact .half {
		width: calc(100% - 30px);
		padding: 0;
	}

	footer.call-now-active {
		padding-bottom: 80px;
	}

	.call-now-button {
		position: fixed;
		bottom: 0;
		width: calc(100% - 20px);
		margin: 10px;
		padding: 10px;
		background: var(--main-color);
		color: white;
		text-align: center;
		font-size: 20px;
		border-radius: 7px; 
		text-decoration: none;
	}

	.sticky-contact {
		position: fixed;
		bottom: 7px;
		right: 7px;
		width: calc(100% - 14px);
		display: flex;
	}
	
	.sticky-contact a {
		font-size: 20px;
		text-decoration: none;
		text-align: center;
		color: white;
		background: var(--main-color);
		padding: 10px;
		border-radius: 7px;
		border: 2px solid white;
	}
	
	.sticky-whatsapp {
		width: 50%;
		margin-right: 7px;
	}
	
	.sticky-phone {
		width: 50%;
		white-space: nowrap;
	}

	.footer-form_half {
		width: 100%;
	}

	/* Home page */
	.hp-slider_item {
		align-items: flex-start;
		text-align: right;
		padding: 50px 20px;
		font-size: 20px;
	}

	.hp-slider_item h3 {
		line-height: 35px;
		margin-bottom: 15px;
		font-size: 30px;
	}

	.slick-active .hp-slider_content {
		line-height: unset;
	}

	img.profile-image {
		width: 150px;
		height: 150px;
		margin: -35px auto;
	}

	.after-slider {
		width: 100%;
		padding: 50px 20px;
	}

	.hp-products {
		margin: 50px auto 10px;
	}

	.hp-products ul.products {
		justify-content: space-between;
	}

	.hp-products ul.products li:nth-child(5) {
		display: none;
	}

	.hp-services.circle .posts-list_item img {
		width: 140px;
		height: 140px;
	}

	.hp-halfs {
		height: unset;
		flex-wrap: wrap;
	}

	.hp-halfs.second {
		flex-direction: column-reverse;
	}

	.hp-halfs .half {
		width: 100%;
		height: unset;
	}

	.half-inner h2,
	.half-inner h3 {
		margin-bottom: 0;
	}

	.hp-halfs:nth-of-type(2) {
		flex-direction: column-reverse;
	}

	.feature_item {
		width: calc(100% - 30px);
		margin: 15px 0;
	}

	.hp-blog .center {
		width: 100%;
	}

	.hp-blog .posts-list_item {
		margin: 0;
	}

	.hp-blog .posts-list_item img {
		width: 100%;
		height: 300px;
	}

	.hp-blog h3,
	.hp-blog .date,
	.hp-blog a {
		margin: 0 5%;
	}

	/* Pages and posts */
	.main-title {
		height: auto;
		padding-top: 120px;
	}
	
	.content-and-sidebar {
		flex-wrap: wrap;
	}

	.entry-content img {
		max-width: 90%;
	}

	.alignleft,
	.alignright {
		float: none;
		display: block;
		margin: 20px auto;
	}
	

	#secondary {
		width: 100%;
	}

	/* Category page */
	.posts-list_item {
		width: calc(50% - 14px);
		margin: 15px 7px;
	}
}
