/* --------------------------------------------------- */
/* Styles shared by:
/*  - 2nd Swing My Account
/*  - GSV Dashboard
/*  - Trade Widgets
/* --------------------------------------------------- */

/* ------------------------------------- */
/* buttons */
/* ------------------------------------- */

.btn {
    border: none;
    border-radius: 2px;
    box-shadow: none;
    font-size: 14px;
    font-weight: 500;
    min-width: 88px;
    padding: 0 16px;
    line-height: 36px;
    cursor: pointer;
    -webkit-appearance: none;
}

/* ------------------------------------- */
/* alert */
/* ------------------------------------- */

.alert-success {
    color: #4B9E39;
}

.alert-error {
    color: #B91415;
}

.alert-warning {
    color: #F17528;
}

.alert-info {
    color: #5994B2;
}

/* ------------------------------------- */
/* inset
/* ------------------------------------- */

.inset {
    margin-top: 20px;
    background: #efefef;
    padding: 20px;
}

/* ------------------------------------- */
/* form elements */
/* ------------------------------------- */

/* parent class */

.form-parent {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-top: 10px;
    margin-bottom: 0;
}

.form-group + .form-group {
    margin-top: 40px;
}

/* labels */

.control-label {
    font-size: 11px;
    font-weight: normal;
    color: #8f8a8a;
}

/* form elements */

.form-control {
    background: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.42);
    padding: 0;
    margin-bottom: 25px;
    font-size: 14px;
    box-shadow: none;
    width: 100%;
    line-height: 1.75;
    border-radius: 0;
}

.form-control:hover {
    border-bottom: 1px solid rgba(0, 0, 0, 0.8);
}

.form-control:focus {
    box-shadow: none;
    border: none;
    outline: none;
    border-bottom: 1px solid #c50000;
}

/* ------------------------------------- */
/* override Chrome's yellow background */
/* ------------------------------------- */

/* https://stackoverflow.com/questions/2781549/removing-input-background-colour-for-chrome-autocomplete */
form input:-webkit-autofill,
form input:-webkit-autofill:hover,
form input:-webkit-autofill:focus,
form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #fcfcfc inset; /* Change the color to your own background color */
    border-color: #808080;
}

/* ------------------------------------- */
/* page layout / high level */
/* ------------------------------------- */

.login-pf body {
    background: #fff;
}

.card-pf {
    max-width: 500px;
    box-sizing: border-box;
    margin: 0 auto 20px auto;
    font-family: Roboto, "Helvetica Neue", sans-serif;
    font-size: 14px;
    color: #1A1919;
    border: 1px solid #ccc;
    box-shadow: none;
}

/* ------------------------------------- */
/* page layout / high level */
/* ------------------------------------- */

#kc-header-wrapper {
    display: none;
}
#swing-login-wrapper {
    margin-top: 10px;
}


/* ------------------------------------- */
/* details / instruction / alert  */
/* ------------------------------------- */

.details {
    color: #8f8a8a;
    font-style: italic;
}

/* ------------------------------------- */
/* 2ndswing Header  */
/* ------------------------------------- */

#swing-header-wrapper {
    margin: 20px;
    padding-left: 50px;
}

.swing-link {
    padding: 10px; 
    font-size: 18px;
}

.swing-responsive {
    width: 125px;
    height: auto;
}

/* ------------------------------------- */
/* 2ndswing Header small device */
/* ------------------------------------- */

@media (max-width: 800px) {
    #swing-header-wrapper {
        margin: 20px;
        padding-left: 0px;
    }

    .swing-responsive {
        max-width: 25%;
        height: auto;
    }
    .swing-link {
        padding: 10px;
        font-size: 14px;
    }
}