.pull-right {
    text-align: right;
}

#subs_content {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    border-top: 9px #FF7000 solid;
    border-radius: 4px;
    background-color: #F9F9F9;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 12px;
    padding: 4px 0;
}

#subs_content form {
    position: relative;
}

#subs_content .form_body h2  {
    color: #03468d;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 14px 0 10px;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 0 1px #E2E2E2;
}

#subs_content input.button {
    background: #ffb200;
    background: linear-gradient(to bottom, #ffb200 0%, #ff8100 100%);
    cursor: pointer;
    text-shadow: 0 1px 1px #ffbe66;
    padding: 12px 10px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 15px;
    border: 1px #ec9000 solid;
    border-radius: 2px;
    text-transform: uppercase;
    text-align: center;
}

#subs_content input.button:hover {
    background: #ffc800;
    background: linear-gradient(to bottom, #ffc800 0%, #ff9500 100%);
}

#subs_content input.button[disabled] {
    background: #D8D8D8;
    background: linear-gradient(to bottom, #D8D8D8 0%, #BDBDBD 100%);
    border: 1px #BBB solid;
    text-shadow: 0 1px 1px #E8E8E8;
    color: #616161;
    cursor: default;
}

#subs_content textarea {
    width: 100%;
    margin-bottom: 10px;
    font-size: 12px;
}

#subs_content .form_body > .inline-row {
    padding: 0 20px;
    margin: 0 10px;
}

#subs_content .form_body > .inline-row.first {
    padding: 10px 20px 5px;
}

#subs_content .form_body > .inline-row.last {
    padding-bottom: 10px;
}

#subs_content .inline-row > .field_box {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
    width: 25%;
    height: 70px;
}

#subs_content .agree-row {
    padding: 0 30px;
    display: table;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

#subs_content .agree-row > label {
    width: 75%;
    display: table-cell;
}

#subs_content .agree-row .field_box {
    position: relative;
}

#subs_content .agree-row span {
    position: absolute;
    top: 1px;
    margin-left: 4px;
    font-size: 13px;
}

#subs_content .agree-row span a {
    text-decoration: underline;
    color: #000;
    cursor: pointer;
}

#subs_content .agree-row > .button {
    margin: 0;
    width: 25%;
    height: 70px;
    text-align: left;
    display: table-cell;
}

#subs_content .agree-row > .button > .button {
    width: 95%;
}

#subs_content .inline-row .field_box > input,
#subs_content #captcha .field_box > input {
    height: 38px;
    font-weight: 400;
    font-size: 14px;
    color: #313131;
    text-align: left;
    border: 1px #A2A2A2 solid;
    border-radius: 3px;
    padding-left: 5px;
    width: 95%;
    box-shadow: inset 0 1px 1px rgba(99, 99, 99, 0.2);
    box-sizing: border-box;
}

#subs_content .inline-row .field_box > label {
    display: block;
    font-size: 14px;
    color: #00428F;
    font-weight: bold;
    text-shadow: 0 0 1px #FFF;
    line-height: 19px;
    font-family: Arial, Helvetica, sans-serif;
}

#subs_content .field_box > div.error_messages {
    color: #F54141;
    font-size: 12px;
    width: 95%;
}

#subs_content .inline-row > .subs_select {
    height: 30px;
    padding-left: 2px;
    box-sizing: border-box;
}

#subs_content .subs_select_block {
    display: table;
    width: 100%;
    height: 100%;
}

#subs_content .subs_select_block .subs_select_wrapper {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
}

#subs_content #subs_select {
    font-size: 15px;
    color: #00428F;
    cursor: pointer;
    border-bottom: 1px dashed #000080;
}

#subs_content #back {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: 999;
    background-color: #000;
    border-radius: 3px 3px 0 0;
}

#subs_content #mailing_list, #popup, #captcha {
    table-layout: fixed;
    word-wrap: break-word;
    top: 0;
    left: 0;
    box-sizing: border-box;

    padding: 10px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    position: absolute;
    background-color: #F9F9F9;
    width: 30%;
    margin: 0 35%;
    max-height: 84%;
    border: 1px solid #DFE6F9;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 0 0 8px #000;
    display: none;
    border-top: 6px #FF7000 solid;
    border-left: none;
    border-right: none;
    border-radius: 3px;
}

#subs_content #mailing_list .items div.item > label {
    width: 100%;
    display: block;
    padding: 4px 0;
}

#subs_content #mailing_list .items div.item > label > * {
    margin: 0;
    padding: 0;
    vertical-align: middle;
    display: inline-block;
}

#subs_content #mailing_list .items div.item > label > input {
    width: 8%;
}

#subs_content #mailing_list .items div.item > label > span {
    width: 92%;
}

#subs_content #mailing_list .items div.subcategory {
    padding-left: 25px;
}

#subs_content #mailing_list .items div.item:hover {
    color: #00428F;
    background-color: #F2F2FF;
    border-radius: 2px;
}

#subs_content #mailing_list input[name="select"] {
    width: 100%;
    padding: 6px 0;
    margin-top: 10px;
}

#subs_content #popup,
#subs_content #captcha {
    font-size: 18px;
    text-align: center;
    display: table;
    background-color: #FFF;
}

#subs_content #popup {
    text-shadow: 0 0 1px #CCC;
}

#subs_content #popup > .content {
    display: table-cell;
    vertical-align: middle;
    padding: 10px;
    box-sizing: border-box;
}

#subs_content #captcha {
    text-transform: none;
}

#subs_content #captcha > * {
    width: 180px;
    margin: 4px auto;
}

#subs_content #captcha > .field_box {
    height: 50px;
}

#subs_content #captcha > input {
    padding: 9px 20px;
    font-size: 14px;
}

#subs_content #captcha img {
    width: 100px;
    height: 44px;
    font-size: 11px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#subs_content #captcha audio {
    display: none;
}

#subs_content #captcha > .field_box > input {
    height: 34px;
    padding-left: 4px;
    width: 100%;
    box-sizing: border-box;
}

#subs_content #captcha .switch_button {
    background-color: #f1f1f1;
    border: 1px solid #bbb;
    border-radius: 3px;
    width: 100px;
    height: 24px;
    cursor: pointer;
}

#subs_content #captcha .switch_button > .audio_button_image {
    background-image: url(/personal/static/images/audio.png);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    border: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

#subs_content #captcha .switch_button[data-state="audio"] > .audio_button_image {
    background-image: url(/personal/static/images/eye.png);
}

#subs_content #captcha .switch_button:hover > .audio_button_image {
    opacity: 0.8;
}

#subs_content #captcha .switch_button:focus > .audio_button_image {
    outline: 1px dotted black;
}

#subs_content #captcha .audio_listen_button {
    width: 102px;
    height: 46px;
    border-radius: 4px;
    border: 1px solid rgb(187, 187, 187);
    background-color: rgb(241, 241, 241);
    font-size: 14px;
    padding: 0;
    margin-bottom: 8px;
}

#subs_content .help_text{
    color: gray
}

.ui-widget {
    font-family: Verdana,Arial,sans-serif;
}

.ui-menu {
    list-style: none;
    padding: 0 2px;
    margin: 0;
    display: block;
    outline: none;
}

.ui-menu .ui-menu {
    margin-top: -3px;
    position: absolute;
}

.ui-menu .ui-menu-item {
    margin: 1px;
    padding: 0;
    width: 100%;
    background-color: #F2F6FF;
    font-size: 12px;
    list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
}

.ui-menu .ui-menu-divider {
    margin: 5px -2px 5px -2px;
    height: 0;
    font-size: 0;
    line-height: 0;
    border-width: 1px 0 0 0;
}

.ui-menu .ui-menu-item a {
    text-decoration: none;
    display: block;
    padding: 2px .4em;
    line-height: 1.5;
    min-height: 0;
    font-weight: normal;
}

.ui-menu .ui-state-disabled {
    font-weight: normal;
    margin: .4em 0 .2em;
    line-height: 1.5;
}
.ui-menu .ui-state-disabled a {
    cursor: default;
}

.ui-menu-icons {
    position: relative;
}
.ui-menu-icons .ui-menu-item a {
    position: relative;
    padding: 0.6em 0.8em;
}

.ui-menu .ui-menu-item a.ui-state-focus {
    background-color: #E1E5EE;
    cursor: pointer;
}

.ui-menu .ui-icon {
    position: absolute;
    top: .2em;
    left: .2em;
}

.ui-menu .ui-menu-icon {
    position: static;
    float: right;
}

.ui-autocomplete {
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #CCC;
    border-radius: 3px;
    box-sizing: border-box;
    background-color: #F2F6FF;
}

.formset {
    padding: 0;
}

.formset .formset_management,
.formset .formset_template {
    display: none;
}

.formset.sub_cities .formset_row {
    display: inline-block;
    margin: 4px 12px 4px 0;
    font-size: 13px;
}

.formset.sub_cities .formset_content_errors {
    display: inline-block;
    margin: 2px;
    font-size: 12px;
}

.formset.sub_cities .formset_row > div {
    vertical-align: middle;
    display: inline-block;
}

.formset.sub_cities .delete_button {
    border: 1px solid #BBB;
    border-radius: 2px;
    padding: 5px 6px;
    cursor: pointer;
    margin-left: 6px;
    color: #666;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    background: #EEE;
}

.formset.sub_cities .delete_button:hover {
    border: 1px solid #AAA;
    background: #FFF;
}

.formset.sub_cities .formset_errors {
    color: #F54141;
    font-size: 12px;
}

.formset.sub_cities .formset_errors .errorlist p,
.formset.sub_cities .formset_errors .errorlist ul {
    margin: 2px 0;
}

.formset.sub_cities .formset_row.highlight {
    color: #f81111;
}

.formset.sub_cities .formset_row.highlight .delete_button {
    color: #e85a5a;
    border-color: #ee8c8c;
}

.icon-button {
    background: #EAEAEA;
    background: linear-gradient(to bottom, #fff 0%, #e7e7e7 100%);
    border: 1px solid #BBB;
    display: inline-block;
    color: #6F6E6E;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    padding: 0;
    vertical-align: top;
    margin-left: 4px;
    height: 15px;
    width: 15px;
    line-height: 15px;
    font-size: 11px;
    border-radius: 3px;
}

.icon-button:hover {
    background: #d7d7d7;
    background: linear-gradient(to bottom, #f7f7f7 0%, #dcdcdc 100%);
}

.i-question:before {
    content: "?";
    vertical-align: middle;
}

.popover {
    position: absolute;
    z-index: 1030;
    display: block;
    visibility: visible;
    font-size: 12px;
    line-height: 1.3;
    opacity: 0;
    filter: alpha(opacity=0);
    color: #333;
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.196);
    border-radius: 4px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.196);
    left: 0;
    padding: 1px;
    text-align: left;
    top: 0;
    white-space: normal;
}

.popover.in {
    opacity: 1;
    filter: alpha(opacity=100);
}

.popover.top {
    margin-top: -2px;
}

.popover-content {
    padding: 8px;
    font-weight: normal;
}
