@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600&display=swap');

body{font-family: 'Roboto', sans-serif; font-size: 13px; font-weight: 400; color: #777; background: #fff;}
.clear{clear: both;}

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: 100% !important;
}
.bootstrap-select div.dropdown-menu{top:34px !important; min-height: 300px !important; z-index: 100 !important;}
.add-new-client-form{padding:25px; max-width: 1100px; margin: auto;margin-top: 150px;}
.add-new-client-form .form-heading{margin-bottom: 40px; margin-top: 40px;}
.add-new-client-form .form-heading h2{text-transform: uppercase; color:#d0021b;}

.add-new-client-form .field-row{margin-bottom: 20px;}
.add-new-client-form .field-row label{display: block; text-transform: uppercase; margin-bottom: 3px; font-size: 12px;}
.add-new-client-form .field-row input[type="text"], .field-row input[type="number"], .field-row input[type="date"], .field-row input[type="email"]{width:100%; box-sizing: border-box; background: #f5f5f5; border: 0px; padding: 10px; font-size: 12px;}
.add-new-client-form .field-row textarea{width:100%; box-sizing: border-box; background: #f5f5f5; border: 0px; padding: 10px;}
.add-new-client-form .field-row select{ padding: 10px; width: 100%; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap;}
.add-new-client-form .field-row .select2-container{width:100% !important; background: #f5f5f5;}

.mid-plan-review-wrap .box-heading{background: #d0021b; padding: 10px;}
.mid-plan-review-wrap .box-heading h4{margin: 0px; font-size: 17px; line-height: 20px; color: #fff; text-transform: uppercase; display: inline-block;}
.mid-plan-review-wrap .box-heading h5{display: inline-block; color:#fff; float: right;}
.mid-plan-review-wrap .range_container .range-slider-head{font-family: 'Oswald', sans-serif; font-size:20px; line-height: 20px; color:#333; text-transform: uppercase; max-width: 650px; position: relative; padding:30px 0px 30px 70px;}
.mid-plan-review-wrap .range_container .range-slider-head img.slider_smile{position: absolute; left: 0px; top:50%; margin-top: -25px;}

.goal-planning-wrap .goal-planning-collase-btns{text-align:center; margin-bottom: 30px;}
.goal-planning-wrap .goal-planning-collase-btns a{display: inline-block; margin:0px 5px; width: 315px; position: relative; padding: 15px; padding-left: 70px; border: 1px #eee solid;}
.goal-planning-wrap .goal-planning-collase-btns a span{white-space: normal; display: inline-block;; line-height: 15px;}
.goal-planning-wrap .goal-planning-collase-btns a img{width:40px; margin-right: 5px; position: absolute; margin-left: -60px; margin-top: -3px;}
.goal-planning-wrap .goal-planning-collase-btns a:hover{color:#fff;}
.goal-planning-wrap .add-section-btn{text-align:center; margin-bottom: 30px;}
.goal-planning-wrap .add-section-btn a{font-size: 18px; color:#555; text-decoration: underline; padding: 0px 10px;}
.goal-planning-wrap .add-section-btn a:hover{color:#000;}

.select2-container--default .select2-selection--single .select2-selection__arrow{top:4px !important;}
span.select2{height:auto !important; max-height: none !important;}
.select2-container .select2-selection--single .select2-selection__rendered{white-space: normal !important;}

/*.select2-container--default .select2-selection--single .select2-selection__rendered{white-space: nowrap !important;}*/


/*Bootstrap classes
===============================================*/
.table-bordered{}
.table-bordered tr th{text-transform: uppercase; font-weight: 500;}
.table-bordered tr th, .table-bordered tr td{padding: 10px;}
.table-bordered td, .table-bordered th{border-bottom-width: 1px !important;}
/*end*/

/*Range slider
================================*/
.range_container {width: 100%; margin: 0 auto; display: block;}
.range_container .slider-smile-value{font-size: 14px; text-transform: uppercase; font-weight: 500; text-align: center; margin-top: 25px;}
.range_container .slider_smile {width: 60px; margin-top: 10px; margin-bottom: 10px;}
.slider {-webkit-appearance: none; width: 100%; height: 3px; padding-right: 3px; background: #ccc; margin-top: 40px;}
.slider:hover {opacity: 1;}
.slider::-webkit-slider-thumb {-webkit-appearance: none; appearance: none; width: 50px; height: 50px; border-radius: 50%; box-shadow: 0px 0px 8px #999; background: url(https://wpindieassetswarm1.blob.core.windows.net/intaketraining-assets/smile-icon-3.png) no-repeat 0% 0%; background-size:cover; cursor: pointer;}
.slider::-moz-range-thumb {width: 50px; height: 50px; border-radius: 50%; box-shadow: 0px 0px 8px #999; background: url(https://wpindieassetswarm1.blob.core.windows.net/intaketraining-assets/smile-icon-3.png) no-repeat 0% 0%; background-size:cover; cursor: pointer;}
/*END*/
/*! `Custom` Bootstrap 4 theme */

ul#pills-tab li{background: #f5f5f5;}
ul#pills-tab li a{text-transform: uppercase; border-radius: 0px;}

#pills-tabContent i.fas{
color: #d0021b !important;
}


#pills-tabContent input {
    line-height: normal !important;
}
.budget_totals_outer {float: none; text-align:right; font-size: 13px; font-weight: 500; line-height:15px; color: red;}
.budget_totals_outer div span:first-child{color:#333;}
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #fff !important;
    background-color: #d0021b !important;
}
div#pills-tabContent .tab-pane.show {
    display: none !important;
}
div#pills-tabContent .tab-pane.active {
    display: block !important;
}
#pills-tab {
    text-align: center;
    width: 70%;
    margin: 0 auto;
    padding: 16px 0 0;
}
#pills-tab li {
	width: 125px !important;
    height: 40px !important;
    position: relative;
    background: #d0021b;
    margin-bottom: 7px !important;
    text-align: center !important;
    display: inline-block;
    margin-left: 22px !important;
	vertical-align: text-top;
}
#pills-tab li:after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 0;
      border-left: 20px solid #ffffff;
      border-top: 20px solid transparent;
      border-bottom: 20px solid transparent;
    }
#pills-tab li:before {
      content: "";
      position: absolute;
      right: -20px;
      bottom: 0;
      width: 20px;
      height: 0;
      border-left: 20px solid #f5f5f5;
      border-top: 20px solid transparent;
      border-bottom: 20px solid transparent;
    }

#pills-tab li a {
    display: inline-block;
    vertical-align: bottom;
    color: #000;
    display: flex;
    align-items: center;
    height: 40px;
    text-decoration: none;
    font-weight: 500;
    padding: 0 0px 0 20px;
    line-height: 15px;
    font-size: 11px !important;
    justify-content: center;
}
#pills-tab li:hover {
    background: #d0021b;
}
#pills-tab li:hover:before {
	border-left: 20px solid #d0021b;
    color: #fff;
}
#pills-tab li:active {
    background: #d0021b;
}
#pills-tab li:hover:active:before {
	border-left: 20px solid #d0021b;
    color: #fff;
}
#pills-tab li.active {
    background: #d0021b;
}
#pills-tab li.active:before {
   	border-left: 20px solid #d0021b;
    color: #fff;
}
ul#pills-tab li a:hover {
    background: #d0021b;
    color: #fff;
}

.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus{background: #d0021b !important; border: 1px #d0021b solid !important; text-shadow: none !important;}

.main-service-section #serviceSection:first-child .add-section-btn a:nth-child(2) {
    display: none;
}
.main-service-section #serviceSection:first-child .add-section-btn a:nth-child(4) {
    display: none;
}
.goal-planning-wrap .goal-planning-collase-btns.row a img {
    margin-top: -7px;
}
.main-goal-service-section .repeatGoalService:first-child .row .col:first-child .field-row {
    display: block !important;
}
/*.main-goal-service-section .repeatGoalService .row .col:first-child .field-row {
    display: none;
}*/
/*.form-heading h2 {
    color: #d0021b !important;
    padding: 0 !important;
    margin-left: 0;
    width: 100%;
    float: left;
    text-align: left !important;
    font-size: 27px;
    font-weight: 600;
    margin-top: 40px;
}*/


/*Funding Tab*/
/*.service-cal-wrap{margin:-62px 0px 0px 0px;}*/
.service-cal-wrap .collapse-btn-row{margin-bottom: 20px;}
.service-cal-wrap .collapse-btn-row a{background: #fcfcfc; padding:20px; border: 1px #ccc solid; color:#333;}
.service-cal-wrap .collapse-btn-row a img{width:50px;}
.service-cal-wrap .collapse-btn-row a span{position: relative; top:3px;}
/*END*/
.main-goal-service-section .repeatGoalService:first-child .goal-planning-collase-btns a:nth-child(4) {
    display: none;
}
.main-goal-service-section .repeatGoalService:first-child .goal-planning-collase-btns a:nth-child(3) {
    width: 240px !important;
}
.main-service-section .serviceSection:first-child .row.goal-planning-collase-btns a:nth-child(2) {
    display: none;
}
.calendar {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  grid-template-rows: 50px;
  grid-auto-rows: 120px;
  overflow: hidden;
}
.calendar-container {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.calendar-header {
  text-align: center;
  padding: 20px 0;
  background: -webkit-gradient(linear, left top, left bottom, from(#fafbfd), to(rgba(255, 255, 255, 0)));
  background: linear-gradient(to bottom, #fafbfd 0%, rgba(255, 255, 255, 0) 100%);
  border-bottom: 1px solid rgba(166, 168, 179, 0.12);
}
.calendar-header h1 {
  margin: 0;
  font-size: 18px;
}
.calendar-header p {
  margin: 5px 0 0 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(81, 86, 93, 0.4);
}
.calendar-header button {
  background: 0;
  border: 0;
  padding: 0;
  color: rgba(81, 86, 93, 0.7);
  cursor: pointer;
  outline: 0;
}

.day {
  border-bottom: 1px solid rgba(166, 168, 179, 0.12);
  border-right: 1px solid rgba(166, 168, 179, 0.12);
  text-align: right;
  padding: 14px 20px;
  letter-spacing: 1px;
  font-size: 12px;
  box-sizing: border-box;
  color: #98a0a6;
  position: relative;
  pointer-events: all;
  z-index: 1;
  cursor: pointer;
}
.day:nth-of-type(7n + 7) {
  border-right: 0;
}
.day:nth-of-type(n + 1):nth-of-type(-n + 7) {
  grid-row: 2;
}
.day:nth-of-type(n + 8):nth-of-type(-n + 14) {
  grid-row: 3;
}
.day:nth-of-type(n + 15):nth-of-type(-n + 21) {
  grid-row: 4;
}
.day:nth-of-type(n + 22):nth-of-type(-n + 28) {
  grid-row: 5;
}
.day:nth-of-type(n + 29):nth-of-type(-n + 35) {
  grid-row: 6;
}
.day:nth-of-type(7n + 1) {
  grid-column: 1/1;
}
.day:nth-of-type(7n + 2) {
  grid-column: 2/2;
}
.day:nth-of-type(7n + 3) {
  grid-column: 3/3;
}
.day:nth-of-type(7n + 4) {
  grid-column: 4/4;
}
.day:nth-of-type(7n + 5) {
  grid-column: 5/5;
}
.day:nth-of-type(7n + 6) {
  grid-column: 6/6;
}
.day:nth-of-type(7n + 7) {
  grid-column: 7/7;
}
.day-name {
  font-size: 12px;
  text-transform: uppercase;
  color: #99a1a7;
  text-align: center;
  border-bottom: 1px solid rgba(166, 168, 179, 0.12);
  line-height: 50px;
  font-weight: 500;
}
.day--disabled {
  color: rgba(152, 160, 166, 0.6);
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f9f9fa' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  cursor: not-allowed;
}

.task {
  border-left-width: 3px;
  padding: 0px 12px;
  margin: 10px;
  border-left-style: solid;
  font-size: 14px;
  position: relative;
}
.task--warning {
  border-left-color: #fdb44d;
  grid-column: 4 / span 3;
  grid-row: 3;
  background: #fef0db;
  align-self: center;
  color: #fc9b10;
  margin-top: -5px;
}
.task--danger {
  border-left-color: #fa607e;
  grid-column: 2 / span 3;
  grid-row: 3;
  margin-top: 15px;
  background: rgba(253, 197, 208, 0.7);
  align-self: end;
  color: #f8254e;
}
.task--info {
  border-left-color: #4786ff;
  grid-column: 6 / span 2;
  grid-row: 5;
  margin-top: 15px;
  background: rgba(218, 231, 255, 0.7);
  align-self: end;
  color: #0a5eff;
}
.task--primary {
  background: #d0021b;
  border: 0;
  border-radius: 4px;
  grid-column: 3 / span 3;
  grid-row: 4;
  align-self: end;
  color: #fff;
  box-shadow: 0 10px 14px rgba(71, 134, 255, 0.4);
}
.task__detail {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  background: #fff;
  border: 1px solid rgba(166, 168, 179, 0.2);
  color: #000;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  z-index: 2;
}
.task__detail:after, .task__detail:before {
  bottom: 100%;
  left: 30%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.task__detail:before {
  border-bottom-color: rgba(166, 168, 179, 0.2);
  border-width: 8px;
  margin-left: -8px;
}
.task__detail:after {
  border-bottom-color: #fff;
  border-width: 6px;
  margin-left: -6px;
}
.task__detail h2 {
  font-size: 15px;
  margin: 0;
  color: #51565d;
}
.task__detail p {
  margin-top: 4px;
  font-size: 12px;
  margin-bottom: 0;
  font-weight: 500;
  color: rgba(81, 86, 93, 0.7);
}
#CalendarModalCenter .modal-body {
    max-height: 450px;
    overflow-x: hidden;
    overflow-y: scroll;
    height: auto;
}
#CalendarModalCenter .modal-body .services-section:first-child .col .btn-danger {
    pointer-events: none;
    display: none;
}
#CalendarModalCenter .modal-body .legal-order-wrap .service-section-append .services-section .col .btn-danger {
    display: block;
    pointer-events: all;
    float: right;
}
.day {
    padding: 50px 44px !important;
}
table#main_table_new tbody tr:first-child a:last-child {
    display: block;
}
span.error {
    color: red;
    font-weight: normal;
}
.current_error {
    border: 2px solid red !important;
}
em {
    color: red;
}
.error_show, select.error_show{
	border: 2px solid red !important;
}
.select2-container{z-index:100 !important;}
.dropdown-menu.open.show {
    transform: none !important;
}
.add-new-client-form .field-row select.btn {
    padding: 6px 10px;
}
select.btn.btn-default:hover {
    background: #ddd;
    color: #000 !important;
    border: none;
}
th.day.modal-day-active {
    background-color: #d0021b;
    color: white;
}