﻿* {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
form,
label,
ul,
ol,
dl,
fieldset,
address {
    margin: 1em 0;
}
p {
    font-size: 18px;
    line-height: 25px;
}
a:link,
a:visited {
    color: #538fce;
    text-decoration: none;
    transition-duration: 0.5s;
}
a:hover,
a:active {
    color: #0a3765;
    text-decoration: none;
}
fieldset {
    padding: 0.5em;
}
img {
    border: 0;
}
.noresize {
    max-width: 100%;
}
.jmodedit,
.jmenuedit,
.mod-menu div[role="tooltip"],
.mod-custom div[role="tooltip"] {
    display: none !important;
}
#header {
    width: 100%;
    text-align: center;
    background: #538fce;
}
ul.mod-menu li {
    list-style: none;
    transition-duration: 0.5s;
}
a.thumbnail.zoomin {
    margin-right: 5px;
}
.item-page .item-image {
    text-align: center;
}
.item-page .item-image img {
    max-height: 800px;
    max-width: 100%;
    height: auto;
}
.item-page dd.published {
    font-size: 70%;
    font-style: italic;
}
.item-page {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px #333;
    padding: 5px 20px;
}
.article-info-term {
    display: none;
}
.items-more,
.pagination__wrapper,
#footer {
    clear: both;
}
.orphus {
    width: 60%;
    margin: 10px auto;
    text-align: center;
    padding: 10px;
    background: #990000;
    color: #fff;
}
#footer {
    width: 100%-40px;
    background: #0a3765;
    text-align: center;
    color: #fff;
    padding: 40px;
    margin-bottom: -30px;
}
#footer a:hover {
    color: #656565;
}
#hide {
    display: none;
}
.pagination__wrapper {
    text-align: center;
    padding-top: 20px;
}
.counter {
    display: none;
}
.pagination__wrapper ul {
    -webkit-padding-start: 0;
}
.pagination__wrapper ul li {
    display: inline-block;
    margin: 0 5px 10px;
    background: #aacef0;
}
.pagination__wrapper ul li a,
.pagination__wrapper ul li span {
    display: block;
    line-height: 50px;
    padding: 0 20px;
}
.blog-items {
    display: flex;
    flex-flow: row wrap;
}
@media (min-width: 900px) {
    #header {
        margin-top: -20px;
    }
    .hidden-menu-ticker {
        display: none;
    }
    ul.mod-menu {
        -webkit-padding-start: 0;
        width: 100%;
        background: #0a3765;
        text-align: center;
        margin-top: 0;
    }
    ul.mod-menu li {
        display: inline-block;
    }
    ul.mod-menu li:hover {
        background: #538fce;
    }
    ul.mod-menu li a {
        color: #fff;
        display: block;
        padding: 25px 16px;
    }
    .edit-icon {
        float: right;
        list-style: none;
    }
    .edit-icon a img {
        width: 18px;
        height: 18px;
    }
    .my-date {
        text-align: center;
        width: 80px;
        font-size: 12px;
        font-weight: bold;
    }
    .my-day {
        padding: 5px 0;
        background: #3476bb;
    }
    .my-month {
        padding: 5px 0;
        background: #0a3765;
    }
    .my-year {
        padding: 5px 0;
        background: #3476bb;
    }
    .blog-item {
        width: 400px;
        margin: 0 25px;
        float: left;
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-end;
    }
    .blog-item .item-title {
        width: 400px;
        margin: 1em 0 0;
        vertical-align: bottom;
        display: table-cell;
        text-align: center;
        color: #444;
    }
    .blog-item .item-image {
        width: 400px;
        height: 300px;
        margin-top: 10px;
        overflow: hidden;
        box-shadow: 1px 1px 10px #333;
    }
    .blog-item .item-image figure {
        margin-top: 0;
    }
    .blog-item .item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .intro-block {
        width: 380px;
        height: 280px;
        padding: 10px;
        margin-top: -300px;
        background: #222;
        opacity: 0;
        color: #fff;
        display: block;
        transition-duration: 0.5s;
    }
    .blog-item .item-image:hover .intro-block {
        display: block;
        opacity: 0.8;
    }
    .article-info {
        margin-top: 0;
    }
    a.my-readmore {
        background: #0a3765;
        color: #fff;
        width: 380px;
        text-align: center;
        padding: 15px 0;
        display: block;
        font-weight: bold;
    }
    a.my-readmore:hover {
        color: #538fce;
        background: #fff;
    }
    #login {
        width: 200px;
        height: 30px;
        transform: rotate(270deg);
        position: fixed;
        top: 50%;
        left: -86px;
        color: #fff;
        background: #0a3765;
        line-height: 30px;
        text-align: center;
        z-index: 2;
        border-radius: 0 0 7px 7px;
        transition-duration: 0.5s;
        box-shadow: 0 0 15px #333;
    }
    #login-form {
        width: 180px;
        height: 180px;
        padding: 10px;
        margin: -230px 0 0 0;
        transform: rotate(90deg);
        background: #538fce;
        box-shadow: 0 0 15px #333;
    }
    #login:hover {
        left: 113px;
    }
}
@media (min-width: 1800px) {
    .container,
    #header img {
        width: 1800px;
        margin: 0 auto -7px;
    }
}
@media (min-width: 1350px) and (max-width: 1799px) {
    .container,
    #header img {
        width: 1350px;
        margin: 0 auto -7px;
    }
}
@media (min-width: 900px) and (max-width: 1349px) {
    .container,
    #header img {
        width: 900px;
        margin: 0 auto -7px;
    }
}
@media (max-width: 899px) {
    #wrap {
        margin-left: 0;
        transition-duration: 0.5s;
        width: 100%;
    }
    .container {
        padding: 10px;
    }
    .item-page {
        box-shadow: none;
        padding: 0;
    }
    #header {
        margin-top: -20px;
    }
    #header p {
        margin-top: 0;
    }
    #header img {
        margin: 0 0 -7px 40px;
        width: 90%;
    }
    .menu-trigger {
        width: 40px;
        height: 40px;
        background: url(../images/burger.png) #333;
        top: 0;
        left: 0;
        display: block;
        transition-duration: 0.5s;
        margin: 0;
        position: absolute;
        z-index: 2;
    }
    .hidden-menu-ticker:checked ~ .menu-trigger {
        margin-left: 220px;
    }
    .hidden-menu-ticker:checked ~ #wrap {
        margin-left: 220px;
    }
    .hidden-menu-ticker:checked ~ #sidebar {
        left: 0;
    }
    #sidebar {
        width: 200px;
        padding: 10px;
        background: #0a3765;
        top: 0;
        left: -220px;
        transition-duration: 0.5s;
        position: absolute;
    }
    .edit-icon,
    .my-date {
        display: none;
    }
    .item {
        border-bottom: #333 1px solid;
        padding-bottom: 25px;
    }
    .item-image img {
        width: 100%;
        height: auto;
    }
    ul.mod-menu {
        -webkit-padding-start: 0;
        margin-top: 0;
    }
    ul.mod-menu li {
        padding: 5px 10px;
        border-top: 1px solid #538fce;
    }
    ul.mod-menu li:first-child {
        border-top: none;
    }
    ul.mod-menu li:hover {
        background: #538fce;
    }
    ul.mod-menu li a {
        color: #fff;
        padding: 10px;
        display: block;
    }
    #login {
        background: #538fce;
        padding: 5px;
        text-align: center;
        color: #fff;
        margin: -10px 0 15px 0;
    }
    #login span {
        font-weight: bold;
        font-size: 18px;
    }
    #login span.add-on {
        font-weight: normal;
    }
}

.gallery {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery.one {
    display: block;
}

.gallery a {
    width: calc(33% - 10px);
    height: auto;
}

.gallery a.float-left {
    float: left;
    margin-right: 20px;
}

.gallery a.float-right {
    float: right;
    margin-left: 20px;
}

.gallery a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.share {
    margin-top: 1em;
    margin-bottom: 1em;
}

.share span.share-text {
    font-size: 70%;
    font-weight: bold;
    border-top: #dbdbdb 1px solid;
    padding-top: 10px;
}

.share-button {
    display: inline-block;
    width: 100px;
    text-align: center;
    font-size: 70%;
    margin: 0 5px 10px 0;
    padding: 7px 10px;
    border: #dbdbdb 1px solid;
    border-radius: 3px;
    color: #656565 !important;
    background: #f8f8f8;
}

.share-button:hover {
    border: #a8a8a8 1px solid;
    color: #656565;
}

.rapid_contact.form-control {
    padding: 20px;
    border: #bebebe 1px solid;
    border-radius: 5px;
}

.rapid_contact.btn {
    padding: 20px;
    color: white;
    background: #0a3765;
    border: 0;
    border-radius: 5px;
}
