/*
Copy/paste styles from drund
*/

.modal_overlay{
    position: fixed;
    z-index: 9999;
    top:0;
    left:0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;

    width:100%;
    height:100%;
    background: rgba(0,0,0,0.4);

    overflow: auto;
}

    .modal{
        line-height: 1.4;
        width: auto;
        height: auto;
        overflow: visible;

        position: relative;
        display: flex;
        flex-direction: column;
        background: white;

        padding: 1em;
        margin: auto 5%;
        border-radius: 8px;

        box-shadow: 0 15px 12px 0 rgba(0, 0, 0, 0.22),
                0 19px 38px 0 rgba(0, 0, 0, 0.3);

    }

    .modal .modal_content{
        display: flex;
        justify-content: center;
    }

    .modal .modal_header{
        margin-bottom: 16px;
    }

    .modal .modal_header h1{
        margin:0;

        font-size: 16px;
        font-weight: 700;
        color: #333;
    }

    .modal button{
        display: inline-block;
        cursor: pointer;

        background: none;
        border: 0;
        margin: 0;
        padding: 0;

        /* overwrite www styles */
        text-transform: none;
        width: auto;
        height: auto;
    }

    .modal button::-moz-focus-inner{
        padding: 0;
        border: 0;
    }

    .modal button:focus{
        outline: 0;
    }

    /* add class to apply bootstrap styles */
    .modal .mr-3{
        margin-right: 1rem;
    }
    .modal .styled-button{
        display: inline-flex;
        justify-content: center;
        align-items: center;
        white-space: nowrap;
        vertical-align: middle;
        line-height: 24px;

        /* overwrite classes in www*/
        height: auto;

        padding: 0.5rem 1rem;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 600;
    }
    .modal .modal_ask_again {
        display: flex;
        align-items: center;
        margin-top: 8px;
    }

        .modal .styled-button:hover, .modal button:hover .styled-button{
            text-decoration: none;
        }
        .modal .styled-button:active, .modal button:active .styled-button{
        }

        .modal .styled-button-border{
            border: 2px solid #cdcdcd;
            color: #7f7f7f;
            background: white;
        }
        .modal .modal_ask_again input[type='checkbox'] {
            margin: 0;
        }
        .modal .modal_ask_again .remember_label {
            margin: 0 0 0 8px;
        }

            .modal .styled-button-border:hover, .modal button:hover .styled-button-border{
                border-color: @defaultHover;
                color: @defaultHover;
                background: white;

                .svg-icon{
                    fill: @defaultHover;
                }

            }
            .modal .styled-button-border:active, .modal button:active .styled-button-border{
                border-color: @defaultHover;
                color: @defaultHover;
                background: @default;

                .svg-icon{
                    fill: @defaultHover;
                }
            }

