header .logo {
    width: 274px;
    text-align: center;
    float: left;
}
header .logo a.llink {
    display:block;
	width: 100%;
	min-height:140px;
}

header .logo .lbox {
    padding: 0 10px 20px 10px;
}

header .mleft {
    width: 50%;
    float: left;
    margin-right: -137px; /* - 50% ot header .logo width */
}

header .mright {
    width: 50%;
    float: right;
    margin-left: -137px; /* - 50% ot header .logo width */
}

header .mleft .lmenu {
    margin-right: 125px; /* - 50% ot header .logo width */
    text-align: left;
    /*padding: 10px;*/
}

header .mright .rmenu {
    margin-left: 125px; /* - 50% ot header .logo width */
    text-align: right;

}

header {
	background: url(../img/topbg1.png) repeat-x top;
	border-bottom:2px solid #451717;
}

.logo {
	background-repeat: no-repeat;
	background-position: center 1px;
	min-height: 165px;
}

.logo_bg {
    background-image: url(../img/shtastliveca_logo_bg.png);
}

.logo_en {
    background-image: url(../img/shtastliveca_logo_en.png);
}

.topnav {
    color: #ddd9d9;
	height: 50px;
	font-size:13px;
}

.topnav a {
    color: #ddd9d9;
    padding: 0 5px;
    line-height: 50px;
    display: inline-block;
    text-decoration: none;
	font-size:13px;
}

.topnav a:hover {
    color: #fff;
}

.cnav {
	padding: 47px 0 45px 0;
}

.cnav a {
    color: #000;
    display: inline-block;
    padding: 0 5px;
    text-decoration: none;
    font-size: 17px;
    line-height: 36px;
}

.cnav a:hover {
    color: #820000;
}

.lmenu .cnav a {
    padding-right: 15px;
}

.rmenu .cnav a {
    padding-left:15px;
}

.restnav {
    color: #fff;
    /*font-size: 16px;*/
    /* font-family: 'monplesir_scriptregular', sans-serif; */
    background: url(../img/subnav_background.jpg) repeat-x top #330101;
    min-height: 60px;
    padding-top: 10px;
}

.restnav a {
    display: block;
    float: left;
    width: 25%;
    color: #fff;
    text-align: center;
    text-decoration: none;

    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
/*
.restnav a:first-child {
    display: block;
    float: left;
    width: 24%;
    color: #fff;
    text-align: center;
    text-decoration: none;

    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}*/

.restnav a:hover {
    color: #ddd9d9;
}

header .mg_hamburger,
header .userlink {
    display: none;
}

nav {
    display: none;
    padding: 10px;
	text-align:left;
	background:#39131a;
}

nav a {
    display: block;
}

nav ul {
	padding:0;

}

nav ul li {
    list-style:none;
	padding:10px;
	border-bottom:1px solid #820000;
	font-size:16px;
	line-height:24px;

}

nav ul li ul  {

/*	padding-top:15px;
	padding-bottom:15px;*/
}

nav ul li ul li {
	border-bottom:none;
	padding:5px 10px 5px 0;
}

nav ul li.active {
	background:url(../img/arrow1.png) no-repeat top right;
}

nav ul li a {
	color:#fff;
	text-decoration:none;
}

nav ul li ul li a {
	color:#ddd9d9;
	text-decoration:none;
}

nav a:hover {
	color:#ddd9d9;
	text-decoration:none;
}

@media all and (max-width: 1024px) {
.restnav {
    font-size: 16px;
}

}
@media all and (max-width: 959px) {
    header .logo {
        margin: 0 auto;
        float: none;
    }

    header .mleft,
    header .mright,
    header .restnav {
        display: none;
    }

    header .mg_hamburger {
        display: block;
        float: right;
        /*padding: 55px 0 0 0;*/
        width: 50px;
        height: 50px;
        /*font-size: 12px;*/
        cursor: pointer;
		background-image: url(../img/hamburger.png);
		background-repeat: no-repeat;
		background-position: center top;
		/*color: #ddd9d9;*/
/*		padding: 10px 0 10px 30px;
		margin-top: 5px;*/

    }

    header .mg_hamburger.show {
        background-position: center bottom;
    }

	header .userlink {
        display: block;
        float: left;
        /*padding: 55px 0 0 0;*/
        /*width: 60px;
        height: 60px;*/
        font-size: 12px;
        cursor: pointer;
		background-image: url(../img/user.png);
		background-repeat: no-repeat;
		background-position: left center;
		color: #ddd9d9;
		padding: 10px 0 10px 30px;
		margin-top: 5px;

    }
}

@media all and (max-width: 799px) {
	header .logo {
		margin: 0 auto;
		float: none;
		min-height: 80px;
	}

	header .logo a {
		min-height: 80px;
	}
}


@media all and (max-width: 359px) {
	header .mg_hamburger span,
	.userlink span {
		display: none;
	}

    header .logo {
        background-size: 80%;
        background-position: center 10px;
    }

    header .logo .lbox {
        padding: 0 10px 10px 10px;
    }

}


@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {

    .logo {
        background-size: 274px 140px;
    }

    .logo_bg {
        background-image: url(../img/shtastliveca_logo_bg@2x.png);
    }

    .logo_en {
        background-image: url(../img/shtastliveca_logo_en@2x.png);
    }

    header .mg_hamburger {

    	background-size: 50px 150px;
    	background-image: url(../img/hamburger@2x.png);
    }

    header .userlink {

    	background-size: 32px 32px;
    	background-image: url(../img/user@2x.png);
    }
}
