/*
 Theme Name:   WP Bootstrap Starter Child
 Description:  WP Bootstrap Starter Child Theme
 Author:       Danny Charron
 Template:     wp-bootstrap-starter
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  wpbootstrapstarterchild
*/

/* Flex Items */

section,
.safety-index,
.safety-index .container-fluid,
.safety-index aside,
.safety-index aside .icon,
.dropdown-country button,
.dropdown-by-topic button,
.dropdown-select-country,
.dropdown-select-by-topic,
.safety-index .dropdown-select-country a,
.safety-index .dropdown-select-by-topic a,
.safety-index aside .or p,
.data-partners .container-fluid,
.data-partners aside,
section.about-ul,
.about-ul .container-fluid,
.resource-library .aside-view-all a,
.recent-resources,
.resource-type {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  flex-wrap: nowrap;
  -ms-align-items: center;
  align-items: center;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
}

/* UL Safety Index */

  .ul-safety-index {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column; 
    -ms-align-items: center;
    align-items: center;
    align-content: center;
    justify-content: center;
    color: #222;	
    font-family: "Open Sans", Arial, sans-serif;	
    text-align: center;
  }
  
    .ul-safety-index h1 {
      margin-top: 10rem;
      font-size: 110px;	
      font-weight: 800;	
    }
    
      .ul-safety-index h1 span {
        color: #BE0F34;
      }
      
      .ul-safety-index .sub-heading {
        font-size: 25px;
        font-weight: 600;
      }
      
      .ul-safety-index .text  {
        margin: 3rem auto;
        width: 90%;
        max-width: 900px;
        color: #444;
        font-size: 16px;
        line-height: 2;
      }
      
      .safety-index {
        position: relative;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        -ms-align-items: center;
        margin-top: 10rem;
        padding: 10rem 0;
        width: 100%;
        height: auto;
        min-height: 900px;
        color: #fff;
        background: url('/wp-content/uploads/bg-ul-safety-index.jpg') center center no-repeat;
        background-size: cover;
          -webkit-background-size: cover;
      }
      
        .safety-index:before {
          position: absolute;
          top: 0;
          left: 0;
          display: block;
          content: '';
          width: 100%;
          height: 150px;
          background-image: -webkit-linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 95%);
          background-image: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 95%);
        }
        
        .safety-index .arrow-down {
          position: absolute;
          top: -50px;
          left: 50%;
          margin-left: -20px;
          z-index: 3;
        }
        
        .safety-index .container-fluid {
          align-items: flex-start;
          -ms-align-items: flex-start;
        }
        
        .safety-index aside {
          position: relative;
          -webkit-flex-direction: column;
          -ms-flex-direction: column;
          flex-direction: column;
          flex-wrap: nowrap;
          justify-content: flex-start;
          margin: 0 0.8rem;
          padding: 7rem 0;
          width: 33.33%;
          max-width: 400px;
          height: auto;
          min-height: 400px;
          color: #222;
          font-size: 16px;
          font-size: 1rem;
          background-color: #fff;
          border-radius: 10px;
          z-index: 2;
          transition: all 0.3s ease-out;
            -webkit-transition: all 0.3s ease-out;
        }
        
        .safety-index aside a {
          position: absolute;
          top: 0;
          left: 0;
          display: block;
          width: 100%;
          height: 100%;
        }
        
        /* .safety-index aside:nth-of-type(1) {
          padding-top: 5rem;
          color: #fff;
          background-color: #BE0F34;
          z-index: 3;
          box-shadow: 0 50px 30px 0 rgba(0,0,0,0.5);
            -webkit-box-shadow: 0 50px 30px 0 rgba(0,0,0,0.5);
        } */
        
        .safety-index aside:hover,
        .safety-index aside:active {
          color: #fff;
          background-color: #BE0F34;
        }
        
        .safety-index aside h2 {
          font-size: 26px;
          font-size: 2.6rem;
          font-weight: 600;
        }
        
        .safety-index aside p {
          margin: 0 auto;
          width: 80%;
          min-height: 60px;
        }
        
        .safety-index aside .icon {
          -webkit-flex-direction: row;
          -ms-flex-direction: row;
          flex-direction: row;
          flex-wrap: nowrap;
          margin-bottom: 1rem;
          width: 110px;
          height: 110px;
        }
        
        .safety-index aside .arrow {
          display: -webkit-flex;
          display: -ms-flex;
          display: flex;
          margin-top: 2rem;
          flex-grow: 2;
        }
        
        .safety aside svg {
          transition: all 0.3s ease-out;
          -webkit-transition: all 0.3s ease-out;
        }
        
        .safety-index aside .arrow svg {
          width: 18px;
          height: 18px;
        }
        
        .safety-index aside:hover .arrow .fill,
        .safety-index aside:hover .icon .fill,
        .safety-index aside:active .arrow .fill,
        .safety-index aside:active .icon .fill {
          fill: #fff;
        }
        
        .dropdown-country,
        .dropdown-by-topic {
          width: 80%;
          display: none;
        }
        
        .dropdown-country button,
        .dropdown-by-topic button {
          position: relative;
          justify-content: flex-start;
          padding: 2rem;
          width: 100%;
          height: 60px;
          border-radius: 5px;
          color: #fff !important;
          font-size: 16px;
          font-size: 1.6rem;
          background: #980C29;
          transition: all 0.3s ease-out;
            -webkit-transition: all 0.3s ease-out;
        }
        
        .dropdown-country button:focus,
        .dropdown-country button:active,        
        .dropdown-by-topic button:focus,
        .dropdown-by-topic button:active {
          color: #fff !important;
          box-shadow: 0 0 0 2px #FF3762;
            -webkit-box-shadow: 0 0 0 2px #FF3762;
        }
        
        .btn-country:after,
        .btn-by-topic:after {
          position: absolute;
          top: 28px;
          right: 1.5rem;
        }
        
        .dropdown-menu.dropdown-select-country,
        .dropdown-menu.dropdown-select-by-topic {
          -webkit-flex-direction: column;
          -ms-flex-direction: column;
          flex-direction: column;
          flex-wrap: nowrap;
          margin-top: 0.7rem;
          padding: 2rem 0;
          width: 100%;
          height: 300px;
          background-color: #fff;
          border-radius: 5px;
          overflow-y: scroll;
          box-shadow: 0 30px 30px 0 rgba(0,0,0,0.3);
            -webkit-box-shadow: 0 30px 30px 0 rgba(0,0,0,0.3);
        }
        
        .safety-index .dropdown-select-country a,
        .safety-index .dropdown-select-by-topic a {
          position: relative;
          top: initial;
          left: initial;
          padding: 2rem 2rem;
          width: 100%;
          height: 35px;
          font-size: 16px; font-size: 1.6rem;
          line-height: 1.2;
          justify-content: flex-start;
          transition: all 0.3s ease-out;
            -webkit-transition: all 0.3s ease-out;
        }
        
        .dropdown-select-country a:link,
        .dropdown-select-country a:visited,
        .dropdown-select-by-topic a:link,
        .dropdown-select-by-topic a:visited {
          color: #BE0F34;
        }
        
        .dropdown-select-country a:hover,
        .dropdown-select-country a:focus
        .dropdown-select-country a:visited,
        .dropdown-select-by-topic a:hover,
        .dropdown-select-by-topic a:focus
        .dropdown-select-by-topic a:visited {
          background-color: #E7EBF0;
          text-decoration: none;
        }
        
        .or {
          position: relative;
          display: block;
          width: 100%;
          display: none;
        }
        
          .safety-index aside .or:before {
            position: absolute;
            top: 40px;
            left: 0;
            display: block;
            content: '';
            width: 100%;
            height: 1px;
            background-color: rgba(255, 255, 255, 0.2);
            z-index: 1;
          }
        
          .safety-index aside .or p {
            position: relative;
            margin: 1.5rem auto;
            width: 50px;
            height: 50px;
            min-height: 50px;
            font-size: 14px;
            font-family: 'Open Sans', Helvetica, Arial, sans-serif;
            font-weight: 600;
            text-transform: uppercase;
            background: #BE0F34;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 100px;
            z-index: 2;
          }
          
          @media (max-width: 1180px) {
            
            .ul-safety-index {
              padding: 8rem 0 0;
            }
            
              .ul-safety-index h1 {
                margin-top: 2rem;
                font-size: 50px; font-size: 5.0rem; 
              }
            
          }
        
        
/* UL Safety Index */

/* Data Partners */

.data-partners {
  padding-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

  section .container-fluid {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    padding: 0;
    max-width: 90%;
    align-content: center;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
  }

  .data-partners aside {
    padding: 4rem 0;
    width: 30%;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    align-content: flex-start;
    -ms-align-items: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
  }
  
    .data-partners h2 {
      margin-top: 1rem;
    }
  
    .data-partners p {
      margin-top: 1rem;
      width: 80%;
    }

    .data-partners .data-partners-logos {
      position: relative;
      padding: 0;
      margin-right: 1rem;
      width: 70%;
      -webkit-flex-direction: row;
      -ms-flex-direction: row;
      flex-direction: row;
      align-content: flex-start;
      -ms-align-items: flex-start;
      align-items: flex-start;
      justify-content: flex-start;
      text-align: left;
    }
    
      .data-partners .data-partners-logos p {
        display: -webkit-flex;
        display: -ms-flex;
        display: flex;
        width: 100%;
        justify-content: center;
      }
    
      .data-partners .data-partners-logos:before {
        position: absolute;
        top: 1rem;
        left: 0;
        display: block;
        content: '';
        width: 1px;
        height: 150px;
        background-color: rgba(0, 0, 0, 0.1);
      }

/* Data Partners */

/* About the UL Safety Index */

.about-ul {
  position: relative;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  /* overflow-x: hidden; */
}

  .about-ul .container-fluid {
    padding: 0;
    max-width: 100%;
    -ms-align-items: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
  }
  
  .about-ul h2 {
    margin-bottom: 4rem;
    width: 100%;
    line-height: 1.2;
    font-weight: 700;
  }
  
  .about-ul h2 span {
    display: block;
  }

  .about-ul aside {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;11rem
    align-content: flex-start;
    -ms-align-items: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 1000px;
  }
  
  .about-ul .about-content {
    padding: 10rem 5%;
    width: 45%;
  }
  
  .about-ul .about-content p {
    margin-bottom: 4rem;
    width: 80%;
  }
  
  .about-ul .aside-img {
    position: relative;
    width: 55%;
    -ms-align-items: flex-end;
    align-items: flex-end;
    overflow: hidden;
  }
  
  .about-ul .aside-img div {
    position: relative;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    align-content: center;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    width: 80%;
    z-index: 2;
    max-width: 490px;
    color: #fff;
  }
  
  .page-template-home .about-ul .aside-img:before {
    position: absolute;
    top: 0;
    right: 0;
    content: '';
    width: 90%;
    max-width: 485px;
    height: 100%;
    background-color: #BE0F34;
    z-index: 1;
  }
  
  .aside-img .img-ui {
    position: absolute;
    top: -100px;
    right: -235px;
    width: 1070px;
    height: auto;
    z-index: 2;
  }
  
  .aside-img .icon-data-driven-safety-measures {
    margin-right: 2rem;
  }
  
  .about-ul .aside-img div p {
    margin-top: 1rem;
    max-width: 220px;
    font-weight: 500;
    line-height: 1.6;
  }
  
  .page-template-home .aside-img span {
    position: absolute;
    top: 105px;
    right: 485px;
    display: block;
    width: 83px;
    height: 247px;
    border-top: 2px dashed #979797;
    border-left: 2px dashed #979797;
  }
  
  .page-template-home .aside-img span:before, 
  .page-template-home .aside-img span:after {
    position: absolute;
    display: block;
    content: '';
    height: 19px;	
    width: 19px;	
    border: 2px solid #FFFFFF;	
    background-color: #BE0F34;
    border-radius: 50px;
    z-index: 3;
  }
  
  .page-template-home .aside-img span:before {
    bottom: 20px;
    left: -9px;
  } 
  
  .page-template-home .aside-img span:after {
    top: -10px;
    right: -10px;
  }

/* About the UL Safety Index */

/* UL News */

.ul-news {
  align-content: stretch;
  -ms-align-items: stretch;
  align-items: stretch;
  height: auto;
  min-height: 600px;
  background-color: #EBF0F6;
}

  .ul-news .container-fluid {
    max-width: 100%;
  }

  .ul-news aside {
    position: relative;
    padding: 0;
    width: 50%;
    height: auto;
    min-height: 600px;
  }
  
  .aside-more-news {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  
  .ul-news h2 {
    margin-bottom: 4rem;
    width: 95%;
    font-size: 30px; font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
  }
  
  .news-category {
    display: block;
    margin-bottom: 3rem;
    height: 30px;
    width: 90px;	
    color: #fff;
    font-size: 16px; font-size: 1.6rem;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.8;
    text-align: center;
    background-color: #BE0F34;
    border-radius: 100px;	
  }
  
  .category-events {
    background-color: #636F85;
  }
  
  .ul-news .latest-news,
  .ul-news .latest-news .news-body {
    padding: 10rem 10% 5rem;
  }
  
  .aside-more-news .latest-news {
    position: relative;
    padding: 0;
    min-height: 450px;
    color: #fff;
    background-color: #272C35;
  }
  
  .ul-news aside a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 4;
  }
  
  .aside-more-news .latest-news {
    overflow: hidden;
  }
  
  .aside-more-news .news-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    z-index: 2;
  }
  
  .aside-more-news .news-img {
    background-position: right top;
  }
  
  .aside-more-news .latest-news .news-img {
    position: absolute;
    top: 0;
  }
  
  .aside-more-news .latest-news h2,
  .aside-more-news .latest-event h2 {
    flex-grow: 2;
    width: 90%;
    max-width: 340px;
    font-size: 30px; font-size: 3.0rem;
  }
  
  .aside-more-news .news-img {
    filter: blur(20px);
    transition: all 0.5s ease-out;
      -webkit-transition: all 0.5s ease-out;
  }
  
  .aside-more-news .news-img:before {
    position: absolute;
    top: 0;
    left: 0;
    content: ''; 
    width: 0;
    height: 100%;
    background-color: #272C35;
    transition: all 0.5s ease-out;
      -webkit-transition: all 0.5s ease-out;  
  }
  
  .aside-more-news .news-body {
    position: relative;
    z-index: 3;
  }
  
  .aside-more-news .news-body {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 450px;
  }
  
  .aside-more-news .latest-news .arrow-right {
    position: relative;
    z-index: 4;
    align-self: flex-end;
    background-image: url('/wp-content/uploads/link-arrow-right-white@1.5x.svg');
  }
  
  .aside-more-news a:hover + .news-img,
  .aside-more-news a:active + .news-img {
    filter: blur(0);
  }
  
  .aside-more-news a:hover + .news-img:before,
  .aside-more-news a:active + .news-img:before {
    width: 75%;
  }
  

/* UL News */

/* Resource Library */

.resource-library {
  padding: 8rem 5%;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

  .resource-library h2 {
    font-size: 30px; font-size: 3.0rem;
    font-weight: 700;
  }
  
  .resource-library .heading,
  .resource-library .aside-view-all {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
  }
  
  .resource-library .heading {
    width: 100%;
    margin-bottom: 3rem;
    justify-content: space-between;
  }
  
  .resource-library .aside-view-all {
    width: 50%;
    max-width: 338px;
    align-content: center;
    -ms-align-items: center;
    align-items: center;
    justify-content: flex-end;
    color: #222;
  }
  
      .resource-library .aside-view-all p {
        margin: 0 2rem 0 0;
        padding-right: 2rem;
        height: 40px;
        font-size: 20px;font-size: 2.0rem;
        font-family: 'Open Sans', Helvetica, Arial, sans-serif;
        font-weight: 700;
        border-right: 1px solid rgba(0,0,0,0.1);
      }
      
      .resource-library .aside-view-all p span {
        color: #BE0F34;
      }
      
      .resource-library .aside-view-all a {
        width: 105px;
        height: 40px;
        color: #222;
        font-size: 16px; font-size: 1.6rem;
        font-weight: 400;
        justify-content: space-between;
        text-decoration: none;
      }
      
      .recent-resources {
        flex-wrap: wrap;
        justify-content: flex-start;
      }
      
        .aside-resource {
          position: relative;
          display: -webkit-flex;
          display: -ms-flex;
          display: flex;
          justify-content: space-between;
          margin: 0 0 1% 1%;
          padding: 0 0 3rem 3rem;
          width: 32.6%;
          height: 140px;
          color: #222;
          background-color: #EBF0F6;
          border-radius: 10px;
        }
        
        .aside-resource .btn-download-resource {
          display: -webkit-flex;
          display: -ms-flex;
          display: flex;
          -webkit-flex-direction: row;
          -ms-flex-direction: row;
          flex-direction: row;
          justify-content: space-between;
          width: 100%;
          height: 100%;
          color: #222;
        }

          .recent-resources .aside-resource:nth-of-type(1),
          .recent-resources .aside-resource:nth-of-type(4) {
          margin-left: 0;
        }
        
        .aside-resource p {
          color: #222;
          padding-top: 3rem;
          transition: all 0.3s ease-out;
            -webkit-transition: all 0.3s ease-out;
        }
        
        .aside-resource p span {
          display: block;
          width: 100%;
          font-family: 'Open Sans', Helvetica, Arial, sans-serif;
        }
        
        .aside-resource p:nth-child(1) {
          flex-grow: 2;
        }
        
        .aside-resource .added-date {
          opacity: 0.3;
          font-size: 14px; font-size: 1.4rem;
        }
        
        .resource-title {
          display: block;
          width: 90%;
          max-width: 300px; 
          font-size: 18px; font-size: 1.8rem;
          line-height: 1.4;
          font-weight: 600;
          color: #222;
        }
        
        .download-resource {
          position: relative;
          padding: 3rem 2rem;
          width: 85px;
          height: auto;
          min-height: 140px;
          text-align: center;
          text-decoration: none;
          border-radius: 0 10px 10px 0;
          transition: all 0.3s ease-out;
            -webkit-transition: all 0.3s ease-out;
        }
        
          .download-resource .view-download {
            position: absolute;
            top: 15px;
            right: -50px;
            padding-top: 2px;
          	height: 26px;
          	width: 90px;
            color: #fff;
          	background-color: rgba(0,0,0,0.9);
            border-radius: 3px;
            font-size: 12px; font-size: 1.2rem;
            line-height: 1.8;
            text-align: center;
            z-index: 3;
            visibility: hidden;
            opacity: 0;
          }
          
          .aside-resource .resource-type {
            position: relative;
            display: block;
            display: -webkit-flex;
            display: -ms-flex;
            display: flex;
            width: 50px;
            height: 50px;
            color: #BE0F34;
            font-size: 14px; font-size: 1.4rem;
            font-weight: 700;
            background-color: #fff;
            border-radius: 100px;
          }
          
          .aside-resource .resource-size {
            display: block;
            margin-top: 1rem;
            font-size: 14px; font-size: 1.4rem;
            opacity: 0.3;
          }
          
          .aside-resource .resource-type:before {
            position: absolute;
            top: -5px;
            left: -5px;
            content: '';
            width: 60px;
            height: 60px;
            border: 1px dashed #fff;
            padding: 10px;
            transition: background-position 2s;
            visibility: hidden;
            opacity: 0;
            border-radius: 100px;
            transition: all 0.3s ease-out;
              -webkit-transition: all 0.3s ease-out;
          }
          
        .library-text {
          display: block;
          margin: 5rem auto 4rem;
          width: 70%;
          color: #444;
          text-align: center;
        }
        
        .library-text:empty {
          display: none;
        }
        
        .resource-library .btn-primary {
          margin: 5rem auto 0;
          max-width: 220px;
        }
        
        /* Hover Effects */
        
        .aside-resource .btn-download-resource:hover {
          text-decoration: none;
        }
        
        .aside-resource .btn-download-resource:hover .resource-title {
          color: #BE0F34;
        }
        
        .aside-resource .btn-download-resource:hover .download-resource {
          background: #BE0F34;
          text-decoration: none;
          color: #fff;
        }  
        
        .aside-resource .btn-download-resource:hover .resource-size {
          opacity: 1;
        }
        
        .aside-resource .btn-download-resource:hover .resource-type:before,
        .aside-resource .btn-download-resource:hover .download-resource .view-download  {
          visibility: visible;
          opacity: 1;
        }
        
        .aside-resource .btn-download-resource:hover .resource-type:before {
          -webkit-transform: rotate(40deg);  
          -ms-transform: rotate(40deg);  
          transform: rotate(40deg); 
          transition-delay: 0.1s;
        }
        
/* Resource Library */

@media (max-width: 1400px) {
  
  .data-partners .data-partners-logos::before {
    display: none;
  }
  
  .about-ul .container-fluid {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    align-content: center;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
  }
  
  .about-ul .container-fluid aside {
    width: 100%;
    min-height: 500px;
  }
  
  .about-ul .about-content {
    padding-right: 5%;
    padding-left: 5%;
  }
  
  .about-ul .aside-img {
    /* overflow: hidden; */
  }
  
  .about-ul .aside-img::before {
    width: 100%;
    max-width: 100%;
  }
  
  .about-ul .aside-img div {
    padding: 5rem;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
  }
  
  .aside-img .img-ui {
    top: -260px;
  }
  
  .aside-img span,
  .page-template-home .aside-img span {
    display: none;
  }
  
  .page-template-home .about-ul .aside-img::before {
    width: 100%;
    max-width: 100%;
  }
  
}

/* 1200px or less */

@media (max-width: 1200px) {
  
  section .container-fluid {
    padding: 4rem;
    width: 100%;
    max-width: 100%;
  }
  
  .ul-news .container-fluid {
    padding: 0;
  }
  
  .safety-index .container-fluid,
  .data-partners .container-fluid,
  .data-partners aside,
  .data-partners .data-partners-logos,
  .ul-news .container-fluid {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    align-content: center;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
  }
  
  .data-partners .data-partners-logos p {
    flex-wrap: wrap;
  }
  
  .ul-safety-index .h1,
  .ul-safety-index .sub-heading,
  .ul-safety-index .text {
    padding-right: 2rem;
    padding-left: 2rem;
    margin-bottom: 2rem;
  }
  
  .safety-index {
    margin-top: 5rem;
    padding: 8rem 0 0;
  }
  
  .safety-index aside,
  .data-partners aside,
  .data-partners .data-partners-logos {
    margin-bottom: 2rem;
    width: 94%;
  }
  
    .safety-index aside {
      margin: 0 auto 2rem;
      max-width: 600px;
    }
    
  .data-partners {
    border: none;
  }
    
  .data-partners aside {
    text-align: center;
  }
  
  .about-ul .about-content {
    text-align: center;
    justify-content: center;
  }
  
    .about-ul .about-content p {
      width: 100%;
    }
    
    .about-ul .about-content .btn  {
      margin: 0 auto;
    }
    
  .data-partners .data-partners-logos::before {
    position: relative;
    top: initial;
    left: initial;
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 1px;
  }
  
  .aside-img .img-ui {
    /* top: 25px; */
  }
  
  .about-ul .about-content {
    padding: 0 4rem 10%;
  }
  
  .data-partners .container-fluid {
    padding-top: 0;
  }
  
  .ul-news aside {
    width: 100%;
    max-width: 100%;
    min-height: 300px;
  }
  
  .ul-news .latest-news {
    padding: 5rem 4rem 5rem;
    min-height: 250px;
  }
  
    .ul-news .latest-news .news-body {
      padding: 0;
      min-height: 300px;
    }
    
  .recent-resources {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .download-resource .view-download {
    display: none;
  }
  
  .resource-library .aside-view-all p {
    line-height: 1.9;
  }
    
  .aside-resource,
  .aside-resource:nth-of-type(1), 
  .aside-resource:nth-of-type(4) {
    margin: 0 0 2rem 0;
  }
  
  .aside-resource .added-date {
    margin-bottom: 0.5rem;
  }
  
  .resource-title {
    font-size: 16px; font-size: 1.6rem;
  }
    
}

/* 1200px or less */


/* 1000px or less */

@media (max-width: 1000px) {
  
  .resource-library {
    padding: 4rem;
  }
  
  .aside-resource,
  .aside-resource:nth-of-type(1), 
  .aside-resource:nth-of-type(4) {
    margin-bottom: 2%;
    width: 49%;
  }
  
}

/* 1000px or less */

/* 768px or less */

@media (max-width: 768px) {
  
  .ul-safety-index h1 {
    font-size: 40px; font-size: 4rem
  }
  
  .aside-img .img-ui {
    top: -150px;
    /* width: 541px; */
  }
  
  .data-partners,
  .data-partners .data-partners-logos,
  .data-partners .data-partners-logos p {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  
  .resource-library .heading {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  
  .resource-library .aside-view-all {
    margin-top: 1rem;
    width: 100%;
    justify-content: flex-start;
  }
  
  .safety-index aside,
  .aside-resource,
  .aside-resource:nth-of-type(1), 
  .aside-resource:nth-of-type(4) {
    margin-bottom: 1.5rem;
    width: 100%;
  }
  
  .safety-index .arrow-down{
    display: none;
  }
  
  .safety-index {
    margin: 3rem auto;
    padding: 0;
    background-image: none;
  }
  
  .safety-index .container-fluid {
    padding: 0;
  }
  
    .safety-index aside,
    .safety-index aside:nth-of-type(1) {
      margin: 0 auto;
      max-width: 100%;
      border-radius: 0;
      box-shadow: none;
        -webkit-box-shadow: none;
    }
  
}

/* 768px or less */


/* 460px or less */

@media (max-width: 460px) {
  
  .aside-img .img-ui {
    /* top: 145px; */
  }
  
  .resource-library .aside-view-all p {
    font-size: 18px; font-size: 1.8rem;
  }
  
  .resource-title {
    font-size: 15px; font-size: 1.5rem;
    line-height: 1.5;
  }
  
}

/* 460px or less */








































































