﻿@charset "utf-8";

.modalPanel{

    box-shadow: 5px 5px 22px black;   
    border-radius: 5px;
    /*overflow: hidden;*/
    /*overflow: initial;*/ 
    /* ?? NEEDED FOR closingCross*/
}


.messagePanel{
    /* min-width: 70rem; */
    max-width: 85rem;
}

.sideElement{
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 57%;    
    z-index: -1;
}
html[data-dimension="xs"] .sideElement {
    /*display: none;*/
}
html[data-dimension="xs"] .sideElement:before {
    content: '';
    bottom: 0px;
    right: 0px;
    top: 0px;
    left: 0px;
    position: absolute;
    /*background-color: rgba(255, 255, 255, 0.5);*/

    background: linear-gradient(87deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 23%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,1) 73%);
}


html:not([data-dimension="xs"]) .sideElement + *{
    padding-left: 50%;
}

.sideElement + *{
    z-index: 0;
}


.closingCross{
    color: black;
    z-index: 1;  
    position: absolute;
    top: -0.6em;
    right: -0.5em;
    
    
/*    position: fixed;
    right: unset;
    top: unset;
    margin-left: 84rem;*/
}



.closingCross:after {
    content: '';
    position: absolute;
    display: block;
    background-color: #dedede;
    border-radius: 5em;
    width: 2em;
    height: 2em;
    top: -0.3em;
    left: -0.49em;
    z-index: -1;    
    transition: all 0.5s;
    box-shadow: 0.2em 0.15em 0.4em black;
}
.closingCross:hover:after {
    background-color: var(--color-headline);
}