@font-face {
    font-family: 'dragusans-medium';
    src: url('../fonts/_dr_agu_sans_medium_medium-webfont.eot');
    src: url('../fonts/dr_agu_sans_medium_medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/dr_agu_sans_medium_medium-webfont.woff') format('woff'),
         url('../fonts/dr_agu_sans_medium_medium-webfont.ttf') format('truetype'),
         url('../fonts/dr_agu_sans_medium_medium-webfont.svg#dragusans-mediumuploaded_file') format('svg');
    font-weight: normal;
    font-style: normal;
  }

body {
    color: #323232;
    font-size: 12px;
    line-height: 1.2;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
* {
    box-sizing: border-box;
}

a:hover {
    text-decoration: none;
}
a:active, a:hover {
    outline: 0;
}
a {
    color: #72aa0b;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}
.node {
    font-size: 14px;
}






.header-top,
#block-proto-main-menu,
.main-content,
#block-views-block-popular-bottom-block-1,
footer#footer {
    padding-left: calc((100% - 1200px)/2);
    padding-right: calc((100% - 1200px)/2);
}

@media screen and (max-width: 1230px) {
    .header-top,
    #block-proto-main-menu,
    .main-content,
    #block-views-block-popular-bottom-block-1,
    footer#footer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* tabs */
.block-tabs .tabs ul {
    display: flex;
    flex-wrap: wrap;
    border: 1px dotted grey;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
}
.block-tabs .tabs ul li {
    margin: 0 20px;
}

/* breadcrumb */
#block-proto-breadcrumbs .breadcrumb {
    padding: 0;
    list-style: none;
    margin-bottom: 15px;
    font-size: 11px;
    color: #999999;
    display: flex;
}
#block-proto-breadcrumbs .breadcrumb li::after {
    content: '\\';
    margin: 0 5px 0 2px;
}
#block-proto-breadcrumbs .breadcrumb li:last-child::after {
    display: none;
}
#block-proto-breadcrumbs .breadcrumb a {
    font-size: 11px;
    color: #72aa0b;
}

/* banner */
.region-header-banner .field-name-body img {
    margin: 0 auto;
}

/* region-header-logo */
.region-header-logo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 15px 0;
}

#block-proto-branding {
    display: flex;
    align-items: center;
    margin-right: auto;
    position: relative;
}
#block-proto-branding .site-slogan {
    color: #bbb;
    color: #bbb;
    width: 108px;
    margin: 0 40px;
}
#block-proto-branding .site-slogan::after {
    content: "0+";
    display: inline-block;
    color: #fff;
    background-color: #c0c0c0;
    border-radius: 15px;
    padding: 4px 5px;
    margin-left: 50px;
    position: absolute;
    right: 0;
    top: 0;
}

/* search */
#block-header-search {
    width: 460px;
}
#views-exposed-form-search-block-1 {
    background-color: #edf3d7;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}
#views-exposed-form-search-block-1 .js-form-type-textfield {
    flex: 1 1 auto;
}
#views-exposed-form-search-block-1 .form-text {
    border-color: #999;
    border-radius: 0;
    padding: 0 0 0 30px;
    font-size: 11px;
    background: url(../images/icon-search.png) 10px center no-repeat #fff;
    height: 22px;
    line-height: 22px;
    width: 100%;
}
#views-exposed-form-search-block-1 .form-submit {
    color: #fff;
    margin-top: 0;
    background: none #690;
    border-radius: 4px;
    border: none;
    border-top: 2px solid #690;
    border-bottom: 2px solid #59830a;
    text-shadow: none;
    padding: 1px 12px;
    box-shadow: none;
    height: 30px;
    min-width: 100px;
}

/* banner */
#block-headerbanner .field-name-body iframe {
    width: 100%;
    max-width: 970px;
}

/* main-menu */
#block-proto-main-menu {
    width: 100%;
    background: url(../img/nav-bg.png) repeat-x;
    min-height: 69px;
}
#block-proto-main-menu .menu {
    min-height: 52px;
    display: flex;
    align-items: center;
    height: auto;
}
#block-proto-main-menu .menu li {
    padding: 0 30px;
    position: relative;
}
#block-proto-main-menu .menu li:first-child {
    padding-left: 0;
}
#block-proto-main-menu .menu li:after {
    top: 22px;
}
#block-proto-main-menu .menu li:after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    top: 6px;
    right: -4px;
    background: #bfd765;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}
#block-proto-main-menu .menu li:last-child::after {
    display: none;
}
#block-proto-main-menu .menu li a {
    font-size: 17px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #cfe2ac;
}
#block-proto-main-menu .menu li a:hover {
    border-bottom: 0;
}


/* burger */
.menu-burger__header {
	position: relative;
    width: 30px;
    height: 35px;
    margin-left: 10px;
    display: none;
    margin-left: auto;
    position: relative;
    top: 8px;
    right: 20px;
}
.menu-burger__header span, .menu-burger__header:after, .menu-burger__header:before{
	height: 3px;
	width: 100%;
	position: absolute;
	background: white;
	margin: 0 auto;
}
.menu-burger__header span{
	top: 16px;
}
.menu-burger__header:after, .menu-burger__header:before{
	content: '';
    /* transform: rotate(90deg); */
    transition: 0.4s;
}
.menu-burger__header:after{
	bottom: 5px;
}
.menu-burger__header:before{
	top: 5px;
}
.menu-burger__header.open-menu span {
	opacity: 0;
    /* transition: 0.5s;  */
}
.menu-burger__header.open-menu:before {
	transform: rotate(38deg);
    top: 16px;
    /* transition: 0.4s; */
}
.menu-burger__header.open-menu:after {
	transform: rotate(-38deg);
    bottom: 16px;
    /* transition: 0.4s; */
}

@media screen and (max-width: 790px) {
    #block-proto-branding {
        justify-content: center;
        width: 100%;
    }
    .header-top .views-exposed-form#block-header-search {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
}
@media screen and (max-width: 700px) {
    #block-proto-branding .site-slogan {
        margin: 0 0 0 40px;
    }
    #block-proto-main-menu .menu {
        display: none;
    }    
    .menu-burger__header {
        display: block;
    }
    #block-proto-main-menu .menu.open-menu {
        display: block;
        background: darkolivegreen;
        margin-top: 18px;
        padding: 20px;
    }
    #block-proto-main-menu .menu li {
        padding-right: 0;
        margin-bottom: 25px;
        padding-left: 0;
    }
    #block-proto-main-menu .menu li:last-child {
        margin-bottom: 0;
    }
    #block-proto-main-menu .menu li::after {
        display: none;
    }
}

.view {
    position: relative;
}


/**********************************************************************************************************/
/* front */
/**********************************************************************************************************/
/* .page-front .layout--twocol > .layout__region--first {
    width: 75%;
}
.page-front .layout--twocol > .layout__region--second {
    width: 25%;
} */
.page-front .layout--twocol > .layout__region--first .views-element-container {
    border-bottom: 1px solid #dedede;
    margin-bottom: 30px;
    padding-bottom: 0;
}
.page-front .layout--twocol > .layout__region--first .views-element-container:last-child {
    border-bottom: none;
}
.page-front .block-region-first h2 {
    background: url(../images/bg-title.jpg) -9px -3px scroll no-repeat transparent;
    background-size: 100% 100%;
    display: inline-block;
    margin: 5px 0 5px;
    padding: 15px 28px 20px 5px;
    font-family: 'dragusans-medium';
    font-size: 2.5em;
}
.view-article.view-display-id-block_2 .more-link {
    position: absolute;
    right: 9px;
    top: -44px;
}
.view-article.view-display-id-block_2 .view-content {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.view-article.view-display-id-block_2 .view-content .views-row {
    width: 33%;
    padding: 0 15px;
    margin-bottom: 30px;
}
.view-article.view-display-id-block_2 .node--type-article.node--view-mode-last-articles-big .title {
    margin-top: 7px;
}

.view-article.view-display-id-block_2 .view-content .views-row img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}
.node--type-article.node--view-mode-last-articles-big h3.title a {
    color: #666;
    text-decoration: none;
    line-height: 1.3;
    font-size: 17px;
}


/* view-afisha view-display-id-block_1 */
.view-afisha.view-display-id-block_1 {
    position: relative;
}
.view-afisha.view-display-id-block_1 .view-header {
    position: absolute;
    right: 0;
    top: -71px;
}
.view-afisha.view-display-id-block_1 .view-header .afisha-add-button {
    text-decoration: none;
    font-size: 1.2em;
    border: 1px solid #690;
    border-radius: 4px;
    display: inline-block;
    padding: 6px 6px 6px 25px;
    text-align: center;
    margin-top: 24px;
    float: right;
    background: url(../images/pencil.png) 5px center scroll no-repeat transparent;
}
.view-afisha.view-display-id-block_1 .view-header .afisha-add-button:hover {
    color: #fff;
    background-color: #7cb902;
}
.view-afisha.view-display-id-block_1 .view-content {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px; 
}

.view-afisha.view-display-id-block_1 .view-content .views-row {
    width: 33%;
    padding: 0 15px;
    margin-bottom: 30px;
}
.view-afisha.view-display-id-block_1 .field-name-field-image img {
    width: 100%;
}
.view-afisha.view-display-id-block_1 h3.title {
    margin-top: 7px;
}
.view-afisha.view-display-id-block_1 h3.title a {
    color: #666;
    text-decoration: none;
    font-size: 1.2em;
}


/* view-orgs view-display-id-block_2 */
.view-orgs.view-display-id-block_2 .more-link {
    position: absolute;
    right: 9px;
    top: -44px;
}
.view .more-link a {
    display: block;
    text-align: center;
    border: 1px solid #690;
    border-radius: 16px;
    padding: 5px 10px;
    text-decoration: none;
    font-weight: normal;
}
view .more-link a:hover {
    color: #fff;
    background-color: #7cb902;
}
.view-orgs.view-display-id-block_2 .view-content {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.view-orgs.view-display-id-block_2 .view-content .views-row {
    width: 33%;
    padding: 0 15px;
    margin-bottom: 30px;
    display: flex;
}
.view-orgs.view-display-id-block_2 .node--type-org.node--view-mode-minimum {
    border: 1px solid #bbb;
    border-radius: 6px;
    padding: 0;
}
.view-orgs.view-display-id-block_2 .node--type-org.node--view-mode-minimum .field-name-field-gallery-photos img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}
.view-orgs.view-display-id-block_2 .node--type-org.node--view-mode-minimum h3.title {
    color: #72aa0b;
    font-size: 15px;
    line-height: 1.2;
    font-weight: bold;
    padding: 10px;
}
.view-orgs.view-display-id-block_2 .node--type-org.node--view-mode-minimum .field-name-field-uslugy {
    padding: 0 10px 10px;
    line-height: 1.2;
}



@media screen and (max-width: 1000px) {
    .page-front .node--view-mode-popular {
        display: block;
    }
    .page-front .node--view-mode-popular .group-right {
        padding-left: 0;
    }
}
@media screen and (max-width: 500px) {
    .view-article.view-display-id-block_2 .view-content .views-row,
    .view-afisha.view-display-id-block_1 .view-content .views-row,
    .view-orgs.view-display-id-block_2 .view-content .views-row {
        width: 100%;
    }
    .view-afisha.view-display-id-block_1 .view-content .views-row .field-name-field-image img {
        margin: 0 auto;
    }
}

/* .page-front .layout--twocol > .layout__region--first {
    width: 75%;
}
.page-front .layout--twocol > .layout__region--second {
    width: 25%;
} */

/* page-afisha */
@media screen and (min-width: 40em) {
    .layout--twocol {
        justify-content: space-between;
        /* flex-wrap: initial; */
    }
    .layout--twocol > .layout__region--first {
        flex: 0 0 calc(100% - 270px);
        width: calc(100% - 270px);
    }
    .layout--twocol > .layout__region--second {
        flex: 0 1 250px;
        width: 250px;
    }
}
.page-afisha .block-region-first {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.page-afisha .pane-title {
    font-family: 'dragusans-medium';
    font-size: 2.5em;
    padding: 5px 0 25px;
    font-weight: normal;
    margin: 0.67em 0;
    width: 100%;
}
/* bef */
.page-afisha .view-search-afisha .view-header {
    position: absolute;
    right: 0;
    top: -77px;
}
.page-afisha .view-search-afisha .view-header .afisha-add-button {
    text-decoration: none;
    font-size: 1.2em;
    border: 1px solid #690;
    border-radius: 4px;
    display: inline-block;
    padding: 6px 6px 6px 25px;
    text-align: center;
    background: url(../images/pencil.png) 5px center scroll no-repeat transparent;
}
.page-afisha .view-search-afisha .view-header .afisha-add-button:hover {
    color: #fff;
    background-color: #7cb902;
}
.page-afisha .view-search-afisha .view-filters {
    background-color: #edf3d7;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: .5em;
}
.page-afisha .view-search-afisha .view-filters form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.page-afisha .view-search-afisha .view-filters form label {
    display: none;
}
.page-afisha .view-search-afisha .view-filters form .form-item {
    margin-right: 15px;
}
.page-afisha .view-search-afisha .view-filters form select,
.page-afisha .view-search-afisha .view-filters form input.form-text {
    background: none #fff;
    border: 1px solid #690;
    width: 150px;
    height: 30px;
    font-size: 13px;
    padding-left: 5px;
}
.page-afisha .view-search-afisha .view-filters .form-actions {
    margin-left: auto;
}
.page-afisha .view-search-afisha .view-filters .form-actions input {
    margin-top: 0;
    background: none #690;
    border-radius: 4px;
    border: none;
    border-top: 2px solid #690;
    border-bottom: 2px solid #59830a;
    text-shadow: none;
    padding: 7px 12px;
    box-shadow: none;
    min-width: 100px;
    color: white;
}




.page-afisha .view-search-afisha .view-content {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.page-afisha .view-search-afisha .view-content .views-row {
    width: 33%;
    padding: 0 15px;
    margin-bottom: 30px;
}
.node--type-action.node--view-mode-teaser .field-name-field-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 5px;
}
.node--type-action.node--view-mode-teaser .field-name-field-image img {
    width: 100%;
}
.node--type-action.node--view-mode-teaser h2.title {
    margin-bottom: 20px;
}
.node--type-action.node--view-mode-teaser h2.title a {
    font-size: 17px;
    font-weight: bold;
    color: #72aa0b;
    border-color: #72aa0b;
    line-height: 1;
    display: block;
    margin: 0 0 20px 0;
    text-decoration: underline;
}
.node--type-action.node--view-mode-teaser .field-name-field-org-where,
.node--type-action.node--view-mode-teaser .field-name-field-where {
    position: relative;
    margin-left: 17px;
}
.node--type-action.node--view-mode-teaser .field-name-field-org-where:before,
.node--type-action.node--view-mode-teaser .field-name-field-where:before {
    background: url(../images/pin.png?1) no-repeat scroll 0 0 transparent;
    content: "";
    display: inline-block;
    width: 11px;
    height: 15px;
    position: absolute;
    left: -16px;
    top: 2px;
}
.node--type-action.node--view-mode-teaser .field-name-field-where .field-item {
    display: inline-block;
}
.node--type-action.node--view-mode-teaser .field-name-field-where a {
    margin-right: 5px;
}
.node--type-action.node--view-mode-teaser .field-name-field-where a::after {
    content: ",";
    margin-right: 5px;
}
.node--type-action.node--view-mode-teaser .field-name-field-where a:last-child:after {
    display: none;
}

.node--type-action.node--view-mode-teaser .field-name-field-agegroup {
    color: #690;
    border: 1px solid #690;
    padding: 1px 3px;
    border-radius: 8px;
    margin-top: 10px;
    display: inline-block;
}

@media screen and (max-width: 1050px) {
    .page-afisha .view-search-afisha .view-filters form {
        flex-wrap: wrap;
        justify-content: center;
    }
    .page-afisha .view-search-afisha .view-filters .form-actions {
        margin-left: 0;
    }
    .page-afisha .view-search-afisha .view-filters form .form-item {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 1030px) {
    .page-afisha .view-search-afisha .view-content .views-row {
        width: 50%;
    }
}
@media screen and (max-width: 750px) {
    .layout--twocol > .layout__region--first {
        flex: 0 1 100%;
        width: 100%;
    }
    .layout--twocol > .layout__region--second {
        flex: 0 1 100%;
        width: 100%;
    }
    .layout--twocol > .layout__region--second .field-name-body  > div {
        margin: 0 auto;
        width: 250px;
    }
}
@media screen and (max-width: 500px) {
    .page-afisha .view-search-afisha .view-content .views-row {
        width: 100%;
    }
}


/* page-article */
.page-article {}
.page-article .block-region-second > .views-element-container > h2 {
    font-size: 40px;
    line-height: 42px;
    margin-top: 0;
    font-family: 'dragusans-medium';
    font-weight: bold;
}

.page-article .layout__region--first h2 {
    font-size: 16px;
    line-height: 19px;
    margin: 0 0 10px 0;
    font-family: 'dragusans-medium';
    padding: 5px 0 25px;
    font-weight: normal;
}

.node--type-article.node--view-mode-teaser {
    background: #fff;
    font-size: 14px;
    line-height: 18px;
    border: 1px solid #e3e3e3;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    position: relative;
}
.node--type-article.node--view-mode-teaser h2.title a {
    font-weight: bold;
    font-size: 20px;
    line-height: 28px;
    color: #323232;
    text-decoration: none;
    border-bottom: 1px solid #999999;
}
.node--type-article.node--view-mode-teaser .group {
    position: relative;
    background-color: #f1f1f1;
    padding: 6px 10px 7px;
    font-size: 11px;
    color: #999999;
    width: 100%;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
}
.node--type-article.node--view-mode-teaser .group .field-name-node-post-date:before {
    content: '';
    background: transparent url(../images/icons.png?1381374454) -2px 0px no-repeat;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
}
.node--type-article.node--view-mode-teaser .field-name-node-post-date > * {
    display: inline-block;
}
.node--type-article.node--view-mode-teaser .node-links .links {
    display: flex;
    flex-wrap: wrap;
}
.node--type-article.node--view-mode-teaser .node-links .links li {
    margin: 0 10px;
}
.node--type-article.node--view-mode-teaser .field-name-field-article-section {
    display: flex;
    flex-wrap: wrap;
    margin: 5px 0 20px;
}
.node--type-article.node--view-mode-teaser .field-name-field-article-section a {
    margin-left: 7px;
    color: #a7a7a7;
}
.node--type-article.node--view-mode-teaser .field-name-field-article-tags {
    clear: both;
    border-top: 1px solid #d5d5d5;
    padding-top: 5px;
    display: flex;
    flex-wrap: wrap;
}
.node--type-article.node--view-mode-teaser .field-name-field-article-tags a {
    margin-right: 10px;
    color: #a7a7a7;
}



/* pager */
.pager {
    display: flex;
    justify-content: center;
    margin: 20px auto;
}
.pager .pager-items {
    display: flex;
    flex-wrap: wrap;
}
.pager .pager-items li {
     margin: 0 5px;
}



/* popular block */
.block-region-bottom .block:first-child {
    background-color: #e4f1fe;
    margin-bottom: 30px;
}
.block-region-bottom h2 {
    display: block;
    text-align: center;
    background: none transparent;
    padding: 35px 0 0 0;
    margin-bottom: 25px;
    /* font-family: 'dragusans-medium'; */
    font-size: 2.5em;
}
.view-popular-bottom {}
.view-popular-bottom .view-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 15px;
    margin: 0 -15px;
}
.view-popular-bottom .view-content .views-row {
    padding: 0 15px;
    width: 33%;
    margin: 0 0 15px;
}
.node--view-mode-popular {
    display: flex;
}
.node--view-mode-popular .group-left {
    flex: 0 0 auto;
}
.node--view-mode-popular .group-right {
    padding-left: 10px;
    flex: 1 1 auto;
}
.node--view-mode-popular .group-right .title a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    border: none;
    word-wrap: break-word;
}
.node--view-mode-popular .group-right .field-name-node-post-date {
    color: #999;
}

@media screen and (max-width: 700px) {
    .view-popular-bottom .view-content .views-row {
        width: 50%;
    }
    .view-popular-bottom .view-content .views-row .node--view-mode-popular {
        display: flex;
    }
    .page-front .node--view-mode-popular .group-right {
        padding-left: 10px;
    }
}
@media screen and (max-width: 500px) {

    .view-popular-bottom .view-content .views-row {
        width: 100%;
    }
    .view-popular-bottom .view-content .views-row .node--view-mode-popular {
        display: flex;
    }
}


/* view-org-terms */
.page-orgs-filter .layout--twocol ,
.page-orgs .layout--twocol,
.page-taxonomy .layout--twocol {
    display: flex;
    flex-wrap: wrap;
}
.page-article .layout__region--first,
.page-orgs-filter .layout__region--first,
.alias-orgs .layout__region--first,
.page-taxonomy .layout__region--first {
    flex: inherit !important;
}
.page-article .layout__region--second,
.page-orgs-filter .layout__region--second,
.alias-orgs .layout__region--second,
.page-taxonomy .layout__region--second {
    flex: 1 1 50%;
}
.page-article .layout__region--third,
.page-orgs-filter .layout__region--third,
.alias-orgs .layout__region--third,
.page-taxonomy .layout__region--third {
    width: 250px;
    flex: inherit !important;
}




.page-title {
    font-size: 2.5em;
    padding: 5px 0 25px;
    font-weight: normal;
    margin: 0.67em 0;
    line-height: 1.2;
    font-family: 'dragusans-medium';
}
.page-taxonomy .page-title {
    font-family: 'dragusans-medium';
    margin-top: 0;
    font-weight: bold;
    font-size: 28px;
    line-height: 30px;
    margin-bottom: 0.2em;
}

.view-org-terms .view-content {}
.view-org-terms .view-content > ul {
    display: flex;
    flex-wrap: wrap;
}
.view-org-terms .view-content > ul > li {
    width: calc(50% - 50px);
    padding: 0 0 20px;
    border-bottom: 1px solid #dedede;
    margin: 0 50px 25px 0;
}
.view-org-terms .view-content > ul > li > .vocabulary-orgs-dir h2 {
    margin-bottom: 20px;
}
.view-org-terms .view-content > ul > li > .vocabulary-orgs-dir h2 a {
    color: #000;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}
.view-org-terms .view-content > ul > li li {
    margin-bottom: 5px;
}
.view-org-terms .view-content > ul > li li a {
    font-size: 12px;
    text-decoration: underline;
}
.view-org-terms .view-content > ul > li li a:hover {
    text-decoration: none;
}





/* .alias-orgs .layout__region--first */
.page-article .layout__region--first,
.page-orgs-filter .layout__region--first,
.alias-orgs .layout__region--first,
.page-taxonomy .layout__region--first {
    width: 175px;
    margin-right: 22px;
}
.page-article .layout__region--first .block-region-first,
.page-orgs-filter .layout__region--first .block-region-first,
.alias-orgs .layout__region--first .block-region-first,
.page-taxonomy .layout__region--first .block-region-first {
    padding: 10px 7px;
    border: 2px solid #7fb220;
    border-radius: 8px;
}

.layout--threecol-25-50-25 .layout__region--first {
    margin-right: 0;
}
.layout--threecol-25-50-25 .layout__region--second {
    margin: 0 15px;
}
.layout--threecol-25-50-25 .layout__region--third {}

/* views-exposed-form */
.layout--threecol-25-50-25 .block-region-first .views-exposed-form .form-item {
    border-bottom: 1px solid #cccccc;
    padding: 10px 0 15px 0;
    display: block;
    float: none;
}
.layout--threecol-25-50-25 .block-region-first .views-exposed-form h2 {
    color: #323232;
    font-size: 20px;
    line-height: 19px;
    font-weight: bold;
    margin-bottom: 7px;
    text-align: center;
}
.layout--threecol-25-50-25 .block-region-first .views-exposed-form .form-item label {
    color: #323232;
    font-size: 14px;
    line-height: 19px;
    font-weight: bold;
    display: block;
    margin-bottom: 7px;
}
.layout--threecol-25-50-25 .block-region-first .views-exposed-form .form-item select {
    width: 100%;
}
.layout--threecol-25-50-25 .block-region-first .views-exposed-form .form-actions {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    display: block;
}
.layout--threecol-25-50-25 .block-region-first .views-exposed-form .form-actions input[type="submit"] {
    font-size: 13px;
    padding: 4px 20px;
    display: inline-block;
    cursor: pointer;
    border-radius: 4px;
    background: linear-gradient(#fae8c8, #eeb854 50%, #dd9227);
    box-shadow: white 0 1px 0 inset;
    border: 1px solid #cb8420;
    color: white;
    text-shadow: #eaa72c 0 -1px 0;
    padding: 4px 10px;
    font-size: 13px;
    text-decoration: none;
}
.layout--threecol-25-50-25 .block-region-first .views-exposed-form .form-actions input[type="submit"]:hover {
    background-color: #dd9227;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f9e4bf), color-stop(50%, #dd9227), color-stop(100%, #bd7c1e));
    background: -webkit-linear-gradient(#f9e4bf, #dd9227 50%, #bd7c1e);
    background: -moz-linear-gradient(#f9e4bf, #dd9227 50%, #bd7c1e);
    background: -o-linear-gradient(#f9e4bf, #dd9227 50%, #bd7c1e);
    background: linear-gradient(#f9e4bf, #dd9227 50%, #bd7c1e);
}
.layout--threecol-25-50-25 .block-region-first .views-exposed-form .form-actions input[type="submit"]:active {
    -webkit-box-shadow: #bd7c1e 0 1px 2px inset;
    -moz-box-shadow: #bd7c1e 0 1px 2px inset;
    box-shadow: #bd7c1e 0 1px 2px inset;
}



/* .node--type-org.ode--view-mode-teaser */
.node--type-org.node--view-mode-teaser {
    border: 1px solid #e3e3e3;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    position: relative;
    line-height: 20px;
    display: flex;
    flex-wrap: wrap;
}
.node--type-org.node--view-mode-teaser .group-header {
    width: 100%;
}
.node--type-org.node--view-mode-teaser .group-left {
    width: 175px;
}
.node--type-org.node--view-mode-teaser .group-middle {
    width: 210px;
    margin-right: 10px;
}
.node--type-org.node--view-mode-teaser .group-right {
    flex: 1 1 auto;
}
.node--type-org.node--view-mode-teaser .group-footer {
    width: 100%;
}

.node--type-org.node--view-mode-teaser h2.title {
    line-height: 28px;
    margin-bottom: 20px;
}
.node--type-org.node--view-mode-teaser h2.title a {
    font-weight: bold;
    border-bottom: 1px solid #999999;
    font-size: 20px;
    line-height: 28px;
    color: #323232;
    text-decoration: none;
}
.node--type-org.node--view-mode-teaser h2.title a:hover {
    border: none;
}


/* meta */
.node--type-org.node--view-mode-teaser .meta {
    position: relative;
    background-color: #f1f1f1;
    padding: 6px 10px 7px;
    font-size: 11px;
    color: #999999;
    float: left;
    width: 100%;
    border-radius: 4px;
    display: flex;
}
.node--type-org.node--view-mode-teaser .meta .field-name-node-changed-date {
    margin-right: 15px;
}
.node--type-org.node--view-mode-teaser .meta .field-name-node-changed-date:before {
    content: '';
    background: transparent url(../images/icons.png?1381374454) -2px 0px no-repeat;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
}
.node--type-org.node--view-mode-teaser .meta .field-name-node-changed-date .field-label-inline {
    display: inline;
    margin-right: 5px;
}


.node--type-org.node--view-mode-teaser .meta .field-name-dynamic-token-fieldnode-ds-total-count {
    display: flex;
    align-items: center;
    color: #72aa0b;
}
.node--type-org.node--view-mode-teaser .meta .field-name-dynamic-token-fieldnode-ds-total-count:before {
    content: '';
    background: transparent url(../images/icons.png?1381374454) -2px -14px no-repeat;
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px;
}



/* info */
.node--type-org.node--view-mode-teaser .old-phone {
    display: flex;
}
.node--type-org.node--view-mode-teaser .old-phone .field-item {
    margin: 5px 0;
}
.node--type-org.node--view-mode-teaser .field-name-field-old-phone {
    font-weight: bold;
    margin-right: 10px;
}
.node--type-org.node--view-mode-teaser .field-name-field-old-phone-note {
    color: #999;
    font-style: italic;
    font-size: .9em;
}
.node--type-org.node--view-mode-teaser .field-name-field-district {
    margin-top: 1em;
    font-weight: bold;
}

.node--type-org.node--view-mode-teaser .field-name-field-tags {
    border-top: 1px solid #d5d5d5;
    padding-top: 10px;
    margin-top: 20px;
}
.node--type-org.node--view-mode-teaser .field-name-field-tags .field-item {
    display: inline-block;
}
.node--type-org.node--view-mode-teaser .field-name-field-tags .field-item a {
    font-size: 11px;
    color: #999999;
    text-decoration: underline;
}
.node--type-org.node--view-mode-teaser .field-name-field-tags .field-item a:hover {
    text-decoration: none;
}
.node--type-org.node--view-mode-teaser .group-right .field-label-above,
.node--type-org.node--view-mode-teaser .group-right .field-label-inline,
.node--type-org.node--view-mode-teaser .group-right .office-hours-status {
    color: #999999;
    font-weight: normal;
}
.node--type-org.node--view-mode-teaser .group-right .field-label-inline {
    display: inline;
    margin-right: 5px;
}
.node--type-org.node--view-mode-teaser .group-right .office-hours__item-label {
    font-weight: normal;
}



@media screen and (max-width: 840px) {
    .node--type-org.node--view-mode-teaser {
        justify-content: center;
    }
    .node--type-org.node--view-mode-teaser .group-middle {
        margin-right: 0;
    }
    .node--type-org.node--view-mode-teaser .group-right {
        flex: 0 0 auto;
        width: auto;
    }
    .node--type-action.node--view-mode-full .field-name-field-tags {
        margin: 10px 0 0 0;
        text-align: center;
    }
}


/* region-footer */
.region-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.region-footer .block {
    /* width: 33.33%;
    margin: 0 -15px; */
}


/* region-footer-bottom */
.region-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    /* width: 100%; */
    justify-content: space-between;
    border-top: 1px solid #dedede;
    margin: 20px 0 0;
    padding: 20px 0 0;
}
#block-footernav {
    max-width: 600px;
}
#block-footernav .menu {}
#block-footernav .menu li {
    display: inline-block;
    width: 196px;
}
#block-copyright {
    width: 100%;
    margin: 1em 0;
}


@media screen and (max-width: 1230px) {
    .region-footer-bottom {
        padding: 20px 15px;
    }
}
@media screen and (max-width: 1040px) {
    .region-footer-bottom {
        padding-left: calc((100% - 600px)/2);
        padding-right: calc((100% - 600px)/2);
    }
    #block-footer,
    #block-kontaktyvpodvale {
        width: 50%;
    }
    #block-footer,
    #block-kontaktyvpodvale,
    #block-footernav {
        margin-bottom: 30px;
    }
    #block-footernav {
        width: 100%;
        max-width: 100%;
    }
    #block-footernav .menu {
        columns: 2;
    }
}
@media screen and (max-width: 630px) {
    .region-footer-bottom {
        padding-left: calc((100% - 250px)/2);
        padding-right: calc((100% - 250px)/2);
    }
    #block-footernav .menu li {
        width: auto;
    }
}
@media screen and (max-width: 440px) {
    #block-footer,
    #block-kontaktyvpodvale {
        width: 100%;
    }
    #block-footernav .menu {
        columns: inherit;
    }
}

/* page-node-type-org */
.node--type-org.node--view-mode-full {
    line-height: 18px;
    font-size: 14px;
}
.node--type-org.node--view-mode-full .group-header {
    border: 1px solid #e3e3e3;
    padding: 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 10px;
    position: relative;
}



.node--type-org.node--view-mode-full h1.title {
    margin: 0 0 20px 0;
    font-weight: bold;
    /* font-size: 20px;
    line-height: 24px;
    color: #323232; */
    font-size: 20px;
    line-height: 28px;
    color: #323232;
    border-bottom: 1px solid #999999;
}
/* meta */
.node--type-org.node--view-mode-full .meta {
    margin-bottom: 4px;
    position: relative;
    background-color: #f1f1f1;
    padding: 6px 10px 7px;
    font-size: 11px;
    color: #999999;
    width: 100%;
    border-radius: 4px;
    display: flex;
}
.node--type-org.node--view-mode-full .meta .field-name-node-changed-date {
    display: flex;
    align-items: center;
    margin-right: 15px;
}
.node--type-org.node--view-mode-full .meta .field-name-node-changed-date .field-label-inline {
    margin-right: 5px;
}
.node--type-org.node--view-mode-full .meta .field-name-node-changed-date:before {
    content: '';
    background: transparent url(../images/icons.png?1381374454) -2px 0px no-repeat;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    margin-bottom: 1px;
}
.node--type-org.node--view-mode-full .meta .field-name-dynamic-token-fieldnode-ds-total-count {
    display: flex;
    align-items: center;
    color: #72aa0b;
}
.node--type-org.node--view-mode-full .meta .field-name-dynamic-token-fieldnode-ds-total-count:before {
    content: '';
    background: transparent url(../images/icons.png?1381374454) -2px -47px no-repeat;
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px;
}

/* tags */
.node--type-org.node--view-mode-full .field-name-field-tags {
    margin: 0 0 18px 0;
    padding: 0;
    border: 0;
}
.node--type-org.node--view-mode-full .field-name-field-tags a {
    display: inline-block;
    margin-right: 10px;
}
.node--type-org.node--view-mode-full .field-name-field-tags a {
    font-size: 11px;
    color: #999999;
    text-decoration: underline;
}

/* info */
.node--type-org.node--view-mode-full .teaser {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    justify-content: space-around;
    line-height: 20px;
}
.node--type-org.node--view-mode-full .teaser .left {
    width: 175px;
}
.node--type-org.node--view-mode-full .teaser .center {
    width: 320px;
}
.node--type-org.node--view-mode-full .teaser .right {
    flex: 1 1 auto;
}
.node--type-org.node--view-mode-full .teaser .old-phone {
    display: flex;
    margin-bottom: 15px;
}
.node--type-org.node--view-mode-full .teaser .field-name-field-old-phone {
    font-weight: bold;
    margin-right: 10px;
}
.node--type-org.node--view-mode-full .teaser .field-name-field-old-phone-note {
    color: #999;
    font-style: italic;
    font-size: .9em;
}
.node--type-org.node--view-mode-full .teaser .field-name-field-district {
    font-weight: bold;
}
.node--type-org.node--view-mode-full .teaser .field-name-field-address {}

.node--type-org.node--view-mode-full .teaser .field-label-inline,
.node--type-org.node--view-mode-full .teaser .field-label {
    color: #999999;
    font-weight: normal;
    display: inline-block;
}
.node--type-org.node--view-mode-full .teaser .field-item {
    display: inline-block;
}
.node--type-org.node--view-mode-full .teaser .right .field-name-field-rating {
    margin-top: 15px;
}


/* tabs */
.node--type-org.node--view-mode-full .group-left {
    width: 100%;
}
.node--type-org.node--view-mode-full .group-left .horizontal-tabs-pane {
    padding: 20px 0;
}
.node--type-org.node--view-mode-full .horizontal-tabs {
    border: none;
}
.node--type-org.node--view-mode-full .horizontal-tabs-list {
    border: none;
    background: none;
}
.node--type-org.node--view-mode-full .horizontal-tab-button {
    border: none;
    background: none;
    min-width: auto;
}
.node--type-org.node--view-mode-full .horizontal-tab-button a {
    display: block;
    cursor: pointer;
    text-decoration: none;
    padding: 0 10px !important;
    font-size: 14px;
    height: 28px;
    line-height: 28px;
    background: none;
}
.node--type-org.node--view-mode-full .horizontal-tab-button a strong {
    border-bottom: 1px dashed #72aa0b;
}
.node--type-org.node--view-mode-full .horizontal-tab-button.selected a {
    background-color: #72aa0b;
    border-radius: 8px;
    color: #fff;
}

.node--type-org.node--view-mode-full .group-left .field-name-field-gallery-photos {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    margin: 0 -10px;
}
.node--type-org.node--view-mode-full .group-left .field-name-field-gallery-photos a {
    width: calc(25% - 20px);
    margin: 0 10px 20px;
    display: block;
}
.node--type-org.node--view-mode-full .group-left .field-name-field-gallery-photos a img {
    width: 100%;
    height: auto;
}




@media screen and (max-width: 700px) {
    .node--type-org.node--view-mode-full .teaser .right {
        flex: 0 1 auto;
    }
}
@media screen and (max-width: 560px) {
    .node--type-org.node--view-mode-full .teaser {}
    .node--type-org.node--view-mode-full .teaser .left,
    .node--type-org.node--view-mode-full .teaser .center,
    .node--type-org.node--view-mode-full .teaser .right {
        max-width: 320px;
    }
}
@media screen and (max-width: 560px) {
    .node--type-org.node--view-mode-full .teaser {}
    .node--type-org.node--view-mode-full .teaser .left,
    .node--type-org.node--view-mode-full .teaser .center,
    .node--type-org.node--view-mode-full .teaser .right {
        max-width: 320px;
    }
}
@media screen and (max-width: 400px) {
    .node--type-org.node--view-mode-full .teaser {}
    .node--type-org.node--view-mode-full .teaser .left,
    .node--type-org.node--view-mode-full .teaser .center,
    .node--type-org.node--view-mode-full .teaser .right {
        max-width: 100%;
        width: 100%;
    }
    .node--type-org.node--view-mode-full .teaser .left img{
        margin: 0 auto;
    }
}




/* viewfield */
.field--name-field-org-news.field--type-viewfield .view-display-id-block_2 {
    margin-bottom: 10px;
    border: 2px solid #7fb220;
    border-radius: 4px;
    padding: 8px;
}
.field--name-field-org-news.field--type-viewfield .view-display-id-block_2 .view-content {
    padding: 0 10px;
}
.field--name-field-org-news.field--type-viewfield .view-display-id-block_2 .view-content .views-row {
    width: 100%;
}


/* page-node-type-action */
.page-node-type-action {}
.node--type-action.node--view-mode-full {
    line-height: 18px;
    font-size: 14px;
}
.node-recomend.page-node-type-action .block-region-first .block {
    background: url(../images/node-spec.png) 0 0;
    padding: 5px;
}
.node--type-action.node--view-mode-full {
    background: white;
}
.node-special .node--type-action.node--view-mode-full .bg {
    background: url(../images/node-spec.png) 0 0;
    padding: 5px;
    margin-bottom: 15px;
}
.node-special .node--type-action.node--view-mode-full .wrap {
    background: white;
}
.node--type-action.node--view-mode-full .wrap {
    padding: 10px;
}
.node--type-action.node--view-mode-full .bg {
    border: 1px solid #e3e3e3;
    padding: 10px;
    border-radius: 4px;
    /* margin-bottom: 10px; */
    position: relative;
}
.node--type-action.node--view-mode-full [class*="field-name-field-date"],
.node--type-action.node--view-mode-full [class*="field-name-field-date"] .field-item {
    display: block !important;
}
.node--type-action.node--view-mode-full h1.title {
    margin: 0 0 20px 0;
    font-size: 20px;
    line-height: 24px;
    color: #323232;
    font-weight: bold;
}
.node--type-action.node--view-mode-full .meta {
    position: relative;
    background-color: #f1f1f1;
    padding: 6px 10px 7px;
    margin-bottom: 8px;
    font-size: 11px;
    color: #999999;
    width: 100%;
    border-radius: 4px;
}
.node-recomend .node--type-action.node--view-mode-full .meta:after {
    content: "";
    display: block;
    position: absolute;
    height: 55px;
    width: 43px;
    background: url(../images/node-recomend.png) 0 0;
    right: 0;
    top: -4px;
}
.node--type-action.node--view-mode-full .field-name-field-tags {
    margin: 0 0 18px 0;
    padding: 0;
    border: 0;
}
.node--type-action.node--view-mode-full .field-name-field-tags .field-item {
    display: inline-block;
    margin-right: 10px;
}
.node--type-action.node--view-mode-full .field-name-field-tags a {
    font-size: 11px;
    color: #999999;
    text-decoration: underline;
}

.node--type-action.node--view-mode-full .right .field .field-label,
.node--type-action.node--view-mode-full .right .field .field-label-inline {
    display: inline-block;
    font-weight: bold;
    margin-right: 15px;
}
.node--type-action.node--view-mode-full .field-item {
    display: inline-block;
}
.node--type-action.node--view-mode-full .right .field {
    margin-bottom: 5px;
}

.node--type-action.node--view-mode-full .teaser {
    display: flex;
    margin-bottom: 20px;
}
.node--type-action.node--view-mode-full .teaser .left {
    /* float: left; */
}
.node--type-action.node--view-mode-full .teaser .right {
    padding-left: 20px;
}

.node--type-action.node--view-mode-full .teaser .right .field-label {
    font-weight: bold;
}

.node--type-action.node--view-mode-full .field-name-body p {
    margin: 1em 0;
}
.node--type-action.node--view-mode-full .field-name-dynamic-block-fieldnode-node-bottom-block,
.node--type-action.node--view-mode-full .field-name-dynamic-block-fieldnode-node-bottom-block .field-item {
    display: block;
}


/* page-article */
.page-front .layout__region--top,
.page-article .layout__region--top {
    flex: inherit;
    width: 100%;
}
.view-slider-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dedede;
}

.view-slider-header .node--view-mode-teaser {
    display: flex;
}
.view-slider-header .field-name-field-image-link {
    display: inline-block;
    vertical-align: top;
    width: 87px;
    margin-right: 10px;
    flex: 0 0 auto;
}
.view-slider-header .field-name-dynamic-token-fieldnode-ds-title-link {
    display: inline-block;
    vertical-align: top;
    width: 120px;
    position: relative;
    top: -4px;
}
.view-slider-header .field-name-dynamic-token-fieldnode-ds-title-link a {
    text-decoration: underline;
    font-size: 12px;
}
.view-slider-header .splide__pagination,
.view-slider-header .splide__autoplay {
    display: none;
}

/* page-node-type-article */
.node--type-article.node--view-mode-full {
    border: 1px solid #e3e3e3;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    position: relative;
}
.node--type-article.node--view-mode-full h1.title {
    margin: 0 0 20px 0;
    font-size: 20px;
    line-height: 24px;
    color: #323232;
    font-weight: bold;
}
.node--type-article.node--view-mode-full .field-name-field-article-section {
    margin: 5px 0 20px;
    color: #a7a7a7;
}
.node--type-article.node--view-mode-full .field-label-inline {
    display: inline-block;
    margin-right: 10px;
}
.node--type-article.node--view-mode-full .meta {
    position: relative;
    background-color: #f1f1f1;
    padding: 6px 10px 7px;
    font-size: 11px;
    color: #999999;
    width: 100%;
    border-radius: 4px;
    display: flex;
}
.node--type-article.node--view-mode-full .meta .field-name-node-post-date {
    margin-right: 15px;
}

.node--type-article.node--view-mode-full .field-name-field-orgs-refs {
    margin: 1em 0;
}
.node--type-article.node--view-mode-full .field-name-field-orgs-refs .field-label {
    font-weight: bold;
}
.node--type-article.node--view-mode-full .field-name-field-orgs-refs .field-items {}
.node--type-article.node--view-mode-full .field-name-field-orgs-refs .field-item {}
.node--type-article.node--view-mode-full .field-name-field-article-tags {
    border-top: 1px solid #d5d5d5;
    padding-top: 5px;
}

.field-name-dynamic-block-fieldnode-ds-articles-similar {
    margin: 1em 0;
}
.field-name-dynamic-block-fieldnode-ds-articles-similar .field-label-above {
    font-size: 1.17em;
    margin: 1em 0;
    font-weight: bold;
}

.field-name-dynamic-block-fieldnode-ds-articles-similar .view-content {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.field-name-dynamic-block-fieldnode-ds-articles-similar .node--type-article.node--view-mode-last-articles-big {
    width: 33.33%;
    padding: 0 15px;
    margin-bottom: 30px;
}
.field-name-dynamic-block-fieldnode-ds-articles-similar .node--type-article.node--view-mode-last-articles-big .title {
    margin-top: 5px;
}
.field-name-dynamic-block-fieldnode-ds-articles-similar .node--type-article.node--view-mode-last-articles-big .title a {
    color: #72aa0b;
    text-decoration: underline;
    font-size: 14px;
    line-height: 18px;
}

.node--type-article.node--view-mode-full .field-name-field-article-tags .field-item {
    display: inline-block;
    margin-right: 10px;
}
.node--type-article.node--view-mode-full .field-name-field-article-tags a {
    color: #a7a7a7;
    text-decoration: underline;
}

.node--type-article.node--view-mode-full .flippy {
    display: flex;
    padding: 0;
    margin: 1em 0;
}
.node--type-article.node--view-mode-full .flippy li {
    width: 50%;
    white-space: inherit;
    padding: 0;
}
.node--type-article.node--view-mode-full .flippy li.flippy-previous {
    text-align: left;
}
.node--type-article.node--view-mode-full .flippy li.flippy-next {
    text-align: right;
}
.node--type-article.node--view-mode-full .flippy li.flippy-previous a::before {
    content: "←";
    margin-right: 5px;
}
.node--type-article.node--view-mode-full .flippy li.flippy-next a::after {
    content: "→";
    margin-left: 5px;
}
@media screen and (max-width: 500px) {
    .field-name-dynamic-block-fieldnode-ds-articles-similar .field-label-above {
        text-align: center;
    }
    .field-name-dynamic-block-fieldnode-ds-articles-similar .node--type-article.node--view-mode-last-articles-big {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 30px;
    }
    .field-name-dynamic-block-fieldnode-ds-articles-similar .field-name-field-article-gallery {}
}

/* typo */
/* .field-name-body {} */
.field-name-body p,
.field-name-body pre {
    margin: 1em 0;
}
.field-name-body img {
    display: initial;
}
.field-name-body p img {
    margin: 0 auto;
    display: initial;
}
.field-name-body .rtecenter {
    text-align: center;
}
.field-name-body a {
    text-decoration: underline;
}
.field-name-body ol,
.field-name-body ul {
    padding: 0 0 0 40px;
    margin: 1em 0;
}
.field-name-body ul {
    list-style-type: disc;
}
.field-name-body blockquote {
    margin: 1em 40px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
} 
table img {
    max-width: initial;
}
td {
    padding: 4px 15px;
}


/* search */
.layout__region--first #views-exposed-form-search-block-1 {
    max-width: 355px;
    margin: 0 auto 15px;
}
.node--view-mode-search-index {
    border: 1px solid #bbb;
    border-radius: 6px;
    padding: 0;
    margin-bottom: 30px;
    display: flex;
}
.node--view-mode-search-index .group-left {
    flex: 0 0 auto;
    width: inherit;
    float: none;
}
.node--view-mode-search-index .group-right {
    flex: 1 1 auto;
    width: inherit;
    float: none;
    padding: 20px;
}
.node--view-mode-search-index h2.title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 15px;
}
.node--view-mode-search-index .field-name-node-link {
    margin-top: 10px;
}

@media screen and (max-width: 460px) {
    .node--view-mode-search-index {
        display: block;
    }
    .node--view-mode-search-index .group-left img {
        margin: 0 auto;
    }
    .node--view-mode-search-index .field-name-node-link {
        text-align: center;
    }
}




#ok_group_widget iframe {
    max-width: 360px;
    width: 100% !important;
}




/* sidebar ads */
.layout--twocol > .layout__region--second .field-name-body > div,
.layout--threecol-25-50-25 > .layout__region--third .field-name-body > div {
    margin-bottom: 15px;
}






/* alias-node-add-action-anonym */
.alias-offer-action {}

.alias-offer-action .form-wrapper,
.alias-offer-action .form-actions {
    margin-bottom: 1em;
}
.alias-offer-action .form-wrapper label,
.alias-offer-action .form-actions label {
    display: block;
    font-weight: bold;
}
.alias-offer-action .marker,
.alias-offer-action .form-required {
    color: #f00;
}
.alias-offer-action input[type="text"],
.alias-offer-action input[type="date"],
.alias-offer-action input[type="time"],
.alias-offer-action input[type="number"] {
    background: none #fff;
    border-radius: 3px;
    border: 1px solid #690;
    height: 31px;
    line-height: 28px;
    color: #bbb;
    font-size: 12px;
    padding: 3px 8px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.alias-offer-action .container-inline {
    margin: 5px 0;
}
.alias-offer-action .container-inline fieldset {
    margin: 5px 0;
    vertical-align: middle;
}


.alias-offer-action .form-checkboxes .form-item,
.alias-offer-action .form-radios .form-item {
    margin-bottom: 0.4em;
}
.alias-offer-action input[type="checkbox"],
.alias-offer-action input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *height: 13px;
    *width: 13px;
}
.alias-offer-action .form-item label.option {
    display: inline;
    font-weight: normal;
}



.alias-offer-action fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}
.alias-offer-action .container-inline fieldset {
    margin: 5px 0;
    vertical-align: middle;
}
.alias-offer-action .legend {
    border: 0;
    padding: 0;
    white-space: normal;
    margin-left: -7px;
}
.alias-offer-action .container-inline legend {
    font-weight: bold;
}

.alias-offer-action .form-actions {}
.alias-offer-action .form-actions input:first-child {
    margin-right: 20px;
}
.alias-offer-action .form-actions input {
    padding: 7px;
}


.alias-offer-action .js-form-type-date {
    display: inline;
}


.alias-offer-action .group-sale label {
    display: none;
}
.alias-offer-action .group-sale .field--widget-number {
    display: inline-block;
}


/* errors */
.form-item--error-message {
    color: red;
}
input.error {
    border: 1px solid red !important;
}



.message.message-error {
    border: 1px solid palevioletred;
    padding: 15px;
    margin-bottom: 20px;
    background: antiquewhite;
}




.page-user .page-title {
    text-align: center;
}
.page-user .user-login-form {
    max-width: 360px;
    width: 100%;
    margin: 30px auto;
    padding: 15px;
    box-sizing: border-box;
}
.page-user .main-content .form-item {
    margin-bottom: 12px;
}
.page-user .main-content label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
    display: block;
}
.page-user .main-content input {
    display: block;
    padding-right: 52.5px;
    width: 100%;
    height: 42px;
    padding: 8px 10px;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
}
.page-user .main-content .description {
    min-height: 24px;
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
    display: inline-block;
    max-width: 100%;
    font-size: 13px;
    display: flex;
    align-items: baseline;
}




/* #block-views-block-popular-bottom-block-1 */
#block-views-block-popular-bottom-block-1 {
    background-color: #e4f1fe;
    padding-bottom: 40px;
    padding-top: 40px;
    margin-bottom: 50px;
}
#block-views-block-popular-bottom-block-1 h2 {
    display: block;
    text-align: center;
    background: none transparent;
    padding: 0;
    margin-bottom: 25px;
    font-family: 'dragusans-medium';
    font-size: 2.5em;
    font-weight: normal;
}
#block-views-block-popular-bottom-block-1 .view-content {
    background: white;
}
#block-views-block-popular-bottom-block-1 .more-link {
    position: absolute;
    right: -15px;
    top: -44px;
}






/* .node--type-photo-contest.node--view-mode-full */


.node--type-photo-contest.node--view-mode-full {
    border: 1px solid #e3e3e3;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    position: relative;
}
.node--type-photo-contest.node--view-mode-full h1.title {
    margin: 0 0 20px 0;
    font-size: 20px;
    line-height: 24px;
    color: #323232;
    font-weight: bold;
}
.node--type-photo-contest.node--view-mode-full .field-name-field-article-section {
    margin: 5px 0 20px;
    color: #a7a7a7;
}
.node--type-photo-contest.node--view-mode-full .field-label-inline {
    display: inline-block;
    margin-right: 10px;
}


.node--type-photo-contest.node--view-mode-full .field-name-field-article-tags {
    border-top: 1px solid #d5d5d5;
    padding-top: 5px;
}
.node--type-photo-contest.node--view-mode-full .field-name-field-article-tags .field-item {
    display: inline-block;
    margin-right: 10px;
}
.node--type-photo-contest.node--view-mode-full .field-name-field-article-tags a {
    color: #a7a7a7;
    text-decoration: underline;
}

.node--type-photo-contest .accordion-title {
    font-size: 14px;
    border-bottom: 1px dashed;
    text-decoration: none;
    margin-bottom: 10px;
    cursor: pointer;
    color: #72aa0b;
    display: inline-block;
}
.node--type-photo-contest .accordion-body {
    display: none;
}

/* contests meta */
.node--type-photo-contest .meta {
    position: relative;
    background-color: #f1f1f1;
    padding: 6px 10px 7px;
    font-size: 11px;
    color: #999999;
    width: 100%;
    border-radius: 4px;
    display: flex;
    margin: 1em 0;
}
.node--type-photo-contest .meta .field-name-node-post-date {
    margin-right: 15px;
}
.node--type-photo-contest .meta .field-name-node-post-date:before {
    content: '';
    background: transparent url(../images/icons.png?1381374454) -2px 0px no-repeat;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
}
.node--type-photo-contest .meta .node-links {
    margin-left: 15px;
}
.node--type-photo-contest .meta .node-links li {
    display: none;
}
.node--type-photo-contest .meta .node-links li:last-child {
    display: block;
}


/* view-contests */
.view-contests .view-header a {
    margin-bottom: 1em;
    text-decoration: underline;
    display: inline-block;
}
.view-contests .view-header a:hover {
    text-decoration: none;
}
.node--type-photo-contest {
    padding: 10px;
    position: relative;
    border: #e3e3e3 1px solid;
    border-radius: 5px;
    margin-bottom: 20px;
}
.node--type-photo-contest.node--view-mode-teaser h2.title {}
.node--type-photo-contest.node--view-mode-teaser h2.title a {
    font-weight: bold;
    border-bottom: 1px solid #999999;
    font-size: 20px;
    line-height: 28px;
    color: #323232;
    text-decoration: none;
}
.node--type-photo-contest.node--view-mode-teaser h2.title a:hover {
    border: none;
}

.node-type-photo-contest.node-view-mode-teaser {}

.field-name-field-photo-contest-ref,
.field-name-dynamic-block-fieldnode-ds-view-photo-works {
    margin-top: 15px;
}
.view-photo-works {}
.view-photo-works .view-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.view-photo-works .node {
    width: 185px;
    margin: 0 10px 15px;
}
.view-photo-works .img-wrap {
    position: relative;
}
.view-photo-works .img-wrap img {
    border: #b2b2b2 1px solid;
    display: block;
}
.view-photo-works .img-wrap .meta {
    position: absolute;
    bottom: 0;
    height: 25px;
    background: rgba(0,0,0,0.8);
    font-size: 10px;    
    color: #999999;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.view-photo-works .node .field-name-node-title {
    margin: 10px 0 5px
}
.view-photo-works .node .wrap {
    margin: 5px 0
}
.view-photo-works .node .wrap .field {
    display: inline;
    font-weight: bold;
}
.field-name-field-child-name::after {
    content: ",";
}











/* node--type-photo-contest-work.node--view-mode-full */
.node--type-photo-contest-work.node--view-mode-full {}
.node--type-photo-contest-work.node--view-mode-full {
    border: 1px solid #e3e3e3;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    position: relative;
}
.node--type-photo-contest-work.node--view-mode-full h1.title {
    margin: 0;
    font-size: 20px;
    line-height: 24px;
    color: #323232;
    font-weight: bold;
}
/* .node--type-photo-contest-work.node--view-mode-full.field-name-field-article-section {
    margin: 5px 0 20px;
    color: #a7a7a7;
}
.node--type-photo-contest-work.node--view-mode-full.field-label-inline {
    display: inline-block;
    margin-right: 10px;
} */
.node--type-photo-contest-work.node--view-mode-full .node--type-photo-contest {
    padding: 0;
    border: none;
    border-bottom: 1px solid #e3e3e3;
}



/* .node--type-photo-contest-work meta */
.node--type-photo-contest-work .meta {
    position: relative;
    background-color: #f1f1f1;
    padding: 6px 10px 7px;
    font-size: 11px;
    color: #999999;
    width: 100%;
    border-radius: 4px;
    display: flex;
    margin: 1em 0;
}
.node--type-photo-contest-work .meta .field-name-node-post-date {
    margin-right: 15px;
}
.node--type-photo-contest-work .meta .field-name-node-post-date:before {
    content: '';
    background: transparent url(../images/icons.png?1381374454) -2px 0px no-repeat;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
}
.node--type-photo-contest-work .meta .node-links {
    margin-left: 15px;
}
.node--type-photo-contest-work .meta .node-links li {
    display: none;
}
.node--type-photo-contest-work .meta .node-links li:last-child {
    display: block;
}

.node--type-photo-contest-work .img-wrap {
    position: relative;
    display: inline-block;
    margin:  0;
}
.node--type-photo-contest-work .img-wrap .meta {
    position: absolute;
    bottom: 0;
    height: 25px;
    background: rgba(0,0,0,0.8);
    font-size: 10px;    
    color: #999999;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.node--type-photo-contest-work .field-name-node-title,
.node--type-photo-contest-work .field-name-body.field-type-text-with-summary,
.node--type-photo-contest-work .children-info  {
    margin: 5px;
    font-size: 15px;
}
.node--type-photo-contest-work .children-info {
    display: flex;
    font-weight: bold;

}
.node--type-photo-contest-work .field-name-body.field-type-text-with-summary p {
    margin: 0;
}
.node--type-photo-contest-work .field-name-field-child-name::after {
    content: ",";
    margin-right: 5px;
}

.node--type-photo-contest-work .field-name-dynamic-block-fieldnode-ds-view-photo-works-other {
    border-top: 1px solid #e3e3e3;
    margin-top: 20px;
    padding-top: 10px;
}
.node--type-photo-contest-work .field-name-dynamic-block-fieldnode-ds-view-photo-works-other .field-label {
    font-family: 'dragusans-medium';
    font-size: 2.5em;
    padding: 0;
    font-weight: normal;
    margin: 0 0 20px 0;
}
.node--type-photo-contest-work .field-name-dynamic-block-fieldnode-ds-view-photo-works-other .splide__autoplay {
    display: none; 
}