html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,
dl, dt, dd, .nav ol, .nav ul, .nav li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/************main style*************/

body {
    background: url('images/bg.png') repeat-x #D3D3D3;
    font-family: 'Segoe UI light', sans-serif;
    color: #353535;
    line-height: 1.4em;
}

.clear {
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

h1 {
    color: #508A13;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.6em;
    border-bottom: 1px dashed #acacac;
    padding-bottom: 10px;
    margin: 10px 0px;
}

.article-text a:hover, .news-block-item-text a:hover {
    text-decoration: underline !important;
}

.article-text a, .news-block-item-text a {
    color: #508A13 !important;
}

a {
    color: #508A13;
    font-family: 'Segoe UI', sans-serif;
    text-decoration: none;
}


h1::first-letter, h2::first-letter {
    text-transform: capitalize;
}

h2 {
    color: #508A13;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.2em;
    padding-bottom: 5px;
}

a:hover {
    text-decoration: underline;
}

#slider img {
    width: 666px;
    height: 288px;
}

h2 a {
    color: #508A13;
    font-family: 'Segoe UI', sans-serif;
    padding-bottom: 5px;
    text-decoration: none;
}

.textbox, .textarea {
    padding: 4px;
    min-width: 170px;
    margin-left: 0;
    margin-right: 0;
    font-family: 'Segoe UI', sans-serif;
}

.editor-label {
    width: 150px;
    margin-top: 4px;
    position: absolute;
}

.editor-field {
    margin-left: 150px;
    line-height: 26px;
}

.comment-textarea {
    width: 676px;
    height: 100px;
    margin-top: 6px;
}

input[type=button], input[type=submit], .button-link {
    background-color: #699F00;
    border: 1px solid #ABADB3;
    margin-left: 0px;
    font-size: 15px;
    font-family: 'Segoe UI', sans-serif;
    padding: 5px 15px;
    color: #eee;
    transition: background .2s;
    -moz-transition: background .2s; /* Firefox 4 */
    -webkit-transition: background .2s; /* Safari and Chrome */
    -o-transition: background .2s; /* Opera */
}

    input[type=button]:hover, input[type=submit]:hover, .button-link:hover {
        cursor: pointer;
        background-color: #4C8000;
    }

.article-comment .post-time {
    float: right;
    font-size: 12px;
    color: #888;
}

.article-comment {
    background-color: #e3e3e3;
    padding: 10px;
    margin-bottom: 3px;
}

.article-comments {
    margin-bottom: 10px;
    overflow: hidden;
    height: 110px;
}


/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}


.error-message-padding {
    padding: 5px 0px 5px 23px;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}


.nav {
    width: 950px;
    margin: 0 auto;
    height: 61px;
    position: relative;
    z-index: 5;
}

    .nav a, .nav {
        font-family: "Segoe UI", sans-serif;
    }

/* Main menu styles */

.mainMenuItem {
    padding-left: 37px;
    list-style: none;
    float: left;
    padding: 25px 10px 10px 10px !important;
    color: #d2d2d2;
    margin-right: 10px;
    min-width: 98px;
    text-align: center;
}

    .mainMenuItem.selected {
        background: url('images/button-hover-bg.png') repeat-x;
    }

.nav-menu-box {
    position: absolute;
    display: block;
    background: url('images/menubg.png');
    box-shadow: 0 2px 3px rgba(0,10,10,0.48);
    -moz-box-shadow: 0 2px 3px rgba(0,10,10,0.48);
    -webkit-box-shadow: 0 2px 3px rgba(0,10,10,0.48);
    width: 200px;
    margin-top: 10px !important;
    display: none;
}

    .nav-menu-box li {
        text-align: left;
        padding: 5px 10px 5px 10px;
        overflow: hidden;
    }

        .nav-menu-box li:hover {
            text-align: left;
            background: url('images/button-hover-bg.png') repeat-x;
            z-index: 5000;
        }

.menu-shift {
    margin-left: 201px !important;
    margin-top: -27px !important;
    z-index: 5000;
}


/*.position-1 .nav-menu-box
{
    margin-left: 120px;
}

.position-2 .nav-menu-box
{
    margin-left: 240px;
}

.position-3 .nav-menu-box
{
    margin-left: 360px;
}

.position-4 .nav-menu-box
{
    /*margin-left: 480px;
}*/

.nav ul li a {
    color: #d2d2d2;
}


.slider {
    width: 950px;
    margin: 0 auto;
    padding: 5px 0px;
    background-color: #d2d2d2;
}

    .slider .logo {
        display: inline-block;
        float: left;
        height: 288px;
        width: 284px;
        text-align: center;
        background-color: #fff;
        /*background: url('images/logobg.png') repeat-x;*/
    }

        .slider .logo img {
            margin-top: 40px;
        }

    .slider #slider {
        float: right;
        height: 288px;
        width: 666px;
    }

.main {
    margin: 0 auto;
    width: 876px;
    padding: 15px 37px;
    background: #F4F4F4;
    margin-bottom: 20px;
}

    .main .content {
        /*margin-right: 190px;*/
        position: relative;
        width: 686px;
        float: left;
    }

    .main .banners {
        float: right;
        width: 170px;
    }

    .main .videos-main {
        width: 676px;
        float: left;
    }

        .main .videos-main .recent-videos {
            overflow: hidden;
            border-width: 0px;
            position: relative;
            text-align: left;
            padding: 0px;
        }

        .main .videos-main .video-preview {
            width: 365px;
            height: 202px;
            margin: 0 30px 0 0;
            float: left;
        }


    .main .calendar-main {
        width: 280px;
        float: left;
    }

    .main .blog-main {
        width: 280px;
        float: left;
        /*height: 225px;*/
    }

    .main .news-block {
        width: 366px;
        /*height: 380px;*/
        height: 722px;
        float: left;
        margin-right: 30px;
    }

#recent-rews-wrap {
    overflow: auto;
    /*height: 350px;*/
    height: 670px;
    border-bottom: 1px dotted #ccc;
}

.main .news-block .news-block-item {
    margin-bottom: 10px;
    margin-bottom: 10px;
}

    .main .news-block .news-block-item .news-block-item-date {
        color: #747474;
        font-size: 0.75em;
    }

.news-block-item-text {
    height: 110px;
    width: 530px;
}

.footer {
    background: url('images/logobg.png') repeat-x;
}

    .footer .footer-content {
        margin: 0 auto;
        width: 876px;
        padding: 15px 37px;
        color: #d2d2d2;
    }

        .footer .footer-content ul {
            float: left;
            margin-right: 30px;
        }

form.search {
    display: block;
    width: 170px;
    height: 30px;
}

    form.search input.i {
        width: 158px;
        height: 18px;
        padding: 0 5px;
        margin: 0;
        border: 1px solid #9c9c9c;
        background: #f5f5f5;
        font-size: 14px;
        font-style: italic;
        line-height: 18px;
        color: #9c9c9c;
    }

        form.search input.i:focus {
            background: #fafafa;
            border: 1px solid #8a8a8a;
            color: #333;
            font-style: normal;
        }


    form.search input.b {
        position: absolute;
        margin: 1px 0 0 150px;
    }


/* Calendar */
.calendar-layout ul {
    display: inline;
}

.calendar-layout .ui-state-default {
    display: inline-block;
    float: left;
    margin-right: 2px;
    margin-bottom: 20px;
    background-color: #ccc;
    border: 0px;
    outline: none;
    padding: 3px 0;
}

.calendar-layout .ui-state-active {
    background: url(images/tab-active.png) repeat-x;
}

.calendar-layout .ui-state-default a, .calendar-layout .ui-state-default a:visited {
    color: #ffffff;
    text-decoration: none;
    outline: none;
}

.calendar-layout .ui-tabs-anchor {
    padding: 5px 15px;
}

.calendar-layout .ui-tabs-panel {
    clear: left;
}

.calendar-layout .event-date {
    font-weight: bold;
    margin-bottom: 2px;
}

.calendar-layout .event-name {
    font-weight: bold;
}

.calendar-layout .calendar-event {
    margin-bottom: 20px;
}

.calendar-event {
    border-bottom: 1px dotted #ccc;
    padding-bottom: 20px;
}

.calendar-header {
    cursor: pointer;
}

.event-date-day {
    font-size: 25px;
}

.event-date-month {
    font-size: 20px;
}

.event-body {
    display: none;
}

/* videos */

.videos {
    padding-top: 20px;
}

/* list view types images */
.layout-toggle span {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: inline-block;
}

.layout-toggle .list.active {
    background: url(images/list-active.png);
}

.layout-toggle .list.inactive {
    background: url(images/list-inactive.png);
}

.layout-toggle .grid.active {
    background: url(images/grid-active.png);
}

.layout-toggle .grid.inactive {
    background: url(images/grid-inactive.png);
}

/* videos grid */
ul.type-grid li {
    float: left;
    margin: 15px;
    margin-bottom: 25px;
    display: block;
    width: 180px;
    height: 117px;
    text-align: center;
    font-size: 13px;
    /*margin-right: 20px;
    margin-bottom: 40px;*/
}

    ul.type-grid li .img img {
        height: 100px;
        overflow: hidden;
        background-position: center;
    }

/* videos list */

ul.type-list li .img {
    float: left;
}

    ul.type-list li .img img {
        width: 320px;
    }

ul.type-list li .desc {
    width: 130px;
    height: 240px;
    margin-bottom: 20px;
    margin-left: 20px;
    display: inline-block;
}

.layout-toggle {
    position: absolute;
    top: 0;
    right: 0;
}


.video-group {
    float: left;
    margin-bottom: 15px;
}

    .video-group img {
        width: 320px;
        margin-right: 15px;
    }

.no-comments-hide {
    display: none;
}

.banner-img {
    width: 100%;
}

.search-container {
    padding: 0 0 15px 40px;
}

.highlight {
    background-color: yellow;
}

.search-item {
    padding: 3px 0 10px 0;
}

.search-title {
    margin-bottom: 2px;
}

.static-content blockquote {
    font-size: 13px;
    font-style: italic;
    color: #888;
    font: initial;
}

.static-content img {
    max-width: 100%;
}

.static-content h4 {
    font-weight: bold;
}

.static-content p {
    padding: 10px;
}

#layout ul {
    list-style: none;
}

.paging {
    margin-top: 20px;
    text-align: center;
}

    .paging .to-end, .paging .to-next, .paging .to-prev, .paging .to-start {
        text-align: center;
        width: 35px;
        cursor: pointer;
        background-color: #699F00;
        display: inline-block;
        font-weight: bold;
        font-size: 18pt;
        padding: 0px 0px 6px 0px;
    }

    .paging a {
        color: #000 !important;
        text-decoration: none;
        width: 100%;
        height: 100%;
    }

        .paging a:hover {
            color: #fff !important;
            width: 35px;
            height: 100%;
        }

    .paging .inactive {
        cursor: default;
    }

.group-name, .person-name {
    margin-top: 15px;
    border-bottom: 1px dashed #acacac;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.person-img, .person-info-img {
    max-width: 195px;
    max-height: 250px;
}

.person {
    margin-right: 16px;
    margin-left: 16px;
}

.person-info-img {
    position: absolute;
    top: 0;
    right: 0;
}

.event-links {
    margin-top: 5px;
}

.event-link {
    margin-top: 5px;
    color: #fff;
    background: url('images/event-link-bg.png') repeat-x;
    padding: 1px 10px;
    text-decoration: none;
}

.person-main-div {
    width: 255px;
    float: left;
}

.addition-info img {
    max-width: 455px;
}

.calendar-event-file-name {
    margin-right: 15px;
    clear: both;
    text-align: center;
}

.calendar-event-list {
    list-style: none;
}

    .calendar-event-main-div, .calendar-event-file, .calendar-event-list li {
        float: left;
    }

        .calendar-event-list .separator, .calendar-event-main-div .separator {
            float: right;
            width: 2px;
            height: 23px;
            background-color: #dddfe2;
            margin: 22px 7px;
        }

        .calendar-event-list li .calendar-event-file {
            text-align: center;
            width: 80%;
        }

        .calendar-event-list li:last-of-type .separator, .calendar-event-main-div:last-of-type .separator {
            display: none;
        }

.search-content img {
    max-width: 100%;
}

div.lottery-register > div {
    float: left;
    width: 180px;
}

div.lottery-register form label {
    font-size: 14px;
}

div.lottery-register form input[type=text] {
    height: 30px;
}

div.lottery-register form input[type=submit] {
    width: 155px;
    margin-top: 10px;
}

div.lottery-register div.description {
    width: 500px;
}

    div.lottery-register div.description p {
        text-align: justify;
    }

.bottom-banners {
    margin-top: 20px;
}

    .bottom-banners .bottom-banner {
        float: left;
        margin-right: 10px;
    }

.captcha #captcha-field {
    width: 50px;
    position: absolute;
    left: 179px;
    height: 46px;
    font-size: 25px;
    text-align: center;
}

.captcha span {
    width: 150px;
    position: absolute;
    left: 247px;
    margin-top: 15px;
}

.Map-Send-Form label {
    float: left;
    text-align: right;
    display: block;
    width: 190px;
    margin-right: 0.5em;
}


/* Styles for messages and notifications
-----------------------------------------------------------*/

.message--success {
    color: #ff0000;
    margin-left: 110px;
}


/* Styles for registratin view
-----------------------------------------------------------*/

.row {
    display: flex;
    position: relative;
    flex-direction: row;
}

.row__bottom-space {
    margin-bottom: 15px;
}

.row__spread {
    justify-content: space-between;
}

.row__align-right {
    justify-content: flex-end;
}

.col-100 {
    width: 100%;
}

.col-50 {
    width: 50%;
}

.col-48 {
    width: 48%;
}

.link {
    color: #508a13;
}

.button--text {
    padding: 0;
    margin: 0;
    color: #508a13;
    cursor: pointer;
}

.button--full-width {
    border: 0 !important;
    padding: 12px 0 !important;
    width: 100%;
}

.form-input {
    width: calc(100% - 28px);
    font-size: 16px;
    padding: 11px 13px;
    border: 1px solid #9C9C9C;
    background-color: transparent;
    font-family: 'Segoe UI light', sans-serif;
}

    .form-input.input-validation-error {
        border: 1px solid #ff4d4c;
    }

.language span {
    cursor: pointer;
}

    .language span:first-child {
        margin-right: 6px;
    }

    .language span.active {
        color: #508a13;
        text-decoration: underline;
    }

.content__wrapper {
    padding: 30px;
    border: 1px solid #D3D3D3;
}

    .content__wrapper h2 {
        font-size: 1.5em;
    }

.content__wrapper--top-space {
    margin-top: 25px;
}



.static-content {
    padding: 40px;
    font-size: 16px;
    color: #353535;
}

    .static-content .info-text {
        margin: 0 0 40px 0;
        padding: 0;
    }

    .static-content h3 {
        margin: 20px 0 12px 0;
    }

.captcha__wrapper {
    margin: 20px 0 40px 0;
}

    .captcha__wrapper .captcha {
        position: relative;
    }

    .captcha__wrapper .field-validation-error {
        left: 0;
        bottom: -17px;
    }

.icon {
    width: 16px;
    height: 16px;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.icon-add:before,
.icon-add:after {
    left: 50%;
    bottom: 0;
    width: 2px;
    height: 12px;
    content: "";
    position: absolute;
    background-color: #508a13;
    transform: translate(-50%, 0);
}

.icon-add:before {
    transform: translate(-50%, 0) rotate(90deg);
}

.icon-remove {
    top: 50%;
    right: -24px;
    position: absolute;
    transform: translate(0, -50%);
}

    .icon-remove:before,
    .icon-remove:after {
        top: 0;
        left: 50%;
        width: 2px;
        height: 16px;
        content: "";
        position: absolute;
        background-color: #508a13;
        transform: translate(-50%, 0);
    }

    .icon-remove:before {
        transform: rotate(45deg);
    }

    .icon-remove:after {
        transform: rotate(-45deg);
    }

.input-validation-error-container {
    width: 100%;
    color: #fff;
    padding: 22px 0;
    margin-bottom: 15px;
    text-align: center;
    background-size: cover;
    background-color: #FC6E6D;
    background-image: url(images/pattern.png);
}

.bottom-space {
    margin-bottom: 40px;
}
