body{
  font-family: Arial, Helvetica, sans-serif;
}
* {
    font-family: sans-serif;
    box-sizing: border-box;
  }
  th, td {
    font-size: 14px;
    padding: 10px;
  }
  .table th {
    background: #555;
    color: #fff;
  }
  /*td {
    background: #ebeaea;
  }*/
  a {
    text-decoration: none;
    transition: 0.2s ease;
    color: #3f75c5;
  }
  td:nth-child(7) > a {
    color: #c22a2a;
  }
  a:hover {
    opacity: 0.7;
  }
  p {
    font-style: italic;
  }
  textarea, button {
    padding: 10px;
    display: block;
    min-height: 30px;
    width: 250px;
    margin-bottom: 10px;
  }
  textarea {
    resize: vertical;
    height: 40px;
  }
  button {
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    background-color: #a2faa9;
  }
  .button1 {
    text-transform:none;
    cursor: pointer;
    background-color: #a2c1fa;
    font-weight:normal;
    width: 120px; height:20px;
    
  }
  .button1:hover{
    opacity: 0.7;
  }
  
  input[type=radio] {
    height: 20px;
    width: 20px;
  }
  
  header{
    background: #f6f6f6;
    padding: 22px 0;
}
.header-container{
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.header-container a{
    color: #000;
    font-size: 16px;
    margin-right: 63px;
    padding: 27px 6px;
}
.header-container a:hover{
    background: #b9f7b7;
}
#menu-checkbox{
    display: none;
}
ul{
    display: flex;
}
nav{
    margin-top: 20px;
}

@media screen and ( max-width: 780px) {
    .header-container{
        width: 100%;
        display: flex;
        justify-content: space-around;
    }
    .main-menu{
        display: none;
    }
    .main-menu li{
        width: 100%;
        display: block;
        font-size: 12px;

    }
    .main-menu a{
        display: block;
        padding: 8px;
    }
    .toggle-button{
        text-align: center;
        display: block;
        cursor: pointer;
        color: #000;
        margin-top: 20px;
    }
    .toggle-button:after{
        content: attr(data-open);
        display: block;

    }
    #menu-checkbox:checked + nav[role="navigation"] .main-menu{
        display: block;
    }
    #menu-checkbox:checked + nav[role="navigation"] .toggle-button:after{
        content: attr(data-close);
    }
    .header-container a{
        margin-right: -65px;
    }
    .main-menu{
        position: relative;
        top: 30px;
        right: 115px;
    }



    
}
li{
  list-style: none;
  display: flex;
}

.wrap { width: 1310px;/*фиксируем ширину обертки*/
display: flex;
background: darkgray;
margin-top: 10px;

}
.bblock { float: left; /*Задаем обтекание*/ 
line-height: 50px;/*Высота строки + верт. центрирования текста*/
font-size: 14px;
background: dodgerblue;
color: white; width: 320px; /*Фиксируем ширину блока*/
margin-right: 10px; text-align: center; /*Центрируем текст по горизонтали*/ 
}
.wrap :last-child {
margin-right: 0px;/*Убираем поле последнего div-а*/ 
}



.wrapper {
  display: flex;
  width: 650px;
  margin-top: 10px;
  /*background:#f75d5d;
  line-height:50px*/
}
 
.left {
  width: 100px;
  margin-left: 10px;
 
 /*background-color: #8ce0fa;*/
}

.left5 {
  width: 200px;
  margin-left: 10px;
 
 /*background-color: #8ce0fa;*/
}
.left3 {
  width: 100px;
  margin-left: 10px;
  font-size: 14px;

  

 /*background-color: #8ce0fa;*/
}

.left6 {
  width: 400px;
  margin-left: 10px;
  font-size: 14px;

  

 /*background-color: #8ce0fa;*/
}


.left4 {
  width: 750px;
  margin-left: 10px;
  font-size: 14px;
  
 /*background-color: #8ce0fa;*/
}

.left2 {
  width: 150px;
  margin-left: 10px;
  background-color: #8ce0fa;
}
#raz:checked ~ .left{
  background: yellow;
}
 
.right {
  width: 250px;
  margin-left: 10px;
  /*background-color: tomato;*/
}
.right2 {
  width: 550px;
  margin-left: 10px;
  /*background-color: tomato;*/
}
.right3 {
  width: 150px;
  margin-left: 10px;
  background-color: tomato;
}
#text5{
  width: 100px;
}
#text3{
  width: 250px;
}
#text6{
  width: 100px;
}
#text10{
  width: 100px;
}

.table {
	border-collapse: collapse;
	border-spacing: 0;
  margin-bottom: 10px;
  overflow: scroll;
	/*width: 100%;*/
}
.table4 {
	border-collapse: collapse;
	border-spacing: 0;
  margin-bottom: 10px;
  overflow: scroll;
  font-size: 5px;
	/*width: 100%;*/
}
.table4 th, .table4 td {
	border: 1px solid #888;
	padding: 10px;
	text-align: center;
	vertical-align: middle;
	position: relative;
	cursor: pointer;
  font-size: 12px;
  
}
.table4 tr{
  line-height: 5px;
  font-size: 10px;
}
.table th, .table td {
	border: 1px solid #888;
	padding: 10px;
	text-align: left;
	vertical-align: middle;
	position: relative;
	cursor: pointer;
}


/* Hover */
.table .hover td:after {
	content: '';
	position: absolute;
	top: 0px;
	right: 0px;    
	bottom: 0px;    
	left: 0px;
	width: 105%;
	border-top: 3px solid #ffe5c5;
	border-bottom: 3px solid #ffe5c5;
}
.table .hover td:first-child:after {
	border-left: 3px solid #ffe5c5;
}
.table .hover td:last-child:after {
	border-right: 3px solid #ffe5c5;
	width: auto;
}

/* Click */
.table .active td:after {
	content: '';
	position: absolute;
	top: 0px;
	right: 0px;    
	bottom: 0px;    
	left: 0px;
	width: 105%;
	border-top: 1px solid orange;
	border-bottom: 1px solid orange;
  background-color: #a2faa9;
  opacity: 0.2;
}
.table .active td:first-child:after {
	border-left: 1px solid orange;
}
.table .active td:last-child:after {
	border-right: 1px solid orange;
	width: auto;
}

.table td.active2:after {
	content: '';
	position: absolute;
	top: 0px;
	right: 0px; 
	bottom: 0px;    
	left: 0px;
	border: 1px solid orange !important;
}

.subnewtopic{
  background-color: #80a6f8;
  font-weight:900;
}
.container{
  height:300px; overflow-y: scroll; margin-top: 10px; padding-top: -5px; border: .3px solid #ddd;
}
.container2{
  height:50px; overflow-y: scroll; margin-top: 10px; padding-top: -5px; border: .3px solid #ddd;
}
.container3{
  height:70px; width: 400px; margin-left: 120px; overflow-y: scroll; margin-top: 10px; padding-top: -5px; border: .3px solid #ddd;
}
.container4{
  height:120px; width: 750px; margin-left: 10px; overflow-y: scroll; margin-top: 10px; padding-top: -5px; border: .3px solid #ddd;
}

.container6{
  height:120px; width: 950px; margin-left: 10px; overflow-y: scroll; margin-top: 10px; padding-top: -5px; border: .3px solid #ddd;
}
.container5{
  height:400px; overflow-y: scroll; margin-top: 10px; padding-top: -5px; border: .3px solid #ddd;
}
.container7{
  height:100px; overflow-y: scroll; margin-top: 10px; padding-top: -5px; border: .3px solid #ddd; background-color: rgb(133, 227, 243);
}

.container8{
  height:120px; overflow-y: scroll; margin-top: 10px; padding-top: -5px; border: .3px solid #ddd;
}
tbody tr{
  background-color: #f6f6f6;
}
tbody tr:nth-child(odd){
  background-color: white;
}
thead, th{
  position: sticky; top: 0px; background-color: white; z-index: 1;
}
.green {
  background-color: rgb(177, 243, 177);
  transition: .35s;
  color: #04035f;
}
.green2 {
  background-color: rgb(208, 211, 208);
  transition: .35s;
  color: #000;
}
.green:hover{
  background-color: rgb(133, 227, 243);
}
.green2:hover{
  background-color: rgb(133, 227, 243);
}
.nodisplay {
  display:none;
}
.yesdisplay {
  display:inline;
}
