/* PUSH BOOTSTRAP FIXES */
.navbar-collapse {
    border: none !important;
}

@media (min-width:480px) {
    .col-lg-4 {
        /*width: 33.33333333% !important;*/
        float: left !important;
    }

    .col-md-4 {
        float: left;
    }
}

@media (max-width:768px) {
    #navbar .row.half {
        width:auto !important;
    }

    .navbar-close button {
        float: none;
        color: #ffffff;
        padding: 6px 17px;
    }

    #page-wrapper {
        margin: 20px 0 0 0 !important;
    }

    .navbar-brand p {
        padding-left: 3em !important;
        margin: 0;
        padding-top: 0.15em !important;
    }

    .top-navbar .navbar-brand {
        padding: 0px;
    }

    .navbar-brand img {
        height: 50px;
    }

    .navbar-collapse {
        width: auto;
        border-top: 0;
        box-shadow: none;
    }

    .navbar-header {
        float: left;
    }

    .navbar-toggle {
        position: relative;
        float: left;
        padding: 9px 10px;
        margin-top: 8px;
        margin-left: 15px;
        margin-bottom: 8px;
        background-color: transparent;
        background-image: none;
        border: 1px solid transparent;
        border-radius: 4px;
    }

    .navbar-top-links {
        float: none;
    }

    .top-navbar .dropdown-menu {
        right: 0;
        left: auto;
    }

    .navbar-side {
        margin: 0;
        z-index: 999;
        background-color: #003c56;
        width: 297px;
        height: 100% !important;
        position: absolute;
        top: 0;
        overflow: scroll;
    }
}

#wrapper {
    background-color: #003c56;
}

@media (min-width:768px) {
    #page-wrapper {
        margin: 20px 0 0 297px !important;
        background: #F3F5F9;
    }
}

.panel,
.panel-default>.panel-heading {
    background-color: unset;
}

.top-navbar .navbar-brand {
    width: 300px;
    font-weight: 100;
    /*float: none;*/
}

.top-navbar,
.navbar-header {
    background: #003c56;
}

@media (min-width: 768px) {
    .navbar {
        position: unset;
    }
}

@media screen and (min-width: 768px) {
    .top-navbar .navbar-brand {
        width: 300px;
    }
}

.navbar-brand p {
    padding-top: .75em;
    padding-left: 5em;
    font-size: 20px;
    font-weight: 100;
}

.navbar-brand img {
    float: left;
}

#create-link,
.btn-default,
.btn-submit,
.btn-highlight,
#form-update-panel .cancel-button,
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
    background: #01aef0;
    color: #ffffff;
    font-weight: bold;
}

.btn-create {
    width: 14.5em;
    background-color: #003c56;
}

.top-navbar .nav>li>a:hover,
.top-navbar .nav>li>a:focus {
    background-color: #757575;
}

.object_list thead tr {
    background-color: #01aef0;
    color: #ffffff;
}

.top-navbar .navbar-brand {}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    background-color: #01aef0;
    color: #ffffff;
}

.form-control {
    border: 1px solid #01aef0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    transition: none;
    margin-top: 0 !important;
    width: 100%;
}

.form-panel label,
#form-update-panel label,
#form-panel .sub-form label,
#form-update-panel .sub-form label {
    float: unset;
    text-transform: capitalize;
    font-size: small;
    padding-top: 1em;
}

#form-panel p input[type="text"],
#form-panel p input[type="tel"],
select,
textarea {
    width: 350px;
    color: #01aef0;
    padding: 0.5em;
}

#form-panel p input[type="time"],
#form-update-panel p input[type="time"] {
    width: auto;
}

#form-panel,
#form-update-panel {
    border: none !important;
    padding-left: 4em;
}

.navbar {
    border-bottom: none !important;
}

@media (min-width: 768px) {
    #page-wrapper {
        margin: 50px 0 0 297px;
        padding: 0 13px;
        min-height: 1200px;
    }
}

p label {
    width: fit-content;
    padding-right: 1em;
    text-transform: capitalize;
}

#form-panel input[type="checkbox"],
#form-update-panel input[type="checkbox"] {
    margin-top: 0.2em !important;
    margin-right: 1em;
    margin-left: 0.5em;
    margin-bottom: unset;
    float: left;
    transform: scale(2);
    display: unset !important;
    width: auto;
}

#form-update-panel input[type="file"],
#form-panel input[type="file"] {
    float: none;
}

#form-panel label,
#form-update-panel label {
    color: #003c56;
    width: 100%;
    margin-top: 0;
}

p textarea {
    height: 200px;
}

p input,
select,
textarea {
    border: 1px solid #01aef0;
    border-radius: unset !important;
}

.message-filter-form input[type="text"],
input[type="date"],
select {
    border: 1px solid #01aef0;
    border-radius: unset !important;
    height: 37px;
}

#form-panel input[type="checkbox"]:checked {
    filter: saturate(0%) grayscale(100%) brightness(69%) contrast(1000%);
}

th.active {
    background-color: #01aef0 !important;
}

.message-filter-form label {
    margin-top: 8px;
    color: #01aef0;
    text-transform: capitalize;
}

.message-filter-form input[type="checkbox"] {
    transform: scale(1.5);
    height: 2.5em;
}

#filter-button,
.message-filter-form label {
    margin-left: 1em;
}

.object_list {
    border: unset;
}

.object_list thead tr th,
.object_list tbody tr td {
    border: 2px solid #01aef0;
}

.object_list,
.form-control,
input[type="submit"],
#create-link {
    box-shadow: 0 0 1px 1px #01AEF066;
}

.btn {
    text-transform: uppercase;
    border: none;
    padding: 15px 25px 15px 25px;
}

#create-link {
    border: unset;
}

#filter-button {
    border-radius: 10px;
    padding-left: 2em;
    padding-right: 2em;
}

.btn-highlight:hover {
    color: #ffffff;
}

.center-columns-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column
}

h1 {
    color: black;
    font-weight: bold;
}
h2 {
    color: black;
    font-weight: bold;
}

p {
    padding-top: 0;
}

#form-panel h3,
#form-update-panel h3 {
    margin-bottom: 2em;
    margin-top: 0;
    font-weight: bold;
    font-size: 24px;
}

#form-panel,
#form-update-panel {
    margin-top: 0;
    padding-left: 2em;
    max-width: 99%;
}

h1.page-header {
    margin-bottom: 0;
    font-family: "Open Sans", serif;
    font-size: 30px;
    /** this is a bit hacky but helps line it up without worrying about adjusting structure of page_content block **/
    padding-left: 15px;
    color: #FFFFFF;
}

.sidebar-collapse .nav>li>a {
    color: #ffffff;
    font-size: 1.15em;
    font-weight: bold;
    text-transform: uppercase;
}

#form-panel label,
#form-update-panel label,
#form-panel .sub-form label,
#form-update-panel .sub-form label {
    float: unset;
    text-transform: capitalize;
    font-size: small;
}

div.circle {
    display: inline-block;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    /* width and height can be anything, as long as they're equal */
    margin-right: 5px;
}

div.status-inactive {
    background-color: #799CAB;
}

div.status-good {
    background-color: #76CF7B;
}

div.status-conditional {
    background-color: #FC744F;
}

div.status-sold {
    background-color: #FD4582;
}

.fa {
    color: #01aef0;
}

.nav-icon {
    float: left;
    margin-top: 0.88em;
    margin-right: 1em;
    margin-left: 1.5em;
}

#image-preview {
    max-width: 150px;
}

span.thumbnail {
    float: none;
    height: auto !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#id_image_file {
    display: none;
}

label[for='id_image_file'] {
    display: none;
}

#upload-image-button,
#remove-image-button {
    height: 50px;
    width: 100px;
    cursor: pointer;
    background-repeat: no-repeat;
    font-weight: bold;
}

#image-box {
    width: 35%;
    background-repeat: no-repeat;
    font-weight: bold;
}

#upload-image-button-assess {
    height: 50px;
    width: 50px;
    cursor: pointer;
    background-repeat: no-repeat;
    font-weight: bold;
    float: left;
}

#remove-image-button-assess {
    height: 50px;
    width: 50px;
    margin-left: 50px;
    cursor: pointer;
    background-repeat: no-repeat;
    font-weight: bold;
}

#upload-image-button {
    float: left;
}

#remove-image-button {
    float: right;
}

#image_preview_thumb {
    background-color: #F3F5F9;
}

#filter-button {
    margin-left: 0;
    margin-top: 2em;
    border-radius: 5px;
}

label[for='id_mss_status'] {
    text-transform: none;
}

#form-panel .cancel-button,
#form-update-panel .cancel-button,
.cancel-button {
    text-decoration: none;
    margin: auto;
    display: block;
    font-size: .9em;
    background: white;
    color: #01aef0;
    border: 1px solid #01aef0;
    box-shadow: 0 0 1px 1px #01aef0;
    width: 20%;
}

.cancel-button-edit,
.submit-client-button,
.archive-button {
    width: 100%
}

.cancel-button-edit {
    text-decoration: none;
    margin: unset !important;
    display: block;
    font-size: .9em;
    background: white;
    color: #01aef0;
    border: 1px solid #01aef0;
    box-shadow: 0 0 1px 1px #01aef0;
}

.row.half {
    width: 50%;
    display: inline-block;
}

@media (min-width: 768px) {
    .navbar-side {
        z-index: 1;
        position: static;
        width: 300px;
        margin-top: 6.5em;
        float: left;
    }
}

#id_date_of_birth_month,
#id_date_of_birth_day,
#id_date_of_birth_year {
    width: 33%;
    display: inline-block;
}

.col-assessments {
    color: #01aef0;
    display: inline-flex;
    margin: 5px;
}

.select-choices {
    margin: 10px;
    line-height: 2em;
}

input[type="range"] {
    background: linear-gradient(to right, #01aef0 25%, 0%, #FFD63C 50%, 0%, #3AB54A 75%, 0%, #EE1C25 100%);
    border: solid 1px #82CFD0;
    border-radius: 8px;
    height: 7px;
    width: 50%;
    outline: none;
    transition: background 450ms ease-in;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border-style: solid;
    border-color: #01AEF066;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    cursor: ew-resize;
    transition: background .3s ease-in-out;
}

input[type='radio'] {
    transform: scale(0.75);
    float: right;
    width: 3em;
    display: inline;
}

.assess-table thead tr th {
    border: 2px solid #01aef0;
    text-align: center;
    vertical-align: middle;
}

.assess-table tbody tr td {
    border: 2px solid #01aef0;
    padding: 1em;
}

.assess-table textarea {
    width: 100%;
    height: 150px;
}

.assess-table select {
    width: 100%;
    min-width: 100px;
}

.assess-table {
    box-shadow: 0 0 1px 1px #01AEF066;
}

.assess-table thead tr {
    background-color: #01aef0;
    color: #ffffff;
    width: 100%;
}

#assess-extra-info {
    display: none;
}

.pull-right {
    float: left !important;
}

#filter-button {
    margin-top: 0 !important;
    margin-left: 2em;
}

.assessment_panel {
    max-width: 930px;
}

[class^='select2'] {
    border-radius: 0 !important;
}

.select2-container {
    border: 2px solid #01aef0;
    margin-top: -4px !important;
}

.select2-container {
    height: 33px !important;
}

.select2-selection__arrow {
    height: 33px !important;
}

.select2-dropdown.increasedzindexclass {
  z-index: 99;
}

#id_phone_number_area,
#id_phone_number_prefix,
#id_cell_phone_number_area,
#id_cell_phone_number_prefix,
#id_social_worker_phone_number_area,
#id_social_worker_phone_number_prefix,
#id_case_worker_phone_number_area,
#id_case_worker_phone_number_prefix,
#id_agency_general_phone_number_area,
#id_agency_general_phone_number_prefix,
#id_agency_cell_phone_number_area,
#id_agency_cell_phone_number_prefix {
    display: inline;
    width: 50px !important;
}

#id_phone_number_line,
#id_cell_phone_number_line,
#id_social_worker_phone_number_line,
#id_case_worker_phone_number_line,
#id_agency_general_phone_number_line,
#id_agency_cell_phone_number_line {
    display: inline;
    width: 70px !important;
}

#id_home_agency_phone_available_24,
#id_home_agency_cell_phone_available_24 {
    float: unset !important;
}

input[type='number'] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.logo-footer {
    display: inline-block;
}

.logo {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

.push-footer {
    float: right;
    margin-top: 8px;
}

.footer {
    text-align: center;
    margin: 18px;
}

.radio-toolbar {
    background-color: #FFFFFF;
    color: black;
}

.radio-toolbar input[type="radio"] {
    float: unset;
    transform: unset;
}

.dashboard-table thead tr:nth-child(1) th:nth-child(1) {
    padding: 0;
    border: 2px solid #01aef0;
}

.page-size-select {
    width: 70px;
}

.nopadding-right {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

#id_client_id {
    margin-top: -5px !important;
}

/* The Modal (background) */
.comm-log-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }

  /* Modal Content */
.comm-log-modal-content {
    background-color: #fefefe;
    width: 40%;
    height: auto;
    margin: auto;
    padding: 58px 58px 100px 58px;
    position: relative;
    border-radius: 20px;
  }

  /* The Close Button */
  .comm-log-modal-close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  .comm-log-modal-close:hover,
  .comm-log-modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

  /* .table tbody tr td  */
.duplicate-list {
    background-color: #f5f5f5;
    white-space: nowrap;
  }
/* .thead th */
.duplicate-heading {
    white-space: nowrap;
}

#triangle-up {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: block;
  padding: 3px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

#triangle-down {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

#triangle-up-selected {
  border: solid grey;
  border-width: 0 3px 3px 0;
  display: block;
  padding: 3px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

#triangle-down-selected {
  border: solid grey;
  border-width: 0 3px 3px 0;
  display: block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #ccc;
}

nav.pagination {
    display: block;
    text-align: center;
    margin-bottom: 0;
}

h4 {
    padding-top: 10px;
    font-weight: 900;
}

.inline-control-label {
    display: inline;
}

#id_concerns {
    border: 1px solid #01aef0;
    width: 34px;
    height: 34px;
    font-size: 14px;
    vertical-align: middle;
}

.clear_view_as_button_inactive {
    font-size: 18px;
    color: white;
    cursor: pointer;
}

.clear_view_as_button_active {
    font-size: 18px;
    color: black;
    cursor: pointer;
}

#page-inner {
    overflow: scroll;
}

.missing-title {
    display: inline-block;
    color: #EE862B;
}

.fa.disabled,
.fa[disabled],
.disabled > .fa,
[disabled] > .fa {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Responsive YouTube CSS */
.video-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; }
.video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

#document-link {
    color: #428bca;
}