
/*-------------------------------------------*
/* Body, Common classes
/*-------------------------------------------*/

body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #000;
    font-size: 16px;
    line-height: 1.2;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none !important;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

p {
    margin: 0 0 15px;
    text-align: justify;
}

strong,
b {
    font-weight: 700;
}

em {
    font-style: italic;
}


/*-------------------------------------------*
/* Layout
/*-------------------------------------------*/

#header {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 15px auto;
    width: 980px;
}

#header-center,
.region-header-right {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.region-header-center-top {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

#wrapper {
    width: 980px;
    margin: 0 auto;
    overflow: hidden;
    padding: 15px 0;
}

.page-node-884 #wrapper {
    width: 1500px;
}

body.sidebar-first .sidebar {
    float: left;
    width: 250px;
}

body.sidebar-first #main {
    float: right;
    width: 700px;
}


/*-------------------------------------------*
/* Headings
/*-------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #383838;
    line-height: 1;
    font-weight: 500;
    margin: 0 0 15px 0;
}

h1 {
    font-size: 1.8em;
}

h2 {
    font-size: 1.6em;
}

h3 {
    font-size: 1.4em;
}

.node h3 {
    margin: 30px 0 15px 0;
}

h4 {
    font-size: 1.2em;
}


/*-------------------------------------------*
/* Menus and item lists 
/*-------------------------------------------*/

ul.menu,
ul.menu li {
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-type: none;
    list-style-image: none;
}


/*-------------------------------------------*
/* Header
/*-------------------------------------------*/

#logo img {
    display: block;
}

#block-locale-language {
    padding: 0 15px 0 0;
}

#switchtheme-submit-REC {
    display: none;
}

#header h1 {
    font-size: 1.4em;
    color: #187a32;
    margin: 0 0 5px 0;
}

#header h2 {
    font-size: 1.1em;
    color: #187a32;
    margin: 0;
}

#block-block-2 {
    color: #505050;
    text-align: right;
}

span.code {
    font-size: 1.2em;
    margin-right: 5px;
    color: #505050;
}

span.number {
    font-size: 1.9em;
    color: #187a32 !important;
}

.block-locale ul {
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-type: none;
    list-style-image: none;
}

.block-locale ul li {
    display: inline-block;
    margin: 7px 10px 0 0;
    padding: 0;
    list-style: none;
    list-style-type: none;
    list-style-image: none;
    text-align: left;
    font-size: 0.9em;
}


/*-------------------------------------------*
/* Links
/*-------------------------------------------*/

a {
    color: #187a32;
    text-decoration: none;
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}

a:hover {
    color: #12682a;
    text-decoration: none;
}

.field-name-body a,
.views-field-body a {
    text-decoration: underline;
}

a.button {
    text-decoration: none;
    color: #fff;
    background-color: #187a32;
    display: inline-block;
    cursor: pointer;
    font-weight: 500;
    padding: 7px 15px;
}

a.button:hover,
a.button:focus,
a.button:active {
    text-decoration: none;
    color: #fff;
    background-color: #12682a;
}


/*-------------------------------------------*
/* Main menu
/*-------------------------------------------*/

#main-menu {
    background-color: #e2e2e2;
    border-bottom: 1px #fff solid;
}

#main-menu>ul.menu {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 980px;
    margin: 0 auto;
}

.i18n-ru #main-menu>ul.menu>li {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

#main-menu ul.menu li {
    display: block;
    position: relative;
}

#main-menu ul.menu a,
#main-menu ul.menu span.nolink {
    display: block;
    color: #383838;
    font-weight: 500;
    text-decoration: none;
}

#main-menu>ul.menu>li {
    border-right: 1px #fff solid;
}

#main-menu>ul.menu>li.first {
    border-left: 1px #fff solid;
}

.i18n-ru #main-menu>ul.menu>li>a,
.i18n-ru #main-menu>ul.menu>li>span.nolink,
.i18n-be #main-menu>ul.menu>li>a,
.i18n-be #main-menu>ul.menu>li>span.nolink {
    padding: 18px 5px;
    text-align: center;
}

.i18n-en #main-menu>ul.menu>li>a,
.i18n-en #main-menu>ul.menu>li>span.nolink,
.i18n-be #main-menu>ul.menu>li>a,
.i18n-be #main-menu>ul.menu>li>span.nolink {
    padding: 18px 9px;
}

#main-menu .menu a:hover,
#main-menu .menu a:focus,
#main-menu .menu a:active,
#main-menu .menu span.nolink:hover {
    color: #fff;
    background-color: #14652a;
}

#main-menu .menu a.active {
    color: #fff;
    background-color: #187a32;
}


/*----- Dropdown menu -----*/

#main-menu ul.menu li ul {
    font-size: 0.9em;
    background-color: #e2e2e2;
    position: absolute;
    z-index: 1000;
    top: -9999px;
    left: 0;
    width: auto;
    min-width: 100%;
    visibility: hidden;
    opacity: 0;
    -webkit-box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.5);
}

#main-menu ul.menu li:hover ul {
    top: 100%;
    visibility: visible;
    opacity: 1;
    -webkit-transition: top 0s linear, visibility 0s linear, opacity 0.2s linear;
    transition: top 0s linear, visibility 0s linear, opacity 0.2s linear;
}

#main-menu ul.menu li:hover li ul {
    top: -999em
}

#main-menu ul.menu ul li a {
    padding: 15px;
}


/*-------------------------------------------*
/* Page Title
/*-------------------------------------------*/

#page-title {
    background: #187a32 url(../images/slider.png) 50% 50% no-repeat;
    padding: 15px 0;
}

#page-title h1,
#page-title .block {
    color: #fff;
    width: 980px;
    margin: 0 auto;
}

.page-node-64 #page-title,
.page-node-971 #page-title {
    display: none;
}


/*-------------------------------------------*
/* Sidebar
/*-------------------------------------------*/

.sidebar .block {
    margin-bottom: 15px;
}

.sidebar img {
    display: block;
    width: 100%;
    height: auto;
}

.sidebar h2 {
    font-size: 1.2em;
    background: #505050;
    color: #fff;
    padding: 8px 15px;
    font-weight: 500;
    margin-bottom: 0;
}

.sidebar ul.menu li a {
    display: block;
    text-decoration: none;
    background-color: #6b6b6b;
    color: #fff;
    padding: 10px 10px 10px 15px;
    font-size: 1em;
    margin-bottom: 1px;
}

.sidebar ul.menu li a:hover {
    color: #fff;
    background: #12682a;
}

.sidebar ul.menu li a.active {
    color: #fff;
    background-color: #187a32;
}

.sidebar ul.menu ul.menu li a {
    padding: 10px 10px 10px 30px;
    font-size: 0.9em;
}

.sidebar ul.menu ul.menu ul.menu li a {
    padding: 10px 10px 10px 45px;
    font-size: 0.9em;
}

#block-block-9 .video-left {
    float: none;
}

#block-views-video-archive-block a {
    display: block;
    padding: 10px 15px;
}

#block-views-video-archive-block td {
    padding: 0;
}

#block-views-news-block-block {
    border: 1px #505050 solid;
}

#block-views-news-block-block .content {
    padding: 15px;
}

#block-block-10 .content {
    padding: 0 0 1px 0;
}

#block-block-10 a {
    display: block;
    text-align: center;
    padding: 5px 0;
    background-color: #6b6b6b;
}

#block-block-11 .content {
    padding: 0 0 1px 0;
}

#block-block-11 a {
    display: block;
    text-align: center;
    padding: 5px 0;
    background-color: #6b6b6b;
}

#block-block-12 .content {
    padding: 0 0 1px 0;
}

#block-block-12 a {
    display: block;
    text-align: center;
    padding: 5px 0;
    background-color: #6b6b6b;
}

#block-block-13 .content {
    padding: 0 0 1px 0;
}

#block-block-13 a {
    display: block;
    text-align: center;
    padding: 5px 0;
    background-color: #6b6b6b;
}

.sidebar input.form-text {
    width: 100%;
}


/*-------------------------------------------*
/* Footer
/*-------------------------------------------*/

#footer {
    border-top: 3px #187a32 solid;
    width: 980px;
    margin: 0 auto;
    padding: 15px 0;
    font-size: 0.8em;
    overflow: hidden;
}

#footer p {
    margin: 0;
}


/*-------------------------------------------*
/* Nodes
/*-------------------------------------------*/

.field-name-body {
    line-height: 1.3;
}

.field-name-field-page-img,
.field-name-field-news-img {
    float: right;
    margin: 0 0 0 15px;
}

.field-name-field-page-img .image-field-caption {
    quotes: none;
    background: #efefef;
    padding: 15px;
    color: #383838;
    width: 250px;
    font-size: 0.9em;
    line-height: 1.4;
}

.field-name-field-page-img .image-field-caption p {
    margin: 0;
}

.file {
    margin: 15px 0 0 0;
}

.file a {
    font-weight: 500;
}

.field-name-field-news-foto {
    clear: both;
    overflow: hidden;
    margin: 15px 0 0 0;
}

.field-name-field-fotoalbom-foto .field-item,
.field-name-field-news-foto .field-item {
    float: left;
    margin: 0 5px 5px 0;
}


/*-------------------------------------------*
/* Pager
/*-------------------------------------------*/

.item-list .pager {
    margin: 15px 0 0 0;
}

.item-list .pager li {
    display: inline-block;
    padding: 0;
    margin: 0;
    list-style: none;
}

.item-list .pager li a {
    color: #383838;
    background-color: #e2e2e2;
    display: inline-block;
    padding: 5px 9px;
}

.item-list .pager li a:hover {
    color: #fff;
    background-color: #12682a;
}

.item-list .pager li.pager-current {
    color: #fff;
    padding: 5px 9px !important;
    background-color: #187a32;
    font-weight: 500;
}


/*-------------------------------------------*
/* Accordion
/*-------------------------------------------*/

.order-of-nomination {
    width: 665px;
    margin: 10px auto 30px auto;
}

.order-of-nomination label {
    padding: 5px 20px;
    position: relative;
    z-index: 20;
    display: block;
    height: 30px;
    cursor: pointer;
    color: #777;
    line-height: 33px;
    background: -moz-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #ffffff), color-stop(100%, #eaeaea));
    background: -webkit-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
    background: -o-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
    background: -ms-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
    background: linear-gradient(top, #ffffff 1%, #eaeaea 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea', GradientType=0);
    box-shadow: 0px 0px 0px 1px rgba(155, 155, 155, 0.3), 1px 0px 0px 0px rgba(255, 255, 255, 0.9) inset, 0px 2px 2px rgba(0, 0, 0, 0.1);
}

.order-of-nomination label:hover {
    background: #fffff;
}

.order-of-nomination input:checked+label,
.order-of-nomination input:checked+label:hover {
    background: #187a32;
    color: #fff;
    box-shadow: 0px 0px 0px 1px rgba(155, 155, 155, 0.3), 0px 2px 2px rgba(0, 0, 0, 0.1);
}

.order-of-nomination label:hover:after,
.order-of-nomination input:checked+label:hover:after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: 13px;
    top: 7px;
}

.order-of-nomination input {
    display: none;
}

.order-of-nomination article {
    background: rgba(255, 255, 255, 0.5);
    margin-top: -1px;
    overflow: hidden;
    height: 0px;
    position: relative;
    z-index: 10;
    -webkit-transition: height 0.3s ease-out-out, box-shadow 0.6s linear;
    -moz-transition: height 0.3s ease-out-out, box-shadow 0.6s linear;
    -o-transition: height 0.3s ease-out-out, box-shadow 0.6s linear;
    -ms-transition: height 0.3s ease-out-out, box-shadow 0.6s linear;
    transition: height 0.3s ease-out-out, box-shadow 0.6s linear;
}

.order-of-nomination input:checked~article {
    overflow: hidden;
    -webkit-transition: height 0.3s ease-out-out, box-shadow 0.6s linear;
    -moz-transition: height 0.3s ease-out-out, box-shadow 0.6s linear;
    -o-transition: height 0.3s ease-out-out, box-shadow 0.6s linear;
    -ms-transition: height 0.3s ease-out-out, box-shadow 0.6s linear;
    transition: height 0.3s ease-out-out, box-shadow 0.6s linear;
    box-shadow: 0px 0px 0px 1px rgba(155, 155, 155, 0.3);
    height: auto;
}

.order-of-nomination article p {
    padding: 5px 5px;
}


/*-------------------------------------------*
/* Tables
/*-------------------------------------------*/

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 15px;
    width: 100%;
}

tbody {
    border-top: none;
}

th,
tr,
td {
    vertical-align: middle;
    padding: 7px;
    text-align: left;
}

td {
    border-right: 1px solid #fff;
}

tr:nth-child(even) {
    background-color: #efefef;
}

tr:nth-child(odd) {
    background-color: #e2e2e2;
}

tr {
    border-bottom: 1px solid #fff;
}

th,
td.table-header {
    background: #505050;
    color: #fff;
    border-right: 1px solid #fff;
}


/*-------------------------------------------*
/* Icons
/*-------------------------------------------*/

.pdf,
.ppt,
.doc,
.rar,
.jpg {
    padding: 0 0 0 25px;
    text-align: justify;
    background-position: 0 0;
    background-repeat: no-repeat;
}

.pdf {
    background-image: url(../images/pdf.gif);
}

.ppt {
    background-image: url(../images/ppt.gif);
}

.doc {
    background-image: url(../images/doc.gif);
}

.rar {
    background-image: url(../images/rar.gif);
}

.jpg {
    background-image: url(../images/jpg.gif);
}


/*-------------------------------------------*
/* Quicktabs
/*-------------------------------------------*/

ul.quicktabs-tabs {
    margin: 0 0 20px 0;
    clear: both;
    overflow: hidden;
}

ul.quicktabs-tabs li {
    display: block;
    float: left;
    background: none;
    margin: 0 10px 10px 0;
    padding: 0;
}

ul.quicktabs-tabs li a {
    display: block;
    color: #383838;
    background-color: #efefef;
    padding: 5px 10px;
}

ul.quicktabs-tabs li a:hover,
ul.quicktabs-tabs li.active a {
    text-decoration: none;
    color: #fff;
    background-color: #14652a;
}


/*-------------------------------------------*
/* Tabs
/*-------------------------------------------*/

.ui-tabs {
    padding: 0;
    position: relative;
}

.ui-tabs .ui-tabs-nav {
    padding: 0;
}

.ui-widget {
    font-size: 100%;
}

.ui-tabs .ui-tabs-panel {
    padding: 15px 0 0 0;
}

.ui-widget {
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
}

.ui-widget-header {
    font-family: 'Roboto', sans-serif;
    background: #fff;
    border: none;
    color: #000;
    font-weight: 500;
}

.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited {
    color: #fff;
    text-decoration: none;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    background: #6b6b6b;
    border: none;
    color: #fff;
}

.ui-state-default:hover,
.ui-widget-content .ui-state-default:hover,
.ui-widget-header .ui-state-default:hover {
    background: #12682a;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active {
    background: #187a32;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ui-widget-content {
    background: #fff;
    border: none;
    color: #000;
}

.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
    border-bottom-right-radius: 0px;
}

.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl {
    border-bottom-left-radius: 0px;
}

.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
    border-top-right-radius: 0px;
}

.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
    border-top-left-radius: 0px;
}


/*-------------------------------------------*
/* Forms
/*-------------------------------------------*/

label {
    font-weight: 500;
    margin: 0 0 3px 0;
}

input,
textarea {
    margin: 0;
    padding: 7px;
}

input,
textarea,
select {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 0.9em;
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}

input.form-submit {
    color: #fff;
    background-color: #187a32;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
    padding: 7px 15px 8px 15px;
    border: none;
}

input.form-submit:hover,
input.form-submit:focus {
    background-color: #12682a;
}

input.form-text,
textarea.form-textarea,
select.form-select {
    border: 1px solid #989898;
}


/*---------- Search ----------*/

#search-block-form input.form-text {
    width: 100%;
    margin: 0;
    padding: 5px 31px 5px 5px;
}

#search-block-form input.form-submit {
    text-indent: -9999px;
    width: 26px;
    background-image: url("../images/search.svg");
    background-size: 20px 20px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
}

#search-block-form {
    padding: 0 0 0 15px;
    position: relative;
}

#search-block-form .container-inline div {
    display: block;
}

#search-block-form .form-item,
#search-block-form .form-actions {
    margin-top: 0;
    margin-bottom: 0;
}


/*-------------------------------------------*
/* Colorbox
/*-------------------------------------------*/

#colorbox,
#cboxOverlay,
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    outline: none;
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}

#cboxMiddleLeft,
#cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
    margin: 50px;
}

#cboxLoadedContent {
    overflow: auto;
}

#cboxLoadingOverlay,
#cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
    cursor: pointer;
}

.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

#colorbox,
#cboxContent,
#cboxLoadedContent {
    box-sizing: content-box;
}

#cboxOverlay {
    background: #000;
}

#cboxContent {
    overflow: visible;
}

#cboxError {
    padding: 50px;
}

#cboxCurrent {
    position: absolute;
    top: -22px;
    right: 205px;
    text-indent: -9999px;
}

#cboxSlideshow,
#cboxPrevious,
#cboxNext,
#cboxClose {
    text-indent: -9999px;
    position: absolute;
}

.cboxPhoto {
    float: left;
    margin: auto;
    display: block;
    background: #fff;
}

#cboxLoadedContent {
    background: #fff;
}

#cboxLoadingGraphic {
    background: #fff url("../images/loading.gif") no-repeat center center;
}

#cboxTitle {
    color: #fff;
    width: 100%;
    padding: 5px 0 0 0;
}

#cboxPrevious,
#cboxNext,
#cboxClose {
    border: none;
    background-color: transparent;
}

#cboxPrevious,
#cboxNext {
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    top: 50%;
    margin-top: -20px;
    z-index: 10000;
}

#cboxPrevious {
    background-image: url("../images/prev.svg");
    left: -55px;
}

#cboxNext {
    background-image: url("../images/next.svg");
    right: -55px;
}

#cboxClose {
    width: 20px;
    height: 20px;
    background-image: url("../images/close.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    right: -30px;
    top: -30px;
    z-index: 10000;
}


/*-------------------------------------------*
/* http://rec.gov.by/ru/vybory-2019   Вкладка Опубликование программ
/*-------------------------------------------*/

.classbr {
    margin-bottom: 15px !important;
}

.vybory2020 {
    margin-bottom: 15px !important;
}
