
/*
 * Additional styles for UKAAN update Oct 2024
 * WATERS 
 * 
 */

html,
body {
     box-sizing: border-box;
}
 
 
 
/*
 * Default overrides
 * 
 */
 
 body {
     font-family: "Figtree", sans-serif;
     font-optical-sizing: auto;
     font-weight: 400;
     font-style: normal;
 
     font-size: 16px;
     line-height: 19.2px;
     text-align: left;
     
     color: var(--theme-fg);
     background: var(--theme-background);
 }
 
 p {
     line-height: inherit;
 }
 
 
 
 
 
 /*
  * GENERAL CONTAINERS
  */

.page {
    min-width: 340px;
}
 
.center-container {
    position: relative;
    width: auto;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--size-2);
}

.center-block {
    margin: 0 auto;
}

 @media screen and (min-width: 720px){

     .center-container {
         padding: 0 20px;
     }

 }

 @media screen and (min-width: 1380px){

     .center-container {
         padding: 0 var(--size-5);
     }

 }
 
 
 
 
 /*
  * BRANDING
  *
  * Mobile:  logo, Account and Menu buttons
  * Tablet:  full width, larger logo, Contact Us button
  * Laptop:  search shown, Menu button hidden (the nav becomes a bar)
  * Desktop: top menu links shown, full-size logo and search
  */

  .region--header {
    background: white;
  }

  .header-strip {
     display: block;
     background: black;
     min-height: 5px;
     color: white;
 }

 .branding-container {
     padding: 0;
     flex-direction: row;
     flex-wrap: wrap;
     justify-content: space-between;

     margin: 0 auto;
     max-width: 640px;
     width: 100%;
 }

     .branding-container:empty {
         display: none;
     }

 @media screen and (min-width: 720px){

     .branding-container {
         max-width: none;
     }

 }

 @media screen and (min-width: 960px){

     .branding-container {
         padding: 16px 0;
     }

 }

 @media screen and (min-width: 1380px){

     .header-strip {
         display: block;
         background: black;
         height: 39px;
         color: white;
     }

     .branding-container {
        margin: 0 auto;
        max-width: 100%;
        justify-content: flex-start;

        padding: 23px 0;
        flex-direction: row;
     }

 }


    .top-search {
        width: auto;
        max-width: calc(100% - 199px);
    }

    .top-menu {
        display: none;
    }

    .top-cta .btn-x,
    .top-cta .btn-contact {
        display: none
    }

    .branding-container .logo,
    .branding-container .logo img {
        display: block;
        margin: 0;
    }

    .logo,
    .branding-container .logo {
        width: 100px;
        margin-right: auto;
    }

    /* The box is 88px tall at every width; contain keeps the PNG logo in proportion within it */
    .branding-container .logo img {
        width: 100px;
        object-fit: contain;
    }

    @media screen and (min-width: 720px){

        .top-cta {
            display: flex;
            gap: var(--size-2);
        }

        .top-cta .btn-contact {
            display: flex;
        }

        .logo,
        .branding-container .logo,
        .branding-container .logo img {
            width: 140px;
        }

    }

    @media screen and (min-width: 960px){

        /* Grows from 160px at 960 to 200px at 1380 */
        .logo,
        .branding-container .logo,
        .branding-container .logo img {
            width: clamp(160px, 9.52vw + 68.6px, 200px);
        }

    }

    @media screen and (min-width: 1380px){

        .top-menu,
        .top-cta {
            display: flex;
            gap: var(--size-2) !important;
        }

        .logo,
        .branding-container .logo {
             width: 200px;
             margin-right: 23px;
        }

        .branding-container .logo img {
            width: 200px;
        }

    }


     .top-menu {
         flex-grow: 1;
     }

         .top-menu a {
             color: var(--theme-default);
             padding: var(--size-1) var(--size-1);
         }

     @media screen and (min-width: 1380px){

         .top-menu a {
             padding: 9px 23px;
         }

     }


 .top-search {
   display: none;

   border: 2px solid var(--brand-line-input);
   border-radius: var(--border-radius-default);
   padding: 0;
   margin: 0;
 }

 /* Grows from 200px at 960 to 275px at 1380 */
 @media screen and (min-width: 960px){

    .top-search {
        width: clamp(200px, 17.86vw + 28.6px, 275px);
        display: block;
    }

 }

 @media screen and (min-width: 1380px){

    .top-search {
        width: 275px;
    }

 }




         .top-search fieldset {
             padding: 0;
             margin: 0;
             border: none;
             width: auto;
         }

         .top-search .form-row {
             display: flex;
             align-items: center;
             margin: 0 18px;
             padding: 0;
         }

         .top-search label {
             display: none;
             margin: 0;
             padding: 0;
         }

         .top-search [type=text] {
             width: auto;
             min-width: 0;
             flex-grow: 1;
             display: inline-flex;
             align-content: center;
             justify-content: flex-start;
             height: calc( 43px - 4px );
             margin: 0;
             padding: 0;
             border: none;
             outline: none;
         }

         .top-search button {
           background: transparent;
             width: 26px;
             height: 20px;
             border: none;
             margin: 0;
             padding: 0;
         }




        .top-cta .btn-x {
            width: 43px;
            padding-left: 0;
            padding-right: 0;
            height: calc( 43px - 18px );
        }

        .top-cta .btn-account {
            width: calc(115px - 46px);
            height: calc( 43px - 18px );
        }

        .top-cta .btn-contact {
            width: calc(133px - 46px);
            height: calc( 43px - 18px );
        }

        .branding-container  .nav-responsive-link.nav-responsive-link {
            height: calc( 43px - 18px );
        }

        @media screen and (min-width: 1380px){

            .top-cta .btn-x {
                display: flex;
            }

        }





/* Menu button, shown until the nav becomes a bar at laptop width */
.branding-container .nav-responsive-link {
    flex: 0 0 auto;
    position: static;
    font-size: 13px;
    font-weight: 700;
    width: auto;
    height: auto;
    text-transform: uppercase;

    padding-right: 24px;
}

@media screen and (min-width: 960px){

    .branding-container .nav-responsive-link {
        display: none;
    }

}







 /*
  * Main Menu
  *
  * Below laptop: a panel under the header, opened by the Menu button (toggles .menu__show, see scripting--custom.php).
  *   Submenus open with the chevron button beside each parent (.nav__sub-toggle / .is-open, see navSubmenus.js).
  * Laptop and up: a horizontal bar. Dropdowns open on mouse hover; on touch the first tap on a parent opens it
  *   (.is-open) and a second tap follows the link. Dropdown positioning is in nav.css.
  */


.nav {
    border-bottom: 4px solid var(--theme-primary);
}

    .nav .center-container {
        padding: 0;
    }

.nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.nav li {
    display: block;
    flex-grow: 1;
}

.nav a {
    display: block;
    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 10px 10px;
    font-size: inherit;
    color: #FFFFFF;
    line-height: inherit;
}

.nav ul ul li a {
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
}

@media screen and (max-width: 959.98px){

    /* top:auto keeps the panel at its static position, directly under the header whatever its height */
    .nav {
        position: absolute;
        display: none;
        top: auto;
        right: 0;
        z-index: 200;
        width: 100%;
    }

    .nav.menu__show {
        display: block;
    }

    .nav ul {
        z-index: 200;
        background-color: var(--theme-default);
        height: auto;
    }

        .nav ul li {
            border-bottom: 1px solid #fff;
            width: 100%;
            display: block;
        }

        /* Sub level: expands in place rather than as a dropdown */
        .nav li ul {
            width: 100%;
            position: relative;
            top: auto;
            left: auto;
            text-transform: uppercase;
        }

        .nav li.is-open > ul {
            display: block;
        }

        /* Chevron button beside each parent; the link keeps its own page */
        .nav .has-sub > a {
            padding-right: 54px;
        }

        .nav__sub-toggle {
            position: absolute;
            top: 0;
            right: 0;
            width: 44px;
            height: 44px;
            margin: 0;
            padding: 0;
            border: 0;
            background: transparent;
            cursor: pointer;
        }

            .nav__sub-toggle::before {
                content: "";
                position: absolute;
                top: 50%;
                left: 50%;
                width: 8px;
                height: 8px;
                margin: -6px 0 0 -5px;
                border-right: 2px solid #fff;
                border-bottom: 2px solid #fff;
                transform: rotate(45deg);
            }

            .is-open > .nav__sub-toggle::before {
                margin-top: -2px;
                transform: rotate(-135deg);
            }

}

@media screen and (min-width: 960px){

    .nav ul {
        height: 48px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .nav li {
        display: inline-block;
        flex-grow: 0;
    }

    /* Side padding grows from 10px at 960 to 30px at 1380 so all items fit on one line */
    .nav a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px clamp(10px, 4.762vw - 35.71px, 30px);
    }

    .nav ul ul li a {
        justify-content: flex-start;
        padding-left: 30px;
        padding-right: 30px;
    }

    .nav__sub-toggle {
        display: none;
    }

    /* Opened by a touch tap (navSubmenus.js) or keyboard focus */
    .nav li.is-open > ul,
    .nav .center-container > ul > li:focus-within > ul {
        display: block;
    }

    /* Dropdowns start 1px below their item (nav.css top:45px vs a 44px item), which drops :hover
       on the way down. An invisible strip belonging to the item bridges the gap. */
    .nav .center-container > ul > li::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 4px;
    }

    /* Keep the last dropdown inside the viewport */
    .nav .center-container > ul > li:last-child > ul {
        left: auto;
        right: 0;
    }

}

/* Mouse hover opens dropdowns. Limited to devices that can hover, so touch screens don't get a
   "sticky" hover on tap; they use the tap-to-open behaviour in navSubmenus.js instead. */
@media screen and (min-width: 960px) and (hover: hover){

    .nav li:hover > ul {
        display: block;
    }

}
 
 




.result-list {
    margin-bottom: 1em;
}

.result-list .result {
    background-image: none;
    padding-left: 1em;
}

.result-list .result__title {
    padding-bottom: 0;
}

.result-list .result__summary {
    margin-top: 0.5em;
    padding-bottom: 0;
}






