﻿.mud-main-content {
    height: 100vh
}

a {
    text-decoration: none;
}

.svgContainer {
    display: none;
    transition: all .5s ease-in-out;
}

.rotateSvg {
    transform: rotate(180deg);
}

.inputFileZone {
    position: absolute;
    --width: 544.45px;
    top: 0;
    right: 0;
    width: var(--width);
    height: var(--inputFileZoneHeight);
    padding: 0.6vw;
    background-color: rgba(17, 17, 17, 1);
    border-radius: 0 0 0 30px;
    z-index: 1;
}

.inputContainer {
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(192, 192, 192, 1);
    border-radius: 0 0 0 30px
}

.dragAndDropContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 0px solid rgba(0, 0, 0, 0) !important;
    background-color: rgba(0, 0, 0, 0);
    height: 304.75px;
}

.inputButtonContainer {
    position: relative;
    top: 75%;
    width: 340px;
    height: 51px;
    gap: 10px;
    border-radius: 80px 0px 0px 0px;
}

.inputButtonText {
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    margin: auto;
}

.fileInfo {
    position: absolute;
    top: 0;
    right: 0;
    width: var(--fileInfoWidth);
    height: 100vh;
    overflow: hidden;
    transition: all .5s ease-in-out;
}

.fileInfoContent {
    z-index: 1;
    background-color: rgba(233, 233, 235, 1);
    transition: all 0.5s ease-in-out;
    height: 100vh;
    overflow-y: auto;
}

.buttonsContainer {
    width: 100%;
    position: relative;
    margin-top: calc(var(--fileNameContainerHeight) + 10px);
    display: flex !important;
    flex-direction: row !important;
}

.buttonsContainer button{
    width: 100%;
}

.buttonContent {
    display: flex;
    flex-direction: row;
    width: 160px;
    height: 50px;
    gap: 8px;
}

.changeNewFile {
    width: 280px;
}

.change_coord {
    background: #fff;
    padding: 5px 10px;
}

.buttonText {
    font-size: 14px;
    font-weight: 400;
    line-height: 27px;
    margin: auto 0;
}

.selectCoord {
}

.custom-select {
    width: 100% !important;
    height: 40px !important;
    border-radius: 32px !important;
    background-color: rgba(235, 235, 239, 1) !important;
}

.selectItemText {
    font-weight: 400;
    font-size: 14px;
    line-height: 27px;
    color: rgba(0, 0, 0, 1);
    overflow: hidden;
}

.belowContent {
    --offset-top: -70px;
    display: flex;
    flex-direction: column;
    position: relative;
    top: calc(var(--fileNameContainerHeight) + var(--offset-top));
    width: 100%;
    padding: 10px;
    padding-top: 0;
    gap: 6px;
    background-color: rgba(255, 255, 255, 1);
    transition: all .3s ease-in-out;
}

.selectLabel {
    white-space: nowrap;
    margin-top: 10px;
}

.selectDownloadType {
    margin: 10px auto;
    width: 100%;
}

.downloadButtonContent {
    display: flex;
    align-items: center;
}

.downloadButtonText {
    font-size: 12px;
    margin: auto 0 auto 10px;
    text-align: left;
}

.downloadButtonIcon {
    --sizeWH: 25px;
    width: var(--sizeWH);
    height: var(--sizeWH);
}

@keyframes fileInfo {
    from {
        top: -100vh;
    }

    to {
        top: 0;
    }
}

@media all and (max-width: 768px) {
    :root {
        --fileInfoWidth: 327px !important;
    }

    .selectLabel {
        font-size: 95%;
    }
}

@media all and (max-width: 425px) {
    div.change_coord{
        display:block !important;
    }

    .inputFileZone {
        position: absolute;
        --width: 403px;
        top: 275px;
        left: calc((100vw - var(--width)) / 2);
        width: var(--width);
        height: 325px;
        padding: 15px;
        border-radius: 30px;
        z-index: 100;
    }

    .inputContainer {
        border: 0px solid rgba(192, 192, 192, 1);
    }

    .inputButtonContainer {
        width: 304px;
    }

    .fileInfo {
        left: 0px;
        width: 100vw;
        height: 100vh;
    }

    .fileInfoContent {
        width: 100vw;
        position: absolute;
        top: -100vh;
    }

    .show {
        top: 0;
        transform: translate(0, 0);
        width: auto;
        z-index: 100;
        overflow-y: scroll;
    }

    .buttonsContainer {
        padding-right: 10px;
        justify-content: space-evenly;
    }

    .mud-typography {
        font-size: 1.4em !important;
    }

    .selectCoord {
        position: initial;
        margin: 8px 0;
    }

    .selectItemText {
        font-weight: 400;
        font-size: 1.2vw;
        line-height: 27px;
        color: rgba(0, 0, 0, 1);
        overflow: hidden;
    }

    .belowContent {
        padding-top: initial;
        overflow: initial;
    }

    .selectLabel {
        white-space: normal;
    }

    .safetyConteiner {
        width: auto !important;
    }
}

@media all and (max-width: 375px) {
    .inputFileZone {
        --width: 345px;
        height: 284px;
        left: calc((100vw - var(--width)) / 2);
    }

    .inputContainer {
        border: 0px solid rgba(192, 192, 192, 1);
    }

    .inputButtonContainer {
        top: 200px;
        width: 288px;
        margin-top: 0;
    }

    .fileInfo {
        left: 0px;
        width: 100vw;
        height: 100vh;
    }

    .fileInfoContent {
        position: absolute;
        top: -120vh;
    }

    .show {
        top: 0;
        transform: translate(0, 0);
        width: 100%;
    }

    .buttonsContainer {
        margin-right: 10px;
    }

    .changeNewFile {
        width: 171px;
    }

    .buttonText {
        font-size: 15px;
        font-weight: 400;
        line-height: 27px;
        margin: auto 0;
    }

    .mud-typography {
        font-size: 1.4em !important;
    }

    .selectItemText {
        font-weight: 400;
        font-size: 14px;
        line-height: 27px;
        color: rgba(0, 0, 0, 1);
        overflow: hidden;
    }

    .belowContent {
        width: 100vw;
        --offset-top: none;
        height: auto;
    }

    .downloadButtonText {
        margin: auto 10px;
    }

}

@media all and (max-width: 320px) {

    .show {
        top: 0;
    }

    .inputFileZone {
        --width: 305px;
        height: 285px;
        left: calc((100vw - var(--width)) / 2);
    }

    .buttonsContainer {
        margin-right: 10px;
    }

    .buttonContent {
        display: flex;
        flex-direction: row;
        width: 143px;
        height: 50px;
        gap: 8px;
    }

    .mud-svg-icon {
        --sizeWH: 4.3vh !important;
    }

    .mud-typography {
        font-size: 1.1em !important;
    }

    .mud-icon-button {
        --sizeWH: 2vh !important;
    }

    .selectCoord {
        width: 275px;
        top: 80px;
        left: 12px;
    }

    .belowContent {
        --offset-top: 243px;
    }

    .selectItemText {
        font-weight: 400;
        font-size: 1.2vw;
        line-height: 27px;
        color: rgba(0, 0, 0, 1);
        overflow: hidden;
    }

}