html {
	height: 100%;
	box-sizing: border-box;
}
*,
*:before,
*:after {
	box-sizing: inherit;
}
body {
	position: relative;
	background-color: #FFFFFF;
    max-width: 100vw;
    min-height: 100%;
	margin: 0;
    font-family: Arial;
    overflow-x: hidden;
		width: 100vw;
    display: grid;
    grid-gap: 0rem;
    grid-template-columns: auto repeat(2, minmax(50px, 600px)) auto;
    grid-template-rows: 7em auto auto auto auto 60px;
    grid-template-areas: 
    ". nav nav ."
    "header header header header"
    ". main main ."
    ". aside aside ."
    "info info info info"
    "footer footer footer footer";
}
.l-side {
    grid-column: 2 / 3;
    left: 0;
    padding-left: 15px;
}
.r-side {
    grid-column: 3 / 4;
    right: 0;
    padding-right: 15px;
}
.a-side {
    grid-column: 2 / 4;
}
.a-side, .l-side, .r-side {
    position: absolute;
    width: 100%;
}
@media only screen and (max-width: 720px) {
	body {
        grid-template-rows: 3em auto auto auto auto 60px;
    }
}
/*
	NAV
*/
#na3 {margin-right: 0;}
nav {
    grid-area: nav;
    justify-items: center;
    width: 100%;
    height: 7em;
    margin: 0;
    padding: 1em 0em;
}
img.logo {
    display: inline-block;
    width: 160px;
    height: 84px;
}
.nav {
    display: inline-block;
    width: calc(100% - 165px);
    margin-top: 30px;
    vertical-align: top;
    text-align: right;
}
img.facebook {
    height: 1.2em;
    margin-top: 1px;
    margin-bottom: -3px;
}
img.facebook:hover, img.cont_fb:hover{
    filter: invert(82%) sepia(0%) saturate(5236%) hue-rotate(359deg) brightness(102%) contrast(105%);
}
img.home {
    height: 0.9em;
}
img.home:hover {
    filter: invert(80%) sepia(18%) saturate(5236%) hue-rotate(359deg) brightness(102%) contrast(105%);
}
a.link {
    margin: 0.7em;
    color: #000000;
    vertical-align: middle;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
}
a.link:hover {
    color: #FEC200;
    transition: 0.5s;
    cursor: pointer;
}
.marked {
    color: #FEC200 !important;
    font-size: 1.2em;
    font-weight: bold;
    vertical-align: middle;
    margin: 0.7em;
    text-decoration: none;
}
span.link_hide {
    display: none;
}
/* phone nav */
#phone {
    display: none;
}
@media only screen and (max-width: 1000px) {
	a.link {
        margin: 0.4em;
        font-size: 1.1em;
    }
    .marked {
        font-size: 1.1em;
        margin: 0.4em;
    }
}
@media only screen and (max-width: 860px) {
	a.link {
        margin: 0.2em;
        font-size: 0.9em;
    }
    .marked {
        font-size: 0.9em;
        margin: 0.2em;
    }
}
@media only screen and (max-width: 720px) {
    #na3 {margin: 0 0.7em;}
    span.link_hide {
        display: inline-block;
    }
	nav {
        margin: 0;
        width: 100%;
        padding: 0px 0em;
        position: fixed;
        z-index: 10;
        height: auto;
        background-color: #FFFFFF;
        transition: 300px 2s linear 1s;
    }
    nav div.a-side {background-color: #FFF;}
    a.logo {
		margin: 0px !important;
    }
	img.logo {
		width: auto;
		margin: 3px;
        height: 50px;
	}
	.nav {
		display: none;
		height: auto;
        margin: 0px 0px 0px 0px;
        background-color: #FFF;
        text-align: center;
        width: 100%;
	}
	.nav br {
		display: inline;
	}
	.nav a {
		color: #000000 !important;
		padding: 10px 0px !important;
		text-decoration: none !important;
		font-size: 18px !important;
		display: block !important;
	}
	.nav a:hover, #phone:hover {
		background-color: rgba(50, 50, 50, 0.8) !important;
		color: #FEC200 !important;
	}
	.nav img#fb {
		margin-bottom: -5px;
    }
    #phone {
        display: block;
        color: #000000;
        text-decoration: none;
	}
	#phone.icon {
        font-size: 18px;
        position: absolute;
        right: 0;
        top: 0;
        padding: 19.5px;
        background-color: #FFF;
	}
	.marked {
		color: #FEC200 !important;
        font-size: 1.2em;
        font-weight: bold;
        vertical-align: middle;
        margin: 0.4em;
        text-decoration: none;
	}
}
/*
	HEADER
*/
header {
    grid-area: header;
    display: grid;
	margin: 0px;
    background-color: #FEC200;
    background-image: url("images/header_bg.png");
    background-size: contain;
	background-repeat: no-repeat;
    background-position: bottom;
    grid-gap: 0rem;
    grid-template-columns: auto repeat(3, minmax(50px, 400px)) auto;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas: 
    ". head add add ." 
    ". . add add ." 
    ". . add add .";
    position: relative;
    height: 32vw;
}
@media only screen and (min-width: 1300px) {
    header {
        background-size: 1300px 200px;
        height: 26em;
    }
}
header > h1 {
    grid-area: head;
    position: absolute;
    font-style: italic;
    line-height: 1.7;
    width: 90vw;
    font-size: 38px;
    margin: 10px 0 0 20px;
}
header > h1.title{
    font-style: normal;
    margin: 40px 0 30px 100px;
}
header > img {
    grid-area: add;
    position: absolute;
}
/*
    Microsoft Edge Browser 12+ (All)
    ====================================
*/
@supports (-ms-ime-align:auto) {
    header > img {
        position: relative !important;
    } 
}
header > img.about_us {
    right: 0;
    bottom: -30px;
    width: auto;
    height: 95%;
}
header > img.services {
    right: 0;
    bottom: -124px;
    width: 100%;
    height: auto;
}
header > img.tech_rent{
    right: 20px;
    bottom: -100px;
    width: 90%;
    height: auto;
}
header > img.tech_sales{
    right: 0;
    bottom: -50px;
    width: auto;
    height: 90%;
}
header > img.contacts{
    right: 60px;
    bottom: -110px;
    width: auto;
    height: 100%;
}
@media only screen and (max-width: 1024px) {
    header > h1 {
        font-size: 34px;
    }
}
@media only screen and (max-width: 768px) {
    header > h1 {
        font-size: 28px;
    }
}
@media only screen and (max-width: 720px) {
    header > h1 {
        font-size: 24px;
    }
    header {
        height: 14em;
    }
    header > h1.title {
        margin: 40px 0 30px 40px;
    }
    header > img.services {
        bottom: -70px;
    }
}
@media only screen and (max-width: 600px) {
    header > h1 {
        font-size: 20px;
    }
    main h1 {
        font-size: 20px;
    }
}
@media only screen and (max-width: 520px) {
    header > img.about_us {
        bottom: -20px;
        height: 80%;
    }
    header > img.services {
        bottom: -43px;
        width: auto;
        height: 70%;
    }
    header > img.tech_rent{
        bottom: -50px;
        width: 90%;
    }
    header > img.tech_sales{
        bottom: -40px;
        height: 80%;
    }
    header > img.contacts{
        right: 10px;
        bottom: -60px;
        height: 90%;
    }
}
@media only screen and (max-width: 440px) {
    header > img.about_us {
        height: 75%;
    }
    header > img.tech_rent {
        bottom: -40px;
    }
    header > img.tech_sales {
        bottom: -40px;
        height: auto;
        width: 100%;
    }
}
@media only screen and (max-width: 320px) {
    header > img.tech_rent {
        bottom: -20px;
    }
    header > img.contacts {
        right: 0;
        bottom: -60px;
        height: 80%;
    }
    header {
        height: 11em;
    }
}
@media only screen and (max-width: 660px) {
    main div.service {
        text-align: center;
    }
    img.s_icon {
        display: block;
        margin: 30px auto;
        padding: auto;
        max-width: 150px;
        height: auto;
    }
    main div.service p {
        display: block !important;
        margin: 0 !important;
        width: 100% !important;
        position: static !important;
    }
}
/*
    INFO
*/
address {
    grid-area: info;
    display: grid;
    justify-items: center;
    align-items: end;
    font-style: normal;
    min-height: 400px;
    background-image: url("images/info_bg.png");
    background-size: cover;
	background-repeat: no-repeat;
    background-position: top;
    -webkit-filter: drop-shadow(0px 0px 0px #FEC200) 
        drop-shadow(0px -10px 0px #FEC200);
    filter: drop-shadow(0px 0px 0px #FEC200) 
        drop-shadow(0px -10px 0px #FEC200);

    grid-gap: 0rem;
    grid-template-columns: auto repeat(3, minmax(50px, 400px)) auto;
    grid-template-rows: auto;
    grid-template-areas: ". info_img info_txt info_txt .";
}
img.info {
    grid-area: info_img;
    margin: 5vh;
}
h1.info {
    grid-area: info_txt;
    background-color: rgba(255, 255, 255, 0.8);
    color: #000000;
    padding: 24px;
    line-height: 1.6;
    width: 85%;
    text-align: center;
    font-style: italic;
    font-size: 28px;
    margin: 6vh;
}
@media only screen and (max-width: 1020px) {
	img.info  {
        margin: 9vh;
    }
}
@media only screen and (max-width: 610px) {
    address {
        grid-template-areas: ". info_txt info_txt info_txt .";
    }
    img.info  {
        display: none;
    }
	h1.info  {
        font-size: 24px;
    }
}

/*
	FOOTER
*/
footer {
    grid-area: footer;
	background-color: #ffffff;
	color: #000000;
	text-align: center;
}
.footer-link{
	color: #000000;
	text-decoration: none;
}
.footer-link:hover{
	cursor: pointer;
	text-decoration: underline;
    color: #FEC200;
    transition: 0.5s;
    cursor: pointer;
}
.footer-copy, .footer-made {
    display: inline-block;
    margin: 0px;
    padding: 20px 0px;
}
.footer-copy {
    text-align: left;
}
.footer-made {
    text-align: right;
}
@media only screen and (max-width: 720px) {
	.footer-copy, .footer-made {
        position: static;
        margin: 5px 0px;
        padding: 0px;
        text-align: center;
    }
    .l-side, .r-side {
        grid-column: 1 / 5;
    }
}
/*	contact */

.contact {
    grid-area: cont;
	position: relative;
	height: inherit;
	padding: 0px;
    font-size: 16px;
    color: #000000;  
    margin: 40px 0px;
    text-align: center;
}
.sides {
	width: 468px;
	height: 400px;
    display: inline-block;
	margin-left: 20px;
	margin-right: 20px;
	vertical-align: top;
	text-align: left;
	margin-top: 20px;
	font-size: 18px;
}
.sides a {
	text-decoration: none;
	color: #000000;
}
.sides a:hover {
    color: #FEC200;
    transition: 0.5s;
}

input, textarea {
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 10px;
    padding-right: 10px;
    height: 35px;
    margin-bottom: 15px;
    border: 1px solid #D9DADA;
	border-radius: 2px;
	font-family: arial;
}
.choose {
    width: 300px;
	display: inline-block;
	margin-left: 20px;
	margin-right: 20px;
	vertical-align: top;
	text-align: left;
}
textarea {
    height: 192px;
	padding-top: 5px;
}
label {
    display: inline-block;
    margin-bottom: 0.5rem;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
button.submit-button {
    background-color: #FEC200;
	width: 100px;
	text-align: center;
	color: #000000;
	height: 40px;
	border: 1px solid #D9DADA;
}
button.submit-button:hover {
    background-color: #000000;
    color: #FFFFFF;
    transition: 0.5s;
	cursor: pointer;
}
#email { 
	display: none; 
} 
#r{
	color: red !important;
}

@media only screen and (max-width: 468px) {
	.sides {
        width: 100%;
    }
}
@media only screen and (max-width: 380px) {
	.choose {
        width: 100%;
    }
}
/*
	INDEX
*/
main {
    grid-area: main; 
    /*justify-items: center;*/
}
main h1 {
    text-align: center;
}
main p {
    text-align: justify;
}
aside {
    grid-area: aside; 
    justify-items: center;
    align-items: end;
    text-align: center;
    
}
aside div.services {
    display: inline-block;
    position: relative;
    bottom: -60px;
    margin: 0;
    min-width: 249px;
    max-width: 250px;
}
img.icon {
    margin: auto;
    padding: auto;
    min-width: 100px;
    max-width: 150px;
    height: auto;
}
a.link_s {
    color: #000000;
    vertical-align: middle;
    text-decoration: none;
    margin: 0.7em;
}
a.link_s h5 {
    font-style: italic;
    font-weight: 100;
    height: 36px;
    padding: 0 50px;
    font-size: 16px;
}
*.link_s:hover {
    color: #FEC200;
    transition: 0.5s;
    cursor: pointer;
}
@media only screen and (max-width: 480px) {
	aside div.services {
        min-width: 200px;
    }
    a.link_s h5 {
         padding: 0 15px;
    }
}
/*
	SERVICES
*/
main div.service {
    position: relative;
}
img.s_icon {
    display: inline-block;
    margin: 50px 40px;
    padding: auto;
    max-width: 150px;
    height: auto;
}
main div.service p{
    display: inline-block;
    margin: 0;
    width: calc(100% - 230px);
    position: absolute;
    top: 50%;
}
/*
	GALLERY
*/
aside#gallery > div {
	text-align: center;
}
aside#gallery > div:hover {
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in; 
	cursor: zoom-in;
	-webkit-box-shadow: 0px 0px 4px 2px rgba(254,194,0,0.99);
	-moz-box-shadow: 0px 0px 4px 2px rgba(254,194,0,0.99);
	box-shadow: 0px 0px 4px 2px rgba(254,194,0,0.99);
}
.gallery_small {
    display: inline-block;
    width: 26vw;
    height: 30vh;
    margin: 20px;
}
.gallery_medium {
    display: inline-block;
    width: 42vw;
    height: 46vh;
    margin: 15px;
}
@media only screen and (min-width: 1366px) {
	.gallery_small {
        display: inline-block;
        width: 21rem;
        height: 14rem;
        margin: 20px;
    }
    .gallery_medium {
        display: inline-block;
        width: 33rem;
        height: 18rem;
        margin: 15px;
    }
}
@media only screen and (max-width: 780px) {
	.gallery_small, .gallery_medium  {
        width: 40vw;
        height: 25vh;
        margin: 10px;
    }
}
@media only screen and (max-width: 500px) {
	.gallery_small, .gallery_medium  {
        width: 80vw;
        height: 40vh;
        margin: 10px;
    }
}
img.gallery_image {
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
}
#openGallery {
	z-index: 50;
	background-color: rgba(0, 0, 0, 0.7);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	display: none;
	overflow: hidden; 
}
#openGallery.show {
	display: block !important;
}
.scrollbar {
	overflow: hidden; 
}
#showGallery {
	z-index: 51;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 50px;
	right: 50px;
	width: calc(100% - 100px);
	height: 100vh;
	overflow: hidden; 
}
#showGallery img.gallery_large {
	z-index: 52;
	margin: 0;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 120px);
	height: auto;
}
#showGallery img.gallery_height {
	height: calc(100% - 20px) !important;
	width: auto !important;
}
#spaceGallery.prev, #spaceGallery.next {
	z-index: 53;
	height: 100vh;
	width: 50px;
	text-align: center;
	position: fixed;
	background-color: rgba(0, 0, 0, 0.6);
	border-radius: 0;
	margin: 0;
	padding: 0;
	top: 0;
	bottom: 0;
	transition: 0.6s ease;
}
.prev, .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	color: white;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
	border-radius: 50%;
	user-select: none;
	height: 40px;
	width: 40px;
	padding: 8px 15px;
	margin: -25px 5px;
	z-index: 60;
}
#spaceGallery.prev:hover, #spaceGallery.next:hover {
	cursor: pointer;
}
.prev:hover, .next:hover {
	background-color: rgba(0,0,0,0.8);
}
#spaceGallery.prev, .prev {
	left: 0;
}

#spaceGallery.next {
	right: 0;
	top: 58px;
	height: calc(100vh - 58px);
}
.next {
    right: 0;
    top: 46.5%;
}

#spaceGallery a.close {
	color: #880000;
	position:fixed;
	top: 0;
	right: 0;
	font-size: 50px;
	width: 50px;
	z-index: 75;
	transition: 0.6s ease;
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.75);
}
#spaceGallery a.close:hover {
    color: #FF0000;
	background-color: #000;
}
/*
    TECH_RENT
*/
main#rent {
    display: grid;
    position: relative;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 4px 1fr 4px 1fr;
    grid-gap: 50px;
    margin: 140px 0 0 0;
}
div.rent {
    position: relative;
    height: auto;
    width: 100%;
}
div.rent > img {
    width: 100%;
    object-fit: cover;
    height: 250px;
}
div.rent > p {
    width: 100%;
    text-align: justify;
}
hr.rent {
    grid-column: 1 / 4;
    width: calc(100% - 400px);
    border: 2px solid #E6E6E6;
    display: none;
}
hr.rent:nth-child(3n) { 
    display: block;
}
aside#warning {
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
}
hr.rent {
    width: calc(100% - 400px);
    border: 2px solid #E6E6E6;
}
@media only screen and (max-width: 780px) {
	main#rent {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 4px 1fr 4px 1fr 4px 1fr 4px 1fr;
        grid-gap: 50px;
    }
    hr.rent {
        grid-column: 1 / 3;
        width: calc(100% - 100px);
        border: 2px solid #E6E6E6;
    }
    hr.rent:nth-child(3n) { 
        display: none;
    }
    hr.rent:nth-of-type(odd) { 
        display: block;
    }
    div.rent:nth-child(1) {
        grid-column: 1 / 3;
        width: 300px;
    }
}
@media only screen and (max-width: 560px) {
    div.rent:nth-child(1) {
        grid-column: 1 / 2;
        width: 100%;
    }
	main#rent {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 4px 1fr 4px 1fr 4px 1fr 4px 1fr 4px 1fr 4px 1fr 4px 1fr 4px 1fr 4px;
        grid-gap: 50px;
    }
    hr.rent {
        grid-column: 1 / 2;
        width: calc(100% - 100px);
        border: 2px solid #E6E6E6;
        display: block;
    }
    hr.rent:nth-child(3n) { 
        display: block;
    }
}
/*
    TECH_SALES
*/
main#sell {
    position: relative;
    display: block;
    margin: 40px 0 0 0;
}
hr.sell {
    grid-column: 1 / 4;
    width: calc(100% - 400px);
    border: 2px solid #E6E6E6;
}
div.sell {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
    left: 0;
    display: inline-block;
    margin: 50px 0 0 0;
    display: grid;
    grid-template-columns: 350px 1fr 1fr;
    grid-template-rows: 50px 100px 100px 100px;
    grid-template-areas: 
    "img title title"
    "img txt txt"
    "img txt txt"
    "sec sec sec";
}
img.look-main {
    grid-area: img;
    position: relative;
    top: 0;
    left: 0;
    width: 350px;
    height: 200px;
    position: relative;
    margin: 16px 40px 16px 0;
}
img.sold {
    position: absolute;
    top: 16px;
    left: 206px;
    height: 200px;
}
div.sell > h3 {
    grid-area: title;
    width: calc(100% - 40px);
    margin: 14px 34px 6px 33px
}
div.sell > p {
    grid-area: txt;
    height: auto;
    width: calc(100% - 40px);
    margin: 0 35px 0 35px;
}
div.sec {
    grid-area: sec;
    width: 100%;
    height: 80px;
}
img.look {
    display: inline-block;
    width: 120px;
    height: 80px;
    margin: 10px 18px 10px 0px;
}
@media only screen and (max-width: 900px) {
    div.sell {
        grid-template-columns: 350px 1fr 1fr;
        grid-template-rows: 50px 100px 100px 240px;
        grid-template-areas: 
        "img title title"
        "img txt txt"
        "img txt txt"
        "sec txt txt";
    }
    div.sec {
        grid-area: sec;
        width: 100%;
        height: 160px;
    }
    img.look {
        width: 108px;
        height: 70px;
        margin: 2px;
    }
}
@media only screen and (max-width: 700px) {
    div.sell {
        justify-items: center;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: 50px 125px 125px auto;
        grid-template-areas: 
        "title title title"
        "img sec sec"
        "img sec sec"
        "txt txt txt";
    }
    div.sell > h3 {
        text-align: center;
    }
    div.sec {
        grid-area: sec;
        width: 100%;
        height: auto;
        margin-top: 15px;
        text-align: center;
    }
    img.look {
        width: calc(100% / 3.5);
        height: auto;
        margin: 2px;
    }
    img.sold {
        top: 66px;
        left: 205px;;
    }
}

@media only screen and (max-width: 700px) {
    div.sell {
        justify-items: center;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: 50px 125px 125px auto auto;
        grid-template-areas: 
        "title title title"
        ". img ."
        ". img ."
        "txt txt txt"
        "sec sec sec";
    }
    img.sold {
        top: 66px;
        left: calc(350px * 0.7);
    }
    img.look-main {
        grid-area: img;
        position: relative;
        top: 0;
        left: 0;
        width: 350px;
        height: 200px;
        position: relative;
        margin: 16px 0 16px 0;
    }
}
@media only screen and (max-width: 440px) {
    img.sold {
        top: 50px;
        left: calc(350px *0.325);
    }
    img.look-main {
        width: calc(350px *0.65);
        height: 200px;
        margin: 0;
    }
}

/*
    CONTACT
*/

main#contact {
    width: 100%;
    height: auto;
    position: relative;
    display: inline-block;
    margin: 140px 0 0 0;
    display: grid;
    grid-template-columns: 1fr 50px 50px 1fr;
    grid-template-rows: 80px 60px 60px 50px 60px auto;
    grid-template-areas: 
    "map map adr address"
    "map map pho1 phone1"
    "map map pho2 phone2"
    "map map mail email"
    "map map fb ."
    "line line line line"
    "cont cont cont cont";
}

iframe.map {
    grid-area: map;
	width: 460px;
    height: 300px;
    margin: 20px;
}
@media only screen and (max-width: 640px) {
	iframe.map {
		width: 100%;
	}
}

img.cont_loc {
    grid-area: adr;
    width: auto;
    height: 35px;
    margin: 20px 10px;
}
p.cont_loc {
    grid-area: address;
    width: 100%;
    height: auto;
    padding: 0 0 0 20px;
		margin: 0;
}
img.cont_pho1 {
    grid-area: pho1;
    width: auto;
    height: 35px;
    margin: 14px 10px;
}
p.cont_pho1 {
    grid-area: phone1;
    padding: 20px 0 0 20px;
    width: 100%;
		margin: 0;
}
img.cont_pho2 {
    grid-area: pho2;
    width: auto;
    height: 35px;
    margin: 14px 10px;
}
p.cont_pho2 {
    grid-area: phone2;
    padding: 20px 0 0 20px;
    width: 100%;
		margin: 0;
}
img.cont_mail {
    grid-area: mail;
    width: 35px;
    height: auto;
    margin: 14px 6px;
}
p.cont_mail {
    grid-area: email;
    width: 100%;
    padding: 20px 0 0 20px;
		margin: 0;
}
a.cont_fb {
    grid-area: fb;
}
img.cont_fb {
    width: auto;
    height: 35px;
    padding: 0;
    margin: 16px 6px;
}
hr.contact {
    grid-area: line;
    width: calc(100% - 400px);
    border: 2px solid #E6E6E6;
}
@media only screen and (max-width: 1000px) {
	main#contact {
        grid-template-columns: 25% 50px 1fr;
        grid-template-rows: 200px 200px 100px 80px 100px 100px  auto 440px;
        grid-template-areas: 
        "map map map"
        "map map map"
        ". adr address"
        ". pho1 phone1"
        ". pho2 phone2"
        ". mail email"
        ". fb ."
        "line line line"
        "cont cont cont";
    }
}
@media only screen and (max-width: 720px) {
	main#contact {
        grid-template-columns:  20% 1fr;
        grid-template-rows: 200px 200px 100px 100px 100px 100px auto 700px;
        grid-template-areas: 
        " map map "
        " map map "
        " adr address "
        " pho1 phone1 "
        " pho2 phone2 "
        " mail email "
        " fb . "
        " line line "
        " cont cont ";
    }
}