﻿/* =================================================================== */
/* Cascading stylesheet for QuebecAirForce.com by Jim "Spyder" Beattie */
/* (c) QuebecAirForce.com, nov 2020                                    */
/* =================================================================== */

/* ======================================================== */
/*                      GENERAL OVERRIDE                    */
/* ======================================================== */
p {
    font-family: 'Oxanium', Arial;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgb(0,37,68) 
}
/* color: #101633; */


.kbd {
    display: inline-block;
    margin: 0 .1em;
    padding: .1em .6em;
    font-family: var(--theme-body-font-family);
    font-size: var(--fs-fine);
    line-height: 1.4;
    color: black;
    text-shadow: 0 1px 0 var(--white);
    background-color: dimgrey;
    border: 1px solid;
    border-radius: 3px;
    box-shadow: 0 1px 1px hsla(210,8%,5%,0.15),inset 0 1px 0 0 var(--white);
    white-space: nowrap
}


/* -------------------------------------------------------------------- */
/*          LINE SECTION DIVIDER - MISSION TACTIQUE DU 101E ECV         */
/* -------------------------------------------------------------------- */
.qaf-line-wrapper {
    display: inline-block;
    width: 100%;
    margin: 0 auto;
}
.imgLogoSAC {
    position: absolute;
    bottom: -15px;
    left: 15px;
    z-index: 102;
}
.imgTxtHeader {
    position: absolute;
    text-align: left;
    bottom: 20px;
    left: 250px;
    font-family: Stencil, Impact, Charcoal, sans-serif, "Times New Roman", Times, serif;
    font-size: 3.0em;
    z-index: 103;
}
.line101blue {
    background-color: rgb(0,37,68);
    position: relative;
    width: 100%;
    height: 3rem;
    left: 0px;
    border-radius: 15px;
    Margin-top: 20px;
}
.line101gold {
    background-color: rgb(220,180,80);
    position: relative;
    width: 95%;
    height: 0.5rem;
    left: 3rem;
    top: 2rem;
}

/* =================================================================== */
/* ========= VIDEO 101 - MISSION TACTIQUE DU 101E ECV ================ */
/* =================================================================== */
/* Mission TAC 101ECV banner */
.video-header {
height: 100vh;
display: flex;
color: aliceblue;
}

.wrap {
    max-width: 1920px;
    padding-left: 2rem;
    padding-right: 2rem;
    margin: auto;
    text-align: left;
}

.fullscreen-video-wrap {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100vh;
    width: 100%;
}

.fullscreen-video-wrap video {
        min-height: 100%;
        min-width: 100%;
}

.header-ovelay {
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(70, 130, 180, 0.10);
    opacity: 0.30;
}

.header-content {
    z-index: 2;
    margin-top: 0%;
    padding: 0 5rem;
}

    .header-content h1 {
        font-size: 50px;
        margin-bottom: 0;
    }

/* ======================================================== */
/* QAF LEFT SIDEBAR PAGE SUBMENU                            */
/* ======================================================== */
a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}


/* Sidebar Style  ------------------- */
.sidebar-wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: auto;
}

/* Sidebar Style TEST for scroll when too many menu items. NOT WORKING! 

#sidebar-wrapper {
    height: 100vh; 
    overflow-y: auto; 
    overflow-x: hidden; 
    min-height: 100vh; 
    margin-left: -15rem;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
}

*/


#sidebar {
    width: 250px;
    position: fixed;
    top: 66px;
    bottom: 0vh; /* 20vh */
    left: 0;
    height: 100vh; /* 85vh */
    z-index: 0;
    background: #002544;
    color: #fff;
    transition: all 0.3s;
}

    #sidebar.active {
        margin-left: -250px;
    }

    #sidebar .sidebar-header {
        padding-top: 12px;
        color: #9A9DA0;
        background: #002544;
    }

    #sidebar ul.components {
        padding: 15px 0;
        border-bottom: 1px solid #47748b;
    }

    #sidebar ul p {
        color: #ffd800;
        padding: 10px;
    }

    #sidebar ul li a {
        padding: 10px;
        font-size: 1.1em;
        display: block;
    }

        #sidebar ul li a:hover {
            color: #D9AC4B;
            background: #003163;
        }

    #sidebar ul li.active > a,
    a[aria-expanded="true"] {
        color: #D9AC4B;
        background: #003163;
    }

    a[data-toggle="collapse"] {
    position: relative;
    }

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

/* Sidebar country flag wrapper - Doesn't work! */
.imgflagwrapper {
    width: 80%;
}

/* SubMenu toggle indent and font-size */
ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !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,
a.download:hover {
    background: #fff;
    color: #101633;
}

a.article,
a.article:hover {
    background: #fff !important;
    color: #101633 !important;
}

/* --------Sidebar content ------- */

#content {
    width: calc(100% - 250px);
    padding: 40px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 2rem;
    right: 0;
}

    #content.active {
        width: 100%;
    }

/* -------  Sidebar MediaQueries ----------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

        #sidebar.active {
            margin-left: 0;
        }

    #content {
        width: 100%;
    }

        #content.active {
            width: calc(100% - 250px);
        }

    #sidebarCollapse span {
        display: none;
    }
}


/* ======================================================== */
/*                      DIVERS                              */
/* ======================================================== */
.dashed-line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ======================================================== */
/*             Images and text image                        */
/* ======================================================== */

.img-qaf {
    max-width: 100%;
    height: auto !important;
}

.img-qaf80vh {
    max-height: 80vh;
    width: auto !important;
}


.qaf-displayflex {
    display: flex;
}

/* Bottom right text */
.qaf-text-block {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: black;
    color: white;
    padding-left: 20px;
    padding-right: 20px;
}


/* ============================== */
/*         QAF CAROUSEL           */
/* https://stackoverflow.com/questions/45116667/center-images-within-bootstrap-carousel */
/* ============================== */
.carousel-inner {
    width: 100%;
    max-height: 500px !important;
}

.carousel-item {
    text-align: center;
}

.carousel-inner img {
    display: inline-block !important;
}

/* ======================================================== */
/*             QAF-GSAP TEST1                               */
/* ======================================================== */
.gsap-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.svg-container {
    display: inline-block;
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    vertical-align: middle;
    overflow: hidden;
}

.svg3 {
    position: absolute;
    top: 0;
    left: 0;
}

.svg2 {
    max-width: 42rem;
    max-height: 42rem;
    width: 100%;
    height: auto;
}

.box {
    display: block;
}

.box {
    width: 50px;
    height: 50px;
    position: relative;
    border-radius: 6px;
    margin-top: 4px;
    display: inline-block;
    line-height: 50px;
    text-align: center;
    color: #333;
}

.green {
    background-color: #6fb936;
}

.orange {
    background-color: #f38630;
}
.gray,
.grey {
    background-color: #989898;
}
/*   Button click show box  */

#theaterinfobox1 {
    background: orange;
}

#theaterinfobox2 {
    background: red;
}

#theaterinfobox3 {
    background: pink;
}

#theaterinfobox4 {
    background: blue;
}

#theaterinfobox5 {
    background: white;
}

.theaterbox {
    width: 100px;
    height: 100px;
    font-size: 30px;
    line-height: 100px;
    text-align: center;
}

theaterbutton {
    cursor: pointer;
    padding: 5px;
    margin-top: 10px;
}

