body, html {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
    background-color: #FFC107;
}

main {
	height: 100%;
	width: 100%;
}

/* подложка под сайд бар*/

aside {
	background-color: #FFC107;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 400px;
	z-index: 1;
}

section {
	position: relative;
	width: 100%;
	height: 100%;
	background-color: transparent;
	overflow-x: hidden;
    min-width: 280px;
}


label {
	display: none;
	padding: 10px 10px;
	background-color:  #4A148C;
	border-radius: 25px;
	cursor: pointer;
	margin: 10px;
	z-index: 3;
	position: fixed;
	transition-delay: 0.5s;
}

.bar {
	display: block;
	background-color: #fff;
	width: 30px;
	height: 3px;
	border-radius: 5px;
	margin: 5px auto;
	transition: background-color .5s ease-in,
	transform .5s ease-in, width .5s ease-in;
}



.content {
	top: 0;
	/* bottom: 0; */
	right:	0;
	left: 0;
	position: absolute;
	background-color: #fff;
	z-index: 2;
	transition: transform .5s ease-in-out;
}

.asideList {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-top: 100px;
	margin-left: 55px;
	text-align: left;


}

.asideAnchor {
	padding: 20px 0 0 0;
	display: block;
	color: #646464;
	text-decoration: none;
	font: 16px san-serif;	
	font-family: Montserrat;
	color: #646464;
	font-weight: bold;
	position: relative;
	transform: color .3s .15s ease-in;
}


.asideAnchor:hover {
	text-decoration: underline;
}


.underAside {
	padding: 5px;
	display: block;
	color: #646464;
	text-decoration: none;
	font: 13px san-serif;	
	font-family: Montserrat;
	font-weight: bold;
	color: #646464;
	position: relative;
	transform: color .3s .15s ease-in;
	
}

h3 {
	margin: 0;
	padding: 0;
	font-size: 13px;
	font-weight: 500;
}

.underAside:first-child {
	margin: 20px 0 0 0;

}

input[type="checkbox"] {
	display: none;
}


 li {
 	margin-top: 15px;

 }




/*контент*/


.content {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr
						60px;
	min-height: 100vh;		
}

/*шапка, навигация, контент*/

.wrapperAll {
	grid-area: 1/1/2/2;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 190px 80px 1fr;
} 

header {
	grid-area: 1/1/2/2;
	
}


.hg_header {
	background-color: #4A148C;
	background-image: url(/image/headerbg.png);
	background-position: center center;
	background-repeat: no-repeat;
	box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.4);	
}


.logo-container {
	width: 250px;
	height: 100%;
	margin: auto;
	vertical-align: middle;
}

.logo-container img {
	margin: 67px auto;
}
/*навигация*/

nav {
	grid-area: 2/1/3/2;
	background-color:  #FFC107;
}

.hg_nav {
	display: flex;
	justify-content: center;
	align-items: center;
}

.menu {
	margin-left: 20px;
	margin-right: 20px;
	line-height: 80px;
	font: 16px san-serif;	
	font-family: Montserrat;
	color: #646464;
	font-weight: bold;
	height: 100%;
	display: grid;
	grid-template-columns: 1fr 20px 1fr;
	grid-template-rows: 1fr 20px 1fr; 

}

h2 {
	margin: 0;
	padding: 0;
	font-size: 16px;
}

a {
	text-decoration: none;
	 color:  #646464;
}

a:hover {
	text-decoration: underline;

}

.container {
	grid-column: 1/4;
	grid-row: 2/3;


}

.tre {
	grid-column: 2/3;
	grid-row: 3/4;
	background-image: url(/image/tre.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center bottom;

}

/*контент*/

.content article {
	grid-area: 3/1/4/2;
}

.hg {
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	grid-template-rows: repeat(11, 1fr);
	font-style: sans-serif;
}

iframe {
	border: 0;
	width: 100%;
	height: 100%;
}
.map {
	grid-column: 1/11;
	grid-row: 6/12;
	margin: 5px;
	background-image: url(/image/map.png);
}

.address {
	grid-column: 1/11;
	grid-row: 3/6;
	display: grid;
	grid-template-columns: 1fr 200px 500px 1fr;
	grid-template-rows: 100px 26px 26px 26px 26px;

}

.icon {
	grid-column: 2/3;
	grid-row: 1/5;
	background-image: url(/image/boy.jpg);
	background-size: contain;
 	background-repeat: no-repeat;
}


.phone {
	grid-column: 3/4;
	grid-row: 1/2;
	font-family: Montserrat,sans-serif;
	font-size: 60px;
    line-height: 1.08em;
    font-weight: 700;
    color: #4A148C;
    letter-spacing: -4px;
    align-self: center;

}

h1	{
	margin: 0;
	padding: 0;
	font-size: 60px;
}

h1 a {
        color: #4A148C;
}

.info {
	font-family: Montserrat,sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: bold;
    color: #646464;
    margin-left: 10px;
    align-self: center;
}
.mail {
	grid-column: 3/4;
	grid-row: 2/3;

}

.office {
	grid-column: 3/4;
	grid-row: 3/4;
	
}

.download {
	grid-column: 3/4;
	grid-row: 4/5;

}


.google {
	display: none;
}


.yandex {
	display: none;
}
.download-1 {
	display: none;
}

/*подвал*/

footer {
	grid-area: 2/1/3/2;
	background-color:  #FFC107;
	 box-shadow: inset 0 3px 6px 0 rgba(0, 0, 0, 0.4);
}

.hg_footer {
	color: 	 #646464;
	font: 14px  sans-serif;
	font-weight: bold;
	font-family: Montserrat;
    text-align: center;
    padding-top: 20px;
}

.hg_footer h2 {
	font-size: 14px;
}


/*медиа запрос*/


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

	label {
		display: inline-block;
	}

	input[type="checkbox"]:checked ~.content {
		transform: translateX(400px);
	
	}

	input[type="checkbox"]:checked ~ label .bar {
	  background-color: #fff;
	}

	input[type="checkbox"]:checked ~ label {
	  transition-delay: 0s;	
	  background-color: transparent;
	}



	input[type="checkbox"]:checked ~ label .top {
	  -webkit-transform: translateY(0px) rotateZ(45deg);
	  -moz-transform: translateY(0px) rotateZ(45deg);
	  -ms-transform: translateY(0px) rotateZ(45deg);
	  -o-transform: translateY(0px) rotateZ(45deg);
	  transform: translateY(0px) rotateZ(45deg);
	}


	input[type="checkbox"]:checked ~ label .bottom {
	  -webkit-transform: translateY(-15px) rotateZ(-45deg);
	  -moz-transform: translateY(-15px) rotateZ(-45deg);
	  -ms-transform: translateY(-15px) rotateZ(-45deg);
	  -o-transform: translateY(-15px) rotateZ(-45deg);
	  transform: translateY(-15px) rotateZ(-45deg);
	}

	input[type="checkbox"]:checked ~ label .middle {
	  width: 0;
	}



	.middle {
	  margin: 0 auto;
	}
	.hg_nav {
		display: none;
	}

	.wrapperAll {
		box-shadow: 0px 0px 10px 0 rgba(0, 0, 0, 0.3);	
		
	}


	header {
		grid-area: 1/1/2/2;
		background-color: #4A148C;
	}

	.hg_header {
		background-image: url(/image/headerbg.png);
		background-position: center center;
		background-repeat: no-repeat;
		box-shadow: none;

	}

	.address {
		grid-column: 1/11;
		grid-row: 2/6;
		display: grid;
		grid-template-columns: 1fr 70% 1fr;
		grid-template-rows: 200px 100px 30px 30px;
		justify-content: center;
	}
	
	.icon {
		grid-column: 2/3;
		grid-row: 1/2;
		background-image: url(/image/boy.jpg);
		background-size: contain;
		background-position: center;
	 	background-repeat: no-repeat;

	}


	.phone {
		grid-column: 2/3;
		grid-row: 2/3;
		font-family: Montserrat,sans-serif;
		font-size: 60px;
	    font-weight: 700;
	    color: #4A148C;
	    letter-spacing: -4px;
	    align-self: center;
	    justify-self: center;

	}


	.info {
		font-family: Montserrat,sans-serif;
	    font-size: 20px;
	    line-height: 26px;
	    font-weight: bold;
	    color: #646464;
	    margin-left: 10px;
	    align-self: center;
	    justify-self: center;
	}
	.mail {
		grid-column: 2/3;
		grid-row: 3/4;

	}

	.office {
		grid-column: 2/3;
		grid-row: 4/5;
		
	}

	.download {
		display: none;

	}

	.map {
		display: none;
	}


	.google {
		grid-area: 6/4/7/9;
		display: grid;
		grid-template-columns: 100px 1fr;
		grid-template-rows: 100px;
	}

	.google a {
		display: block;
		width: 100%;
		height: 100%;
	}

	.yandex {
		grid-area: 7/4/8/9;
		display: grid;
		grid-template-columns: 100px 1fr;
		grid-template-rows: 100px;

	}

	.yandex a {
		display: block;
		width: 100%;
		height: 100%;		
	}

	.googleMaps {
		background-image: url(/image/google.png); 
		background-size: contain;
	}

	.yandexMaps {
		background-image: url(/image/yandex.png); 
		background-size: contain;		
	}

	.linkAdd {
		font-family: Montserrat,sans-serif;
	    font-size: 15px;
	   	font-weight: bold;
	    color: #646464;
	  	align-self: center;
	  	margin-left: 10px;

	}

	.download-1 {
		grid-area: 9/4/10/9;
		display: grid;
		grid-template-columns: 100px 1fr;
		grid-template-rows: 100px;
	}

	.pdf {
		background-image: url(/image/pdf.png); 
		background-size: contain;	
	}

	.pdf a {
		display: block;
		width: 100%;
		height: 100%;		
	}

	footer {
		grid-area: 2/1/3/2;
		background-color:  #FFC107;
		box-shadow: none;
		z-index: -1;
	}


}


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

	.phone {
		font-size: 50px;
	}
	h1	{
		font-size: 50px;
	}

	.info {
		font-size: 15px;
	}

	.linkAdd {
		font-size: 14px;
	}
}

@media screen and (max-width: 525px) {
	.phone {
		font-size: 47px;
	}

	h1 {
		font-size: 47px;
	}
}


@media screen and (max-width: 490px) {
	.phone {
		font-size: 40px;
	}

	h1 {
		font-size: 40px;
	}

	.info {
		font-size: 12px;
	}

	.linkAdd {
		font-size: 12px;
	}
}



