/*************************
 * CUSTOM LOGIN DIALOG
 *************************/
.dialog-form {
    display: none;
    min-height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.dialog-form form {
    width: 400px;
    background: #FFFFFF;
    margin: 300px auto;
    position: relative;
    border: 1px solid #555555;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    font-family: "Droid Sans" ,sans-serif;
}
.dialog-form .header {
    border-radius: 9px 9px 0 0;
    padding: 10px;
    background-color: rgb(0, 169, 231);
    border-bottom: 1px solid #555555;
    color: white;
}
.dialog-form .header h3 {
    font-weight: bold;
    display: inline-block;
}
.dialog-form form .header .close {
    display: inline-block;
    text-align: center;
    line-height: 14px;
    width: 14px;
    cursor: pointer;
    margin-top: -1px;
    float: right;
    border: 2px solid #FFFFFF;
    border-radius: 16px;
    font-family: sans-serif;
    color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 1px 0 0 1px;
}
.dialog-form .body {
    display: block;
    border-radius: 0 0 9px 9px;
    background: #efefef;
    color: #222222;
    padding: 10px;
    height: 100%;
}
.dialog-form .body .validateTips {
    padding: 10px 5px;
    font-size: 0.8em;
    font-style: italic;
}
.dialog-form .body .validateTips .errors li {
    color: red;
}
.dialog-form .body .validateTips .success li {
    color: green;
}
.dialog-form form #tabs > div#tabs-up {
    display: block;
}
.dialog-form form #tabs > div#tabs-api_token {
    display: none;
}
.dialog-form form .input_group {
    clear: both;
    margin: 0 0 10px 0;
}
.dialog-form form fieldset {
    margin: 0;
    padding: 0 5px;
}
.dialog-form form > div label {
    font-size: 0.95em;
    display: block;
    width: 370px;
    font-weight: bold;
    padding: 0 0 5px 0;
}
.dialog-form form > div input.text {
    display: block;
    width: 366px;
}

.dialog-form a {
    color: #0f6ab4;
    font-size: 0.8em;
}
/*************************
 * FORM/BUTTON ELEMENT STYLING
 *************************/
.ui-corner-all {
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    border-radius:2px;
    border: 1px solid #555555;
    padding: 2px;
}
#auth_container > div {
    display: none;
}
#auth_login, #auth_logout {
    text-align: center;
}
#apiKey,
.swagger-section #auth_container #auth_login,
.swagger-section #auth_container #auth_logout,
.dialog-form form #tabs > ul li {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    padding: 6px 8px;
    font-size: .9em;
    color: #fff;
    background-color: rgb(0, 169, 231);
    border-radius: 4px;
}
.swagger-section #auth_container #auth_logout {
    display: none;
}
#apiKey,
.swagger-section #auth_container #auth_login,
.swagger-section #auth_container #auth_logout,
.dialog-form form #tabs li a {
    color: white;
    text-decoration: none;
}
#apiKey, .dialog-form form #tabs li.active {
    background-color: white;
}
#apiKey, .dialog-form form #tabs li.active a {
    color: rgb(0, 169, 231);
}
input.text.validation_error {
    border-color: #FF0000;
}

/*************************
 * SWAGGER OVERWRITES
 *************************/
body.swagger-section {
    background: #333333;
    color: #FFFFFF;
}
#api_info {
    display: none;
}
.swagger-section #auth_container {
    width: auto;
}
.info_description.markdown p {
    color: #FFFFFF;
}
.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading h2 a {
    color: #00a2de;
}
.swagger-section .swagger-ui-wrap ul#resources li.resource:hover div.heading h2 a,
.swagger-section .swagger-ui-wrap ul#resources li.resource.active div.heading h2 a {
    color: #125391;
}
.swagger-section .swagger-ui-wrap ul#resources li.resource:hover div.heading ul.options li a,
.swagger-section .swagger-ui-wrap ul#resources li.resource.active div.heading ul.options li a {
    color: #FFFFFF;
}
.swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a.active, .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:active, .swagger-section .swagger-ui-wrap ul#resources li.resource div.heading ul.options li a:hover {
    color: #FFFFFF;
}
.swagger-section #header {
    background: #FFFFFF;
    height: 50px;
}
.swagger-section #api_selector {
    margin-top: 10px;
}
.swagger-section .endpoint {
    color: #333333;
}
.endpoint.private h3 .path a:before {
    content: "INTERNAL";
    font-weight: bold;
    background: #ea5857;
    padding: 3px 4px 2px 6px;
    margin: 0 5px 0 0;
    color: white;
    font-size: 13px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}
#dialog-form-2fa #change_method, .grecaptcha-badge, .help-message__verify, .help-message__app {
    display: none;
}
.help-message__verify, .help-message__app {
    font-size: 13px;
    margin-bottom: 10px;
}
