body {
    margin: 15px 50px;
    line-height: normal;
    font-family: Tahoma, Arial;
    background: #ccccff;
    scrollbar-face-color: #5997CA;
    scrollbar-shadow-color: #ffffff;
    scrollbar-highlight-color: #ffffff;
    scrollbar-3dlight-color: #5997CA;
    scrollbar-darkshadow-color: #5997CA;
    scrollbar-track-color: #F6F6F6;
    scrollbar-arrow-color: #F6F6F6;
}

a {
    color: #000066;
    text-decoration: underline;
}

a:hover {
    color: #F00;
    text-decoration: none;
}

h1 {
    font-family: Arial, Helvetica, sans-serif;
    padding: 0px;
    text-transform: none;
    font-size: 18px;
    color: #000;
    font-weight: normal;
    margin: 10px 0;
    height: auto;
}

h1 span {
    background: #616161;
    padding: 0 7%;
    text-align: center;
    width: 100%;
    color: #fff;
}

p {
    margin: 0;
}


#header {
    clear: both;
    width: 100%;
    height: 141px;
    padding: 0;
    font-size: x-large;
    text-align: center;
    line-height: normal;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background: #006;
    background: -moz-linear-gradient(top, #6666cc 0%, #000066 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #6666cc), color-stop(100%, #000066));
    background: -webkit-linear-gradient(top, #6666cc 0%, #000066 100%);
    background: -o-linear-gradient(top, #6666cc 0%, #000066 100%);
    background: -ms-linear-gradient(top, #6666cc 0%, #000066 100%);
    background: linear-gradient(to bottom, #6666cc 0%, #000066 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6666cc', endColorstr='#000066', GradientType=0);
    -webkit-box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
    box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
}

#header p {
    padding: 2% 0
}

#left_header {
    float: left;
    width: 20%;
    height: 100%;
    margin: 0 1%;
    color: #fff;
    background: url(logo/IDSD.gif) no-repeat left;
}

#right_header {
    float: right;
    width: 20%;
    height: 100%;
    margin: 0 1%;
    padding: 0 1% 0 0;
    color: #fff;
    background: url(logo/Ptouha1.gif) no-repeat right;
}

/*menu*/
.menu,
.menu li ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
    width: 100%;
}

.menu {
    font-size: 14px;
    background-color: #242424;
    margin: 2px 0;
    float: left;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background: #30F;
    background: -moz-linear-gradient(top, #30F 0%, #000066 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #30F), color-stop(100%, #000066));
    background: -webkit-linear-gradient(top, #30F 0%, #000066 100%);
    background: -o-linear-gradient(top, #30F 0%, #000066 100%);
    background: -ms-linear-gradient(top, #30F 0%, #000066 100%);
    background: linear-gradient(to bottom, #30F 0%, #000066 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#30F', endColorstr='#000066', GradientType=0);
    -webkit-box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
    box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
}

.menu>li {
    float: left;
    text-align: center;
    padding: 12px 30px;
    margin-left: 1px;
    cursor: pointer;
    border-radius: inherit;
    display: block;
}

.menu>li ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    text-align: left;
    z-index: 100;
    background-color: #000099;
    width: 200px;
    margin-top: 25px;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.menu>li>ul {
    margin-left: -13px;
    /*font-size:80%; */
}

/*.menu > li > ul > li.dir{ 
    background:url('arrow.png') 96% center no-repeat; 
} */
.menu>li:hover>ul {
    visibility: visible;
    opacity: 1;
    margin-top: 10px;
}

.menu>li:hover>a {
    color: white;
}

.menu>li:hover,
.menu>li>ul li:hover {
    background: #ccccff;
    background: -moz-linear-gradient(top, #ccccff 0%, #6666cc 40%, #000066 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ccccff), color-stop(40%, #6666cc), color-stop(100%, #000066));
    background: -webkit-linear-gradient(top, #ccccff 0%, #6666cc 40%, #000066 100%);
    background: -o-linear-gradient(top, #ccccff 0%, #6666cc 40%, #000066 100%);
    background: -ms-linear-gradient(top, #ccccff 0%, #6666cc 40%, #000066 100%);
    background: linear-gradient(to bottom, #ccccff 0%, #6666cc 40%, #000066 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ccccff', endColorstr='#000066', GradientType=0);
}

.menu>li li {
    padding: 8px 0 8px 10px;
    border-radius: inherit;
}

.menu>li>ul>li:hover>ul {
    visibility: visible;
    opacity: 1;
    margin-left: 190px;
}

.menu>li>ul>li>ul {
    margin-left: 210px;
    margin-top: -17px;
    width: 220px;
}

.menu>li>ul>li:hover>ul>li:hover>ul {
    visibility: visible;
    opacity: 1;
    margin-left: 210px;
}

.menu>li>ul>li>ul>li>ul {
    margin-left: 210px;
    margin-top: -30px;
    width: 220px;
}


.menu>li a {
    text-decoration: none;
    color: #D1D1D1;
    display: block;
}

/*end of menu*/


#content {
    clear: both;
    background-color: #000066;
    width: 100%;
    height: 800px;
    padding: 10px 0;
    margin: 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
    box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
}

#content_top {
    height: 10px;
}

#content_bottom {
    height: 5px;
}

#sidebar {
    float: left;
    width: 231px;
    height: auto;
    padding: 0;
    margin: 0 0 0 10px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#sidebar_body {
    /* background-color:#E8E8E8;*/
    background-color: #000066;
    padding: 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#block {
    height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

#sidebar p {
    background-color: #FFF;
    padding: 10px 0;
}

#sidebar ul {
    margin: 0;
    padding: 20px;
}

#sidebar ul li {
    padding: 0;
    list-style: none;
}

#sidebar h1 {
    color: #000066;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 0;
    margin: 0;
}

#scroll {
    background-color: #FFF;
    margin: 0 0 10px 0;
    padding: 10px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#scroll_1 {
    background-color: #FFF;
    margin: 0 0 10px 0;
    padding: 10px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#text {
    background-color: #FFF;
    margin: 0 10px 10px 251px;
    padding: 10px 20px;
    width: auto;
    height: 782px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#textpages {
    background-color: #FFF;
    margin: 0 10px 10px 10px;
    padding: 10px 20px;
    width: auto;
    height: 782px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#text_top {}

#text_body {
    padding: 0;
    width: inherit;
    height: 98%;
    font-size: small;
    overflow-y: auto;
}

#text_body p {
    padding-right: 5px;
}

#text_body ul,
ol {
    margin: 0px;
    text-align: justify;
}

#footer {
    height: 45px;
    clear: both;
    box-sizing: border-box;
    width: 100%;
    color: #FFF;
    margin: 2px 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background: #006;
    background: -moz-linear-gradient(top, #30F 0%, #000066 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #30F), color-stop(100%, #006));
    background: -webkit-linear-gradient(top, #30F 0%, #000066 100%);
    background: -o-linear-gradient(top, #30F 0%, #000066 100%);
    background: -ms-linear-gradient(top, #30F 0%, #000066 100%);
    background: linear-gradient(to bottom, #30F 0%, #000066 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#30F', endColorstr='#000066', GradientType=0);
    -webkit-box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
    box-shadow: 0 0 10px rgba(50, 50, 50, 0.75);
    float: left;
    font-size: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#footer a {
    color: #fff;
}

#footer a:hover {
    text-decoration: none;
}

#right_footer {
    float: right;
    padding: 5px 15px 0 0;
    color: #fff;
    font-size: 12px;
    text-align: right;
}

#right_footer a {
    color: #fff;
}

#right_footer a:hover {
    text-decoration: none;
}

.shadow>img {
    -webkit-box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.6);
    /* Для Safari 3.0 */
    -moz-box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.6);
    /* Для Firefox 3.5 */
    box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.6);
    /* Для современных браузеров */
}

#left_logo {
    float: left;
    width: 54px;
    height: auto;
    padding: 5px;
    margin: 10px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#left_logo>marquee>p {
    padding-bottom: 5px;
}

/*** Стили относящиеся к модальному окну ***/

/* Базовые стили слоя затемнения и модального окна  */
.overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    visibility: hidden;
    /* фон затемнения */
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    position: fixed;
    /* фиксированное поцизионирование */
    cursor: default;
    /* тип курсара */
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.is-image {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    margin: auto;
    width: 100%;
    height: auto;
    /* скругление углов встроенных картинок */
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
}

/* встроенные элементы м-медиа, фреймы */
embed,
iframe {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    margin: auto;
    min-width: 320px;
    max-width: 600px;
    width: 100%;
}

/* стили модального окна */
.popup {
    top: 0;
    right: 0;
    left: 0;
    font-size: 14px;
    z-index: 10;
    display: block;
    visibility: hidden;
    margin: 0 auto;
    width: 90%;
    min-width: 320px;
    max-width: 600px;
    /* фиксированное позиционирование, окно стабильно при прокрутке */
    position: fixed;
    padding: 15px;
    border: 1px solid #383838;
    /* скругление углов */

    /*-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
border-radius: 4px;*/
    background-color: #FFFFFF;
    /* внешняя тень */
    -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    -ms-box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    -o-box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.8);
    /* полная прозрачность окна, появление при клике */
    opacity: 0;
    /* эффект перехода (появление) */
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -ms-transition: all ease .5s;
    -o-transition: all ease .5s;
    transition: all ease .5s;
}

.overlay:target+.popup {
    top: 20%;
    visibility: visible;
    opacity: 1;
}

/* формируем кнопку закрытия */
.close {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    background-color: rgba(61, 61, 61, 0.8);
    -webkit-box-shadow: 0px 0px 10px #000;
    -moz-box-shadow: 0px 0px 10px #000;
    box-shadow: 0px 0px 10px #000;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    line-height: 20px;
    -webkit-transition: all ease .8s;
    -moz-transition: all ease .8s;
    -ms-transition: all ease .8s;
    -o-transition: all ease .8s;
    transition: all ease .8s;
}

.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    font-size: 12px;
}

.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
}

.popup p,
.popup div {
    margin-bottom: 10px;
}

/*еще модальное окно (для ukr_index)*/
.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: -50;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    /*-webkit-transition: opacity 400ms ease-in;
 -moz-transition: opacity 400ms ease-in;
 transition: opacity 400ms ease-in;*/
    display: none;
    pointer-events: none;
}

.modalDialog:target {
    display: block;
    pointer-events: auto;
}

.modalDialog>div {
    width: 600px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #fff;
    /*background: -moz-linear-gradient(#fff, #999);
 background: -webkit-linear-gradient(#fff, #999);
 background: -o-linear-gradient(#fff, #999);*/
}

/*spoiler begin*/
#no-div,
.no {
    display: none;
}

.no+label {
    /* вид CSS кнопки
  background: #4e6473;
  padding: 9px 10px;
  border-radius: 2px;*/
    text-decoration: underline;
    color: #1104C3;
    cursor: pointer;
}

label {
    /* вид CSS кнопки
  background: #4e6473;
  padding: 9px 10px;
  border-radius: 2px;*/
    text-decoration: underline;
    color: #1104C3;
    cursor: pointer;
}

/*.no:checked + label { background: #fff; }*/

.no:checked~#no-div {
    display: block;
}

#election {
    text-align: justify;
}

#elections {
    border-collapse: collapse;
    width: 70%;
}

#elections td {
    padding: 5px 10px;
    text-align: center;
    border: 1px solid #888;
}

h3 {
    text-align: center;
}

a {
    -ms-word-break: break-all;
    word-break: break-all !important;
}

td {
    text-align: justify;
}

.ballon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EC407A;
    font-size: 16px;
    font-style: italic;
}

.ballon:before,
.ballon:after {
    content: '';
    margin: 0 20px;
    display: inline-block;
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    background-size: cover;
    background-image: url(arhiv/balloons.svg);

}

blockquote {
    position: relative;
}

blockquote:before {
    content: '‟';
    position: absolute;
    left: -30px;
    top: 0;
    line-height: .9;
    display: block;
    font-family: Arial;
    color: #bbb;
    box-sizing: border-box;
    font-size: 45px;
}


.centered {
    text-align: center;
    vertical-align: middle;
}

.shadow {
    vertical-align: top;
}

.shadow>img {
    width: 170px;
    height: 242px;
    text-align: left;
    border: 1px;
}

.description p {
    text-align: justify;
}


.content {
    z-index: 1;
}

.block {
    width: 170px height: 242px;
    border: none;
    margin-bottom: 40px;
    position: relative;
    background: #fff;
}

.block img {
    width: 170px;
    height: 242px;
}

.block:before {
    position: absolute;
    content: "";
    width: 50%;
    height: 20px;
    bottom: 7px;
    left: 5px;
    background: transparent;
    transform: rotate(-5deg);
    z-index: -1;
    box-shadow: 0 11px 10px -2px #676767;
}

.block:after {
    position: absolute;
    content: "";
    width: 50%;
    height: 20px;
    bottom: 7px;
    right: 5px;
    background: transparent;
    transform: rotate(5deg);
    z-index: -1;
    box-shadow: 0 11px 10px -2px #676767;
}

nav a{
    word-break: keep-all!important;
}
/*spoiler end*/

.archive{
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background-color: #3F51B5;
    color: white;
}
.archive a{
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 20px;
    color: white;
    text-decoration: none;
    text-align: center;
}

.archive a:hover{
    background-color: #5C6BC0;
}
