* {	box-sizing: border-box;}


body {
	background: url("../images/bg-darker.jpg") repeat center;
	font-family: 'Roboto', sans-serif;
	color: #483030;
	padding: 1em 7em 0;	
}


/*********ВРЕМЕННО ЗАКРЫТО*******************************************/

#modalClosedBackground {
	display:  grid   /*grid */;
  	position: fixed; /* Stay in place */
 	z-index: 1; /* Sit on top */
  	left: 0;
  	top: 0;
  	width: 100%; /* Full width */
  	height: 100%; /* Full height */
  	background-color: rgb(0,0,0); /* Fallback color */
  	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	
/*Анимация в виде всплывания фона*/
	animation-name: fadeIn; 
	animation-duration: 0.5s; /*В период 0,4 секунды*/
	
/*	Блок контроля гридами внутри затемненного фона*/
/*	ВЕСЬ ГЕМОР СЖАТИЯ ПРИ ОТПРААВКЕ БЫЛ ТУТ БДЯЯЯДЬ*/
	align-items: center; 
	justify-items: center;
}



.modalClosedContent {
	background: url("../images/bg-extradark.jpg") repeat center;
	display: grid;
	position: relative;
	grid-gap: 0;
	padding: 50px 50px;
	border-radius: 25px;
	width: 65vw;
	height: 55vh;
	border: 2px solid darkcyan;
	align-content: center;
	justify-content: center;
	text-align: center;
/*	Анимация для всплывающей формы заказа */
	animation-name: showUp;
	animation-duration: 0.5s;
	font-size: 2em;
}

/*********ВРЕМЕННО ЗАКРЫТО*******************************************/

a:not(.online-order) {
    color: #331c1c;
    text-decoration: none;
	font-weight: bold;
}

/***************НАЧАЛО БЛОКА НАВИГАЦИИ*****************/


header {
	position: sticky;
	top: 0;
	padding: 15px 30px;
	display: grid;
	grid-template-columns: 0 minmax(0, 1fr);
	background: url("../images/bg.jpg") repeat center;
	border-bottom: 1px solid #7E6B4D;
	border-bottom-left-radius: 20%;
	border-bottom-right-radius: 20%;
	align-content: center;
	font-size: 0.9em;/*Определить оптимум*/
	box-shadow: -3px 4px 18px 0px #2e1111;
}


.logoBig {
	display: block;
	z-index: 1;
   	width: 240px;
	height: 60px;
  	background: url("../images/logoBig.png") no-repeat center;
  	background-size: 240px 60px;
}


nav.moreThan_820 {
	z-index: 0;
	display: grid;
	grid-template-columns: repeat(6, auto);
	grid-gap: 1.5em;
	align-items: center;
  	justify-content: end;
	font-family: "Verdana", "sans-serif";
	letter-spacing: -0.5px;
}


.logoSmall,
.less_820_more_440,
.less_440,
.flagSmallBlock { display: none; }


.navItems {
	display: grid;
	text-align: center;
}


.flagBlock {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 1.2em;
}


.navItems:not(.flagBlock):hover {
	border-bottom: 3px solid orange;
	padding-bottom: 3px;
}


.flags>img {
	opacity: 0.5;
	width: 28px;
	height: 18px;
}


.flags>img:hover { opacity: 1;}


.delimiter {
	height: 20px;
	width: 1.5px;
	background-color: #331c1c;
 }

/************Конец блока навигации***********/

/************НАЧАЛО БЛОКА КОНТЕНТА***********/
main {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 10px;
}

section {
	display: grid;
	grid-gap: 0 2em;
}

h1 {
	display: grid;
	font-family: 'Roboto Slab', serif;
	font-size: 1.8em;
	grid-column: 1 / -1;
	text-align: center;
	margin: 2.5em 0;
}


/*		СИДИМ ДОМА */

.stayAtHome {
	margin: auto;
	position: absolute;
	top: 150px;
	left: 0;
	right: 0;
	display: grid;
	grid-template-rows: 1fr 7fr;
	color: #483030;
	width: 60%;
	background-color: #EBD09B;
	border-radius: 25px;
	opacity: 0.9;
}
.centered {
	text-align: center;
	font-size: 2em;
	line-height: 1.2em;
}

.announce {
	display: grid;
	align-self: start;
	text-align: justify;
	padding: 0 50px 0 50px;
	font-size: 1.3em;
	line-height: 1.5em;
}

.close {
	align-sef: start;
	justify-self: end;
	padding: 10px 10px 0 0;
	font-size: 2.5em;
	color: firebrick !important;
	cursor: pointer;
}

/*		КОНЕЦ БЛОКА СИДИМ ДОМА */



p {
	line-height: 1.4em;
	text-align: justify;
	font-size: 1.1em;
}

section.firstSection {
	grid-template-columns: 2fr 1fr;
}

section.secondSection {
	grid-template-columns: 1fr 2fr;
}

.text1,
.text2 {
	display:  grid;
	grid-template-columns: 1fr;
	grid-gap: 1.5em;
	padding: 2em 3em;
	box-shadow: -3px 4px 18px 0px #2e1111;
	border-radius: 15px;
}


.galleryIndex {
	display: grid;
	grid-template-columns: 1fr;
	min-height: 160px;
	background: url("../images/patrick-tomasso.jpg") no-repeat top;
  	background-size: cover;
	box-shadow: -3px 4px 18px 0px #2e1111;
	border-radius: 15px;
}


.galleryPersonal-1 {
	display: grid;
	grid-template-columns: 1fr;
	min-height: 260px;
	background: linear-gradient(rgba(0, 184, 255, 0.05), rgba(0, 184, 255, 0.05)),
	url("../images/bram-naus-221602-unsplash.jpg") no-repeat center;
  	background-size: cover;
	box-shadow: -3px 4px 18px 0px #2e1111;
	border-radius: 15px;
}


.galleryPersonal-2 {
	display: grid;
	grid-template-columns: 1fr;
	min-height: 250px;
	background:	linear-gradient(rgba(0, 184, 255, 0.05), rgba(0, 184, 255, 0.05)),
	url("../images/elizabeth-french-1141445-unsplash.jpg") no-repeat center;
  	background-size: cover;
	box-shadow: -3px 4px 18px 0px #2e1111;
	border-radius: 15px;
}


.galleryText-1 {
	display: grid;
	grid-template-columns: 1fr;
	min-height: 250px;
	background:	linear-gradient(rgba(0, 184, 255, 0.05), rgba(0, 184, 255, 0.05)),
	url("../images/XII-tab.jpg") repeat top;
  	background-size: contain;
	box-shadow: -3px 4px 18px 0px #2e1111;
	border-radius: 15px;
}


.galleryText-2 {
	display: grid;
	grid-template-columns: 1fr;
	min-height: 250px;
	background: linear-gradient(rgba(0, 184, 255, 0.05), rgba(0, 184, 255, 0.05)),
	url("../images/brenden-peters-1325822-unsplash.jpg") no-repeat center;
  	background-size: cover;
	box-shadow: -3px 4px 18px 0px #2e1111;
	border-radius: 15px;
}


.galleryApostille {
	display: grid;
	grid-template-columns: 1fr;
	min-height: 250px;
	background: linear-gradient(rgba(136,85,23,0.25),
	rgba(136,85,23,0.25)), url("../images/Apostille.png") repeat top;
  	background-size: contain;
	box-shadow: -3px 4px 18px 0px #2e1111;
	border-radius: 15px;
}


/************Конец блока конента***********/

/**НАЧАЛО БЛОКА ТЕЛЕФОНОВ И ФОРМЫ ЗАКАЗА и КОНТАКТОВ**/

.justHeaderForContacts {
	font-variant: small-caps;
	display: grid;
	font-family: 'Roboto Slab', serif;
	font-size: 1.8em;
	grid-column: 1 / -1;
	text-align: center;
	margin: 1em 0;
}

.contacts-and-feedback {
	grid-template-columns: 1fr 3fr;
	grid-gap: 3em;
}


/*Блок телефона и обратной связи*/
.phones-order{
	display: grid;
	grid-template-columns: 1fr;
	grid-row-gap: 1em; 
	justify-items: center;
	align-content: center;
	font-size: 1.3em;
	box-shadow: -3px 4px 18px 0px #2e1111;
	border-radius: 25px;
	justify-self: start;
	align-self: start;
	padding: 2em;
	width: 340px;
}

.callable {
	font-weight: normal !important;
}

.phone {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-gap: 0.5em;
	align-items: center;
}

.phone img {
	width: 1.4em;
	height: 1.4em;
	border-radius: 50%;
}


.MTS>img { border-radius: 15%;}


.online-order {
	display: grid;
	align-content: center;
  	color: white;
	background-color: #009578;
	border: none;
	border-radius: 15px;
	font-size: 0.9em;
	text-align: center;
	transition: 0.3s;
	height: 4.5em;
	width: 100%;
	text-decoration: none;
}

.online-order:hover {
	background: #26a69a;
	cursor: pointer;
}


/************Конец блока телефоны и форма заказа*****/

/*********НАЧАЛО БЛОКА АДРЕСОВ**********/

.officeDistrict {
	font-family: 'Roboto Slab', serif;
	font-size: 1.05em;
}

.addresses {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 0.5em;
}




.adress {
	text-align: left;
	align-self: start;
	font-size: 1.4em;
	padding-left: 2em;
}

/*НИЖЕ КОД ПО ВЫДЕЛЕНИЮ ДЛЯ ВСПЛЫВАНИЯ РАСПИСАНИЯ ОФИСОВ - НА БУДУЩЕЕ ТИПА*/
/*


.adress:hover:not(:last-child) {
	box-shadow: -3px 4px 18px 0px #2e1111;
	border-radius: 20px;
	cursor: pointer;
}
*/


/*Всплывалка для филиала и ФУТЕРА. Задаю фон на весь экран для всплывалок*/ 
#modalWrapperSchedule, #modalWrapperSecondSchedule, #LegalInfoModalWrapper, #Payment8RefundModalWrapper, #copyrightModalWrapper {
	display:  none /*grid*/;
  	position: fixed; /* Stay in place */
 	z-index: 1; /* Sit on top */
  	left: 0;
  	top: 0;
  	width: 100%; /* Full width */
  	height: 100%; /* Full height */
  	background-color: rgb(0,0,0); /* Fallback color */
  	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	
/*Анимация в виде всплывания фона*/
	animation-name: fadeIn; 
	animation-duration: 0.4s; /*В период 0,4 секунды*/
	
/*	Блок контроля гридами внутри затемненного фона*/
/*	grid-template-columns: 1fr;*/
	align-items: center;
	justify-items: center;
}

#modalHeadOfficeContent, #modalSecondOfficeContent, #LegalInfoFraming, #Payment8RefundFraming, #copyrightFraming {
	background: url("../images/bg-darker.jpg") repeat center;
	display: grid;
	grid-template-rows: 1fr 3fr 12fr;
	position: relative;
/*	grid-gap: 20px;*/
	padding: 20px 10px;
	border-radius: 25px;
	width: 45%;
	height: 75%;
	border: 5px solid darkcyan;
	align-content: start;
	overflow-y: scroll;
	

/*	Анимация для всплывающего прайса */
	animation-name: showUp;
	animation-duration: 0.5s;
}
/*Animation-name создает переменную, которую я использую через @keyframes, который умеет ее читать и задавть нужные параметры для анимации*/

/* Контроль анимации всплывалок */

@keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes showUp {
  from {opacity: 0}
  to {opacity: 1}
}
/* Конец котроля анимации всплывалок */


.closeSchedule, .closeSecondSchedule, .CloseLegalInfo, .ClosePayment8Refund, .CloseCopyright {
	justify-self: end;
	padding: 0 10px 10px 0;
	font-size: 25px;
	color: darkcyan /*red*/;
	cursor: pointer;
}

/*** Конец общих правил для всплывалок ******/


/*НИЖЕ НАЧАЛО ОФОРМЛЕНИЯ САМОГО ГРАФИКА РАБОТЫ*/

/*.businessHoursHeadOffice, .businessHoursSecondOffice {}*/

.MapLes {
	display: grid;
/*	position: relative;*/
	width: 100%; /* Full width */
  	/*height: 300px;  Full height */
	grid-template-columns: 1fr;
	align-itemst: center;
/*	border: 4px solid blue;*/
}

#mapHeadOffice, #mapSecondOffice, #mapParnas {
/*	border-radius: 25px;*/
	height: 100%;
	width: 100%;
}

/*НАЧАЛО ОФОРМЛЕНИЯ САМОГО ГРАФИКА РАБОТЫ*/
.adress>img {
	width: 1.2em;
}

.adress_email, .adress_whatsApp {
/*	text-align: center;*/
	align-self: center;
}


/*.lastParagraph {grid-column: 1 / -1; padding: 0 5px}*/

/*********Конец блока КОНТАКТОВ, адресов**********/

footer {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	font-style: italic;
	color: #8f2b61;
	margin: 30px 0 20px;
	border-top: 1px solid #331c1c;
	padding-top: 10px;
}


/*НАЧАЛО ОФОРМЛЕНИЕ БЛОКА И ТЕКСТА ОФИЦИАЛЬНОЙ ИНФО И ОФЕРТЫ */
#showLegalInfo, #showPayment8Refund, #showCopyright  {
	
	cursor: pointer;

}

.legalInfo {text-align: left}

#LegalInfoFraming, #Payment8RefundFraming, #copyrightFraming {
	width: 60%;
	height: 90%;


}

.LegalInfoContent, .Payment8RefundContent, .copyrightContent {
	display: grid;
	align-self: center;
	text-align: justify;
	padding: 0 50px 0 50px;
	font-style: normal;
/*	grid-row-gap: 1em;*/
	/*	border: 4px solid red;*/
}

.LegalInfoTitleHeading, .Payment8RefundTitleHeading, .copyrightTitleHeading {
	text-align: center;
	font-weight: bold;
	
}

/*КОНЕЦ ОФОРМЛЕНИЕ БЛОКА И ТЕКСТА ОФИЦИАЛЬНОЙ ИНФО И ОФЕРТЫ */

.Payment8Refund {text-align: center;}

.developerAuthor {
	text-align: right;
	padding-right: 10px;
	align-self: center;}




/*

.fa-map-marked-alt,
.fa-map,
svg {
	font-size: 35px;
	color: #26a69a;

}

.fa-map-marked-alt:hover {

	color: green;
}
*/
