/* Change autocomplete styles in WebKit */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus textarea:-webkit-autofill,
textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  transition: background-color 5000s ease-in-out 0s;
}

.widget__home {
  width: 100% !important;
}

.widget__ins {
  width: 355px;
  background-color: rgba(169, 173, 192, 0.85);
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.34);
}

.header__ins {
  box-shadow: 0px 1px 1px 1px #00000091;
  background-color: #4781ae;
  /* height: 80px; */
  display: inline-block;
  width: 100%;
  /* text-align: center; */
}

.header__ins small {
  font-size: 24px;
  text-align: center;
  color: #fff;
  font-weight: 400;
  margin-bottom: 10px !important;
  display: block;
}

.hr-center {
  justify-content: center;
  display: flex;
}

.header__ins h1 {
  color: #fff;
  font-weight: 400;
  margin-bottom: 0;
  display: inline-block;
  width: 100%;
  margin-top: 8px;
  font-size: 24px;
  text-align: center;
  line-height: 30px;
}

.header__ins h2 {
  color: #fff;
  font-weight: 400;
  margin-bottom: 0;
  display: table-cell;
  vertical-align: middle;
}

.header__ins p {
  text-align: center;
  color: #000;
  font-size: 16px;
  line-height: 20px;
  font-weight: bold;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 0;
  background-color: rgba(71, 129, 174,.5);
  border-top: 1px solid #899eba;
}

.main__ins {
  padding-top: 10px;
  padding-bottom: 15px;
}

input[type="checkbox"] {
  background-color: #fff;
  margin-top: -1px;
  -webkit-appearance: none;
  visibility: hidden;
}

input[type="checkbox"],
select {
  cursor: pointer;
}

.form-group {
  margin-bottom: 10px;
}

.form-control {
  border-radius: 0;
  font-size: 13px !important;
  font-weight: 400;
  height: 30px;
  color: #212121;
}

.widget__ins input.form-control::-moz-placeholder,
.widget__ins input.form-control::-webkit-input-placeholder,
.widget__ins .grey-color {
  color: #777;
}

.widget__ins input.form-control {
  color: #212121;
}

.main__ins label {
  color: #034273;
  font-weight: 600;
  font-size: 14px;
}

.input-group-addon {
  background-color: #4781ae;
  border-color: #4781ae;
  border-left: 2px solid #045fa5 !important;
  color: #fff;
}

.main__ins .btn {
  font-size: 16px;
  border-radius: 7px;
}

.main__ins .btn i {
  font-weight: bold;
}

.px-0 {
  padding-left: 0px;
  padding-right: 0px;
}

.btn--danger {
  box-shadow: inset 0px 1px 0px 0px #F4524D;
  background-color: #F4524D;
  border: 1px solid #e03b37;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, .2) 0, rgba(255, 255, 255, .01) 100%);
  border-radius: 5px;
  color: #fff;
}

.btn--danger:hover {
  color: #fff;
}

.footer__ins {
  background-color: rgba(127, 161, 198, 0.58);
  padding-top: 12px;
  padding-bottom: 12px;
  border-top: 2px solid #4781ae;
}

.footer__ins a {
  color: #fff;
  letter-spacing: .3px;
}

.footer__ins a i {
  font-weight: bold;
  font-size: 17px;
  color: #045fa5;
  margin-left: 3px;
}

.checkbox-label {
  position: relative;
  padding-left: 20px;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 14px;
  width: 14px;
  background-color: #eee;
}

:hover input~.checkmark {
  background-color: #fff;
}

input:checked~.checkmark {
  background-color: #fff;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

input:checked~.checkmark:after {
  display: block;
}

.checkmark:after {
  left: 5px;
  top: 2px;
  width: 5px;
  height: 8px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media screen and (max-width: 425px) {
  .widget__ins {
    width: 310px;
    margin: 0 auto;
  }
}

.modal.modal__ins {
  background-color: rgba(0, 0, 0, 0.36);
  position: absolute;
}

.modal__ins .modal-dialog {
  width: 90%;
  margin: 0px auto;
  top: 50%;
  transform: translateY(-50%);
}

.modal__ins .modal-content {
  border-radius: 0;
}

.modal__ins .modal-body h2 {
  color: #08c;
  font-size: 18px;
  line-height: 1.3;
  text-align: left;
}

.close {
  opacity: 0.6;
  /* margin-right: 10px; */
  /* margin-top: 3px; */
}

.modal {
  display: block !important;
}

.fw-700 {
  font-weight: 700 !important;
}

.fw-600 {
  font-weight: 600 !important;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-8 {
  margin-bottom: 8px !important;
}

.mb-10 {
  margin-bottom: 10px;
}

.mt-10 {
  margin-top: 10px;
}

.error-lockup {
  color: #212121;
  font-size: 12px;
}

.error-lockup p {
  margin-bottom: 10px;
  line-height: 16px;
}

.color--black {
  color: #212121;
}

.color--blue {
  color: #08c;
}

.text--grey {
  color: #2B3840;
}

.l-height {
  line-height: 1.2em;
}

.modal__ins .modal-body {
  padding: 15px 12px 0px;
}

.f-size--12 {
  font-size: 12px;
}

.text--link,
a.text-link:hover {
  color: #034273;
}

.widget--hide {
  display: none !important;
}

.pr-0 {
  padding-right: 0;
}

.powered-by-chubb-logo
{
  width: 200px;
  margin: 0px auto 10px auto;
  display: block;
}

.pr-14
{
  padding-right: 14px;
}
.date-readonly .form-control[readonly]{
  background-color: #fff;
}

@media (min-width: 992px) {
  .pr-md-0 {
    padding-right: 0;
  }
}

.mb-5 {
  margin-bottom: 5px;
}

.mb-3 {
  margin-bottom: 3px !important;
}

.fw-500 {
  font-weight: 500;
}

.info-sign-btn {
  background-color: transparent;
  border: 0px;
}
.info-sign-btn:hover,
.info-sign-btn:focus {
  text-decoration: none;
}

.helper-icon {
  padding: 0px;
  margin-left: 0px;
}

.line-height-1-5{
  line-height: 1.5;
}

.font-size-20
{
  font-size: 20px !important;
}

/* =========================================================
   Compatibility for newer Porto / Bootstrap
   ========================================================= */

.widget__ins {
    box-sizing: border-box;
}

.widget__ins *,
.widget__ins *::before,
.widget__ins *::after {
    box-sizing: border-box;
}

/* Restore old Bootstrap column behaviour used by widget */
.widget__ins .col-md-12,
.widget__ins .col-md-6 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    float: left;
}

.widget__ins .col-md-12 {
    width: 100%;
}

.widget__ins .col-md-6 {
    width: 50%;
}

/* Clear floated fields */
.widget__ins form::before,
.widget__ins form::after,
.widget__ins .main__ins::before,
.widget__ins .main__ins::after {
    display: table;
    content: "";
}

.widget__ins form::after,
.widget__ins .main__ins::after {
    clear: both;
}

/* Restore old Bootstrap input group behaviour */
.widget__ins .input-group {
    position: relative;
    display: table;
    border-collapse: separate;
    width: 100%;
}

.widget__ins .input-group .form-control {
    display: table-cell;
    width: 100%;
    float: left;
}

.widget__ins .input-group-addon {
    display: table-cell;
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;

    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;

    text-align: center;

    background-color: #4781ae;
    border: 1px solid #4781ae;
    border-left: 2px solid #045fa5 !important;
    color: #fff;
}

/* Widget form controls */
.widget__ins .form-control {
    display: block;
    width: 100%;
    height: 30px;
    padding: 6px 12px;
    font-size: 13px !important;
    line-height: 1.42857143;
    color: #212121;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
}

/* Prevent Porto from changing widget labels */
.widget__ins .main__ins label {
    display: inline-block;
    color: #034273;
    font-weight: 600;
    font-size: 14px;
}

/* Mobile */
@media (max-width: 767px) {
    .widget__ins .col-md-6,
    .widget__ins .col-md-12 {
        width: 100%;
        float: none;
    }

    .widget__ins .pr-md-0 {
        padding-right: 15px;
    }
}

.widget__ins .col-md-12,
.widget__ins .col-md-6 {
    position: relative;
    min-height: 1px;
    padding-left: 7px;
    padding-right: 7px;
}

@media (min-width: 768px) {

    .widget__ins .col-md-12 {
        width: 100% !important;
        float: left !important;
    }

    .widget__ins .col-md-6 {
        width: 50% !important;
        float: left !important;
    }
}

.widget__ins .main__ins {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 15px;
}

.widget__ins .form-group {
    margin-bottom: 10px !important;
}

.widget__ins .main__ins label {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap;
}

.widget__ins .info-sign-btn {
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;

    padding: 0 !important;
    margin: 0 0 0 3px !important;

    line-height: 1 !important;
    vertical-align: middle !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.widget__ins .helper-icon {
    display: inline-block !important;
    width: auto !important;

    padding: 0 !important;
    margin: 0 !important;
}

.widget__ins .info-sign-btn i {
    color: #666 !important;
    font-size: 14px !important;
    background: transparent !important;
}

.widget__ins button.info-sign-btn:hover,
.widget__ins button.info-sign-btn:focus,
.widget__ins button.info-sign-btn:active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.widget__ins .form-control {
    width: 100% !important;
    box-sizing: border-box !important;
}

.widget__ins .main__ins:before,
.widget__ins .main__ins:after,
.widget__ins .form-group:before,
.widget__ins .form-group:after {
    display: table;
    content: " ";
}

.widget__ins .main__ins:after,
.widget__ins .form-group:after {
    clear: both;
}

@media (max-width: 767px) {

    .widget__ins .col-md-12,
    .widget__ins .col-md-6 {
        width: 100% !important;
        float: none !important;
    }
}

/* Fine tune ? help icon */
.widget__ins .info-sign-btn {
    position: relative !important;
    top: -2px !important;
}

.widget__ins .info-sign-btn i {
    color: #666 !important;
    font-size: 14px !important;
}

/* Make modal position relative to widget */
.widget__ins {
    position: relative !important;
}

/* Keep overlay inside widget */
.widget__ins .modal.modal__ins {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    background-color: rgba(0, 0, 0, 0.36) !important;

    z-index: 1000 !important;
}

/* Center popup inside widget */
.widget__ins .modal__ins .modal-dialog {
    position: absolute !important;

    width: 90% !important;
    max-width: none !important;

    top: 50% !important;
    left: 50% !important;

    margin: 0 !important;

    transform: translate(-50%, -50%) !important;
}

/* Popup content */
.widget__ins .modal__ins .modal-content {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* Popup body */
.widget__ins .modal__ins .modal-body {
    position: relative !important;
    padding: 15px 12px !important;
}

/* Fix close X button */
.widget__ins .modal__ins .close {
    position: absolute !important;
    top: 8px !important;
    right: 10px !important;

    margin: 0 !important;
    padding: 0 !important;

    width: auto !important;
    min-width: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    z-index: 2 !important;
}

/* Match homepage widget position with production */
/* .homepage-widget {
    position: relative;
    left: -65px;
    top: -30px;
} */

.widget__ins .main__ins {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.header__ins {
    background-color: #145B94 !important;
}

/* Keep label and question mark on the same line */
.main__ins label {
    white-space: nowrap;
	font-size: 13.5px !important;
}

.main__ins .helper-icon,
.main__ins .info-sign-btn {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* Fix Manage Policy + Purchase Quote header color */
#manage_policy_widget .header__ins,
#manage_policy_widget .header__ins p,
#purchase_quote_widget .header__ins,
#purchase_quote_widget .header__ins p {
    background-color: #145B94 !important;
}

/* Modal close X */
.modal__ins .close {
    font-size: 26px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    opacity: 0.7 !important;
    padding: 5px !important;
}

.modal__ins .close:hover {
    opacity: 1 !important;
}

/* Manage Policy + Purchase Quote header cleanup */
#manage_policy_widget .header__ins,
#purchase_quote_widget .header__ins,
#manage_policy_widget .header__ins p,
#purchase_quote_widget .header__ins p {
    background-color: #145B94 !important;
    border-top: none !important;
    box-shadow: none !important;
}

/* =========================
   RAIN INSURANCE ONLY
   ========================= */

.rain-insurance-widget .col-md-6.pr-md-0 {
    padding-right: 7px !important;
}

.rain-insurance-widget .col-md-6.pl-md-0 {
    padding-left: 7px !important;
}