/**
 * Slider
 */

#homepage-gallery-wrap {
    width: 100%;
    height: auto;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    border-radius: 7px;
    overflow: hidden;
    padding-bottom: 40%;
}

@media (max-width: 520px) {
    #homepage-gallery-wrap {
        height: 200px;
    }
}

#homepage-gallery-wrap::before {
    content: '';
    width: 100px;
    height: 100px;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("/images/logo.png");
    animation: loadingspinner 2s infinite linear;
}

@keyframes loadingspinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

#homepage-gallery {
    overflow: hidden;
    width: 100%;
    height: 100%; /*500px*/
    display: block !important;
    position: absolute;
    z-index: 1;
}

#homepage-gallery .gallery-slider {
    width: 100%;
    height: 100%; /*500px*/
    opacity: 0;
}

#homepage-gallery .gallery-slider .owl-stage-outer,
#homepage-gallery .gallery-slider .owl-stage-outer .owl-stage,
#homepage-gallery .gallery-slider .owl-stage-outer .owl-stage .owl-item {
    height: 100%;
}

#homepage-gallery .gallery-slider-slide {
    width: 100%;
    height: 100%; /*500px*/
    background-size: cover;
    background-position: center;
    position: relative;
}

#homepage-gallery .gallery-slider-slide:before {
    width: 100%;
    height: 100%;
    display: block;
    content: '';
    background: rgba(0, 0, 0, 0.5);
}

#homepage-gallery .gallery-slider-slide a {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 10px;
    font-size: 32px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
}

#homepage-gallery .gallery-load {
    width: 100%;
    height: 100%; /*500px*/
    background: rgba(0, 0, 0, 0.5);
}

#homepage-gallery .owl-nav.disabled {
     display: none;
}

#homepage-gallery .owl-dots {
    position: absolute;
    left: 0;
    bottom: 5px;
}

#homepage-gallery .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin: 0 5px;
    background-color: #fff;
    border-radius: 5px;
}

#homepage-gallery .owl-dots .owl-dot.active {
     background-color: #0b520e;
}

/**
 * Content
 */

.homepage-column {
    float: left;
}

#homepage-columns {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
    box-sizing: border-box;
}

#homepage-columns .homepage-column {
    flex: 0 0 20%;
    max-width: 20%;
    padding-right: 10px;
    padding-left: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

#homepage-columns #homepage-column-left {
    order: 1;
}

#homepage-columns #homepage-column-center {
    order: 2;
    flex: 0 0 60%;
    max-width: 60%;
}

#homepage-columns #homepage-column-right {
    order: 3;
}

#homepage-columns .homepage-column .panel {
    margin-top: 20px;
}

#homepage-columns .panel {

}

#homepage-columns .panel h2 {
    font-weight: bold;
}

#homepage-columns .panel p, .panel a, .panel h3 {
    font-size: 14px;
}

#homepage-columns .panel ul li {
    list-style-type: none;
    padding: 4px 0;
}

#homepage-columns .panel ul li a {

}

#homepage-columns .panel table {
    width: 100%;
}

#homepage-columns .panel table tr {
    border-bottom: 1px solid #CCCCCC;
}

#homepage-columns .panel table tr th, .panel table tr td {
    padding: 5px 0;
}

#homepage-columns .panel table tr th:first-child {
    text-align: left;
}

#homepage-columns .panel table tr th:last-child, .panel table tr td:last-child {
    text-align: right;
}

#homepage-columns .panel h4 {
    color: #115098;
    display: inline;
    font-size: 16px;
    border: 0;
    font-weight: bold;
}

#homepage-columns .panel#panel-content h1 {
    font-size: 20px;
    color: #115098;
    margin: 0 0 15px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

#homepage-columns .panel#panel-content .panel-content-sections {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
    box-sizing: border-box;
}

#homepage-columns .panel#panel-content .panel-content-sections:after {
    content: '';
    display: block;
    clear: both;
}

#homepage-columns .panel#panel-content .panel-content-section {
    flex: 0 0 33.3%;
    max-width: 33.3%;
    padding-right: 10px;
    padding-left: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

#homepage-columns .panel#panel-content .panel-content-section .panel-content-section-inner {
    width: 100%;
    height: 240px;
    display: block;
    background-color: #d6dcdd;
    border-radius: 7px;
    box-sizing: border-box;
    padding: 15px 10px 10px;
    text-decoration: none;
}

#homepage-columns .panel#panel-content .panel-content-section .panel-content-section-inner i {
    font-size: 80px;
    line-height: 80px;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

#homepage-columns .panel#panel-content .panel-content-section .panel-content-section-inner h4 {
    font-size: 30px;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

#homepage-columns .panel#panel-content .panel-content-section .panel-content-section-inner p {
    text-align: center;
}

#homepage-columns .panel#panel-content .panel-content-section .panel-content-section-inner:hover h4 {
    color: #D31141;
}

#homepage-columns .panel#panel-user a {
    margin: 2px 0;
    display: block;
}

#homepage-columns .panel#panel-user .avatar {
    display: block;
    margin: 0 auto;
}

#homepage-columns .panel#panel-news ul {
    margin-bottom: 10px;
}

#homepage-columns .panel#panel-news ul li {
    position: relative;
    border-bottom: 1px dashed #CCCCCC;
    padding: 10px 0 10px 20px;
}

#homepage-columns .panel#panel-news ul li:after {
    content: '';
    display: block;
    clear: both;
}

#homepage-columns .panel#panel-news ul li i {
    position: absolute;
    left: 0;
    top: 11px;
    font-size: 14px;
    color: #115098;
}

#homepage-columns .panel#panel-news ul li a {

}

#homepage-columns .panel#panel-news ul li span {
    float: right;
    display: block;
    margin-left: 30px;
    line-height: 17px;
}

#homepage-columns .panel#panel-gallery ul {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    margin-block-start: 0;
    margin-block-end: 0;
}

#homepage-columns .panel#panel-gallery ul li {
    flex: 0 0 33.3%;
    max-width: 33.3%;
    padding-right: 10px;
    padding-left: 10px;
    box-sizing: border-box;
    position: relative;
}

#homepage-columns .panel#panel-gallery ul li a {
    width: 100%;
    display: block;
    position: relative;
    padding-bottom: 100%;
    margin-bottom: 20px;
    list-style-type: none;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #d6dcdd;
    border-radius: 7px;
    overflow: hidden;
}

#homepage-columns .panel#panel-gallery ul li a div {
    width: 100%;
    min-height: 65px;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
}

#homepage-columns .panel#panel-gallery ul li a div p {
    color: #fff;
    line-height: 15px;
}

#homepage-columns .panel#panel-gallery ul li a div p:last-child {
    position: absolute;
    bottom: 5px;
    left: 10px;
    margin: 0;
}

#homepage-columns .panel#panel-login form {
    margin-bottom: 20px;
}

#homepage-columns .panel#panel-login form input[type="text"], #homepage-columns .panel#panel-login form input[type="password"] {
    width: 100% !important;
    height: 25px;
    box-sizing: border-box;
}

@media (max-width: 1170px) {
    #homepage-columns .panel#panel-content .panel-content-section {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 920px) {
    #homepage-columns .panel#panel-content .panel-content-section {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #homepage-columns .homepage-column {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #homepage-columns #homepage-column-left {
        order: 2;
    }

    #homepage-columns #homepage-column-center {
        order: 1;
        flex: 0 0 100%;
        max-width: 100%;
    }

}

@media (max-width: 420px) {
    #homepage-columns .homepage-column, #homepage-columns #homepage-column-center {
        flex: 0 0 100%;
        max-width: 100%;
        float: none;
    }

    #homepage-columns #homepage-column-left {
        order: 3;
    }

    #homepage-columns #homepage-column-right {
        order: 2;
    }
}

@media (max-width: 700px) {
    #homepage-columns .panel#panel-gallery ul li {
        flex: 0 0 100%;
        max-width: 100%;
    }

}