:root {
    --color: #000;
    --color-invert: #fff;
    --boom-red: #EE2134;
}

img {
    max-width: 100%;
    height: auto;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

ul li ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif !important;
    font-weight: 400;
}

#jm-main {
    padding-top: 20px;
}

.owl-dots {
    text-align: center;
    margin-top: 15px;
}

.owl-dots button {
    background: none;
    border: solid 2px #b5b5b5 !important;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    margin: 0 4px;
}

.owl-dots button.active {
    border-color: var(--boom-red) !important;
    background: var(--boom-red);
}

.title-border {
    border-bottom: solid 5px var(--boom-red);
    padding-bottom: 10px;
}

.button, a.button {
    background: none;
}

.button:hover, a.button:hover {
    border-color: var(--boom-red);
}

.button-red, a.button-red, button.button-red {
    background: var(--boom-red);
    border-color: var(--boom-red);
    color: #fff;
}

.button-red:hover, a.button-red:hover, button.button-red:hover {
    background: #000;
    border-color: #000;
}

/* Header */

header {
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 9;
}

.top-bar {
    background: #000;
    padding: 10px 0;
}

.top-bar a {
    color: #fff;
}

.top-bar a:hover {
    color: var(--boom-red);
}

.top-bar__inner {
    position: relative;
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.top-bar__logo {
    max-width: 320px;
}

.top-bar__social {
    position: absolute;
    right: 0;
}

.social ul {
    display: flex;
}

.social li {
    background: none !important;
    padding: 0 !important;
}

.social a {
    display: inline-block;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    text-decoration: none;
}

.social a:before {
    font-family: "Font Awesome 5 Brands";
}

header .menu {
    box-shadow: 0 3px 30px rgb(0 0 0 / 11%);
}

ul.navbar-nav {
    margin: 0;
    padding: 0;
    text-align: center;
}

header .menu li {
    display: inline-block;
    position: relative;
    padding: 5px;
    margin: 0 10px;
}

header .menu li > a,
header .menu li > span {
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

header .menu li.active > a,
header .menu li.active > span {
    color: var(--boom-red);
}

header .menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    width: 250px;
    padding: 15px 10px;
    margin: 0;
    text-align: left;
    background: #fff;
    box-shadow: 0 3px 30px rgb(0 0 0 / 11%);
}

body:not(.responsive) header .menu li:hover ul {
    display: block;
}

header .menu li ul li {
    display: block;
}

/* HP */

.top-section {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 20px;
    flex-direction: row;
    flex-wrap: nowrap;
    border-bottom: solid 1px #ddd;
}

.top-section .nice-module {
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
}

.post-slider {
    width: 70%;
}

.post-slider__item {
    display: flex;
}

.post-slider__item__image {
    -ms-flex: 0 0 61%;
    flex: 0 0 61%;
    max-width: 61%;
}

.post-slider__item__image > a {
    display: block;
    padding-top: 54%;
    background-size: cover;
    background-position: center;
}

.post-slider__item__info {
    padding-left: 5%;
}

.post-slider__item__info h2 {

}

.post-slider__item__info .button {
    margin-top: 20px;
}

.showcase {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8%;
}

.showcase__section__navi {
    display: flex;
    border-bottom: solid 1px #000;
}

.showcase__section__navi a {
    padding: 5px 20px;
    text-decoration: none;
}

.showcase__section__navi a.active {
    background: #000;
    color: #fff;
}

.showcase__section {
    width: 100%;
}

.showcase__section:not(:first-child) {
    padding-top: 20px;
    margin-top: 20px;
}

.showcase__section[data-size="half"] {
    width: 46%;
}

.showcase__section__category {
    display: none;
}

.showcase__section__category.active {
    display: flex;
}

.showcase__section[data-size="full"] .showcase__section__category {
    flex-direction: row;
    gap: 10%;
}

.showcase__section[data-size="half"] .showcase__section__category {
    flex-direction: column;
}

#mod383_djtabs .showcase__section[data-size="full"] .post-item {
    width: 45%;
}

#mod383_djtabs .showcase__section .post-item .djtabs-article-content {
    margin-left: 0;
    margin-right: 0;
}

#mod383_djtabs .showcase__section .post-item .djtabs-panel-title {
    width: 100%;  
}

#mod383_djtabs .showcase__section .post-item[data-version="2"] .djtabs-panel {
    height: auto;
}

#mod383_djtabs .showcase__section .post-item[data-version="2"] .djtabs-panel-title {
    line-height: 1em;
}

#mod383_djtabs .showcase__section .post-item .djtabs-panel-title {
    margin-left: 0;
}

#mod383_djtabs .showcase__section .post-item .djtabs-panel-title a {
    text-overflow: ellipsis;
}

#mod383_djtabs .showcase__section .post-item[data-version="2"] .post-img {
    width: 100px;
    height: 70px;
}

.right-column .nice-module {
    margin: 10px 0;
}

/* Content */

#jm-content iframe {
    max-width: 100%;
}

.search__input {
    position: relative;
}

.search__input input {
    width: 100%;
    border-radius: 0;
    padding: 5px 13px;
    height: auto;
}

.search__input button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translatey(-47%);
    border: none;
    background: none;
}

.search__input button:before {
    /* font-family: "Font Awesome 5 Free"; */
}

/* Post */

.image-slider {
    width: 100%;
}

.image-slider__item {
    display: flex;
    flex-direction: column;
}

.image-slider__item__image {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.image-slider__item__image > a {
    display: block;
    padding-top: 54%;
    background-size: cover;
    background-position: center;
}

.image-slider__caption {
    font-size: 14px;
    font-style: italic;
    color: #636363;
    margin: 0;
}

.post__slider {
    margin: 25px 0 10px;
}

.post__videos {
    margin-top: 50px;
}

.post__videos__item {
    margin-bottom: 20px;
}

.post__videos__video {
    position: relative;
    width: 100%;
    padding-top: 56%;
}

.post__videos__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.post__videos__caption {
    font-size: 14px;
    font-style: italic;
    color: #636363;
    margin: 0;
}

.post-img {
    width: 180px;
    height: 130px;
    float: left;
    margin-right: 10px;
}

.post-img img,
.post-img .img-placeholder {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.img-placeholder {
    display: flex;
    background: #000;
    /* border-radius: 20px; */
    align-items: center;
    justify-content: center;
}

.img-placeholder img {
    width: 70%;
    height: auto;
    object-fit: contain;
}

.post__detail {
    border-color: var(--boom-red);
    border-top-width: 5px;
    border-top-style: solid;
    padding-top: 30px;
}

.post__basic-info > span:not(:first-child):before {
    content: "/";
    margin: 0 10px;
}

.post__basic-info > span strong {
    color: #a9a9a9;
}

.post__image {
    position: relative;
    margin: 30px 0;
    height: 500px;
}

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

.post__image-caption {
    margin: -30px 0 30px;
    font-size: 14px;
    font-style: italic;
}

.post__content p {
    margin: 25px 0;
}

.post__content figure.image {
    margin: 0;
}

.post__content figure.image.align-left {
    float: left;
    margin-right: 20px;
}

.post__content figure.image.align-right {
    float: right;
    margin-left: 20px;
}

/* Breadcrumbs */

.breadcrumbs ol {
    list-style: none;
    padding: 0;
}

.breadcrumbs ol li {
    display: inline-block;
}

.breadcrumbs ol li:not(:first-child):before {
    content: "/";
    margin: 0 5px;
}

div.pagination {
    margin-top: 30px;
}

div.pagination ul li a:hover {
    border-color: var(--boom-red) !important;
}

div.pagination ul li span, div.pagination ul li a > span {
    font-weight: bold;
}

div.pagination ul li a:hover,
div.pagination ul li a:hover > span {
    color: #fff;
}

div.pagination ul li a > span,
div.pagination ul li span > span {
    border: none;
    background: none;
}

div.pagination ul li.disabled span {
    opacity: 0.5;
}

div.pagination ul li.active span {
    background: var(--boom-red);
    border-color: var(--boom-red);
    color: var(--color-invert);
}

/* Team */

.team__item {
    display: flex;
    margin: 60px 0;
}

.team__item__photo {
    flex: 0 0 20%;
}

.team__item__info {
    padding-left: 5%;
}

.team__item__top {
    display: flex;
    justify-content: space-between;
}

.team__item__top__left h2 {
    margin-bottom: 0;
}

.team__item__position {
    margin: 0;
    font-style: italic;
    color: var(--boom-red);
}

.team__item__text {
    margin-top: 30px;
}

/* Gallery */

.gallery__navi {
    margin: 30px 0;
}

.gallery__navi ul {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    gap: 1%;
}

.gallery__navi__item {
    background: none !important;
    padding: 0 !important;
}

.gallery__navi__item a {
    padding: 5px 10px;
    background: #000;
    color: #fff;
    text-decoration: none;
}

.gallery__navi__item a:hover,
.gallery__navi__item--active a {
    background: var(--boom-red);
}

.gallery__photos {
    display: flex;
    flex-wrap: wrap;
}

.gallery__photo {
    margin: 1.5%;
    flex: 0 0 17%;
}

.gallery__albums {
    display: flex;
    flex-wrap: wrap;
}

.gallery__album {
    margin: 1.5%;
    flex: 0 0 22%;
    text-align: center;
}

.gallery__album a {
    text-decoration: none;
}

.gallery__album__title {
    display: block;
    font-size: 14px;
    font-weight: bold;
    line-height: 17px;
    margin-top: 10px;
}

.gallery__pagination {
    margin: 30px 0;
    padding-top: 20px;
    border-top: solid 5px var(--boom-red);
}

.gallery__pagination ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 !important;
    gap: 1%;
}

.gallery__pagination__item {
    background: none !important;
    padding: 0 !important;
}

.gallery__pagination__item a {
    padding: 5px 10px;
    background: #000;
    color: #fff;
    text-decoration: none;
}

.gallery__pagination__item a:hover {
    background: var(--boom-red);
}

/* Footer */

footer {
    background: #000;
    color: #fff;
    margin-top: 70px;
}

footer .container {
    padding: 30px 0;
}

.footer__content {
    display: flex;
    justify-content: space-between;
}

.footer__logo {
    max-width: 200px;
}

.footer__copyright {
    display: flex;
    text-align: center;
    margin-top: 40px;
    justify-content: space-between;
}

.footer__menu {
    display: flex;
}

.footer__menu ul {
    margin: 0 10px;
}

.menu-btn__container {
    display: none;
}

.menu-btn {
    display: inline-block;
    margin: 3px;
    padding: 4px;
    position: relative;
    width: 36px;
}

.menu-btn span {
    display: inline-block;
    background: #fff;
    border-radius: 2px;
    display: block;
    height: 2px;
    margin: 8px 1px;
    position: relative;
    -moz-transition: background .2s;
    -o-transition: background .2s;
    -webkit-transition: background .2s;
    transition: background .2s;
}

@media all and (max-width: 1400px) {
    .showcase__section__navi a {
        padding: 0px 12px;
        font-size: 12px;
    }
}

@media all and (max-width: 992px) {
    .top-bar__inner {
        justify-content: space-between;
    }
    .top-bar__logo {
        max-width: 200px;
    }
    .top-bar__social {
        position: relative;
    }
    .top-section {
        flex-direction: column;
        align-items: center;
    }
    .top-section .nice-module {
        margin-bottom: 30px;
        min-width: 300px;
    }
    .post-slider {
        width: 100%;
    }

    #jm-content-wrapper-bg {
        flex-direction: column;
    }
    .clr #jm-right {
        margin-left: 0;
        padding: 0;
    }
    .clr #jm-content {
        margin-right: 0;
    }

    .top-bar__social {
        order: 2;
    }
    .menu-btn__container {
        display: flex;
        order: 3;
    }

    header .menu {
        position: fixed;
        display: none;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgb(255 255 255 / 93%);
        align-items: center;
        font-size: 22px;
    }
    header .menu:before {
        content: "\f00d";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        top: 28px;
        right: 33px;
        font-size: 26px;
    }
    header .menu.active {
        display: flex;
    }
    header .menu li {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    header .menu li ul {
        position: relative;
        top: 0;
        width: 100%;
    }
    header .menu li:hover ul {
        display: none;
    }
    header .menu li ul.active {
        display: block;
    }
}

@media all and (max-width: 768px) {
    h1 {
        font-size: 1.5em;
    }

    .post__image {
        height: 360px;
    }

    .post-slider__item {
        flex-direction: column;
    }
    .post-slider__item__image {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .post-slider__item__info {
        padding-left: 0;
        text-align: center;
        margin-top: 30px;
    }

    .showcase__section[data-size="half"] {
        width: 100%;
    }

    [data-size="full"] .post-img {
        float: none;
        width: 100%;
    }

    .gallery__photo {
        flex: 0 0 30%;
    }
    .gallery__album {
        flex: 0 0 30%;
    }

    .footer__content {
        flex-direction: column;
        align-items: center;
    }
    .footer__left {
        margin-bottom: 30px;
    }
    .footer__social ul {
        justify-content: center;
    }
    .footer__copyright {
        flex-direction: column;
    }
}

@media all and (max-width: 480px) {
    .top-bar__logo {
        max-width: 150px;
    }

    .team__item {
        flex-direction: column;
    }
    .team__item__photo img {
        max-width: 200px;
    }
    .team__item__info {
        padding-top: 20px;
        padding-left: 0;
    }

    .top-section .nice-module {
        max-width: 100%;
        width: 100%;
    }
    .nice-module img {
        width: 100% !important;
    }

    .post__image {
        height: 300px;
    }
    .footer__menu {
        flex-direction: column;
        text-align: center;
    }
}

.tingle-modal {
    background: rgb(255 255 255 / 29%);
    cursor: default;
}

.tingle-modal-box {
    max-width: 500px;
    border-radius: 0;
}

.tingle-modal-box__content {
    box-shadow: 0 0 105px rgb(0 0 0 / 30%);
    background: #000;
    color: #fff;
}

.tingle-modal__close {
    width: 1rem;
    height: 1rem;
}

.tingle-modal__close svg path {
    fill: #000;
}

.subscribe {
    text-align: center;
}

.subscribe__logo {
    max-width: 250px;
    margin: 0 auto 20px;
}

.subscribe h2 {
    color: #fff;
}

.subscribe .msg {
    display: block;
    margin-bottom: 15px;
    margin-top: 0;
}

.subscribe .msg.error {
    color: #e23;
}

.subscribe .msg.success {
    color: #0e7c30;
}

.subscribe__text {
    margin-bottom: 20px;
}

.subscribe input[type="text"] {
    width: 100%;
    font-family: 'Lato', sans-serif !important;
    font-weight: 300;
    font-size: 18px;
    margin-bottom: 5px;
    padding: 2px 15px;
    height: auto;
    border-radius: 0;
}

.subscribe button {
    width: 100%;
}

.subscribe button.button-red:hover {
    background: #fff;
    color: #000 !important;
}

.form-loader {
    display: inline-block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background-color: rgb(255 255 255 / 77%);
}

.form-loader span {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background-image: url(../images/loader.svg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    margin-left: -40px;
    margin-top: -40px;
}