@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu5mxKOzY.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
h1 {
font-family: Roboto, sans-serif;	
font-size: 1.9em;
font-weight: bold;
padding: 0 5px;
margin: 10px 0 10px 10px;
}	
p {
font-family: Roboto, sans-serif;	
color: #000000;
font-size: 1.1em;
padding: 0 7px;
line-height: 1.5;
margin: -15px 0 10px 10px;
}

blockquote {
    padding: 10px 10px;
    margin: 20px 20px 20px 40px;
    font-size: 17.5px;
    border-left: 5px solid #dadcdc;
}

body {
-webkit-overflow-scrolling: touch;   
overflow-y: scroll;
display: block;
margin: 2px;
}
a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  color: -webkit-link;
  cursor: pointer;
}

main {
width: 100%;
position: relative;
margin: 0 auto;

}
* {
box-sizing: border-box;
}

.flink {
font-family: Roboto, sans-serif;
font-size: 15px;
font-weight: normal;
padding-left: 10px;
}

#myInput {
  background-image: url('/test/img/english/searchicon.png');
  background-position: 10px 10px;
  background-repeat: no-repeat;
  width: 100%;
  font-size: 16px;
  padding: 12px 20px 12px 40px;
  border: 1px solid #ddd;
  margin-bottom: 1px;
}

#myTable {
  border-collapse: collapse;
  width: 100%;
  /*border: 1px solid #ddd;*/
  font-size: 18px;
}

#myTable th, #myTable td {
  text-align: left;
  padding: 12px 5px;
}
.even { /* Стиль для четных колонок */
    background: #ffe4b5; /* Цвет фона */
    color: black; /* Цвет текста */
   }
.bold {
font-family: Roboto, sans-serif;
font-weight: bold;	
}

.name {
background-color: #f1f1f1;
}
.hl {
font-weight: bold;	
}
.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding: 0;
  background: #f1f1f1;
}

#column-1 {
  width: 16%;
  background: #f1f1f1;
  float: left;
  min-height: 100%;
  text-align: left;
  padding: 12px 5px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #fff;
}

#column-2 {
  width: 28%;
  background: #f1f1f1;
  float: left;
  min-height: 100%;
  text-align: left;
  padding: 12px 5px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #fff;
}

#column-3 {
  width: 28%;
  background: #f1f1f1;
  float: left;
  min-height: 100%;
  text-align: left;
  padding: 12px 5px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #fff;
}
#column-4 {
  width: 28%;
  background: #f1f1f1;
  float: left;
  min-height: 100%;
  text-align: left;
  padding: 12px 5px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #fff;
}

#myTable tr {
  border-bottom: 1px solid #ddd;
}

#myTable tr.header, #myTable tr:hover {
  background-color: #f1f1f1;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 5px; /* расстояние до низа */
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #b4b8b9c4;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}
#footer {
    position: fixed; /* Фиксированное положение */
    left: 0; bottom: 0; /* Левый нижний угол */
    padding: 7px; /* Поля вокруг текста */
    background: #d6d4d4; /* Цвет фона */
    color: #126e92; /* Цвет текста */
    width: 100%; /* Ширина слоя */
}

@media only screen and (max-width: 520px) {
   #myTable { 
font-size: 0.83em; 
   }
   .hl {
font-size: 0.8em;
color: red;
   }
}

/* Стили модального окна */

.modal-header h2 {
    color: #555;  
    font-size: 20px;
    font-weight: normal;
    line-height: 1;    
    margin: 0;
}
/* кнопка закрытия окна */
.modal .btn-close {
    color: #aaa;
    cursor: pointer;
    font-size: 70px;
    text-decoration: none;
    position: absolute;
    right: 5px;
	bottom: -15px;
}
.modal .btn-close:hover {
    color: red;
}
/* слой затемнения */
.modal-wrap:before {
    content: "";
    display: none;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
}
.modal-overlay {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 102;
}
/* активация слоя затемнения и модального блока */
.modal-open:checked ~ .modal-wrap:before,
.modal-open:checked ~ .modal-wrap .modal-overlay {
    display: block;
}
.modal-open:checked ~ .modal-wrap .modal-dialog {
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    top: 1%;
}
/* элементы модального окна */
.modal-dialog {
    background: #fefefe;
    border: none;
    border-radius: 5px;
    position: fixed;
    width: 99%;
	height: 98%;
    max-width: 1200px;
    left: 50%;
    top: -100%;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-transform: translate(-50%, -500%);
    -ms-transform: translate(-50%, -500%);
    -o-transform: translate(-50%, -500%);
    transform: translate(-50%, -500%);
    -webkit-transition: -webkit-transform 0.4s ease-out;
    -moz-transition: -moz-transform 0.4s ease-out;
    -o-transition: -o-transform 0.4s ease-out;
    transition: transform 0.4s ease-out;
    z-index: 103;
	-webkit-overflow-scrolling: touch;   
    overflow-y: scroll;
}
/* Styling the scroll bars for webkit browsers engine */

::-webkit-scrollbar {
	width: 3px;
	height: 3px
}
::-webkit-scrollbar-button {background-color: #666}
::-webkit-scrollbar-track {background-color: #999}
::-webkit-scrollbar-track-piece {background-color: #fff}
::-webkit-scrollbar-thumb {
	height: 50px;
	background-color: #999;
	border-radius: 3px
}
::-webkit-scrollbar-corner {background-color: #999}
::-webkit-resizer {background-color: #666}
/* */

.modal-body {
 padding: 12px;
  
}
.modal-body p {
    margin: 8px 0 8px 10px;
}
.modal-header,
.modal-footer {
    padding: 20px 20px;
}
.modal-header {
    /* border-bottom: #eaeaea solid 1px; */
	position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #eaeaea;
	
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=30,Direction=95,Color='#ffffff')";
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=30, Direction=95, Color='#ffffff');
	-webkit-box-shadow: -15px 10px 30px rgba(255, 255, 255, .9);
	-moz-box-shadow: -15px 10px 30px rgba(255, 255, 255, .9);
 /* box-shadow: -15px 10px 30px rgba(255, 255, 255, .9) */
	box-shadow: -20px 20px 20px 4px rgba(255, 255, 255, .9);
}

.modal-header h2 {
    font-size: 20px;
    margin: 0;
}
.modal-footer {
    border-top: #eaeaea solid 1px;
    text-align: right;
}
/* адаптивные картинки в модальном блоке */
.modal-body img { 
    max-width: 100%;
    height: auto;
}
/* кнопки */
.btn {
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn:hover, .btn:focus {
    background: #f2f2f2;
}
.btn-primary {
    background: #428bca;
    border-color: #357ebd;
    color: #fff;
}
.btn-primary:hover{
    background: #66A1D3;
}