/*
    DEMO STYLE
*/

/*@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";*/

/*body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    overflow: hidden;
    margin: 0; 
    height: 100%;
}*/

@font-face {
    font-family: 'poppinsbold';
    src: url('../font/poppins-bold.woff2') format('woff2'),
         url('../font/poppins-bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'poppinsmedium';
    src: url('../font/poppins-medium.woff2') format('woff2'),
         url('../font/poppins-medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'poppinsregular';
    src: url('../font/poppins-regular.woff2') format('woff2'),
         url('../font/poppins-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'poppinsbold';
    src: url('../font/poppins-bold.woff2') format('woff2'),
         url('../font/poppins-bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'poppinsmedium';
    src: url('../font/poppins-medium.woff2') format('woff2'),
         url('../font/poppins-medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'poppinsregular';
    src: url('../font/poppins-regular.woff2') format('woff2'),
         url('../font/poppins-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

p {
    font-family: 'poppinsregular';
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
    cursor:pointer;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);

}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

/*.line {
    width: 100%;
    height: 0px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}*/

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    /*width: 42vh;*/
    position: absolute;
    align-items: stretch;
    z-index: 2;
    opacity: 0.8;
    height: 100vh;
}

#sidebar {
    /*height: 110vh;*/
    max-width: 250px;
    background: rgba(139, 134, 134, 0.8);
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding:5px 0 20px 0;
    text-align: center;
}

#sidebar .sidebar-footer {
    padding: 4px;
	text-align: center;
	position: relative;
	bottom:0px;
	left: 0;
}


#sidebar ul.components {
    padding: 5px 0;
    /*border-bottom: 1px solid #47748b;*/
    overflow: auto;
    height: 60vh;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 5px 10px;
    font-size: .9em;
    display: block;
    color: #ffffff;
}

#sidebar ul li a:hover {
    color: #b59964;
    background: #fff;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #ab833f;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.8em !important;
padding-left: 24px !important;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    /*border-radius: 5px;*/
    /*margin-bottom: 5px;*/
}

a.download {
    background: #fff;
    color: #7386D5;
    float: left;
    width: 50px;
    height: 50px;
    margin: 0 18px 0 0;
    padding: 6px;
}

a.download:hover {
    background: #deb775 !important;
}

a.article{
    float: left;
    width: 50px;
    height: 50px;
    margin: 0 18px 0 0;
    background: #deb775;
    padding: 6px;
}


a.article:hover {
    background: #fff !important;
}


 


.videobt{
    display: block;
    text-align: center;
    padding: 4px 0;
    border: solid 1px #ab833f;
    margin: 0 11px 18px 11px;
    color: #ab833f;
}
.videobt:hover{ color: #fff; border-color: #fff; }

.footerbtn{
    display: inline;
    text-align: center;
    width: 70px;
	height: 40px;
	margin: 0 0 0 0;
    color: #ab833f;
    transition: 0.5s;
}
.footerbtn:hover{ opacity: 1;}


.btn-info {
    color: #fff;
    background-color: #ab833f;
    border-color: #ab833f;
    padding: 2px 9px;
    border-radius: 0;
}

.btn-info:hover{ background: #000; color: #fff; }

.btn-info:not(:disabled):not(.disabled).active, .btn-info:not(:disabled):not(.disabled):active, .show>.btn-info.dropdown-toggle{
    background: #000; color: #fff;
}
.btn-info.focus, .btn-info:focus{
    background: #000; color: #fff; box-shadow: none;
}

.active-1{   
    background: #fff;
 }

 .popup-play-bt{
    position: absolute;
    left: 15px;
    bottom: 4px;
    font-size: 35px; color: #ab833f;
 }

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 100px;
    padding-left: 255px;
    padding-top: 10px;
    
    transition: all 0.3s;
    position: absolute;
    z-index: 2;
    /*overflow: scroll;*/
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}
/* ---------------------------------------------------
    MOBILE IMPROVEMENTS
----------------------------------------------------- */

/* Floating toggle — fixed, outside wrapper, always visible */
#mobileToggle {
    display: none;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;           /* root stacking context — above everything */
    background: #ab833f;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 48px;
    height: 48px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: background 0.2s;
}
#mobileToggle:active { background: #7a5a28; }

/* Backdrop — INSIDE wrapper so it shares the same stacking context as sidebar */
#sidebarBackdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);   /* slightly higher opacity; wrapper multiplies by 0.8 */
    z-index: 9990;                  /* local to wrapper — below sidebar (9995) but above pano */
}

@media (max-width: 768px) {
    /* Hide original desktop toggle */
    #content { display: none !important; }

    /* Show mobile toggle */
    #mobileToggle { display: flex; }

    /* Wrapper: let it be a plain block container on mobile */
    .wrapper { display: block; height: auto; }

    /* Sidebar: fixed overlay, slides from left */
    #sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 260px !important;
        max-width: 260px !important;
        z-index: 9995 !important;   /* local to wrapper stacking context — above backdrop */
        margin-left: -270px !important;
        background: rgba(20, 18, 18, 0.98) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        transition: margin-left 0.3s ease !important;
    }

    #sidebar.mobile-open {
        margin-left: 0 !important;
    }

    /* Bigger tap targets */
    .acc-ul li a {
        padding: 11px 14px !important;
        font-size: 15px !important;
        display: block;
    }

    .accordion__button {
        padding: 13px 14px !important;
        font-size: 15px !important;
    }

    .accordion {
        height: auto !important;
        overflow-y: auto;
    }
}
