hr.twofas-hr {
    margin: 20px;
}

.twofas-button-link, .twofas-button-link-underscored {
    background: none !important;
    border: none;
    padding: 0 !important;
    font: inherit;
    cursor: pointer;
    position: relative;
}

.twofas-button-link-underscored {
    float: left;
    text-decoration: underline;
    color: #1e8cbe;
}

.twofas-alert-link {
    color: red;
}

.totp_private_field {
    width: 60%;
    margin: auto;
    font-size: 2em;
}

.totp_qr_code_img {
    width: 300px;
    margin: auto;
}

p.twofas-paragraph, p.twofas-blue-paragraph, p.twofas-red-paragraph {
    display: inline-block;
}

p.twofas-blue-paragraph {
    color: royalblue;
}

p.twofas-red-paragraph {
    color: red;
}

.twofas-admin-email {
    font-weight: bold;
}

.twofas-red-warning {
    color: red;
    font-size: 3em;
}

.twofas-inline {
    display: inline;
}

.twofas-border-top {
    border-top: 1px solid black;
}

.twofas-border-sides {
    border-left: 1px solid black;
    border-right: 1px solid black;
}

.twofas-grey-border-top {
    border-top: 1px solid darkgray;
}

.twofas-grey-border-bottom {
    border-bottom: 1px solid darkgray;
}

.twofas-border-bottom {
    border-bottom: 1px solid black;
}

.twofas-grey-border-sides {
    border-left: 1px solid darkgray;
    border-right: 1px solid darkgray;
}

.twofas-small-text, .twofas-small-grey-text{
    font-size: 0.8em;
    text-align: center;
}

.twofas-small-grey-text {
    color: dimgray;
}

table.twofas-auth-method {
    table-layout: fixed;
    max-width: 260px;
    border: 1px solid white;
    padding: 0;
    border-spacing:0;
    margin: 0;
    margin-right: 50px;
    display: inline-table;
}

    table.twofas-auth-method:last-of-type {
        margin-right: 0;
    }

    @media all and (max-width: 660px) {
        table.twofas-auth-method {
            display: inline-block;
            clear: both;
            float: none;
            margin: 0 auto 25px auto;
        }

        table.twofas-auth-method:last-of-type {
            margin-right: auto;
        }
    }

td.twofas-green-cell, td.twofas-white-cell, td.white-cell-border, td.twofas-grey-cell {
    width: 200px;
    background-color: green;
    padding: 0;
    margin: 0;
}

.twofas-active-badge {
    position: relative;
    left: 55px;
    color: white;
    background-color: royalblue;
    font-size:0.75em;
    border: 1px solid darkgray;
    padding: 3px;
}

td.twofas-green-cell, td.twofas-grey-cell-border {
    text-align: center;
    padding: 5px;
}

td.twofas-green-cell {
    background-color: green;
    color: white;
}

td.tall {
    height:50px;
}
td.twofas-white-cell, td.twofas-white-cell-border {
    background-color: white;
    padding: 5px;
    font-weight: bold;
}

td.twofas-white-cell-border {
    border: 1px solid black;
    text-align: center;
}

td.twofas-grey-cell-border {
    color: dimgray;
    background-color: lightgrey;
    font-size: 1em;
    border: 1px solid darkgray;
}

/* 2FAS Channel */

.twofas-paragraph {
    display: inline-block;
    margin-left: 5px;
    font-weight: bold;
    color: #000;
}

.twofas-card-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
}

    .twofas-card-container > p {
        margin-top: 0;
    }

    @media all and (max-width: 640px) {
        .twofas-card-container {
            padding: 0 10px;
        }
    }

.twofas-card {
    min-width: 0;
    max-width: 100%;
    margin-top: 20px;
    padding: 20px;
    background-color: white;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

    .twofas-card:first-of-type { margin-top: 0; }

    .twofas-card.twofas-email p {
        text-align: center;
        font-size: 15px;
        line-height: 1.5;
        letter-spacing: -0.3px;
        margin: 0;
    }

    .twofas-card h4 {
        font-size: 1.3em;
        text-align: center;
    }

    .twofas-card-channels {
        margin-bottom: 45px;
        text-align: center;
    }

    .twofas-card-channels:last-of-type {
        margin-bottom: 0;
    }

.twofas-danger-card {
    padding: 30px 20px;
}

    .twofas-danger-card h4 {
        text-align: left !important;
        margin-top: 0;
        padding-left: 0 !important;
    }

.twofas-danger-header {
    margin-top: 20px;
}

.twofas-danger-header span {
    display: block;
    float: left;
    width: 39px;
    height: 39px;
}

.twofas-danger-header h3 {
    margin-left: 30px;
    line-height: 39px;
    margin-top: 0;
    font-size: 1.3em;
}

td.twofas-cell-content, td.twofas-cell-content-short {
    font-size: 1.3em;
    line-height: 1.2em;
    font-weight: bold;
    height: 60px;
}

td.twofas-cell-content-short {
    height: 10px;
    padding: 0 !important;
}

td.twofas-cell, td.twofas-grey-cell {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

td.twofas-grey-cell {
    background-color: lightgray;
    color: dimgray;
}

td.twofas-cell-25 {
    height: 25px;
}

.twofas-method-enabled-box, .twofas-method-not-active-box, .twofas-method-active-box, .twofas-method-dummy-box {
    position: relative;
    left: 100px;
    top: 5px;
    font-size:1em;
    font-weight: bold;
    padding: 5px;
    border-radius: 2px;
}

.twofas-method-active-box {
    color: white;
    left: 70px;
    background-color: rgba(0, 35, 102, 0.9);
}

.twofas-method-enabled-box {
    color: white;
    background-color: green;
}

.twofas-method-not-active-box {
    background-color: darkgray;
    color: dimgray;
}

/*
    User menu, method control buttons
*/

.twofas-method-reconfigure, .twofas-method-enabled, .twofas-method-disabled, .twofas-method-inactive {
    position: relative;
    left: 30px;
    border: none;
    border-radius: 2px;
    padding: 5px;
    font-size: 0.9em;
    display: inline-block;
    float: right;
    cursor: pointer;
}

.twofas-method-enabled,
.twofas-method-disabled {
    position: static;
    margin: 0 !important;
}

.disable-click {
    cursor: default !important;
    pointer-events: none;
}

.twofas-method-reconfigure {
    background-color: royalblue;
    color: white;
    cursor: pointer;
}

.twofas-method-enabled {
    background-color: green;
    color: white;
}

.twofas-method-disabled {
    background-color: red;
    color: white;
}

.twofas-method-inactive {
    background-color: darkgray;
    color: white;
}

.twofas-button-cell {
    height: 30px;
}

.twofas-description-cell {
    height: 70px;
}

.twofas-coming-soon-cell {
    font-size: 1.2em;
    height: 30px;
}

.twofas-action-label {
    display: inline-block;
    float: left;
    font-weight: bold;
    margin-right: 0;
    position: relative;
    top: 3px;
}

/*
    TOTP Configuration
*/

.twofas-totp-app {
    display: inline-block;
    width: 150px;
    height: 50px;
    margin:10px;
}

@media all and (max-width: 640px) {
    .twofas-totp-app {
        display: block;
        float: none;
        height: auto;
        margin: 0 auto 30px auto;
    }
}

.twofas-app-label {
    font-weight: bold;
}

.twofas-app-description {
    width: 100%;
    border: 1px solid darkgray;
    height: 40px;
    border-radius: 5px;
    margin-top: 5px;
    padding: 5px;
}

.twofas-app-icon {
    float: left;
}

/* create account */
.twofas-card-center {
    margin: 50px auto 0 auto;
    padding: 20px 30px;
}

    .twofas-card-center.card-create-account,
    .twofas-card-center.card-login {
        max-width: 350px;
    }

    .twofas-card-center .form-input-container {
        width: 100%;
        display: block;
        margin-bottom: 15px;
    }

        .twofas-card-center .form-input-container:last-of-type {
            margin-bottom: 0;
        }

        .twofas-card-center .form-input-container label {
            width: 100%;
            display: block;
            margin-bottom: 10px;
            line-height: 1.3;
            font-size: 14px;
            font-weight: 600;
            text-shadow: none;
            text-align: left;
            vertical-align: middle;
            color: #23282d;
        }

        .twofas-card-center .form-input-container input {
            width: 100%;
            display: block;
        }

    .twofas-card-center .submit {
        text-align: right;
        margin: 10px 0 0 0;
    }

        .twofas-card-center .submit input[type="submit"] {
            padding: 0 20px;
        }

        .twofas-card-center .submit input[type="submit"]:first-of-type {
            margin-left: 4px;
        }

    .twofas-card-center .form-table td {
        padding-right: 0;
    }

.twofas-admin .twofas-admin-header {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    clear: both;
}

    @media all and (max-width: 640px) {
        .twofas-admin .twofas-admin-header {
            text-align: center;
        }

        .twofas-admin .twofas-admin-header img {
            margin-right: 0;
        }
    }

    .twofas-admin .twofas-admin-header img,
    .twofas-admin .twofas-admin-header h1 {
        display: inline-block;
        vertical-align: middle;
    }

    .twofas-admin .twofas-admin-header img {
        margin-left: 0;
        margin-right: 10px;
    }

    .twofas-admin .twofas-admin-header h1 {
        color: #4e4e4e;
    }

.twofas-admin h2,
.twofas-admin h4 {
    display: block;
    padding: 0 20px;
}

.twofas-admin .update-nag {
    padding: 1px 12px;
}

.twofas-container {
    display: block;
    padding: 0;
}

/* ACCOUNT MODAL */

.account-modal-container .modal-header {
    text-align: right;
}

    .account-modal-container .modal-header a {
        color: #fff;
        font-weight: 700;
        font-size: 13px;
        text-decoration: none;
        display: inline-block;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        line-height: 20px;
        text-align: center;
        background-color: #b1b1b1;
        outline: none;
    }

    .account-modal-container .modal-header a:hover {
        background-color: #6f6f6f;
    }

.account-modal-container .modal-body {
    text-align: center;
}

    .account-modal-container .modal-body h3 {
        font-size: 18px;
        line-height: 24px;
        font-weight: 700;
        margin: 10px 0 0 0;
    }

    .account-modal-container .modal-body p {
        letter-spacing: -0.5px;
    }

.account-modal-container .modal-footer {
    display: table;
    width: 100%;
    margin-top: 20px;
}

    .account-modal-container .modal-footer .modal-footer-left,
    .account-modal-container .modal-footer .modal-footer-right {
        display: table-cell;
        vertical-align: middle;
    }

    .account-modal-container .modal-footer .modal-footer-right {
        text-align: right;
    }

.twofas-trusted-machines {
    padding: 20px;
}

    .twofas-trusted-machines th {
        font-weight: bold;
    }

    .twofas-trusted-machines .manage-column {
        width: 25%;
    }

    /*
    .twofas-trusted-machines .manage-column:first-of-type {
        width: 60%;
    }
    */

.enter-token-container {
    text-align: center;
}

    .enter-token {
        display: inline-block;
        line-height: 29px;
    }

        .enter-token > input,
        .enter-token > label {
            margin-right: 10px;
        }

        .enter-token > input[type="text"] {
            width: 100px;
            text-align: center;
        }

        .enter-token > label {
            display: inline-block;
            vertical-align: middle;
        }

        .enter-token .button {
            padding: 0 20px;
            height: 28px;
        }
    
    @media all and (max-width: 640px) {
        .enter-token > input,
        .enter-token > label {
            margin-right: 0;
            margin-bottom: 10px;
        }

        .enter-token > input[type="text"] {
            width: 100%;
        }
    }

/* Header with logo */
.twofas-admin-header {
    line-height: 50px;
}
    .twofas-admin-header > img,
    .twofas-admin-header > span {
        display: inline-block;
        vertical-align: middle;
    }

    .twofas-admin-header span:first-of-type {
        font-size: 23px;
        font-weight: 400;
        margin: 0;
        padding: 9px 15px 4px 0;
        line-height: 29px;
        color: #23282d;
    }

    .twofas-admin-header span:last-of-type {
        display: block;
        padding: 0;
        font-size: 1.3em;
        font-weight: 600;
        color: #23282d;
    }

    .twofas-admin-header > img {
        margin-right: 10px;
    }

/* Yellow notification FIX */
.twofas-admin .update-nag {
    display: block;
}

/* Trusted machines */
.visible-phone {
    display: none;
}

.hidden-phone {
    display: block;
}

.hidden-phone-table {
    display: table;
}

@media all and (max-width: 782px) {
    .visible-phone {
        display: block;
    }

    .hidden-phone,
    .hidden-phone-table {
        display: none;
    }
}

.trusted-machine-mobile {
    text-align: center;
    line-height: 1;
}

    .trusted-machine-mobile div {
        margin-bottom: 10px;
        line-height: normal;
    }

    .trusted-machine-mobile div:last-of-type {
        margin-bottom: 0;
    }

    .trusted-machine-mobile p {
        font-size: 18px;
        line-height: 26px;
        margin: 0;
    }

.button-danger {
    -webkit-box-shadow: 0 1px 0 #B71814 !important;
    box-shadow: 0 1px 0 #B71814 !important;
    border-color: #B71814 !important;
    color: #fff !important;
    background: #d61f1f !important;
}

    .button-danger:hover {
        background: #d64040 !important;
    }

.button-success {
    -webkit-box-shadow: 0 1px 0 #319134 !important;
    box-shadow: 0 1px 0 #319134 !important;
    border-color: #319134 !important;
    color: #fff !important;
    background: #39b13e !important;
}

    .button-success:hover {
        background: #3dba41 !important;
    }

.mr10 { margin-right: 10px !important; }

.wp-border {
    border: 1px solid #e5e5e5 !important;
    box-shadow: 0 1px 1px rgba(0,0,0,.04) !important;
}

h2.notification-header {
    display: none !important;
}

.remove-machine-link {
    margin: 0;
}

.button-cog {
    border: 0;
    float: right;
    padding-left: 0;
    padding-right: 0;
    outline: none;
    cursor: pointer;
    color: #444;
    background: none;
}

.text-center {
    text-align: center;
    margin: 10px 0 !important;
}

/* Loading Circle */
.submit.disabled .button-primary {
    color: #66c6e4!important;
    background: #008ec2!important;
    border-color: #007cb2!important;
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
    text-shadow: 0 -1px 0 rgba(0,0,0,.1)!important;
    cursor: default;
    user-select: none;
    pointer-events: none;
}

    .submit.disabled:before {
        content: ' ';
        display: inline-block;
        width: 16px;
        height: 16px;
        vertical-align: middle;
        background-image: url('../img/loading.gif');
        -webkit-background-size: cover;
        background-size: cover;
        background-repeat: no-repeat;
    }

/* font icon */
@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?dpq3ug');
  src:  url('../fonts/icomoon.eot?dpq3ug#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?dpq3ug') format('truetype'),
    url('../fonts/icomoon.woff?dpq3ug') format('woff'),
    url('../fonts/icomoon.svg?dpq3ug#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

.toplevel_page_twofas-submenu-channel#toplevel_page_twofas-submenu-channel > a > .wp-menu-image,
.toplevel_page_twofas-submenu-channel#toplevel_page_twofas-submenu-channel > a > .wp-menu-image:before {
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    font-size: 18px;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

    .toplevel_page_twofas-submenu-channel#toplevel_page_twofas-submenu-channel > a > .wp-menu-image:before {
        content: "\e900";
    }

.twofas-login-container .submit.disabled:before {
    visibility: hidden;
}

.twofas-admin .notice {
    margin: 5px 0 !important;
}

.twofas-admin #twofas-notification-wrapper .notice {
    margin: 0 !important;
}
.icon-cog:before {
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    font-size: 18px;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-warning:before {
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    font-size: 18px;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.icon-warning:before {
    content: "\e901";
    float: right;
    padding-left: 0;
    padding-right: 0;
    outline: none;
    cursor: pointer;
    color: red;
}
.icon-cog:before {
    content: "\e994";
    float: right;
    padding-left: 0;
    padding-right: 0;
    outline: none;
    cursor: pointer;
}

button.button-cog a:hover .icon-cog:before {
}

.button-cog {
    border: 0;
    float: right;
    padding-left: 0;
    padding-right: 0;
    outline: none;
    cursor: pointer;
    color: #444;
    background: none;
}

.twofas-no-shadow {
    text-shadow: none !important;
}