.gallerea{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.gallerea> div{
    width: 25%;
    cursor: pointer;
}

/* картинка на странице */
.minimized {
    width: 250px;
    cursor: pointer;
    border: 1px solid #FFF;
}
.minimized:hover {
    border: 1px solid #b7002c;
}
/* увеличенная картинка */
#magnify {
    display: none;
    /* position: absolute; upd: 24.10.2016 */
    position: fixed;
    max-width: 600px;
    height: auto;
    z-index: 9999;
}
#magnify img {
    width: 100%;
}
/* затемняющий фон */
#overlay {
    display: none;
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.5;
    z-index: 9990;
}
/* кнопка закрытия */
#close-popup {
    width: 30px;
    height: 30px;
    background: #FFFFFF;
    border: 1px solid #AFAFAF;
    border-radius: 15px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}
#close-popup i {
    width: 30px;
    height: 30px;
    background: url(../images/cross.png) no-repeat center center;
    background-size: 16px 16px;
    display: block;
}
@keyframes rota {
    25% { transform: rotate(360deg); }
}
#close-popup:hover {
    animation: rota 4s infinite normal;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}
.photo {
    width: 200px;
}
@media(max-width: 1200px){

    .gallerea> div {
        width: 31%;
        cursor: pointer;
        text-align: center;
    }
    .minimized {
        width: 220px;
    }
}

    @media(min-width: 768px){

    .heder-mob{
        display: none;
    }
    .akciya .action{
        left: 172px;
    }

}
@media(max-width: 960px){
    .gallerea> div {
        width: 31%;
        cursor: pointer;
        text-align: center;
    }
}
@media(max-width: 768px){

    .heder-mob{
        display: block;
        margin-top: 28px;
    }
    #promo{
        background: url(../images/tab.jpg) top center no-repeat;
    }
    #skidka .title-block {
        width: 450px;
        margin: 0 auto;
    }
    #skidka .title-block {
        font-size: 35px;
        line-height: 41px;
        padding-top: 40px;
    }
    .gallerea> div {
        width: 34%;
        cursor: pointer;
        text-align: center;
    }
}
@media(max-width: 600px){
    .gallerea> div {
        width: 100%;
        cursor: pointer;
        text-align: center;
    }
}
@media(max-width: 450px){
    #skidka .title-block {
        width: 300px;
        margin: 0 auto;
    }

}

.com{
    font-size: 20px;
    padding: 5px 2px;
    line-height: 22px;
}
.form-control{

    width: 100%;
    height: 50px;
    border: none;
    color: #000;
    font-size: 15px;
    display: inline-block;
    vertical-align: top;
    margin: 0 auto;
    margin: 0px 0px 0px 0px;
    margin-top: 10px;
    padding: 0px 25px 0px 25px;
    outline: none;
    position: relative;
    z-index: 1;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
    text-align: left;
    font-family: Fregat;
    background-color: #f6f6f6;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
}