.is-invalid~.invalid-feedback {
  display: block;
}

.is-invalid {
  border-color: #dc3545 !important
}

body {
  background: #fafafa;
  color: #333333;
}
.header{
  display:flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-bottom: 1px rgba(22, 49, 136, .2) solid;
  margin-bottom: 30px;
  margin-top: 30px;
}
.center-col .header {
  margin-top: 0px;
}
/* Screws up flash modals. Don't use.
.alert {
  z-index:9999;
  position:absolute;
  top:0;
  background-color:yellow;
  border-radius: 0px 0px 0px 0px;
}*/
h1, h2, h3, h4, h5, h6 {
  color: #444444;
}
.bg-steel {
  background-color: #2E456D;
}

.dropdown button.dropdown-toggle-nav {
  border-radius: 0%;
  background-color: #2E456D;
  border: none;
  height: 100%;
}

.content-section {
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.article-title {
  color: #444444;
}

a.article-title:hover {
  color: #428bca;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
}

.article-img {
  height: 65px;
  width: 65px;
  margin-right: 16px;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e3e3e3
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.side-col a, h3, ul{
  color: black;
  background-color:white;
}
.side-col, .side-col div.content-section, .side-col div.content-section li{
  background-color:rgb(255, 255, 255);
}
.side-col {
  height:100vh;
  padding-top:100px;
  position: fixed;
  left: 0;
  z-index: 1;
  width:250px;
}
.side-col.content-section {
  width:200px;
}
main, body {
  background-color: white;
}
.row2 {
  width:100%;
  display:flex;
  justify-content: space-between;
}
.main-content {
  /*margin-top: 71px;*/
  background-color:white;
  /*display:flex;
  flex-direction: column;
  align-items: center;*/
  /*width:95%;
  margin-left: 20px;
  margin-bottom:30px;*/
}
/*
main, .row {
  margin:0;
  padding:0;
  width: 100%;
}
*/

#form hr {
  color:black;
  border-top:1px solid rgba(0,0,0,.2);
  margin-top: 30px;
  margin-bottom: 30px;
}
.btn-primary {
  background-color: rgb(64, 128, 106);
}
legend {
  padding:10px;
  border-bottom: 1px black solid;
  text-align:center;
}
.row2 {
  display:flex;
  justify-content: space-between;
  margin:0;
}
.w33 {
  width:33%;
}
.page-title {
  font-size: 28px;
  padding-right: 50px;
  text-align: left;
  background-color: transparent !important;
}
/*********************** DashBoard ************************/
.dash-main {
  width:100%;
  display:flex;
  flex-wrap:wrap;
  justify-content: center;
  align-items: center;
}
.dash-messages, .dash-agencies {
  width:500px;
  height: 500px;
  overflow-y: scroll;
  margin:20px;
  padding-left:20px;
  padding-right:20px;
  padding-bottom:20px;
  background-color:white;
}
.dash-cases {
  width:1040px;
  height: 500px;
  overflow-y: scroll;
  margin:20px;
  padding:20px;
  background-color:white;
}
.dash-gen-row {
  height: 50px;
  display:flex;
  align-items: center;
  justify-content: space-between;
}


/************************* Modal **************************/

.modal-head h4 {
  color:white;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  /*
  width:30px;
  height:30px;
  */
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  background-color:rgba(131, 151, 185, 0.1);
}
.modal-header span {
  margin-left: -15px;
}
/************************** Agency/Case Content **************************/
#create-agency-btn, #create-case-btn {
  margin:10px;
}
.agency-list-wrapper, .case-list-wrapper {
  background-color:white;
  width:100%;
}
.agency-list:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.102);
}
.agency-list:nth-child(even) {
  background-color: rgba(0, 0, 0, 0);
}
.agency-list, .case-list {
  padding:5px;
  width:100%;
  display:flex;
  justify-content: space-between;
  align-items: center;
}
.agency-list-item,.case-list-item {
  width: 20%;
}
.agencies-header, .cases-header, .messages-header{
  width:100%;
  text-align: center;
  text-decoration: underline;
  padding-bottom:20px;
  padding-top:0;
  margin-top:0;
  position:sticky; 
  top:0; 
  background-color:rgb(255, 255, 255);
  color:#444444;
}
.agency-viewer {
  border-radius: 10px 10px 10px 10px;
  background-color: white;
  padding-top:20px;
  width: 80%;
  display: flex;
}
.agency-section {
  margin: 20px;
  padding: 10px;
  width: 45%;
}
.section-title {
  width: 100%;
  text-align: center;
  font-size: 24px;
  background-color: #2E456D;
  margin:0;
  padding:0;
  color: white;
  margin-bottom: 10px;
  border-radius: 10px 10px 10px 10px;

}
.section-content {
  width: 100%;
  text-align: center;
  font-size: 20px;
}
.agency-pic {
  height: 72px;
  width: 72px;
  border-radius: 50%;
  background-color: rgba(81, 111, 144, .8);
  color: white;
  font-size: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/************************** Form View **************************/

.age-range-input-group {
  width: 43%;
}

.bmi-range-input-group {
  width: 60%;
}

.form-list {
  background-color: white;
  margin: 20px;
  width: 100%;
}
.form-list-row {
  width: 100%;
  padding: 15px;
  border-bottom: 1px rgba(0, 0, 0, .1) solid
}
.form-list-row-head {
  margin: 0;
  width: 100%;
  background-color: rgba(131, 151, 185, 0.1);
  padding:15px;
  text-transform: uppercase;
  font-size: 13px;
}
.form-list-item {
  text-align:left;
  overflow: hidden;
}
.form-list-item a {
  color:#0091ae;
}
.form-list-item-btn {
  width:12%;
  text-align:center;
  overflow: hidden;
}
.new-form {
  border-radius: 10px 10px 10px 10px;
  background-color: white;
  padding-top:20px;
  max-height:140px;
  min-height: 140px;
  width: 80%;
}
.form-question {
  font-size: 20px;
  margin:10px;
}
.form-question small {
  font-size: 12px;
}
.form-input {
  width: 90%;
  border:none;
  border-bottom: 2px black solid;
  margin: 10px;
  margin-left: 20px;
  font-size: 20px;
}
.form-input:focus {
  outline:none;
  border-bottom: 2px rgb(0, 151, 25) solid;
}
.radio-input {
  width: 80%;
  margin: 10px;
  margin-left: 35px;
}
.radio-input input {
  margin: 5px;
}
.form-title {
  font-size: 32px;
  background-color:#2E456D;
  color: white;
}
.form-description {
  font-size: 20px;
  background-color:#2E456D;
  color: white;
}
.form-title input {
  color: white;
}
.form-legend {
  width:100%;
  text-align: center;
  margin:0;
  padding:0;
  background-color:#2E456D;
  color: white;
  padding:10px;
}
.form-viewer {
  padding:0;
}
.form-content {
  padding:25px;
  padding-top: 15px;
  padding-bottom:15px;
}
textarea:focus {
  min-height: 100px;
  border: 1px rgb(0, 151, 25) solid;
}
.form-section-header {
  width:100%;
  text-align: center;
  text-decoration: underline;
  font-size: 30px;
  letter-spacing: 1px;
  margin-top: 20px;
  margin-bottom: 40px;
}
.child {
  padding-left: 6% !important ;
  font-size:80%;
}

/************************** User Info **************************/
.user-info-wrapper {
  width: 100%;
  background-color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 30px;
  padding-top: none;
  margin-top: -30px;
  align-items: flex-start;
  border: 1px rgba(0, 0, 0, .2) solid;
  border-top: none;
}
.user-info-card {
  width: 80%;
  margin-top: 10px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  -moz-box-shadow:    1px 1px 2px 3px rgb(202, 202, 202);
  -webkit-box-shadow: 1px 1px 2px 3px rgb(202, 202, 202);
  box-shadow:         1px 1px 2px 3px rgb(202, 202, 202);
}
.user-info-title {
  background-color: #2E456D;
  color: white;
  width: 100%;
  font-size: 24px;
  text-align: left;
  margin-bottom: 15px;
  padding-left: 10px;
  padding-right: 10px;
}
.user-info {
  /* margin: 10px; */
  display:flex;
  justify-content: space-between;
  flex-wrap:wrap;
  width: 100%;
  margin-bottom: 14px;
  min-height: 50px;
  border-bottom: 1px rgba(0, 0, 0, .1) solid;
  align-items: center;
}
.info-title {
  font-weight: bold;
  width:100%;
  margin-bottom: 10px;
  padding-left: 10px;
}
.info-value {
  width: 100%;
  border:none;
  margin-bottom: 10px;
  margin-left: 40px;
  text-align: left;
}
.info-value:focus {
  outline:none;
  border-bottom: 2px rgb(0, 151, 25) solid;
}
.user-form-radio {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  padding: 0;
  margin-left: 40px;
}
.upcoming-events{
  width: 80%;
  padding: 10px;
}
.event-title {
  background-color: rgba(173, 216, 230, .5);
  font-size: 24px;
  color: rgb(8, 8, 83);
  margin: -10px;
  margin-bottom: 5px;
  padding: 5px;
  padding-left: 20px;
  font-style: bold;
}
.event-attribute {
  font-size: 12px;
  color: rgb(128, 128, 128, .8)
}
.event-description-item {
  margin: 10px;
  margin-left: 15px;
}

/****************** Messaging *****************/
.messaging-box {
  width: 60%;
  min-height: 600px;
  box-shadow: 2px 2px 4px 4px rgba(0, 0, 0, .4);
}
.messages {
  width: 100%;
  height: 500px;
  overflow-y: scroll;
}
.write-message {
  width: 100%;
  padding: 20px;
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
}
.message {
  width: 80%;
  height: 70px;
}
.message-holder:focus {
  width: 80%;
  height: 70px;
  min-height: 70px;
  max-height: 70px;
}
.send-msg-btn {
  width: 19%;
  height: 100%;
}
.message-bubble {
  padding: 20px;
  background-color: rgb(19, 74, 119);
  max-width: 400px;
  margin: 10px;
  margin-bottom: 0px;
  border-radius: 0px 20px 20px 20px;
  color: white;
}
.message-bubble-self {
  padding: 20px;
  background-color: rgb(116, 131, 143);
  width: 90%;
  margin: 10px;
  margin-bottom: 0px;
  border-radius: 20px 0px 20px 20px;
  color: white;
  float: right;
} 
/************************ Contacts Page *****************************/

.badge-new {
  color: #ff6494;
  background-color: transparent;
  border: 1px solid #ff6494;
  padding: 6px;
  width: 5rem;
  font-size: 13px;
  font-weight: lighter;
}




.left-col {
  position: fixed;
  left: 0;
  height: 100%;
  width: 380px;
  overflow: scroll;
  padding-bottom: 50px;
  background-color: white;
}

.left-col-top {
  height: 250px;
  width: 100%;
  border-bottom: 1px rgba(22, 49, 136, .2) solid;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.right-col {
  position: fixed;
  right: 0;
  height: 100%;
  width: 380px;
  overflow: scroll;
  padding-bottom: 50px;
  background-color: white;
}

.right-col-div {
  height: 150px;
  width: 100%;
  border-bottom: 1px rgba(22, 49, 136, .2) solid;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

.right-col-div h5 {
  margin-bottom: 20px;
  color: #0091ae;
}

.right-col-div a {
  color: rgb(56, 85, 116);
}

.center-col {
  background-color: rgba(125, 166, 209, 0.1);
  width: 100%;
  height: 100%;
  position: fixed;
  left: 380px;
  margin-right: 380px;
  overflow: scroll;
  padding-left: 20px;
}

.center-col .header {
  width: 100%;
  max-width: 100%;
  margin-left: 20px;
}

.activity-feed {
  text-align: left;
  padding: 30px;
  padding-top: 0px;
  padding-bottom: 80px;
}

.activity {
  width: 45%;
  background-color: white;
  border-radius: 4px 4px 4px 4px;
  padding: 20px;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, .1);
  margin-bottom: 40px;
}

.activity-top {
  display: flex;
  justify-content: space-between;
}

.activity-type i {
  color: rgba(81, 111, 144, .9);
  margin-right: 20px;
}

.activity-type {
  font-size: 18px;
}

.activity-description {
  margin-left: 36px;
  font-size: 14px;
  white-space: pre-line;
}

button.right-col-toggle {
  width: 100%;
  height: 60px;
  background-color: white;
  border: none;
  border-bottom: 1px rgba(22, 49, 136, .2) solid;
  text-align: left;
  font-size: 20px;
}

.header h4 {
  color: rgb(81, 111, 144);
}

.contact-pic {
  height: 72px;
  width: 72px;
  border-radius: 50%;
  background-color: rgba(81, 111, 144, .8);
  color: white;
  font-size: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-name {
  width: 100%;
  text-align: center;
  font-size: 24px;
  /* font-weight: bold;  */
}

.contact-email {
  font-size: 14px;
}

.icon-row {
  display: flex;
  margin-top: 20px;
}

.icon {
  background-color: rgba(81, 111, 144, .2);
  border-radius: 50%;
  height: 32px;
  width: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px;
  padding: 17px;
  color: rgb(81, 111, 144);
  cursor: pointer;
}

.icon-tag {
  font-size: 10px;
}

.info-title {
  font-size: 12px;
  font-weight: normal;
}

.info-value {
  margin-left: 10px;
  border-bottom: 1px rgba(0, 0, 0, .3) solid;
}

.info-value:hover {
  outline: none;
  border-bottom: 2px rgba(0, 151, 25) solid;
}

.contact-info-wrapper h6 {
  margin-bottom: 20px;
  font-size: 18px;
}

.contact-info-wrapper .user-info {
  height: 65px;
}

.user-info {
  border-bottom: none;
}

#note {
  min-height: 150px;
}

.back-to-btn {
  color: black;
  background-color: #e5f5f8;
  border-color: #00a4bd;
  border-style: solid;
  border-width: 1px 1px 1px 0;
  border-radius: 0px 10px 10px 0px !important;
}

.popover-content {
  background-color: rgb(46, 69, 109);
  color: #FFFFFF;
  padding: 10px;
}

/* Style the tab */
.tab {
  overflow: hidden;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px;
  transition: 0.3s;
  font-size: 17px;
  border-radius: 0% 0% 0% 0%;
  min-width: 125px;
  height: 70px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Create an active/current tablink class */
.tab button.active {
  border-bottom: 4px solid #292A3A;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
}

.active {
  display: block;
}

.form-list-btn.active {
  display: inline;
}

/************************ Generic Form Page *****************************/
.form-wrapper {
  margin-top: 20px;
  padding:0;
}
.form-heading {
  padding: 10px;
  margin: 0;
  background-color: rgb(81, 111, 144);
  width: 100%;
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: 1px;
  color: white;
}
.form-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

@media only screen and (max-width: 600px) {
  .w50 {
    width:100%;
  }
  .w33 {
    width:100%;
  }
  .mobile-hide {
    display:none;
    height:0;
    width:0;
  }
  .side-col {
    position: fixed;
    bottom: 0;
    width: 100%;
    margin:0;
    padding:0;
    z-index: 2;
    height: 50px;
  }
  .side-col .list-group {
    display:flex;
    flex-direction: row;
    justify-content: space-evenly;
    width:100%;
    position: fixed;
    bottom: 0;
    width: 100%;
  }
  .side-col .list-group-item {
    width: 16%;
  }
  .content-section {
    width:100%;
    padding:0;
  }
  .main-content {
    padding-bottom:20px;
    padding-left:10px;
    padding-right:10px;
    width:100%;
  }
  .modal-content {
    width:95%;
  }
  .agency-list-item {
    width: 50%;
  }
}


/****************************
Checkbox Slider
****************************/
.switch {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 22px;
}

/* Hide default HTML checkbox */
.switch input {
  display: none;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #7578E1;
}

input:focus + .slider {
  -webkit-box-shadow: 0 0 1px #7578E1;
          box-shadow: 0 0 1px #7578E1;
}

input:checked + .slider:before {
  -webkit-transform: translateX(14px);
  -ms-transform: translateX(14px);
  transform: translateX(14px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.switch-small {
  width: 25px;
  height: 13px;
  vertical-align: middle;
}

.switch-small .slider:before {
    height: 15px;
    width: 15px;
    left: 0px;
    bottom: -1px;
    border: 1px solid #ddd
}

.switch-small input:checked + .slider:before {
  -webkit-transform: translateX(11px);
  -ms-transform: translateX(11px);
  transform: translateX(11px);
}

/********************
Code Tag
********************/
code {
  display: block;
  padding: 1rem;
  background-color: #ededed;
}


.text-muted {
  color: rgba(81, 111, 144, .8);
}


/*********************
Datepicker
*********************/
.fuelux .dropdown-menu {
  background-color: #fff;
}



/*********************
Contact Info - Intake
*********************/
.step-bar {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background-color: #C7C7D6;
  margin-right: 4px;
}

/***************
Popovers
***************/
i[data-toggle="popover"] {
  cursor: pointer;
}

.cursor-default {
  cursor: default;
}


/************
Icons
************/

.edit-document,
.delete-document {
  cursor: pointer;
}

.edit-document:hover {
  color: #7578E1;
}

.edit-log,
.delete-log {
  cursor: pointer;
}

.edit-log:hover {
  color: #7578E1;
}

.delete-document:hover {
  color: red;
}

.page-nav {
  width: 50%;
  margin: 0 auto;
}

.page-nav a {
  text-decoration: none;
}
.page-nav a.active {
  display: inline-block;
  font-weight: bold;
  padding: .25rem .35rem;
  border: 1px solid #0091AE;
  border-radius: .25rem;
}

.page-nav a.disabled {
  color: #BCBBCF!important; /* I don't want to do this, but have to because .list-page a --> color is !important */
}

/* Do not carry these (bg-X) over to new CSS */
.bg-success {
  background-color: #7578E1!important;
}

.bg-danger {
  background-color: rgb(64, 128, 106)!important;
}

.bg-success .modal-title,
.bg-success .close,
.bg-danger .modal-title,
.bg-danger .close {
  color: #fff!important;
  opacity: 1;
}

/**************
Icon
**************/
.reminder-icon {
  cursor: pointer;
  font-size: 17px;
  color:  #0091AE;
}

.reminder-icon:hover {
  /* color: green; */
  color: rgb(141, 141, 224);
}

.toggle-task {
  cursor: pointer;
}

.contract-icon {
  cursor: pointer;
  font-size: 17px;
}


/***********
Nav Pills
***********/
.nav-pills .nav-link.active, .nav-pills .show>.nav-link .custom-nav-pill {
  color: #fff;
  background-color: #7578E1;
}

.custom-nav-pill {
  color: rgb(110, 114, 224);
}

.btn .fai {
  margin-right: .5rem;
}

.form-group.check-group {
  display: flex;
  align-items: center;
}
.form-group.check-group label {
  margin-left: .25rem;
  margin-bottom: 0;
  line-height: 1;
}
.form-group.check-group .form-control {
  width: auto;
}

.add-assigned-form:hover {
  color: #6c757d;
}
#profile-accordion .card-header:not(.collapsed) .fa-chevron-right{
  transform: rotate(90deg);
}
#profile-accordion .card-header .fa-chevron-right{
  margin-left: .35rem;
  transition: transform .25s;
}
.progress-bar {
  background-color: #7578e1 !important;
}
        
.select-box.form-control.is-invalid, .form-control.display-input.is-invalid, .was-validated .form-control:invalid{
  background-position: right calc(1.3rem) center;
}
