.embed-container.cibc-container {
    --video--width: 950;
    --video--height: 553;
    background-image: url(../img/cibc-video-background.jpg);
    background-size: cover;    
}

.headline-library-corporate.cibc-library {
    background-image: url(../img/cibc-background-library.jpg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: auto;
    margin-bottom: 45rem;
    padding: 5rem 0 0 0 !important;
    -webkit-box-shadow: inset 0 -3px 3px rgba(0,0,0,0.25); 
       -moz-box-shadow: inset 0 -3px 3px rgba(0,0,0,0.25); 
            box-shadow: inset 0 -3px 3px rgba(0,0,0,0.25);    
}
    @media (max-width: 1430px) {
      .headline-library-corporate.cibc-library {
          margin-bottom: 60rem;
      }
    }
    @media (max-width: 1024px) {
      .headline-library-corporate.cibc-library {
          margin-bottom: 20rem;
      }
    }
    @media (max-width: 900px) {
      .headline-library-corporate.cibc-library {
          margin-bottom: 35rem;
      }
    }
    @media (max-width: 759px) {
      .headline-library-corporate.cibc-library {
          margin-bottom: 50rem;
      }
    }
    @media (max-width: 600px) {
      .headline-library-corporate.cibc-library {
          margin-bottom: 65rem;
      }
    }
    @media (max-width: 450px) {
      .headline-library-corporate.cibc-library {
          margin-bottom: 75rem;
      }
    }
    @media (max-width: 400px) {
      .headline-library-corporate.cibc-library {
          margin-bottom: 85rem;
      }
    }
    @media (max-width: 360px) {
      .headline-library-corporate.cibc-library {
          margin-bottom: 100rem;
      }
    }




/** CIBC Goodbye Styles **/

.left-image-mobile {
    display: none;
}

.cibc-goodbye-message {
    position: relative;
    width: 1366px;
    height: 700px;
    margin: 5rem auto auto auto;
}
    @media (max-width: 1430px) {
      .cibc-goodbye-message {
        width: 1024px;
      }
    }
    @media (max-width: 1024px) {
      .cibc-goodbye-message {
        width: 90%;
      }
    }

.goodbye-container {
    position: absolute;
    width: 100%;
    background: #000;
    border: 1px solid white;
    box-sizing: border-box;
    padding: 3rem;
}
    @media (max-width: 900px) {
    .goodbye-container {
        padding: 2rem;
    }  
  }  

.goodbye-container .signature {
    width: 200px;
}

.goodbye-container p {
    font-weight: 500;
    color: #fff;
    font-size: 1.5rem;
    line-height: 2rem;
    padding: 1.5rem 0;
}
    @media (max-width: 1024px) {
      .goodbye-container p {
        font-size: 1rem;
        line-height: 1.5rem;
        padding: .5rem 0;
      }
    }  

.goodbye-container .image-text {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
    @media (max-width: 900px) {
      .goodbye-container .image-text {
        display: block;
      }
    }  

.goodbye-container .image-text .left-image {
    width: 45%;
    padding: 2rem 2rem 0 0;
    box-sizing: border-box;
}

.goodbye-container .image-text .left-image img {
    width: 100%;
}
    @media (max-width: 1024px) {
      .goodbye-container .image-text .left-image {
        width: 50%;
      }
    }
    @media (max-width: 900px) {
      .goodbye-container .image-text .left-image {
        display: none;
      }
      .left-image-mobile {
        display: block;
        width: 275px;
          margin: 2rem auto;
      }
    }

.goodbye-container .image-text .right-container {
    width: 100%;
}

.goodbye-container .image-text .right-message {
    width: 100%;
}

/** / CIBC Goodbye Styles **/























.headline-library-corporate.cibc-library .cibc-box {
    text-align: left;
 }

.headline-library-corporate.cibc-library .container {
    color: #fff;
    width:  1250px;
    margin: 0 auto;
    padding: 2rem 1rem !important;
    box-sizing: border-box;
    position: relative;
}

.cibc-welcome-message {
    width: 700px;
    margin: 0 auto;
    color: #fff;
}

.cibc-welcome-message .left {
    float: left;
    width: 275px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 2.75rem;
    margin-top: 1.5rem;
}

.cibc-welcome-message .middle {
    float: left;
    width: 125px;
}

.cibc-welcome-message .middle img {
    width: 100%;
}

.cibc-welcome-message .right {
    float: left;
    width: 275px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 2.75rem;
    margin-top: 1.5rem;
}

    @media (max-width: 991px) {
        .cibc-welcome-message {
            width: 700px;
            margin: 0 auto;
        }
        .cibc-welcome-message .left {
            float: left;
            width: 275px;
            font-size: 2.75rem;
        }
        .cibc-welcome-message .middle {
            float: left;
            width: 125px;
        }
        .cibc-welcome-message .middle img {
            width: 100%;
        }
        .cibc-welcome-message .right {
            float: left;
            width: 275px;
            font-size: 2.75rem;
        }
    }

    @media (max-width: 767px) {
        .cibc-welcome-message {
            width: 500px;
        }
        .cibc-welcome-message .left {
            width: 185px;
            font-size: 2.25rem;
        }
        .cibc-welcome-message .middle {
            float: left;
            width: 125px;
        }
        .cibc-welcome-message .middle img {
            width: 100%;
        }
        .cibc-welcome-message .right {
            width: 185px;
            font-size: 2.25rem;
        }
    }

    @media (max-width: 575px) {
        .cibc-welcome-message {
            width: 500px;
        }
        .cibc-welcome-message .left {
            width: 177px;
            font-size: 1.8rem;
        }
        .cibc-welcome-message .middle {
            float: left;
            width: 105px;
        }
        .cibc-welcome-message .middle img {
            width: 100%;
        }
        .cibc-welcome-message .right {
            float: left;
            width: 177px;
            font-size: 1.8rem;
        }
    }

    @media (max-width: 465px) {
        .cibc-welcome-message {
            width: 100%;
        }
        .cibc-welcome-message .left {
            width: 40%;
            font-size: 1.5rem;
        }
        .cibc-welcome-message .middle {
            float: left;
            width: 20%;
        }
        .cibc-welcome-message .middle img {
            width: 100%;
        }
        .cibc-welcome-message .right {
            width: 40%;
            font-size: 1.5rem;
        }
    }

.cibc-embed-container {
    --video--width: 1296;
    --video--height: 540;
    position: relative;
    padding-bottom: calc(var(--video--height) / var(--video--width) * 100%); /* 41.66666667% */
    overflow: hidden;
    max-width: 100%;
    background: black;
}


.cibc-welcome-video {
    width: 950px;
    margin: 2.5rem auto;
    z-index: 999;
    left: 149px;
}

    @media (max-width: 1399px) {
        .cibc-welcome-video {
            left: 94px;
        }
    }

    @media (max-width: 1199px) {
        .cibc-welcome-video {
            width: 800px;
            left: 79px;
            margin: 2.5rem auto auto auto;
        }
    }

    @media (max-width: 991px) {
        .cibc-welcome-video {
            width: 650px;
            left: 32px;
        }
    }

    @media (max-width: 767px) {
        .cibc-welcome-video {
            width: 500px;
            left: 20px;
        }
    }

    @media (max-width: 575px) {
        .cibc-welcome-video {
            width: 420px;
        }
    }

    @media (max-width: 465px) {
        .cibc-welcome-video {
            width: 90%;
            position: relative;
            margin: 2rem auto auto auto;
            left: auto;
        }
    }

.cibc-welcome-video div {
    width: 100%;
}

.carousel-holder.cibc-latest {
    margin: 15rem auto 2rem auto;
}    
    @media (max-width: 1199px) {
        .carousel-holder.cibc-latest {
            margin: 8rem auto 2rem auto;
        }    
    }

.carousel-holder.cibc-latest h2 {
    color: #212529;
}

/* ------------ CIBC Login ---------- */

.cibc-login {
    background-image: url(../img/cibc-background-library.jpg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    width: 100%;
    min-height: 1000px;
    position: relative;
    margin-top: -10rem;
    background-attachment: fixed;
    z-index: 2;
    -webkit-box-shadow: inset 0 -3px 3px rgba(0,0,0,0.25); 
       -moz-box-shadow: inset 0 -3px 3px rgba(0,0,0,0.25); 
            box-shadow: inset 0 -3px 3px rgba(0,0,0,0.25);    
}
    @media (max-width: 850px) {
        .cibc-login {
            margin-top: -20rem;
            min-height: 1150px;
            background-size: auto;
            background-attachment: scroll;
            background-position: 50% 0%;        
        }
    }
    @media (max-width: 575px) {
        .cibc-login {
            min-height: 990px;
            background-size: auto;
            background-attachment: scroll;
        }
    }


.cibc-login .container {
    color: #fff;
    width:  83.5%;
    margin: 0 auto;
    padding: 30rem 0 5rem 0;
    text-align: center;
}
    @media (max-width: 1432px) {
        .cibc-login .container {
            width: 92%;
        }
    }
    @media (max-width: 850px) {
        .cibc-login .container {
            width:  100%;
            min-height: auto;
            margin: 14rem auto auto auto;
            padding: 25rem 0 0 0; 
        }
    }
    @media (max-width: 575px) {
        .cibc-login .container {
            padding: 20rem 0 0 0; 
        }
    }

.cibc-login .container .logo {
    width: 200px;
    margin: 0 auto;
}
.cibc-login .container .logo img {
    width: 100%;
}

.cibc-login .container h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700 !important;
    font-size: 3.4rem !important;
    line-height: 4.4rem !important;
}
    @media (max-width: 785px) {
        .cibc-login .container h2 {
            font-size: 2.3rem !important;
            line-height: 3rem !important;
        }    
    }

.cibc-login .container .button {
    margin: 2.75rem 0 1.75rem 0;
}

.cibc-login .container .register {
    font-family: 'Poppins', sans-serif;
}

.cibc-login .container .register a {
    color: #e3ce70;    
}

.cibc-login .container .support {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    margin: 20rem auto auto auto;
    width: 100%;
    text-align: center;
}
    @media (max-width: 850px) {
        .cibc-login .container .support {
            margin: 10rem auto auto auto;
        }    
    }
    @media (max-width: 575px) {
        .cibc-login .container .support {
            margin: 5rem auto auto auto;
            font-size: .75rem;
        }    
    }

.cibc-login .container .support a {
    color: #e3ce70;
}

.cibc-mandy-message {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #d3be6a;
    font-size: 1.75rem;
    width: 100%;
    text-align: center;
    margin: 2.5rem auto -1.25rem auto;
}


/* ---------- / CIBC Login ---------- */