

body #footer-outer {
    margin-bottom: -35px;
}

div#guarantee-data h3 {
    margin-bottom: 20px;
}

.re-inspection-data {
    border-top: 1px solid #e4e4e4;
    padding-top: 50px !important;
    margin-top: 55px;
    margin-bottom: 55px;
}

.page-header-overlay-color:after {
    opacity: 0.35;
}

.re-inspection-data-outer {
    border-top: 1px solid #e1e1e1;
    padding-top: 40px;
}

.inital-inspection-data-outer {
    margin-bottom: 45px;
}









.marine-guarantee-number.gfield > label {
    font-size: 28px !important;
    line-height: 33px !important;
    font-weight: 700 !important;
}

.history-wrapper {
    padding: 0px;
}

.inspection-details {
    margin-bottom: 35px;
}

.column-headings-marine {
    background-color: #00abb0;
    color: #fff;
    font-weight: 600;
    display: flex;
    justify-content: inherit;
    text-align: left;
    font-size: 15px;
    line-height: 20px;
}

.column-headings-marine > div, .details-row > div {
    flex: 1;
    padding: 20px 20px;
    font-size: 15px;
    line-height: 20px;
}

.column-headings-marine > div:last-child {
    max-width: 120px;
}

.details-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    overflow: hidden;
    text-align: left;
    background-color: #ffffff;
    position: relative;
    font-size: 15px;    
    border: 1px solid #efefef;
    border-top: none;
}

.more-info-btn:hover {
    cursor: pointer;
}
.details-row > .more-info-btn {
    display: flex;
    align-items: center;
    color: #00abb0;
    font-weight: bold;
    max-width: 120px;
    padding-left: 0px;
}

.details-row > .more-info-btn:after {
    content: "";
    width: 10px;
    height: 10px;
    background: url(../images/plus.svg) no-repeat;
    display: block;
    margin-left: auto;
    transform: rotate(0deg);
    transform-origin: center center;
    transition: all 0.5s ease-in-out;
}

.details-row.active-row > .more-info-btn:after {
    transform: rotate(45deg);
}

.details-row > div.more-info {
    /* z-index: 3; */
    border-top: 1px solid #eaeaea;
    position: relative;
    flex-basis: 100%;
    max-height: 0;
    padding: 0;
    transition: max-height 0.5s ease-in-out;
}

.details-row.active-row {
    /* z-index: 3; */
}

.details-row.active-row > div.more-info {
    max-height: 10000px;
    /* z-index: 3; */
}

div.more-info .more-info-inner {
    max-width: 100%;
    margin: 35px;
}

.more-info-inner {
    font-size: 15px;
    line-height: 24px;
}

div.more-info .more-info-inner > div {
    margin-bottom: 20px;
}

div.more-info .more-info-inner h4 {
    font-size: 20px;
    text-transform: unset;
    margin: 0 0 15px;
}

.details {
    display: flex;
}

.details > div {
    flex: 1;
}

.boat-images-inner {
    display: grid;
    grid-template-columns: repeat(5, 19%);
    grid-gap: 1%;
}

.boat-locations {
    border-top: 1px solid #e4e4e4;
    padding-top: 35px !important;
    margin-top: 50px;
}
.boat-images {
    border-top: 1px solid #e4e4e4;
    padding-top: 35px !important;
    margin-top: 25px;
}

.location-row {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    text-align: left;
    border: 1px solid #efefef;
}

.location-row:nth-of-type(odd) {
    background-color: #efefef;
}

.location-row p:first-child {
    flex: 3;
    font-weight: 500;
}

.location-row p {
    padding: 20px;
    flex: 1;
    font-size: 15px;
    line-height: 23px;
}

/* Style the Image Used to Trigger the Modal */
#myImg {
    cursor: pointer;
    transition: 0.3s;
  }

.modal_image {
    border-radius: 3px;
    box-shadow: 0px 5px 20px rgb(0 0 0 / 2%);
    transition: all 0.35s ease;
}

.modal_image:hover {
    border-radius: 3px;
    border: #00abb0 solid 1px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0px 10px 30px rgb(0 0 0 / 17%);
    transition: all 0.35s ease;
}
  
  #myImg:hover {opacity: 0.7;}
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 10%;
    top: 10%;
    width: 80%; /* Full width */
    height: 80%; /* Full height */
    overflow: none; /* Enable scroll if needed */
    opacity: 100%;
    /* background-color: rgb(0,0,0); /* Fallback color */
    /* background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
    div#myModal:before {
        content: '';
        width: 100vw;
        height: 100vw;
        background-color: rgb(0 0 0 / 55%);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        position: fixed;
        left: 0px;
        top: 0px;
    }

  /* Modal Content (Image) */
  .modal-content {
    margin: auto;
    z-index: 1;
    border-radius: 0;
    border:#00abb0 solid 5px;
    display: block;
    width: 90%;
    position: relative;
    top: 0x;
    max-width: 700px;
  }
  
  /* Caption of Modal Image (Image Text) - Same Width as the Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation - Zoom in the Modal */
  .modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 55px;
    right: 100px;
    color: #00abb0;
    font-size: 70px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
  }
    /* The Download Button */
    .download {
        position: absolute;
        top: 58px;
        right: 150px;
        color: #00abb0;
        font-size: 80px;
        font-weight: bold;
        transition: 0.3s;
      }
      
      .download:hover,
      .download:focus {
        color: #fff;
        text-decoration: none;
        cursor: pointer;
      }

      i.fas.fa-arrow-down {
        font-size: 40px;
        top: -9px;
        right: 10px;
    }
  





/* 1300px */

@media only screen and (max-width: 1300px){
    .marine-guarantee-number.gfield > label {
        font-size: 23.8px !important;
        line-height: 28.05px !important;
    }
}

/* END */


/* 1150px */

@media only screen and (max-width: 1150px){
    div.more-info .more-info-inner {
        max-width: 100%;
        margin: 25px;
    }
}

/* END */


/* 999px */

@media only screen and (max-width: 999px){
    .more-info-inner .details {
        display: block;
    }
    .boat-images-inner {
        display: grid;
        grid-template-columns: repeat(3, 30.3%);
        grid-gap: 3%;
    }
}

/* END */



/* 769px */

  @media only screen and (max-width: 769px){
    .modal-content {
      width: 100%;
    }

    .close {
        position: absolute;
        top: 65px;
        right: 5px;
        color: #00abb0;
        font-size: 50px;
        font-weight: bold;
        transition: 0.3s;
      }

        .close:hover,
  .close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
  }

  i.fas.fa-arrow-down {
    font-size: 29px;
    top: 0px;
    right: -105px;
}
}

/* END */


/* 690px */

@media screen and (max-width: 690px) {
    .container-wrap {
        padding-bottom: 0px !important;
    }

    .container.main-content {
        max-width: 100% !important;
    }
    .gfield.marine-guarantee-number {
        padding: 0px 40px;
    }
    .inital-inspection-data,
    .re-inspection-data {
        overflow-x: auto;
        padding-top: 0px;
        width: 150vw;
        margin: 0px !important;
    }
    .inital-inspection-data-outer {
        margin-bottom: 10px;
    }

    .inital-inspection-data-outer, .re-inspection-data-outer {
        overflow: scroll;
        width: 100vw;
        -ms-overflow-style: none;
        scrollbar-width: none;
        border-top: 1px solid #e1e1e1;
        padding-top: 45px;
        padding-left: 40px;
        padding-right: 40px;
    }
    .inital-inspection-data-outer::-webkit-scrollbar,
    .re-inspection-data-outer::-webkit-scrollbar {
        display: none !important;
    }
    .more-info-inner .details {
        display: flex;
    }
    div#guarantee-data .inspection-data-outer > div:before {
        content: 'Swipe To Browse';
        position: absolute;
        right: 40px;
        font-size: 16px;
        line-height: 26px;
        opacity: 0.4;
    }

    .marine-guarantee-number.ginput_container.ginput_container_text {
        display: block !important;
    }
    .marine-guarantee-number .ginput_container_text span {
        margin-left: 0px;
        margin-top: 14px;
    }
    .page-id-15031 .container-wrap {
        padding-bottom: 20px !important;
    }
    .marine-guarantee-number.gfield > label, div#guarantee-data h3 {
        font-size: 22px !important;
        line-height: 24px !important;
    }
    div#guarantee-data {
        margin-bottom: 50px !important;
    }
    .re-inspection-data-outer .inital-inspection-data .inspection-details {
        margin-bottom: 0px;
    }
}

/* END */


/* 479px */

@media screen and (max-width: 479px) {

    body.lookup #ajax-content-wrap .container-wrap .container {
        max-width: 100% !important;
    }

    .inital-inspection-data, .re-inspection-data {
        width: 200vw;
    }
    .inital-inspection-data-outer {
        margin-bottom: 45px;
    }
    .re-inspection-data-outer {
        margin-bottom: 35px;
    }
    div#guarantee-data .inspection-data-outer > div:before {
        right: 25px;
        font-size: 14px;
        line-height: 24px;
    }
    .details > div {
        flex: 1;
        padding-right: 30px;
    }
    .inspection-details {
        margin-bottom: 0px;
    }
    .re-inspection-data {
        padding-top: 55px !important;
    }
    .gfield.marine-guarantee-number {
        padding: 0px 40px;
    }
    .marine-guarantee-number.gfield > label {
        font-size: 20px !important;
        line-height: 22px !important;
    }
}

/* END */


/* 414px */

@media only screen and (max-width: 414px){
    body .gfield.marine-guarantee-number {
        padding: 0px 30px !important;
    }
    body .inital-inspection-data-outer,
    body .re-inspection-data-outer {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .inital-inspection-data,
    .re-inspection-data {
        width: 300vw;
        margin: 0px !important;
    }
}

/* END */



/* 350px */

@media only screen and (max-width: 350px){
    body .gfield.marine-guarantee-number {
        padding: 0px 15px !important;
    }
    body .inital-inspection-data-outer,
    body .re-inspection-data-outer {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* END */














