@import url('https://fonts.googleapis.com/css?family=Roboto:400');

* {
    margin: 0;
    padding: 0;
}

input, textarea, select {
    outline: none;
}

ul li { list-style: none; }

body {
    background-color: #fafafa;
    color: #273d36;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-size: 1em;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: #273d36;
}

p {
	padding-bottom: 5px;
}

input[name="name_feedback"], [name="comment"], [name="number_feedback"] {
    width: 258px;
    -webkit-appearance: none;
}

.h_logo, .product, .m_phone_l { float: left; }
.h_contacts { float: right; }
.header_nav, .h_title, .img_preview p { text-align: center;}
#m_header, .m_phone_l, .m_map, .popup_window, .lines-button { display: none; }

#wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/*     [HEADER START]     */

.header_nav {
    height: 35px;
    padding-top: 12px;
}

.header_nav ul {
    list-style: none;
}

.header_nav ul li {
    display: inline;
    margin: 0 22px;
}

.header_nav ul li a {
    text-decoration: none;
    color: #243e35;
    font-size: 1.4375em;
}

.header_content {
    height: 166px;
    background-image: url(../img/forest.jpg);
    background-position: left bottom;
    background-repeat: repeat-x;
}

.h_logo { width: 19.5%; }

.h_contacts {
    margin-top: 40px;
}

.h_title {
    width: 64.2%;
    margin: 0 auto;
    padding: 30px 0 30px 0;
    line-height: 0.9em;
    font-size: 50px;
    color: #0d4535;
}

.phone:before {
    content:url('../img/phone.jpg');
    vertical-align: middle;
    margin-right: 10px;
}

.mts:before {
    content:url('../img/mts.jpg');
    vertical-align: middle;
    margin-right: 10px;
}

.velcom:before {
    content:url('../img/velcom.jpg');
    vertical-align: middle;
    margin-right: 10px;
}

/*     [HEADER END]     */
/*     [CONTENT START]     */

#content { 
    width: 100%;
    position: relative;
}

.s_map {
    height: 15px;
}

.left_nav {
    width: 23%;
    display: inline-block;
    vertical-align: top;
}

.left_ad {
    width: 186px;
    padding: 3px;
    margin-top: 10px;
    margin-bottom: 25px;
    border: solid 1px #d7e1de;
}

.search {
    width: 210px;
    background-color: #fff;
    border: 1px solid #B7CAC4;
    margin-bottom: 20px;
}

.search_icon { margin: 0 auto; }

input { outline: none; }

input[name="left_search"] {
    width: 80%;
    height: 25px;
    border: none;
    color: #273d36;
    -webkit-appearance: none;
}

input[name="search_input"] {
    width: 16%;
    height: 25px;
    vertical-align: middle;
    background: url(../img/search.jpg) no-repeat 50% 50%;
    background-color: #fff;
    border: none;
    cursor: pointer;
}

.popup_window input[type="submit"], [type="reset"] {
    margin-right: 20px;
    background-color: #fff;
    -webkit-appearance: none;
}


.l_nav { width: 192px; }

.l_nav li a {
    font-size: 1.25em;
    color: #0e4436;
    text-decoration: none;
    list-style: none;
}
.l_nav ul a {
    font-size: 1.125em;
    text-decoration: none;
    list-style: none;
}

.pointer { 
	cursor: pointer;
	font-weight: bold;  
}

.return_phone { 
	margin-top: 20px; 
}

.right_cont {
    width: 74%;
    display: inline-block;
    padding: 1.5%;
    background-color: #fff;
}

.img_text {
    padding-top: 20px;
}

.img_text p {
    min-height: 190px;
}

IMG.l_img {
    float: left;
    padding-right: 10px;
    width: 300px;
   }

IMG.r_img {
    float: right;
    padding-left: 10px;
    width: 300px;
   }

.img_t {
    width: 400px;
    height: 300px;
    display: block;
}

.product {
    width: 236px;
    height: 300px;
    padding-right: 15px;
}

.img_prod {
    width: 100%;
	height: 200px;
	object-fit: cover;
}

.title_content {
    height: 35px;
}

.title_page
{
	margin-bottom: 20px;
	text-align: center;
	font-size: 1.3em;
}

.container { display: table; }

.row { display: table-row; }
.row div { display: table-cell; }

.name { 
    display: table-cell;
    width: 35%;
}

.description { 
    /*width: 100%;*/
    padding-left: 10px;
}

.map, .m_map { margin: 20px 0; }

.preview_desc { 
    margin-top: 16px;
}

.img_preview {
    width: 210px;
    height: 280px;
    position: relative;
    display: inline-block;
}

.img-preview {
    width: 100%;
    height: 252px;
    object-fit: cover;
}

.title_preview {
    width: 450px;
    height: 279px;
    position: relative;
    margin-left: 25px;
    vertical-align: top;
    top: 0;
    display: inline-block;
}

.price_content {
    font-size: 1.25em;
    font-weight: bold;
}

.name_t_preview {
    font-size: 1.5625em;
    padding-bottom: 10px;
}

.stock_preview { padding-bottom: 10px; }

.title_preview .imgs
{
	position: absolute;
	bottom: 26px;
	left: 0;
}

/*     [IMAGE PREVIEW START]       */

.popup_img_close {
    position: relative;
    margin: 0 auto;
    z-index: 2;
    max-height: 94%;
    max-width: 94%;
    margin-top: 4%;
    }
.close_img {
    position: absolute;
    top: 0;
    z-index: 2;
    padding: 5px 10px;
    background-color: #fff;
    border-radius: 0 19px 19px 0;
    cursor: pointer;
    }
.image {
    float:left;
    cursor:pointer;
    object-fit: cover;
    width: 90px;
    height: 100px;
    margin-right: 5px;
}

.main_image {
    float:left;
    cursor:pointer;
    max-height:252px;
}

.popups {
    position: fixed;
    height:100%;
    width:100%;
    top:0;
    left:0;
    display:none;
    text-align:center;
}

.popup_bg {
    background:rgba(0,0,0,0.4);
    position:fixed;
    z-index:1;
    height:100%;
    width:100%;
}


.popup_img {
    position: relative;
    margin:0 auto;
    z-index:2;
    max-height:94%;
    max-width:94%;
}

.partners .partner {
    margin-bottom: 15px;
}

.partners .partner h3 {
    margin-bottom: 15px;
}

.partners .partner .name {
    width: 25%;
    padding: 5px 0;
}

.partners .partner .description {
    padding: 5px 0px 5px 10px;
}

/*     [IMAGE PREVIEW END]       */

/*     [CONTENT END]     */
/*     [FEEDBACK START]   */

.popup_window .name {
    vertical-align: top;
    width: 175px;
}

.popup_window input, textarea {
    padding: 6px;
    border-radius: 5px;
    border: 1px solid #B7CAC4;
    -webkit-appearance: none;
}

.popup_window form{
    margin: 2% 10%;
    -webkit-appearance: none;
}

.popup_window h2{
    text-align: center;
}

.popup_window {
    width: 620px;
    height: 300px;
    border-radius: 5px;
    background: #fff;
    position: fixed;
    left: 50%;
    margin-top: -150px;
    margin-left: -310px;
    z-index: 5;
    padding: 20px 10px;
}

.popup_window .popup_close {
    width: 21px;
    height: 21px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    display: block;
}

.close_close {
    width: 21px;
    height: 21px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    display: block;    
}

.overlay {
    z-index: 3;
    position: fixed;
    background-color: #B3B3B3;
    opacity: 0.8;
    -moz-opacity: 0.8;
    filter: alpha(opacity=80);
    width: 100%; 
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    display: none;
}

.popup_button {
    width: 100%;
    text-align: center;
    background-color: #fff;
}

/*     [FEEDBACK END]     */
/*     [FOOTER START]     */

#footer {
    text-align: center;
    padding: 20px 0 0 0;
    background-image: url(../img/forest.jpg);
    background-position: left top;
    background-repeat: repeat-x;
    background-color: #72AD41;
    color: #fff;
}

#footer a {
    color: #fff;
    text-decoration: underline;
}

#footer a:hover {
    color: #fff;
    text-decoration: none;
}
/*     [FOOTER END]     */
/*     [MEDIA START]    */
@media only screen and (min-width: 1040px){

    .product:nth-child(3n) {
    padding-right: 0;
}
    
}
@media only screen and (max-width: 1040px){

	#content {
		width: 96%;
		margin: 0 2%;
	}
    .header_nav ul li { margin: 0 1.5%; }
    
    .h_title {
        width: 58.5%;
        font-size: 40px;
    }

    .search { width: 200px; }

    .right_cont {
        width: 70%;
        margin-left: 4%;
    }

    .h_contacts { width: 22%; }

    .img_preview {
        display: block;
        margin: 0 auto;
    }

    .title_preview {
        height: auto;
        width: auto;
        text-align: center;
        display: block;
        font-size: 1.25em;

    }
    
    .title_preview .imgs {
		display: none;    
    }

    .name_t_preview {
        font-size: 1.5625em;
        padding-bottom: 20px;
    }

    .stock_preview { padding-bottom: 20px; } 
    .name { width: 25%; }
    .img_text p { min-height: 230px; }
    .product:nth-child(2n) { padding-right: 0; }

    .product {
        width: 49%;
        height: 300px;
        padding-right: 2%;
    }
}
    
@media only screen and (max-width: 875px){

    .header_nav ul li { margin: 0 0.6%; }
    .preview_desc { padding: 10px; }

    .img_preview {
        width: 100%;
        display: block;
        margin: 0 auto;
    }

    .title_preview {
        height: auto;
        text-align: center;
        margin: 25px auto;
        display: block;
        font-size: 1.25em;

    }

    .name_t_preview { padding-bottom: 20px; }
    .stock_preview { padding-bottom: 20px; } 
    .name { width: 30%; }

    .h_title {
        width: 56.5%;
        font-size: 35px;
    }
    
    .h_contacts { width: 24%; }  

}

@media only screen and (max-width: 775px){
    
    body { font-size: 16px; }

    #m_header, .m_phone_l, .header_nav, .header_nav ul li, .left_nav, .m_map, .lines-button { display: block; }
    .line, .h_logo, .h_contacts, .l_contacts, .h_logo, .h_contacts, .s_map, .left_ad, .mobile-hidden, .img_about_us, .img_text, .map, .header_nav { display: none; }

	.right_cont {
	    margin-left: 0;
	}
    
    .header_nav ul li { margin: 0 3px; }

    #m_header { 
        height: 50px;
        border-bottom: 1px solid #DFE2E1;
    }

    .header_content {
        height: 100%;
    }
    
    .lines-button {
        position: absolute;
        top: -2px;
        right: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
        width: 74px;
        height: 46px;
        font-size: 0;
        text-indent: -9999px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        box-shadow: none;
        border-radius: none;
        border: none;
        cursor: pointer;
        -webkit-transition: background 0.3s;
        transition: background 0.3s;
        z-index: 1001;
    }
    .lines-button:focus {
        outline: none;
    }
    .lines-button span {
        display: block;
        position: absolute;
        left: 18px;
        right: 18px;
        height: 8px;
        background: #273d36;
        border-radius: 0.57143rem;
    }
    .lines-button span::before, .lines-button span::after {
        position: absolute;
        display: block;
        left: 0;
        width: 100%;
        height: 8px;
        background-color: #273d36;
        border-radius: 0.57143rem;
        content:"";
    }
    .lines-button span::before {
        top: -15px;
    }
    .lines-button span::after {
        bottom: -15px;
    }
    .lines {
        background: none;
    }
    .lines span {
        -webkit-transition: background 0s 0.3s;
        transition: background 0s 0.3s;
    }
    .lines span::before, .lines span::after {
        -webkit-transition-duration: 0.3s, 0.3s;
        transition-duration: 0.3s, 0.3s;
        -webkit-transition-delay: 0.3s, 0s;
        transition-delay: 0.3s, 0s;
    }
    .lines span::before {
        -webkit-transition-property: top, -webkit-transform;
        transition-property: top, transform;
    }
    .lines span::after {
        -webkit-transition-property: bottom, -webkit-transform;
        transition-property: bottom, transform;
    }
    .lines.close {
        background: none;
    }
    .lines.close span {
        background: none;
    }
    .lines.close span::before {
        top: 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .lines.close span::after {
        bottom: 0;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    .lines.close span::before, .lines.close span::after {
        -webkit-transition-delay: 0s, 0.3s;
        transition-delay: 0s, 0.3s;
    }
    
    .m_phone_l { margin: 15px 0px 0px 10px; }
    
    .header_nav {
        width: 100%;
        height: 100%;
        position: fixed;
        left: 0;
        top: -10px;
        z-index: 5;
        background: #fff;
    }

    .header_nav ul {
        margin-top: 50px;
    }

    .header_nav ul li { 
        margin-top: 20px;
    }

    .header_nav ul li a { 
        font-size: 2em;
    }
    
    .h_title {
        width: 100%;
        margin: 0 auto;
        font-size: 1.875em;
    }
    
    .left_nav {
        width: 97%;
        margin: 0 auto;
    }
    
    .search {
        width: 290px;
        margin: 20px auto;
    }
    
    .m_search_icon { margin: 0 auto; }
    
    input[name="left_search"] {
        width: 250px;
        height: 35px;
        box-shadow: none;
        font-size: 16px;
        color: #677B75;
        -webkit-appearance: none;
    }
    
    input[name="search_input"] { width: 27px; }
    
    .left_navigation { margin-bottom: 0; }
    
    .l_nav {
        width: auto;
        margin: 0 auto;
        text-align: center;
    }

    .return_phone {
        display: block;
        margin: 15px auto;
    }
    
    .right_cont {
        width: 100%;
        display: inline-block;
        padding: 10px 0 20px 0;
    }
    
    .product {
        width: 100%;
        float: none;
        text-align: center;
        margin: 0 auto;
    }
    
    .title_content { height: auto; }
    
    .icon_menu { cursor: pointer; }
    
    .pointer { cursor: pointer; }
    
    .contacts, .about_us { padding: 0px 10px; }

    IMG.l_img {
    width: 100%;
    padding: 10px 0;
   }

    IMG.r_img {
    width: 100%;
    padding: 10px 0;
   }
    
    .name { width: 40%; }

    .description { width: 100%; margin: 5px 0 10px 0; }
    
    .preview_desc { padding: 10px; }

    .img_preview {
        display: block;
        margin: 0 auto;
    }

    .title_preview { margin: 25px auto; }

    .m_img {
        text-align: center;
    }

    IMG.l_img { float: none; }
    IMG.r_img { float: none; }

    input[name="name_feedback"], [name="comment"] {
        width: 100%;
    }

    input[name="number_feedback"] {
        width: 100%;
    }

    .popup_window {
        width: 95%;
        height: auto;
        top: 130px;
        left: 1%;
        margin: 0;
    }

    .fixed {
        position:fixed;
        overflow: hidden;
    }
}

@media only screen and (max-width: 350px){
    .row { display: block; }

    .name { 
        display: block;
        width: 100%;
        font-weight: bold;
    }

    .description { 
        width: 100%;
        padding-left: 0;
    }

    .popup_window {
        width: 92%;
        height: auto;
        top: 100px;
        left: 1%;
        margin: 0;
    }

}

/*     [MEDIA END]    */
