
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
ul, li, p, a, label, input, span, select, table{
	margin: 0;
	padding: 0;
	/*line-height: 1.5;*/
    font-family: arial, serif;
    font-size: 12pt;
}
ul {list-style: none;}
li {list-style-type: none;}
input[type=text]:focus {
  background-color: lightblue;
}
body {
	background:#E3E0CD;
	width: 100%;
	position: static;
	padding-top:0;
	margin:0;
	margin-left:auto;
	margin-right:auto;
	color: #000;
	min-height: 100vh;
	display: flex;
    flex-direction: column;
}

.wrapper {
    flex: 1; /* Allow the wrapper to grow and take up remaining space */
}
header {
	background:#3C1D69;
}
section {color: #000;}

#headerinfo{
	width: 98%;
	max-width: 1200px; 
	margin: auto;
	padding: 30px 0 ;
}

header img{width: 150px;}
header a {
	color: black; 	
	font-family: oswald, serif;
	font-weight: 600;
	font-size:14pt;
}

.links  {margin: 0;padding: 0; display: block; align-content: center; position: relative; bottom:5px;}
.links a, .tel_link a {
	color: #000;	
	font-family: oswald, serif;
	font-weight: 300;
	font-size:16pt;
	text-decoration: none;
 }
.links ul {	margin: 0;padding: 0;}
.links li {	
	display:inline-block;
	list-style-type: none;
	float: left;
	padding-right: 10px;
	cursor:pointer;
}
.links li:last-child {padding: 0 0 0 40px;display: inline-block;}

#nav-trigger,#mobile-logo{display: none;}
@media screen and (max-width: 800px) {
	#nav-trigger {display: block; margin-right: auto;}
	#navlinks    {display: none;}
}
#mobile-logo img {height:39px; margin: 3px;display: block;}
#mobile-tel img {height:28px; margin: 2px;	display: block;}
#mobile-enter img {height:25px; margin: 0 10px;	display: block;}
#nav-trigger {height:39px; cursor: pointer;	box-shadow:0px 3px 3px 0px rgba(0,0,0, 0.3);}

/* -------NAVIGATION BAR----------*/
#sticky_navigation 
{
    box-shadow:0px 5px 10px 0px  rgba(0,0,0, 0.7);
	position:sticky;
	top:0;
	left: 0;
	height: 51px;
	width: 100%;
	margin-left:auto;
	margin-right:auto;
	z-index: 2000;
	background: #efa311;
	border-top: 3px solid white;
	border-bottom: 3px solid white;
}
#nav-mobile {
	display: none;  
}

.middleofrednav{
    display: flex;
    width: 98%;
    max-width: 1200px;
    padding: 0;
    height: 45px;
    margin: 0px auto;
    align-items: center;
    justify-content: space-between;
}

#navlinks {	
    height: 100%;
	margin-right: auto;
}
nav a {	
    color: #000;
    font-family: OSWALD, sans-serif;
    font-size: 14pt;
}nav a:hover {	
    color: #373DB4;
}
nav ul {
	width: 150%; 
	padding:0;
	height: 100%;
}
#main_menu { 
	display: flex;
	align-items: center;
    justify-content: flex-start;
}
nav #navlinks li {	
	border-left:solid 1px #AF8D51;
	/*padding: 0px 12px 0 17px;*/
	cursor:pointer;	
}
nav #navlinks li:hover {
	transition: all .5s;
}

nav #navlinks li:first-child {
    border-left: none; 	
}
nav #navlinks li:last-child {
    /*margin-right:2px; */
}
/*NAVIGATOR STYLE*/
#main_menu {
    list-style-type: none;
    padding: 0;
}
#main_menu > li {
    display: inline-block;
	position: relative;
}
#main_menu > li > a {
	text-decoration: none;
	padding: 10px 20px;
	display: block;
}
#main_menu .dropdown {
	top: 100%;
	left: 0;
    position: absolute;
    background-color: #f9f9f9;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 1;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
#main_menu .dropdown li {
	background: #BBB09E;
	text-align: left;
	padding: 10px 20px;
	border-bottom: solid 1px lightgrey;
}
#main_menu .dropdown li a {
	padding: 10px 20px;
	text-decoration: none;
	width: 100%;
}
ul.dropdown > li {
    position: relative; /* ВАЖНО: чтобы sub-dropdown была от него */
}
ul.sub-dropdown {
    display: block;
	position: absolute;
    top: 0;
    left: 100%;
    background-color: #fff;
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: 140px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 2;
}
@media screen and (min-width: 800px) {
	#main_menu .dropdown {
		display: none; 
		position: absolute;
	}
	#main_menu.dropdown { 
    	display: none;
	}
	#main_menu > li:hover > ul.dropdown {
		display: block;
	}
	ul.sub-dropdown {
		display: none;
	}
	ul.dropdown > li:hover > ul.sub-dropdown {
		display: block;
	}
}
ul.dropdown li a,
ul.sub-dropdown li a {
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
}

ul.dropdown li a:hover,
ul.sub-dropdown li a:hover {
    background-color: #ddd;
}
/*-------------------------------------------------------------------------------*/
/*-----------------------cart----------*/
.cart {
    background: url(../img/cart.png) no-repeat 8px, #fff;
    background-size: 30px;
    border: solid 1px #FFFFFF;
    border-radius: 4px;
    padding-left: 40px;
	box-shadow: 0px 3px 3px 0px rgba(0,0,0, 0.3);
}
.cart:hover {
	background:url(../img/cart.png) no-repeat 10px, #FFE9EE;
	background-size: 30px;
	transition: all .3s;
}
.cart a {
	width: 130px; 
	float: right;
	margin: 5px 0px 0 0;
	text-align: center;
	color: #800017;	
	font-family: oswald, serif;
	font-weight: 300;
	font-size:14pt;
}
.cart p {
    color: #800017;
    /* width: 130px; */
    /* float: right; */
    /* margin: 5px 0px 0 0; */
    /* text-align: center; */
    padding: 5px 5px;
}
/*----------finishi navigation-------------*/

h1 {	
	font-family: oswald, serif;
	font-size:24pt;
	color:#000;
	text-align:center; 
	width:100%;
	padding: 25px 0 10px 0;
	margin: 0;
	text-transform: uppercase;
}
h2 {	
	font-family: oswald, serif;
	font-size:24pt;
	color:#000;
	padding: 0 5px;
	/*background: #C5203E;*/
	text-transform: uppercase;
	width: 100%;
}

.contents {
	width: 98%;
	clear: both;
	position:relative;
	max-width:1200px;
	padding:0;
	margin:0;
	height:auto;
	margin-left:auto;
	margin-right:auto;
}
.contents p{
	width: 95%;
	line-height: 1.5;
	font-family: arial, serif;
	font-size:12pt;
	margin: auto;
	text-align: justify;
}

#map{display: inline-block; vertical-align: bottom; position: relative; width: 350px; margin-top: -10px;}
.contacts_pic {background:url(../img/rest.jpg) no-repeat; background-size: cover; width: 350px; height:200px; bottom:0; position:absolute;}
#map iframe {width:650px; height:350px; border:1px solid #aaa;}
@media screen and (max-width: 768px) {
	.contacts {width:100%;}
	#map{width:100%;}
	.contacts_pic {width:100%;}
	#map iframe {width:100%;}
}
@media screen and (max-width: 975px) {
	#nav-mobile {
		position: fixed;
		top: 0;
		display: block;
		width: auto;
		padding-right: 20px;
		padding-left: 10px;
		padding-top: 50px;
		height: 100%;
		background-color: #800017;
		z-index: 5000;

		border-right: solid 2px white;
		left: -100%;
		-webkit-transition: left 0.3s;
		-moz-transition: left 0.3s;
		transition: left 0.3s;
	}

	#nav-mobile.speed-in {
	  left: -2px;
	}
	#nav-mobile a {	
		color:#FFF;
		padding:0;
		text-decoration:none;
		text-align: center;
		font-family:OSWALD, sans-serif;
		font-size:14pt;
	}
	#nav-mobile ul {
		width: 100%; 
		padding:0;
		margin-top:0;
	}
	#nav-mobile li {	
		display:block;
		border-top:solid 1px #680000;
		margin-top:0px;
		padding: 10px 14px;
		cursor:pointer;
	}
	#nav-mobile li:hover {
		background:#C5203E;
		transition: all .5s;
	}
	#nav-mobile li:first-child {
		border-top: none; 
	}
	#nav-mobile li:last-child {
		/*margin-right:2px; */
	}
}
footer {     
	width: 100%;
	min-height: 75px;
	background: #3C1D69;
	color: #fff;
	display:block;
	margin-top: auto;
	padding: 25px;
	border-top: #FFFFFF solid 3px;
}
footer a {color: white;}
footer p {	
	font-size:10pt;
	margin-left:auto;
	margin-right:auto;
}
/* Styles for the consent banner */
#cookieConsent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    /*display: none;*/
	min-height: 200px;
    z-index: 9001; /* Ensure the banner appears above the mask */
}

#cookieConsent a {
    color: #fff;
    text-decoration: underline;
}

#expandButton {
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
}

/* Styles for the expanded consent information */
#expandedContent {
    display: none;
    background-color: #333;
    color: #fff;
    padding: 20px;
    margin-top: 20px;
    z-index: 1001; /* Ensure the expanded content appears above the mask */
}
.menu-container {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1;
    top: 100%;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.menu-container:hover .dropdown-menu {
    display: block;
}

.dropdown-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu ul li {
    padding: 8px 12px;
}

.dropdown-menu ul li a {
    display: block;
    text-decoration: none;
    color: #333;
}

.dropdown-menu ul li a:hover {
    background-color: #ddd;
}
