/*
Theme Name: Diawara and Schaffner
Theme URI:  https://www.acesolutionafrica.com/
Author:     Bethulow
Author URI: https://www.acesolutionafrica.com/
Template:   hello-elementor
Version:    1.0
License:    GNU General Public License v2 or later
*/

/* ==========================================================================
   SITE-WIDE CORNER RADIUS  - change this one value to restyle every box & button
   ========================================================================== */
:root{
    --ds-radius:12px;
}
.btn,
.button,
.wp-block-button__link,
button.btn,
input[type="submit"],
input[type="button"],
.form-control,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea,
.artist-pagination .page-numbers,
.news-pagination .page-numbers,
.artwork-pagination .page-numbers{
    border-radius:var(--ds-radius);
}
/* @import url('https://fonts.googleapis.com/css2?family=Allura&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
 */
/* ==========================================================================
   LOCAL FONT FACE DEFINITIONS
   ========================================================================== */

/* Century Gothic Paneuropean - Thin (100) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropeanThin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropeanThinItalic.woff2') format('woff2');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

/* Light (300) */
@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropeanLight.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropeanLightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Regular (400) */
@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropeanRegular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropeanItalic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Semi Bold (600) */
@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropeanSemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropeanSemiBoldItalic.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* Bold (700) */
@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropeanBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropeanBoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Extra Bold (800) */
@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropeanExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropeanExtraBoldItalic.woff2') format('woff2');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* Black (900) */
@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropeanBlack.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropeanBlackItalic.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* ==========================================================================
   ALLURA
   ========================================================================== */

@font-face {
    font-family: 'Allura';
    src: url('fonts/Allura-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   PT SERIF
   ========================================================================== */

/* Regular */
@font-face {
    font-family: 'PT Serif';
    src: url('fonts/PTSerif-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Italic */
@font-face {
    font-family: 'PT Serif';
    src: url('fonts/PTSerif-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: 'PT Serif';
    src: url('fonts/PTSerif-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Bold Italic */
@font-face {
    font-family: 'PT Serif';
    src: url('fonts/PTSerif-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

body,p{
	font-family: "PT Serif", serif;
	line-height:2.0;
	font-size:18px;
}

/* All paragraph text is black */
p{
	color:#000;
}

#rd p {
    color: inherit;
}

/* Remove focus outline globally */
*:focus,
*:active,
*:focus-visible{
    outline: none !important;
    box-shadow: none !important;
}

/* Remove tap highlight on mobile browsers */
*{
    -webkit-tap-highlight-color: transparent;
}

.celebrating .elementskit-section-subtitle{
	  font-family: "Allura", cursive;
}

@media screen and (min-width: 768px) {

#ar-widget-image{
	height:450px !important;
	overflow:hidden !important;
}

}
	
/* Apply the font to the whole site */
.ds-artist-fact-label,.btn-header,.mega-menu-wrap-primary ul li a,.mega-menu-link,h1,h2,h3,h4,h5,h6 {
  font-family: 'Century Gothic Paneuropean', sans-serif;
}
.mega-menu-link{
  font-family: 'Century Gothic Paneuropean', sans-serif !important;
}
.container{ 
  width:90vw;	
}

/* =====================================================
   GLOBAL ELEMENTOR BUTTON EFFECT
===================================================== */

.elementor-button{
    position:relative;
    overflow:hidden;
    transition:all .45s ease!important;
}

.elementor-button-content-wrapper{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:0;
    transition:all .4s ease;
}

/* Arrow */

.elementor-button-text::after{

    content:"→";

    display:inline-block;

    margin-left:0;

    opacity:0;

    transform:translateX(-10px);

    transition:all .35s ease;

}

/* Sweep Line */

.elementor-button::before{

    content:"";

    position:absolute;

    top:0;

    left:-130%;

    width:70%;

    height:100%;

    transform:skewX(-25deg);

    opacity:.15;

    transition:left .65s ease;

}

/* Border Animation */

.elementor-button::after{

    content:"";

    position:absolute;

    inset:0;

    border:1px solid currentColor;

    transform:scale(.94);

    opacity:0;

    transition:all .35s ease;

}

/* Hover */

.elementor-button:hover{

    transform:translateY(-2px);

}

.elementor-button:hover::before{

    left:150%;

}

.elementor-button:hover::after{

    opacity:1;

    transform:scale(1);

}

.elementor-button:hover .elementor-button-text{

    transform:translateX(4px);

    transition:transform .35s ease;

}

.elementor-button:hover .elementor-button-text::after{

    opacity:1;

    margin-left:12px;

    transform:translateX(0);

}

/* Active */

.elementor-button:active{

    transform:translateY(1px);

}

@media (min-width: 768px) {
    .stickyatthetop {
		align-self:start;
        position: sticky !important;
        top: 100px !important;
    }
}




.artist-filter{
    margin:40px 0 60px;
}

.artist-filter input,
.artist-filter select{
    width:100%;
    height:48px;
    padding:0 15px;
    border:1px solid #ddd;
}

.artist-filter .btn{
    height:48px;
    width:100%;
    margin-bottom:10px;
}

.artist-pagination{
    text-align:center;
    margin:60px 0;
}

.artist-pagination .page-numbers{
    display:inline-block;
    padding:12px 18px;
    margin:4px;
    border:1px solid #ddd;
    color:#333;
    text-decoration:none;
}

.artist-pagination .current{
    background:#000;
    color:#fff;
}


.artist-filter {
    margin: 40px 0 60px;
}

.artist-filter input,
.artist-filter select {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: var(--ds-radius);
    background-color: #fff;
}

.artist-filter .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 100%;
    margin-bottom: 10px;
    text-decoration: none;
    border-radius: var(--ds-radius);
    transition: background 0.2s ease;
}

.artist-pagination {
    text-align: center;
    margin: 60px 0;
}

.artist-pagination .page-numbers {
    display: inline-block;
    padding: 12px 18px;
    margin: 4px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.artist-pagination .current {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* NEW: Smooth transition handling for AJAX loading feedback */
#artist-ajax-target {
    position: relative;
    transition: opacity 0.25s ease-in-out;
}

#artist-ajax-target.is-loading {
    opacity: 0.35;
    pointer-events: none; /* Block double-clicking pagination links while querying */
}

/* ==========================================================================
   MODERN NEWS FILTER & PAGINATION UI
   ========================================================================== */

/* --- Filter Bar Container --- */
.news-filter {
    background: #ffffff;
    padding: 24px;
    border-radius: var(--ds-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 40px;
}

/* --- Form Fields Base Styling --- */
.news-filter input[type="text"],
.news-filter select {
    width: 100%;
    height: 48px;
    padding: 10px 16px;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: var(--ds-radius);
    font-size: 16px;
    color: #1a202c;
    transition: all 0.25s ease;
    outline: none;
    margin-bottom: 15px;
}

/* Input Focus States */
.news-filter input[type="text"]:focus,
.news-filter select:focus {
    background: #ffffff;
    border-color: #2d3748;
    box-shadow: 0 0 0 4px rgba(45, 55, 72, 0.1);
}

/* Custom Select Dropdown Styling */
.news-filter select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 42px;
}

/* --- Clear Button --- */
.news-clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--ds-radius);
    color: #718096;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.news-clear-btn:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    color: #1a202c;
}

/* --- AJAX Loading Overlay --- */
#news-ajax-target {
    position: relative;
    transition: opacity 0.3s ease;
}

#news-ajax-target.loading-state {
    pointer-events: none; /* Disable clicking while loading */
}

#news-ajax-target.loading-state::after {
    content: "";
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: #2d3748;
    border-radius: 50%;
    animation: newsSpinner 0.7s linear infinite;
    z-index: 10;
}

@keyframes newsSpinner {
    to { transform: translateX(-50%) rotate(360deg); }
}

/* --- Responsive Layout Adjustment (For Non-Bootstrap Fallbacks) --- */
@media (min-width: 768px) {
    .news-filter input[type="text"],
    .news-filter select,
    .news-clear-btn {
        margin-bottom: 0;
    }
}

/* ==========================================================================
   MINIMALIST PAGINATION UI
   ========================================================================== */

.news-pagination {
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
    clear: both;
}

.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 8px;
    margin: 0 4px;
    border-radius: var(--ds-radius);
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
    text-decoration: none !important;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover State */
.news-pagination .page-numbers:hover:not(.dots):not(.current) {
    background: #f7fafc;
    color: #2d3748;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

/* Active / Current Page State */
.news-pagination .page-numbers.current {
    background: #2d3748;
    color: #ffffff;
    border-color: #2d3748;
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.2);
}

/* Ellipsis Dots State */
.news-pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    color: #a0aec0;
    cursor: default;
}


/* ==========================================================================
   MODERN OVERRIDES FOR DEFAULT CONTACT FORM 7 LAYOUT
   ========================================================================== */

/* Main form boundary box */
.wpcf7-form {
/*     background: #ffffff; */
/*     padding: 40px; */
/*     border-radius: var(--ds-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); */
/*     max-width: 650px; */
    margin: 0 auto;
/*     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; */
}

/* Treat the default paragraphs as row spacing blocks */
.wpcf7-form > p {
    margin-bottom: 22px;
    margin-top: 0;
    position: relative;
}

/* Form field description titles */
.wpcf7-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0;
}

/* Hide the messy default line-breaks inside the text labels */
.wpcf7-form label br {
    display: none;
}

/* Ensure the layout wraps stretch fluidly to 100% boundary limit */
.wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
    width: 100%;
}

/* Global inputs and text canvases structural mechanics */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100% !important;
    height: 50px;
    padding: 12px 18px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
/*     border-radius: var(--ds-radius); */
    font-size: 16px;
    color: #1a202c;
    transition: all 0.25s ease;
    outline: none;
    box-sizing: border-box;
}

/* Custom dimensions for the big message area box */
.wpcf7-form textarea {
    height: 150px;
    resize: vertical;
}

/* Interactive focus framework highlights */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    background: #ffffff;
    border-color: #2d3748;
    box-shadow: 0 0 0 4px rgba(45, 55, 72, 0.08);
}





/* =========================================================
   UACF7 MULTI-STEP FORM
   NEXT & PREVIOUS BUTTON STYLING
   ========================================================= */


/* ---------------------------------------------------------
   NEXT BUTTON
   --------------------------------------------------------- */

.uacf7-step.step-content button.uacf7-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 110px;
    height: 46px;
    padding: 0 24px;

    background: #947448;
    border: 1px solid #947448;
    border-radius: var(--ds-radius);

    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: 0.5px;

    cursor: pointer;

    box-shadow: none;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}


/* Next button arrow */

.uacf7-step.step-content button.uacf7-next::after {
    content: "→";

    margin-left: 10px;

    font-size: 18px;
    line-height: 1;

    transition: transform 0.3s ease;
}


/* Next button hover */

.uacf7-step.step-content button.uacf7-next:hover {
    background: #252421;
    border-color: #252421;
    color: #ffffff;
}


/* Move arrow slightly when hovering */

.uacf7-step.step-content button.uacf7-next:hover::after {
    transform: translateX(4px);
}


/* ---------------------------------------------------------
   PREVIOUS BUTTON
   --------------------------------------------------------- */

.uacf7-step.step-content button.uacf7-prev {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 110px;
    height: 46px;
    padding: 0 24px;

    background: transparent;
    border: 1px solid #947448;
    border-radius: var(--ds-radius);

    color: #947448;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: 0.5px;

    cursor: pointer;

    box-shadow: none;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}


/* Previous button arrow */

.uacf7-step.step-content button.uacf7-prev::before {
    content: "←";

    margin-right: 10px;

    font-size: 18px;
    line-height: 1;

    transition: transform 0.3s ease;
}


/* Previous button hover */

.uacf7-step.step-content button.uacf7-prev:hover {
    background: #252421;
    border-color: #252421;
    color: #ffffff;
}


/* Move arrow slightly when hovering */

.uacf7-step.step-content button.uacf7-prev:hover::before {
    transform: translateX(-4px);
}


/* ---------------------------------------------------------
   BUTTON SPACING
   --------------------------------------------------------- */

/* Give the navigation buttons some breathing room */

.uacf7-step.step-content button.uacf7-next,
.uacf7-step.step-content button.uacf7-prev {
    margin-top: 25px;
}


/* ---------------------------------------------------------
   BUTTON ROW
   --------------------------------------------------------- */

/*
   If UACF7 places Previous and Next buttons
   inside the same navigation area.
*/

.uacf7-step.step-content {
    position: relative;
}


/* Previous button stays on the left */

.uacf7-step.step-content button.uacf7-prev {
    margin-right: 10px;
}


/* ---------------------------------------------------------
   FOCUS STATE
   --------------------------------------------------------- */

/*
   Removes the browser's default black/blue outline
   while keeping a subtle accessible focus indication.
*/

.uacf7-step.step-content button.uacf7-next:focus,
.uacf7-step.step-content button.uacf7-prev:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(148, 116, 72, 0.25);
}


/* ---------------------------------------------------------
   ACTIVE / CLICK STATE
   --------------------------------------------------------- */

.uacf7-step.step-content button.uacf7-next:active,
.uacf7-step.step-content button.uacf7-prev:active {
    transform: translateY(1px);
}


/* ---------------------------------------------------------
   DISABLED BUTTON
   --------------------------------------------------------- */

.uacf7-step.step-content button.uacf7-next:disabled,
.uacf7-step.step-content button.uacf7-prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .uacf7-step.step-content button.uacf7-next,
    .uacf7-step.step-content button.uacf7-prev {
        min-width: 100px;
        height: 44px;
        padding: 0 18px;

        font-size: 14px;
    }

    .uacf7-step.step-content button.uacf7-next::after,
    .uacf7-step.step-content button.uacf7-prev::before {
        font-size: 16px;
    }

}








/* --- Submit Action Button Engine styling --- */
.wpcf7-form input[type="submit"] {
    display: block;
    width: 100% !important; /* Spans full width for premium layout presence */
    height: 52px;
    background:#d0a03b;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
/*     border-radius: var(--ds-radius); */
    cursor: pointer;
    transition: all 0.2s ease;
/*     box-shadow: 0 4px 12px rgba(45, 55, 72, 0.15); */
    margin-top: 10px;
}

.wpcf7-form input[type="submit"]:hover {
    background: #1a202c;
    box-shadow: 0 6px 20px rgba(45, 55, 72, 0.25);
}

/* --- Dynamic Status/Error Framework Overrides --- */
.wpcf7-not-valid {
    border-color: #e53e3e !important;
    background-color: #fff5f5 !important;
}

.wpcf7-not-valid-tip {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 6px;
    display: block;
    font-weight: 500;
}

.wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 12px 18px !important;
    border-radius: var(--ds-radius) !important;
    font-size: 14px;
    border: 1px solid transparent !important;
}

/* Success layout message prompt bubble */
.wpcf7-form.sent .wpcf7-response-output {
    background: #f0fff4 !important;
    border-color: #c6f6d5 !important;
    color: #22543d !important;
}

/* Failure/Validation layout message prompt bubble */
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
    background: #fff5f5 !important;
    border-color: #fed7d7 !important;
    color: #742a2a !important;
}

/* Loading indicator adjustments */
.wpcf7-spinner {
    position: absolute;
    right: 20px;
    bottom: 16px;
    margin: 0 !important;
}

.homepage-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fffdf8 0%, #f9f1de 50%, #ebd49b 100%) !important;
    padding: 75px 0 70px;
    border-bottom: 1px solid #e5d5b5 !important;
}

.Action-Button
{
    padding: 11px 17px;
    background:#d6a21d !important;
    border-radius: var(--ds-radius);
	margin-left:15px !important;
}
.Action-Button a
{
    color: #fff !important;
}

.portrait{
	position:relative !important;
}
.portrait:after
 {
    content: "";
    position: absolute;
    left: 16px;
    bottom: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid #ead8a3;
    z-index: -1;
}


/* acelogo at the footer styles */

.ace-logo img {
    height: 25px !important;
    margin-bottom: 5px;
}


.ace-logo ul{
	display:flex !important;
	align-items:center !important;
	justify-content: flex-end;
	list-style:none !important;
}

@media screen and (max-width: 768px) {

.ace-logo ul{
	display:flex !important;
	align-items:center !important;
	justify-content:center !important;
	list-style:none !important;
	padding:0px !important;
	margin:0px !important;
}
	
}

.ace-logo ul li:nth-child(1){
    padding-top: 0px !important;
    padding-right: 10px !important;
}





/* =========================================
   SINGLE HISTORY PAGE
========================================= */

.single-history-page {
    background: #fff;
}

/* Inner Banner */
.history-innerpage-banner {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-color: #222;
}

.innerpage-banner-content {
    position: relative;
    z-index: 2;
}

.history-year {
    display: block;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.history-innerpage-banner h1 {
    margin: 0 0 20px;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 600;
}

/* History Detail */
.single-history-section {
    padding: 100px 0;
}

.single-history-image {
    overflow: hidden;
}

.single-history-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-history-content {
    padding: 20px 0 20px 50px;
}

.single-history-year {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
}

.single-history-content h2 {
    margin: 0 0 25px;
    font-size: 38px;
    line-height: 1.3;
}

.single-history-description {
    font-size: 18px;
    line-height: 1.8;
}

.single-history-description p {
    margin-bottom: 20px;
}

/* Button */
.single-history-button {
    margin-top: 30px;
}

.history-read-more {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
}

/* Extra Content */
.single-history-extra-content {
    padding: 80px 0;
    background: #f7f7f7;
}

.history-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

/* Navigation */
.single-history-navigation {
    padding: 40px 0;
}

.history-back-link {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
}

.history-back-link span {
    margin-right: 8px;
}

/* Mobile */
@media (max-width: 767px) {

    .history-innerpage-banner {
        padding: 70px 0;
    }

    .history-innerpage-banner h1 {
        font-size: 34px;
    }

    .single-history-section {
        padding: 60px 0;
    }

    .single-history-content {
        padding: 40px 0 0;
    }

    .single-history-content h2 {
        font-size: 30px;
    }

}


.li-video-main{
	position:relative !important;
}


/* .li-video-main:after{
	position:absolute !important;
    content:'';
	top:0px;
	left:0px;
	height:100%;
    border:2px solid red;
	z-index:999 !important;
} */

.li-video-main:after {
    position: absolute !important;
    content: '';
    top: 50%;
    border-radius: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 93%;
    margin: 30px;
	pointer-events:none !important;
    /* display: block; */
    width: 93%;
    margin: 0px auto;
    border:1px solid rgba(255,255,255,.3);
    z-index: 999 !important;
}

.li-video-main:before
{
    position: absolute !important;
    content: '';
    top: 0;
    pointer-events: none !important;
    left: 0;
    width: 100%;
    height: 100%;
    background:linear-gradient(to bottom, transparent 40%, #B88A31 100%);
    z-index: 1 !important;
}