:root{
    --allclear-blue: #2C3690;
    --allclear-green: #43CA74;
    --allclear-grey: #F3F3FB;
    --allclear-neutral: #FFF;

    --allclear-shaddow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);

    --col-33percent: calc(33.333333% - calc(calc(var(--row-gap, 0px) * 2) /3));
    --col-66percent: calc(66.666666% - calc(calc(var(--row-gap, 0px) * 1) /3));

    interpolate-size: allow-keywords;
}

body{
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
p{
    margin-top: 0px;
    margin-bottom: 0px;
}

a{
    color: var(--allclear-blue);
    font-family: Roboto;
    font-style: normal;
    font-weight: 700;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.text-blue{
    color: var(--allclear-blue);
    font-weight: 700;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 24px;
    gap: 32px;
    margin-bottom: 56px;
}

.flex-item-right {
    margin-left: auto;
}

.container-grid {
    display: grid;
    align-items: start;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 24px;
    gap: 20px;
}

.grid-1,
.grid-2,
.grid-3,
.grid-4,
.grid-5,
.grid-6{
  grid-row: auto;
}

.grid-2{
  display: flex;
  flex-wrap: wrap;
}

.grid-3{
  display: flex!important;
  align-content: flex-start!important;
  flex-wrap: wrap!important;
  box-shadow: unset;
}

.box {
    --box-bg: var(--allclear-grey);
    --box-shaddow: var(--allclear-shaddow);
    --box-border: 0.559px solid var(--allclear-grey);
    --box-gap: 24px;
    --box-padding: 24px 16px;

    display: flex;
    flex-direction: column;
    padding: var(--box-padding);
    align-items: flex-start !important;
    gap: var(--box-gap);
    border: var(--box-border);    
    border-radius: 6px;
    background: var(--box-bg);
    box-shadow: var(--box-shaddow);
    margin-block-start: 0;
}

.box-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.box-header-inner{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
}

.box ul{
    padding-inline-start: 20px;
}

.box.grid-2 ul{
    height: 70px;
    overflow: hidden;
}

.box h1{
    font-family: Roboto;
    font-size: 27px;
    font-style: normal;
    font-weight: 700;
    line-height: 32.4px;
}

.box h2{
    display: flex;
    justify-content: space-between;
    gap: 8px;

    font-family: Roboto;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 26.4px;
}

.box-blueboreder{
    --box-border:0.559px solid var(--allclear-blue);
}

.box-nobg{
    --box-bg: transparent;
}

.box-noborder{
    --box-border: unset;
}

.box-noshaddow{
    --box-shaddow: unset;
}

.box-sgap{
    --box-gap: 16px;
}

.box-nopad{
    --box-padding: 0px;
}

.box .readmore{
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: var(--allclear-blue);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 23.52px;
    background-image: linear-gradient(transparent 0%, var(--allclear-neutral) 40%);
    height: 73px;
    margin-top: -60px;
    margin-bottom: -24px;
    cursor: pointer;
}

@media only screen and (min-width: 768px) {
    
    .box.grid-2 ul{ 
        height: auto;
    }
    .box .readmore{
        display: none;
    }
}

@media only screen and (min-width: 1025px) {
    .box-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.claims-button{
    --claims-button-bg: #fff;
    --claims-min-width: 224px;
    --claims-color: var(--allclear-blue);
    --claims-border: unset;
    --claims-font-size: 20px;

    display: flex;
    /* height: 52px; */
    flex-direction: row;
    align-items: center;
    padding: 12px 24px;
    gap: 5px;
    /* flex: 1 0 0; */
    background-color: var(--claims-button-bg);
    border-radius: 5px;
    border: var(--claims-border);
    box-shadow: 0 10px 6px -6px #09104F;
    color: var(--claims-color);
    text-decoration: none;
    min-width: var(--claims-min-width);
    font-size: var(--claims-font-size);
    font-weight: 700;
    justify-content: center;
}

.claims-button svg{
    width: 20px;
    stroke-width: 4px;
}

.claims-button-blue{
    --claims-button-bg: var(--allclear-blue);
    --claims-min-width: 286.5px;
     --claims-color: #fff;
}

.claims-button-green{
    --claims-button-bg: var(--allclear-green);
    --claims-min-width: 286.5px;
     --claims-color: #fff;
}

.claims-button-blue-border{
    --claims-border: 1px solid var(--allclear-blue);
}

.row{
    --row-gap: var(--main-gap);
    --row-margin: var(--main-gap);
    display: flex;
    flex-direction: row;
    gap: var(--row-gap, inherit);
    flex-wrap: wrap;
    margin: var(--row-margin) auto;
    width: 100%;
}

.row-center{
    justify-content: center;
}

.row-left{
    justify-content: flex-start;
}

.row-right{
    justify-content: flex-end;
}

.col-left,
.col-top{
    align-items: flex-start;
}

.col-center{
    align-items: center;
}

.col-right,
.col-bottom{
    align-items: flex-end;
}


.col-33{
    width: var(--col-33percent);
}

.col-66{
    width: var(--col-66percent);
}

.col-100{
    width: 100%;
}


@media only screen and (min-width: 425px) {
    .S-col-33{
        width: var(--col-33percent);
    }

    .S-col-66{
        width: var(--col-66percent);
    }
}

@media only screen and (min-width: 768px) {
    .box h1{
        font-size: 37px;
        line-height: 58px;
    }

    .box h2{
        font-size: 24px;
        line-height: 28.8px;
    }

    .M-col-33{
        width: var(--col-33percent);
    }

    .M-col-66{
        width: var(--col-66percent);
    }
}

@media only screen and (min-width: 1024px) {

    .L-col-33{
        width: var(--col-33percent);
    }

    .L-col-66{
        width: var(--col-66percent);
    }
}

 @media only screen and (min-width: 1025px) {

  .container {
    padding: 56px 24px;
  }

  .container-grid {
    padding: 56px 24px;
    grid-template-columns: 1.3fr 1.3fr 1fr;
  }

  .grid-1{
      grid-column: 1 / 3;
  }

  .grid-2{
      grid-column: 3 / 4;
      grid-row: 1 /5;
  }

  .grid-3{
      grid-column: 1 / 3;
      grid-row: 2 /3;
  }

  .grid-4{
      grid-column: 1 / 3;
      grid-row: 3 /4;
  }

  .grid-5{
    grid-column: 1 / 3;
    grid-row: 4 /5;
}

  .box-col{
    flex-direction: column;
  }

}


 @media only screen and (min-width: 1224px) {

  .container-grid,
  .container {
    padding: 56px 0;
  }
}

/* Modals */

 /* The Modal (background) */
.modal {
  max-width: 100% !important;
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999999999; /* Sit on top */
  left: 50%;
  top: 50%;
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(4, 48, 111, 0.80); /* Black w/ opacity */
  margin-block-start: 0;
  margin-block-end: 0;
}

  /* The Modal (background) */
.modal-bg {
  max-width: 100% !important;
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999999999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(4, 48, 111, 0.80); /* Black w/ opacity */
  margin-block-start: 0;
  margin-block-end: 0;
}

/* Modal Content/Box */
.modal-content {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fefefe;
  margin: auto;
  padding: 32px 0 0 0;
  border: 1px solid #888;
  width: 90vw;
  height: max-content;
  max-width: 912px;
  max-height: 90vh;
  border-radius: 6px;
  border: 1px solid var(--allclear-grey);
  background: #FFF;
  box-sizing: border-box;
}

.modal-content-inner{
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: 24px 48px;
  gap: 24px;
}

.modal-content-head{
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding: 0px 48px;
}

.modal-content-head img{
  width: 60px;
}

.modal-content-head h2{
  color: var(--allclear-blue);
  font-size: 37px;
  font-weight: 700;
  line-height: 44.4px;
  margin-block-start: 0;
  margin-block-end: 0;
}

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

.modal-content-main{
  display: flex;
  flex-direction: column;
}

.modal-content-main p,
.modal-content-warning p{
  color: var(--clr-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 21px;
  margin-block-start: 0;
  /* margin-block-end: 15px; */
}

.modal-content-main span{
  font-weight: 700;
}

.modal-content-warning{
  display: flex;
  flex-direction: row;
  background: #fff8e6;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  margin: 0px 0px;
  align-items: center;
  justify-content: center;
}

.modal-content-warning img{
  width: 24px;
  height: 24px;
}

.modal-content-foot{
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-end;
  position: sticky;
  padding: 24px 48px;
}

.modal-content-foot-left{
    justify-content: flex-start;
}

@media only screen and (min-width: 1024px) {
    .modal-content-head,
    .modal-content-foot{
        flex-direction: row;
    }
    
    .modal-content-head{
        gap: 40px;
    }
}

/* tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip svg{
    transform: translateY(-10px);
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 268px;
    display: flex;
    padding: 24px 32px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    border-radius: 3px;
    background: #FFF;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: -15px;
    right: 24px;

    box-shadow: var(--allclear-shaddow);
}

.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 10px;
    left: unset;
    right: -20px;
    margin-left: 0;
    border-width: 10px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
    transform: rotate(-90deg);
}

.tooltip .tooltiptext .tooltip-head{
    color: #2C3690;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
}

.tooltip .tooltiptext .tooltip-main{
    color: #333;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

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


@media only screen and (min-width: 1025px) {
    .tooltip .tooltiptext {
    width: 368px;
    left: 24px;
}

.tooltip .tooltiptext::after {
    left: -20px;
    right: unset;
    transform: rotate(90deg);
}
}

/* Accordian */

details {
    width: 100%;
    align-self: stretch;
    border-radius: 6px;
    background: #F3F3FB;
    overflow: hidden;
}

details:hover {
    box-shadow: 2px 2px 2px 1px #e6e6e6;
}

details::details-content{
    block-size: 0;
    transition: 
        block-size 0.5s,
        content-visibility 0.5s;
    transition-behavior: allow-discrete;
}

details[open]::details-content{
    block-size: auto;
}

details[open] summary{
   background: var(--allclear-blue);
   color: #fff;
}

details[open] summary .flex-item-right{
   transform: rotate(180deg);
}

details[open] summary .flex-item-right g g path{
   fill: #fff;
}

details summary {
    display: flex;
    padding: 24px;
    cursor: pointer;
    align-items: center;
    gap: 24px;
    color: var(--allclear-blue);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 26.46px;
    border-radius: 6px 6px 0 0;
}

.details-main {
    display: flex;
    padding: 48px 21px;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
    border-radius: 0 0 8px 8px;
    border: 1px solid #ADAEB1;
    background: #F4F5F9;
    flex-direction: column;
}