:root {
    --nav-width: 320px;
}

.text-success {
    color: #3c7d3e;
}
.text-warning {
    color: #75703b;
}
.bg-success {
    background-color: #3c7d3e;
}
.bg-warning {
    background-color: #ffc107;
}
.bg-danger {
    background-color: #b94a48;
}
.id-verify-label {
    min-height: 20px;
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
    width: 100%;
}

.reveal-if-active {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    -webkit-transition: 500ms;
    transition: 500ms;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.reveal-if-active label {
    display: block;
    margin: 0 0 3px 0;
}

.reveal-if-active input[type=text] {
    width: 100%;
}

input[type="radio"]:checked ~ .reveal-if-active,
input[type="checkbox"]:checked ~ .reveal-if-active {
    opacity: 1;
    max-height: 100px;
    padding: 10px 20px 0;
    -webkit-transform: scale(1);
    transform: scale(1);
    overflow: visible;
}

.d-inline {
    display: inline !important;
}

@media (min-width: 550px) {
    .recovery-form-group {
        max-width: 65%;
    }
}

@media (min-width: 500px) and (max-width: 767px) {
    .panel-default {
        max-width: 75%;
        margin: auto;
    }
}
.recovery-info-panel {
    padding: 0;
    text-align: center;
    background-color: white;
}
.recovery-form-group {
    margin: auto;
}
.recovery-type-info {
    padding: 0;
}
.recovery-field-disabled {
    border-right: 1px solid #ccc;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}
.recovery-field:focus {
    border-style: solid solid solid solid;
}
.recovery-validator-span {
    border-style: solid solid solid none;
    background-color: #fff;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    min-width: 40px;
}
.recovery-type-group {
    padding-bottom: 5%;
}
.recovery-field-text {
    margin-bottom: 0;
    font-weight: normal;
}
.recovery-btn-undo {
    padding-top: 0;
    padding-bottom: 0;
    display: none;
    background-color: darkgray;
    color: white;
}
.recovery-btn {
    width: 30%;
    display: inline-block;
}
.recovery-btn-group {
    float: right;
    width: 40%;
}
.recovery-old-info {
    float: left;
    width: 60%;
    word-wrap: break-word;
}
.recovery-input-group {
    width: 100%;
}
.alert {
    max-width: 700px;
    margin: auto auto 3%;
}
.alert ul {
    width: fit-content;
    margin: auto;
}
.alert ul li {
    text-align: left;
}
.alert-dismissable {
    padding-left: 0;
    padding-right: 35px;
}
.alert-dismissible .close {
    right: 0 !important;
}
.recovery-icon:hover {
    cursor: pointer;
}
.recovery-icon {
    border: none;
    background-color: #f5f5f5;
}

@media (max-width: 992px) {
    .recovery-old-info {
        width: 100%;
        display: block;
    }
    .recovery-btn-group {
        float: left;
        width: 100%;
        display: block;
    }
}

#duo_iframe {
    width: 100%;
    height: 330px;
    border: none;
}

.token-img {
    max-height: 200px;
}

.btn-blue {
	background:#40658f;
	color:#ffffff;
}
.btn-blue:hover {
    color: #ffffff;
    background: #567daa;
}

.btn-caution {
    color: #6c757d ;
    background-color: transparent ;
    border: 2px solid #6c757d;
}
.btn-caution:hover {
    color: #000000;
    background: #FFFF00;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-default-important {
    color: #6c757d ;
    background-color: transparent ;
    border: 2px solid #6c757d;
}

.btn-default-important:hover {
    color: #fff;
    border: 2px solid #6c757d;
    background-color: #6c757d;
}

@media (max-width: 992px) {
    .navbar #main-site-nav ul.mainmenu li ul {
        display: block;
        position: static;
        background: inherit;
        width: 100%;
    }
    .navbar #main-site-nav ul.mainmenu li ul li a {
        padding-left: 50px;
    }
    .navbar #main-site-nav ul.mainmenu li:hover ul a {
        padding: 20px 20px 20px 50px;
        font-size: 1.25rem;
        line-height: 20px;
    }
    .navbar #main-site-nav button {
        background: none;
        border: none;
        width: 100%;
        text-align: left;
    }
    .hidden-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .logout-button {
        margin-left: 15% !important;
        float: right;
    }
    .hidden-desktop {
        display: none !important;
    }
}

ul.landing-options {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 2rem -10px;
    padding: 0;
    list-style: none;
    justify-content: center;
}

ul.landing-options li {
    flex: 0 0 20%;
    margin: 0 0 1rem 0;
    padding: 0;
}

ul.landing-options li a {
    display: block;
    padding: 15px;
    font-size: 1.5em;
    color: #40658f;
    text-decoration: none;
    text-align: center;
    line-height: 135%;
}

ul.landing-options li a i {
    width: 2em;
    height: 2em;
    line-height: 2em;
    background-color: #00274c;
    border-radius: 100%;
    font-size: 3rem;
    color: #ffffff;
    margin: 0 0 .5rem 0;
    transition: all .3s ease-in-out;
}

ul.landing-options li a:hover {
    color: #cc3300;
}

ul.landing-options li a:focus {
    background-color: white;
}

ul.landing-options li a i {
    margin-bottom: 0.5rem;
    transition: all .3s ease-in-out;
}

ul.landing-options li a:hover i {
    transform: translateY(-.75rem);
}

.main-container {
    min-height: max(752px, 100vh - 364px);
    position: relative;
}

.panel-default {
    max-width: 700px;
    margin: auto auto 1rem;
}

.duo_logo {
    max-height: 2rem;
    margin: 0 .25rem 0 .25rem;
}

.small-input {
    max-width: 200px !important;
}

.region-navigation img {
    max-height: 76px;
}

.get-help-chat-tab#get-help {
    display: none;
}

.get-help-chat-tab {
    position: fixed;
    bottom: 25%;
    right: 0px;
    display: block;
    margin: 0;
    padding: 0;
    font-family: Roboto,Arial,Helvetica,sans-serif;
    color: #ffffff;
    background: #00274c;
    white-space: nowrap;
    z-index: 99999;
    transform-origin: bottom right;
    -webkit-transform-origin: bottom right;
    transform: rotate(-90deg) translate(50%);
    -moz-transform: rotate(-90deg) translate(50%);
    -webkit-transform: rotate(-90deg) translate(50%);
    -o-transform: rotate(-90deg) translate(50%);
    -ms-transform: rotate(-90deg) translate(50%);
    animation: slideInFromRight 20s ease-out 1.5s 2 forwards;
    -webkit-animation: slideInFromRight 20s ease-out 1.5s 2 forwards;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.3);
}

.get-help-chat-tab a {
    display: block;
    margin: 0;
    padding: 0 20px 0 20px;
    color: #ffffff;
    text-decoration: none;
    line-height: 36px;
}

.get-help-chat-tab .fas {
    margin-right: 10px;
    color: #ffcb05;
}

.get-help-chat-tab a:hover {
    background:#9A3324;
}

.get-help-chat-tab a:focus {
    background:#9A3324;
    outline:thin dotted #ffcb05;
}

.password-span {
    padding: 0;
    min-width: 40px;
}

.password-span > button {
    position: absolute;
    padding: 0;
    width: 40px;
    top: 0;
    right: 0;
    height: 100%;
    border: 1px solid #ccc;
    border-left: 0;
    border-radius: 4px;
}

#skip-link {
    position: absolute;
    z-index: 99999;
    padding: 5px;
}

.element-invisible {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
}

#current-uniqname-group {
    margin-bottom: 5px;
}

#current-uniqname-group p#uniqname {
    display: inline;
}

#friend-account-msg {
    margin-top: 20px;
    margin-bottom: 40px;
}

@media (min-width: 993px) {
    .main-content-container {
        width: calc(100% - var(--nav-width));
        margin-left: var(--nav-width);
        height: 300px;
    }

    .nav-content {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgb(25, 64, 103);
        width: var(--nav-width);
    }
}

@media (max-width: 992px) {
    .main-content-container {
        z-index: 1;
    }

    .nav-content {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgb(25, 64, 103);
        z-index: 9999;
        display: none;
        width: var(--nav-width);
    }
}

.mainmenu {
    list-style-type: none;
    width: var(--nav-width);
    overflow: hidden;
    padding-left: 0;
}

.mainmenu li {
    list-style-type: none;
}

.mainmenu li a {
    padding: 20px 40px 20px 40px;
    color: white;
    text-decoration: none;
    display: block;
    width: var(--nav-width);
}

.mainmenu li a:hover, a:focus {
    background-color: #57789d;
}

.mainmenu li a:focus {
    outline: thin dotted #ffcb05;
}

.mainmenu li ul {
    padding-left: 0;
}

#sidenav img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    width: 160px;
}

.menu-profile-picture {
    height: 160px;
    margin-left: 80px;
    margin-top: 40px;
    margin-bottom: 16px;
    overflow: hidden;
}

.menu-profile-picture img {
    position: absolute;
    clip: rect(0, 160px, 160px, 0);
    height: 160px;
}

#croppie {
    width: 320px;
    height: 320px;
    margin-bottom: 100px;
}

#profile_picture_container {
    float: right;
    position: relative;
}

#profile_picture_container label {
    position: absolute;
    bottom: -5px;
    margin: 0;
    padding: 0;
    left: 32px;
    cursor: pointer;
}

.profile-panel {
    padding-left: 20px;
    padding-top: 20px;
    padding-bottom: 10px;
    overflow: hidden;
}

.profile-panel-header {
    user-select: none;
}

.profile-panel h1 {
    display: inline;
    vertical-align: top;
}

.profile-info {
    width: 100%;
    margin-bottom: 20px !important;
}

.profile-info th {
    background-color: white !important;
    border-right: none !important;
    border-left: none !important;
}

.profile-info td {
    border-left: none !important;
    border-right: none !important;
}

.profile-info td:before {
    content: none !important;
}

#qr_code_panel td p {
    display: inline;
}

.profile-info td p + input {
    float: right;
    margin-right: 15px;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .profile-info td p + input {
        margin-right: 100px;
    }
}

.profile-info tr:first-child th {
    border-top: none;
}

.profile-info tr:first-child td {
    border-top: none;
}

.profile-info tr:last-child th {
    border-bottom: none;
}

.profile-info tr:last-child td {
    border-bottom: none;
}

.profile-form div:last-child {
    border: none;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 34px;
    vertical-align: text-top;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(46px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.slider:after
{
 content:'OFF';
 color: gray;
 display: block;
 position: absolute;
 transform: translate(-50%,-50%);
 top: 50%;
 left: 60%;
 font-size: 10px;
 font-family: Verdana, sans-serif;
 font-weight: bold;
}

input:checked + .slider:after
{  
  content:'ON';
  color:white;
  left: 40%;
}

.profile-panel h1 + .switch {
    margin-left: 40px;
    margin-right: 40px;
}

#qrcode {
    display: inline;
    vertical-align: top;
    margin-right: 80px;
    float: right;
}

#id_qr_code_enabled {
    list-style-type: none;
}

@media (max-width: 1050px) {
    #qrcode {
        float: left;
    }
}

label.error {
    display: block;
    color: red;
}

.errorlist {
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: red;
}

@media (max-width: 767px) {
    /* Essentially translates to "th's in all but the first occurrence of links-row in a table" */
    #personalization_table .grouped-row ~ .grouped-row th {
        border: none !important;
        padding-bottom: 0;
    }

    /* Essentially translates to "td's in all but the first occurrence of links-row in a table" */
    #personalization_table .grouped-row ~ .grouped-row td {
        border: none !important;
        padding-bottom: 0;
    }
}

@media (min-width: 768px) {
    #personalization_table .grouped-row th {
        border: none !important;
    }

    #personalization_table .grouped-row td {
        border: none !important;
    }

    #personalization_table .grouped-row td select:first-child {
        margin-left: 226px;
    }
}

.grouped-row button {
    background-color: white;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
}

.grouped-row input ~ button {
    margin-left: 10px;
}

.multi-row input {
    margin: 10px 10px 10px 0;
}

.multi-row input ~ button {
    background-color: white;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
}

#personalization_table tr:not(.grouped-row):not(:first-child) th {
    border-top: 1px solid #cecbc9 !important;
}

#personalization_table tr:not(.grouped-row):not(:first-child) td {
    border-top: 1px solid #cecbc9 !important;
}

#personalization_table tr td label {
    font-weight: normal;
}

.add-button-row td {
    padding-top: 0 !important;
}

.add-button {
    border: none;
}

#personalization_table tr td input[type=text] {
    width: 221px !important;
}

#personalization_table tr td textarea {
    width: 221px !important;
    height: 150px;
}

.floating-submit-div {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    z-index: 1;
    bottom: 0;
}

#personalization_table tr td a {
    display: inline-block;
}

#personalization_table th {
    width: 200px;
}

#personalization_form div .alert {
    margin: auto 20px 3% auto !important;
}

.away_message_on_area {
    width: 275px;
    font-size: small;
    line-height:normal;
}

.font-weight-bold-label label {
    font-weight: bold !important;
    margin-bottom: unset;
}

.checkbox-indef {
    margin-top: unset !important;
    margin-bottom: unset;
    font-size: small;
}

.inline-display {
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
}

#away_begin_date_row {
    padding-top: 5px;
    padding-left: 5px;
    padding-bottom: 10px;
}

#away_end_date_row {
    padding-left: 5px;
}

.inline-display label {
    font-size: medium;
}

.saveMsg {
    display: none;
    font-weight: normal!important;
    font-size:small;
    color:#946f00!important;
}

.clear-dates {
    margin-left: 60px;
    padding-top: 10px;
}

.clear-dates button {
	background: #40658f !important;
}

#id_away_end_date-error {
    width: 150px !important;
    line-height: 1;
    margin-top: 5px;
}

#id_name[disabled] {
    background-color: lightgray;
}

/* Make list look like 1) instead of 1. */
ol[type="1"] {
    counter-reset: list;
}
ol[type="1"] > li {
    list-style: none;
    position: relative;
}
ol[type="1"] > li:before {
    counter-increment: list;
    content: counter(list) ") ";
    position: absolute;
    left: -1.4em;
}

.ml-quarter-em {
    margin-left: .25em;
}

.font-weight-normal {
    font-weight: normal !important;
}

.mr-10-px {
    margin-right: 10px;
}

.w-60 {
    width: 60px;
}

.w-75 {
    width: 75px;
}

.d-inline-flex {
    display: inline-flex;
}

form#id-passwordForm label {
    font-weight: normal;
}

select#id_pronouns {
    width: 221px;
}

/* intended only for labels in token.html */
fieldset label[for^=id_token_type_] {
    font-weight: unset;
}

div#password_progress {
    display: none;
}

fieldset#verify-identity legend {
    font-size: inherit;
    border-bottom: none;
}

fieldset#verify-identity label#dob_label, fieldset#verify-identity label#umid_label {
    width: auto;
}

div#start-weblogin-image img {
    opacity: 0.75;
    border: 1px solid #ddd;
}

.static_profile_content {
    position: relative;
    width: 221px;
    opacity: 1;
    display: inline-block;
    margin-top: 5px;
}

.vertical-top {
    vertical-align: top;
}

span#namecoach_badge {
    position: relative;
    height: 50px;
    width: 221px;
    opacity: 1;
    display: inline-block;
    margin-top: 5px;
}

span#namecoach_badge_playing {

}

fieldset[name="token-radio-fieldset"] input {
    list-style-type: none;
    padding-left: 0;
}

.badge-show {
    display: inline-block;
}

.badge-hide {
    display: none;
}


#link-account-submit-btn {
    margin-bottom: 0 !important;
}

#link-account-cancel {
    margin-right: 5px !important;
}

.link-row {
    padding-left: 2px;
    padding-right: 10px;
}

.link-even-section {
    background-color: #DEDEDE;
    overflow: hidden;
}

.link-even-section-first > :first-child {
    border-top-left-radius: 10px;
}

.link-even-section-first > :last-child {
    border-top-right-radius: 10px;
}

.link-even-section-last > :first-child {
    border-bottom-left-radius: 10px;
}

.link-even-section-last > :last-child {
    border-bottom-right-radius: 10px;
}

.link-odd-section {
    background-color: white;
}

.link-table {
    margin-left: 10px;
    margin-bottom: 0 !important;
    width: 95%;
}

.link-table tbody tr th {
    background-color: white;
}

.link-table tbody tr th,
.link-table tbody tr td {
    border: none;
}

.link-table-wrapper {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #DEDEDE;
    width: 80%;
}
