
*{
	margin: 0;
	color: #4d4d4d;
	font-family: 'Lato', sans-serif;
	transition: 0.3s;
}

a {
	text-decoration: none;
}

h1 {
	text-align: center;
	color: #a67c52;
	font-weight: 300;
	font-family: Roboto;
	margin-top: 0;
}

body {
	position: relative;
}

.container {
	width: 1080px;
	margin: 0 auto;
	display: flex;
}

.container_404 {
	width: 1080px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
}

section {
	width: 100%;
}

div.line {
	display: flex;
	justify-content: center;
	width: 100%;
	height: 22px;
	background: #fbe8bf;
}

/*section:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 100%;
	bottom: 0;
	background: url(../img/border_back.svg) no-repeat center;
}*/

header {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 73px;
	width: 100%;
	background: url(../img/header_bg.jpg) no-repeat center;
}

header:before {
	position: absolute;
	content: "";
	height: 4px;
	width: 100%;
	bottom: 0;
	background: url(../img/header_bg_bottom.svg) no-repeat center;
}

header .container {
	position: relative;
	justify-content: space-between;
	align-items: center;
	padding: 0 15px;
}

header .container .logo{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 2;
    min-width: 390px;
}

header .container .logo > a img{
	height: 58px;
	margin-top: 7px;
}

header .container .logo > .logo_title , header .container .logo > .logo_title_mob{
	display: inline-block;
	color: #a67c52;
	font-size: 36px;
	font-weight: 900;
	margin: 0 20px;
}

header .container .logo > .logo_title_mob {
	display: none;
	color: #632e13;
}

header .container .header_contacts {
	display: flex;
	font-size: 16px;
	font-weight: 900;
	flex: 3;
}

header .container .header_phones {
	display: flex;
	flex-flow: column;
	padding: 0 15px;
	border-left: solid 1px #4d4d4d;
	border-right: solid 1px #4d4d4d;
}

header .container .work_time {
	display: flex;
	flex-flow: column;
    align-items: center;
    padding: 10px 15px;
}

header .container .menu_button {
	z-index: 9999;
}

header .container .menu_button:hover {
	cursor: pointer;
}

header .container .menu_button > .button{
	background: #a67c52; 
	border-radius: 8px;

}

header .container .menu_button .button > i.fa{
	font-size: 37px;
    padding: 8px 11px;
	color: #fff;	
}

nav.menu {
	position: absolute;
	display: none;
	width: 100%;
	top: 0;
	left: 0;
	background: url(../img/menu_bg.svg) no-repeat #632e13;
	background-position-x: 95%;
    background-position-y: 60%;
    background-size: 13%;
	z-index: 9998;
}

nav.menu ul {
	margin: 0;
    padding: 10px 30px;
    max-width: 860px;
}

nav.menu ul li {
	padding: 7px 0;
	list-style: none;
	transition: 0.3s;
}

nav.menu ul li:first-child {
	margin: 0;
    padding: 10px 30px;
    max-width: 860px;
    border-bottom: solid 1px #f3dfb7;
}

nav.menu ul li:first-child:hover {
	margin: 0;
}

nav.menu ul li:hover {
	margin-left: 15px;
	transition: 0.3s;
	cursor: pointer;
}

nav.menu ul li span.title {
	text-transform: uppercase;
}

nav.menu ul li a {
	font-weight: 100;
}

nav.menu ul li a:first-child, 
nav.menu ul li span.phone {
	font-weight: 400;
}

nav.menu ul li a , nav.menu ul li span.title{
	font-size: 20px;
	color: #f3dfb7;
	text-decoration: none;
}

nav.menu ul li span {
	color: #f3dfb7;
}

nav.menu ul li span.phone {
	padding: 0 15px;
	border-right: solid 1px #f3dfb7;
}

nav.menu ul li span.time {
	padding-left: 15px;
}

nav.menu ul li img {
	width: 15px;
	margin-right: 10px;
}

.phones { display: none; }

/*Section Slider*/

section.slider {
	position: relative;
	display: flex;
	height: 350px;
	width: 100%;
	background: url(../img/section_slider.jpg) no-repeat center;
}

/*Section content 1st*/
section .content {
	width: 100%;
}

section .content .title{
	position: relative;
	display: flex;
	text-align: center;
	margin: 15px 0;
}

section.content_about_coffe {
	position: relative;
	display: flex;
	justify-content: space-between;
	background-size: 100%;
	background: url(../img/section_content1st.jpg) no-repeat center;
}

section.content_about_coffe .content .title h3 , 
section.about_advantage .content .title h3,
section.why_we .content .title h3,
section.history .content .title h3,
section.doc .content .title h3,
section.information .title h3,
section.delivery .content .title h3{
	font-size: 43px;
	font-weight: 300;
	font-family: Roboto;
	color: #a67c52;
	text-transform: uppercase;
	padding: 15px;
	box-sizing: border-box;
}

.title .before, .title .after{
	height: 10px;
    border-bottom: solid 1px #a67c52;
    flex: 1;
    align-self: center;
    margin-bottom: 7px;
}

.item_about_coffe {
	margin-top: 15px;
	margin-bottom: 15px;
}

section.content_about_coffe .productTitle{
	position: relative;
	text-align: center;
	color: #4d4d4d;
	padding: 5px 0;
}

section.content_about_coffe .productTitle:after {
	content: '';
	position: absolute;
	height: 2px;
	width: 33.333%;
	left: 33.333%;
	background: #4d4d4d;
	bottom: 0;
}

section.content_about_coffe .tumbnail {
	position: relative;
	margin-top: 15px;
}

section.content_about_coffe details {
	max-width: 240px;
}


section.content_about_coffe .tumbnail .new{
	position: absolute;
	left: 0;
	top: 0;
}

section.content_about_coffe .tumbnail .new img {
	width: 40px;
	height: 40px;
}

section.content_about_coffe .items_prew {
	display: flex;
	justify-content: space-around;
	flex-flow: row wrap;
	margin: 15px 0;
}

section.content_about_coffe .item_about_coffe_description {
	max-width: 265px;
	text-align: center;
}

section.content_about_coffe .item_about_coffe_description span {
	font-size: 40px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
	color: #873e2d;
	
}

section.content_about_coffe .item_about_coffe_description article {
	font-size: 36px;
	font-weight: 300;
	font-family: 'Roboto', sans-serif;
	color: #873e2d;
}

section.content_about_coffe .button {
	display: flex;
	justify-content: center;
	padding: 5px 10px;
	box-sizing: border-box;
	border-radius: 8px;
	text-align: center;
	margin: 15px 0;
	background: #009245;
    background: -moz-linear-gradient(top, #009245 0%, #006837 100%);
    background: -webkit-linear-gradient(top, #009245 0%,#006837 100%);
    background: linear-gradient(to bottom, #009245 0%,#006837 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009245', endColorstr='#006837',GradientType=0 );
}


section.content_about_coffe .button span {
	font-size: 32px;
	font-weight: 300;
	font-family: 'Roboto', sans-serif;
	color: #fff;
}

section.content_about_coffe .order_now {
	position: relative;
	display: flex;
	justify-content: center;
	flex-flow: column; 
	width: 100%;
	margin: 30px 0;
	padding: 8px;
	box-sizing: border-box;
	border-radius: 16px;
	background: #895f37;
    background: -moz-linear-gradient(top, #895f37 0%, #643c16 100%);
    background: -webkit-linear-gradient(top, #895f37 0%,#643c16 100%);
    background: linear-gradient(to bottom, #895f37 0%,#643c16 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#895f37', endColorstr='#643c16',GradientType=0 ); 
}

section.content_about_coffe .order_now:before {
	position: absolute;
	content: "";
	width: 100%;
	height: 23px;
	left: 0;
	top: -18px;
	background: url(../img/btn_trinagle.svg) no-repeat center;
}

section.content_about_coffe .order_now .title {
	justify-content: center;
	margin: 0;
}

section.content_about_coffe .item_about_coffe .tumbnail > img {
		width: 100%;
		max-width: 217px;
	}

section.content_about_coffe .order_now .title h2{
	font-size: 35px;
	color: #fff;
	font-weight: 400;
	text-transform: uppercase;
}

section.content_about_coffe .order_now .phones_num{
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    font-size: 16px;
} 

section.content_about_coffe .order_now .phones_num span{
	text-align: center;
	color: #fff;
	padding: 0 7px;
	border-left: solid 1px #fff;
}

section.content_about_coffe .order_now .phones_num span:first-child {
	border-left: none;
}

section.content_about_coffe .gallery_about_coffe {
	display: flex;
	justify-content: space-between;
	margin: 15px 0;
}

section.content_about_coffe .gallery_about_coffe > img {
	flex: 1;
	height: auto;
	padding: 15px;
}



/*Section About Company*/

section.about_company {
	min-height: 650px;
	background: url(../img/about_company.jpg) no-repeat center;
}

section.about_company .item {
	display: flex;
	justify-content: flex-start;
	flex-flow: row wrap;
	flex: 1;
	max-width: 600px;
    padding: 30px 0;
}

section.about_company .item h3 {
	font-size: 43px;
	padding: 15px 0;
}

section.about_company .item h3 , section.about_company .item article p{
	font-weight: 300;
	font-family: 'Roboto', sans-serif;
	color: #fff;
}

section.about_company .item article {
	max-width: 392px;
}

section.about_company .item article p {
	font-size: 14px;
}

/*Section about_advantage*/

section.about_advantage {
	background: url(../img/about_advantege.jpg) no-repeat center #fbe8bf;
}

section.about_advantage .items_prew , section.delivery .items_prew {
	display: flex;
	justify-content: space-between;
	flex-flow: row wrap;
}

section.about_advantage .item_about_advantage , section.delivery .item_delivery{
	display: flex;
	flex-flow: column;
	max-width: 260px;
	margin-bottom: 30px;
	border-radius: 4px;
}

section.about_advantage .item_about_advantage .item_about_advantage_title , section.delivery .item_about_delivery .item_about_delivery_title{
	height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #513946;
}

section.delivery .border {
	margin: 15px;
	border: solid 1px #a67b51;
	border-radius: 4px;
}

section.delivery .item_delivery {
	background: #513946;
}

section.delivery .item_delivery .item_about_delivery_description article {
	padding: 0px 15px 15px 15px;
    font-size: 14px;
    font-weight: 300;
    height: 300px;
    line-height: 1.4;
}

section.delivery .item_delivery .item_about_delivery_description article span p{
	color: #fff;
}

section.about_advantage .item_about_advantage .item_about_about_advantage_description,
section.about_advantage .item_about_advantage .tumbnail{
	background: #f3f0e7;
}

section.about_advantage .item_about_advantage .item_about_advantage_title h4 ,
section.about_advantage .item_about_advantage .item_about_advantage_title span,
section.about_advantage .item_about_advantage .item_about_advantage_title h3{
	color: #fff;
	font-weight: 400;
}

section.about_advantage .item_about_advantage .item_about_advantage_title h4{
	font-size: 20px;
}

section.about_advantage .item_about_advantage .item_about_advantage_title h4 ,
section.about_advantage .item_about_advantage .item_about_advantage_title h3{
	text-align: center; 
	padding: 15px;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}


section.about_advantage .item_about_advantage .item_about_advantage_title h3 {
	font-size: 36px;
}

section.about_advantage .item_about_advantage .tumbnail , section.delivery .item_delivery .tumbnail{
	padding: 15px;
	text-align: center;
}

section.about_advantage .item_about_advantage .item_about_about_advantage_description article {
	padding: 0px 15px 15px 15px;
	font-size: 12px;
	height: 300px;
}

section.about_advantage .item_about_advantage .tumbnail img , section.delivery .item_delivery .tumbnail img{
	width: 96px;
	height: 96px;
}

section.why_we {
	background: url(../img/why_we.jpg) no-repeat center;
}

section.why_we .content .wrap{
	display: flex;
	justify-content: space-between;
	flex-flow: row wrap;
}

/*Table*/

.table_wrap {
	display: flex;
	justify-content: center;
	flex-flow: row wrap;
	flex: 1;
	max-width: 630px;
	overflow: scroll;
}

.table_wrap table tr.header_row {
	text-align: center;
	border-bottom: solid 2px #ffd966; 
}

.table_wrap table tr th > .page .layoutArea .column p {
	padding: 15px 0;
}

.table_wrap table tr.header_row th {
	padding: 15px;
	font-size: 14px;
	font-weight: 400;
	text-align: center;
	border-right: solid 1px #eee;
}

.table_wrap table tr.header_row th:last-child {
	border-right: none;
}

.table_wrap table tr td{
	text-align: left;
	padding: 8px;
	color: #c45911;
	border-bottom: solid 1px #ffd966;
	border-right: solid 1px #ffd966; 
}

.table_wrap table tr td .page .layoutArea .column > p {
	color: #c45911;
}

.table_wrap table tr:nth-child(even) {
	background: #fff2cc;
}

.table_wrap table tr td:last-child {
	border-right: none;
}

/*End table*/

section.why_we .document {
	align-self: center;
	text-align: center;
	flex: 1;
	max-width: 320px;
}

section.why_we .document h3 {
	color: #8c6239;
	padding: 15px;
	font-size: 25px;
	font-weight: 400;
}

section.why_we .document img {
	width: 150px;
}

/*History*/

section.history {
	margin-bottom: 30px;
	background: url(../img/history_bg.jpg) no-repeat center;
}

section.history .items_container, section.information .items_container {
	display: flex;
	justify-content: center;
	flex-flow: row wrap;
}

section.history .item_container, section.information .item_container {
	position: relative;
	display: flex;
	justify-content: space-between;
	flex-flow: row;
	max-width: 50%;
}

section.history .item_text , section.information .item_text {
	display: flex;
	flex-flow: column wrap;
	flex: 2;	
}

section.history .item_text {
	max-width: 260px;
	font-size: 12px;
}

section.history .item_container:nth-child(odd) {
	border-right: solid 2px #3a4751; 
}

section.history .item_container:nth-child(odd):after{
	position: absolute;
	content: "";
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #3a4751;
	right: -12px;
	top: 45%;
}

section.history .item_container:nth-child(even) {
	flex-flow: row-reverse;
	border-left: solid 2px #3a4751; 
}

section.history .item_container:nth-child(even) {
	text-align: right;
}

section.history .item_container .item_title{
	font-size: 27px;
	font-weight: 600;
	color: #8c6239;
	padding: 12px 0px;
}

section.history .item_container .item_tumbnail {
	padding: 30px 50px;
	align-self: center;
}

section.information {
	margin-bottom: 30px;
}

section.information .item_text {
	font-size: 14px;
	max-width: 95%;
}

section.information .item_text h3 {
	font-size: 23px;
	font-weight: 500;
    font-family: Roboto;
    color: #a67c52;
    padding: 15px 0;
}


/*Single Page*/

.container 	.item_page {
	width: 100%;
	margin: 30px 0;
}

/*Custom Gallery**/

.b-link-fade .b-wrapper {
	background: #a67c52!important;
}

/*Footer*/

footer {
	background: url(../img/footer_bg.jpg)  center;
}

footer .contact_info , footer .footer_logo, footer .contact_form {
	display: flex;
	justify-content: flex-start;
	flex-flow: column wrap;
	flex: 1;
}


footer .contact_info , footer .contact_form {
	padding: 15px 30px 0 30px;
}

footer .contact_info .title {
	color: #fff;
	font-size: 22px;
	text-transform: uppercase;
}

footer .contact_info .description {
	color: #fff;
	font-size: 22px;
	font-weight: 100;
	padding: 6px 0;
} 

footer .contact_info .footer_phones .phone , .contact_info .work_time span , .form_title span ,
form label {
	color: #fff;
}

footer .contact_info .footer_phones {
	display: flex;
	flex-flow: column;
	font-size: 28px;
    font-weight: 500;
}
footer .contact_info .work_time  {
 	padding: 5px 0;
    font-size: 19px;
}

footer .footer_logo {
	align-self: center;
}

footer .footer_logo img {
	max-width: 360px;
}

footer .contact_form .form_title h4{
	color: #fff;
	font-size: 20px;
	font-weight: 400;
}

footer .contact_form .form_title span {
	font-size: 12px;
}

footer .contact_form form {
	display: flex;
	flex-flow: column;
}

footer .contact_form form label {
	padding: 7px 0;
}

footer .contact_form form input {
	border-radius: 8px;
	border: solid 1px #534741;
}

footer .contact_form form textarea {
	max-width: 320px;
	height: 50px;
	border-radius: 8px;
	border: solid 1px #534741;
} 

footer .contact_form form input[type='submit'] {
	background: #534741;
	color: #fff;
	width: 150px;
	height: 40px;
	margin: 7px auto;
	font-size: 14px;
}


.copyright {
	width: 100%;
	text-align: center;
	padding-bottom: 15px;
}
.copyright span {
	color: #fff;
	font-size: 20px;
	font-weight: 100;
}

/*404*/
.items.error {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 300px);
    padding: 30px 0;
}

.items.error span {
  font-size: 60px;
}

.items.error p {
  margin: 0;
  font-size: 24px;
}


/*ScrollTop*/
.scrolltop i {
  font-size: 45px;
  position: fixed;
  right: 2%;
  bottom: 2%;
  color: #a67c52;
  cursor: pointer;
  -webkit-transition: opacity 2s;
  -moz-transition: opacity 2s;
  -o-transition: opacity 2s;
  transition: opacity 2s;
}
/*
End*/

a.left.carousel-control.slider i.fa {
	top: 50%!important;
}

.box {
	display: flex;
    justify-content: center;
    flex-flow: row wrap;
    overflow: hidden;
    width: 100%;
    margin-bottom: 15px;
}

.liteBox {
	width: 24%;
	margin: 15px;
}

.liteBox img {
	width: 100%;
	height: 100%;
}

.liteBox img:hover {
	cursor: pointer;
}

.gallery {
	float:left;
	cursor:pointer;
}

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

.popup .fa {

    position: absolute;
    color: #fff;
    top: 10vh;
    right: 2%;
    font-size: 18px;
    background: #111;
    padding: 10px 12px;
    border-radius: 50%;
    z-index: 9;
    cursor: pointer;

}

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


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

/*Modal message*/

.modal {
    display: none;
    width: 100%;
    height: 100%;
    z-index: 9997;
    transition: all 0.6s ease-in 1s;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    top: 0;
    left: 0;
    z-index: -99;
  }

  .modalBackground {

  }

  .modalMessage {
    position: relative;
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: center;
    height: 230px;
    width: 320px;
    margin: 40vh auto;
    opacity: 0.9;
    z-index: 9999;
    text-align: center;
    -webkit-box-shadow: 0px 0px 36px -9px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 36px -9px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 36px -9px rgba(0,0,0,0.75);
    border-radius: 8px;
    background: #a67c52;
  }

  .modalMessage p {
    font-size: 14px;
    color: #fff;
  }

  .modalMessage i.fa-check , .modalMessage i.fa-hourglass-o{
    font-size: 4em;
    padding: 15px;
    color: green;
  }

  .modalMessage i.fa-hourglass-o {
    color: #fff;
  }

  .modalMessage i.fa-exclamation-triangle {
    font-size: 4em;
    padding: 15px;
    color: red;
  }

  .modal.active {
    position: fixed;
    display: block;
    opacity: 1;
    transition: all 0.6s ease-in 1s;
    z-index: 9998;
  }

  .modalMessage.error {
    background: #a67c52;
  }
  
 
@media screen and (max-width: 1069px) {

	.container {
		width: 100%;
	}

	section {
		padding: 0 30px;
	}

	section.slider {
		height: auto;
		padding: 0;
	}

	section.about_advantage .item_about_advantage {
		max-width: 230px;
	}

	section.content_about_coffe .order_now .phones_num span {
		border: none;
	}

	nav.menu ul li span {
		font-size: 12px;
	} 


	section.content_about_coffe .order_now:before , .phones{
		display: none;
	}
}

@media screen and (min-width: 767px) and (max-width: 1023px) {
	header .container .logo{
		flex: 2;
		min-width: auto;
	}

	section.content_about_coffe .items_prew {
		flex-flow: row wrap;
	}

	section.about_company .item {
		flex-flow: column;
	}

	section.content_about_coffe .order_now .title h2 , section.content_about_coffe .item_about_coffe_description span,
	section.about_company .item h3{
		font-size: 18px;
	}

	section.about_advantage .item_about_advantage {
		max-width: 45%;
	}

	section.history .item_container {
		max-width: 100%;
	}

	section.history .item_container:nth-child(odd), section.history .item_container:nth-child(even),
	section.content_about_coffe .order_now .phones_num span:nth-child(3)
	{
		border: none;
	}

	section.history .item_container:nth-child(odd):after {
		display: none;
	}

}

@media screen and (max-width: 766px) {

	header {
		height: auto;
		background: #fbe8bf;
	}

	header:before {
		
		background: #a67c52;

	}

	.container {
		width: 100%;
	}
	
	header .phones {
		font-size: 12px;
    	display: flex;
    	justify-content: space-between;
    	padding: 5px 15px;
	}

	header .container .logo > .logo_title_mob {
		display: block;
	}

	section , section.content_about_coffe .gallery_about_coffe ,footer .container,
	section.why_we .content .wrap, section.history .item_container, section.history .item_container:nth-child(even){
		display: flex;
		flex-flow: column wrap;
		border: none;
		text-align: center;
	}

	section.history .item_container:nth-child(odd), section.history .item_container:nth-child(even),
	section.content_about_coffe .order_now .phones_num span:nth-child(3){
		border: none;
	}

	header .container .logo {
		flex: 1;
	}

	header .container .header_contacts ,section.history .item_container:nth-child(odd):after,
	.menu_contacts .phone, .menu_contacts .time, header .container .logo > .logo_title{
		display: none;
	}

	header .container .logo {
		min-width: auto;
	}

	header .container .logo > .logo_title_mob {
		font-size: 14px;
		font-weight: 400;
		line-height: 1.2;
		align-self: center;
	}

	section {
		padding: 0;
	}
	
	section.slider {
		height: auto;
	}
	
	section.content_about_coffe , section.content_about_coffe .items_prew, section.about_advantage .items_prew,
	section.why_we .content .wrap, section.delivery .items_prew{
		justify-content: center;
	}

	section.content_about_coffe .order_now {
		width: 90%;
		margin: 0 auto;
	}

	section.about_advantage .item_about_advantage , section.delivery .item_delivery{
		max-width: 90%;
	}

	section.content_about_coffe .content .title h3, section.about_advantage .content .title h3, section.why_we .content .title h3, section.history .content .title h3 ,
	section.content_about_coffe .order_now .title h2, section.doc .content .title h3, section.information .title h3{
		font-size: 20px;
	}

	section.information .item_text h3 {
		font-size: 16px;
	}

	section.history .item_container {
		max-width: 100%;
	}

	section.information .item_container {
		max-width: 100%;
		padding: 0 15px;
		text-align: left;
	}

	section.why_we .document {
		margin-bottom: 15px;
	}

	.item_about_coffe , nav.menu ul{
		padding: 15px;
	}

	section.content_about_coffe .order_now .phones_num span ,
	nav.menu ul li a, nav.menu ul li span.title, nav.menu ul li span.phone,
	nav.menu ul li span.time{
		font-size: 14px;
	}

	section.history .item_container , section.about_company .item h3, section.about_company .item article{
		width: 100%;
		padding: 0 15px;
	}

	section.history .item_text , footer .contact_form form textarea{
		max-width: 100%;
	}

	section.about_company .item {
		display: inline-block;
	}

	section.history .item_container .item_title, section.history .item_container:nth-child(even) .item_title,
	section.about_company .item h3{
		text-align: center;
	}

	.table_wrap {
		max-width: 100%;
	}

	section.content_about_coffe .gallery_about_coffe > img {
		margin: 15px 0;
	}

	footer .contact_info, footer .contact_form {
		padding: 15px;
	}
	
	footer .contact_info {
		order: 2;
		text-align: center;
	}

	footer .contact_info .description {
		font-size: 18px;
	}
	
	footer .footer_logo {
		order: 3;
		align-self: auto;
		width: 300px;
    	margin: 0 auto;
    	margin-bottom: 15px;
	}

	section.about_company {
    	background: url(../img/about_company.jpg) no-repeat #1d0d05;
    }

}

@media screen and (max-width: 414px) {
	header .phones {
		font-size: 10px;
	}
}


@media screen and (max-width: 375px) {
	header .phones {
		font-size: 9px;
	}
}

@media screen and (max-width: 374px) {
	header .phones {
		font-size: 8px;
	}
}



/* demo контейнер */
.demo {
	width: 100%;
	padding: 3px 0px;
	margin: 0% 0%;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	text-align: left;
	font-weight: 400;
	line-height: 1.5;
}

/* скрываем чекбоксы и блоки с содержанием */
.hide,
.hide + label ~ div {
	display: none;
}

/* вид текста label */
.hide + label {
	margin: 0;
	padding: 0;
	color: black;
	cursor: pointer;
	display: inline-block;
}

/* вид текста label при активном переключателе */
.hide:checked + label {
	color: #a07c56;
	border-bottom: 0;
}

/* когда чекбокс активен показываем блоки с содержанием  */
.hide:checked + label + div {
	display: block;
	background: #f9e7c1;
	margin: 15px;
	padding: 15px;
	/* чуточку анимации при появлении */
	-webkit-animation: fade ease-in 0.5s;
	-moz-animation: fade ease-in 0.5s;
	animation: fade ease-in 0.5s;
}

/* анимация при появлении скрытых блоков */
@-moz-keyframes fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1
	}
}

@-webkit-keyframes fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1
	}
}

@keyframes fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1
	}
}

.hide + label:before {
	background-color: #a07c56;
	color: #fff;
	content: "\002B";
	display: block;
	float: left;
	font-size: 18px;
	font-weight: bold;
	height: 20px;
	line-height: 20px;
	margin-top: 0px;
	margin-right: 10px;
	margin-left: 5px;
	margin-bottom: 3px;
	text-align: center;
	width: 20px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

.hide:checked + label:before {
	content: "\2212";
}

summary {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: row-reverse;
	font-style: italic;
}

summary:focus {
	outline: none;
}


summary:hover{
	cursor: pointer;
}