﻿@keyframes fadeInBgImage {
    to {
        opacity: 1;
    }
}

/* For view with a transparent navbar */
.left-orange-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    max-height: 1200px;
    background-color: rgba(var(--ictsi-orange-rgb), 0.85) !important;
    /*    background-image: url("../images/left-diamond-elem-bg.png");
    background-size: cover;*/
    /*    background-position: left;
    background-repeat: no-repeat;*/
    box-shadow: 10px 0 30px 5px gray;
}

/* For views with a filled navbar */
.left-orange-panel-80-vh {
    position: sticky;
    top: 0;
    height: 85vh;
    max-height: 1200px;
    background-color: rgba(var(--ictsi-orange-rgb), 0.85) !important;
    /*    background-image: url("../images/left-diamond-elem-bg.png");
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;*/
    box-shadow: 10px 0 30px 5px gray;
}

    .left-orange-panel img,
    .left-orange-panel-80-vh img {
        width: 30px;
        height: 30px;
    }

    .left-orange-panel::before,
    .left-orange-panel-80-vh::before,
    .left-orange-panel-registration::before {
        content: '';
        position: absolute;
        background-image: url("../images/left-diamond-elem-bg.png");
        background-size: cover;
        background-position: left;
        background-repeat: no-repeat;
        animation: fadeInBgImage 1s ease forwards;
        z-index: -1;
        inset: 0;
        opacity: 0;
    }

.left-orange-panel-registration {
    position: fixed;
    top: 0;
    height: 100vh;
    max-height: 1200px;
    background-color: rgba(var(--ictsi-orange-rgb), 0.85) !important;
    box-shadow: 10px 0 30px 5px gray;
}

.right-orange-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    max-height: 1200px;
    background-color: rgba(var(--ictsi-orange-rgb), 0.85) !important;
    /*    background-image: url("../images/diamond-elem-bg.png");
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;*/
    box-shadow: -5px 0 30px 5px gray;
}

    .right-orange-panel::before {
        content: '';
        position: absolute;
        background-image: url("../images/diamond-elem-bg.png");
        background-size: cover;
        background-position: right;
        background-repeat: no-repeat;
        animation: fadeInBgImage 1s ease forwards;
        z-index: -1;
        inset: 0;
        opacity: 0;
    }

.orange-panel-cont {
    background-color: rgba(251,225,206, 0.9);
    margin: 0 20px;
    padding: 30px;
    border-radius: 10px;
    /*    min-height: 500px;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .orange-panel-cont img {
        width: 20px;
        height: 20px;
    }

    .orange-panel-cont h5 {
        /*        letter-spacing: -0.5px;*/
        text-align: justify;
        /*        line-height: 25px;*/
        font-size: 16px;
    }

    .orange-panel-cont h6 {
        /*        letter-spacing: -0.5px;*/
        text-align: justify;
        /*        line-height: 25px;*/
        font-size: 16px;
    }

    .orange-panel-cont .reminder-subtext {
        text-align: justify;
        font-size: 14px;
        /*        font-size: 18px;*/
        /*        line-height: 25px;*/
        font-weight: bold;
    }

.top-orange-panel {
    top: 0;
    height: 150px;
    background-color: rgba(var(--ictsi-orange-rgb), 1) !important;
    background-image: url("../images/top-diamond-elem-bg.png");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    box-shadow: -5px 0 30px 5px gray;
}

.content-panel {
    max-height: 85vh;
    overflow-x: hidden;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-panel-no-navbar {
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-panel-registration {
    max-height: 100vh;
    position: fixed;
    right: 0;
    overflow-y: scroll;
}

@media (max-width: 992px) {
    .left-orange-panel,
    .left-orange-panel-80-vh,
    .left-orange-panel-registration {
        position: initial;
        /*        position: relative;*/
        height: auto;
        z-index: 5;
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .left-orange-panel-registration {
        position: initial;
        top: 0;
        /*        height: 100vh;*/
        max-height: 1200px;
        background-color: rgba(var(--ictsi-orange-rgb), 0.85) !important;
        box-shadow: 10px 0 30px 5px gray;
    }

        .left-orange-panel::before,
        .left-orange-panel-80-vh::before,
        .left-orange-panel-registration::before {
            background-image: url("../images/top-diamond-elem-bg.png");
            background-size: cover;
            background-position: top;
        }

    .content-panel-registration {
        position: relative;
    }

    .panel-navbar-margin {
        /*       commented bc when in mobile, has white gap on top*/
        margin-top: 100px;
    }

    .right-orange-panel {
        height: 100%;
        padding: 50px 0;
    }
}

@media (min-width: 990px) {
    .left-orange-panel-registration .panel-content {
        height: 100%;
    }
}
