body, html{margin:0; padding:0; font-family: 'Roboto', sans-serif; font-size:14px; line-height:18px; }
a{color: #323232; text-decoration: none; transition: color 0.2s ease-in-out;}
a:hover{text-decoration:none;}
a, img, div, input, object{outline:none;}
a img{border:none; cursor:pointer;}
a img {border:none;}

input[type="button"] {
    background: #333;
    border: 0;
    outline: 0;
    padding: 10px 20px;
    color: #fff;
    transition: background 0.3s ease-in-out;
    cursor: pointer;
}
input[type="button"]:hover{
    background: #555555;
}
.sep{margin:0; padding:0; float:none; clear:both; font-size:0; line-height:0; height:1px;}

#main{width:100%; margin:0 auto;}
/* .wrapper{width: 1000px; margin: 0 auto;} */

#header{position:relative; height:234px; background:url(/images2/header.jpg) left top no-repeat;
    }
.login_block {
    font-size: 14px;
    line-height: 73px;
    padding-left: 20px;
}
.login_block a{
    margin-right: 20px;
    color: #666;
}
#div_cart{    position: absolute;
    text-align: left;
    right: 30px;
    top: 25px;}

.fade-content {
    position: absolute;
    width: 260px;
    right: -30px;
    top: 45px;
    border: 1px solid #c2c2c2;
    padding: 30px;

    z-index: 999999;
    display: block;
    font-size: 14px;
    font-weight: 300;
    text-align: right;
     opacity: 0;
     display: none;
    background: #fff;
    line-height: 20px;
    transition: opacity 0.3s ease-in-out;
}
.cart-content:before{
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    position: absolute;
    top: -4px;
    right: 25px;
    background: #c2c2c2;
}
.cart-show{
    opacity: 1;
    display: block;
}
#black-out{
    display: none;
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    z-index: 99998;
    background: #222222;
    opacity: 0.4;
}
#black-out.show{
    display: block;

}
span.cart-number-summ {
    font-size: 22px;
    padding-left: 10px;
}
.cart-link{
    display: block;
    padding: 10px 25px;
    background: #444444;
    text-align: center;
    margin-top: 20px;

    color: #ffffff;
}
.cart-summ {
    font-size: 24px;
    margin: 15px 0 0;
    font-weight: 600;
}
#logo{display:block; position:absolute; left:9px; top:91px; width:314px; height:143px;}
#logo img{width:314px; height:143px;}

#menu, #menu2{ white-space:nowrap; margin:7px 0 0 0; text-align:center;}
#menu ul, #menu2 ul {margin:0px; padding:0px; list-style-type:none; display:block; display: flex;    flex-wrap: wrap;
    position: relative;}
#menu ul li, #menu2 ul li {}
#menu .sub{
    display: none;
    position: absolute;
    top: 46px;
    width: 100%;
    z-index: 999;
    background: #c2c2c2;
    padding: 60px;
    box-sizing: border-box;
    left: 0;

}
#menu .sub li{
    text-align: left;
    font-weight: 400;
    font-size: 12px;
    line-height: 25px;
}
#menu .sub li a:hover{
    color: #ffffff;
}
 #menu li a.dd-toggle{
     display: none;
 }
.flex-menu{
    display: flex;
    flex-wrap: wrap;
}
.flex-menu li{
    flex-basis: 25%;
}
#menu > ul > li:first-of-type{
    flex-grow: 4;
    flex-basis: 100%;
    margin: 0 40%;
}

.menu2 {
    width: 100%;
    vertical-align: top;
    margin: 0;
    height: 56px;
}
.menu2 ul{
    display: flex;
    flex-wrap: wrap;
    list-style-type:none;
    padding: 0;
    height: 100%;
    margin: 0;
}
.menu2 ul li{
    flex-basis: 25%;
}
.menu2 ul li a{
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    transition: all .3s ease-out;
    line-height: 56px;
}
.menu2 li a:hover {
    background: #c2c2c2;
}
.fotorama{
    height: 500px;
}
.mainpage-custom-img{
    margin-top: 80px;

}

.mainpage-custom-img-img{
    display: inline-block;
    width: 70%;
}
.mainpage-custom-img img{
    width: 100%;
}
.mainpage-custom-img .right-box{
    display: inline-block;
    font-size: 20px;
    width: 29%;
    text-align: left;
    vertical-align: top;
    padding-left: 20px;
    box-sizing: border-box;
}
.mainpage-custom-img .name-box {
    font-weight: 700;
    margin-top: 20px;
}
.mainpage-custom-img .description-box{
    font-size: 14px;
    font-style: italic;
    line-height: 24px;
    margin-top: 20px;

}

.cart-img, .search-icon {
    width: 26px;
    height: 26px;
    float: right;
    z-index: 999;
    position: relative;
}
.cart-img svg .ttt, .search-icon svg .ttt {
    transition: fill 0.2s ease-in-out;
    -webkit-transition: fill 0.2s ease-in-out;
    fill: #888888;
}
.cart-img:hover svg .ttt, .search-icon:hover svg .ttt {
    fill: #222222;

}
.cart-img:hover, .search-icon:hover{
    cursor: pointer;
}
#tend{height:19px; padding:23px 0px 29px 416px;}
#tend a{margin:0 0 0 12px;}

#icons {margin:20px 0px 0px 0px; width:100%;}
#icons td{text-align:center; vertical-align:top; height:40px; padding:0px 8px;}
#icons a{color:#fff; font-style:italic;}
#icons a:hover{color:#FF9000;}
#icons img{height:70px; margin:0 auto 6px auto; display:block;}

#content{margin:40px 0 0 0; padding:0 0 30px 0; }
#content h1{    font-size: 29px;
    font-weight: 500;
    color: #222222;
    line-height: 29px;
    margin: 0 0 30px 0;
    border-bottom: 2px dashed #222222;
    /* width: 80%; */
    padding: 25px 0 6px;}
#content p{margin:0 0 30px 0;}


#footer{    /* height: 117px; */
    position: relative;
    /* color: #ff9000; */
    white-space: nowrap;
    background: #c2c2c2;
    padding: 60px 0;
    font-weight: 300;
}
#footer .wrapper{display: flex; justify-content: space-between;    flex-wrap: wrap;}
#footer .left {display: inline-block;     line-height: 27px;}

.icons_icon{position:relative; top:20px;}
a.social-icon {
    margin: 8px;
    display: inline-block;
}

.stock{position:fixed; top:30px; right:30px; background:#E49802; padding:0px 10px; box-shadow:0 0 7px #CCCCCC; border-radius:5px; width:170px;//padding-bottom:10px;}
.stock p{color:#000; font-size:16px;}
.stock h5{font-size:26px!important; font-weight:bold; text-align:center; margin:18px; color:#000;}


/* ����������� */
.reg_table {width:100%; margin:0px 0px 50px 0px;}
.reg_table td {padding:6px 6px 6px 0px; vertical-align:middle;}
.reg_table td.td_first {width:170px;}
.reg_table td input[type="text"], .reg_table td input[type="password"] {width:300px; transition:border 0.2s linear 0s, box-shadow 0.2s linear 0s;}
.reg_table td input[type="text"]:focus, .reg_table td input[type="password"]:focus {box-shadow:0px 0px 15px #fff;}
.reg_table td img {float:left; display:block; width:66px; height:22px; margin:0px 15px 0px 0px;}
.reg_table td input.captcha_input {width:219px;}
.errors_block {color:red; font-size:12px; margin:10px 0px;}
.login_block {display: inline-block; font-size:12px; color:#fff;}
.login_block a:hover {color: #000;}
.search {    position: absolute;
    text-align: right;
    right: 80px;
    top: 25px;}

/* Player */
.buttons_player {background-image:url(/images/player.png); background-repeat:no-repeat; width:26px; height:26px; position:absolute; top:16px; display:block;}
.buttons_player.button_play {background-position:0px 0px; left:0px;}
.buttons_player.button_play.no_active {background-position:0px -26px;}
.buttons_player.button_pause {background-position:-26px 0px; left:35px;}
.buttons_player.button_pause.no_active {background-position:-26px -26px;}


/* Header */
.header {width:100%; height:144px; position:relative;z-index: 99999; background: #ffffff;}
.header_top {height:15px; position:relative;z-index: 999;}
.header_bottom {position:relative; width:100%; height:143px; overflow:hidden;}
.logo {display: block;
    width: 256px;
    height: 56px;
    position: absolute;
    top: 5px;
    left: 50%;
    margin-left: -130px;}
.logo a {outline:none;}
.logo img {width:100%;}


/* Update 07.04.2014 unfriend ITSoft -- search form in header */
.search-form,
.search-form input { outline: none; }
.search-form {position: relative; }
.search-form__submit {  width: 50%;
    height: 37px;
    z-index: 0;
    cursor: pointer;
    margin-top: 10px;
    background: #444444;
    border: 0;
    color: #fff;
    font-family: Roboto;
    font-size: 14px; }
.search-form__input {font-family: 'Roboto';
    font-size: 16px;
    background: transparent;
    width: 100%;
    position: relative;
    z-index: 1;
    border: 1px solid #cccccc;
    height: 45px;
    padding: 0 10px;
    box-sizing: border-box; }
.search-form__input::-webkit-input-placeholder { color: #000; }
.search-form__input:-moz-placeholder { color: #000; }
.search-form__input::-moz-placeholder { color: #000; }
.search-form__input:-ms-input-placeholder { color: #000; }
.search-content:before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    position: absolute;
    top: -4px;
    right: 25px;
    background: #c2c2c2;
}
.fotorama__wrap{
    margin: 0 auto;
    width: 100%;
}
.footer-phone{
    font-size: 20px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 10px;

        }
div#socseti {
    text-align: center;
}

.counter {
    border: 1px solid #c2c2c2;
    padding: 20px;
    width: 160px;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    font-weight: 300;
    margin: 0 0 25px;
    /* display: inline-block; */
    float: right;
}
span.count {
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #222222;
    padding: 7px;
    margin: 10px 0 5px;
}
span.number {
    border: 1px solid #c2c2c2;
    padding: 0 3px;
    border-radius: 3px;
}
span.number.last {
    border-right: 3px solid #e02b2b;
}

.catalog-items {
    display: flex;
    flex-wrap: wrap;
    /* align-items: center; */
    justify-content: space-between;
    margin-top: 25px;
    clear: both;
}
.catalog-item {
    flex-basis: 20%;
    text-align: center;
    border: 1px solid #ccc;
    padding: 25px 0 25px;
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 55px;
}
.catalog-item span.tel {
    width: 100%;
    display: block;
    padding: 0 10px;
    box-sizing: border-box;
}
.catalog-price {
    font-size: 18px;
    font-weight: 500;
    margin: 10px 0 0;
}
span.catalog-currency {
    font-size: 12px;
    font-weight: 300;
}
.relative-text {
    display: inline-block;
    width: 70%;
    vertical-align: top;
}
.events {
    display: flex;
    flex-wrap: wrap;
    /* align-items: center; */
    justify-content: space-between;
    margin-top: 25px;
    clear: both;
}
.events-item{
    flex-basis: 20%;
    text-align: center;
    border: 1px solid #ccc;
    padding: 25px;
    font-size: 17px;
    font-weight: 300;
    margin-bottom: 55px;
    line-height: 25px;
}
.events-item a.name {
    margin-top: 10px;
    display: block;
}
#menu_catalogue {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    margin: 20px 0;
}
#menu_catalogue li{
    width: 196px;
    height: 66px;
    display: block;
    line-height: 21px;
    outline: 1px solid #222222;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 4px;
    padding: 15px 0;

 }
#menu_catalogue li:hover{
    background: #CCCCCC;
    color: #333333;
}
#menu_catalogue li a{
    display: block;
    height: 100%;
    width: 100%;
}

.reviews {
    margin-top: 20px;
}
.review {
    padding: 0 50px;
    position: relative;
    margin-bottom: 20px;
}
.review .number {
    position: absolute;
    left: 0;
    top: 10px;
    border: 1px solid #aaaaaa;
    width: 30px;
    height: 30px;
    border-radius: 40px;
    text-align: center;
    line-height: 30px;
    color: #aaaaaa;
}
.review .name {
    margin: 5px 0 15px 10px;
    font-size: 14px;
    display: inline-block;
}
.review .link {
    display: inline-block;
}
.review .link a {
    color: #aaa;
    margin-top: 3px;
    font-size: 13px;
}
.review .text {
    padding: 15px;
    background: #eee;
    border-radius: 4px;
}
.review .text:after{
    position: absolute;
}
.persons {
    text-align: center;
    margin: 20px 0;
}
.person {
    display: inline-block;
    width: 180px;
    vertical-align: top;
}
.person-img {
    overflow: hidden;
    border: 1px solid #aaa;
    border-radius: 135px;
    width: 135px;
    height: 135px;
    margin: 0 auto;
}
.person-name {
    margin: 15px 0 5px;
}
.person-status {
    font-weight: 300;
}
.center{
    text-align: center;

}
.managers{
    font-size: 18px;
    line-height: 35px;
    font-weight: 300;
}
.map{
    width: 100%;
    height: 450px;
    margin: 20px 0;
}
.catalog-old-price {
    margin-top: 5px;
    position: relative;
    font-size: 15px;
    color: #333333;

}
.catalog-old-price:after {
    content: '';
    position: absolute;
    top: 7px;
    left: 33%;
    transform: rotate(-12deg);
    -webkit-transform: rotate(-12deg);
    -o-transform: rotate(-12deg);
    -ms-transform: rotate(-12deg);
    border-top: 2px solid #b81900;
    width: 34%;
}
.subtitle {
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    margin-top: 20px;
}
.subdescription {
    font-size: 15px;
    color: #777;
    font-style: italic;
    margin-bottom: 10px;
}
.delivery-text {
    line-height: 18px;
    /* margin-bottom: 10px; */
}
#content .delivery-text p{

     margin-bottom: 10px;
}
.review-form{
    margin: 10px 0;
    padding: 25px;
    background: #CCCCCC;
}
table#book_table {
    width: 100%;
}
table#book_table td {
    padding-bottom: 10px;
}
textarea#book_textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    box-sizing: border-box;
}
.cart_item{
    margin-bottom: 10px;
}
.cart-image {
    display: inline-block;
    width: 100px;
    text-align: center;
    border: 1px solid #ccc;
    margin-right: 10px;
}
.cart-image img{
    height: 100px;
}
.cart-description {
     display: inline-block;
    vertical-align: top;
 }
.cart-quontity {
    display: inline-block;
    vertical-align: top;
    padding: 18px 0;
    font-size: 11px;
}
.cart-quontity input{
    text-align: center;
}
.cart-info {
    display: inline-block;
    vertical-align: top;
    width: 400px;
}
.cart-price {
    display: inline-block;
    vertical-align: top;
    padding: 20px 40px;
    font-size: 17px;
    text-align: center;
}
.cart-name {
    font-size: 16px;
    font-weight: 300;
    padding: 10px 0;
}
.cart-delete {
    text-align: center;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    transition: background 0.3s ease-in-out;
    cursor: pointer;
}
.cart-delete:hover {

    background: #555;
}
.cart-summ-2 {
    display: inline-block;
    vertical-align: top;
    padding: 21px 0 0 20px;
    font-size: 19px;
    text-align: right;
    width: 120px;
    font-weight: 400;
}
span.cart-currency {
    font-size: 12px;


}

.cart-final, .cart-discount, .cart-final-discount {
    padding: 20px;
}
.cart-final-text {
    display: inline-block;
    text-align: right;
    font-size: 20px;
    width: 80%;
    box-sizing: border-box;
    outline: 0;
}
.cart-final-summ, .cart-discount-summ, .cart-final-summ-discount {
    font-size: 20px;
    display: inline-block;
    text-align: center;
    width: 19%;
    box-sizing: border-box;
    /* outline: 0; */
}

.cart-discount, .cart-final-discount{
    display: none;
}

form#sendme td{
    height: 30px;
}
form#sendme input[type="text"]{
    height: 25px;
    padding: 1px 10px;
    box-sizing: border-box;
}
span.curpage {
    font-size: 16px;
    margin: 0 4px;
    background: #333;
    width: 25px;
    display: inline-block;
    height: 25px;
    text-align: center;
    color: #fff;
    border-radius: 25px;
    vertical-align: middle;
    line-height: 25px;
}
@media only screen and (max-device-width: 420px) {
    .wrapper{width:100%;}
    #content{
        padding: 20px;
    }
    .header{
        margin-top: 50px;
        height: 194px;
    }
    .header_top{
        height: 65px;
    }
    #menu ul{
        border-bottom: 1px solid #222;
    }
    .catalog-item{
        flex-basis: 47%;
        margin-bottom: 18px;
    }
    #footer .left{
        display: inline-block;
        padding: 20px;
        text-align: center;
        flex-basis: 100%;
    }
    .mainpage-custom-img .right-box{
        width: 100%;
    }
    .fotorama{
        height: auto;
    }
    .mainpage-custom-img-img{
        width: 100%;
    }
    .mainpage-custom-img{
        padding: 0 20px ;
    }
    .gallery img{
        max-width: 100%;
        height: auto;
    }
    #menu_catalogue li{
        width: 45%;


    }
    img {
        max-width: 100%;
        height: auto;
    }
    .cart-info {
        width: 180px;
    }
    .cart-image {
        width: 60px;
    }
    .cart-price {
        padding: 20px 0px;
    }
    .cart-summ-2 {
        padding: 21px 0 0 0px;
        width: 100px;
    }
    .cart-final-text {
        width: 48%;
    }
    .cart-final-summ, .cart-discount-summ, .cart-final-summ-discount
    {
        width: 49%;
    }
    .cart-final, .cart-discount, .cart-final-discount{
        padding: 20px 0;
    }
    .cart-final-text{
        font-size: 16px;
    }
}
