/* BASIC TAGS */
/* 
#customH1 {
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: left;
    font-size: 200%;
}
#customH2 {
    display: flex;
    align-items: center;
    justify-content: center;
}
#customP{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1B355E;  
} */
.customLabel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
    padding-top: 5px;
}
.customInput {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 50%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 1px;
    text-align: center;
    font-style: italic;
    font-size: 16px;
    font-weight: bold;
    border: none;
    outline: none;
    border-radius: 8px 8px 8px 8px;
    background-color: #ebe9e9;
}
    .customInput:focus {
        border: none;
        border-radius: 2px 2px 2px 2px;
        background-color: rgb(228, 240, 240);
        filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.411));
        outline: none;
    }

/* CLASSES */
.basicDisplay {
    width: 50% ;
}

.breakSeperator {
    display: flex;
    background-color: #BBD1EA;
    text-align: left;
    height: 10%;
    padding-left: 10px;
    box-sizing: border-box;
}

.disbursements {
    padding-left: 6.18% !important; 
    box-sizing: border-box;
}


.detailColumns {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
}
    .detailsRowContainer {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        margin: 1px;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }
        .detailsDisplayClass {
            display: flex;
            width: auto;
            align-items: left;
        }
        .amountDisplayClass {
            display: flex;
            width: auto;
            right: 0px;
            text-align: right;
            white-space: nowrap;
        }

.knop {
    position: relative;
    justify-content: center;
    display: flex;
    align-items: right;
    padding: 10px;
    width: auto; 
    height: Auto;
    font-size: 16px;
    color: white;
    cursor: pointer;
    border: none;
    border-radius: 7px 7px 7px 7px;
    background-color: #C89211;
    filter: drop-shadow(0px 0px 0px rgb(100, 100, 100));
    box-sizing: border-box;
    
    transition:     transform 0.13s ease-in-out, 
                    filter 0.13s ease-in-out,
                    border-radius 0.13s ease-in-out,
                    background-color 0.13s ease-in-out;                    
    z-index: 4; 
}
    .knop:hover {
            filter: drop-shadow(0px 0px 5px rgb(100, 100, 100));
            transform: scale(1.02);
            transform-origin: center;
            border-radius: 10px 10px 10px 10px;
            background-color: #e4ae31;
    }

/* BACKGROUND BLUR STYLING */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px);
    background: rgba(218, 174, 30, 0.123);
    display: none;
    pointer-events: auto;
    padding: 10px;
    border-radius: 13px 13px 13px 13px;
    z-index: 1; 
}
    #overlay.overlay-active {
        z-index: 3;
    }
        #overlay.overlay-active-blur {
        z-index: 4;
        }

/* CALCULATOR MAIN OPEN BUTTON */
#calculator-button {
    background: url(../img/calcOpen1.png) no-repeat;
    background-size: contain;
    /* background-attachment:fixed; */
    background-position: left;
    background-origin: border-box;
    color: #ebe9e9;
    position: fixed; 
    filter: drop-shadow(0px 0px 3px rgb(100, 100, 100));
    /* transform: translateX(33px); */
    right: 10px;
    bottom: 33px;
    z-index: 2;
    width: 200px; 
    height: 66px; 
    background-color:  #1B355E;
    border-radius: 10px 10px 10px 10px;
    transform-origin: right;
    border-width: none;
    border-color: transparent;
    cursor: pointer;
    padding: 20px;
    box-sizing: border-box;

    text-align: right;
    text-wrap: auto;

    transition:     transform 0.13s ease-in-out, 
                    filter 0.13s ease-in-out,
                    border-radius 0.13s ease-in-out,
                    background-color 0.13s ease-in-out;      
}
    #calculator-button:hover {
        
        filter: drop-shadow(0px 0px 5px rgb(100, 100, 100));
        transform: translateX(5px);
        background-color: #253c61;
    }
        #calculator-button.overlay-active {
            z-index: 3;
        }
        #calculator-button.gradient-2 {
            background: linear-gradient(to right, #C89211, #C89211); /* Second gradient */
        }

        #mainCalculatorImage {
            width: 50px;
            height: 50px;
        }

/* LOGO CONTAINER */
#iconContainer{
    width: auto;
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}
    #calculatorIcon{
        width: 180px;
        height: auto;
    }
    #calculatorIcon2{
        width: 180px;
        height: auto;
    }

/* MAIN START */
    /* FIRST WINDOW (INPUT SIMPLE) */
#calculator-screen {
    position: fixed;
    padding: 21px;
    top: 50%;
    left: 50%;
    transform: translate(100%, -50%);
    width: 50vw;
    height: auto; 
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 13px 13px 13px 13px;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease-in-out;
    z-index: 3; 
}
    #calculator-screen.slide-in {
        position: fixed;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
    }
    #calculator-screen.slide-out {
        position: fixed;
        left: -50%;
        transform: translate(50%, 0%);
        padding: 20px;
    }

    /* CALCULATE AMOUNT BUTTON */
#calculateButton {
    background-color: rgb(109, 170, 48);
    color: #ffffff;
    transition: background-color 0.15s ease-in-out, 
                color  0.15s ease-in-out;  
    
    z-index: 4; 
}
    #calculateButton:hover {
        background-color: rgb(151, 241, 7);
        color: black;
    }

    /* CONTAINERS */
#inputFieldsContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
    
}
#mainDisplayRow {
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content: space-between;
    height: auto;
    box-sizing: border-box;
    width: 50%;
    background-color: rgb(247, 247, 247);
    border-radius: 2px 2px 2px 2px;
}

#outputFieldsContainer {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-top: 5px;
    box-sizing: border-box;
    
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;


}
#calculatorButtonContainer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box; 
}

    /* VALIDATION WARNINGS */

.pulse-error {
    animation: pulse 0.8s ease-in-out;
}
    @keyframes pulse {
        0% {
            color: black;
            font-weight: 100;
        }
        25% {
            color: red;
            font-weight: 500;
        }
        100% {
            color: black;
            font-weight: 100;
        }
}
#AmountTooLowPurchase, #AmountTooLowBond  {
    font-style: italic;
    font-weight: 100;
}
/* MAIN END */

/* DETAILS PANEL */


#detailsWindow {
    display: flex;
    flex-direction: column;
    position: fixed;
    padding: 5px;
    top: 50%; 
    left: 50%;
    transform: translate(100%, -50%);
    width: 90vw;
    height: auto; 
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 13px 13px 13px 13px;
    transition: transform 0.25s ease-in-out;
    z-index: 3; 
    overflow-y: auto;
    box-sizing: border-box;
    
}
    #detailsWindow.slide-in {
        position: fixed;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 7;
    }

/* FLEX STYLINGS FOR EFFECTIVE COLUMN SPACING */
@media only screen and (max-width: 767px) {
    #flexProperties {
    flex-direction: column !important; 
    }
    .basicDisplay {
        width: 50%  !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    #calculator-screen {
        width: 80vw !important;
    }
    .knop {
        padding: 20px;
    }
    #detailsHead {
        border-radius: 10px 10px 10px 10px ;
    }
    #transferDetailsHead  {
        border-radius: 10px 10px 10px 10px ;
    }
    #detailsWindow {
        overflow-y: auto;
        height: 90vh;
    }
}

@media (max-width: 400px) {
    #calculatorIcon {
        width: 33vw;
        height: auto;
    }
    #calculatorIcon2 {
        width: 33vw;
        height: auto;
    }
}
#flexProperties {
    display: flex;
    flex-direction: row;
}
    #detailsHead  {
        height: 30%;
        width: 100%;
        padding: 10px;
        background-color: #1B355E;
        color: white;
        box-sizing: border-box;
        border-radius: 5px 5px 5px 5px ;
    }


    /* DETAIL NAVIGATION */

    #showDetailsContainer {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #838383;
        box-sizing: border-box;
    }
        #detailsButton{
            border: none;
            background: transparent;
            font-style: italic;
            font-weight: 100;
            color: #464646;
        }
            #detailsButton:hover {
                font-weight: 600;
                color: #000000;
            }

    
    
    .disclaimer {
        font-style: italic;
        font-weight: 100;
        color: #464646;
        text-align: center;
        font-size: small;
        box-sizing: border-box;
        padding: 10px;
    }

    #detailCloseContainer {
        display: flex;
        flex-direction: row;
        width: 100%;
        height: auto;
        padding: 13px;
        display: flex;
        justify-content: right;
        align-items: center;
        box-sizing: border-box;
        
    }
        #closeDetails {
            color: whitesmoke;
            background-color: rgb(212, 48, 19);
            box-sizing: border-box;
        }
            #closeDetails:hover {
                color: black;
            }
        #emailButton {
            color: white;
            background-color: green;
            box-sizing: border-box;
            margin-right: 10px;
        }
            #emailButton:hover {
                color: #d8ffcf;
            }
        #saveButton {
            border: none;
            background-color: green;
            font-style: italic;
            font-weight: 100;
            color: white;
            margin-right: 10px;
        
        }
                #saveButton:hover {
                color: #d8ffcf;
                }


#total {
    display: flex;
    padding: 10px;
    box-sizing: border-box;
    width: auto;
    height: auto;
    background-color: rgb(241, 241, 241);
    border-radius: 2px 2px 2px 2px;
    flex: 1;
    justify-content: space-between;
}

#detailsTotal {
    display: flex;
    width: auto;
    height: auto;
}