body
{
	margin: 0;
	padding: 0;
	color: #555;
	font: normal 10pt Arial,Helvetica,sans-serif;
	/*background: #EFEFEF;*/
    height: 100%;
}

#page
{
	background: white;
	/*border: 1px solid #C9E0ED;*/
    width:950px;
    margin:5px auto;
    flex: 1;

}

#header
{
	margin: 0;
	padding: 0;
    padding-bottom: 5px;
	/*border-top: 3px solid #C9E0ED;*/
    position: relative;
    /*height: 85px;*/
}

#content
{
  /*  padding: 10px 5px;
    min-height: 550px;*/
}

#sidebar
{
	padding: 20px 20px 20px 0;
}

.headers
{
   /* background: url(/images/popup-pattern.gif); */
    display:block;
    width:950px; 
    margin: 0 auto;    
}

.mainheaders
{
    background:#EFEFEF;
    border-bottom: 1px solid #c0c0c0;
}

#footer
{
	padding: 10px;
	/*margin: 10px 20px;*/
	/*font-size: 0.8em;*/
    display:block;
    width:950px;
    margin:0 auto;
	text-align: center;
	/*border-top: 1px solid #e3e3e3;/*#C9E0ED;*/
}

#footer1 {
    float: left; 
    width: 20%;}

#footer2 {width: 100%;}

#footer3
{
	padding: 20px 0px;
    display:block;
    width:950px;
    margin:0 auto;
	text-align: center;

}


.logo
{
/*	padding: 10px;
	font-size: 180%;*/
    /*position: absolute;
    left: 262px;
    height: 55px;
    width: 450px;*/
    float: left;
/*    width: 73%;*/
}

.logo2
{
    font-size: 14px;
    margin: 0 auto;
    margin-bottom: 0;
    margin-top: 0; 
}

.formjob1 {float: left; width: 180px; margin-bottom: 5px;}


#flogo
{
	padding: 10px 10px 10px 0px;
	/*font-size: 200%;*/
    position: relative;
    float: left;
    width: 25%;
    /*width: 222px;
    height: 55px;
    position: absolute;*/
}

#partner
{
    margin:0 auto;
    width: 950px; 
}

.partner1 {float: left; width: 48%;}

.container 
{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.blocks {
    margin: 10px 0px;
    border: 1px solid #c0c0c0;
    border-radius: 5px;
    padding: 5px;
}

.blocks_shadow {
    margin: 10px 0px;
    border: 1px solid #c0c0c0;
    border-radius: 5px;
    padding: 5px;
    box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 0, 0, 0.1) inset;
}

/*****************************/
#polez
{
    border: 2px ridge #c0c0c0; 
    padding: 5px; 
    border-radius: 5px; 
    margin-top: 15px; 
    margin-bottom: 15px;
}
#opred
{
    border: 2px ridge #88c400; 
    padding: 5px; 
    border-radius: 5px; 
    margin-top: 15px; 
    margin-bottom: 15px;
}
#zadanie
{
    border: 2px ridge #3399FF; 
    padding: 5px; 
    border-radius: 5px; 
    margin-top: 15px; 
    margin-bottom: 15px;
}

/****************************/
#Accaunt
{
    float: left;
    width: 20%;
    height: 75px;
    vertical-align: bottom;    
}
#Name_User
{
    float: top;
    height: 45px;
    
}
#topmenu
{
/*    float: right;*/
    height: 30px;
    margin-left: 70px;
}

/********Меню сайта**********************/

#mainmenu
{
    position: relative;
    vertical-align: middle;
}

#mainmenu ul
{
	/*padding:5px 0px 5px 0px;*/
	margin:0;
}


#mainmenu ul li
{
	display: inline-block;
    margin: 5px 0px;
}

#mainmenu ul li a
{
	color:#666;
	font-size:1.2em;    
	text-decoration:none;
	padding:5px 53px;
}

#mainmenu ul li a:hover
{
    background:#88c400;
    color:#fff;
    border-radius: 5px;
    text-decoration: underline;
    /*margin: 5px;*/        
}

#mainmenu ul li.active a
{
	color:#fff;
    background: #88c400;
    border-radius: 5px;
	font-size:1.2em;
	text-decoration:none;
	/*padding:5px 29px;*/
}


/*
#mainmenu ul li.MenuBarVertical a
{
	color:#666;          
	font-size:1.2em;
	text-decoration:none;
	padding:5px 20px;
}
*/
/************** Меню админки *******************************************/

#adminmenu
{
    height: 27px;
    position: relative;
    /*padding: 5px 0;*/
    vertical-align: middle;
}

#adminmenu ul li a
{
	color:#666;
	font-size:14px;
	text-decoration:none;
	padding:5px 5px 5px 0px;
}


/**************************************************/
#Main_Home
{
    min-height: 300px;
}

#Main_Video
{
    position: relative;

}
#Main_Buner
{
    position: relative;
    float: right;
    width: 30%;    
}
.buner_box
{
    display: block;
    height: 90px;
    /*padding: 20px 135px 0 15px;*/
    /*margin: 0 0 10px 0;*/
    /*text-transform: uppercase;*/
    position: relative;
}
#Main_Bottom
{
    position: relative;
    margin: 10px 0 10px 0;
    min-height: 220px;
}
/*#Main_Bottom_Left
{
    position: relative;
    float: left;
    width: 31%;
    border-right: 1px solid #e3e3e3;
    padding-right: 10px;        
}
#Main_Bottom_Center
{
    position: relative;
    float: left;    
    width: 33%;
    border-right: 1px solid #e3e3e3;
    padding: 0 10px 0 10px;        
}
#Main_Bottom_Right
{
    position: relative;
    float: left;
    width: 31%;
    padding-left: 10px;    
}*/
#Main_Bottom_Left #Main_Bottom_Center #Main_Bottom_Right p
{
    text-align:justify;
}

/*----------------------------------------*/

#mainmenu ul.Account 
{ 
	background: #FFF;
	padding:5px;
	position:absolute; 
	top:37px;
	left:-999px; 
	border: 1px solid #e3e3e3;
    border-radius: 5px;
    z-index: 2;
    width: 154px;
}

#mainmenu li:hover ul.Account
{
	left:777px; /* (!) */
}

#mainmenu ul.Account li.active
{
	left:710px; /* (!) */
    
}

#mainmenu ul.Account li
{
	/*left:515px; /* (!) */
	float:left; /* (!) */
	display:block; /* (!) */
	margin:7px 5px;   
    color: #666;
    background-color: #fff; 
    padding: 0;
}

#mainmenu ul.Account li.active a
{
	color:#666;
	font-size:14px;
	text-decoration:underline;
	padding: 0;
	margin:7px 5px;       
}

#mainmenu ul.Account li a
{
	color:#666;
    background: #fff;
	font-size:14px;
	text-decoration:none;
	padding:0;
	margin:7px 5px;       
}

#mainmenu ul.Account li:hover a
{
	color:#666;
	font-size:14px;
	text-decoration:underline;
	padding:0;
	margin:7px 5px;       
}

#Main_Home li {text-align: left}

.Main_button {width: 200px; height: 40px; font-size: 1.2em;}

.Mail_right_blok { margin: 0px 5px 10px 5px; }

.Main_right_img {float: right;width:40%; margin-left: 15px;}

/**********************************************/
.Study {
    float: inline-start;
    width: 32%;
    padding: 2px;
    height: 200px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    background-color: #fff;
    text-align: center;
    margin: 3px;
    border: 1px solid #c5c2c2;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 0, 0, 0.1) inset;

}
.Study_text {height: 60px;}
.Study_found { width: 48%; padding: 5px;}
/**************************************/
.Curs {float: left; width: 49%; padding: 4px;}
.Study_text {height: 60px;}
.Study_found { width: 48%; padding: 5px;}
/**************************************/


.Job_found {width: 49%; font-size: 1.1em; height: 28px; font-size: 1.1em;}  
.Job_found1 {width: 49%; height: 28px; padding: 3px; font-size: 1.1em;}
.Job_input {font-size: 1.1em; }
.Job_Buttom {width: 160px; height: 40px;}  
.Job_vacan_txt {padding: 5px; float: left; width: 48%;}
.Job_vacans_bottum {width: 160px; height: 28px;}

.Company_txt {padding: 5px 0; float: left; width: 49%;}

/************************************************/

.Test_show {
    float: left;
    width: 48%;
    padding: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 0, 0, 0.1) inset;
    border: 1px solid #c0c0c0;
    border-radius: 5px;
    margin: 2px;
}
.Test_show_txt {height: 90px;}

/********************************************/

.User_found {width: 100%; }
.User_show {width: 100%;}

.founformtext {width: 98%; font-size: 1.1em; margin: 4px 4px 4px 5px; }
.founformdown {width: 49%; font-size: 1.1em; margin: 5px 4px 5px 5px; float: left;}

#Resum_photo {width: 150px; float: left;}
.Resum_txt {float: left; width: 40%; padding: 5px 8px;}
.Resum_test_th {margin: 0px;}

/********************************************/

.Login_left {width: 100%; float: left;}
.Login_right {width: 49%; float: right;}

/**********************************/
div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

div.view
{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}

div.search-form
{
	padding: 10px;
	margin: 10px 0;
	background: #eee;
}

.portlet
{

}

.portlet-decoration
{
	padding: 3px 8px;
	background: #B7D6E7;
	border-left: 5px solid #6FACCF;
}

.portlet-title
{
	font-size: 12px;
	font-weight: bold;
	padding: 0;
	margin: 0;
	color: #298dcd;
}

.portlet-content
{
	font-size:0.9em;
	margin: 0 0 15px 0;
	padding: 5px 8px;
	background:#EFFDFF;
}

.portlet-content ul
{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin: 0;
	padding: 0;
}

.portlet-content li
{
	padding: 2px 0 4px 0px;
}

.operations
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.operations li
{
	padding-bottom: 2px;
}

.operations li a
{
	font: bold 12px Arial;
	color: #0066A4;
	display: block;
	padding: 2px 0 2px 8px;
	line-height: 15px;
	text-decoration: none;
}

.operations li a:visited
{
	color: #0066A4;
}

.operations li a:hover
{
	background: #80CFFF;
}
#AboutVideo
{
    position: relative;
    float: left;
    width: 60%;
}
#AboutText
{
    position: relative;
}
<!------------------------------------->
#Contact
{
    position: relative;
    width: 500px;
    border: 1px solid #c0c0c0;
    border-radius: 5px 5px 5px 5px;
    padding: 20px 20px 20px 20px;
    height: 100px;
}
#Contact_left
{
    float: left;
    width: 45%;
    padding: 0px 20px 0px 0px; 
}
#Contact_right
{
    width: 50%;
    float: left;
}
#Contact_right1 span
{
}

/******************* Main **********************/

.main_service {
    display: flex; flex-wrap: wrap;
}

.main_service_item {
    padding: 5px; width: 48%
}

.main_service_foto {
    width: 100%
}

.main_service_foto_item {
    display: block; max-width: 30%; margin: 0 auto
}

.main_service_text {
    width: 100%; padding: 5px
}

.main_service_title {
    text-align: center;
}

.main_service_item1 {
    padding: 5px; width: 100%; display: flex; flex-wrap: wrap; margin: 20px 0px;
}

.main_service_foto1 {
    width: 18%;
    display: flex;

}

.main_service_foto_item1 {
    display: block;
    max-width: 80%;
    margin: 0 auto;
    object-fit: contain;
}

.main_service_text1 {
    width: 80%;
    padding: 5px;
}

.main_service_ul {columns: 2}

.main_service_contat {
    padding: 15px 15px;
    border: 1px solid #c5c2c2;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 0, 0, 0.1) inset;
    margin-bottom: 10px;
}

summary {
    margin: 5px 0px;
    text-align: center;
    color: black;
    font-size: 1.4em;
}

.consalt_block {
    padding: 15px 15px;
    border: 1px solid #c5c2c2;
    border-radius: 5px;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.consalt_foto {
    display: block;
    max-width: 20%;
    height: auto;
    overflow: hidden;
    margin-left: 0;
    margin-right: auto;
}

.consalt_title {text-align: left; margin-top: 0px;}


/*****************************************/

.materials {
    border: 1px solid #c0c0c0; border-radius: 5px;
}

.material_blok_text {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 75%;
}
.material_blok_text:hover .material_text {
    opacity: 1;
}

.material_text {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    line-height: 1.5;
    height: 100%;
    background-color: rgba(255, 255, 255, .9);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;

    opacity: 0;
    transition: opacity .2s linear;
}
/*****************************************/
/***************Slider**************************/
.slider_main_block {
}

.css-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slides {
    width: 500%;               /* 100% × 5 картинок */
    animation: slide 20s infinite;
}

.slides img {
    width: 20%;                /* 100 / 5 */
    float: left;
    display: block;
}

.buttom {
    display: inline-block;
    vertical-align: top;
    font-size: 13px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 60px;
    border-radius: 10px;
    font-family: inherit;
    cursor: pointer;
    transition: background .1s linear;
    background-color: #88c400;
    border: 1px solid #88c400;
}

.buttom:hover {
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
}
@keyframes slide {
    0%   { margin-left: 0%; }
    15%  { margin-left: 0%; }

    20%  { margin-left: -100%; }
    35%  { margin-left: -100%; }

    40%  { margin-left: -200%; }
    55%  { margin-left: -200%; }

    60%  { margin-left: -300%; }
    75%  { margin-left: -300%; }

    80%  { margin-left: -400%; }
    100% { margin-left: -400%; }
}


.block_doc1 {
    width: 70%;
}

.block_doc2 {
    width: 30%;
    text-align: right;
}

/*****************************************/

@media screen and (max-width: 768px) {
    
    #content {padding: 5px;}
    #page {width:100%;}
    #header {padding: 5px;}  
    #mainmenu {height: 100%; padding: 10px 5px; } 
    #mainmenu ul li a {padding:5px 15px;}
    #Main_Home li { font-size: 1em;}
    .Main_button {width: 160px; height: 30px; font-size: 1em;}
    .Mail_right_blok {margin: 0px 5px 10px 5px; }
    .Main_right_img {float: right; margin-left: 15px;}

    .materials {
        border: 1px solid #c0c0c0; border-radius: 5px; margin: 0px 0px 10px 0px;
    }
    
    .Study {float: left; width: 98%; padding: 2px 2px 2px 0; margin: 3px 0px; height: 250px}
    .Curs {float: left; width: 100%; padding: 2px 2px 2px 0; margin-bottom: 2px;}
    #title h1 {padding: 5px 0;}  
    .Study_text {height: 45px;}
    .Study_found { width: 98%; padding: 3px;}
    
    .Job_Show h3 {font-size: 1em;}
    .Job_Show h6 {font-size: 0.6em;}
    .Job_Show h7 {font-size: 0.6em;}
    .Job_found {width: 96%;}
    .Job_input {font-size: 1em; }
    .Job_Buttom {width: 120px; height: 30px;}    
    .Job_vacan h1 {padding: 7px 0;}
    .Job_vacan h2 {margin: 0; font-size: 1em; padding: 5px 0; font-weight:bold}
    .Job_vacan_txt {padding: 5px 0; width: 100%;}
    .Job_vacans_bottum {width: 140px; height: 24px;}
    
    .Conpany h1 {padding: 7px 0;}
    .Conpany h2 {padding: 3px 0; font-size: 1em; font-weight:bold}
    .Company_txt {padding: 5px 0; width: 100%;}
    
    .Test_show {width: 100%; padding: 6px 0;}
    .Test_show_txt {height: 70px;}
    .Test_text h1 {padding: 7px 0;}
    .Test_text h3 {font-size: 1em; line-height:1.6;}
    .Test_text li {line-height:1.6;}
    
    .User h3 {font-size: 1em; padding: 6px 0;}
    .User h6 {font-size: 0.8em;}
    .User h7 {font-size: 0.8em;}
    .User td {padding: 2px 3px 2px 3px;}        
    .User_found {width: 100%;clear:right; float: none;}
    .User_show {width: 100%;}

    .founformtext {width: 96%; font-size: 1.1em; margin: 5px 5px 5px 5px;}
    .founformdown {width: 98%; font-size: 1.1em; margin: 5px 4px 5px 5px; }

    .Resum h1 {padding: 7px 0;}
    #Resum_photo {width: 100%; float: none;}
    .Resum_txt {float: none; width: 100%; padding: 3px 0;}
    .Resum h5 {font-size: 0.8em;}
    .Resum_test_th {margin: 0px; padding: 2px 3px; font-size: 0.8em;}
    .Resum_test_td1 {margin: 10px; font-size: 0.8em;} 
    
    .Login_left {width: 100%; float: none; margin-bottom: 5px;}
    .Login_right {width: 100%; float: none;}    
    
    #partner {width:100%;}
    .partner1 {clear: left; width: 95%;}

    #footer {width:100%;  padding: 0px;}
    #footer3 { width:100%;margin:0 auto; text-align: center;}    
    #footer1 {width: 40%; margin-right: 5px; margin-bottom: 5px;}
    #footer2 {width: 98%;}    
    .headers {width:100%;}
    .logo{float: none; width: 30%;}
    .logo2{font-size: 24px;}
    h1 {font-size: 20px;}
    h2 {font-size: 16px;}
    p {font-size: 14px; line-height: 1.4;}
    li {font-size: 14px; line-height: 1.4;}
    h2 {font-size: 1.2em;}
    h4 {font-size: 1.1em;}
    
    .formjob1 {clear: left; width: 100%; margin-bottom: 5px;}

    .main_service_item { width: 100%;}
    .main_service_foto1 {width: 100%}
    .main_service_foto_item1 {max-width: 30%}
    .main_service_text1 {width: 100%}
    .main_service_ul {columns: 1}
    .consalt_foto {max-width: 70%; margin-left: auto}

    .consalt_title {text-align: center; margin-top: 5px;}

    .block_doc1 {width: 100%;}
    .block_doc2 {width: 100%;}
}