﻿/** Conditions panel style *************************************/

.conditions-shadow {
    z-index: 9;
    position: fixed;
    width: 0; /* 0 width - change this with JavaScript - add class bellow */
    height: 100%;
    background-color: rgba(0,0,0,.3)
}

.conditions-shadow-visible {
    width: 100%;
}

.conditions-panel {
    z-index: 10;
    position: fixed;
    width: 0; /* 0 width - change this with JavaScript - add class bellow */
    height: 100%;
    top: 0;
    right: 0;
    overflow: hidden;
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
    background-color: var(--white);
}

@media screen and (max-width: 805px) {
    .conditions-panel-visible {
        width: 100%
    }
}

@media screen and (min-width: 806px) {
    .conditions-panel-visible {
        width: 806px
    }
}

.conditions-title {
    display: flex;
    justify-content: space-between;
    height: 96px;
    padding: 0 32px;
}

.conditions-center {
    display: flex;
    align-items: center
}

.conditions-title-sides {
    display: flex;
    justify-content: right;
    width: 100px
}

.conditions-close {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.conditions-frame {
    height: calc(100% - 96px);
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    border: none;
}
