/* Old css file still used in all authentication pages*/


/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

/* COLORS */

:root {
    --lightyellow: #fed56b;
    --yellow: #FFC550;
    --blue: #2a2f74 !important;
    --red: #ED2D40;
    --green: #379444;
    --grey: #82827E;

    --fs-400: 1rem;
    --fs-300: 0.9rem;
}

.blue {
    color: var(--blue);
}

.grey {
    color: var(--grey);
}

.red {
    color: var(--red);
}

.bg-yellow {
    background-color: var(--lightyellow);
}

.bg-blue {
    background-color: var(--lightyellow);

}

.text-error {
    color: var(--red);
}

button {
    cursor: pointer;
}


/* ANIMATIONS*/

.zoom:hover {
    transform: scale(1.3); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    transition: 0.3s;
}


/* GENERAL */

* {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /*outline: red solid 1px;*/
}

.row {
    --bs-gutter-x: 0 !important;
}

.row > * {
    padding-right: 1vw !important;
    padding-left: 1vw !important;
}

a {
    text-decoration: none !important;
    color: unset;
    transition: 0.3s;
    cursor: pointer;

}

a:hover {
    color: var(--blue) !important;
}

button a:hover {
    color: white !important;
}

label {
    margin-bottom: -10px !important;
}

#container {
    height: 100vh;
    width: 100%;
    padding-top: 15px;
    overflow-y: hidden;
}

#dash-content {
    height: 90vh;
    margin-top: 15px;
    overflow-y: scroll;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

#dash-content::-webkit-scrollbar {
    display: none;
}

.stream-error {
    top: 40%;
    width: 100%;
    position: absolute;
    text-align: center;
    color: var(--grey);

}

@media screen and (max-width: 768px) {
    #dash-content {
        padding: 10px;
    }

    #search-form {
        display: none;
    }

    .stream-error {
        top: 15%;
    }
}

/* BASIC COMPONENTS */

.mycard {
    background-color: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
}

.section-title {
    margin-bottom: 30px;
    margin-top: 15px;
}

.section-title .fa-arrow-left {
    font-size: x-large;
    color: var(--grey);
    margin-right: 10px;
}

.fa-arrow-left:hover {
    color: var(--blue);
}

.section-title h2 {
    color: var(--blue);
    display: inline;
}

.dot {
    margin-top: 5px;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display: inline-block;
}

.dot-bg-red {
    background-color: var(--red);
}

.dot-bg-green {
    background-color: var(--green);
}

.blue-button {
    background-color: var(--blue) !important;
    border-color: var(--blue) !important;
    color: white !important;
    transition: 0.3s;
}

.blue-button:hover {
    background-color: #2f638a !important;
}

.red-button {
    background-color: var(--red) !important;
    color: white !important;
}

.red-button:hover {
    background-color: darkred !important;;
}

.button-left {
    position: absolute;
    right: 15px;
}

#edit {
    color: var(--lightyellow);
    font-size: 15px;
    cursor: pointer;
}

#edit1 {
    color: white;
    font-size: 15px;
    cursor: pointer;

}

#edit:hover {
    color: white;
}

#edit1:hover {
    color: var(--yellow);
}

#editable {
    display: inline;
    cursor: pointer;
}

#editable1 {
    display: inline;
    cursor: pointer;
}

#editable:hover + #edit {
    color: var(--grey);
}

#editable1:hover + #edit1 {
    color: var(--blue);
}

/* LOGIN */

.logo-login {
    text-align: center;
    margin-top: 100px;
}

.logo-login img {
    width: 50%;
    margin-right: auto;
    margin-left: auto;
}


@media screen and (max-width: 768px) {
    .logo-login img {
        margin-top: 3vh;
        width: 90%;
    }

    #login-content {
        margin: 30px;
    }
}


/* SIDEBAR */

#sidebar {
    width: 16%;
    min-width: 220px;
    max-width: 250px;
    overflow: hidden;
}

#sidebar .mycard {
    height: 94vh;
    position: sticky;
    padding: 15px;
}

#toggle-div {
    text-align: right;
}

#toggle-icon {
    color: var(--yellow);
}

#sidebar-content {
    width: 87%;
    height: 65vh;
    margin-left: auto;
    margin-right: auto;
    margin-top: 9vh;
    overflow-y: auto;
}

#sidebar-content::-webkit-scrollbar {
    display: none;
}

.nav-elem {
    margin-top: 15px;

}

.nav-elem a {
    color: var(--grey);

}

.active {
    color: var(--blue) !important;
    font-weight: 900 !important;
}

#sidebar-footer {
    text-align: center;
    color: var(--grey);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}


.mobile-nav-icon a {
    font-size: 30px;
    color: white;
}

.mobile-nav-icon {
    text-align: center;
}

/* HEADER */


.notification-count {
    width: 30px;
    height: 23px;
    position: absolute;
    text-align: center;
    background: var(--blue);
    color: white;
    border-radius: 13px;
    top: 25px;
    right: 2px;
    cursor: pointer;
    font-weight: 900;
}

.notification-list {
    background-color: white;
    width: 90% !important;
    max-width: 500px !important;
    padding: 20px !important;
    border-radius: 15px !important;
    float: right !important;

}

@media screen and (max-width: 768px) {
    .notification-list {
        margin-left: 5%;
        margin-right: 5%;
    }
}

.dropdown-item {
    white-space: normal !important;
}

/* INDEX */

.farm {
    border-radius: 25px;
    border: var(--grey) solid 1px;
}

.farm p {
    display: inline;
}


.farm a {
    color: black;
}

.farm a:hover {
    font-weight: bold !important;
}

.farm > * {
    padding-left: calc(var(--bs-gutter-x) * .5) !important;
    padding-right: calc(var(--bs-gutter-x) * .5) !important;
}


/* STREAMING PAGE */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10%;
    width: 100%;
    opacity: 0;
    background-color: var(--grey);
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

#streaming-container:hover .overlay {
    opacity: 1;
}

.fullscreen {
    color: white;
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    top: 50%;
    right: 15px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: right;
}

#streaming {
    width: 100%;
    border-radius: 25px;
    position: absolute;
    top: 0;
}


#registration-choice button:hover {
    background-color: var(--blue);
    color: white;
}
