﻿h2.--mobile {
    display: none;
}


@media (max-width: 1200px) {
    h2.--mobile {
        display: block;
    }

    h2.--desktop {
        display: none;
    }
}

/* +++++++++++++++ nav +++++++++++++++++ */

._nav a {
    position: relative;
    font-weight: 300;
    transition: .3s;
}

._nav a:hover,
._nav .current-menu-item a {
    font-weight: 700; 
}

/* ++++++++++++++++++ button +++++++++++++++++++ */

button {
    cursor: pointer;
    transition: .3s;
}

._btn {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
	padding: 0 2em;
	background-color: transparent;
	color: var(--black-color);
    border: 1px solid var(--black-color);
    font-weight: 300;
    transition: .3s;
    cursor: pointer;
    width: 100%;
    height: 3.6rem;
    font-family: 'Proxima Nova';
}

._btn:hover,
._btn.active {
	background-color: var(--beige-color);
	color: var(--white-color);
    border: 1px solid var(--beige-color);
    font-weight: 400;
}

._btn.--color {
    padding: 0 1.7em;
    background-color: var(--beige-color);
    color: var(--white-color);
    border: 0px;
    margin-right: 2em;
    margin-bottom: 2em;
    justify-content: space-between;
}

._btn.--color img {
    width: 1.7em;
}

._btn.--color:hover {
    font-weight: 300;
    background-color: var(--dark-beige-color);
    border: 0px;
}

/* +++++++++++++++++++ pictute +++++++++++++++ */

._pict {
	background-size: cover;
    background-position: center;
    width: 100%;
}

/* +++++++++++++ burger ++++++++++++++ */

._burger {
    display: none;
	position: relative;
	cursor: pointer;
	color: inherit;
	background-color: transparent;
	z-index: 250;
	cursor: pointer;
}

._burger.--cross {
	width: 30px;
	height: 30px;
	right: 0;
}

._burger.--cross::before,
._burger.--cross::after {
	content: '';
	position: absolute;
	height: 3px;
	left: 0;
	width: 30px;
	transition: all .3s;
	background-color: var(--beige-color);
}

._burger::before {
	top: 7px;
}

._burger::after {
	top: 17px;
}

._burger.--active {
	animation: popbars .5s 1 cubic-bezier(0.7, 0, 0.3, 1);
}

._burger.--active:before {
	top: 12px;
	width: 30px;
	transform: rotate(45deg);
}

._burger.--active::after {
	width: 30px;
	top: 12px;
	transform: rotate(-45deg);
}

@media (max-width: 1000px) {
    ._burger {
        display: inline-block;
    }
}
/* +++++++++++++ cross ++++++++++++++ */

._cross {
	width: 1.25rem;
	height: 1.25rem;
	right: 0;
	z-index: 250;
	cursor: pointer;
}

._cross::before,
._cross::after {
	content: '';
	position: absolute;
	height: .1rem;
	top: .5rem;
	width: 1.25rem;
	transition: all .3s;
	background-color: var(--black-color);
	transform: rotate(45deg);
}

._cross::after {
	transform: rotate(-45deg);
}

/* +++++++++++++++++ aside-menu ++++++++++++++++ */

._aside-menu {
	display: flex;
    position: fixed;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    height: 100vh;
    background-color: var(--white-color);
    /* position: absolute; */
    right: 0;
	/* top: 0; */
    z-index: 240;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    box-sizing: border-box;
    padding: 5em 1.25em;
}

._aside-menu ._aside-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 260;
}

._aside-menu ._aside-close::before,
._aside-menu ._aside-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.2rem;
    height: 0.18rem;
    background-color: var(--black-color);
    transform-origin: center;
}

._aside-menu ._aside-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

._aside-menu ._aside-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

body.dark_theme ._aside-menu ._aside-close::before,
body.dark_theme ._aside-menu ._aside-close::after {
    background-color: var(--beige-color);
}

@media (max-width: 600px) {
    ._aside-menu ._aside-close {
        top: 1rem;
        right: 1rem;
    }
}
._aside-menu.--active {
    opacity: 1;
    visibility: visible;
}

/* @media (max-width: 900px) {
    ._aside-menu {
        padding: 1.25em;
    }
    ._aside-menu ul {
        margin-bottom: 1em;
    }  
} */

._aside-menu ul {
	margin-bottom: 2em;
}

._aside-menu li {
    display: flex;
    position: relative;
    justify-content: flex-end;
}

._aside-menu ._nav {
	margin-top: 1em;
}

._aside-menu a {
    display: flex;
    align-items: center;
    color: var(--black-color);
    margin-bottom: .5em;
    font-weight: 300;
}

._aside-menu .__aside-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 24em;
    text-align: right;
    color: var(--black-color);
}

._aside-menu .__aside-contacts a {
    margin-bottom: .35em;
}

._aside-menu .__aside-contacts div {
    font-weight: 300;
    line-height: 1.3;
}

body.dark_theme ._aside-menu {
    background-color: var(--brown-color);
}

body.dark_theme ._aside-menu a {
    color: var(--beige-color);
}
body.dark_theme ._aside-menu .__aside-contacts {
    color: var(--beige-color);
}
/* ._aside-menu ._burger {
    margin-bottom: 2em;
	transition: .3s;
} */

/* ._aside-menu ._burger:hover {
	color: var(--light-grey-color);
} */

/* +++++++++++++++radio-button+++++++++++++++ */

._radio-grid {
    display: flex;
    position: relative;
}

._radio-grid label:first-child {
    margin-right: 2rem;
}

._radio-checkbox {
    display: flex;
    position: relative;
    align-items: center;
    margin-bottom: 1rem;
}

._radio-checkbox input[type="checkbox"],
._radio-checkbox input[type="radio"] {
    display: none;
}

._radio-checkbox input[type="checkbox"] + ._custom,
._radio-checkbox input[type="radio"] + ._custom {
    display: block;
    position: relative;
    width: 1.6em;
    height: 1.6em;
    border: 1px solid var(--black-color);
    cursor: pointer;
}

/* ._radio-checkbox input[type="checkbox"] + ._custom {
    border-radius: 0.3rem;
}

._radio-checkbox input[type="radio"] + ._custom {
    border-radius: 50%;
} */

._radio-checkbox input[type="checkbox"] + ._custom::after,
._radio-checkbox input[type="checkbox"] + ._custom::before {
/* ._radio-checkbox input[type="radio"] + ._custom::after { */
    content: " ";
    position: absolute;
    bottom: 0.8em;
    right: -0.3em;
    width: 2.2em;
    height: 1px;
    border-radius: inherit;
    cursor: pointer;
}

._radio-checkbox input[type="checkbox"]:checked + ._custom::after,
._radio-checkbox input[type="checkbox"]:checked + ._custom::before {
/* ._radio-checkbox input[type="radio"]:checked + ._custom::after { */
    background-color: var(--black-color);
    transform: rotate(45deg);
}

._radio-checkbox input[type="checkbox"]:checked + ._custom::after {
    transform: rotate(-45deg);
}

._radio-checkbox ._content {
    margin-left: 1em;
    width: 30vw;
}

@media (max-width: 900px) {
    ._radio-checkbox ._content {
        width: 70vw
    }
}

._radio-checkbox ._content a {
    font-size: inherit;
}

/* ++++++++++++++ modal ++++++++++++++++++++++ */

._modal {
    display: flex;
    position: fixed;
	align-items: flex-start;
    width: 100vw;
    height: 100vh;
    z-index: 200;
    transition: .3s;
	overflow-y: auto;
	left: 0;
	top: 0;
	visibility: hidden;
	opacity: 0;
}

._modal.show {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

._modal ._fade {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 201;
    background-color: rgba(36, 36, 36, 0.3);
    position: fixed;
}

._modal ._item-modal {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 202;
	overflow-y: auto;

}

._modal ._body {
    display: block;
	margin: 0 auto;
	width: 26rem;
	margin-top: 5rem;
	margin-bottom: 5rem;
    background-color: var(--peach-color);
    position: relative;
    z-index: 203;
    padding: 3rem;
    border-radius: .7rem;
    transition: .3s;
    transform: translateY(-10%) scale(1) scaleY(1.15)
}

._modal ._body ._cross {
	position: absolute;
}

._modal.show ._body {
    transform: translateY(0) scale(1) scaleY(1);
}

@media (max-width: 600px) {
    ._modal ._body {
		width: 70%;
		padding: 2rem;
    }
}

/* ===============form========================= */

._form {
	position: relative;
	display: block;
    color: var(--grey-color);
    width: 18em;
}

._form.--filter, 
._form.--contacts {
    width: 100%;
    font-weight: 300;
}

@media (max-width: 1200px) {
    ._form.--contacts {
        width: 50%;
    }
}

@media (max-width: 700px) {
    ._form.--contacts {
        width: 100%;
    }
}

._form .__item {
    display: flex;
	position: relative;
    margin-bottom: 1.5rem;
}
._form .__form-field {
    color: var(--grey-color);
}

._form.--filter .__form-field,
._form.--contacts {
    color: var(--black-color);
}

._form .__form-field .__ins {
    width: 18em;
    display: flex;
    justify-content: space-between;
    border: 2px solid var(--grey-color);
    height: 3.6rem;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    ._form .__form-field .__ins {
        width: 100%;
    }
}

._form.--filter .__form-field .__ins {
    width: 100%;
    border: 1px solid var(--black-color);
} 

/* @media (max-width: 1500px) {
    ._form.--filter .__form-field .__ins {
        width: 100%;
        border: 1px solid var(--black-color);
        height: 3em;
    } 
} */

._form .__form-field .__ins img {
    width: 2em;
    margin-left: -2.5em;
    margin-right: 1.5em;
}

._form.--filter .__form-field .__ins img {
    width: 1.5em;
}

._form .__form-field input,
._form .__form-field textarea {
    width: 100%;
    padding: .5em 1.5em;
	background-color: transparent;
    border-color: transparent;
	resize: none;
	font-family: "Proxima Nova", sans-serif;
    color: var(--grey-color);;
}

._form.--contacts .__form-field input,
._form.--contacts .__form-field textarea {
    font-weight: 300;
    color: var(--black-color);
    height: 2.4em;
    border: 1px solid var(--black-color);
}

._form.--contacts .__form-field textarea {
    height: 6em;
}

._form::placeholder {
    color: var(--grey-color);
}

._form.--contacts::placeholder,
._form.--contacts .__form-field label {
    color: var(--black-color);
}

._form.--filter::placeholder,
._form.--filter .__form-field input,
._form.--filter .__form-field label {
    font-weight: 300;
}

._form.--filter .__form-field .__ins .__item button {
    width: 10px;
    height: 10px;
}

._form.--filter .__form-field .__ins .__item {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
    margin-left: 2.5em;
}

@media (max-width: 900px) {
    ._form.--filter .__form-field .__ins .__item {
        margin-left: 2.2em;
    }
}

@media (max-width: 600px) {
    ._form.--filter .__form-field .__ins .__item {
        margin-left: 2em;
    }
}

._form.--filter .__form-field .__ins .__item button {
    position: absolute;
    width: 30px;
    height: 30px;
    left: 0;
    background-color: transparent;
}

._form.--filter .__form-field .__ins .__item button:last-child {
    left: 2.5em;
    transform: rotate(180deg);
}

._form.--filter .__form-field .__ins .__item button::after,
._form.--filter .__form-field .__ins .__item button::before {
    position: absolute;
    content: "";
    height: 2px;
    width: 10px;
    left: 0;
    border-radius: 2px;
    background-color: var(--grey-color);
}

._form.--filter .__form-field .__ins .__item button::before {
    transform: rotate(-45deg);
    top: 11px;
}

._form.--filter .__form-field .__ins .__item button::after {
    transform: rotate(45deg);
    bottom: 11px;
}

._form.--contacts ._btn {
    width: 50%;
    justify-content: center;
    font-weight: 300;
    background-color: var(--beige-color);
    border: 0px solid;
    color: var(--white-color);

}

._form.--preview ._btn {
    justify-content: space-between;
}

._form ._btn span {
    text-align: center;
    margin-left: 1.2em;
}

._form ._btn:hover {
    background-color: var(--dark-beige-color);
}

input::-webkit-calendar-picker-indicator { 
    display: block;
    position: relative;
    margin-right: -2.5em;
    opacity: 0;
    z-index: 2;
    width: 3em;
    height: 3em;
    cursor: pointer;
}


@media (max-width: 600px) {
    ._form {
        margin-bottom: 2em;
    }
}

@media (max-width: 450px) {
    ._form {
        width: 100%;
    }
    ._form .__form-field .__ins,
    ._form ._btn {
        width: 100%;
    }
    ._form .__form-field .__ins img {
        width: 2em;
        margin-left: -2em;
        margin-right: 1.5em;
    }
}
/* +++++++++++++++++ btn-play ++++++++++++++++++ */

._btn-play {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--beige-color);
    border-radius: 50%;
    height: 5rem;
    width: 5rem;
    background-color: transparent;  
    transition: .3s;
    cursor: pointer;
    margin-bottom: 1.3rem;
}

._btn-play:hover {
    transform: scale(1.2);
}

._ins-play {
    height: 35px;
    right: 8px;
    position: relative;
    border-right: 2px solid var(--beige-color);
    border-radius: 2px;
}

._ins-play::before,
._ins-play::after {
    content: "";
    border-radius: 2px;
    height: 2px;
    width: 30px;
    position: absolute;
    border-top: 2px solid var(--beige-color);
    transform: rotate(144deg);
    bottom: 8px;
    left: -3px;
}

._ins-play::before {
    transform: rotate(36deg);
    top: 8px;
}

@media (max-width: 900px) {
    ._btn-play {
        height: 90px;
        width: 90px;
    }
}
/* ++++++++++++++++++ arrow ++++++++++++++++++ */

._arrow {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--white-color);
    border-radius: 50%;
    height: 3.6rem;
    width: 3.6rem;
    background-color: transparent;  
    cursor: pointer;
    transition: .3s;
}

._arrow:hover {
    transform: scale(1.2);
}

._arrow ._ins-arrow {
    right: 0;
}

._arrow ._ins-arrow,
._arrow ._ins-arrow::after,
._arrow ._ins-arrow::before {
    position: relative;
    border-radius: 1px;
    border-top: 2px solid var(--white-color);
    width: 32px;
}

._arrow ._ins-arrow::after,
._arrow ._ins-arrow::before {
    content: "";
    right: -2px;
    width: 18px;
    position: absolute;
}

._arrow ._ins-arrow::before {
    transform: rotate(45deg);
    top: -8px;
}

._arrow ._ins-arrow::after {
    transform: rotate(136deg);
    top: 4px;
}

@media (max-width: 900px) {
    ._arrow {
        height: 2.8rem;
        width: 2.8rem;
    }
}

@media (max-width: 600px) {
    ._arrow {
        height: 2.4rem;
        width: 2.4rem;
    }

    ._arrow ._ins-arrow,
    ._arrow ._ins-arrow::after,
    ._arrow ._ins-arrow::before {
        width: 23px;
    }

    ._arrow ._ins-arrow::after,
    ._arrow ._ins-arrow::before {
        right: -2px;
        width: 10px;
    }

    ._arrow ._ins-arrow::before {
        top: -5px;
    }

    ._arrow ._ins-arrow::after {
        top: 1px;
    }
}

._arrow.--form ._ins-arrow {
    width: 20px;
}

._arrow.--form {
    height: 2rem;
    width: 2rem;
}

._arrow.--form ._ins-arrow::after,
._arrow.--form ._ins-arrow::before {
    width: 10px;
}

._arrow.--form ._ins-arrow::before {
    top: -5px;
}

._arrow.--form ._ins-arrow::after {
    top: 1px;
}

._arrow.--top {
    transform: rotate(-90deg);
    position: absolute;
    bottom: 0;
    right: 3em;
}

@media (max-width: 1200px) {
    ._arrow.--top {
        display: none;
    }
}

._arrow.--top:hover {
    transform: scale(1.2) rotate(-90deg);;
}

._arrow.--left {
    transform: rotate(180deg);
}

._arrow.--left:hover {
    transform: scale(1.2) rotate(180deg);
}

@media (max-width: 1200px) {
	._arrow.--top {
        right: 2em;
	}
}

@media (max-width: 900px) {
	._arrow.--top {
        right: 1.25em;
	}
}
