.line {
    line-height: 1;
    font-size: 22px;
    margin-bottom: 10px;
    cursor: pointer;
}
.line-i {
   font-size: 20px;
    font-style: italic;

}
.line:hover {color: orangered;}
.dm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    overflow: auto;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

/* активируем модальное окно */
.dm-overlay:target {
    display: block;
    -webkit-animation: fade 1.6s;
    -moz-animation: fade 1.6s;
    animation: fade 1.6s;
}
/* блочная таблица */
.dm-table {
    display: table;
    width: 100%;
    height: 100%;
}

/* ячейка блочной таблицы */
.dm-cell {
    display: table-cell;
    padding: 0 1em;
    vertical-align: middle;
    text-align: center;
}

/* модальный блок */
.dm-modal {
    width: 100%;
    height: 100%;
    display: inline-block;
    padding: 10px;
    max-width: 50em;
    background: #607d8b;
    -webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    color: #cfd8dc;
    text-align: left;
}

/* миниатюры изображений */
.pl-left,
.pl-right {
    width: 25%;
    height: auto;
}
/* миниатюра справа */
.pl-right {
    float: right;
    margin: 5px 0 5px 15px;
}
/* миниатюра слева */
.pl-left {
    float: left;
    margin: 5px 15px 5px 0;
}

.close {
    z-index: 9999;
    float: right;
    width: 30px;
    height: 30px;
    color: #cfd8dc;
    text-align: center;
    text-decoration: none;
    line-height: 26px;
    cursor: pointer;
}
.close:after {
    display: block;
    border: 2px solid #cfd8dc;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: 'X';
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    transition: all 0.6s;
    -webkit-transform: scale(0.85);
    -moz-transform: scale(0.85);
    -ms-transform: scale(0.85);
    transform: scale(0.85);
}
/* кнопка закрытия при наведении */
.close:hover:after {
    border-color: #fff;
    color: #fff;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}
html,body {
    text-overflow: ellipsis;
    background-color: black;width: 100%;
    height: 100%;
    font-size: 100%;
}

*/*Удаляем отступы со всех сторон*/
{
    margin: 0px;
    padding: 0px;   
}

#contact {
    width: 50%;
    height: 70%;
    margin: auto;
    /*margin-bottom: 5%;*/ 
    /*padding: auto auto;*/
    /*border: solid;*/
    border-color: rgb(182, 160, 10);
    border-width: 5px;
    border-radius: 22px;
    border-top: 5px solid gold;
}

#logo {
    /*background: url(../img/лого-2.png) center/cover;*/
    /*background: #F5DEB3;*/
    width: 22%;
    height: 19%;
    float: left;
    /*margin:10px;*/
}

#header {
    /*background: #F5DEB3;*/
    font-size: 90%;
    width: 78%;
    height: 18%;
    color: brown;
    text-align: center;
    float: right;
    border-bottom-style: solid;
    border-bottom-color:#FFD700;
    border-width: 8px;    
}

/* Основной контейнер*/
.container {
    /*position: fixed;*/
    /*top: 0;*/
    /*left: 0;*/
    font-family: 'Times New Roman'; 
    color: brown;
    margin: 2em auto;
    width: 80%;
    height: 700px;      
    background-image: url(../img/fon.jpg);
    /*background: #FFD700;*/
    border-style: solid;
    border-color: rgb(182, 160, 10);
    border-width: 8px;
    border-radius: 18px;
    z-index: 1;
    /*margin: auto auto;*/
    /*text-align: center;*/   

}


#title {
    margin: 0;
    /*background: #FE9798;*/
    width: 100%;
    height: 5%;
    color: brown;
    text-align: center;
    float: top;
    /*padding: .8em;  отступ от текста */
}

/*Центральный контейнер*/
#content {
    float: left;
    width: 98%;
    height: 64%;
    text-align: center;
    margin: 1% 1% 0 1%;
    /*background: #FFD700;*/
    /*padding: 1%;*/
    /*padding: .8em;  отступ от текста */
}
/*Левый   контейнер*/
#content_1 {
    border-radius: 18px;
    /*background: #FFD700;*/
    float: left;
    width: 70%;
    height: 66%;
    text-align: center;
    /*padding: .8em;  отступ от текста */
}
/*Правая боковая панель*/
#sidebar {
    /*background: #FE9798;*/
    float: right;
    width: 30%;
    height: 66%;
    text-align: center;
    /*    border: solid;*/
}
/*Меню*/
#menu {
    width: 90%;
    /*height: 90%;*/
    margin: auto;
    padding-top: 5%;
    /*margin-left: 10%;*/
    /*margin-bottom: 20%;*/
    border-color: rgb(182, 160, 10);
    border-width: 5px;
    border-radius: 18px;
    border-style: solid;
    text-align: center;
}

.clear {
    clear: both;
}

#footer {
    /*background: #00BFFF;*/
    margin: 0;
    width: 100%;
    height: 10%;
}

.id {
    color: brown; /* цвет текста */
    font-size: 23px;
    size: 100%;
    text-decoration: none; /* убирать подчёркивание у ссылок */
    user-select: none; /* убирать выделение текста */
    /*background: rgb(212,75,56); /* фон кнопки */
    padding: .7em 1.5em; /* отступ от текста */
    outline: none; /* убирать контур в Mozilla */
    cursor: pointer;
} 
.list {
    color: brown; /* цвет текста */
    font-size: 23px;
    size: 100%;
    text-decoration: none; /*убирать подчёркивание у ссылок */
    user-select: none; /*  убирать выделение текста */
    /*background: rgb(212,75,56);  фон кнопки */
    padding: .7em 1.5em; /* отступ от текста */
    outline: none; /* убирать контур в Mozilla */
    /*cursor: pointer;*/
}
.list:hover {
    color: crimson;
}
.id:hover { color: blue; } /* при наведении курсора мышки */
.id:active { color: crimson; } /* при нажатии */

#navigation_l {
    background-image: url(../img/char_btn_def.png);
    width: 10%;
    height: 25%;
    font-size: .8em;
    border-style: solid;
    border-color: rgb(182, 160, 10);
    border-width: 2px;
    border-radius: 10px;
    margin: 1%;
    font-weight: bold;
    text-align: center;
    float: left;
    cursor: pointer;
    color: brown;
    
    text-decoration: none; /* убирать подчёркивание у ссылок */
    padding: .9em;  /*отступ от текста;*/
}
#navigation_l:hover{color: graytext;} 
#navigation_r:hover{color: graytext;}
#navigation_r {
    background-image: url(../img/char_btn_def.png);
    width: 10%;
    height: 25%;
    font-size: .8em;
    border-style: solid;
    border-color: rgb(182, 160, 10);
    border-width: 2px;
    border-radius: 10px;
    margin: 1%;
    font-weight: bold;
    text-align: center;
    float: right;
    cursor: pointer;
    color: brown;
    text-decoration: none; /* убирать подчёркивание у ссылок */
    padding: .9em;  /*отступ от текста;*/
}
#max_wind {
    float: right; 
    margin-top: 2px; margin-right: 2px;
    width: 30px; 
    height: 30px; 
    cursor: pointer;
    border-radius: 5px;
}
/*#max_wind:hover {border: 1px #0000ff solid;}*/

h1, h2, h3 {
    /*font-size:  150%;*/
}
.title {
    font-family: "Times New Roman", serif; font-style: italic;
}
#modal {
    width: 800px;
    /*height: 600px;*/
}
