@media (max-width: 991px) {    
    .two-col-content .row > div.main-column:first-child {
        padding-right: 15px;
    }
}
.main-column {
    margin: 0 0 40px;
}
.flex-row {
    display: flex;
}
.form-container {
    padding: 10px 30px 30px;
    box-shadow: 1px 1px 25px 0 rgba(0,0,0,0.05);
    height: 100%;
}
@media (max-width: 767px) {
    .form-container {
        padding: 0 0 30px;
        box-shadow: none;
    }
    .modal.in {
        align-items: flex-start;
    }
}
.form-container.modal-form-container {
    box-shadow:none;
}
.form-container.modal-form-container .btn {
    width: 100%;
    display: block;
}
button.close {
	width: 40px;
	height: 40px;
	background: #002072;
	opacity: 1;
	color: #fff;
	border-radius: 50%;
	top: -20px;
	right: -20px;
	position: absolute;
}
button.close:hover,
button.close:focus {
    opacitY: 1;
	color: #fff;
}
.form-container h3 {
    margin-bottom: 30px;
}
.form-container .form-control {
    height: auto;
    padding: 12px 20px;
}
.form-container .field_wrap {
    margin-bottom: 10px;
}
.form-container .field_wrap label {
    margin-bottom: 5px;
}
.form-container .field_wrap.__datepicker .input_wrap {
    position: relative;
}
.form-container .field_wrap.__datepicker .input_wrap input {
    padding-left: 40px;
}
.form-container .field_wrap.__datepicker .input_wrap::before {
    content: '\e109';
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    font-size: 14px;
    position: absolute;
    left: 15px;
    top: 15px; 
    color: #334d8e;
}

.form-container .form-control.input-validation-error {
    border: 1px solid #ad2924;
    box-shadow: inset 0 1px 1px rgba(253, 161, 161, 0.32);
}

.table_wrap {
    width: 100%;
    overflow-x: auto;
    margin: 0 0 30px;
}
.fee-table .ft-description {
    width: 60%;
}
.fee-table .ft-fee {
    width: 20%;
}
@media (max-width: 767px) {
    .fee-table .ft-description {
        width: auto;
        font-size: 14px;
    }
    .fee-table .ft-fee {
        width: 110px;
        font-size: 14px;
    }
    .form-container .btn {
        width: 100%;
        display: block;
    }
}
.fee-table.__header .ft-description,
.fee-table.__header .ft-fee {
    background: #002072;
    color: #fff;
}
.document-link {
    display: block;
	background: #f1f3f9;
	border: 1px solid #99a6c7;
	border-radius: 0;
	position: relative;
    padding: 10px 15px;
    font-size: 18px;
    color: #334d8e;
    margin: 0 0 30px;
}
.document-link::before {
    content: '\e080';
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    font-size: 20px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);    
    color: #334d8e;
}

.fee-estimate {
    height: 100%;
    padding: 10px 30px 30px;
    background: #f1f3f9;
    display: none;
}

@media (max-width: 767px) {
    .fee-estimate {
        padding: 10px;
    }
}
.fee-estimate .fee-table {
    display: flex;
    justify-content: space-between;
}

.fee-estimate .fee-table .ft-description,
.fee-estimate .fee-table .ft-fee {
    padding: 2px 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    font-size: 14px;
}
.fee-estimate .fee-table .ft-fee {
    flex-basis: 90px;
    text-align: right;
    align-items: flex-end;
}
.fee-estimate .fee-table.__header {
    margin-top: 10px;
}
.fee-estimate .fee-table.__header .ft-description {
    flex-grow: 1;
    padding: 5px 10px;
    font-size: 18px;
    font-weight: bold;
}
.fee-estimate .fee-table.__header .ft-description span {
    font-size: 14px;
    font-weight: regular;
}
.fee-estimate .fee-table.__header .ft-fee {
    padding: 5px 10px;
    border-left: 1px solid #fff;
}
.fee-table.__overall {
    padding: 20px 0;
    line-height: 1.1;
}
.fee-table.__overall .ft-description,
.fee-table.__overall .ft-fee {
    font-size: 18px;
    font-weight: bold;
}
.fee-breakdown-actions {
    margin-top: 30px;
}
.fee-breakdown-actions a,
.fee-breakdown-actions button {
    width: 100%;
    display: block;
}
.key-assumptions {
    display: none;
}
.panel-group {
    margin-bottom: 30px;
}
.panel-group .panel {
	border-radius: 0;
}
.panel {
	background: #ffffff;
	border: 1px solid #99a6c7;
	border-radius: 0;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.panel-title > a {
    display: block;
    width: calc(100% - 50px);
}
.panel-collapse > div {
    padding: 15px;
}
.panel-collapse p {
    margin: 0;
}


/* datepicker */
#ui-datepicker-div {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.15);
  }
  .ui-datepicker-prev {
    float: left;
    font-size: 14px;
  }
  .ui-datepicker-next {
    float: right;
    font-size: 14px;
  }
  .ui-datepicker-title {
    clear: both;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    margin: 0 0 5px;
  }
  .ui-datepicker-calendar th {
    font-weight: normal;
  }
  .ui-datepicker-calendar th, .ui-datepicker-calendar td {
    padding: 3px 5px;
    text-align: center;
  }

  /* error styling */
  .error_feedback {
    margin: 0 0 2em 0;
    background: white;
    font-size: 14px;
    padding: 15px 20px;
    border: 1px solid #ff3939;
    background: #ffcfcf;
    color: #4b4243;
    text-align: left;
  }
  .error_feedback ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .error_feedback ul li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
  }
  .error_feedback ul li:last-child {
    margin: 0;
  }

  .input_error {
    background: #ffcfcf;
    border: 1px solid #ff3939;
    border-top: none;
    color: #4b4243;
    padding: 10px 15px 10px 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
  }
  form .label_wrap label.error {
	color: #ff3939;
}
  form .input_wrap input.error, form .input_wrap select.error, form .input_wrap textarea.error, form .input_wrap.error .select2-css {
	border: 1px solid #ff3939;
}