body, .ui-widget {
  color: #585858;
  font-family: 'Montserrat', helvetica, ariel, sans-serif;
}

a, a:visited, a:active, a:link, a:hover, a i.far, a i.fas {
  color: #10b3f0;
  /*color: #00b9b0;*/
  font-weight: 600;
}
#smsinbox {
  border: 4px solid #10b3f0;
}
#smsinbox_toggle {
  background: #10b3f0;
  color: #fff;
}

.btn {
  margin-bottom: 10px;
  white-space: normal;
}

.btn-primary {
  background: #10b3f0;
  /*background: #00b9b0;*/
  border: 0;
  color: #fff !important;
  margin-bottom: 10px;
}
.btn-primary:hover {
  background: #0080bd;
  /*background: #00867d;*/
}
a.btn-secondary {
  color: #fff;
  margin-bottom: 10px;
}

.highlight {
  background: #f8f8f8;
}
.orange {
  background: #e87722;
  color: #fff;
}
a.orange {
  color: #fff;
}
.orangelight {
  background: #ffdd88;
}
a.normalweight, i.normalweight, .normalweight {
  font-weight: 400;
}

.bordertop {
  margin-top: 15px;
  border-top: 1px solid #e87722;
  padding-top: 20px;
}

.ui-widget a {
  font-weight: 400;
}
.ui-widget-content a.ui-state-active a, .ui-widget-content a.ui-state-active:hover {
  text-decoration: none !important;
  color: #000;
}


.ui-tabs.ui-widget.ui-widget-content {
  border: 0;
}
.ui-tabs .ui-tabs-panel {
  display: block;
  border: 1px solid #e87722;
  border-radius: 3px;
}

.ui-widget-content li.ui-tabs-tab {
  color: #585858;
  border-color: transparent;
  background: #ffdd88;
  margin-right: 15px;
}
.ui-widget-content li.ui-tabs-tab a {
  cursor: pointer !important;
  color: #000;
}

.ui-widget-content li.ui-state-active {
  background: #e87722;
}
.ui-widget-content li.ui-state-active a {
  color: #fff;
}

.ui-widget-content.ui-autocomplete a.ui-state-active, .ui-widget-content.ui-autocomplete a.ui-state-active:hover {
  background: #ffdd88;
  color: #000;
  border: 1px solid #ffdd88;
}

.sidebar-sticky {
  padding: 65px 0;
  height: 100vh;
}

.alert {
  text-align: center;
}


.navbar {
  background: #e87722;
}
.navbar-brand {
  /*padding: 5px 30px;*/
  padding: 5px;
  font-size: 1.2em;
  text-transform: uppercase;
  margin-right: 50px;
}
.navbar-brand a, .navbar-brand a:hover {
  color: #fff;
}
.navbar-brand select, #campaign_switch, .language_switch {
  font-size: 0.8em;
  /*background: #e87722;
  background: transparent;
  color: #fff;*/
  background: #EE995A;
  color: #fff;
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px solid #fff;
  margin-top: 10px;
}
#campaign_switch_fixed {
  margin-top: 10px;
  padding: 1px 8px;
  color: #fff;
}
.navbar-dark .navbar-toggler {
  border-color: #fff;
  margin: 5px;
}
.navbar-toggler-icon {
  width: 1em;
  height: 1em;
}
.navbar-dark .navbar-nav a.nav-link, .navbar-dark .navbar-nav a.nav-link:hover, .navbar-dark .navbar-nav a.nav-link:active {
  color: #fff;
}
.navbar a:hover {
  text-decoration: underline;
}
li.nav-item {
  padding-left: 20px;
  padding-right: 20px;
  margin-right: 0px;
}
/*.nav-link {
  font-size: 0.9em;
}*/
.nav-link i {
  color: #666;
  width: 1em;
  margin-right: 1em;
}
#nav-line-one {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding-bottom: 10px;
  /*background: rgba(255, 255, 255, 0.25);*/
  background: #EE995A;
}
#nav-line-one select {
  width: 80%;
}
#volunteer_search_group {
  margin-top: 6px;
  width: 450px;
  max-width: 80%;
  margin-right: 25px;
}
#volunteer_search_group .input-group-text {
  border: 1px solid #aaa;
}
#volunteer_search {
  padding: 5px;
  font-size: 0.8em;
}
.navsettings {
  margin-right: 25px;
  margin-top: 10px;
}
.navsettings > a, .navsettings > a:hover {
  color: #fff;
  text-decoration: none;
}
.navsettings .dropdown-menu a, .navsettings .dropdown-menu a:hover {
  /*color: inherit;*/
}
.navsettings a i.fas {
  color: #fff;
  font-size: 1.5em;
}

i.far, i.fas {
  padding-right: 10px;
}
i.far, a.tag i.far {
  color: #444;
}
i.fas, a.tag i.fas {
  color: #666;
}
a i.far, a i.fas {
  padding-right: 5px;
}
i.far.tagicon, i.fas.tagicon, a i.far.tagicon, a i.fas.tagicon {
  padding-right: 0;
}
i.tagicon ~ i.shifticon, i.shifticon {
  padding-left: 5px;
}
a.canceled ~ i.shifticon {
  color: inherit !important;
}

.iconpicker i.far, .iconpicker i.fas {
  color: #666;
  padding-right: 0;
}

.nav-link.sublink {
  margin: -0.2rem 0 0.4em 4rem;
  padding: 0.1rem 0 0 0;
  font-size: 0.8em;
  /*max-height: 0;
  transition: max-height 2s;
  overflow: hidden;*/
}
.nav-item.active {
  font-weight: bold;
  background: #fff;
}
.nav-item.active .nav-link.sublink, .nav-item:hover .nav-link.sublink {
  max-height: 100%;
}
.nav-item.active .nav-link.sublink {
  transition: none;
  font-weight: normal;
}

main {
  padding-top: 45px;
}

hr {
  margin-top: 20px;
  margin-bottom: 30px;
}

.form-horizontal .form-group {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.form-horizontal .form-group label {
  text-align: right;
}
.form-horizontal .form-group select {
  width: auto;
}
.toplabel {
  font-size: 0.7em;
  text-transform: uppercase;
  padding-left: 5px;
  margin-bottom: 0;
}
input[type=radio] ~ .toplabel {
  position: relative;
  top: -3px;
}
input[type=text], input[type=email], input[type=password], select, textarea {
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: none;
  border: 1px solid #aaa;
}
select {
  background: #eee;
}


  #campaign_edit_form label {
    float: left;
    width: 25%;
    text-align: right;
    padding-right: 25px;
    padding-top: 2px;
    margin-bottom: 15px;
  }
  #campaign_edit_form input {
    float: left;
    max-width: 70%;
  }
  #campaign_edit_form p, #campaign_edit_form ul.errorlist {
    clear: left;
  }
  #campaign_edit_form ul.errorlist {
    margin-left: 25%;
    padding-left: 0;
    margin-bottom: 0.5em;
  }
  #campaign_edit_form ul.errorlist li {
    list-style-type: none;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    border-radius: .25rem;
    display: inline-block;
    font-size: 0.9em;
    padding: .5em 1em;
  }
  #campaign_edit_form .helptext {
    display: block;
    clear: left;
    margin-left: 25%;
    font-size: 0.8em;
    font-style: italic;
  }
  input[type=checkbox] {
    position: relative;
    top: 5px;
  }
  input[type=checkbox] ~ .helptext {
    position: relative;
    top: -10px;
  }
    


.iconrow {
  padding-bottom: 20px;
}
.iconrow.short {
  padding-bottom: 5px;
}
.iconrow div:first-child {
  padding: 2px 25px 0px 15px;
  text-align: right;
}

.filter {
  background: #eee;
  padding: 15px;
  margin: 15px 15px 15px 0;
}
.filter .or {
  padding-left: 10px;
}

label {
  vertical-align: top;
}

#cboxLoadedContent {
  padding: 25px;
}
textarea {
  width: 100%;
  height: 150px;
}


.preferred_contact {
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.6em;
  background: #e0e0e0;
  text-transform: uppercase;
  color: #666;
  position: relative;
  top: -3px;
  margin-left: 5px;
}
span.on {
  color: green;
}
span.off {
  color: red;
}

.ui-front {
  z-index: 999999;
}
.active-followup, .passive-followup {
  padding: 2px 8px;
  /*margin-left: 3px;*/
  font-size: 0.7em;
  text-decoration: none !important;
}
.active-followup {
  color: #fff;
  background: #10b3f0;
  font-weight: bold;
}
.passive-followup {
  border: 1px solid #fff;
  color: #fff;
}
.followup_padding {
  display: inline-block !important;
}

.vol_search_ac a {
  display: block;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
.ac_item {
}
.ac_contact {
  display: block;
  font-size: 0.8em;
}

#ui-datepicker-div {
  z-index: 12000 !important;
}


.buttonbox {
  display: block;
  border-radius: 5px;
  border: 1px solid #e87722;
  text-decoration: none !important;
  height: 100%;
  padding-bottom: 20px;
  position: relative;
  font-weight: normal !important;
}
.buttonbox:hover {
  background: #eee;
}
.buttonbox h2 {
  background: #e87722;
  padding: 15px;
  color: #fff;
  font-size: 1.3em;
}
.buttonbox > div {
  padding: 15px;
  color: #585858;
}
.buttonbox strong {
  font-weight: 800;
  color: #222;
}
.buttonbox i.fas {
  float: right;
  color: #e87722;
  font-size: 2.5em;
  margin-top: -10px;
}
.fakelink {
  color: #10b3f0;
  position: absolute;
  bottom: 15px;
  left: 15px;
  font-weight: bold;
}
.buttonbox:hover .fakelink {
  text-decoration: underline;
}

.greybox {
  border: 1px solid #333;
  background: #eee;
  padding: 15px;
}


#sms_inbox_loaded {
  height: 100%;
  position: relative;
  background: #deeff5;
  padding-bottom: 125px;
}
#sms_inbox_loaded_list {
  height: 100%;
  overflow-y: auto;
}
.sms {
  border-radius: 5px;
  border: 1px solid #000;
  background: #fff;
  padding: 5px 10px;
  font-size: 0.9em;
  margin: 10px;
}
.sms.incoming {
  margin-right: 33%;
}
.sms.outgoing {
  margin-left: 33%;
  text-align: right;
}
.sms.unread {
  border-color: #e87722;
}
.sms .timestamp {
  font-size: 0.8em;
  font-style: italic;
  padding-bottom: 5px;
}
.sms .mark_unread {
  float: right;
  color: #e87722;
}
#sms_inbox_loaded_form {
  padding: 10px 25px 0 0;
  font-size: 0.8em;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #deeff5;
  border-top: 1px solid #aaa;
  overflow: hidden;
}
#sms_inbox_loaded textarea {
  margin-left: 25%;
  height: 75px;
  width: 75%;
}
#sms_inbox_loaded input {
  font-size: 0.8em;
  float: right;
  position: relative;
}

.inbox_contacts {
  border-right: 2px solid #aaa;
}
.inbox_contacts, .inbox_message_pane {
  overflow-y: auto;
}
.inbox_contact {
  display: block;
  border-bottom: 1px solid #ccc;
  padding: 5px 5px 10px 5px;
  color: #585858 !important;
}
.inbox_contact:hover {
  text-decoration: none;
  background: #eee;
  border-radius: 5px;
}
.inbox_contact.highlight {
  color: #e87722 !important;
  border: 1px solid #e87722;
  border-radius: 5px;
}

.inbox_contact_lastmsg {
  font-size: 0.8em;
  font-style: italic;
}
i.dot {
  height: 10px;
  width: 10px;
  background-color: #e87722;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
}


.rsvp_box {
  margin: 50px auto;
  max-width: 750px;
  background: #eee;
  height: auto;
}
#rsvp_box_thankyou {
  display: none;
  margin-bottom: 250px;
}
.rsvp_box .rsvp_error, .rsvp_box .rsvp_error_location {
  display: none;
  color: #ff0000;
  font-style: italic;
  text-align: center;
  padding: 10px;
}
.rsvp_box .rsvp_inner {
  padding: 15px;
}
#rsvp_form {
  line-height: 1;
  padding-top: 20px;
}
#rsvp_box .rsvp_shift {
  padding-top: 5px;
  font-weight: bold;
}
#rsvp_box label {
  font-size: 0.7em;
  text-transform: uppercase;
  margin-bottom: 0;
}
#rsvp_box input, #rsvp_box select {
  width: 100%;
  margin-bottom: 15px;
}
#rsvp_box select {
  background: #fff;
}
#rsvp_box input[type=submit] {
  width: auto;
  font-weight: bold;
}


.tag_list a.tag, .tag_list a.tag:hover, span.tag {
  background: #ee995a;
  border: 1px solid #ee995a;
  color: #fff;
}
.tag_list a.tag:hover {
  background: #ffb374;
}
span.tag {
  border-radius: 3px;
  padding: 6px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.shiftlocation {
  font-size: 0.7em;
  color: #666;
  padding-left: 2px;
}
.privateshift:before, .noreminders:before {
  font-size: 0.7em;
  color: #888;
  margin-left: 3px;
  position: relative;
  top: -3px;
}
i.privateshift, i.noreminders {
  padding-right: 0;
}
.shiftlabel.active {
  font-weight: bold;
}
.filtersidebar div.ui-datepicker {
  width: 100%;
  font-size:10px;
}
a.canceled {
  text-decoration: line-through;
  color: #999;
}
.shiftvolunteers {
  position: relative;
}
#volunteer_popup {
  position: absolute;
  border: 1px solid #bbb;
  border-radius: 5px;
  /*padding: 10px 60px 20px 15px;*/
  padding: 20px;
  background: #eee;
  box-shadow: 6px 0px 16px #666;
  font-size: 0.9em;
  z-index: 100;
}
#volunteer_popup:after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 10px 15px 10px 0;
  border-color: transparent #eee;
  display: block;
  width: 0;
  z-index: 1;
  left: -15px;
  top: 18px;
}
#volunteer_popup:before {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 10px 15px 10px 0;
  border-color: transparent #7F7F7F;
  display: block;
  width: 0;
  z-index: 0;
  left: -16px;
  top: 18px;
}    

/*
#volunteer_popup:after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 0;
  border: 12px solid transparent;
  border-right-color: #ccc;
  border-left: 0;
  margin-top: -12px;
  margin-left: -12px;
}
*/

a.shiftconfirm:before, .confirmedicon:before {
  font-family: "Font Awesome 5 Free";
  content: "\f058";
  font-weight: 900;
  color: green;
  font-size: 0.8em;
  padding-right: 5px;
}
a.shiftcancel:before, .cancelledicon:before {
  font-family: "Font Awesome 5 Free";
  content: "\f057";
  font-weight: 900;
  color: red;
  font-size: 0.8em;
  padding-right: 5px;
}
a.shiftconfirm.noicon:before, a.shiftcancel.noicon:before {
  display: none;
}
.confirmedicon.leftpad:before, .cancelledicon.leftpad:before {
  padding-left: 3px;
  padding-right: 2px;
}
a.shiftoutcomereset {
  font-size: 0.8em;
  margin-left: 10px;
}

.editshift {
  float: left;
  width: 120px;
  height: 1em;
  white-space: nowrap;
}
.editshift > a, .contactvolunteers > a {
  display: none;
}
.volunteershift:hover .editshift > a, .volunteershift:hover .contactvolunteers > a {
  display: inline;
}

a.floaticon {
  display: block;
  max-width: 50px;
  float: right;
  padding-left: 5px;
  padding-bottom: 5px;
  text-align: right;
  text-decoration: none;
}
