/*@font-face {
    font-family: rubl;
    src: url(/static/fonts/rouble.otf);
    src: url(/static/fonts/rouble.otf) format('opentype');
}*/
/* iPhone text size adjustment */
@media all and (max-device-width: 480px) {
    html,body { -webkit-text-size-adjust:none; }
}
/* iPad, portrait & landscape. */
@media all and (min-device-width: 768px) and (max-device-width: 1024px) {
    html,body { -webkit-text-size-adjust:none; }
}
@font-face {
    font-family: 'rubl';
    src: url('/static/fonts/rouble-webfont.eot?');
    src: url(/static/fonts/rouble.otf);
    src: url(/static/fonts/rouble.otf) format('opentype');
}
@font-face {
    font-family: 'als_rublregular';
    src: url('/static/fonts/rouble-webfont.eot');
    src: url('/static/fonts/rouble-webfont.eot?#iefix') format('embedded-opentype'),
         url('/static/fonts/rouble-webfont.woff2') format('woff2'),
         url('/static/fonts/rouble-webfont.woff') format('woff'),
         url('/static/fonts/rouble-webfont.ttf') format('truetype'),
         url('/static/fonts/rouble-webfont.svg#als_rublregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

.rubl {
    font-family: 'rubl', 'als_rublregular';
}

body {
    margin: 0px;
    z-index: 100;
    font-family: 'Ubuntu', sans-serif;
    /*font-family: 'Times New Roman',Times, Arial, Helvetica, sans-serif;*/
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    color: #111;
    /*background: url('/static/img/img-noise-300x300.png') repeat;*/
    background: url('/static/img/img-noise-5pc-300x300.png');
}

@font-face {
    font-family: 'open_sansregular';
    src: url('//fonts.googleapis.com/css?family=Ubuntu:400,700&subset=latin,cyrillic');
    font-weight: normal;
    font-style: normal;
}
#wrapper {
    width: 100%;
    min-width: 1280px;
}
#messagebox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
}
#messagebox .message {
    width: 100%;
    cursor: pointer;
    /*height: 50px;*/
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    color: white;
    font-size: 22px;
    background: #609cc2;
    background: -moz-linear-gradient(left, #609cc2 0%, #4bc68e 37%, #4bc68e 77%, #4bc68e 77%, #7db9e8 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#609cc2), color-stop(37%,#4bc68e), color-stop(77%,#4bc68e), color-stop(77%,#4bc68e), color-stop(100%,#7db9e8));
    background: -webkit-linear-gradient(left, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%);
    background: -o-linear-gradient(left, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%);
    background: -ms-linear-gradient(left, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%);
    background: linear-gradient(to right, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#609cc2', endColorstr='#7db9e8',GradientType=1 );
}
#messagebox .message span.text {

}
#messagebox .message span.close {
    cursor: pointer;
    font-weight: bold;
}
/* footer bottom fix */
html, body, #wrapper {
    height: 100%;
}
body > #wrapper {
    height: auto; min-height: 100%;
}
//#main {
//   padding-bottom: 150px;
//}
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfix {
    display: inline-block;
}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
/* endfix */

/* paginator */

.endless_page_link {
    color: #119e1b;
}
.endless_page_link:hover {
    color: #f49265;
}
.endless_page_current {
    background-color: #e2e7f5;
}

#register {
    display: none;
}

.auth_form_inc {
    /*font-size: 12px; */
    /* float: right !important; */
    margin: 10px;
    /* margin-top: 50px; */
    position: absolute;
    top: 22px;
    right: 200px;
    z-index: 500;
    display: none;
}
.auth_form_inc a{
    text-decoration: none;
    color: black;
}

#id_username, #id_password {
    width: 150px;
}
#id_password {

}
#show {
    font-size: 15px;
}

.blockwrapper {
    width: 100%;
}
header {
    width: 100%;
}



.container {
    width: 100%;
}


.block {
    float: left;
    position: relative;
    margin-top: 20px;
    width: 100%;
}
.block-item {
    float: left;
    position: relative;
    padding: 4px;
    /*border: 1px dotted grey;*/
    margin: 5px;
    width: 392px; /* 3 per row */
    color: black;
}
.block-item:hover {

}
#basket-inc-container {
    width: 100%;
    position: fixed;
    bottom: 0px;
    z-index: 1000;
    background: url(/static/img/basketplank.png);
}
#basket-inc {
    float: right;
    width: 100%;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    /*background: #1b335d; /* Old browsers  */
    /*background: -moz-linear-gradient(left,  #1b335d 0%, #1f4847 30%, #1f4847 70%, #255a3c 100%); /* FF3.6+ */
    /*background: -webkit-gradient(linear, left top, right top, color-stop(0%,#1b335d), color-stop(30%,#1f4847), color-stop(70%,#1f4847), color-stop(100%,#255a3c)); /* Chrome,Safari4+ */
    /*background: -webkit-linear-gradient(left,  #1b335d 0%,#1f4847 30%,#1f4847 70%,#255a3c 100%); /* Chrome10+,Safari5.1+ */
    /*background: -o-linear-gradient(left,  #1b335d 0%,#1f4847 30%,#1f4847 70%,#255a3c 100%); /* Opera 11.10+ */
    /*background: -ms-linear-gradient(left,  #1b335d 0%,#1f4847 30%,#1f4847 70%,#255a3c 100%); /* IE10+ */
    /*background: linear-gradient(to right,  #1b335d 0%,#1f4847 30%,#1f4847 70%,#255a3c 100%); /* W3C */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1b335d', endColorstr='#255a3c',GradientType=1 ); /* IE6-9 */

}
#order-info {
    float: right !important;
    margin-right: 100px;
}
#basket-inc a {
    color: white;
    cursor: pointer;
}
#basket-inc div {
    float: left;
}
#in-basket {
    padding-top: 10px;
}
#order-buy-button.disabled, #order-buy-button-top.disabled {
    border: 2px solid #9B9B9B;
    background: #9dc0c4; /* Old browsers */
    background: -moz-linear-gradient(top,  #9dc0c4 0%, #9bb1c1 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9dc0c4), color-stop(100%,#9bb1c1)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #9dc0c4 0%,#9bb1c1 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #9dc0c4 0%,#9bb1c1 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #9dc0c4 0%,#9bb1c1 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #9dc0c4 0%,#9bb1c1 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9dc0c4', endColorstr='#9bb1c1',GradientType=0 ); /* IE6-9 */
    cursor: default;
}
#order-buy-button, #order-buy-button-top{
    width: auto !important;
    height: auto;
    margin-left: 10px;
    padding: 5px;
}
#bi-show, #bi-hide {
    width: 100%;
    float: left;
    cursor: pointer;
    text-align: center;
    color: white;
    /*background: #1b335d; */
    /*background: -moz-linear-gradient(left,  #1b335d 0%, #1f4847 30%, #1f4847 70%, #255a3c 100%); */
    /*background: -webkit-gradient(linear, left top, right top, color-stop(0%,#1b335d), color-stop(30%,#1f4847), color-stop(70%,#1f4847), color-stop(100%,#255a3c)); /* Chrome,Safari4+ */*/
    /*background: -webkit-linear-gradient(left,  #1b335d 0%,#1f4847 30%,#1f4847 70%,#255a3c 100%); */
    /*background: -o-linear-gradient(left,  #1b335d 0%,#1f4847 30%,#1f4847 70%,#255a3c 100%); */
    /*background: -ms-linear-gradient(left,  #1b335d 0%,#1f4847 30%,#1f4847 70%,#255a3c 100%); */
    /*background: linear-gradient(to right,  #1b335d 0%,#1f4847 30%,#1f4847 70%,#255a3c 100%); */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1b335d', endColorstr='#255a3c',GradientType=1 ); */
}
#basket-block {

}
#basket-wrapper {
    width: 1280px;
    margin: 0 auto;
}
label[for$=DELETE], input[name$=DELETE] {
    display: none;
}
.oi {
    float: left;
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    padding-right: 0px;
    padding-left: 0px;
}
.oi div {
    float: left;
}
.oi-item {
    width: 100%;
}
.oi-title {
    padding-left: 20px;
    text-align: left !important;
    max-width: 180px;
}
.oi-price {
    font-size: 14pt !important;
    text-align: right;
    float: none !important;
}
div.oi-price span {
    font-size: 30pt;
}
#order-total-price {
    font-size: 30pt;
    width: 100%;
}
#basket-hr {
    float: left;
    width: 100%;

}
#basket-hr div {
    height: 1px;
    background: black;
    opacity: 0.4;
    background: rgba(0, 0, 0, .4);
    width: 100%;
}
#total-price {
   text-align: right;
}
#oi-table {
    width: 650px;
    margin-bottom: 20px;
}
.text-align-right {
    text-align: right;
}
.css-label {
    font-size: 14pt !important;
}
.oi-del {
    position: absolute;
    height: 30px;
    width: 30px;
    background: #609cc2;
    border: 1px solid #60C19F;
    border-radius: 100%;
    cursor: pointer;
    text-align: center;
    font-size: 25px;
    margin-left: 650px;
}
#order-form table {
    text-align: left;
    font-size: 14pt;
    width: 650px;
}
#order-form table td.error {
    padding: 10px;
    background: #6cbcc6;
}
#order-form input[type=text]{
    width: 100%;
}
#order-form textarea {

}
#delivery-price {
    text-align: right;
}
div.block.generic {

}
#generic-content {
    width: 1280px;
    margin: 0 auto;
}

footer {
    position: relative;
    float: left;
    width: 100%;
    min-width: 1280px;
    height: 100px;
    //margin-top: -100px;
    clear: both;
    background: url('/static/img/img-noise-300x300blue.png');
    //margin-bottom: 18px;
}
footer div.container {
    width: 1280px;
    margin: 0 auto;
}
.up {
    margin-bottom: 66px !important;
}
div#copyright {
    float:left;
    /*margin-top: 22px;*/
}
div#copyright div {
    float: left;
    padding: 10px;
}
#cleft {
    color: grey;
    font-style: italic;
}
#cright {
    width: 225px;
}
#cright-text {
    font-size: 10px;
    float: left;
    padding: 0px !important;
}
#cright a {
    color: black;
    text-decoration: none;
}
a {
    color: #119e1b;
}
a:hover {
    color: #f49265;
}
a.undecorated {
    text-decoration: none;
}
.black {
    color: black;
}
.black:hover {
    color: grey;
}
.padded-button {
    padding: 10px;
    border-radius: 10px;
}
.padded-button:hover {
}
.MsoNormalTable {
    width: 100% !important;
    margin-left: 0px !important;
    text-align: center;
}
.box-modal {
    width: auto !important;
}
/* end misc */
/* start base */
header {
    height: 170px;
    margin: 0;
}
#header-top {
    width: 100%;
    height: 100%;
    background-image:  url("/static/img/topper.png");
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/img/topper.png', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/static/img/topper.png', sizingMethod='scale')";
    float: left;
}
#title {
    position: absolute;
    top: 10px;
    left: 20px;
}
#title div {
    height: 37px;
    text-align: left;
    vertical-align: middle;
    font-size: 25px;
}
#title a {
    text-decoration: none;
}
#title span {
    padding: 5px;
    color: white;
}
.grey {
    background: #888a85;
}
.lt-blue {
    background: #6ec1c6;
}
.blue {
    background: #6099c2;
}
#top-contacts {
    position: absolute;
    top: 0px;
    /*right: 0px;*/
    width: 100%;
    min-width: 650px;
    z-index: 1001;
    text-align: right;
}
#top-contacts img {
    position: absolute;
    right: 510px;
}
#top-contacts .header-phone {
    font-size: 28px;
    color: #6d6d72;
    background: white;
    padding-right: 40px;
}

#top-contacts .header-phone a {
    text-decoration: none;
    color: #6d6d72;
}

div#callback-form-container {
    display: none;

}
span#show-callback {
    text-decoration: none;
    border-bottom: 1px dashed;
    cursor: pointer;
    float: right;
    margin-right: 80px;
}
table#callbackform-container {
    width: 100%;
    text-align: center;
}

span.js-show:hover {

}
.float-right {
    float: right;
}
#header-menu {
    width: 100%;
    min-height: 50px;
    background: #609cc2; /* Old browsers */
    background: -moz-linear-gradient(left, #609cc2 0%, #4bc68e 37%, #4bc68e 77%, #4bc68e 77%, #7db9e8 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#609cc2), color-stop(37%,#4bc68e), color-stop(77%,#4bc68e), color-stop(77%,#4bc68e), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%); /* IE10+ */
    background: linear-gradient(to right, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#609cc2', endColorstr='#7db9e8',GradientType=1 ); /* IE6-9 */
    background: url(/static/img/topplank2.png) #4bc68e;
}
#header-bot {
    float: left;
    width: 100%;
}
#callback-wrapper {
    position: absolute;
    /* right: 80px; */
    top: 40px;
    text-align: center;
    width: 100%;
    z-index: 2000;
}
#callback-container {
    float: right;
    width: 230px;
    margin-right: 60px;
    min-width: 230px;
}
#callbackform {
    padding: 20px;
    background: rgb(255, 255, 255);
    border-radius: 10px;
    border: 1px solid #6099c2;
}
#callbackform input[type=submit]{
    margin-top: 15px;
    padding: 5px;
    height: auto !important;
    width: auto !important;
}
#callback-show-container {
    min-width: 230px;
}
ul.errorlist {
    list-style: none;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0;
    -webkit-margin-before: 0;
}
#order-form ul.errorlist {

}
#callback-show {
    border-bottom: 1px dashed black;
    cursor: pointer;
}
#basket-inc-top {
    position: absolute;
    width: 100%;
    top: 80px;
}
#basket-inc-top-wrapper {
    float: right;
    text-align: center;
    margin-right: 60px;
    width: 230px;

}
#basket-inc-top-container {

}
#in-basket-top {
    margin-bottom: 20px;
}
/*style the main menu*/
.topMenu {
    margin: 0px;
    padding: 0px;
    z-index: 200;
    margin: 0 auto;
    padding-bottom: 3px;
    padding-left: 10px;
    font-size: 18px;
    width: 1280px;
}

.topMenu li div {
    /*float: left;*/
    /*width: 100%;*/
    text-align: center;
}
.whitearrow {
    margin-top: -13px;
    text-align: center;
    display: none;
}
.whitearrow img {
    width: 120px;
    height: 13px;
    display: none;
}

.topMenu .topMenuItem {
    display: inline-block;
    font: 100% Arial, Helvetica, sans-serif, #111;
    z-index: 200;
    min-width: 80px;
}


.topMenu .topMenuItem a:link, .topMenu .topMenuItem a:visited {
    /*display: block;*/
    text-decoration: underline;
    padding: 0px 15px 0px 0px;
    line-height: 25px;
    margin: 0;
    color: #FFFFFF;
    z-index: 200;

}

.topMenu .topMenuItem a:hover {
    color: black;
    z-index: 200;
}

/*style the sub menu*/
.topMenu li ul {
    position:absolute;
    display: none;
    margin:0;
    padding:0;
    z-index: 200;
}

.topMenu li ul li {
    display:inline;
    float:none;
    z-index: 200;
}

.topMenu li ul li a:link, .topMenu li ul li a:visited {
    width:auto;
    z-index: 200;
}

.topMenu li ul li a:hover {
    z-index: 200;
}

#search-block {
    float: left;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #609cc2; /* Old browsers */
    background: -moz-linear-gradient(left, #609cc2 0%, #4bc68e 37%, #4bc68e 77%, #4bc68e 77%, #7db9e8 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#609cc2), color-stop(37%,#4bc68e), color-stop(77%,#4bc68e), color-stop(77%,#4bc68e), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%); /* IE10+ */
    background: linear-gradient(to right, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#609cc2', endColorstr='#7db9e8',GradientType=1 ); /* IE6-9 */
    background: url(/static/img/searchplank.png) no-repeat #609cc2;
    width: 100%;
    max-height: 70px;
}
#searchform {
    position: relative;
    margin: 0 auto;
    width: 1230px;
    z-index: 10000;
}
#searchform div{
    float: left;
}
#id_query {
    height: 25px;
    width: 600px;
    font-size: 18px;
    /*margin-right: 10px;*/
}
#searchform .errorlist {
    list-style: none;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-padding-start: 0;
    /*text-align: center;*/
    /*position: absolute;*/
    /*margin-top: -18px;*/
    color: white;
}
#searchform .errorlist li {

}

.button {
    height: 35px;
    width: 100px;
    font-size: 18px;
    cursor: pointer;
    border: 2px solid #6099c2;
    color: white;
    border-radius: 5px;
    background: #6cbcc6; /* Old browsers */
    background: -moz-linear-gradient(top, #6cbcc6 0%, #6099c2 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6cbcc6), color-stop(100%,#6099c2)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #6cbcc6 0%,#6099c2 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #6cbcc6 0%,#6099c2 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #6cbcc6 0%,#6099c2 100%); /* IE10+ */
    background: linear-gradient(to bottom, #6cbcc6 0%,#6099c2 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6cbcc6', endColorstr='#6099c2',GradientType=0 ); /* IE6-9 */
}
#sort-block {
    padding: 8px;
    background: url(/static/img/sortplank.png);
    /*background: rgb(48,193,125); */
    /*background: -moz-linear-gradient(45deg,  rgba(48,193,125,1) 61%, rgba(0,187,204,1) 100%);*/
    /*background: -webkit-gradient(linear, left bottom, right top, color-stop(61%,rgba(48,193,125,1)), color-stop(100%,rgba(0,187,204,1))); */
    /*background: -webkit-linear-gradient(45deg,  rgba(48,193,125,1) 61%,rgba(0,187,204,1) 100%); */
    /*background: -o-linear-gradient(45deg,  rgba(48,193,125,1) 61%,rgba(0,187,204,1) 100%);*/
    /*background: -ms-linear-gradient(45deg,  rgba(48,193,125,1) 61%,rgba(0,187,204,1) 100%);*/
    /*background: linear-gradient(45deg,  rgba(48,193,125,1) 61%,rgba(0,187,204,1) 100%);*/
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#30c17d', endColorstr='#00bbcc',GradientType=1 ); */
    margin-bottom: 10px;
}
#sort-container {
    width: 1280px;
    margin: 0 auto;
}
#sort-container a{
    margin-right: 5px;
    margin-left: 5px;
    color: black;
}
#sort-container a.active-sort {
    padding: 4px;
    color: white;
    background: #7db9e8;
    border-radius: 5px;
}

#categories-container {
    width: 1280px;
    height: auto;
    margin: 0 auto;
}
.category-list {

}
.category-list-hrefs {
    max-width: 240px;
}
.category-list-hrefs ul {
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-padding-start: 35px;
}
.category-list div {
    float: left;
}
.category-list div ul li {
    list-style: none;
}
.category-list-image {
    width: 130px;
}
.category-list-image img {
    display: block;
    height: auto;
    width: auto;
    max-width: 130px;
    max-height: 150px;
}
.cat-href {
    font-size: 20px;
    color: #094d02;
}
.cat-href:hover {
    color: #f49265;
}
.sub-href {
    color: #119e1b;
}
.sub-href:hover {
    color: #f49265;
}
#products-block-container {
    margin: 0 auto;
    width: 1280px;
}
#list-container {
    float: left;
    width: 800px;
}
#list-container table {
    width: 100%;
    border-spacing: 0px 45px;
}
div.product {
    float: left;
    width: 100%;
}
tr.product {
    width: 800px;
    max-width: 800px;
}
tr.product td {
    vertical-align: top;
}
.product div {
    float: left;

}
.product-image {
    padding: 10px;
}
.product-image img {
    max-width: 180px;
    max-height: 180px;
    display: block;
    height: auto;
    width: auto;
}
.product-href {
    font-size: 20px;
    color: #094d02;
}
.product-href:hover {
    color: #f49265;
}
.product-availability {
    width: 200px;
    min-width: 200px;
    font-style: italic;
    font-size: 10pt;
}
.product-availability .discount {
    color: #4bc68e;
    font-size: 16pt;
    font-style: normal;
}
.product-availability table {
    border-spacing: 0px !important;
    text-align: left !important;
    vertical-align: middle !important;
}
.product-availability table td {
    vertical-align: middle !important;
}
.product-availability div {
    width: 100%;
    float: left;
}
.product-availability div img {
    margin-left: 0px;
    margin-right: 10px;
    height: 50px;
}
.desc {
    width: 400px;
    min-height: 163px;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}
.product-ecom {
 width: 330px;;
 text-align: right;
 vertical-align: middle;
}
.ecom-price {
    vertical-align: middle;
    font-size: 30px;
    font-weight: bold;
    margin-right: 10px;
}
.product-brand {
    width: 56px;
    float: left;
}
.basket-add {
    margin-right: 10px;
}
.product-brand img {
    vertical-align: middle;
    max-width: 56px;
    max-height: 35px;
    display: block;
    height: auto;
    width: auto;
}
#filter-form-block {
    float: left;
    width: 400px;
    border: 2px solid #609cc2;
    box-shadow: 2px 2px #4bc68e;
    -moz-box-shadow: 2px 2px #4bc68e;
    -webkit-box-shadow: 2px 2px #4bc68e;
    border-radius: 5px;
    padding: 10px;
    margin-left: 10px;
    /*-webkit-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.85);*/
    /*-moz-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.85);*/
    /*box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.85);*/
    margin-bottom: 50px;
}
input[type='text'] {
    width: 130px;
}
#filter-form div {
    float: left;
    margin: 3px;
}
#filter-form td {
    max-width: 230px;
}
#filter-form ul.errorlist {
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    text-align: center;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-padding-start: 0;
    -moz-margin-before: 0;
    -moz-margin-after: 0;
    -moz-padding-start: 0;
    padding-top: 3px;
    padding-bottom: 3px;
    border-radius: 5px;
}
#filter-form-calculator {
    margin-top: 20px !important;
}
.filter-form-category-title span {
    text-decoration: underline;
    cursor: pointer;
}
.invisible {
    display: none;
}
.collapse {
    display: none;
}
.category-label.active {
    background: #7db9e8 !important;
}
#filter-form label.active {
    background: #4bc68e;
    color: white;
    padding: 4px;
    border-radius: 4px;
}
#filter-from-brands {
    width: 100%;
}
#filter-form-categories label, #filter-form-brands label {
    text-decoration: underline;
    cursor: pointer;
}

#filter-form-price {
    width: 100%;
}
#filter-form-categories {
    width: 100%
}
.filter-form-category {
    width: 100%;
}
.filter-form-category-title {
    margin-right: 10px;
}
.filter-form-subcategories {
width: 100%;
}
.filter-form-subcategory {

}
#filter-form-brands {
    width: 100%;
}
#filter-form-brands-all {
    width: 100%;
}
#filter-form-brands-all label {
    margin-left: 10px;
}
.filter-form-brands-column {
    margin-right: 10px;
    width: 47%;
}
.filter-form-brand {
    float: none !important;
    margin-bottom: 10px !important;
    cursor: pointer;
}
#filter-form-available {
    width: 100%;
}
#filter-form-parameters {
    width: 100%;
}
.filter-form-parameter {
    width: 100%;
    float: left;
}
#filter-form-submit {
    width: 100%;
}
#item-block-wrapper {
    width: 1280px;
    margin: 0 auto;
}
h1.product-title {
    width: 100%;
    float: left;
}
#item-block {
    width: 800px;
}
#item-block-top {

}
#item-image, #item-params-block {
    float: left;
}
#item-image {
    width: 300px;
}
#item-short-description {
    font-weight: normal;
    font-size: 16px;
}
#item-params-block {
    margin-left: 20px;
    width: 450px;
    font-size: 18pt;
}
#item-params {
    min-height: 200px;
}
#item-ecom {
    text-align: right;
    float: right;
    width: 150px;
}
#item-ecom-installation {
    text-align: right;
    float: right;
    width: 150px;
    font-size: 13px;
}
#brand-block {
    /*float: right;
    width: 400px;*/
    font-size: 12pt;
    margin-left: 20px;
}
.installation-block {
    margin-top: 7px;
    padding-right: 10px;
    height: 38px;
}
.price-block {
    height: 45px;
}
.item-availability {
    width: 150px;
    /*float: right;*/
}
.basket-add-installation {
    font-size: 14px;
    width: 120px;

    border: 2px solid rgb(48,193,125);

    background: rgba(0,187,204,1); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(0,187,204,1) 0%, #6099c2 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,187,204,1)), color-stop(100%,#6099c2)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(0,187,204,1) 0%,#6099c2 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(0,187,204,1) 0%,#6099c2 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(0,187,204,1) 0%,#6099c2 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(0,187,204,1) 0%,#6099c2 100%); /* W3C */

}

.price {
    font-size: 30pt;
    font-weight: bold;
}
.price-installation {
    font-size: 19px;
    font-weight: bold;
}

#item-desc {
    float: left;
    width: 100%;
    font-size: 12pt;
}

#special {
    margin-top: 0px;
    margin-bottom: 10px;
}
#special-block-wrapper {
    width: 1280px;
    margin: 0 auto;
    min-width: 1280px;
    margin-bottom: 10px;
}
#slider1_container {
    min-width: 1280px;
}
#slider_1_slides {
    min-width: 1200px;
    margin-left: 45px;
}
.special-item {
    float: left;
    text-align: left;
    height: 250px;
    width: 130px;
    cursor: pointer;
    padding: 10px;
}
.special-item-container {
    float: left;
    padding: 10px;
}
.special-item-container:hover {
    border: 1px solid #AFAFAF;
    margin-top: -5px;
    margin-left: -5px;
    -webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.75)
}
.special-item:hover {

}
.special-item div.special-img {
    height: 130px;
}
.special-item div.special-img img {
    max-width: 130px;
    max-height: 130px;
    display: block;
    height: auto;
    width: auto;
}
.special div {
    float: left;
    width: 100%;
}
.special-item div a {
    color: #119e1b;
}
.special-item div a:hover {
    color: #f49265;
}
.brand-label {
    cursor: pointer;
}
.discount {
    color: #119e1b;
    font-weight: bold;
}
.dod {
    color: #F9743B;
    font-weight: bold;
}
.special-price {
    color: grey;
    font-size: 25px;
}
#basket-submit {
    width: 1080px;
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
    background: -moz-linear-gradient(left,  rgba(96,156,194,0.2) 0%, rgba(75,198,142,0.2) 30%, rgba(75,198,142,0.2) 70%, rgba(96,156,194,0.2) 99%, rgba(96,156,194,0.2) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(96,156,194,0.2)), color-stop(30%,rgba(75,198,142,0.2)), color-stop(70%,rgba(75,198,142,0.2)), color-stop(99%,rgba(96,156,194,0.2)), color-stop(100%,rgba(96,156,194,0.2))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  rgba(96,156,194,0.2) 0%,rgba(75,198,142,0.2) 30%,rgba(75,198,142,0.2) 70%,rgba(96,156,194,0.2) 99%,rgba(96,156,194,0.2) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  rgba(96,156,194,0.2) 0%,rgba(75,198,142,0.2) 30%,rgba(75,198,142,0.2) 70%,rgba(96,156,194,0.2) 99%,rgba(96,156,194,0.2) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  rgba(96,156,194,0.2) 0%,rgba(75,198,142,0.2) 30%,rgba(75,198,142,0.2) 70%,rgba(96,156,194,0.2) 99%,rgba(96,156,194,0.2) 100%); /* IE10+ */
    background: linear-gradient(to right,  rgba(96,156,194,0.2) 0%,rgba(75,198,142,0.2) 30%,rgba(75,198,142,0.2) 70%,rgba(96,156,194,0.2) 99%,rgba(96,156,194,0.2) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33609cc2', endColorstr='#33609cc2',GradientType=1 ); /* IE6-9 */

}
#basket-submit .button{
    font-size: 30pt;
    padding-left: 50px;
    padding-right: 50px;
    width: auto;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;

}
#top-hr {
    margin-bottom: -49px;
    width: 100%;
    float: left;
    /*height: 2px;*/
    /*background: #609cc2;*/
    /*background: -moz-linear-gradient(left, #609cc2 0%, #4bc68e 37%, #4bc68e 77%, #4bc68e 77%, #7db9e8 100%); */
    /*background: -webkit-gradient(linear, left top, right top, color-stop(0%,#609cc2), color-stop(37%,#4bc68e), color-stop(77%,#4bc68e), color-stop(77%,#4bc68e), color-stop(100%,#7db9e8)); */
    /*background: -webkit-linear-gradient(left, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%); */
    /*background: -o-linear-gradient(left, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%); */
    /*background: -ms-linear-gradient(left, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%); */
    /*background: linear-gradient(to right, #609cc2 0%,#4bc68e 37%,#4bc68e 77%,#4bc68e 77%,#7db9e8 100%); */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#609cc2', endColorstr='#7db9e8',GradientType=1 );*/
}
#top-hr img {
    width: 100%;
}
#newsblock-wrapper {
    width: 100%;
    float: left;

}
#newsblock-container {
    width: 1280px;
    margin: 0 auto;
}
#newsblock {
    float: right;
    margin-right: 50px;
    width: 400px;
}

#newsblock div {
    padding: 10px;

}
#newsblock a {
    text-decoration: none;
}
#newsblock-title {
    padding-bottom: 20px !important;
    padding-top: 20px !important;
    font-size: 24pt;
    color: white;
    background: rgb(92,234,196); /* Old browsers */
    background: -moz-linear-gradient(-45deg,  rgba(92,234,196,1) 0%, rgba(75,198,142,1) 30%, rgba(75,198,142,1) 70%, rgba(1,195,207,1) 99%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(92,234,196,1)), color-stop(30%,rgba(75,198,142,1)), color-stop(70%,rgba(75,198,142,1)), color-stop(99%,rgba(1,195,207,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg,  rgba(92,234,196,1) 0%,rgba(75,198,142,1) 30%,rgba(75,198,142,1) 70%,rgba(1,195,207,1) 99%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg,  rgba(92,234,196,1) 0%,rgba(75,198,142,1) 30%,rgba(75,198,142,1) 70%,rgba(1,195,207,1) 99%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg,  rgba(92,234,196,1) 0%,rgba(75,198,142,1) 30%,rgba(75,198,142,1) 70%,rgba(1,195,207,1) 99%); /* IE10+ */
    background: linear-gradient(135deg,  rgba(92,234,196,1) 0%,rgba(75,198,142,1) 30%,rgba(75,198,142,1) 70%,rgba(1,195,207,1) 99%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5ceac4', endColorstr='#01c3cf',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    text-decoration: none;
    padding-left: 25px !important;
}
.news-item {
    max-width: 400px;
}
.news-text {
    max-height: 515px;
    overflow: hidden;
}
.news-title {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    font-weight: bold;
    text-decoration: underline;
}
#news-block-container {
    width: 1280px;
    margin: 0 auto;
}
.news-block-item {
    width: 600px;
    padding: 20px;
    margin: 20px;
}
/* end base */

/*sliders*/
.grab {
    cursor: move;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}
.grabbing {
    cursor: -moz-grabbing !important;
    cursor: -webkit-grabbing !important;
}
.block-wrapper {
    width: 1280px;
    margin: 0 auto;
}
.paginate-pages {
    font-size: 15pt;
    font-weight: bold;
    margin-bottom: 30px;
}
.paginate-pages a {
    color: #10BA07;
}
#availability-block {
    float: left;
    width: 100%;
}
#availability-block div {
    float: left;
}
.available-button, .unavailable-button, .canorder-button {
    padding: 10px;
    border-radius: 5px;
    margin: 5px;
    color: white;
}
.available-button {
    background: #6cbcc6;
}
.unavailable-button {
    background: #DB2F00;
}
.canorder-button {
    background: #03C685;
}
/* checkboxes */

/* end checkboxes */
/* breadcrumbs */
.breadcrumb {
  padding: 8px 15px;
  margin-bottom: 20px;
  margin-top: 50px;
  list-style: none;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.breadcrumb > li {
  display: inline-block;
}
.breadcrumb > li + li:before {
  content: "/\00a0";
  padding: 0 5px;
  color: #cccccc;
}
.breadcrumb > .active {
  color: #777777;
}
/* end breadcrumbs */

#item-desc span {
    margin-left: 7px;
}


header {
    height: 170px;
    margin: 0;
}
.left_menu {
    float: left;
    width: 270px;
    display: block;
    margin-bottom: 30px;
    transform-origin: left center;
}
.main_content {
    display: block;
    margin-left: 290px;
}
#item-desc span {
    margin-left: 7px;
}
.catalog_title {
    background: #f5f5f5;;
    padding: 12px 0 12px 15px;
    border-bottom: 1px solid #d4d5d9;
    font-weight: 600;
    font-size: 13pt;
    color: #000;
    margin-top: 20px;
    cursor: pointer;
}
#catalog_elements {
    transition: all 0.5s;
    display: block;
}
#catalog_show {
    display: none;
}
#catalog_hide {
    display: none;
}

.catalog_title span {
    font-size: 10pt;
    color: #777;
    float: right;
    padding-right: 10px;
}
.catalog_item {
    background: #f5f5f5;;
    padding: 10px 0 10px 15px;
    border-bottom: 1px solid #d4d5d9;
}
.catalog_item a {
    font-weight: 400;
    font-size: 11pt;
    color: #383838;
    text-decoration: none;
    line-height: 110%;
}
.catalog_item a:hover, .catalog_item a:active {
    color: #383838;
    text-decoration: underline;
    color: #119e1b;
}
.catalog_item__selected {
    background: url(/static/img/sortplank.png);
}
.category_item__level_two {
    padding-left: 30px !important;
}
.category_item__level_three {
    padding-left: 50px !important;
}
.brand_categories a {
    margin-right: 15px;
}
.brands a, .brands strong {
    margin-right: 15px;
}
.brands {
    margin-bottom: 15px;
}
.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; cursor: pointer;}
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #119e1b; /* #3399FF */ }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }


.header-search {
    position: absolute;
    right: 300px;
    top: 70px;
    width: 180px;
    background: #f3f3f3 0 0;
    padding: 0;
    z-index: 1000;
}
.header-search input[type=text] {
    background: #f3f3f3;
    border: 0 none;
    color: #c1c1c1;
    float: right;
    margin: 0;
    padding-left: 20px;
    padding-right: 10px;
    transition: all 0s ease 0s;
    width: 100%;

    font-size: 14px;
    height: 35px;
    line-height: 35px;
    margin: 0;
    transition: all 0s ease 0s;
    width: 100%;
    box-shadow: 0 0 1px 0 rgba(0,0,0,.36);
}

.header-search button {
    overflow: none;
    padding: 1px 0px 1px 0px;
    margin: 2px 2px 0px 0px;
    text-transform: none;
    -webkit-appearance: button;
    cursor: pointer;

    background: #f3f3f3;
    height: 33px;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
    border-radius: 0;
    transition: all .3s;
}
.header-search .btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    white-space: nowrap;
    border: 1px solid transparent;
}

.header-search .icon-search {
    margin-top: 2px;
    margin-right: 2px;
    width: 26px;
    height: 26px;
    color: #c1c1c1;
    transition: all .3s;
    font-size: 20px
}

.header-search button:hover .icon-search{
    color: #119e1b;
}

.header-search input[type=text] {
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  outline: none;
  border: 1px solid #DDDDDD;
}

.header-search input[type=text]:focus {
  box-shadow: 0 0 5px #119e1b;
  border: 1px solid #119e1b;
}




.hidden {
    display: none;
}

.my_v_setjah {
    position: absolute;
    right: 270px;
    top: 125px;
    width: 250px;
    padding: 0;
    z-index: 1000;
    font-size: 20px;
}

.my_v_setjah a {
    margin-right: 5px;
    transition: all .3s;

}
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }