@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:wght@400;500;700&display=swap');

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

input, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: 0;
    outline: 0;
}

a {
    text-decoration: none;
    color: #3d7040;
    transition: .3s;
}

li {
    list-style: none;
}

html {
    height: 100%;
}

img {
    max-width: 100%;
}

body {
    min-height: 100%;
    position: relative;
    color: #404944;
    width: 100%;
    font-family: 'Alegreya Sans SC', sans-serif;
    text-align: center;
    font-size: 18px;
    overflow-x: hidden;
    background-color: #f1e6d7;
}

body:before {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    content: '';
    background-image: url(../img/bg.jpg);
    background-repeat: repeat-y;
    background-position: bottom center;
    z-index: -1;
}


div.content {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    padding: 0 10px;
    position: relative;
    z-index: 999;
}

.material-symbols-outlined {
    vertical-align: middle;
    margin-right: 10px;
    font-size: 0;
}

section#alert {
    display: block;
    background-image: url(../img/alertLeft.png), url(../img/alertRight.png), url(../img/alert.png);
    background-repeat: no-repeat;
    background-position: top left, top right, bottom center;
    padding:20px 0 100px;
    position: relative;
    margin-bottom: -100px;
    z-index: 111;
}

section#userPanel {
    padding: 130px 0 30px;
    display: block;
}

section#userPanel ul,
section#userPanel ul > li {
    display: inline-block;
}

section#userPanel ul > li:not(:last-of-type) {
    margin-right: 10px;
}

section#userPanel ul > li > a {
    display: block;
    border-style: solid;
    border-width: 27px;
    -moz-border-image: url(../img/btn.png) 27 stretch;
    -webkit-border-image: url(../img/btn.png) 27 stretch;
    -o-border-image: url(../img/btn.png) 27 stretch;
    border-image: url(../img/btn.png) 27 fill stretch;
    padding: 0 20px;
    text-shadow: rgb(92, 65, 55) 2px 0px 0px, rgb(92, 65, 55) 1.75517px 0.958851px 0px, rgb(92, 65, 55) 1.0806px 1.68294px 0px, rgb(92, 65, 55) 0.141474px 1.99499px 0px, rgb(92, 65, 55) -0.832294px 1.81859px 0px, rgb(92, 65, 55) -1.60229px 1.19694px 0px, rgb(92, 65, 55) -1.97998px 0.28224px 0px, rgb(92, 65, 55) -1.87291px -0.701566px 0px, rgb(92, 65, 55) -1.30729px -1.5136px 0px, rgb(92, 65, 55) -0.421592px -1.95506px 0px, rgb(92, 65, 55) 0.567324px -1.91785px 0px, rgb(92, 65, 55) 1.41734px -1.41108px 0px, rgb(92, 65, 55) 1.92034px -0.558831px 0px;
    color: white;
}

section#logo {
    padding-bottom: 222px;
}

div.content.icons {
    position: relative;
}

section#icon {
    position: absolute;
    bottom: 40px;
    left:213px;
}

section#menu {
    position: relative;
    display: block;
    border-style: solid;
    border-width: 20px 58px;
    -moz-border-image: url(../img/menu.png) 20 58 stretch;
    -webkit-border-image: url(../img/menu.png) 20 58 stretch;
    -o-border-image: url(../img/menu.png) 20 58 stretch;
    border-image: url(../img/menu.png) 20 58 fill stretch;
    margin-bottom: 110px;
}

section#menuWrapper {
    position: relative;
}

section#menuWrapper:after,
section#menuWrapper:before,
section#menuWrapper > div:after,
section#menuWrapper > div:before {
    position: absolute;
    width: 50%;
    top:50%;
    content: '';
    background-repeat: no-repeat;
    background-size: auto 100%;
    transform: translate(0,-50%);
}

section#menuWrapper > div > div:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100px;
    background-image: url(../img/menu1.png);
    background-position: center bottom;
    background-size: auto 100%;
    background-repeat: no-repeat;
    left: 0;
    bottom: 27px;
    transform: translate(0,100%);
}

section#menuWrapper:after,
section#menuWrapper:before {
    background-image: url(../img/menu2.png);
    z-index: -1;
    height: 231px;
}

section#menuWrapper > div:after,
section#menuWrapper > div:before {
    background-image: url(../img/menu3.png);
    height: 100%;
    z-index: 1;
}

section#menuWrapper:before {
    background-position: left center;
    left:-50px;
}

section#menuWrapper:after {
    background-position: right center;
    right:-50px;
}

section#menuWrapper > div:before {
    background-position: left center;
    left:0;
}

section#menuWrapper > div:after {
    background-position: right center;
    right: 0;
}

section#menu ul.ff {
    display: inline;
    position: relative;
    z-index: 99999;
    transition: .3s;
}

section#menu {
    white-space: nowrap;
}


section#menu ul.ff > li {
    display: inline-block;
}

section#menu ul.ff > li > a {
    display: block;
    text-shadow: rgb(92, 65, 55) 2px 0px 0px, rgb(92, 65, 55) 1.75517px 0.958851px 0px, rgb(92, 65, 55) 1.0806px 1.68294px 0px, rgb(92, 65, 55) 0.141474px 1.99499px 0px, rgb(92, 65, 55) -0.832294px 1.81859px 0px, rgb(92, 65, 55) -1.60229px 1.19694px 0px, rgb(92, 65, 55) -1.97998px 0.28224px 0px, rgb(92, 65, 55) -1.87291px -0.701566px 0px, rgb(92, 65, 55) -1.30729px -1.5136px 0px, rgb(92, 65, 55) -0.421592px -1.95506px 0px, rgb(92, 65, 55) 0.567324px -1.91785px 0px, rgb(92, 65, 55) 1.41734px -1.41108px 0px, rgb(92, 65, 55) 1.92034px -0.558831px 0px;
    color: white;
    border-style: solid;
    border-width: 25px;
    -moz-border-image: url(../img/tr.png) 27 stretch;
    -webkit-border-image: url(../img/tr.png) 27 stretch;
    -o-border-image: url(../img/tr.png) 27 stretch;
    border-image: url(../img/tr.png) 27 fill stretch;
    /*padding:0 10px;*/
    transition: none;
}

section#menu ul.ff > li > a:hover,
section#menu ul.ff > li.selected > a {
    -webkit-border-image: url(../img/menuBg.png) 27 stretch;
    -o-border-image: url(../img/menuBg.png) 27 stretch;
    border-image: url(../img/menuBg.png) 27 fill stretch;
}

section#headerInner {
    position: relative;
}

section#headerInner:before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    left:0;
    background-image: url(../img/_bg.png);
    background-position: top -100px center;
    background-repeat: no-repeat;
    z-index: -1;
}

section#main {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding-bottom: 250px;
}

section#chooser > div {
    display: table;
    margin: 0 auto 40px;
}

section#chooser > div > div {
    display: table-cell;
    vertical-align: middle;
}

section#chooser > div > div img {
    max-width: none;
}

section#chooser > div > div:nth-child(1),
section#chooser > div > div:nth-child(3),
section#chooser > div > div:nth-child(5) {
    width: 1px;
}

section#chooser > div > div:nth-child(3) {
    padding: 0 20px;
}

section#chooser select {
    font-family: inherit;
    font-size: inherit;
    background-color: transparent;
    padding: 22px 22px 22px 90px;
    max-width: 100%;
    width: 270px;
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    appearance: none;
    background-image: url(../img/chooser1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size:  100% 100%;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    color: #222;
    border: 0;
}

section#chooser div > div:nth-child(4) select {
    background-image: url(../img/chooser2.png);
}

section#products > ul > li {
    display: inline-block;
    width: 250px;
    margin:0 17px 30px;
    background-image: url(../img/product.png);
    background-size: 100% 100%;
    padding:60px 40px;
    font-weight: 500;
    text-align: center;
}

section#products > ul {
    margin-bottom: -30px;
}

section#products > ul > li div.productWrapper {
    background-image: url(../img/pName.png);
    background-size: 100% 100%;
    padding: 10px;
    font-weight: 500;
    margin: 10px 0;
}

section#products > ul > li div.productPrice {
    font-weight: bold;
    font-size: 130%;
}

section#products > ul > li div.productSize {
    font-size: 80%;
}

.block {
    position: relative;
    display: inline-block;
    border-radius: 10px;
    font-weight: bold;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    cursor: pointer;
    background-color: transparent;
    padding: 0 20px;
    text-align: center;
    text-shadow: rgb(92, 65, 55) 2px 0px 0px, rgb(92, 65, 55) 1.75517px 0.958851px 0px, rgb(92, 65, 55) 1.0806px 1.68294px 0px, rgb(92, 65, 55) 0.141474px 1.99499px 0px, rgb(92, 65, 55) -0.832294px 1.81859px 0px, rgb(92, 65, 55) -1.60229px 1.19694px 0px, rgb(92, 65, 55) -1.97998px 0.28224px 0px, rgb(92, 65, 55) -1.87291px -0.701566px 0px, rgb(92, 65, 55) -1.30729px -1.5136px 0px, rgb(92, 65, 55) -0.421592px -1.95506px 0px, rgb(92, 65, 55) 0.567324px -1.91785px 0px, rgb(92, 65, 55) 1.41734px -1.41108px 0px, rgb(92, 65, 55) 1.92034px -0.558831px 0px;
    color: white;
    border-style: solid;
    border-width: 15px 27px;
    -moz-border-image: url(../img/block.png) 15 27 stretch;
    -webkit-border-image: url(../img/block.png) 15 27 stretch;
    -o-border-image: url(../img/block.png) 15 27 stretch;
    border-image: url(../img/block.png) 15 27 fill stretch;
}

footer {
    position: absolute;
    padding:20px;
    width:100%;
    left:0;
    bottom: 0;
}

section#products > ul > li div.productName {
    height: 65px;
    overflow: hidden;
}

select>option {
    color: black;
}

li.more {
    position: relative;
}

li.more span {
    display: none;
}

li.more>ul {
    display: none;
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: white;
    padding: 20px;
    transform: translate(0, 100%);
    min-width: 200px;
    max-width: 400px;
    border-radius: 20px;
}

li.more>ul>li,
li.more>ul>li>a {
    display: block;
    text-align: right;
    opacity: 1;
    color: black;
}

li.more>ul>li:not(:last-of-type)>a {
    padding: 0 0 10px;
}

li.more>ul>li>a img {
    display: none;
}

div.paymentMethod>div.item span.caption {
    color: black !important;
}

.review-rating li {
    display: inline-block;
}

.review-rating-item {
    width: 19px;
    height: 17px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top center;
    background-image: url(../img/rrrr.png);
    margin-right: 2px;
}

.review-rating-1 .review-rating-item:nth-child(1) {
    background-position: bottom;
}

.review-rating-2 .review-rating-item:nth-child(n+1):nth-child(-n+2) {
    background-position: bottom;
}

.review-rating-3 .review-rating-item:nth-child(n+1):nth-child(-n+3) {
    background-position: bottom;
}

.review-rating-4 .review-rating-item:nth-child(n+1):nth-child(-n+4) {
    background-position: bottom;
}

.review-rating-5 .review-rating-item:nth-child(n+1):nth-child(-n+5) {
    background-position: bottom;
}

div.reviews-form {
    border: 1px solid #cacaca;
    background-color: #edeff2;
    min-width: 300px;
    max-width: 800px;
    width: 100%;
    padding: 10px;
}

.review-form-rating-label {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.review-form-label {
    font-size: 24px;
}

.review-form-rating-check:checked+.review-form-rating-label>.review-rating-item,
.review-form-rating-check:checked~.review-form-rating-label>.review-rating-item {
    background-position: bottom;
}

.review-form-rating-label>span.review-rating-item {
    display: block;
}

.review-form-rating {
    direction: rtl;
    text-align: right;
    margin-right: 20px;
}

input.review-form-rating-check {
    position: absolute;
    opacity: 0;
}

section#reviews {
    text-align: center;
}

section#reviews a.btn {
    margin: 0 0 20px;
}

section#reviews li:last-of-type .review-main {
    margin-bottom: 0;
}

section#reviews .review-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    display: table;
    width: 100%;
}

section#reviews .review-name {
    font-size: 130%;
    font-weight: 500;
    color: #776155;
}

section#reviews .review-main {
    word-break: break-word;
    /*margin-bottom: 30px;
    padding: 20px 0;*/
    position: relative;
    text-align: left;
    color: black;
    font-weight: 500;
}

section#reviews .review-date {
    color: #710855;
    margin-top: 5px;
}

/*section#reviews .review-main:after {
    position: absolute;
    content: " ";
    width: 100%;
    left: 0;
    top: -10px;
    height: 1px;
    background-color: rgba(255, 255, 255, .5);
}*/

section#reviews .review-header .left {
    text-align: left;
}

section#reviews .review-header .right {
    text-align: right;
}

section#reviews .review-header .left,
section#reviews .review-header .right {
    display: table-cell;
    width: 50%;
    vertical-align: middle;
}

section#cabinet div.pager,
section#reviews div.paginator {
    display: inline-block;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

section#comments ul#commentsList>li {
    padding: 20px !important;
}

ul.yiiPager a {
    border: 0 !important;
    font-size: 22px !important;
    padding: 0 !important;
    color: black !important;
    text-decoration: none !important;
}

ul.yiiPager li {
    position: relative;
    width: 15px !important;
    height: 40px !important;
    line-height: 44px !important;
    display: inline-block !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    text-align: center !important;
    margin-top: 2px;
}

ul.yiiPager>li.selected>a {
    color: black !important;
    background: transparent !important;
}

ul.yiiPager li.next,
ul.yiiPager li.previous {
    position: relative !important;
    vertical-align: bottom !important;
    margin-bottom: 2px;
}

ul.yiiPager li.previous a,
ul.yiiPager li.next a,
ul.yiiPager a {
    position: absolute !important;
    height: 100% !important;
    width: 100% !important;
    content: "" !important;
    top: 0 !important;
    left: 0 !important;
}

ul.yiiPager li.previous a,
ul.yiiPager li.next a {
    font-size: 16px !important;
    color: black !important;
}

ul.yiiPager li.first,
ul.yiiPager li.last {
    display: none !important;
}

ul.yiiPager li.next {
    position: relative !important;
    vertical-align: bottom !important;
}

section#addreview,
section#check,
section#login,
section#cap,
section#registration {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.title {
    font-size: 20px;
    font-weight: bold;
    position: relative;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.border {
    position: relative;
    color: black;
}


.border .block span {
    /*background-color: #710855;*/
    color: white;
}

/*section#comments ul#commentsList>li,
section#comments ul#commentsList>li:nth-child(2n) {
    background-color: rgba(0, 0, 0, .2) !important;
    padding: 20px !important;
    border-radius: 20px !important;
}*/

section#reviews .block {
    margin-bottom: 30px;
}

section#comments ul#commentsList>li,
section#comments ul#commentsList>li:nth-child(2n),
section#reviews li.review {
    background: rgba(240, 229, 214, 1) !important;
    padding: 40px 80px !important;
    margin-bottom: 40px !important;
    border-radius: 100px !important;
    border:2px solid #776115 !important;
}

section#reviews ul>li.review:last-of-type {
    margin: 0;
}

section#reviews ul>li .review-reply {
    background: rgba(255, 255, 255, .05);
    padding: 10px;
    margin-top: 10px;
}

section#addreview {
    text-align: center;
}

section#addreview textarea {
    height: 200px;
}

section#addreview>div.wrap {
    /*max-width: 50%;*/
    margin-left: auto;
    margin-right: auto;
}

section#addreview form>ul li.rating>div.review-form-rating {
    text-align: center;
}

section#addreview form>ul,
section#addreview form>ul>li:first-of-type {
    margin-bottom: 20px;
    clear: both;

}

section#addreview form>ul>li:first-of-type {
    text-transform: uppercase;
}

li.captcha {
    position: relative;
}

li.captcha img {
    position: relative;
    margin: 0 0 20px;
    background: white;
}

section#universal {
    text-align: left;
}


.flash,
.errorSummary,
.errorSummary {
    text-align: left;
    background: rgba(255, 0, 0, .6);
    padding: 10px;
    margin: 0 0 20px;
}

.flash li,
.errorSummary li,
.errorSummary li {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    font-weight: normal !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
}

.flash p,
.errorSummary p,
.errorSummary p {
    font-weight: bold;
    margin: 0 0 20px !important;
}

.flash ul,
.errorSummary ul,
.errorSummary ul {
    margin: 0 !important;
}

section#login form>ul li:first-of-type,
section#registration form>ul li:first-of-type,
section#check form>ul li:first-of-type {
    text-transform: uppercase;
    margin: 0 0 20px;
}

section#check form>ul li:first-of-type {
    text-align: center;
}

section#login form>ul,
section#registration form>ul,
section#check form>ul {
    margin: 0 0 20px;
}

span.light {
    display: block;
    font-size: 25px;
    margin: 10px 0;
    color: black;
    font-weight: bold;
}

div.separate {
    height: 20px;
}

section.border p a:not(.block) {
    color: black;
    font-weight: bold;
    text-decoration: underline;
}

section#cabinet {
    text-align: left;
    text-shadow: none;
}

section#cabinet div.form {
    width: 95%;
    padding: 0;
}

section#cabinet table.orders {
    text-align: left;
    width: 100%;
}

ul#replies>li.admin div.body,
section#cabinet table.orders tr.type1>td:nth-child(5),
section#cabinet table.orders thead {
    background-color: rgba(0, 0, 0, .3);
    color: white;
}

section#cabinet table.orders {
    border-collapse: collapse;
}

section#cabinet table.orders a {
    text-decoration: underline;
    color: black;
    font-weight: bold;
}

section#cabinet table.orders td,
section#cabinet table.orders>thead th {
    border: 1px solid rgba(0, 0, 0, .2);
    padding: 5px;
    vertical-align: top;
}

.table-responsive {
    overflow-x: auto;
    overflow-y: hidden;
}

section#mobile {
    display: none;
}

div.flash {
    text-align: left;
    background-color: rgba(0, 255, 0, .6) !important;
    padding: 10px !important;
    margin: 20px 0 !important;
    color: white !important;
}

div.flash b {
    font-weight: 900;
}

div.flash.flash-error {
    background: rgba(255, 0, 0, .6) !important;
    color: white !important;
}

.slideMenu {
    position: relative;
    display: none;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #c8b69e;
    background-image: url(../img/mTop.png), url(../img/mBottomLeft.png), url(../img/mBottomRight.png);
    background-repeat: no-repeat;
    background-position: top center, left bottom -40px, right bottom -40px;
    text-align: center;
    overflow: visible !important;
}

.slideMenu .menuPatternLeft,
.slideMenu .menuPatternRight {
    position: absolute;
    bottom: -20px;
}

.slideMenu .menuPatternLeft {
    left: 0;
}
.slideMenu .menuPatternRight {
    right: 0;
}

.slideMenu a {
    font-size: 20px;
    padding: 5px;
    margin: 5px;
    display: block;
    text-shadow: rgb(92, 65, 55) 2px 0px 0px, rgb(92, 65, 55) 1.75517px 0.958851px 0px, rgb(92, 65, 55) 1.0806px 1.68294px 0px, rgb(92, 65, 55) 0.141474px 1.99499px 0px, rgb(92, 65, 55) -0.832294px 1.81859px 0px, rgb(92, 65, 55) -1.60229px 1.19694px 0px, rgb(92, 65, 55) -1.97998px 0.28224px 0px, rgb(92, 65, 55) -1.87291px -0.701566px 0px, rgb(92, 65, 55) -1.30729px -1.5136px 0px, rgb(92, 65, 55) -0.421592px -1.95506px 0px, rgb(92, 65, 55) 0.567324px -1.91785px 0px, rgb(92, 65, 55) 1.41734px -1.41108px 0px, rgb(92, 65, 55) 1.92034px -0.558831px 0px;
    color: white;
}

.slideMenu .selected a {
    border-style: solid;
    border-width: 25px;
    -moz-border-image: url(../img/menuBg.png) 25 stretch;
    -webkit-border-image: url(../img/menuBg.png) 25 stretch;
    -o-border-image: url(../img/menuBg.png) 25 stretch;
    border-image: url(../img/menuBg.png) 25 fill stretch;
}

.slideMenu>li:last-of-type a {
    border-bottom: 0;
}

.slideMenuInner {
    padding:20px;
    border:2px solid white;
}

section#mobile a.block {
    display: block;
    font-weight: bold;
    font-size: 130%;
    text-transform: uppercase;
    padding: 15px 0;
}

section#mobile {

}

div.pager,
div.paginator {
    border: 0;
    margin-top: 30px;
}

section#mobile {
    position: relative;
}

section#mobile .block {
    background-image: url(../img/mBlock2.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border: 0;
    padding:30px 0 !important;
    border-radius: 0;
}


.input {
    font-family: inherit;
    font-size: inherit;
    border: 0;
    outline: 0;
    display: block;
    padding: 15px;
    color: black;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 30px;
}

#chooserMobile {
    margin-bottom: 40px;
}

@media (max-width: 1920px) {
    /*body:before {
        background-size: 100% auto;
    }*/
}

@media (max-width: 1024px) {
    div.content {
        padding: 0 20px;
    }

    section#addreview,
    section#check,
    section#login,
    section#cap,
    section#registration {
        width: 100%;
    }
    section#icon {
        display: none;
     }
}

@media (max-width: 770px) {

    div.title {
        display: inline-block;
        border-width: 27px;
        border-style: solid;
        -webkit-border-image: url(../img/menuBg.png) 27 stretch;
        -o-border-image: url(../img/menuBg.png) 27 stretch;
        border-image: url(../img/menuBg.png) 27 fill stretch;
        padding: 0 20px;
        text-shadow: rgb(92, 65, 55) 2px 0px 0px, rgb(92, 65, 55) 1.75517px 0.958851px 0px, rgb(92, 65, 55) 1.0806px 1.68294px 0px, rgb(92, 65, 55) 0.141474px 1.99499px 0px, rgb(92, 65, 55) -0.832294px 1.81859px 0px, rgb(92, 65, 55) -1.60229px 1.19694px 0px, rgb(92, 65, 55) -1.97998px 0.28224px 0px, rgb(92, 65, 55) -1.87291px -0.701566px 0px, rgb(92, 65, 55) -1.30729px -1.5136px 0px, rgb(92, 65, 55) -0.421592px -1.95506px 0px, rgb(92, 65, 55) 0.567324px -1.91785px 0px, rgb(92, 65, 55) 1.41734px -1.41108px 0px, rgb(92, 65, 55) 1.92034px -0.558831px 0px;
        color: white;
    }

    

    section#menuWrapper {
        display: none;
    }


    div.content.mLines {
        padding-top: 40px;
        background-image: url(../img/mLLeft.png), url(../img/mLRight.png);
        background-position: top left, center right;
        background-repeat: no-repeat;
    }


    section#header {
        background-image: url(../img/mHeader2.png);
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: bottom center;
    }

    section#header.hCheck {
        background-image: url(../img/h/mHeader2_check.png);
    }

    section#header.hReviews {
        background-image: url(../img/h/mHeader2_reviews.png);
    }
    
    section#header.hContacts {
        background-image: url(../img/h/mHeader2_contacts.png);
    }
    
    section#header.hVacations {
        background-image: url(../img/h/mHeader2_vacations.png);
    }
    
    section#header.hPages {
        background-image: url(../img/h/mHeader2_pages.png);
    }
    
    section#header.hCabinet {
        background-image: url(../img/h/mHeader2_cabinet.png);
    }
    
    section#header.hProducts {
        background-image: url(../img/h/mHeader2_products.png);
    }


    section#headerInner:before {
       background-image: none;
    }

    section#chooser > div {
        padding:0;
        background-color: transparent;
    }

    select {
        width: 80%;
    }

    section#chooser {
        padding: 0;
    }

    section#chooser>div {
        display: block;
    }

    section#chooser>div>div {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }

    section#chooser > div > div:nth-child(1),
    section#chooser > div > div:nth-child(3),
    section#chooser > div > div:nth-child(5) {
        display: none !important;
    }


    section#menu {
        display: none !important;
    }

    section#userPanel ul,
    section#mobile {
        display: block;
        padding: 0;
    }


    section#reviews .review-header {
        padding: 0;
        margin: 0;
    }

    section#check,
    section#login,
    section#cap,
    section#registration {
        width: 100%;
    }

    section#reviews .review-header .left,
    section#reviews .review-header .right {
        display: block;
        width: 100%;
        text-align: center;
    }

    ul.review-rating {
        margin: 20px 0;
    }

    section#reviews>form>ul {
        margin: 20px 0 0;
    }

    section#reviews .title {
        margin: 0 0 20px;
    }

    section#addreview li {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        margin: 0 0 10px;
    }

    section#addreview form>ul li.rating>div.review-form-rating {
        margin: 0;
    }

    section#addreview form ul {
        margin-bottom: 20px;
    }

    section#reviews a.block {
        margin: 0 0 20px;
    }

    section#index ul#products {
        text-align: center;
    }

    section#reviews .review-main {
        padding: 30px 0 0;
    }

    section#reviews .review-main:after {
        top: -10px;
    }
    section#main {
        padding-bottom: 200px;
    }
}

@media (max-width: 500px) {

    section#menuWrapper {
        display: none;
    }

    select:not(.input),
    section#userPanel ul>li {
        zoom: .8;
    }

    section#products>ul>li {
        zoom: .6;
    }

    .review-rating,
    .rating {
        zoom: .7;
    }

    section#mobile .block {
        padding: 20px;
    }

    .block {
        display: inline-block;
    }

    section#main {
        padding-bottom: 150px;
    }

    section#icon {
        left:90px;
    }
}

/* Tickets */
section.ticket {
    text-align: left;
}

section.ticket a,
section.ticket a:hover,
section.ticket a:focus {
    text-decoration: none;
}

ul#replies {
    padding: 0;
    margin: 0;
}

ul#replies>li {
    display: block;
    margin-bottom: 30px;
}

ul#replies>li:last-of-type {
    margin: 0;
}

ul#replies div.name {
    font-weight: bold;
    margin-right: 5px;
    display: inline-block;
    color: black
}

ul#replies div.date {
    display: inline-block;
    color: #777777;
    font-size: 14px;
}

ul#replies div.ticket_head {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #cacaca;
}

ul#replies div.body {
    padding: 10px;
    /*background: #e8e8e8;*/
}

/*ul#replies div.body.first {
    font-weight:bold;
}*/

ul#replies>li.admin div.body {
    color: white;
}

ul#replies div.ticketid {
    float: right;
    color: #777777;
    font-size: 12px;
}

ul#replies div.issues {
    margin-top: 10px;
}

ul#replies div.issues p.reason {
    margin: 0 0 15px;
    font-weight: bold;
}

ul#replies div.issues div.item {
    width: 100px;
    height: 100px;
    position: relative;
    display: inline-block;
    margin-right: 10px;
    overflow: hidden;
    padding: 5px;
}

ul#replies div.issues div.item:after {
    width: 100%;
    height: 100%;
    background: black;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    opacity: .3;
    transition: .3s;
}

ul#replies div.issues div.item:hover:after {
    opacity: 0;
}

ul#replies div.issues div.item img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

ul#replies div.ticketSuccess,
ul#replies div.ticketBad,
ul#replies div.issueinfo {
    background: rgba(0, 0, 0, .5);
    margin: 0 0 20px;
    padding: 5px;
}

ul#replies div.ticketSuccess,
ul#replies div.ticketBad {
    margin: 20px 0 0;
    color: white;
}

ul#replies div.ticketSuccess {
    background: rgba(27, 191, 27, 0.59);
}

ul#replies div.ticketBad {
    background: rgba(191, 27, 27, 0.59);
}

div.replyarea textarea.reply {
    height: 200px;
    width: 100%;
    padding: 5px;
    color: #710855;
}

div.replyarea {
    background: rgba(0, 0, 0, .5);
    margin: 30px 0 0 0;
    padding: 20px;
    color: white;
}

div.replyarea button {
    margin-top: 10px;
    background: red;
    color: white;
    padding: 5px 10px;
    border: 0;
    font-size: 12px;
    cursor: pointer;
}

div.replyarea div.close {
    text-align: center;
    padding: 0 20px 20px 20px;
}

div.replyarea div.closed {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

div.replyarea input[type=submit] {
    color: #107902;
    border: 0;
    border-bottom: 1px dashed #107902;
    background-color: transparent;
    outline: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

/*section.ticket div.ticketSuccess {
    padding: 10px;
    margin-top: 20px;
    background: #41e641;
    color: #710855;
}*/

.blinking {
    animation: blinker 1s linear infinite;
    color: white;
    border-radius: 50%;
    padding: 1px 5px;
    background: black;
    font-size: 13px;
    vertical-align: 0;
    margin-left: 5px;
}

.blinking.type2 {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    padding: 3px 6px;
}

@keyframes blinker {
    50% {
        opacity: 0.0;
    }
}

div#placePhoto,
div#checkPhoto {
    display: none;
    text-align: left;
}

div#placePhoto .bar,
div#checkPhoto .bar {
    height: 20px;
    margin-top: 10px;
    display: none;
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    -o-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
    float: left;
    width: 0;
    font-size: 13px;
    line-height: 21px;
    color: #ffffff;
    text-align: center;
    background-color: #e15f5c;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    -webkit-transition: width 0.6s ease;
    -o-transition: width 0.6s ease;
    transition: width 0.6s ease;
}

div#placePhoto img.loadedImg,
div#checkPhoto img.loadedImg {
    max-width: 100px;
    max-height: 100px;
    padding: 5px;
    background: white;
}

div#placePhoto .result,
div#checkPhoto .result {
    display: none;
    margin-top: 10px;
}

@keyframes progress-bar-stripes {
    from {
        background-position: 40px 0;
    }

    to {
        background-position: 0 0;
    }
}

.ticketInfo {
    border: 1px dashed white;
    padding: 10px !important;
    text-align: center !important;
}

div#ordercontent {
    text-align: left !important;
    padding: 10px;
    border: 1px dashed white;
    font-weight: bold;
}

div#ordercontent b,
div#ordercontent span {
    font-weight: normal;
}

section#cabinet td.address a.issueCircle>img {
    text-decoration: none;
    vertical-align: middle;
    margin-left: 10px;
    height: 10px;
}

div#ordercontent.view {
    margin: 0 0 20px;
}