


@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap');

* {
	margin: 0;
	padding: 0;
    color:#393a34;
	box-sizing: border-box;
	font-family: 'Open Sans Condensed', sans-serif;
}

img {
	max-height:  100%;
}

a {
	text-decoration: none;
}

.hide {
	display: none;
}

.noscroll {
	overflow: hidden;
}

/********* my edit class *********/

span.item-time-date{
	font-size:48px;
	line-height: 0.5em;
}

@media screen and (max-width: 550px) {
	span.item-time-date{
	font-size:28px;
	line-height: 0.5em;
}
}




/******** HEADER **********/

menu {
	z-index: 5;
	height: 100%;
	position: fixed;
	overflow: scroll;
}

.menu_wrapper {
	background: #ccc;
}

ul {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.menu_wrapper li {
	white-space: nowrap;
	list-style: none;
	font-size: 24px;
	padding: 0 50px;
	cursor: pointer;
	transition: .3s;
	color: black;
}

.menu_wrapper li:hover {
	color: #888;
}

.menu_wrapper li:last-child {
	border-bottom: none;
} 

.burger {
	z-index: 10;
	position: relative;
}

.burger:hover {

}

.burger, .burger::before, .burger::after {
	width: 52px;
	height: 7px;
	border-radius: 3px;
	background: black;
	transition: .3s;
}

.burger::before {
	position: absolute;
	top: 15px;
	content: "";
}

.burger::after {
	position: absolute;
	bottom: 15px;
	content: "";
}

.crest {
	background: rgba(0,0,0,0);
}

.crest::after {
	bottom: 0;
	transform: rotate(45deg);
}

.crest::before {
	top: 0;
	transform: rotate(-45deg);
}

.header-main {
	margin: auto;
	width: 1000px;
	display: flex;
	justify-content: space-between;
}

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

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

.header-logo {
	height: 75px;
}

.header-search, .header-burger {
	display: flex;
    margin:0 4px 0 4px;
	height: 65px;
	width: 65px;
	justify-content: center;
	align-items: center;
}

.header-burger {
	height: 75px;
	display: none;
}

.header-search img {
	width: 40px;
	height: 40px;
}

.header-menu, .header-menu nav {
	margin: auto;
	width: 1000px;

}

.header-menu nav ul {
	margin: 5px 0;
	font-size:22px;
	width: 100%;
	flex-direction: row;
	display: flex;
	justify-content: space-between;
}

.header-menu nav ul li {
	cursor: pointer;
	padding: 5px 10px;
	list-style: none;
	transition: .3s;
}

.header-menu nav ul li:hover {
	background: #ddd;
}

.header-strip_wrapper {
	width: 100%;
	background: #FFC107;
	height: 185px;
	margin: 10px 0;
}

.header-strip_wrapper a {
	text-align: center;
	margin: auto;
}

.header-strip {
	display: flex;
	justify-content: center;
	height: 35px;
	width: 1000px;
}

.header-strip div {
	font-size: 20px;
	text-transform: uppercase;
	text-decoration: none;
	margin: auto 15px;
	color: white;
}

.header-strip a:hover {
	color: #aaa;
}

.swiper-container {
	height: 175px;
}

.swiper-slide {
	height: 145px;
}

.swiper-pagination {
	top: 152px !important;
}

/******** MAIN **********/

h2 {
	text-align: center;
	/*width: 1000px;*/
	margin: 25px auto 0;
}

.main-wrapper {
	width: 1000px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}

.main-item {
	margin: 15px 0;
	width: 100%;
	padding: 0px 0;
	display: flex;
	border: 1px solid #e0e0e0;
	-webkit-box-shadow: 0px 5px 5px -5px rgba(182, 175, 88, 0.6);
	-moz-box-shadow: 0px 5px 5px -5px rgba(182, 175, 88, 0.6);
	box-shadow: 0px 5px 5px -5px rgba(182, 175, 88, 0.6);

	
	transition: .3s;
}

.main-item-pay {
	margin: 0px 0 15px 0;
	width: 100%;
	padding: 4px 0 0;
	display: flex;
	background-color:#FFC107;
	text-align:center;
		
	-webkit-box-shadow: 0px 5px 5px -5px rgba(182, 175, 88, 0.6);
	-moz-box-shadow: 0px 5px 5px -5px rgba(182, 175, 88, 0.6);
	box-shadow: 0px 5px 5px -5px rgba(182, 175, 88, 0.6);

	
	transition: .3s;
}


.main-item:hover {
	-webkit-box-shadow: 0px 5px 12px -3px rgba(71, 80, 34, 0.6);
-moz-box-shadow: 0px 5px 12px -3px rgba(71, 80, 34, 0.6);
box-shadow: 0px 5px 12px -3px rgba(71, 80, 34, 0.6);
}

.main-item * {
	text-decoration: none;
	color: black;
}

.item_time, .item_descr {
	margin: 5px 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.item_descr {
	align-items: flex-start;
}

.item_time h5 {
	font-size: 32px;
 
}

.item_time p {
	font-size: 28px;

}

.item_time p.time {
	font-size: 16px;
	font-weight:bolder;
	color:#939598;
}

.item_img img {
	width: 250px;
	height:100%
}

.item_descr h4 {
	margin: 0px 0;
    color:#393a34;
	font-size: 28px;
}

.item_descr h5 {
	margin: 0px 0;
    color:#393a34;
	font-size: 20px;
	font-weight:bold;
}

.item_descr p {
	margin: 20px 0;
	font-size: 16px;
	color:#939598;
}

footer {
	background: #393a34;
}

.footer_wrapper {
	display: flex;
	width: 1000px;
	margin: 0 auto;
	padding-top:5px;
	padding-bottom:5px;
}

footer * {
	color: white;
}

footer > div > div {
	width: 50%;
}

.footer-info {
	margin: 20px;
}

.footer-info img {
	margin: 10px 0;
}

.footer-contacts {
	display: flex;
	align-items: flex-end;
	flex-direction: column;
	margin: 20px;
}

.footer-contacts h3 {
	font-size: 32px;
}

.footer-contacts p {
	font-size: 22px;
    margin:0 5px 0 5px;
}

.footer-socials {
	display: flex;
}

.footer-socials img {
	margin: 5px;
	width: 36px;
}

@media screen and (max-width: 1331px) {
	.menu_wrapper ul {
		padding: 75px 20px 20px;
	}
}

@media screen and (max-width: 1024px) {
	.header-main, .header-strip, .footer_wrapper, .main-wrapper, h2, .header-menu, .header-menu nav, .header-menu nav ul { 
		width: auto;
	}
}

@media screen and (max-width: 768px) {
	menu {
		width: 100%;
	}
	
	.header-menu, .header-menu nav, .header-menu nav ul {
		display: none
	}

	.header-logo {
		margin-top: 10px;
	}

	.item_img img {
		width: 200px
	}
}

@media screen and (max-width: 550px) {
	.item_img img {
		width: 150px
	}

	.item_descr h4 {
		font-size: 20px
	}

	.item_descr h4, .item_descr p {
		margin: 0
	}

	.item_descr h5 {
		font-size: 22px;
		margin: 5px 0;
        font-weight: bold;  
	}

	.footer-contacts h3 {
		font-size: 18px
	}

	.footer-contacts p {
		font-size: 14px
	}
}

@media screen and (max-width: 768px) {
	.header-burger {
		display: flex;
	}
}

@media screen and (max-width: 465px) {

	.menu_wrapper ul {
	    padding-top: 50px;
	}
	.header-logo {
		height: 50px
	}

	.burger, .burger::before, .burger::after {
		width: 40px;
		height: 5px;
		border-radius: 3px;
		background: #000;
		transition: .3s;
	}

	.burger::before {
		position: absolute;
		top: 10px;
		content: "";
	}

	.burger::after {
		position: absolute;
		bottom: 10px;
		content: "";
	}

	.crest {
		background: rgba(0,0,0,0);
	}

	.crest::after {
		bottom: 0;
		transform: rotate(45deg);
	}

	.crest::before {
		top: 0;
		transform: rotate(-45deg);
	}

	.header-search img {
		width: 30px;
		height: 30px;
	}

	.header-main {
		height: 80px
	}

	.header-search, .header-burger {
		height: 50px;
		width: 50px
	}

	.item_img img {
		width: 120px
	}

	.item_descr h4 {
		font-size: 22px
	}

	.item_descr h5 {
		font-size: 14px;
		margin: 10px 0
	}

	.item_descr p {
		font-size: 12px
	}

	.item_time h5 {
		font-size: 26px
	}

	.item_time p {
		font-size: 20px
	}
}

@media screen and (max-width: 376px) {

	.item_time, .item_descr {
		margin: 5px;
	}

	.footer-info img {
		margin: 0 0 10px;
	}

	.footer-info, .footer-contacts {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		margin: 5px
	}

}

@media screen and (max-width: 330px) {
	.item_img img {
		width: 100px
	}

	.footer-socials img {
		width: 30px
	}

	.footer-contacts h3 {
		font-size: 22px
	}
	.footer-contacts p {
		font-size: 18px
	}

	.item_time, .item_descr {
		margin: 5px;
	}

	.footer-info img {
		margin: 0 0 10px;
	}

	.footer-info, .footer-contacts {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		margin: 5px
	}
}


.main-first_block, .main-second_block  {
	margin: auto;
	width: 1000px;
}

.main-first_block {
	display: flex;
}

.main-first_block > div {
	width: 50%;
	margin: 20px;
}

.main-first_description {
	padding-right: 60px;
	position: relative;
}

.main-first_description img {
	width: 24px;
	margin: 5px;
}

.main-first_description h2 {
	font-size: 30px;
	margin: 10px;
}

.main-first_description > div {
	margin: 10px 0;
	font-size: 26px;
	display: flex;
	align-items: center;
}

.main-first_description > button {
	cursor:  pointer;
	border-radius: 5px;
	background: #FFC107;
	color:#FFF;
	border:  2px solid black;
	padding: 10px 30px;
	font-size: 26px;
}

button {
	cursor:  pointer;
	border-radius: 5px;
	background: #FFC107;
	color:#FFF;
	border:  2px solid black;
	padding: 10px 30px;
	font-size: 26px;
}

.tags {
	position: absolute;
	display: flex;
	flex-direction: column;
	right: 0
}

.tag {
	margin: 10px;
	font-size: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #FFC107;
	color:#FFF;
	border:  3px solid black;
}

.main-second_block p {
	margin: 20px;
	font-size: 21px;
}

.main-second_block h3 {
	margin: 20px;
	font-size: 26px;
}

.main-second_block table {
	width: 100%;
}

.main-second_block tr > td {
	font-size: 24px;
	margin: 15px 0;
}

.main-second_block tr > td:nth-child(1) {
	font-weight: 700;
}

.main-second_block tr > td:nth-child(2) {
	text-align: right;
}

@media screen and (max-width: 1024px) {
	.main-first_block, .main-second_block, .header-main, .header-strip, .footer_wrapper, .main-wrapper, h2, .header-menu, .header-menu nav, .header-menu nav ul { 
		width: auto;
	}
}

@media screen and (max-width: 768px) {
	.main-first_block > div {
		margin: 10px
	}

	.main-first_img img {
		width: 300px
	}

	.main-first_description h2 {
		font-size: 28px
	}

	.main-first_description > div {
		font-size: 22px
	}

	.main-first_description > button {
		font-size: 24px
	}

	.main-second_block p {
		font-size: 18px
	}

	.main-second_block h3 {
		font-size: 24px
	}

	.main-second_block tr > td {
		font-size: 22px
	}

	menu {
		width: 100%;
	}
	
	.header-menu, .header-menu nav, .header-menu nav ul {
		display: none
	}

	.header-logo {
		margin-top: 10px;
	}
}

@media screen and (max-width: 640px) {
	.main-first_block > div {
		margin: 5px
	}

	.main-first_description h2 {
		font-size: 24px
	}

	.main-first_description > div {
		font-size: 20px
	}

	.main-first_description > button {
		padding: 10px 20px;	
		font-size: 20px
	}
	.main-first_img img {
		width: 220px
	}
}

@media screen and (max-width: 768px) {
	.header-burger {
		display: flex;
	}
	
	button {
		font-size:20px;
		padding: 12px 20px;
	}
}

@media screen and (max-width: 550px) {
	.main-first_block > div {
		justify-content: center;
	}
	.main-second_block tr > td {
		font-size: 20px
	}

	.main-first_img img {
		width: 200px
	}

	.footer-contacts h3 {
		font-size: 24px
	}

	.footer-contacts p {
		font-size: 20px
	}
}


@media screen and (max-width: 465px) {
	.main-first_description {
		padding-right: 45px;
	}

	.main-second_block p {
		font-size: 17px
	}

	.main-second_block tr > td {
		font-size: 18px
	}

	.main-first_img img {
		width: 150px
	}

	.tag {
	    font-size: 20px;
	    width: 40px;
	    height: 40px;
	}

	.main-first_description > div {
		font-size: 16px
	}

	.main-first_description > button {
		font-size: 14px;
		padding: 5px 10px;
	}

	.menu_wrapper ul {
	    padding-top: 50px;
	}

	.header-logo {
		height: 50px
	}

	.burger, .burger::before, .burger::after {
		width: 40px;
		height: 5px;
		border-radius: 3px;
		background: black;
		transition: .3s;
	}

	.burger::before {
		position: absolute;
		top: 10px;
		content: "";
	}

	.burger::after {
		position: absolute;
		bottom: 10px;
		content: "";
	}

	.crest {
		background: rgba(0,0,0,0);
	}

	.crest::after {
		bottom: 0;
		transform: rotate(45deg);
	}

	.crest::before {
		top: 0;
		transform: rotate(-45deg);
	}

	.header-search img {
		width: 30px;
		height: 30px;
	}

	.header-main {
		height: 80px
	}

	.header-search, .header-burger {
		height: 50px;
		width: 50px
	}
	
	button {
		font-size:18px;
		padding: 8px 12px;
	}
}

@media screen and (max-width: 376px) {

	.footer-info img {
		margin: 0 0 10px;
	}

	.footer-info, .footer-contacts {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		margin: 5px
	}
	
	button {
		font-size:16px;
		padding: 8px 12px;
	}

}

@media screen and (max-width: 330px) {

	.main-second_block tr > td {
		font-size: 16px
	}

	.main-first_block > div {
		margin: 0
	}

	.main-first_description > div {
		font-size: 14px
	}

	.tag {
	    font-size: 16px;
	    width: 30px;
	    height: 30px;
	}

	.main-second_block p {
		font-size: 14px
	}

	.main-second_block h3 {
		margin: 10px 20px;
		font-size: 18px
	}

	.footer-socials img {
		width: 30px
	}

	.footer-contacts h3 {
		font-size: 22px
	}
	.footer-contacts p {
		font-size: 16px
	}
	.footer-info img {
		margin: 0 0 10px;
	}

	.footer-info, .footer-contacts {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		margin: 5px
	}
	
	button {
		font-size:16px;
		padding: 8px 12px;
	}
}

.button-pay-detail-test {
	cursor:  pointer;
	border-radius: 5px;
	background: #FFC107;
	color:#FFF;
	border:  2px solid black;
	padding: 10px 30px;
	font-size: 26px;
}



