/*-----------------------------------------------------------------------------------*/
/*	- RESET
/*-----------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block }
ol, ul { list-style: none }
blockquote, q { quotes: none }
:focus { outline: 0 }
table { border-collapse: collapse; border-spacing: 0; }
img { max-width: 100%; height: auto; }
mark { background: none; }
select { max-width: 100%; }


/* 

SA color #e0426c

*/


body {
  color: #111;
  background: #fff;
  margin: 0 0 0 240px;
  padding: 0 0 50px;
}
body * {
  font: normal 13px auto;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}
h1,h2,h3,h4,h5,legend {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}
.small-text {
    font-size: 12px;
    color: #666;
}
.top-bar {
    background: #fff;
    border-bottom: 2px solid #ccc;
    color: #111;
    padding: 8px;
    text-align: center;
}
.top-bar a {
/*     color: #fff; */
    font-weight: normal;
/*     font-size: 110%; */
}
.clear {
    display: block;
    clear: both;
}

.page-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4%;
}
.logo {
    display: block;
    width: 100%;
    height: 29px;
    margin: 0 0 20px;
    background: url(../img/admin_logo.png) no-repeat;
    background-size: contain;
}
.header {
    background-color: #2f2f2f;
    margin-bottom: 0;
    position: fixed;
    /* min-height: 65px; */
    height: 100%;
    width: 200px;
    padding: 20px;
    z-index: 100;
    left: 0;
    top: 0;
    overflow: auto;
    color: #666;
}
.header ul {
    text-align: left;
}
.header ul li {
    display: block;
    margin: 0 0 2% 0;
}
.header a {
  display: block;
  color: #BCBCBE;
  font-size: 13px;
}
.header a.active {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.header a:hover {
    color: #fff;
}
.header .page-inner {
  padding: 0;
  position: static;
}

.login-page .header .page-inner {
    margin: 0 auto;
}

/* EXTERNAL LINKS - side menu quick links*/

.header .page-inner {
    margin-bottom: 240px;
}
.external-links {
    margin-top: 20px;
    position: fixed;
    left: 0;
    width: 240px;
    bottom: 0;
    background: rgb(47,47,47);
    background: linear-gradient(180deg, rgba(47,47,47,.8) 0%, rgba(55,55,55,1) 100%);
}
.divider {
    border: solid 1px;
}
.external-links h1 {
    color: #BCBCBE;
    margin-top: 8px;
    padding: 10px 20px;
    font-size: 16px;
}
.secondary-menu-links {
    width: 100%;
    border-top: 1px solid #444;
    border-bottom: 1px solid #666;
}
ul.secondary-menu-links li {
    width: 100%;
    border-top: 1px solid #666;
    border-bottom: 1px solid #444;
    margin: 0;
    box-sizing: border-box;
}
ul.secondary-menu-links li a {
    width: 100%;
    height: 100%;
    padding: 10px 20px;
}
ul.secondary-menu-links li:hover {
    background-color: #444;
}
ul.secondary-menu-links li:hover a {
    color: #fff;
}

#settingsToggle {
    font-size: 18px;
    color: #BCBCBE;
}
#settingsToggle.active {
    color: #fff;
}
#settingsPanel {
    display: none;
    background: #f6f6f6;
    padding: 10px;
    position: absolute;
    top: 100%;
    right: 0;
    border: 1px solid #e4e4e4;
    z-index: 999;
}
#settingsPanel a {
    display: block;
    color: inherit;
    padding: 7px 0;
    border-bottom: 1px solid #e4e4e4;
}

.settings_form {
    margin: 0 0 20px;
}
.settings_form .formsection {
    margin: 0 0 50px;
}
.settings_form .formrow {
    margin: 0 0 10px;
}
.settings_form .formrow label input {
    min-width: 400px;
    padding: 2px 5px;
    margin-right: 7px;
}
.settings_form .formrow label > span {
    display: inline-block;
    width: 200px;
}
.settings-row-checkboxes {
    margin-left: 200px;
}
.settings-row-checkboxes label {
    display: block;
    margin-bottom: 3px;
}
.settings_form .formrow .settings-row-checkboxes input,
.settings_form .formrow input[type="checkbox"] {
    min-width: 15px;
}
.settings-panel {
    padding: 5px 0 15px 30px;
}

.settings_form .to-additems {
    display: inline;
}
.settings_form .to-additems input {
    width: 200px !important;
    min-width: 200px !important;
}
.settings_form .to-additems span {
    width: auto !important;
}
.email-items {
    display: inline-block;
}
.email-items span {
    display: inline-block;
    padding: 4px 10px;
    background: #f3f3f3;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 0 5px 0 0;
}
.email-items span i {
    font-size: 10px;
    color: #e0426c;
    font-weight: bold;
    margin-left: 10px;
}
.settings-test-button {
    width: auto !important;
}

input.small-input {
    width: 100px !important;
    min-width: 100px !important;
}
input.large-input {
    width: 300px !important;
    min-width: 300px !important;
}

.test-result-row {
    padding: 15px;
    overflow: hidden;
    white-space: nowrap;
}
.test-result-row span {
    display: inline-block;
    min-width: 300px;
    font-weight: bold; 
    overflow: hidden;
    white-space: nowrap;
}

.rss-feed-item,
.calendar-item {
    padding: 5px 0;
    margin: 0 0 5px;
}
.rss-feed-item i,
.calendar-item i {
    display: inline-block;
    font-size: 10px;
    background-color: #e0426c;
    color: #fff;
    font-weight: bold;
    margin-left: 5px;
    text-align: center;
    height: 15px;
    width: 15px;
    line-height: 15px;
    border-radius: 50%;
}
.rss-feed-item input,
.calendar-item input {
    margin-right: 5px;
}

#editSideMenu {
    margin-left: 200px;
    max-width: 300px;
}
.generic-note {
  padding: 15px;
  background: #f3f3f3;
  margin: 20px 0;
  border: 1px solid #ccc;
}
#msg{
    width: 100%;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px;
    border: 1px solid #e4e4e4;
    background: #caffcb;
    z-index: 9999999;
}
.msg {
    text-align: center;
    margin: 0 0 20px;
    padding: 10px;
    border: 1px solid #e4e4e4;
    background: #caffcb;
}
#err {
    color: #FFF;
    /*color: #dd5b5b;*/
    font-weight: 700;
    width: 100%;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px;
    border: 1px solid #e4e4e4;
    background: #E1255F;
    z-index: 9999999;
}
.offer-bar {
    text-align: center;
    margin: 0;
    padding: 10px;
    border: 1px solid #e4e4e4;
    background: #8CE6F1;
    font-weight: bold;
}
h1 {
    font-size: 18px;
    color: #111;
    margin: 0 0 .5em;
}
h2 {
    font-size: 14px;
    color: #111;
    margin: 0 0 .5em;
}
fieldset h2 {
    margin: 1em 0;
}
a {
  text-decoration: none;
  color: #e0426c;
}
img {
  border: 0px;
  vertical-align: middle;
}
p {
    margin: 0 0 15px;
}
strong {
    font-weight: 400;
}
caption {
  padding: 0 0 5px 0;
  font: italic 11px Verdana, Arial, Helvetica, sans-serif;
  text-align: right;
}
small {
  font: italic auto Verdana, Arial, Helvetica, sans-serif;
  color: #4f6b72;
}
li {
  list-style-type: none;
}

#search-form label span {
    display: inline-block;
    min-width: 150px;
    margin: 0 15px 5px 0; 
}

.form label span {
  display: block;
  float: left;
  text-decoration: none;
  width: 9em;
}
input.uppercase {
  text-transform: uppercase;
}
input .medium {
  width: 30px;
  height: 30px;
}

/* special */
.error {
  color: #dd5b5b;
  font-weight: 700;
}
.sms_confirmation {
    border: 5px solid #dd5b5b; 
    padding: 15px;
    margin: 0 0 20px;
    border-radius: 10px;
}

.paging_links {
  text-align: center;
  font-size: .9em;
  margin: 15px 0;
}
.paging_links p {
    margin: 0 0 5px;
}

/* Tables */
table td {
    vertical-align: top;
}

table.rows {
  position: relative;
  width: 100%;
  margin: 0 auto 40px;
}
table.rows tr:nth-child(odd) td {
    background: #f9f9f9;
}
table.rows th {
  color: #111;
  font-size: 11px;
  text-transform: uppercase;
  text-align: left;
  padding: 6px 8px;
  white-space: nowrap;
  border-bottom: 1px solid #e6e6e6;
}
table.rows th a {
    color: #e0426c;
}
table.rows th.nobg {
  border-top: 0;
  border-left: 0;
  border-right: 1px solid #C1DAD7;
  background: none;
}
table.rows td {
  border-bottom: 1px solid #e6e6e6;
  padding: 12px;
  color: #4f6b72;
  background: #fff;
}

table.rows .ui-icon {
    display: inline-block;
    margin: 0px 10px -4px -5px;
}
table.rows td.alt {
  background: #F5FAFA;
  color: #000;
  font-weight: bold;
}
table.rows td.spec {
  color: #000;
  border-left: 1px solid #C1DAD7;
  border-top: 0;
}
table.rows td.specalt {
  border-left: 1px solid #C1DAD7;
  border-top: 0;
  color: #000;
}
.ui-sortable tr {
    cursor: move;
}

table.form{
    min-width: 70%;
}
table.form td.field {
    width: 20%;
    color: #6b6b6b;
}
table.form td.value {
    padding: 0 0 20px;
}


/* table.form td.submit {
} */

.page-inner fieldset {
    border: 1px solid #e4e4e4;
    background: #fbfbfb;
    padding: 55px 15px 15px;
    position: relative;
}
.page-inner legend {
    margin: 0;
    padding: 10px 0 0;
    font-size: 16px;
    top: 16px;
    font-weight: 400;
    color: #222;
    border: none;
    display: block;
    position: absolute;
    top: 0;
}
legend span {
    font-size: 11px;
    color: #e0426c;
    cursor: pointer;
}
fieldset .field {
    padding: 0 30px 10px 0;
}
fieldset .value input,
fieldset .value textarea {
    border: 1px solid #e4e4e4;
    padding: 5px;
    min-width: 300px;
    font-size: 1.1em;;
}
fieldset .datetime-field input {
    min-width: 50px;
}
fieldset .value label {
    display: inline-block;
    min-width: 100px;
}
.submit input,
button,
.button,
input.button,
input[type=submit] {
    margin: 30px 10px 0 0;
    background: #666;
    padding: 6px 8px;
    color: #fff;
    border: 0;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
}
.submit input:hover,
button:hover,
.button:hover,
input.button:hover,
input[type=submit]:hover
{
    background-color: #333;
}

.button.button-primary {
  color: #fff;
  background-color: #e0426c;
  font-weight: bold;
}

.mce-btn button:hover,
.mce-menubtn button:hover,
.mce-tinymce button:hover {
    color: inherit !important;
    background-color: transparent !important;
}

.small-button {
    margin: 0 4px 0 0;
    padding: 4px 6px;
    font-size: 11px;
}

fieldset .value input[type="checkbox" i] {
    min-width: 15px;
}

/* 
    jstree defaults 
*/
#jstree {
    font-size: 14px;
    margin: 20px 0 0;
}
.jstree-default .jstree-disabled {
    opacity: .5;
}


table.alerts-table td:nth-child(1) {
    width: 5%;
}
table.alerts-table td:nth-child(2),
table.alerts-table td:nth-child(3) {
    word-break: break-word;
    width: 25%;
}
/*
 START ALERT SENDFORM
*/

.alert-form {
    width: 400px;
    margin: 0 0 80px;
}
.alert-form .formrow {
    margin: 0 0 30px;
}
.alert-form .formsection {
    padding: 0 0 25px;
}
.alert-form h2 {
    font-size: 16px;
    margin: 15px 0 10px;
}
.alert-form h3 {
    font-size: 13px;
    margin: 0 0 5px;
}
.alert-form .lang_input_wrap {
    display: block;
}
.alert-form #categories {
    max-height: 20.7em;
    font-size: 12px;
    overflow: auto;
    border: 1px solid #e4e4e4;
}
.alert-form textarea,
.alert-form input,
.alert-form select {
    font-size: 1.1em;
}
.alert-form textarea {
    width: 96%;
    padding: 7px 2%;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.alert-form input[type="text"],
.alert-form input[type="file"] {
    width: 96%;
    padding: 2px 2%;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.alert-form textarea.active,
.alert-form input.active,
.alert-form select.active {
    box-shadow: 0 0 5px rgba(0,0,0,.2);
    webkit-box-shadow: 0 0 5px rgba(0,0,0,.2);
}

.alert-form .select2-container-multi .select2-choices {
    border: 1px solid #ccc;
    border-radius: 3px;
}
.alert-form select,
.alert-form #s2id_alert_send_to {
    display: block;
}

.helptext {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 0 0 5px;
    overflow: hidden;
    text-indent: -9999px;
}
.helptext.popupactive {
    overflow: auto;
    height: auto;
    width: auto;
}
.helptext:before {
    position: absolute;
    width: 13px;
    height: 13px;
    font-size: 9px;
    text-align: center;
    top: 0;
    left: 0;
    content: "?";
    border: 1px solid #ccc;
    color: #111;
    border-radius: 13px;
    text-indent: 0;
}
.helptext.edited:before {
    font-size: 12px;
    content: "*";
    color: #e0426c;
    border: 1px solid #e0426c;
}

.helptext:hover:before {
    background-color: #666;
    color: #fff;
}
.helptext.edited:hover:before {
    background-color: #e0426c;
    color: #fff;
}
.helppopup {
    display: none;
    position: absolute;
    font-size: 12px;
    background: #fff;
    border: 1px solid #6b6b6b;
    border-radius: 5px;
    padding: 7px;
    z-index: 9999;
    box-shadow: 0 0 3px #ccc;
}



#categories li.disabled_li {
  display: none;
}

.search-filter-form fieldset {
    padding-bottom: 0;
    margin: 0 0 30px;
}

.no_checkbox>i.jstree-checkbox
{
    display:none !important;
}

#selected_groups_text {
    font-size: 12px;
    color: #888;
    padding-bottom: 20px;
}
#selected_groups_text input {
    margin: 0 10px 0 0;
}

span.chars_remaining {
    display: block;
    font-size: 11px;
    color: #666;
    text-align: right;
}
span.chars_remaining span {
    font-weight: bold;
    margin-left: .2em;
}

.userTypeForm button {
    margin: 5px 0 0;
    display: inline;
}

.userTypeForm button:disabled {
    background-color: gray;
    color: lightgray;
    cursor: default;
}
.usertypes label {
    display: block;
}

#linktocontent {
    display: none;
}
#linktobutton {
    margin: 0 0 15px;
}
#linktotitle {
    margin: 0 0 15px;
}
#linktourl {
    display: none;
    margin: 0 0 15px;
}
#linktourl input[type="text"] {
    display: block;
    width: 100%;
    margin: 0 0 5px;
}
#linktopdf {
    display: none;
    margin: 0 0 15px;
}
#linktopdf input {
    width: 96%;
    margin: 0 0 10px;
    border: none;
    padding: 0;
}
.pdf-upload-active {
    background: yellow;
    padding: 10px;
}

.mobile-show {display: none !important}


/*
 END ALERT SENDFORM
*/



.platform-type-church .logo {
    background-image: url(../img/admin_logo_church.png);
}
.platform-type-church td a,
.platform-type-church fieldset a,
.platform-type-church p a,
.platform-type-church .paging_links a {
  color: #ff8a0b;
}
.platform-type-church .submit input:hover,
.platform-type-church button:hover,
.platform-type-church .button:hover,
.platform-type-church input.button:hover {
    background-color: #333;
}

.platform-type-club .logo {
    background-image: url(../img/admin_logo_CA.png);
}
.platform-type-club td a,
.platform-type-club fieldset a,
.platform-type-club p a,
.platform-type-club .paging_links a {
  color: #63E3BA;
}
.platform-type-club .submit input:hover,
.platform-type-club button:hover,
.platform-type-club .button:hover,
.platform-type-club input.button:hover {
    background-color: #333;
}

.platform-type-medi .logo {
    background-image: url(../img/admin_logo_medi.png);
}
.platform-type-medi td a,
.platform-type-medi fieldset a,
.platform-type-medi .top-bar a,
.platform-type-medi p a,
.platform-type-medi .paging_links a {
  color: #51c6db;
}
.platform-type-medi .submit input:hover,
.platform-type-medi button:hover,
.platform-type-medi .button:hover,
.platform-type-medi input.button:hover {
    background-color: #333;
}


.platform-type-hapori .logo {
    background-image: url(../img/admin_logo_hapori.png);
}
.platform-type-hapori td a,
.platform-type-hapori fieldset a,
.platform-type-hapori .top-bar a,
.platform-type-hapori p a,
.platform-type-hapori .paging_links a {
  color: #51c6db;
}
.platform-type-hapori .submit input:hover,
.platform-type-hapori button:hover,
.platform-type-hapori .button:hover,
.platform-type-hapori input.button:hover {
    background-color: #333;
}


.platform-type-business .logo {
    background-image: url(../img/admin_logo_business.png);
}
.platform-type-business td a,
.platform-type-business fieldset a,
.platform-type-business .top-bar a,
.platform-type-business p a,
.platform-type-business .paging_links a {
  color: #5A79B7;
}
.platform-type-business .submit input:hover,
.platform-type-business button:hover,
.platform-type-business .button:hover,
.platform-type-business input.button:hover {
    background-color: #333;
}
.platform-type-business p a.button,
.platform-type-business fieldset a.button {
    color: #ffffff;
}


#dialog-form,
#dialog_google_trans {
    display: none;
}

#dialog-form label {
    width: 100px;
    display: inline-block;
    margin: 0 0 15px;
}

#dialog_google_trans a.button {
    color: #fff;
    margin: 0 0 10px;
}
#dialog_google_trans textarea {
    width: 100%;
    height: 100px;
}

#subscriptions_form {
    margin-bottom: 50px;
}
.stick #jstree {
    margin-top: 70px;
}
.stick #alert_group_nav {
    position: fixed;
    width: 100%;
    background: #fff;
    left: 0;
    top: 0;
    z-index: 99;
}
.stick #alert_group_nav div {
    padding: 10px 10px 10px 298px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Language stuff */

.settings_table .settings-save {
    opacity: .3;
}
.settings_table.dirty .settings-save {
    opacity: 1;
}

.settings_table .setting_APP_SETTINGS_TRANSLATIONS,
.settings_table .setting_APP_SETTINGS_APP_LANGUAGE_OPTIONS,
.settings_table .setting_APP_SETTINGS {
    display: none;
}

.settings_table {
  overflow: auto;
}
.settings_table table {
  width: 100%;
  margin: 20px 0 50px;
  border: 1px solid #ccc;
  border-width: 1px 0;
}
.settings_table tr:nth-child(even) {
  background: #f5f5f5
}
.settings_table th {
  font-weight: 400;
  text-align: left;
  padding: 2px 5px;
  border: 1px solid #ccc;
  border-width: 0 1px;
}
.settings_table td {
  padding: 2px 5px;
  border: 1px solid #ccc;
  border-width: 0 1px 1px;
  color: #111;
}
.settings_table td.label-empty {
  background-color: #fed1d1;
}
.settings_table .trans_key {
  color: #aaa;
}
.settings_table td textarea {
  width: 100%;
  margin: 0;
  font-size: 1em;
}
.settings_table td button,
.settings_table th button {
  margin: 0 4px 0 0;
  padding: 2px 5px;
  font-size: 1em;
}
.settings_table th label {
  display: block;
}

.jstree-default > .jstree-no-dots .jstree-open > .jstree-ocl {
    display: none;
}
.jstree-default .jstree-anchor > .jstree-undetermined {
    background-position: -164px -4px !important;
}
.jstree-default-responsive .jstree-children .jstree-open > .jstree-wholerow,
.jstree-default-responsive .jstree-wholerow {
    box-shadow: none !important;
}
#subscriptions_form .jstree-children .jstree-anchor::before {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 5px 0 0;
    vertical-align: middle;
    opacity: .5;
    -moz-opacity: .5;
    background: url('../img/drag_reorder.png') 0 0 no-repeat;
    background-size: contain;
    content: ' ';
}

.lang_input_wrap {
    display: inline-block;
    position: relative;
    margin-top: 1.5em;
}
.form-term-dates .lang_input_wrap,
.form-term-dates .lang_input_wrap > .mce-container,
.form-term-dates iframe,
#noticetype-manual .lang_input_wrap,
#noticetype-manual .lang_input_wrap > .mce-container,
#noticetype-manual iframe {
    display: block;
    width: 100% !important;
    min-height: 400px;
}

.jstree-node input {
    min-width: 400px;
    width: auto !important;
}
.jstree-node .lang_input_wrap {
    z-index: 1000;
    margin: 0;
}
.jstree-node button {
    padding: 4px 7px;
    font-size: 1em;
    margin: 0;
}
.jstree-default > .jstree-no-dots .jstree-leaf > .jstree-ocl {
    display: none;
}


.lang_toggle_nav {
    position: absolute;
    top: -22px;
    right: 0;
    white-space: nowrap;
}

.lang_toggle_nav li {
    display: inline-block;
    font-size: 11px;
    color: #666;
    border: 1px solid #e4e4e4;
    background: #e4e4e4;
    border-radius: 3px 3px 0 0;
    height: 17px;
    padding: 2px 5px;
    margin-left: 2px;
    cursor: pointer;
}
.lang_toggle_nav li:hover {
    background: #f5f5f5;
}
.lang_toggle_nav li.active {
    background: #fff;
    color: #000;
    border-bottom-color: #fff;
}

table.has-languages-nav,
.has-languages-nav {
    position: relative;
    margin-top: 20px;
}
table.has-languages-nav{
    position: relative;
    margin-top: 50px;
}
.tablenav {
    top: -26px;
}
.tablenav li {
    font-size: 12px;
    height: 20px;
}

.show_if_languages { display: none; }
.has-languages .show_if_languages {
    display: block;
}



a.help-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #fff;
    font-size: 14px;
    background-color: #e0426c;
    padding: 10px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}


/* Login page */

.login-page body {
    margin: 0;
}
.login-page .top-bar {
    display: none;
}
.login-page .header {
    position: relative;
    width: auto;
    padding: 12px;
}
.login-page .logo {
    margin: 0;
}
.login-panel {
    position: relative;
    min-height: 300px;
    width: 443px;
    margin: 2% auto 0;
    padding-left: 300px;
    background-color: #535151;
    color: #dbdbdb;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}
.login-panel h1,
.login-panel h2,
.login-panel p {
    color: #dbdbdb;
}
.login-panel h1 {
    font-size: 17px;
}
.login-panel h2 {
    font-size: 14px;
    margin: 0 0 35px;
}
.login-panel p {
    font-size: 13px;
    margin: 20px 0;
}
.login-panel-form {
    position: absolute;
    bottom: 0;
    width: 300px;
    height: 100%;
    margin-left: -300px;
    background-color: #3b3b3b;
    border-radius: 10px 0 0 10px;
    -moz-border-radius: 10px 0 0 10px;
    -webkit-border-radius: 10px 0 0 10px;
}
.login-panel form {
    padding: 50px 20px 20px;
    text-align: center;
}
.login-panel .value {
    position: relative;
    display: block;
    width: 209px;
    margin: 0 auto;
}
.login-panel .value input {
    padding: 5px 7px 5px 30px;
    border: 1px solid #ababab;
    border-radius: 2px;
    margin-bottom: -1px;
    width: 170px;
    color: #111;
    font-size: 13px;
}
.login-panel .value::before {
    content: " ";
    position: absolute;
    top: 6px;
    left: 8px;
    width: 15px;
    height: 15px;
    background: #fff url('images/login-form-input.jpg') no-repeat;
}
.login-panel .value.username::before {
    background-position: 0 0;
}
.login-panel .value.password::before {
    background-position: -1px -29px;
}
.login-panel form input[type=submit] {
    display: block;
    margin: 7px auto 20px;
    background-color: #575757;
    font-size: 13px;
    color: #f1f1f1;
    width: 209px;
}
.login-panel form input[type=submit]:hover,
.login-panel form input[type=submit]:active {
    background-color: #747474;
    color: #fff;
}
.login-panel form input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 50px white inset;
    color: #111;
    -webkit-text-fill-color: #111;
}

.login-panel .button {
    display: block;
    margin: 7px auto 30px;
    background-color: #575757;
    font-size: 13px;
    color: #f1f1f1;
    width: 209px;
    padding: 5px 0;
    border-radius: 3px;
}
.login-panel .button:hover,
.login-panel .button:active {
    background-color: #747474;
    color: #fff;
}

.login-panel-inner {
    padding: 38px 50px;
}
.login-slider h1 {
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
}
.login-slider figcaption {
    display: block;
    margin: 10px 0 50px;
    font-size: 16px;
    font-style: italic;
}
.login-slider figcaption a {
    font-size: 15px;
    text-decoration: underline;
}
.login-slider .slick-prev, .login-slider .slick-next {
    top: inherit;
    bottom: -10px;
    z-index: 100;
}
.login-slider .slick-prev {
    left: 0;
}
.login-slider .slick-next {
    right: 0;
}
.login-slider.slick-dotted.slick-slider {
    margin-bottom: 0;
}
.login-message {
    color: #dd5b5b;
}

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
,
(min-device-width: 481px) and (max-device-width: 1024px) 
*/
@media 
only screen and (max-width: 800px) {

    .login-panel {
        width: auto;
        padding: 0;
    }
    .login-panel-inner {
        display: none;
    }
    .login-panel-form {
        position: static;
        width: auto;
        height: 100%;
        margin-left: 0;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
    }
    
    
    body {
      font-size: 14px;
      margin: 0;
    }
    
    a.help-link {
        display: block;
        position: static;
        margin: 40px 50px;
        clear: both;
        font-size: 1em;
        text-align: center;
    }
    
    .tablenav {
        display: none;
    }
    .lang_input_wrap {
        width: 100%;
        margin: 20px 0 0;
    }

	.mobile-hide {display: none !important}
	.mobile-show {display: block !important}
	
	.top-bar,
	.icon-resize-vertical {
	   display: none;
	}
	.header {
	   position: relative;
	   height: 43px;
	   width: auto;
	   padding: 10px 20px;
       overflow: visible;
	}
	.header .page-inner {
        padding: 10px;
    }
	.logo {
        width: 160px;
        height: 27px;
        margin-top: 0;
	}
	
	.alert-send-as {
	   clear: both;
	}

	.alert-form #categories {
		margin: 0 20px;
	}
	
	/* Force table to not be like tables anymore */
	table.rows, table.rows thead, table.rows tbody, table.rows th, table.rows td, table.rows tr { 
		display: block; 
	}
	
	table.form{
        min-width: 0;
        width: 100%;
    }
    table.form td.field,
    table.form td.value {
        display: block;
        width: auto;
    }
    table.rows td:nth-child(1), table.rows td:nth-child(2) {
         width: auto;      
    }
    table.rows td {
        border: none;
    }
    
    fieldset {
        border: none;
        background: none;
        padding: 0;
        margin: -17px;
    }
    legend {
        margin: 0 0 40px;
        width: 100%;
    }
	.alert-form table.form td.field,
	.alert-form table.form td.value {
		width: 100%;
	}
    .alert-form input[type=submit] {
    	display: block;
    	width: 100%;
    	margin: 0 0 15px;
    }
    
    fieldset .value input,
    fieldset .value textarea {
        display: block;
        width: 96%;
        padding: 7px 2%;
        min-width: 0;
        border-color: #666;
    }
    fieldset .value input[type=radio],
    fieldset .value input[type=checkbox] {
        display: inline;
        width: auto;
    }
	
	/* Hide table headers (but not display: none;, for accessibility) */
	.rows thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	.rows tr { 
	   border: 1px solid #ccc; 
	   margin: 0 0 10px;
    }
	.rows th { 
        text-align: left !important;
    }	
	.rows th a { 
        display: none;
    }
	.rows td { 
		/* Behave  like a "row" */
		min-height: 1em;
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%;
		word-break: break-all; 
	}

    table.form td.field {

    }
    table.form td.value {
        padding: 0 0 15px;
    }
    .field_note {
        display: none;
        padding: 0 0 30px;
    }

    label span {
        width: auto;
    }
    .header {
        min-height: 0;
    }
    .header #menu-toggle {
        position: absolute;
        z-index: 999;
        width: 30px;
        height: 30px;
        background: url(../img/menu-icon.png) 0 0 no-repeat;
        background-size: contain;
        top: 16px;
        right: 25px;
    }
    
    .header ul {
        display: none;
        position: absolute;
        z-index: 99;
        top: 100%;
        background: #fff;
        right: 0;
        width: 100%;
    }
    .header ul li {
        display: block;
        text-align: center;
        margin: 0;
    }
    .header li a {
        color: #666;
        font-size: 14px;
        padding: 12px 25px;
        display: block;
        border-bottom: 1px solid #f3f3f3;
    }
    .header li a:hover {
        color: #111;
    }
    .header a.active {
        color: #111;
        text-decoration: none;
    }

    /* subscriptions js tree sticky buttons */
    .stick #alert_group_nav div {
      padding-left: 15px;
    }
}


.userTypeForm {
    margin: 0 0 40px;
}
.userTypeForm strong {
    margin: 10px 0 0;
    display: block;
}
.form-group label {
    min-width: 100px;
    display: inline-block;
}

.canvasjs-chart-credit {
    display: none !important;
}

#filterList {
    margin: 5px 0 15px;
    font-size: 1em;
}
#filterList label {
    display: block;
}
input.filter-manual {
    width: 150px!important;
    min-width: 150px!important;
}
.filter-selection button {
    margin: 0 0 0 5px;
}


#deleteMultipleNav {
    margin: 0 0 40px;
}
tr.selected, tr.selected td {
    background-color: red !important;
    color: #fff !important;
}

#dialog-message,
#draft-dialog-message {
    display: none;
}

.cssTruncate {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deleteControl {
    text-align: right;
    margin: 0;
    position: absolute;
    top: -3px;
    right: 0;
    padding-left: 15px;
    background-color: #fff;
}
.deleteControl.floating {
    position: fixed;
    padding: 20px;
    right: 30px;
    z-index: 1000;
}
.deleteControl button {
    margin: 4px 5px 0 0;
    display: inline-block;
    float: right;
    padding: 3px 8px;
    text-align: center;
    font-size: .95em;
    background-color: #e0426c;
    cursor: pointer;
}
.deleteControl button.deleteCancelButton {
    background-color: #666;
}
.deleteControl button:hover {
    background-color: #fb4a7c;
}
.multiDeleteCheck {
    position: absolute;
    right: 10px;
}
table.rows tr.pending-delete td {
    background-color: #ffb7be;
}


#groupsToggle {
    margin-bottom: 10px;
}
.advanced-field {
    display: none;
}
.controlgroup  {
    border-bottom: 1px solid #ccc;
    margin: 0 0 30px;
}
.controlgroup label.button {
    background: #f4f4f4;
    color: #666;
    border: 1px solid #ccc;
    margin: 0 0 -1px;
    font-size: .95em;
    border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;
}
.controlgroup label.button.active {
    background: transparent;
    color: #000;
    border-bottom: 1px solid #fff;
}
.controlgroup label.button a {
    color: inherit;
}
.controlgroup input {
    display: none;
}

fieldset .value .input_multienum label {
    display: block;
}