/*
 *  (c) 2000-2025 deviantART, Inc. All rights reserved.
 */
/* @@include cssms/lib/mixins/css3.css */

/* General Styles */
.bubbleview, .catbar, .fooview, .menu_holder a, .settings_wrapper {
    zoom:1; /* hasLayout */
}
#output .bubbleview {
    background-color: #CCD8C9;
}
.bubbleview .catbar {
    background: none;
    padding: 15px 0 0 25px;
    margin-bottom: 0;
}
textarea.itext, input.itext, select#typeid_id {
    width: 90%;
}
textarea.itext, input.itext {
    border-radius: 1ex;
    padding: 0.2ex 0.6ex;
    border:1px solid #9FB1A3;
}
textarea.itext {
    height:14em;
    font:9pt Verdana, sans-serif;
}
input.itext {
    font:9pt Verdana, sans-serif;
}
#comments_box input.icheckbox {
    position: relative;
    margin:8px 0px 0px 0px;
}
div.altaltview {
    background: transparent;
}
div.altaltview .row {
    margin: 12px 0;

    &.highlighted {
        background: #f8f5da;
        border-radius: 10px;
        padding: 10px;
        margin-left: -10px;
    }
}
#applications {
    min-height: 628px;
    padding-top: 16px;
}
div.app-description {
    padding-left: 20px;
    padding-top: .7em;
    color: #607060;
}
div.bubbleview h1 {
    font: normal 17pt Trebuchet MS,sans-serif;
    margin-bottom:16px;
}
div.bubbleview .gruserbadge h1 {
    margin-bottom:0;
}
div.fooview, div.fooview_lite {
    width: 621px;
}
div.fooview {
    position:relative;
    margin-bottom:16px;
    background-color:#E9F0E6;
    border: 1px #A5B1A6 solid;
}
div.fooview code {
    overflow: auto;
}
div.fooview.developers a {
    color: #337287;
}
.fooview-inner {
    position: relative;
    padding: 14px 25px 15px 17px;
    border-top: 1px white solid;
    border-radius:8px;
}
.fooview-inner code {
    color: #727272;
    background: none repeat scroll 0 0 #eaf2ee;
    border: 1px solid #84b2c2;
    border-radius: 3px;
    display: block;
    font: 11px/20px Monaco,'Courier New',Courier,monospace;
    margin: 5px 0;
    padding: 6px 20px 10px;
    word-wrap: break-word;
}
.fooview-preview {
    min-height: 50px;
}
.fooview h3 {
    margin-bottom: 25px;
    color: #2B3635;
    font-size: 15pt;
}
.fooview .buttons {
    clear: left;
}
div.bubbleview div.box-left {
    float:left;width:47%;
}
div.bubbleview div.box-right {
    float:right;width:47%;
}
div.bubbleview form {
    margin:0px;
    padding:0px;
}
div.bubbleview div.altaltview label.l {
    position:absolute;
    left:5px;
    text-align:right;
    width:100px;
    font-weight:bold;
    color: #2B3635;
}
div.bubbleview div.altaltview select.spacemenus {
    margin-bottom:6px;
}
div.bubbleview div.altaltview label.l_error {
    color:#A12020;
}
div.bubbleview div.altaltview label.l_inline {
}
div.bubbleview div.altaltview-wider {
    padding-left:160px;
    clear: left;
}
div.bubbleview div.altaltview-wider label.l {
    width:155px;
}
div.bubbleview div.altaltview-wider-2 {
    padding-left:205px;
}
div.bubbleview div.altaltview-wider-2 label.l {
    width:200px;
}
div.bubbleview div.errorview {
    background-color:#F7DADA;
    margin-bottom:16px;
    margin-right:100px;
}
div.bubbleview div.errorview div.header {
    background-color:#EAB7B7;
    padding:10px 10px 8px 10px;
}
div.bubbleview div.errorview div.error_icon {
    float:left;
    background:url('/minimal/minish/spitbite/icon-error.png') no-repeat top left;
    padding-right:8px;
    width:18px;
    height:17px;
}
div.bubbleview div.errorview div.inner {
    padding:4px 10px 8px 6px;
    color:#794B4B;
}
div.bubbleview div.errorview a {
    color:#196BA7;
    text-decoration:underline;
}
div.bubbleview div.errorview div.form_error {
    padding-top:1px;
    color: #A12020;
    font-size: 1.0em;
    font-weight: bold;
}
div.bubbleview div.errorview li.pink_fld_error {
    font-size: 0.9em;
    padding-bottom:2px;
    margin-left:5px;
    list-style:square;
}
div.form_error {
    color: #A12020;
    font-size: 1.2em;
    font-weight: bold;
}
div.field_error {
    position: absolute;
    left: 0;
    width: 148px;
    text-align: right;
    margin-top: 15px;
    color: #A12020;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 0.8em;
}
span.sneakycheckbox a {
    display: inline-block;
    padding: 3px 7px;
    color: #196BA7;
    font-size: x-small;
}
.sneakycheckbox a:hover, .sneakycheckbox a.checked {
    padding: 2px 6px;
    border: 1px solid red;
    border-radius: 5px;
}
.sneakycheckbox a.checked {
    background: #EAB7B7; /*#F7DADA*/
    color: red;
}
.sneakycheckbox .icheckbox {
    margin-top: 0;
}
div.bubbleview {
    padding-bottom: 0px;
}
.settings_wrapper {
    position: relative;
    background: #CCD7CC;
}
.settings_form {
    background: #CCD8C9;
    margin-left: 225px;
    position: relative;
    top: -23px;
}
.settings_form .ch {
    border-radius:8px;
}
.settings_form .long_text.save_result_shown .form_save_result {
    width: 80%;
}
.settings_form .long_text.save_result_shown .rr {
    width: 20%;
}
ul.menu_holder {
    position: absolute; left: 0; top: 0;
    background: #CCD7CC;
    width: 175px;
    padding-left: 10px;
    list-style: none;
    margin: 0;
    font-size: 10pt;
}
ul.menu_holder li {
    padding: 2px 0 0;
    margin: 0;
    list-style: none;
    font-family:Verdana, sans-serif;
    font-size: 1em;
}
ul.menu_holder li.header {
    font-weight: bold;
    color: #2C3535;
    line-height: 1.7em;
}
ul.menu_holder li.break {
    border-top: 1px dotted #aaa;
}
ul.menu_holder li > a {
    border-radius:4px;
    color: #38463E;
    height: 18px;
    background-position:50% 0pt;
    display: block;
    padding: 3px 0 4px 10px;
    margin: 0;
    line-height: 1.5em;
    font-size: 0.925em;
}
ul.menu_holder li > a:hover {
    background-color: #DFE8DD;
    text-decoration: none;
}
ul.menu_holder li > a.active {
    color: white;
    background: #498091 url('/minish/main/arrow-little.png') no-repeat right center;
}
hr.deepen {
    background-image: url('/minish/main/deepen_hr.png');
    background-position: left top;
    background-repeat: repeat-x;
    border: 0 none;
    display: block;
    height: 2px;
    margin: 7px 0;
}
form .warning {
    color: #f00;
}
form .warning a {
    text-decoration: underline;
}
form p.notice {
    text-align: right;
    padding-right: 2em;
}
div.fooview.buttons {
    text-align: right;
}
div.email-container {
    clear: right;
    margin: 20px 0;
}
#show-email.email-container.new-email {
    display: none;
}
#change-email.email-container:not(.new-email) {
    display: none;
}
div.email-container a,
div.email-container a:link,
div.email-container a:visited {
    color: #337287;
}
a.settings-form-help-link {
    float: left;
    display: block;
    width: 160px;
    font-size: 0.9em;
    color: #337287;
    margin-left: 5px;
}
a.settings-form-analytics-help-link {
    font-size: 0.9em;
    color: #337287;
    margin-left: 10px;
    display: inline-block;
}
.itext_uplifted {
    font-family: Verdana, Geneva, sans-serif;
    color: #515c5a;
    font-size: 12px;
    letter-spacing: -0.25px;
    padding: 7px 8px;
    border: 1px solid #8c9b8c; 
    background: #f7f7f7; 
    border-radius: 3px;
    box-shadow:0 1px rgba(255,255,255,0.4), 0 1px 4px #bdbdbd inset;
}
input.itext_uplifted {
    width: 80%;
}
.blockedusers-list {
    border: none;
    padding: 0;
}
.misc_box {
    width: 587px;
    background: #BDCBBD;
    color: #5F6963;
    padding: 15px 18px;
}
.misc_box a {
    color: #196BA7;
}
.misc_box h3 {
    color: #2B3635;
}
#comment_drawings_box .fooview-inner {
    overflow: auto;
}
.settings_wrapper .fitbuttons .rr {
    width: auto;
}
.morespace {
    line-height: 28px;
}
.subscriber-box {
    margin: 0 0px 16px 5px;
    width: 377px;
    background-repeat: no-repeat;
    text-align: center;
}
.subscriber-box > span {
    display: block;
    font-weight: 0.8em;
    padding: 7px 29px 0px 30px;
    color: white;
    text-align: left;
    font-size: 8.25pt;
    line-height: 1.6em;
}
.subscriber-box > span > a {
    color: #fff;
    text-decoration: underline;
}
.subscriber-box.with-sub {
    height: 48px;
    background-image: url('/minish/submit/submit-withsub.gif');
}
.subscriber-box.no-sub {
    height: 56px;
    background-image: url('/minish/submit/nosub.gif');
}

/* Identity Section */
#avatar_box .authorative-avatar {
    position: relative;
    margin-left: 15px;
    float: left;
}
#avatar_box a.ghost-edit {
    position: absolute;
    top: -2px;
    left: -1px;
    z-index:40;
}
#avatar_box a.ghost-edit img {
    visibility: hidden;
}
#avatar_box a.ghost-edit:hover img,
#avatar_box a.ghost-edit:focus img {
    visibility: visible;
}

#avatar_box p {
    margin: 0 0 17px;
}
#avatar_box .buttons {
    clear: left;
}

#avatar_box .fooview-preview {
    width: 110px;
    padding-top: 2px;
    overflow: hidden;
    float: left;
}
#avatar_box .fooview-content {
    width: 469px;
    padding-top: 5px;
    float: left;
}
#lit_tag_box       .fooview-preview {
    width: 114px;
    float: left;
}
#lit_tag_box       .fooview-content {
    width: 465px;
    float: left;
}
#lit_tag_box       .fooview-content p:first-child {
    margin-top: 0;
}
#lit_tag_box .fooview-preview img {
    margin-left: 38px;
}
#flash-modal-target {
    outline: none
}
.btn-place {
    float: right;
    padding:3px 0px 0px 3px;
}
.deck_error {
    color: #A12020;
}
#signature {
    width: 505px;
    margin-bottom: 20px;
}
.countdown {
    position: absolute;
    right: 30px;
    color: #7E9588;
    font: bold 14pt Trebuchet MS,sans-serif;
}
.countdown-warning {
    color: red;
}

/* Update Username */
.update-username h3 { 
    margin-bottom: 15px;
}
div.update-username a {
    color: #196BA7;
}
.update-username ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.update-username ul a {
    text-decoration: underline;
}
.update-username li {
    margin: 10px 0;
    padding: 0 20px;
    line-height: 150%;
}
.update-username ul li:before {
    content: "\2022";
    display: block;
    position: absolute;
    margin: 0 0 0 -15px;
    font-size: 16px;
    line-height: 15px;
    color: #5A6F5E;
}
.update-username .more-info {
    display: inline-block;
    margin: 5px 0 0 20px;
}
.update-username .update-username-form {
    width: 377px;
    margin: 20px auto 0 auto;
}
.update-username .update-sub {
    display: block;
    height: 50px;
    margin: 0 auto;
    color: #fff;
    padding: 7px 45px 0 30px;
    background-repeat: no-repeat;
    text-decoration: none;
}
.update-username .update-sub.no-sub {
    background-image: url('/minish/submit/nosub.gif');
}
.update-username .update-sub.with-sub {
    background-image: url('/minish/submit/submit-withsub.gif');
}
.update-username .l {
    display: block;
    margin: 12px 0 7px 0;
    color: #999;
}
.update-username input {
    display: block;
    width: 100%;
    margin: 0;
    font-size: 13pt;
    line-height: 150%;
    font-weight: bold;
    text-indent: 8px;
    color: #999;
    border: 1px solid #8C9B8C;
    background: #F7F7F7;
    border-radius: 3px;
    box-shadow:0 1px rgba(255,255,255,0.4), 0 1px 4px #bdbdbd inset;
}
.update-username .btn-continue {
    margin-top: 10px;
    position: relative;
    text-align: center;
}
.update-username .btn-continue.disabled {
    opacity: .5;
}
.update-username .btn-continue.disabled:before {
    content: '\A0';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: default;
}
.update-username a.smbutton {
    color: inherit;
}
.update-username div.field {
    padding: 0px;
}
.update-username div.field .info {
    top: -3px;
    left: 370px;
}
.modal .update-username {
    width: 500px;
    height: 480px;
}
.modal .update-username .modal-content {
    padding: 15px 15px 0 20px;
}
.modal .update-username iframe {
    width: 100%;
    height: 425px;
    display: none;
}

/* Update DOB */
#change-dob-modal > div {
    margin-left: 18px;
}
#change-dob-modal > p,
#mature_dob_warning_holder > p,
#email_change_security_holder > p {
    max-width: 300px;
    text-align: center;
    padding: 0 10px;
    box-sizing: border-box;
}

#change-dob-modal .change-dob-modal__notice {
    display: none;
}

#change-dob-modal .change-dob-modal__notice.change-dob-modal__notice-warning {
    font-weight: bold;
}

#change-dob-modal .change-dob-modal__notice#change-dob-modal__notice-default {
    display: block;
}

#change-dob-modal .change-dob-modal__notice a {
    text-decoration: underline;
}

#change-dob-modal + .modal-button-holder .change-dob-modal__button_contact {
    display: none;
}

#change-dob-modal.show_button_contact + .modal-button-holder .change-dob-modal__button_submit {
    display: none;
}

#change-dob-modal.show_button_contact + .modal-button-holder .change-dob-modal__button_contact {
    display: inline-block;
}


#applications .appkeys h3 {
    display: inline-block;
}

input.confirm-cancel {
    margin:3px 0 0 5px; 
    vertical-align:top; 
    font-family: Verdana, sans-serif;
}
input.confirm-cancel-pass {
    width:200px;
}
#applications .unpublished {
    border: 1px solid #d21a00;
    background-color: #fcdcd8;
    color: #a21502;
    padding: 10px;
    border-radius: 5px;
}
#applications .appdetailslabel {
    display: block;
    font-weight: bold;
}
.fooview-inner p.tos {
    margin-top: -18px;
    margin-left: 40px;
}

#applications .apprequest {
    clear:both;
}
#applications .apprequest h3 {
    font-size: 18px;
}
#applications .apprequest .buttons {
    text-align: center;
}
#applications .apprequest div.field_error {
    position: relative;
    left: auto;
    width: auto;
    text-align: left;
    margin: 5px 0px;
    color: #A12020;
    font-size: 1em;
    font-weight: bold;
    line-height: 1em;
}
#applications .section_header {
    margin-bottom: 10px;
}
#applications .rr.authed {
    text-align: right;
}

.webkit-autofill-trap {
    position: absolute;
    top: -9999px;
    left: -9999px;
}
.block-tags .tags-widget {
    max-height: 150px;
    overflow: scroll;
}

.content-filter label {
    display: flex;
    gap: 8px;
}
.content-filter label + label {
    margin-top: 16px;
}
.content-filter .label-head {
    font-weight: bold;
    margin-bottom: 4px;
}
/* @@include cssms/lib/mixins/css3.css */

.settings_identity #avatar_box .authorative-avatar {
    position: relative;
    margin-left: 15px;
    float: left;
}
.settings_identity #avatar_box a.ghost-edit {
    position: absolute;
    top: -2px;
    left: -1px;
    z-index: 40;
}
.settings_identity #avatar_box a.ghost-edit img {
    visibility: hidden;
}
.settings_identity #avatar_box a.ghost-edit:hover img,
.settings_identity #avatar_box a.ghost-edit:focus img {
    visibility: visible;
}
.settings_identity #avatar_box p {
    margin: 0 0 17px;
}
.settings_identity #avatar_box .buttons {
    clear: left;
}
.settings_identity #avatar_box .fooview-preview {
    width: 110px;
    padding-top: 2px;
    overflow: hidden;
    float: left;
}
.settings_identity #avatar_box .fooview-content {
    width: 469px;
    padding-top: 5px;
    float: left;
}
.settings_identity #lit_tag_box       .fooview-preview {
    width: 114px;
    float: left;
}
.settings_identity #lit_tag_box       .fooview-content {
    width: 465px;
    float: left;
}
.settings_identity #lit_tag_box       .fooview-content p:first-child {
    margin-top: 0;
}
.settings_identity #lit_tag_box .fooview-preview img {
    margin-left: 38px;
}
.settings_identity #flash-modal-target {
    outline: none
}
.settings_identity .btn-place {
    float: right;
    padding: 3px 0px 0px 3px;
}
.settings_identity .deck_error {
    color: #A12020;
}
.settings_identity #signature {
    width: 505px;
    margin-bottom: 20px;
}
.settings_identity .countdown {
    position: absolute;
    right: 30px;
    color: #7E9588;
    font: bold 14pt Trebuchet MS,sans-serif;
}
.settings_identity .countdown-warning {
    color: red;
}
.settings_identity .update-username h3 { 
    margin-bottom: 15px;
}
.settings_identity div.update-username a {
    color: #196BA7;
}
.settings_identity .update-username ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.settings_identity .update-username ul a {
    text-decoration: underline;
}
.settings_identity .update-username li {
    margin: 10px 0;
    padding: 0 20px;
    line-height: 150%;
}
.settings_identity .update-username ul li:before {
    content: "\2022";
    display: block;
    position: absolute;
    margin: 0 0 0 -15px;
    font-size: 16px;
    line-height: 15px;
    color: #5A6F5E;
}
.settings_identity .update-username .more-info {
    display: inline-block;
    margin: 5px 0 0 20px;
}
.settings_identity .update-username .update-username-form {
    width: 377px;
    margin: 20px auto 0 auto;
}
.settings_identity .update-username .update-sub {
    display: block;
    height: 50px;
    margin: 0 auto;
    color: #fff;
    padding: 7px 45px 0 30px;
    background-repeat: no-repeat;
    text-decoration: none;
}
.settings_identity .update-username .update-sub.no-sub {
    background-image: url('/minish/submit/nosub.gif');
}
.settings_identity .update-username .update-sub.with-sub {
    background-image: url('/minish/submit/submit-withsub.gif');
}
.settings_identity .update-username .l {
    display: block;
    margin: 12px 0 7px 0;
    color: #999;
}
.settings_identity .update-username input {
    display: block;
    width: 100%;
    margin: 0;
    font-size: 13pt;
    line-height: 150%;
    font-weight: bold;
    text-indent: 8px;
    color: #999;
    border: 1px solid #8C9B8C;
    background: #F7F7F7;
    border-radius: 3px;
    box-shadow:0 1px rgba(255,255,255,0.4), 0 1px 4px #bdbdbd inset;
}
.settings_identity .update-username .btn-continue {
    margin-top: 10px;
    position: relative;
    text-align: right;
}
.settings_identity .update-username .btn-continue.disabled {
    opacity: .5;
}
.settings_identity .update-username .btn-continue.disabled:before {
    content: '\A0';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: default;
}
.settings_identity .update-username a.smbutton {
    color: inherit;
}
.settings_identity .update-username div.field {
    padding: 0px;
}
.settings_identity .update-username div.field .info {
    top: -3px;
    left: 370px;
}
.settings_identity .modal .update-username {
    width: 500px;
    height: 480px;
}
.settings_identity .modal .update-username .modal-content {
    padding: 15px 15px 0 20px;
}
.settings_identity .modal .update-username iframe {
    width: 100%;
    height: 425px;
    display: none;
}

@media only screen and (max-device-width: 480px) {
    #avatar_box .fooview-inner {
        overflow: auto;
    }
    #avatar_box .fooview-content > div.l,
    #avatar_box .fooview-inner #submit.buttons {
        display: none;
    }
}

.settings_index #blockedusers {
    width: 568px;
    margin-bottom: 10px;
}
.settings_index #dob_display_container {
    width: 420px;
}
.settings_index #dob_display_container select {
    float: left;
}
.settings_index #change-dob-link,
.settings_index .email-container a {
    margin-left: 5px;
}
.settings_index #comment_drawings_box .fitbuttons.save_result_shown {
    width: 100%;
    clear: both;
}
.settings_index #comment_drawings_box .fitbuttons .form_save_result {
    padding-top: 15px;
}
.settings_index .dis_checkboxes {
    width: 478px;
    margin-top: 10px;
}
.settings_index .hidden {
    display: none;
}
#dob_holder {
    width: 500px;
}
#dob_holder p,
#dob_holder div {
    padding: 0px 20px;
}
.settings_index .important-text {
    font-weight: bold;
}

.settings_sessions .settings-sessions-table {
    width: 100%;
    text-align: left;
    padding: 0;
    border:0;
    z-index: 10;
}
.settings_sessions .settings-sessions-table tr.heading{
    color: #fff;
}
.settings_sessions .settings-sessions-table td,
.settings_sessions .settings-sessions-table th {
    margin: 0;
    padding: 2px 10px;
    border: 0;
}
.settings_sessions .settings-sessions-table th {
    padding: 8px;
}
.settings_sessions .settings-sessions-table-cont {
    border-radius: 5px;
    overflow: hidden;
    clear: both;
    background: #DAE5D9 url('/minish/main/bggr.png') repeat-x left -10px;
    position: relative;
}
.settings_sessions .settings-sessions-table td span.from {
    color: #666;
    font-size: 10px;
}
.settings_sessions .settings-sessions-table td.empty-row {
    padding: 8px;
}
.settings_sessions .settings-sessions-table td span.country {
    color: #444;
}
.settings_sessions .settings-sessions-table td.session-last-active {
    width: 120px;
}
.settings_sessions .settings-sessions-table td.session-logout-button {
    width: 100px;
}
.settings_sessions #settings-sessions .smbutton {
    float: right;
}
.settings_sessions #settings-sessions h3 {
    margin-bottom: 10px;
}
.settings_sessions #settings-sessions p.note {
    color: #666;
}
.settings_sessions #settings-sessions span.current-session {
    font-size: 14px;
    line-height: 22px;
}

/* Deactivation */
.settings_deactivation #deactivation {
    background: url('/minish/main/felladeactivate_profile.gif') no-repeat; 
    background-position: 0px 50px;
    padding-left: 300px; 
    padding-top: 50px;
    min-height: 393px;
    margin-bottom: 10px;
    min-width: 400px;
}
.settings_deactivation #deactivation h1 {
    font-size: 29px;
    width: 500px;
}
.settings_deactivation #deactivation h3 {
    font-weight: normal;
    margin-top: 20px;
    letter-spacing: 0px;
    width: 400px;
    margin-bottom: 20px;
}
.settings_deactivation #deactivation table {
    margin-top: 20px;
}
.settings_deactivation #deactivation table td { 
    font-size: 12px;
    padding: 3px;
    vertical-align: top;
}
.settings_deactivation #deactivation div div {
    background-image: url('/emoticons/f/frown.gif');
    background-repeat: no-repeat;
    padding-left: 25px;
    margin-top: 15px;
}
.settings_deactivation #deactivation .consequences {
    float: left;
    width: 250px;
    margin-right: 20px;
}
.settings_deactivation .deactivation_choices {
    text-align: left;
    margin: 25px 0 30px 300px;
    min-width: 400px;
    clear: both;
}
.settings_deactivation .deactivation_choices .stay {
    margin-right: 15px;
}
.settings_deactivation .deactivation_choices .deactivate {
    margin-right: 20px;
}

/* Reactivation */
#reactivation {
    background: url('/minish/main/fella-open-hands.png') no-repeat;
    text-align: left;
    padding-left: 340px;
    height: 420px;
    width: 440px;
    margin-top: 10px;
    margin-bottom: 10px;
}
#reactivation h3 {
    font-weight: normal;
    margin-top: 20px;
    letter-spacing: 0px;
    width: 300px;
    margin-bottom: 20px;
}
#reactivation .reactivation-form-label {
    font-weight: bold;
}
#reactivation .reactivation-countdown {
    font-weight: bold;
}
#reactivation .morespace {
    line-height: 28px;
}
#reactivation div.form_error {
    color: #A12020;
    font-size: 1.2em;
    font-weight: bold;
}
#reactivation .itext_uplifted {
    font-family: Verdana, Geneva, sans-serif;
    color: #515c5a;
    font-size: 12px;
    letter-spacing: -0.25px;
    padding: 7px 8px;
    border: 1px solid #8c9b8c;
    background: #f7f7f7;
    border-radius: 3px;
    box-shadow:0 1px rgba(255,255,255,0.4), 0 1px 4px #bdbdbd inset;
}
#reactivation input.itext_uplifted {
    width: 80%;
}
#reactivation span.itext_uplifted-masked {
    color: #8e9a91;
    border: 1px solid #acb9aa;
    background: #e1e8df;
    width: 80%;
    display: block;
    padding: 0;
}
#reactivation .smbutton-green-masked, .smbutton-green-masked:hover, .smbutton-green-masked.hover, .smbutton-green-masked:active {
    border-color: #BDCDB9;
    cursor: default;
    .linear-gradient(top, #CFDEB8, #C5DAA5);
}
#reactivation .smbutton-green-masked span {
    border-top-color:#D0DDC9;
}
#reactivation .reactivation-form-masked-text {
    color: #7b877e;
}
#reactivation .smbutton-green-text-masked {
    color: #a3b0a3;
}

#too_late_for_reactivation a {
    color: #196BA7;
}

.settings_applications .applications .appkeys .appimage {
    margin:9px 0 0;
}
.settings_applications .applications .appkeys h3 {
    color:#343E39;
    margin:7px 0 0;
}
.settings_applications .applications .appclientid .smbutton,
.settings_applications .applications .appapikey .smbutton {
    padding:1px;
    font-weight:bold;
    color:#3B5A4A !important;
    min-width:30px;
    margin: 0 !important
}
.settings_applications .applications .smbutton {
    padding:8px;
    color:#3B5A4A !important;
}
.settings_applications .applications div.fooview div.appversion {
    float: right;
    text-align:right;
    color:#3B5A4A;
}
.settings_applications .applications div.fooview div.appversion span.appv {
    font-size:10pt;
    font-weight:bold;
}
.settings_applications .applications div.fooview div.appversion span.appver {
    font-size:11pt;
    color:#414D4C;
    font-weight:bold;
}
.settings_applications .applications div.fooview div.appimage {
    max-width:100px;
    max-height: 100px;
    float:left;
}
.settings_applications .applications div.fooview div.appimage .thumb img {
    display: block;
    max-width:100px;
    max-height:100px;
    width: auto;
    height: auto;
}
.settings_applications .applications div.fooview div.appdetails {
    margin-left:106px;
}
.settings_applications .applications div.fooview div.appdetails div.hh div.rr {
    width: auto;
    padding-top:10px;
    text-align: right;
}
.settings_applications .applications div.fooview .appfeatured {
    display: inline-block;
    padding-bottom: 6px;
    font-weight:bold;
    font-size:14px;
    color:#5A6664;
}
.settings_applications .applications div.fooview .appfavs {
    display: inline-block;
    padding-bottom: 5px;
}
.settings_applications .applications div.fooview .appfeatured span {
    font-weight:bold;
    font-size:14px;
    color:#414D4C;
}
.settings_applications .applications div.fooview .appfavs,
.settings_applications .applications div.fooview .appdeviants {
    color:#414D4C;
}
.settings_applications .applications div.fooview .appdeviants span {
    color:#5A6664;
}
.settings_applications .applications .appfavs i {
    background: transparent url('/minish/gruzecontrol/icons-small-modules.gif?14') -1963px 2px no-repeat;
    display: inline-block;
    height: 22px;
    position: static;
    vertical-align: middle;
    width: 16px;
    z-index: 10;
}
.settings_applications .applications div.fooview .appfavs span {
    vertical-align:middle;
}
.settings_applications .applications .appdeviants i {
    background: transparent url('/minish/gruzecontrol/icons-small-modules.gif?14') -1162px 2px no-repeat;
    display: inline-block;
    height: 22px;
    position: static;
    vertical-align: middle;
    width: 16px;
    z-index: 10;
}
.settings_applications .applications div.fooview .appauthorized div span {
    display: inline-block;
    padding-top: 2px;
    color: #414D4C;
    font-size: 16px;
    font-weight: normal;
}
.settings_applications .applications div.fooview .appauthorized i {
    background-image: url('/minish/gruzecontrol/messages/approve.png');
    width: 44px;
    height: 41px;
    vertical-align: middle;
    z-index: 10;
    display: inline-block;
    float: right;
    margin-left: 7px;
}
.settings_applications .applications div.fooview, div.fooview_lite {
    width: 660px;
}
.settings_applications .applications span.appdetailslabel {
    display:inline-block;
    width:90px;
    font-weight:bold;
    color:#414D4C;
}
.settings_applications .applications .appclientid {
    margin-top:8px;
}
.settings_applications .applications .appapikey {
    margin:15px 0 0;
}
.settings_applications .applications .itext {
    width: 335px;
    padding: 0.7ex 0.6ex;
}
.settings_applications .pastkeys,
.settings_applications .pastkeys :visited,
.settings_applications .pastkeys :link {
    font-family: lucida grande,tahoma,verdana, sans-serif;
    width: 630px;
    padding-top: 10px;
    text-align: right;
    font-size: 13px;
    color: #1589B8 !important;
    font-weight: normal;
 }
 .settings_applications .pastkeys a span {
    font-size: 9px;
 }
 .settings_applications .released {
    color: #7D8F7D;
    font-size: 8.5pt;
 }

/* Betatesting */
.settings_betatesting .fooview-inner {
    margin-bottom: 30px;
}
.settings_betatesting .fooview ul {
    color: #38594A;
}
.settings_betatesting .fooview li {
    padding: 5px 0;
}
.settings_betatesting .fooview-content {
    padding: 29px 13px 0 29px;
}
.settings_betatesting .fooview h3 {
    margin: 0;
    color: black;
}
.settings_betatesting .fooview h4 {
    color: #2C3635;
}
.settings_betatesting #become_tester_box {
    border-radius:4px;
    background: #D4E1D2;
    padding: 20px 20px 12px 20px;
}
.settings_betatesting #become_tester_box h4 {
    color: #405047;
    font-size: 13pt;
}

/* Rebilling */
.settings_rebilling .fooview .faq ul {
    color: #38594A;
}
.settings_rebilling .fooview li {
    padding: 5px 0;
}
.settings_rebilling .fooview-content {
    padding: 10px 13px 0 29px;
}
.settings_rebilling .fooview h3 {
    margin: 0;
    color: black;
}
.settings_rebilling .fooview h4 {
    color: #2C3635;
}
.settings_rebilling .fooview .faq {
    margin: 20px 0;
}
.settings_rebilling .fooview .faq a {
    text-decoration: underline;
}
.settings_rebilling .fooview .cancel-rebill {
    margin: 20px 0;
}
.settings_rebilling .fooview .smbutton {
    text-shadow: 0 1px 0 #fff; /* drop shadow */
}

.settings_rebilling .icon-help {
    background: url('/minish/stash/ico-help.png') center center no-repeat;
    width: 18px;
    display: inline-block;
    height: 18px;
    line-height: 18px;
}


.card-logos {
	border: 1px solid transparent;
	border-radius: 3px;
	padding: 1px;
	cursor: pointer;
	display: inline-block;

	&:before {
		width: 45px;
		height: 29px;
		background: url('/cart/cc3.png') no-repeat;
		display: inline-block;
		content: '';
		vertical-align: -9px;
	}

    &.card-logo-visa:before {
        background-position: 0 0;
    }
    &.card-logo-mastercard:before {
        background-position: -51px 0;
    }
    &.card-logo-discover:before {
        background-position: -102px 0;
    }
    &.card-logo-amex:before {
        background-position: -154px 0;
    }

}

.modal-template {
    display: none;
}
.deactivation-modal {
    float: left;
    width: 400px;
    margin: 30px 20px 0;
    padding-bottom: 1em;
    box-shadow:#aab5ab 0 -1px 0 inset;
    border-bottom: 1px solid rgba(255, 255, 255, 0.746094);
}

.deactivation-modal.step-two {
    min-height:175px
}
.deactivation-modal.step-one > form > .description,
.deactivation-modal.step-two > form > .deactivation-reasons {
    margin-top: 15px;
}
.deactivation-modal.step-two > form > .deactivation-reasons select[name="reason"] {
    margin: 7px 0 10px 0;
}
.deactivation-modal.step-two > form > .deactivation-reasons input[name="other"] {
    width: 300px;
    display: none;
}
.deactivation-modal.step-one > form > .description .input[name="password"] {
    margin-top: 7px;
}
.deactivation-modal > form > .buttons {
    margin-top: 25px;
    text-align: center;
}
.deactivation-modal > form > .buttons > input {
    cursor: pointer;
}
.deactivation-modal.step-one > form > .buttons .cancel-button {
    font-size: 16px;
    font-weight: bold;
}
.deactivation-modal.step-one > form > .buttons .confirm-button {
    margin-left: 18px;
    font-size: 16px;
    font-weight: bold;
}
.deactivation-modal.step-two > form > .buttons .cancel-button {
    width: 170px;
    height: 34px;
    background-image: url('/minish/main/deactivate_cancel_button.png');
    border: none;
}
.deactivation-modal.step-two > form > .buttons .confirm-button {
    margin-left: 16px;
    width: 273px;
    height: 33px;
    background-image: url('/minish/main/deactivate_now_button.png');
    border: none;
}
.deactivation-modal div.input {
    margin: 1em 0 0;
}
.deactivation-modal input[type=password],
.deactivation-modal input.text-input{
    width: 300px;
    font-family: Verdana, Geneva, sans-serif;
    color: #515c5a;
    font-size: 12px;
    letter-spacing: -0.25px;
    padding: 7px 8px;
    border: 1px solid #8c9b8c;
    background: #f7f7f7;
    margin-bottom: 2px;
    border-radius: 3px;
    box-shadow:0 1px rgba(255,255,255,0.4), 0 1px 4px #bdbdbd inset;
}

@media only screen and (max-device-width: 480px) {
    #deactivation img {
        width: 70%;
    }
    .deactivation-modal {
        .box-sizing(border-box);
        width: 80%;
    }
    .settings_deactivation #deactivation h3 {
        width: 70% !important;
    }
    .deactivation-modal > form > .buttons {
        margin-bottom: 10px;
    }
    .deactivation-modal input[type=password],
    .deactivation-modal input.text-input,
    .deactivation-modal.step-two > form > .deactivation-reasons input[name="other"] {
        width: 80%;
    }
    .settings_deactivation .deactivation_choices {
        text-align: center;
    }
    .settings_deactivation .deactivation_choices a.deactivate {
        float: none !important;
    }
}

#gdpr h3 {
    font: bold 24px trebuchet ms;
    color: #414d4c;
    letter-spacing: -1px;
}

#gdpr div {
    font: 12px verdana;
    color: #2c3625;
}

#gdpr .flow_notifications {
    margin-bottom: 10px;
}

.settings_gdpr .gdpr_choices .stay {
    margin-right: 15px;
}

.settings_gdpr a span {
    padding: 10px 12px;
    font-size: 12px;
}

.settings_gdpr .gdpr_choices .deactivate {
    margin-right: 20px;
}

.settings_gdpr #gdpr-note {
    font: 11px Verdana;
    color: #5f6963;
}

.settings_gdpr input[type=password] {
    width: 300px;
    font-family: Verdana,Geneva,sans-serif;
    color: #515c5a;
    font-size: 12px;
    letter-spacing: -0.25px;
    padding: 7px 8px;
    border: 1px solid #8c9b8c;
    background: #f7f7f7;
    margin-bottom: 2px;
    border-radius: 3px;
    box-shadow: 0 1px rgba(255,255,255,0.4), 0 1px 4px #bdbdbd inset;
}

.settings_gdpr #gdpr_request_form {
    width: 400px;
}

.settings_gdpr #gdpr_password_label {
    float: left;
    margin-top: 7px;
}

.settings_gdpr #password_wrapper {
    width: 320px;
    float: right;
}

.settings_gdpr #forgot_password {
    float: right;
    margin-bottom: 15px;
}

.settings_gdpr .buttons {
    float: right;
}

.settings_gdpr #gdpr_request_form div.field_error {
    font: 11px verdana;
    color: #a12020;
    position: static;
    width: auto;
    text-align: left;
    margin-top: 0px;
    float: left;
}

#gdpr :link, #gdpr :visited {
    color: #4B778A;
}

.settings_gdpr #gdpr_remove_form_clearing {
    clear: both;
}
#settings-twofactor .title-with-core {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
}

#settings-twofactor .title-with-core h3 {
    margin-bottom: 0;
    display: inline-block;
}

#settings-twofactor .title-with-core .core-exclusive {
    display: flex;
    align-items: center;
    gap: 4px;
}

#settings-twofactor .upsell {
    padding: 8px 24px 8px 24px;
    background: #DF511217;
}

#settings-twofactor .upsell .upgrade {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #DF5112;
    font-weight: bold;
    line-height: 24px;
}

#settings-twofactor .qr {
    margin: 36px 100px 36px;
}

#settings-twofactor .qr-hint {
    margin-left: 24px;
    margin-bottom: 18px;
    font-style: italic;
}

#settings-twofactor .code-input, 
#settings-twofactor .password-input {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

#settings-twofactor .code-input {
    margin: 24px;
}

#settings-twofactor .password-input .password-note {
    position: absolute;
}

div#settings-twofactor div.code-input label.l, 
div#settings-twofactor div.password-input label.l {
    font-weight: normal;
    font-style: italic;
    position: static;
    width: auto;
}

#settings-twofactor .buttons {
    margin: initial;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
#settings-promos .title-with-core {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
}

#settings-promos .title-with-core h3 {
    margin-bottom: 0;
    display: inline-block;
}

#settings-promos .title-with-core .core-exclusive {
    display: flex;
    align-items: center;
    gap: 4px;
}

#settings-promos .upsell {
    padding: 8px 24px 8px 24px;
    background: #DF511217;
}

#settings-promos .upsell .upgrade {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #DF5112;
    font-weight: bold;
    line-height: 24px;
}
/* Helper mixins */
.colormixin(@color:false) when not (@color=false) {color: @color;}
.bgcolormixin(@color:false) when not (@color=false) {background-color: @color;}
.bordercolormixin(@color:false) when not (@color=false) {border-color: @color;}

.widthmixin(@width:false) when not (@width=false) {width: @width;}
.minwidthmixin(@width:false) when not (@width=false) {min-width: @width;}
.maxwidthmixin(@width:false) when not (@width=false) {max-width: @width;}

.heightmixin(@height:false) when not (@height=false) {height: @height;}
.minheightmixin(@height:false) when not (@height=false) {min-height: @height;}
.maxheightmixin(@height:false) when not (@height=false) {max-height: @height;}

/* Helper variable for retina media queries */
@retina : ~"(-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi)";

/*
 * helper function for .linear-gradient
 * @encode - string of svg xml
 */
.base64DataUriBackground (@encode, @type: ~"image/svg+xml") {
    @dataUriPrefix: ~"url(data:@{type};base64,";
    @dataUriSuffix: ~")";
 
    // because our lessc doesn't give access to btoa()
    // we have to make our own
    @b64DataUri: ~`(function(a,b,c){function e(a){a=a.replace(/\r\n/g,'\n');var b='';for(var c=0;c<a.length;c++){var d=a.charCodeAt(c);if(d<128){b+=String.fromCharCode(d)}else if(d>127&&d<2048){b+=String.fromCharCode(d>>6|192);b+=String.fromCharCode(d&63|128)}else{b+=String.fromCharCode(d>>12|224);b+=String.fromCharCode(d>>6&63|128);b+=String.fromCharCode(d&63|128)}}return b}function f(a){var b='';var c,f,g,h,i,j,l;var m=0;a=e(a);while(m<a.length){c=a.charCodeAt(m++);f=a.charCodeAt(m++);g=a.charCodeAt(m++);h=c>>2;i=(c&3)<<4|f>>4;j=(f&15)<<2|g>>6;l=g&63;if(isNaN(f)){j=l=64}else if(isNaN(g)){l=64}b=b+d.charAt(h)+d.charAt(i)+d.charAt(j)+d.charAt(l)}return b}var d='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';return a+f(b)+c})('@{dataUriPrefix}','@{encode}','@{dataUriSuffix}')`;
 
    background: @b64DataUri;
}

/*
 * @angle - 1st param (eg 45deg, top, to left bottom)
 * @legacy_color - Color if no gradient at all is available
 * @ie_gradient_type - 0 (vertical) or 1 (horizontal).  If anybody wants to write a filter to deduce this 
 *                     angle, have at it
 */
.linear-gradient(@start_color, @end_color) {
    .linear-gradient(top, @start_color, @end_color, @start_color);
}
.linear-gradient(@angle, @start_color, @end_color) {
    .linear-gradient(@angle, @start_color, @end_color, @start_color);
}
.linear-gradient(@angle, @start_color, @end_color, @legacy_color: @start_color, @ie_gradient_type: 0) {
    @svg: ~'<?xml version="1.0" ?><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><linearGradient id="grad-ucgg-generated" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="@{start_color}" stop-opacity="1"/><stop offset="100%" stop-color="@{end_color}" stop-opacity="1"/></linearGradient><rect x="0" y="0" width="1" height="1" fill="url(#grad-ucgg-generated)" /></svg>';
 
    
    /* base background */
    background: @legacy_color;
    
    /* IE9 you so special */
    .ie.eq9 & {
        .base64DataUriBackground(@svg);
    }
    /* IE8 is the bad kind of special */
    .ie.lt9 & {
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@{start_color}', endColorstr='@{end_color}',GradientType=@ie_gradient_type );
    }
    
    /* hooray modern browsers */
    background: -webkit-linear-gradient(@angle, @start_color, @end_color);
    background: -moz-linear-gradient(@angle, @start_color, @end_color);
    background: linear-gradient(@angle, @start_color, @end_color);
}

.linear-gradient-stops(@angle, @legacy_start_color, @legacy_end_color, @legacy_color, @rest...) 
{
    @svg: ~'<?xml version="1.0" ?><svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><linearGradient id="grad-ucgg-generated" gradientUnits="userSpaceOnUse" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="@{legacy_start_color}" stop-opacity="1"/><stop offset="100%" stop-color="@{legacy_end_color}" stop-opacity="1"/></linearGradient><rect x="0" y="0" width="1" height="1" fill="url(#grad-ucgg-generated)" /></svg>';
 
    
    /* base background */
    background: @legacy_color;
    
    /* IE9 you so special */
    .ie.eq9 & {
        .base64DataUriBackground(@svg);
    }
    /* IE8 is the bad kind of special */
    .ie.lt9 & {
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@{legacy_start_color}', endColorstr='@{legacy_end_color}',GradientType=0 );
    }
    
    /* hooray modern browsers */
    background: -webkit-linear-gradient(@angle, @rest);
    background: -moz-linear-gradient(@angle, @rest);
    background: linear-gradient(@angle, @rest);
}

/*
 * This is not compatible with IE8, don't use it if you have to support old IE
 * 
 * @lhs - Left hand side (height, width, whatever)
 * @rhs - Right hand side, whatever your calculation is.  You probably need a ~
 *
 * Example: .calc(height, ~"100% - 50px")
 *
 * Note, using a guard because less doesn't seem to like using a variable for lhs
 * Annoying, but don't know what else to do
 *
 * http://caniuse.com/calc
 */
.calc(@lhs, @rhs) when (@lhs = width) {
    width: -webkit-calc(@rhs);
    width: calc(@rhs);
}
.calc(@lhs, @rhs) when (@lhs = height) {
    height: -webkit-calc(@rhs);
    height: calc(@rhs);
}
.calc(@lhs, @rhs) when (@lhs = left) {
    left: -webkit-calc(@rhs);
    left: calc(@rhs);
}
.calc(@lhs, @rhs) when (@lhs = right) {
    right: -webkit-calc(@rhs);
    right: calc(@rhs);
}
.calc(@lhs, @rhs) when (@lhs = top) {
    top: -webkit-calc(@rhs);
    top: calc(@rhs);
}
.calc(@lhs, @rhs) when (@lhs = bottom) {
    bottom: -webkit-calc(@rhs);
    bottom: calc(@rhs);
}
.calc(@lhs, @rhs) when (@lhs = min-width) {
    min-width: -webkit-calc(@rhs);
    min-width: calc(@rhs);
}
.calc(@lhs, @rhs) when (@lhs = max-width) {
    max-width: -webkit-calc(@rhs);
    max-width: calc(@rhs);
}
.calc(@lhs, @rhs) when (@lhs = min-height) {
    min-height: -webkit-calc(@rhs);
    min-height: calc(@rhs);
}
.calc(@lhs, @rhs) when (@lhs = max-height) {
    max-height: -webkit-calc(@rhs);
    max-height: calc(@rhs);
}


/*
 * Not compatible with IE8 or IE9 (nothing breaks, they just don't get transitions)
 */
.transition(@arg) {
    -moz-transition: @arg;
    -webkit-transition: @arg;
    transition: @arg;
}

.transition(@transition, @duration, @timingFunction: ease-in-out ) when (@transition = transform) {
    -webkit-transition: -webkit-transform @duration @timingFunction;
    -moz-transition: -moz-transform @duration @timingFunction;
    -ms-transition: -ms-transform @duration @timingFunction;
    transition: transform @duration @timingFunction;
}

.animation (@name, @duration: 300ms, @delay: 0, @ease: ease, @iterationCount: 1) {
    -webkit-animation: @name @duration @delay @ease;
    -moz-animation:    @name @duration @delay @ease;
    -ms-animation:     @name @duration @delay @ease;
    animation-iteration-count: @iterationCount;
    -webkit-animation-iteration-count: @iterationCount;
    -moz-animation-iteration-count: @iterationCount;
}

.transition-delay(@arg) {
    -webkit-transition-delay: @arg;
    -moz-transition-delay: @arg;
    -o-transition-delay: @arg;
    transition-delay: @arg;
}

/*
 * Not supported in <=IE8
 */
.transform(@arg) {
    -ms-transform: @arg;
    -webkit-transform: @arg;
    transform: @arg;
}

.transform-scale(@arg) {
    -ms-zoom: @arg;
    -ms-transform: scale(@arg);
    -webkit-transform: scale(@arg);
    transform: scale(@arg);
}

.transform-origin(@arg) {
    -ms-transform-origin: @arg;
    -moz-transform-origin: @arg;
    -webkit-transform-origin: @arg;
    transform-origin: @arg;
}

.box-sizing(@arg) {
    -moz-box-sizing: @arg;
    -webkit-box-sizing: @arg;
    box-sizing: @arg;
}

.filter(@arg) {
    -ms-filter: @arg;
    -moz-filter: @arg;
    -webkit-filter: @arg;
    filter: @arg;
}

.user-select(@arg) {
    -ms-user-select: @arg;
    -moz-user-select: @arg;
    -webkit-user-select: @arg;
    user-select: @arg;
}

.backface-visibility(@arg) {
    -webkit-backface-visibility: @arg;
    backface-visibility: @arg;
}

.perspective(@arg) {
    -webkit-perspective: @arg;
    perspective: @arg;
}

.cursor-zoom-in(@arg) {
    cursor: @arg;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
}

.cursor-zoom-out(@arg) {
    cursor: @arg;
    cursor: -webkit-zoom-out;
    cursor: -moz-zoom-out;
}

.appearance(@arg) {
    -webkit-appearance: @arg;
    -moz-appearance: @arg;
}

.text-size-adjust(@arg) {
    -webkit-text-size-adjust: @arg;
    -moz-text-size-adjust: @arg;
    -ms-text-size-adjust: @arg;
}

/* 
 *  Make something spin for infinite time, one rotation per @interval 
 *  example: .spin(3000ms)
*/
.spin(@interval) {
    -webkit-animation-name: spin;
    -webkit-animation-duration: @interval;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: @interval;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: @interval;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    animation-name: spin;
    animation-duration: @interval;
    animation-iteration-count: infinite;
    animation-timing-function: linear;

    @-ms-keyframes spin {
        from { -ms-transform: rotate(0deg); }
        to { -ms-transform: rotate(360deg); }
    }
    @-moz-keyframes spin {
        from { -moz-transform: rotate(0deg); }
        to { -moz-transform: rotate(360deg); }
    }
    @-webkit-keyframes spin {
        from { -webkit-transform: rotate(0deg); }
        to { -webkit-transform: rotate(360deg); }
    }
    @keyframes spin {
        from { transform:rotate(0deg); }
        to { transform:rotate(360deg); }
    }
}

/*
 * CSS3 multi-column layout.
 * Won't do anything for IE8 or 9.
 */
.column-count(@arg) {
    -moz-column-count: @arg;
    -webkit-column-count: @arg;
    column-count: @arg;
}
.column-width(@arg) {
    -moz-column-width: @arg;
    -webkit-column-width: @arg;
    column-width: @arg;
}
.column-gap(@arg) {
    -moz-column-gap: @arg;
    -webkit-column-gap: @arg;
    column-gap: @arg;
}
.column-rule(@arg) {
    -moz-column-rule: @arg;
    -webkit-column-rule: @arg;
    column-rule: @arg;
}

/*
 * Input placeholder text
 */
.placeholder-font-style(@style){
    &::-webkit-input-placeholder {
        font-style: @style;
    }
    &:-moz-placeholder {
        font-style: @style;
    }
    &::-moz-placeholder {
        font-style: @style;
    }
    &:-ms-input-placeholder {
        font-style: @style;
    }
}
.placeholder-color(@color: false, @bgcolor: false, @bordercolor: false){
    &::-webkit-input-placeholder {
        .colormixin(@color);
        .bgcolormixin(@bgcolor);
        .bordercolormixin(@bordercolor);
    }
    &:-moz-placeholder {
        .colormixin(@color);
        .bgcolormixin(@bgcolor);
        .bordercolormixin(@bordercolor);
    }
    &::-moz-placeholder {
        .colormixin(@color);
        .bgcolormixin(@bgcolor);
        .bordercolormixin(@bordercolor);
    }
    &:-ms-input-placeholder {
        .colormixin(@color);
        .bgcolormixin(@bgcolor);
        .bordercolormixin(@bordercolor);
    }
}

/* Full-screen mixin */
.full-screen-width(@width: false, @minwidth: false, @maxwidth: false) {
    &:-webkit-full-screen {
        .widthmixin(@width);
        .minwidthmixin(@minwidth);
        .maxwidthmixin(@maxwidth);
    }
    &:-moz-full-screen {
        .widthmixin(@width);
        .minwidthmixin(@minwidth);
        .maxwidthmixin(@maxwidth);
    }
    &:-ms-full-screen {
        .widthmixin(@width);
        .minwidthmixin(@minwidth);
        .maxwidthmixin(@maxwidth);
    }
    &:-o-full-screen {
        .widthmixin(@width);
        .minwidthmixin(@minwidth);
        .maxwidthmixin(@maxwidth);
    }
    &:full-screen {
        .widthmixin(@width);
        .minwidthmixin(@minwidth);
        .maxwidthmixin(@maxwidth);
    }
}
.full-screen-height(@height: false, @minheight: false, @maxheight: false) {
    &:-webkit-full-screen {
        .heightmixin(@height);
        .minheightmixin(@minheight);
        .maxheightmixin(@maxheight);
    }
    &:-moz-full-screen {
        .heightmixin(@height);
        .minheightmixin(@minheight);
        .maxheightmixin(@maxheight);
    }
    &:-ms-full-screen {
        .heightmixin(@height);
        .minheightmixin(@minheight);
        .maxheightmixin(@maxheight);
    }
    &:-o-full-screen {
        .heightmixin(@height);
        .minheightmixin(@minheight);
        .maxheightmixin(@maxheight);
    }
    &:full-screen {
        .heightmixin(@height);
        .minheightmixin(@minheight);
        .maxheightmixin(@maxheight);
    }
}

/* Text hyphenation */
.hyphenate(@style:auto) {
    -webkit-hyphens:@style;
       -moz-hyphens:@style;
        -ms-hyphens:@style;
            hyphens:@style;
}

.clearfix() {
    zoom:1;
    &:before, &:after{ 
        content:""; 
        display:table; 
    }
    &:after{ 
        clear: both; 
    }
}

.font-smoothing(@value: antialiased) when(@value = antialiased) {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.font-smoothing(@value) when (@value = subpixel) {
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}

.font-default(@font-size: 14px, @line-height: 1.2, @font-weight: 300) {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: @font-size;
    line-height: @line-height;
    font-weight: @font-weight;
}

.font-face-calibre() {
    @font-face {
    font-family: 'Calibre-Bold';
        src: url('//st.deviantart.net/fonts/calibre-bold.otf') format('opentype');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
    font-family: 'Calibre-Semibold';
        src: url('//st.deviantart.net/fonts/calibre-semibold.otf') format('opentype');
        font-weight: normal;
        font-style: normal;
    }

    @font-face {
    font-family: 'Calibre-Light';
        src: url('//st.deviantart.net/fonts/calibre-light.otf') format('opentype');
        font-weight: normal;
        font-style: normal;
    }
}

.font-heading-bold(@font-size: 40px, @line-height: 1, @font-weight: 300) {
    font-family: 'Calibre-Bold';
    line-height: @line-height;
    font-weight: @font-weight;
    font-size: @font-size;
}

.flexbox() {
    /* order is important here */
    display: -webkit-box;      /* OLD - iOS <6, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox <19 */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Opera 12.1, Firefox >20 */
}

.flex() {
    .flexbox();

    /* but not here */
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-direction: row;
    -webkit-flex-direction:row;
    -moz-flex-direction:row;
    justify-content: flex-start;
    -webkit-justify-content:flex-start;
    -moz-justify-content:flex-start;
}
.flex-sizing(@size:1) {
    flex-grow: @size;
    -ms-flex-grow: @size;
    -moz-flex-grow: @size;
    -webkit-flex-grow:@size;
    flex-shrink: @size;
    -ms-flex-shrink: @size;
    -moz-flex-shrink: @size;
    -webkit-flex-shrink: @size;
}
.flex-center() {
    -webkit-box-pack: center; /* OLD - iOS <6, Safari 3.1-6 */
    -webkit-box-align: center;
    -moz-box-pack: center; /* OLD - Firefox <19 */
    -moz-box-align: center;
    -ms-flex-pack: center; /* TWEENER - IE 10 */
    -ms-flex-align: center;
    -webkit-justify-content: center; /* NEW - Chrome, Safari */
    -webkit-align-items: center;
    justify-content: center; /* NEW, Opera 12.1, Firefox >20 */
    align-items: center; 
}

.flexbox-inline() {
    display: -ms-inline-flex;
    display: -webkit-inline-flex;
    display: inline-flex;
}
.flex-direction(@value: row) {
    -webkit-flex-direction: @value;
    -ms-flex-direction: @value;
    flex-direction: @value;
}
.flex-grow(@value: 0) {
    -webkit-flex-grow: @value;
    -ms-flex-grow: @value;
    flex-grow: @value;
}
.flex-shrink(@value: 1) {
    -webkit-flex-shrink: @value;
    -ms-flex-shrink: @value;
    flex-shrink: @value;
}
.flex-justify(@value: flex-start) {
    -webkit-justify-content: @value;
    -ms-justify-content: @value;
    justify-content: @value;
}
.flex-align(@value: stretch) {
    -webkit-align-items: @value;
    -ms-align-items: @value;
    align-items: @value;
}
.flex-align-self(@value: auto) {
    -webkit-align-self: @value;
    -ms-align-self: @value;
    align-self: @value;
}
.flex-wrap(@value: wrap) {
    -webkit-flex-wrap: @value;
    -ms-flex-wrap: @value;
    flex-wrap: @value;
}
.fit(@margin:0) {
    position: absolute;
    top: @margin;
    right: @margin;
    bottom: @margin;
    left: @margin;
}

.fit-fixed(@margin:0) {
    position: fixed;
    top: @margin;
    right: @margin;
    bottom: @margin;
    left: @margin;
}

.transition-cubic-bezier(@property: all, @duration: 0.2s) {
    .transition(@property @duration cubic-bezier(0, 0, 0.58, 1));
}

/*
 * Push lately to have greyscale interfaces.
 * UI likes to think in terms of % grey, so they make mocks with
 * rgba(0,0,0, .74) for 74% grey.
 * This style uses more css room, requires more processing cycles from the browser's paint, and is dangerous
 * if underlying element is ever changed to something other than white.
 *
 * Now you can just do .foo { .grey(74%); color:@grey; }
 */

.grey(@percentage) {
    @grey: darken(#fff, 100% - @percentage);
}


/* Old brand colors */
.brandcolors() {
    @primary-green: #0FCC47;
    @primary-teal: #41CFC7;
    @primary-orange: #F75908;
    @primary-magenta: #ED145A;
    @primary-lightgreen: #BDD023;
    @primary-darkgreen: #026D20;

    @grey1: #111;
    @grey2: #242626;
    @grey3: #2F3131;
    @grey4: #323232;
    @grey5: #363636;
    @grey6: #474747;
    @grey7: #555;
    @grey8: #575757;
    @grey9: #666;
    @grey10: #6F6F6F;
    @grey11: #727272;
    @grey12: #828282;
    @grey13: #999;
    @grey14: #909090;
    @grey15: #CBCBCB;
    @pale-grey: #F2F2F2;

    @black-alpha1: rgba(0,0,0,0.5);
    @black-alpha2: rgba(0,0,0,0.2);

    @white-alpha1: rgba(0,0,0,0.8);
    @white-alpha2: rgba(0,0,0,0.5);
    @white-alpha3: rgba(0,0,0,0.3);
    @white-alpha4: rgba(0,0,0,0.2);
    @white-alpha5: rgba(0,0,0,0.1);
    @white-alpha6: rgba(0,0,0,0.07);

    @list-level-0: #19252C;
    @list-level-1: #273943;
    @list-level-2: #324855;
    @list-level-3: #455C69;
}

/* New brand colors */
.11-14-brandcolors() {
    /* Used by the header */
    @brand-green: #05CC47;
    @header-green: #475C4D;
    @dark-header-green: #46584A;
    @border-green: #38463B;
    @subheader-green: #3D4F42;
    @submit-green: #5FAC75;
    @menu-grey: #313836;
    @hover-blue: #508FA3;

    /* Colors from the brand guidelines */

    @black: #000;
    @grey1: #181A1B;
    @grey2: #4F5254;
    @grey3: #7D8080;
    @grey4: #F2F2F2;
    @white: #FFF;
    @darker-grey: #181A1B;
    @pale-grey: #F2F2F2;


    @blue1: #1F3833;
    @blue2: #36807A;
    @blue3: #40CFC7;
    @blue4: #D4F5F2;

    @green1: #1F3626;
    @green2: #42704F;
    @green3: #4DC47D;
    @green4: #D4F5DE;

    @orange: #F7590A;


    @core-access-icon: #FFB35C;
    @core-plus-icon: #FF815F;
    @core-pro-icon: #E776FF;
    @core-pro-plus-icon: #FF94B4;
    @core-max-icon: #7579FF;


    @accent-orange: darken(@orange, 10%);
}


