/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.media-archives-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    height: auto !important;
    margin: 15px 0;
    grid-row: unset !important;
}

.media-archives-items img {
    max-width: 100%;
    height: auto;
}

.media-archives-items .left-part {
    width: 45%;
}

.media-archives-items .right-part {
    width: 50%;
}

.media-archives-items a:hover,
.button:hover {
    background: #f38d1c;
}

.media-archives-items a,
.button {
    display: inline-block;
    background: #000;
    color: #fff;
    font-family: 'Fraunces';
    font-weight: 300;
    background-color: #76237d;
    color: #fff;
    padding: 15px 20px;
    line-height: 1;
    transition: 0.5s all;
    text-align: center;
}

.category-pdf-view .button {
    width: 100%;
}

.term-title {
    width: 100%;
    border-bottom: 1px solid #ccc;
}


.custom-taxnomy-lists {
    display: flex;
    flex-wrap: wrap;
}



.custom-taxnomy-item {
    width: calc(33.33% - 30px);
    z-index: 1;
    color: #fff;
    padding: 40px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin: 15px;
    position: relative;
}

.custom-taxnomy-item h3 {
    color: #fff;
    margin-bottom: 10px;
}

.custom-taxnomy-item a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
}

.custom-taxnomy-item:hover .custom-taxnomy-overlay {
    opacity: 1;
}

.custom-taxnomy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    opacity: 0.8;
    transition: 0.5s all;
}

.custom-taxnomy-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.category-banner-area {
    margin: 0;
    position: relative;
    padding: 60px 0;
    min-height: 548px;
    display: flex;
    align-items: center;
    background: #000;
    z-index: 1;
    justify-content: flex-start;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    height: 100%;
    z-index: -1;
}

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

.category-banner-area .ct-section-inner-wrap {
    width: 100%;
    color: #ffffff;
    padding: 2rem;
}

.category-banner-area h3,
.category-banner-area h1 {
    color: #fff;
    line-height: normal;
}

.category-banner-area h3 {
    font-size: 25px;
    margin-bottom: 10px;
}

.responsive-iframe {
    position: relative;
    padding-top: 56.25%;
    margin: 0 auto;
    overflow: hidden;
}

.responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.category-about-section .heading {
    font-size: 25px;
    line-height: normal;
    border-bottom: 1px solid #000;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.category-about-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.category-pdf-view {
    flex: 0 0 200px;
}

.category-pdf-view img {
    max-width: 100%;
    height: auto;
}

.category-info {
    flex: 0 0 calc(100% - 230px);
}

.category-info *:last-child {
    margin-bottom: 0;
}

.category-info:only-child {
    flex: 0 0 100%;
}

@media(max-width:991px) {
    .custom-taxnomy-item {
        width: calc(50% - 30px)
    }
}


.category-tabbing-header {
    display: block;
    width: 100%;
    margin-bottom: 40px;
}

.category-tabbing-header ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style-type: none;
}

.category-tabbing-header ul li {
    margin-right: 40px;
}

.category-tabbing-header ul li:last-child {
    margin: 0;
}

.category-tabbing-header ul li a {
    font-size: 18px;
    color: #000000;
    font-family: 'Fraunces';
    font-weight: 500;
}

.category-tabbing-header ul li a:hover,
.category-tabbing-header ul li a.active {
    text-decoration: underline;
}

.category-tabbing-item {
    display: none;
}

.category-tabbing-item .heading {
    display: none;
}

.category-tabbing-item .heading {
    display: none;
}

.category-tabbing-desccription *,
.taxonomy-normal-content * {
    margin: 15px 0 0 0;
}

.category-tabbing-desccription *:first-child,
.category-tabbing-desccription *:first-child {
    margin-top: 0;
    margin-bottom: 30px;
}

.category-tabbing-desccription h1,
.category-tabbing-desccription h2,
.category-tabbing-desccription h3,
.category-tabbing-desccription h4,
.category-tabbing-desccription h5,
.category-tabbing-desccription h6,
.category-tabbing-desccription ul,
.category-tabbing-desccription ol,
.taxonomy-normal-content h1,
.taxonomy-normal-content h2,
.taxonomy-normal-content h3,
.taxonomy-normal-content h4,
.taxonomy-normal-content h5,
.taxonomy-normal-content h6,
.taxonomy-normal-content ol,
.taxonomy-normal-content ul {
    margin: 40px 0 10px 0;
}

.custom-taxonomy-galleries {
    width: 100%;
}

.custom-taxonomy-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.custom-taxonomy-row .custom-taxonomy-gallery-item {
    width: 50%;
    padding: 5px;
}

.custom-taxonomy-row .custom-taxonomy-gallery-item img {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.65;
    object-fit: cover;
    display: block;
    width: 100%;
}

.custom-column.ct-new-columns>.ct-div-block {
    padding: 2rem !important;
}

.taxonomy-video-block>* {
    margin-bottom: 40px;
}

.taxonomy-video-block>h5 {
    text-decoration: underline;
}

.taxonomy-normal-content table {
    border-collapse: collapse;
}

.taxonomy-normal-content table td {
    padding: 10px;
    border: 1px solid #ccc;
}

.taxnomony-event-block {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.event-block-heading {
    border-bottom: 1px solid #000;
    margin-bottom: 30px;
    display: block;
    padding-bottom: 10px;
}

.event-block-heading h1 {
    font-size: 40px;
    text-align: center;
    line-height: normal;
}
.event-block-sub-heading {
	padding-bottom:30px;
}
.event-block-sub-heading h2 {
    font-size: 30px;
    text-align: center;
    line-height: normal;
}

ul.event-meta-data {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    border-bottom: 1px solid #000;
    padding-bottom: 20px;
    margin-bottom: 30px;
    justify-content: space-between;
}

ul.event-meta-data li {
    margin-left: 40px;
}

ul.event-meta-data li:first-child {
    margin-left: 0;
}

ul.event-meta-data h6 {
    margin: 0 0 10px 0;
    line-height: 1;
    padding: 0;
}

ul.event-meta-data p {
    margin: 0;
}

/* Silk Road Sojourns */

.silk-road-block {
    max-width: 1000px;
    margin: 0 auto;
    padding: 70px 2rem;
}
.silk-road-block .heading {
    font-size: 2rem;
    font-weight: 400;
    line-height: normal;
    border-bottom: 1px solid #000;
    display: inline-block;
    padding-bottom: 10px;
}
.silk-road-block .responsive-iframe,
.silk-road-block .audio-block {
    margin-bottom: 25px;
}
.silk-road-block .button {
    margin-top: 10px;
}

@media(max-width:1400px) {
    .category-tabbing-header ul li {
        margin-right: 37px;
    }

    .category-tabbing-header ul li a {
        font-size: 17px;
    }

    .category-banner-area {
        padding: 60px 0;
        min-height: 514px;
    }
}


@media(max-width:1366px) {
    .category-tabbing-header ul li {
        margin-right: 33px;
    }

    .category-tabbing-header ul li a {
        font-size: 16px;
    }

    .category-banner-area {
        padding: 50px 0;
        min-height: 456px;
    }
}

@media(max-width:1200px) {
    .category-tabbing-header ul li {
        margin-right: 30px;
    }

    .category-banner-area {
        padding: 45px 0;
        min-height: 411px;
    }
}

@media(max-width:991px) {
    .category-tabbing-header ul li {
        margin-right: 28px;
    }
}


@media(max-width:767px) {
    .custom-taxnomy-item {
        width: calc(100%)
    }

    .media-archives-items .left-part {
        width: 100%;
    }

    .media-archives-items .right-part {
        width: 100%;
    }

    .term-title {
        font-size: 40px
    }

    .category-tabbing-header {
        display: none;
    }

    .category-tabbing-header {
        display: none;
    }

    .category-tabbing-item {
        display: block !important;
        border: 1px solid #000;
        margin-bottom: 20px;
    }

    .category-tabbing-item .heading {
        display: block;
        padding: 20px 20px;
        font-size: 22px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .category-tabbing-item .heading:after {
        content: "\f067";
        font: normal normal normal 14px / 1 FontAwesome;
        margin-left: 15px;
    }

    .category-tabbing-item.active .heading:after {
        content: "\f068";
    }

    .category-tabbing-desccription {
        border-top: 1px solid #000000;
        padding: 20px;
        display: none;
    }
}

@media(max-width:641px) {
    .category-about-row {
        flex-direction: column;
    }

    .category-info,
    .category-pdf-view {
        flex: 0 0 100%;
    }

    .category-pdf-view {
        margin-top: 40px;
    }
}