
.header_tooltip select.hs-input {
  padding-inline-end: 67px;
}
.header_tooltip .tooltip {
  right: 54px;
  margin-left: 0;
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
}
/* Hide arrows in Chrome, Safari, Edge, and Opera */
.cost-of-waiting-tool input[type="number"]::-webkit-inner-spin-button,
.cost-of-waiting-tool input[type="number"]::-webkit-outer-spin-button { 
  -webkit-appearance: none;
  margin: 0;
}
.cost-of-waiting-tool input[type="number"] {
  -moz-appearance: textfield;
}

.cost-of-waiting-tool .header_tooltip .cow_tool--input{
  padding-left: 18px;
}
.cow_tool--input {
  font-weight: 700;
  margin: 1rem 0;
  border: 3px solid #187bb5 !important;
  box-shadow: none;
  color: #054064;
  font-size: 20px;
}

.header_tooltip .cow_tool--input{
  padding-left: 40px;
}


/* Tooltip */
.tooltip {
  position: relative;
  display: inline-block;
  /*   border-bottom: 1px dotted black; */
  margin-left: 8px;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: #D9F2FF;
  color: #373841;
  text-align: center;
  border-radius: 6px;
  padding: 12px 15px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  right: 0;
  margin-left: 0;
  font-size: 0.8em;
  font-weight: 500;
  box-shadow: 0px 3px 20px 2px #dce3ed;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #D9F2FF transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}
.tooltip:focus .tooltiptext {
  visibility: visible;
}

.tooltip .hs_cos_wrapper_type_icon {
  cursor: pointer;
  width: 15px;
}
.tooltip .hs_cos_wrapper_type_icon svg {
  fill: white;
}
.header_tooltip .tooltip .hs_cos_wrapper_type_icon svg {
  fill: #2e2e2e !important;
  margin-left:10px;
  width: 15px;
}
.cow__top-filters{
  margin-bottom: 30px;
}
.cow_table-rows .cow_table-item {
  display: flex;
  align-items: flex-end;
  /* gap: 3px;
  margin-bottom: 3px; */
}
.cow_table-rows .cow_table-item .top-label {
  color: #1c648e;
  display: none;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 0px;
  text-align: center;
  position: relative;
  min-height: 75px;
  align-items: center;
  justify-content: center;
  padding: 5px 10px !important;
}
.cow_table-rows .cow_table-item .top-label input[type="number"] {
  border-radius: 5px;
  border: 1px solid #2AA5E2;
  /* position: relative;
  top: -1px; */
  font-size: 18px;
  max-width: 39px;
  text-align: center;
}
.cow_table-rows .cow_table-item:first-child .top-label {
  display: flex;
}
.cow_table-rows .cow_table-item .main-label {
  align-items: center;
  color: #005180;
  display: flex;
  flex: 0 0 auto;
  font-weight: 700;
  justify-content: center;
  line-height: 1.3;
  max-width: 350px;
  min-height: 70px;
  min-width: 320px;
  padding: 10px;
  text-align: center;
  background: transparent;
  border-left: 2px solid #c1dfef;
  border-bottom: 2px solid #c1dfef;
  /* box-shadow: 2px 4px 8px rgba(0,0,0,.3);
  border-radius: 10px; */

  background: #eff4f7;
}
.cow_table-rows .cow_table-item.cow-item-normal .main-label {
  background: #c1dfef;
  border-radius: 10px 0 0 0;
}
.cow_table-rows .cow_table-item:last-child .main-label {
  border-bottom: 2px solid #c1dfef;
  border-radius: 0 0 0 10px;
}
.cow_table-rows .cow_table-item .main-label p{
  margin-bottom: 0;
  /* color: #fff;
  max-width: 150px; */
}
.cow_table-rows .cow_table-item:first-child .main-label p{
  max-width: 100%;
}
.cow_table-rows .cow_table-item .main-label .number {
  /* color: #fff;
  border-bottom: 1px solid #fff; */
  font-size: 110%; /* 160% */
  font-weight: 900;
  margin-left: 1px; /* 4px */
}
.cow_table-rows .cow_table-item .value-main {
  position: relative;
  width: calc(100% / 3);
}
.cow_table-rows .cow_table-item .not-found .value-main {
  width: 100%;
}
@media (min-width:992px){
  .cow_table-rows .cow_table-item .cow_values-contain:not(.not-found) .value-main:before,
  .cow_table-rows .cow_table-item .cow_values-contain:not(.not-found) .value-main.cost-of-waiting:before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    /*     width: calc(100% + 25px); */ 
    width: calc(100%);
    height: calc(100% + 20px);
    background: rgba(152, 208, 239, .2);
    z-index: -1;
    /*     opacity: 0.2; */
    display: none;
  }
  .cow_table-rows .cow_table-item .cow_values-contain:not(.not-found) .value-main:not(.cost-of-waiting):before {
    width: calc(100% - 3px);
  }
  .cow_table-rows .cow_table-item.cow-item-normal .cow_values-contain:not(.not-found) .value-main.paid-to-84:before {
    height: 100%;
    top: -4px;
  }
  .cow_table-rows .cow_table-item.cow-item-normal .cow_values-contain:not(.not-found) .value-main:before,
  .cow_table-rows .cow_table-item.cow-item-normal .cow_values-contain:not(.not-found) .value-main.cost-of-waiting:before {
    border-radius: 20px 20px 0 0;
    /*     border: 3px solid #187bb5;
    border-bottom: none; */
  }
  /*   .cow_table-rows .cow_table-item .paid-to-84 .top-label:before {
  top: -4px;
  height: calc(100% + 8px);
} */
  .cow_table-rows .cow_table-item .cost-of-waiting .top-label:before {
    /*  width: calc(100% + 25px); */
    width: calc(100%);
  }
  /*   .cow_table-rows .cow_table-item.cow-item-normal .cow_values-contain:not(.not-found) .value-main.cost-of-waiting:after, .cow_table-rows .cow_table-item.cow-item-normal .cow_values-contain:not(.not-found) .value-main:after {
  width: calc(100% - 5px);
  height: 3px;
  content: '';
  position: absolute;
  left: 0;
  top: 28%;
  background: #187bb5;
} */

}


@media (min-width:767px){
  .cow_table-rows .cow_table-item .top-label {
    color: #fff;
  }
  .cow_table-rows .cow_table-item .top-label:before {
    content: '';
    width: calc(100%); /* 3px */ 
    height: calc(100%);
    /* height: calc(100% + 24px);
    top: -20px; */
    position: absolute; 
    left: 0;
    border-radius: 10px 10px 0 0;
    /* border: 3px solid #187bb5;
    border-bottom: none; */
    background: #2AA5E2 ; /* #1c648e */
    z-index: -1;
  }
}

.cow_table-rows .cow_table-item .value-main.cost-of-waiting span.shape {
  border-bottom: 50px solid transparent;
  border-left: 26px solid red;
  border-top: 50px solid transparent;
  height: 0;
  position: absolute;
  right: -25px;
  width: 0;
  bottom: 0;
  display: none;
}
.cow_table-rows .cow_table-item .cow_values-contain {
  display: flex;
  width: 100%;
  align-items: flex-end;
  gap: 10px;  
  position: relative;
}
.cow_values-contain:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #eff4f7;
  z-index: -1;
  width: 100%;
  height: 70px;
}
.cow_table-item.cow-item-normal .cow_values-contain:before {
  background: #c1dfef;
}
.cow_table-rows .cow_table-item .cow_values-contain.not-found {
  display: none;
}
/*
.cow_table-rows .cow_table-item .annual-premium{
width: 200px;
flex: 0 0 auto;
}
*/
/* .cow_table-rows .cow_table-item .annual-premium .inner-value {
border-radius: 10px 0 0 10px;
}
.cow_table-rows .cow_table-item.cow-item-normal .annual-premium .inner-value {
border-radius: 0 0 0 10px;
} */
/*
.cow_table-rows .cow_table-item .paid-to-84{
width: 200px;
flex: 0 0 auto;
}
*/
.cow_table-rows .cow_table-item .inner-value {
  min-height: 70px;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  border: 2px solid #2AA5E2;
  border-bottom: 2px solid #c1dfef;
  border-top: 0;
  background: #fff;
  /* border-right: 3px solid #fff;
  box-shadow: 2px 4px 8px rgba(0,0,0,0.3); */
}
.cow_table-rows .cow_table-item:last-child .inner-value {
  border-bottom: 2px solid #2AA5E2;
}
.cow_table-rows .cow_table-item:last-child .value-main:last-child .inner-value {
  border-radius: 0 0 10px 0;
}
.cow_table-rows .cow_table-item .not-found .inner-value:before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #c1dfef;
}
.cow_table-rows .cow_table-item .inner-value p {
  margin-bottom: 0;
  font-size: 24px;
  text-align: center;
  /*   color: #fff; */
  font-weight: bold;
  min-width: 180px;
}

.cow_table-rows .cow_table-item.cow-item-normal .main-label p,
.cow_table-rows .cow_table-item.cow-item-normal .inner-value p {
  color: #005180;
}
/* .cow_table-rows .cow_table-item .cost-of-waiting{
width: calc(60% - 26px);
}
.cow_table-rows .cow_table-item .not-found .cost-of-waiting{
width: calc(100% - 26px);
} */
.cow_table-rows .cow_table-item .cost-of-waiting .top-label {
  /*   text-align: left; */
  padding-left: 15px;
}
.cow_table-rows .cow_table-item .cost-of-waiting .inner-value {
  /*   justify-content: flex-start;
  padding-left: 20px; */
  /*   border: none; */
}
/* .cow_table-rows .cow_table-item .not-found .cost-of-waiting { 
width: calc(100% - 26px);
} */
.cow_table-rows .cow_table-item .not-found .cost-of-waiting .inner-value {
  padding: 10px 35px;
}





@media (max-width: 1199px){
  .cow_table-rows .cow_table-item .inner-value p {
    min-width: 120px;
  }
  .cow_table-rows .cow_table-item .cow_values-contain{
    width: calc(100% - 200px);
  }
  .cow_table-rows .cow_table-item .not-found .inner-value p {
    font-size: 21px;
  }
}
@media only screen and (max-width: 992px) {
  /*   .cow_table-rows .cow_table-item .cost-of-waiting .inner-value {
  width: calc(100% - 25px) !important;
} */
  .cow_table-rows .cow_table-item .main-label {
    min-width: 290px;
  }
  .cow_table-rows .cow_table-item .not-found .cost-of-waiting {
    width: calc(100% - 0px);
  }
  .cow_table-rows .cow_table-item .not-found .inner-value p {
    font-size: 18px;
    line-height: 24px;
  }
}
@media (max-width: 850px){
  /*   .cow_table-rows .cow_table-item .annual-premium{
  width: 30%;
}
  .cow_table-rows .cow_table-item .paid-to-84 {
  width: 30%;
}
  .cow_table-rows .cow_table-item .value-main.cost-of-waiting {
  width: 60% !important;
}
  .cow_table-rows .cow_table-item .not-found .cost-of-waiting {
  width: 100% !important;
} */
  .cow_table-rows .cow_table-item .not-found .cost-of-waiting .inner-value {
    padding: 10px 20px;
  }
}
@media (min-width: 768px){
  .cow_table-rows .cow_table-item{
    border: none !important;
  }
}
@media (max-width: 767px){
  .cost-of-waiting-tool .container {
    padding: 0;
  }
  .cow_table-rows .cow_table-item {
    flex-direction: column;
    margin-bottom: 30px;
    border: 2px solid #c1dfef;
    border-radius: 10px;
    overflow: hidden;
  }
  .cow_table-rows .cow_table-item .main-label{
    min-width: 100%;
    min-height: 70px;
    border: none;
  }
  .cow_table-rows .cow_table-item:last-child .main-label {
    border-radius: 0;
    border-bottom: 0;
  }
  .cow_table-rows .cow_table-item .main-label p{
    max-width: 100%;
  }
  .cow_table-rows .cow_table-item .top-label{
    display: flex;
    background: #2AA5E2;
    color: #fff;
  }
  .cow_table-rows .cow_table-item .cow_values-contain {
    width: 100%;
    gap: 0;
  }
  .cow_table-rows .cow_table-item.cow-item-normal .main-label {
    border-radius: 0;
  }
  .cow_table-rows .cow_table-item .value-main:not(:last-child) .top-label {
    border-right: 2px solid #c1dfef;
  }
  .cow_table-rows .cow_table-item .inner-value {
    border: none;
    min-height: 70px;
    border-top: 2px solid #c1dfef;
    border-right: 2px solid #c1dfef;
  }
  .cow_table-rows .cow_table-item:last-child .inner-value {
    border-bottom: none;
    border-top: none;
  }
  .cow_table-rows .cow_table-item .not-found .inner-value:before {
    content: none;
  }
  .cow_table-rows .cow_table-item .value-main:last-child .inner-value {
    border-right: 0;
  }
  .cow_table-rows .cow_table-item .value-main.cost-of-waiting span.shape {
    display: none;
  }
  .cow_table-rows .cow_table-item .inner-value p{
    font-size: 20px;
  }
  .cow_table-rows .cow_table-item .cost-of-waiting .inner-value{
    width: 100% !important;
  }

}
@media (min-width: 576px){
  .cow_table-rows .cow_table-item .value-main {
    background-color: transparent !important;
  }
}
@media (max-width: 575px){
  .cow_table-rows .cow_table-item {
    gap: 0;
    align-items: flex-start;
    flex-direction: column;
    border-bottom: 1px solid #777;
    margin-bottom: 25px;
    overflow: hidden;
    border: 2px solid #c1dfef;
    border-radius: 10px;
  }
  .cow_table-rows .cow_table-item:not(.cow-item-normal) {
    border: 2px solid #2AA5E2;
  }
  .cow_table-rows .cow_table-item .top-label{
    display: block;
  }
  .cow_table-rows .cow_table-item .main-label {
    max-width: 100%;
    min-height: 59px;
    width: 100%;
    padding-top: 10px;
  }
  .cow_table-rows .cow_table-item:not(.cow-item-normal) .main-label {
    background: #2AA5E2;
    color: #fff;
  }
  .cow_table-rows .cow_table-item .cow_values-contain {
    align-items: flex-start;
    width: 100%;
    flex-direction: column;
    /*     gap: 15px; */
  }
  /*   .cow_table-rows .cow_table-item .annual-premium, .cow_table-rows .cow_table-item .paid-to-84, .cow_table-rows .cow_table-item .value-main.cost-of-waiting, .cow_table-rows .cow_table-item .cost-of-waiting .inner-value{
  width: 100% !important;
} */

  .cow_table-rows .cow_table-item .value-main {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: transparent !important;
    border-bottom: 2px solid #c1dfef;
  }

  .cow_table-rows .cow_table-item .value-main:last-child {
    border-bottom: none;
  }
  .cow_table-rows .cow_table-item:not(.cow-item-normal) .value-main:not(:last-child) {
    border-bottom: 2px solid #2AA5E2;
  }
  .cow_table-rows .cow_table-item:not(.cow-item-normal) .value-main:not(:last-child) .top-label {
    border-right: 2px solid #2AA5E2;
  }

  .cow_table-rows .cow_table-item .value-main .top-label {
    width: 60%;
    /* justify-content: center;*/
    background: #fff;
    color: inherit;
    min-height: 57px;
    display: flex;
    align-items: center;
    padding-left: 14px; */
    text-align: left;
    margin-left: 0;
    border-right: 2px solid #c1dfef;
  }
  .cow_table-rows .cow_table-item .value-main .top-label-contain .top-label {
    width: 100%;
  }
  .cow_table-rows .cow_table-item .value-main .top-label-contain {
    width: 60%;
  }
  .cow_table-rows .cow_table-item:not(.cow-item-normal) .value-main .top-label {
    border-right: 2px solid #2AA5E2;
  }
  .cow_table-rows .cow_table-item .inner-value {
    border: none;
    min-height: 55px;
    width: 40%;
  }
  /*   .cow_table-rows .cow_table-item .value-main:before {
  background: #fff;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
} */
  .cow_table-rows .cow_table-item .cost-of-waiting .inner-value {
    border: none;
    justify-content: flex-start;
    padding-left: 0;
    justify-content: center;
    width: 40% !important;
  }
  .cow_table-rows .cow_table-item .not-found .cost-of-waiting .inner-value {
    width: 100% !important;
    /*     border-top: 2px solid #fff; */
  }

  .cow_values-contain:before {
    height: 0px;
  }
}