body {
	max-width: 1360px;
	min-width: 240px;
	margin: 4px auto 0 2px;
	overflow-x: hidden;
}
header {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	max-width: 1360px;
	min-width: 240px;
	min-height: 140px;
	padding: 1%;
	flex-direction: auto; 
	background-image: url(../img/imgheader.png);
	background-repeat: repeat-y;
	outline:1px solid rgb(102, 106, 105);
} 

header a {     
    text-decoration: none;
    color: #508bbc;
    cursor: pointer;
}
 header a:hover {
    color: #800000; /* Цвет ссылки при наведении на нее курсора мыши */  
    text-decoration: underline; /* Добавляем подчеркивание */
   }


header .header_logo {
    max-width: 1360px;
	display: flex;
    width: 90%;
    margin-left: 1%;
  }
  .header_logo img {
  	position: absolute;
    right: 25px;
   }

.header_status {
	display: flex;
	width: 95%;
	flex-wrap: wrap;
	justify-content: center; /* горизонтальное центрирование */
    align-items: center;
	margin-left: 1%;
	font-size: 18px;
	font-weight: 500;
	margin-top: 55px;
	margin-left: 10px;
	margin-right: 1%;
}
main {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	max-width: 1360px;
	min-width: 240px;
	margin: 0px auto;
	background-image: url(../img/imgheader.png);
	background-repeat: repeat-y;
 }

main a {     
    text-decoration: none;
    color: #508bbc;
    cursor: pointer;
}
 main a:hover {
    color: #800000; /* Цвет ссылки при наведении на нее курсора мыши */  
    text-decoration: underline; /* Добавляем подчеркивание */
   }


 main  h1{
	width: 100%;
	font-family: Times New Roman;
	text-transform: none;
	text-shadow: #000000 0 0 2px;
	font-size: 20px;
	text-align: center;
    flex-wrap: wrap;
    display: inline-block;
    margin-top: 40px;
}

main  h2{
	width: 100%;
	font-family: Times New Roman;
	text-transform: none;
	font-size: 18px;
	font-style: italic;
    flex-wrap: wrap;
    display: inline-block;
    margin-top: 10px;
    margin-left: 5%;
}

main  h3{
    width: 100%;
    font-family: Times New Roman;
    text-transform: none;
    font-size: 16px;
    font-style: italic;
    flex-wrap: wrap;
    display: inline-block;
    margin-top: 10px;
    margin-left: 5%;
}

main hr {
	display: block;
	color: #4688bf;
	margin-top: 30px;
}

p { margin: 7px;
}

 .main_content {
    display: flex;
    width: 100%;
    max-width: 1360px;
    min-width: 240px;
    margin-right: 1%;
    margin-left: 2%;
}
.letter {
    
	width: 80%;
	padding: 10px;
	font-size: 18px;  
}
.fields {
    
	width: 20%;
	border-left: 1px solid red;
	padding: 10px;
	font-size: 17px; 
}

.main_content_finish {
    display: vertical-align;
    width: 100%;
    font-size: 18px; 
    margin-right: 3%;
    margin-left: 5%;
    margin-bottom: 18px;
}

.main_content_finish h2{
    width: 100%;
    font-family: Times New Roman;
    text-transform: none;
    text-shadow: #000000 0 0 2px;
    font-size: 20px;
    
    flex-wrap: wrap;
    display: inline-block;
    margin-top: 40px;
}

.telephony2_2 {
   width: 20%;
   flex-wrap: wrap;
   display: flex;
   justify-content: center;
   align-content: center;
   margin-bottom: 10px;
}
.telephony2_2 a {
   
    color: #e33c43;
    text-align: center;
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
}
.telephony2_2 a:hover{
    background: rgb( 61, 114, 157, 1.0);
    border: 1px #3d729d solid;
    border-radius: 10px;
}
.telephony2 a:hover {
    color: #3d729d; /* Цвет ссылки при наведении на нее курсора мыши */  
}


footer {  
    width: 100%;
	max-width: 1360px;
    min-width: 240px;
	flex-direction: column;
    display: flex;
	color: #ccc;
    background-color: #3d729d;
    margin-bottom: 20px;
    margin-top: 1%;
}
.footer_menu {
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-wrap: wrap;
    margin: 15px 30px;
    align-items: center;
    flex-direction: column;
} 
.footer_menu a {     
    text-decoration: none;
    color: #000;
    cursor: pointer;
}
 .footer_menu a:hover {
    color: #800000; /* Цвет ссылки при наведении на нее курсора мыши */  
    text-decoration: underline; /* Добавляем подчеркивание */
   }
  
@media(max-width: 800px){
    
    .footer_menu {
    
    display: flex;  
    flex-direction: column;
    align-items: center;
    }

  .toksela .spravochno .cena{
    width: 70%;
   
 }
}



hr{
    width: 90%;
    border: 0;
    border-bottom: 2px dashed #999;
    background: #000;
    margin-top: 30px;
   }
 
 

.status7c {
   text-align: center;
   margin: 1% 15% 2% 1%;
 }

 #home .home, #rascenki .rascenki, #spravoch .spravoch
{
    background-color: rgba(205, 214, 219, 0.3);
}
