@font-face {
  font-family: 'fontello';
  src: url('font/fontello.eot?31919061');
  src: url('font/fontello.eot?31919061#iefix') format('embedded-opentype'),
  url('font/fontello.woff?31919061') format('woff'),
  url('font/fontello.ttf?31919061') format('truetype'),
  url('font/fontello.svg?31919061#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}

.header_contacts {
	display: flex;
	flex-direction: column;
}

.header_contacts .phone_link {
	margin-right: 20px;
}

.header_contacts .mail_link a {
	display: block;
	font-size: 18px;
	padding: 10px 0 0 0;
	width: 180px;
}

#footer-table .social_links_wrap {
	display: flex;
	flex-direction: column;
}

#footer-table .social_links_wrap .social_link_item {
	display: flex;
	flex-direction: row;
}

#footer-table .social_links_wrap .social_link_item .link_item_name {
	line-height: 1;
	display: flex;
    flex-direction: row;
    align-items: center;
}

#footer-table .social_links_wrap .social_link_item .contact__info {
	margin-left: 10px;
}


/*  ONE CLICK BUY  */

.prod_btns_wrap {
	display: flex;
	flex-direction: row;
	margin-top:10px
}

.prod_btns_wrap .oneclickbuy {
	background: none;
	border:2px solid #79A245;
	box-sizing: border-box;
	line-height: 1;
	font-size: 14px;
	color: #79A245;
	font-family: Trebuchet MS;
	margin-right: 8px;
	cursor: pointer;
	flex-grow: 1;
	max-width: 144px;
}

.prod_btns_wrap .oneclickbuy:hover {
	background: linear-gradient(0deg, rgba(105,151,52,1) 0%, rgba(134,177,76,1) 2%, rgba(117,162,62,1) 25%, rgba(134,177,76,1) 49%, rgba(161,199,108,1) 51%, rgba(172,206,121,1) 75%, rgba(177,209,128,1) 100%);
	color: #fff;
	border: none;
}

.prod_btns_wrap .oneclickbuy:visited,
.prod_btns_wrap .oneclickbuy:active,
.prod_btns_wrap .oneclickbuy:focus {
	outline: none;
}

#request-cart-modal {
	margin:0;
	padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    width: 400px;
    height: auto;
    background: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    box-sizing: border-box;
}

#request-cart-modal h1 {
	font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 32px;
    text-rendering: optimizelegibility;
    font-weight: normal;
}

#request-cart-modal .form-horizontal .control-group {
	margin-bottom: 18px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	box-sizing: border-box;
}

#request-cart-modal .form-horizontal .control-group:before, #request-cart-modal .form-horizontal .control-group:after {
    content: '\0020';
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

#request-cart-modal .form-horizontal .control-label {
	width: 115px;
	line-height: 1;
	display: flex;
	flex-direction: row;
	align-items: center;
}

#request-cart-modal label span.required {
	color: #c21e1e;
	margin-left: 4px;
}

#request-cart-modal .form-horizontal .controls {
	box-sizing: border-box;
	flex-grow: 1;
}

#request-cart-modal input[type="text"] {
    border: 1px solid #e4e4e4;
    font-size: 14px;
    line-height: 16px;
    padding: 12px;
    box-sizing: border-box;
    width: 100%;
}

#request-cart-modal input, #request-cart-modal textarea {
	outline: none;
}

#request-cart-modal textarea {
    width: 100%;
    height: 100%;
    border: 1px solid #e4e4e4;
    font-size: 14px;
    line-height: 16px;
    padding: 12px;
    resize: none;
    box-sizing: border-box;
}


#request-cart-modal .check_agreement {
	display: inline;
}

#request-cart-modal .form-actions {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

#request-cart-modal .form-actions .input-submit {
    color: #fff;
    position: relative;
    display: block;
    font-size: 16px;
    font-weight: bold;
    text-transform: none;
    padding: 10px 30px;
    padding-right: 45px;
    margin: 0;
    margin-top: 25px;
    border: none;
    background: rgb(105,151,52);
    background: linear-gradient(0deg, rgba(105,151,52,1) 0%, rgba(134,177,76,1) 2%, rgba(117,162,62,1) 25%, rgba(134,177,76,1) 49%, rgba(161,199,108,1) 51%, rgba(172,206,121,1) 75%, rgba(177,209,128,1) 100%);
    cursor: pointer;
    -webkit-appearance: button;
    box-sizing: border-box;
    outline: none;
}

#request-cart-modal .form-actions .input-submit:before, #request-cart-modal .form-actions .input-submit:after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    right: -20px;
    height: 20px;
    background-color: #fff;
    width: 30px;
}

#request-cart-modal .form-actions .input-submit:before {
    transform: skew(45deg, 0deg);
    top: 0;
}

#request-cart-modal .form-actions .input-submit:after {
    transform: skew(-45deg, 0deg);
    bottom: 0;
}

#request-cart-modal .form-actions .input-submit:hover {
    background: rgb(159,48,41);
    background: linear-gradient(0deg, rgba(159,48,41,1) 0%, rgba(179,73,65,1) 2%, rgba(174,66,58,1) 25%, rgba(179,73,65,1) 49%, rgba(197,102,93,1) 51%, rgba(202,112,104,1) 75%, rgba(207,122,114,1) 100%);
}

/*  ONE CLICK BUY END */

@media screen and (max-width: 995px) {
	.header_contacts div#phone {
		margin-bottom: 0px;
	}
}

@media screen and (max-width: 768px) {
	#footer-table .social_links_wrap .social_link_item {
		justify-content: center;
	}
}

@media screen and (max-width: 751px) {
	.header_contacts .mail_link a {
	    padding: 0;
	    margin-bottom: 15px;
	    text-align: center;
	    width: 100%;
	}
	.header_contacts div#phone {
		margin-bottom: 15px;
	}
}

@media screen and (max-width: 540px) {
	.header_contacts div#phone {
		width: unset; 
		flex-direction: row; 
	}

	.header_contacts .phone_link {
		margin-right: 10px;
	}

	#request-cart-modal .form-horizontal .control-label {
		margin-bottom: 0;
	}
}

@media screen and (max-width: 420px) {
	#request-cart-modal {
		width: 97%;
		padding: 20px; 
	}

	#request-cart-modal .form-horizontal .control-group {
		margin-bottom: 10px;
	}

	#request-cart-modal .form-horizontal .control-group:last-child {
		margin-bottom: 20px;
	}

	#request-cart-modal input[type="text"],#request-cart-modal textarea {
		width: 100%;
	}

	#request-cart-modal .form-horizontal .control-label {
		width: 135px;
	}

	#request-cart-modal input[type="text"] {
		padding: 11px;
	}
}

@media screen and (max-width: 376px) {
	#request-cart-modal h1 {
		font-size: 18px;
	}
}

@media screen and (max-width: 321px) {
	#request-cart-modal h1 {
		font-size: 16px;
		margin-bottom: 25px;
	}
}