/*
NCP Mobile Responsiveness
Author: Microcomms Canada Inc.
*/

/*** MOBILES ****/
@media (max-width: 575px) {

   .navbar{
    padding-top: 1rem !important;
   }

   #ncp_navbar
   {
    margin-top:-3rem;
   }

   li.search-wrapper{
    margin-top:1rem;
   }

   .accessibility-form
   {
    margin-top:-1rem !important;
   }

   .sidenav{
    top:10rem;
   }


   .gallery-carousel, .carousel-img
   {
    max-height: 170px;
   }

   .tile-img{
    max-height: calc(100vw - 8rem);
   }

    .section-parallax-container
    {
        max-height: 200px !important;
    }

    .section-parallax {
        background-size: cover;
        background-position: center;
    }

    .faq-parallax{
        max-height: 200px;
    }

    .laws-img-circle
    {
        width: 110px;
        height: 110px;
        bottom: -5rem;
        left:30%;
    }

    .faq-why-ncp-pic
    {
        width: 110px !important;
        height: 110px !important;
        left: 50%;
        bottom: 0rem;
    }

    .faq-circle-img-container{
        margin-top: -10rem;
    }

    .highlight.text-right
    {
        padding-right: 0 !important;
    }

    /* section.scroll-top-offset
    {
        padding-top: 4rem !important;
    } */

    .exe-mgmt-triangle
    {
        margin-top: -50px;
    }
    .banner-triangle{
        max-width: 150px;
        margin-left: 0 !important;
        left: 1rem;
        margin-bottom: -2rem;
    }
    .ep-banner1-triangle,.ep-banner1-triangle-sub-page1{
        bottom: 1.5rem;
    }

    .triangles-blue.faq-triangles{
        left:200px !important;
        top:250px;
        z-index: 999;
    }

    .join-us-banner-triangles
    {
        margin-top: 350px;
        max-width: 170px;
        left: 0.5rem;
    }

    .services-triangle
    {
        max-width: 150px;
        margin-left: -150px;
        margin-top:-270px;
    }



    .h-xs-auto{
        height: auto !important;
    }

    .highlight-1,.highlight-2,.highlight-3{
        font-size: 2.5rem;
        padding-bottom:0 !important ;
        margin-bottom: 0 !important;
        width: 100%;
        padding-right: 0 !important;
        padding-left:0  !important ;
    }

    .top-padding{
        padding-top: 150px !important;
    }

    .xs-top-padding-0{
        padding-top: 0 !important;
    }

    .p-xs-0{
        padding: 0 !important;
    }

    .pt-xs-3{
        padding-top:1.5rem !important;
    }

    .ps-xs-0{
        padding-left: 0 !important;
    }

    .pe-xs-0{
        padding-right: 0 !important;
    }

    #project_pipeline{
        padding-top: 40px !important;
    }

    .d-xs-none {
        display: none;
    }

    .news-section{
        margin-top:1rem !important;
    }

    .row>*{
        padding-left:2rem;
        padding-right: 2rem ;
    }

    .hero-text{
        font-size: 10vw;
        margin: initial !important;
    }

    .news-banner.img{
        width: initial !important;
    }

    .top-menu.pt-5{
        padding-top: 15px !important;
    }

    .news-triangles
    {
        max-width: 120px;
        margin-left: -10px;
    }

    .text-xs-left{
        text-align: left !important;
    }

    .copyrights-section{
        margin-bottom: 5px !important;
    }


    .fp-table
    {
        padding-top: 40px !important;
    }

    .fs-huge{
        font-size: 2.7rem;
    }

    .slide-overlay{
        width: 100%;
    }

    h1{
        font-size: 2.5rem;
    }

    h2{
        font-size: 2rem ;
    }

    .mt-xs-0
    {
        margin-top:0 !important;
    }

    .mt-xs-2 {
        margin-top: 1rem!important;
    }

    .mt-xs-3 {
        margin-top: 2rem!important;
    }

    .mt-xs-4{
        margin-top: 3rem !important;
    }

    .dotted-nav{
        display: none;
    }

    .sub-title{
        width: 100%;
        /* padding: 15px; */
         /* white-space: nowrap; */
    }

    .quoted-text{
        width: 100%;
        padding: 15px;
    }

    .para{
        width: 100% !important;

    }

    .sub-para{
        width: 100%;
        padding: 30px 0px;
    }

    .purpose-img{
        margin-top:30px;
    }

    .triangles-blue,.triangles-green{
        width: 140px;
        left: 50px  !important;
        /* top: -100px !important; */

    }

    .triangles-light-blue
    {
        width: 45vw;
    }

    .text-xs-center
    {
        text-align: center !important;
    }

    .text-xs-left{
        text-align: left !important;
    }

    .w-xs-100{
        width: 100% !important;
    }

    .mt-150{
        margin-top:0 !important;
    }

    .parallax{
        min-height: 350px;
        height: calc(100vw);
    }

    .transport-overlay{
        margin: 0 !important;
        margin-bottom: 20px;
        left: 2rem !important;
        right: 2rem !important;
        width: auto;
        bottom: auto;
        top: 20px;
        font-size: 1rem;
    }

    img.triangles-green-narrow{
        width: 200px !important;
    }

    .ss-overlay{
        left:2rem;
        right:2rem;
        padding: 3rem 2rem;
    }

    .regulatory-img-container{
        margin-left: 2rem !important;
    }

    .news .border-right{
        border :0px none !important;
    }

    .collapsible-list{
        padding-right: 2rem;
    }

    hr.section-divider{
        margin: 1rem;
    }

    .vision-container{
        padding: 0 !important;
    }

    .carousel-indicators
    {
        margin-bottom: .25rem;
    }

    .text-shrink {
        font-size: initial !important;
    }

    .vision-container{
        font-size: initial !important;
    }

    .triangles-overlay{
        display: none;
    }

    .slide-text{
        font-size: 4vh;
    }

    .parallax-container
    {
        flex-wrap: wrap;
    }

    .extra-wide{
        width: calc(100% + 150px);
    }

    .highlight{
        font-size: 2.5rem !important;
    }

}


@media (min-width: 576px) {
    .top-menu.pt-5{
        padding-top: 15px !important;
    }

    .top-padding,.fp-table{
        padding-top: 225px !important;
    }

    .fs-huge{
        font-size: 2rem;
    }

    .slide-overlay{
        width: 100%;
    }

    .border-sm-left{
        border-left: 1px solid #999;
    }

    .border-sm-right{
        border-right: 1px solid #999;
    }

    h2{
        font-size: 2rem;
    }

    .pt-sm-100{
        padding-top: 100px;
    }

    .dotted-nav{
        display: none;
    }

    .sub-title{
        width: 100%;
        /* padding: 15px; */
         /* white-space: nowrap; */
    }

    .quoted-text{
        width: 100%;
        padding: 15px;
    }

    .para{
        width: 100% !important;

    }

    .sub-para{
        width: 100%;
        padding: 30px ;
    }

    .purpose-img{
        margin-top:30px;
    }

    .triangles-blue,.triangles-green{
        width: 140px;
    }

    /* .text-xs-center
    {
        text-align: center;
    } */

    /* .w-xs-100{
        width: 100% !important;
    } */

    .mt-150{
        margin-top:0 !important;
    }

    .transport-overlay{
        margin-left: 0 !important;
        left: 2rem !important;
        width: 60%;
        bottom: 250px;
    }

    img.triangles-green-narrow{
        width: 200px !important;
    }

    .triangles-green{
        top: initial;
    }

    .ss-overlay{
        left:2rem;
        right:2rem;
        padding: 3rem 2rem;
    }

    .regulatory-img-container{
        margin-left: 2rem !important;
    }

    .news .border-right{
        border-right:0px none ;
    }

    .collapsible-list{
        padding-right: 2rem;
    }
}

@media (min-width: 768px) {

    .dotted-nav{
        display: initial;
    }

    .fs-huge{
        font-size: 2.5rem;
    }

    .img-circle{
        width: 180px;
    }

    .highlight-2{
        padding-right: 15px !important;
    }

    /* h1,.h1{
        font-size: 3rem;
    } */

    .w-sm-50
    {
        width: 50%;
    }
    .ss-overlay{
        width: 50%;
    }

    .transport-overlay{
        width: 40%;
    }

    .news-container{
        width: 90%;
    }

    .top-padding, .fp-table{
        padding-top: 180px !important;
    }
}

@media (min-width: 992px) {
    .fs-huge{
        font-size: 3.2rem;
    }

    .slide-overlay{
        width: 75%;
    }

    /* h1,.h1{
        font-size: 2.4rem;
    } */

    h2{
        font-size: 2.5rem;
    }

    .sub-title,.sub-para{
        width: 75%;
    }

    .sub-para{
        padding:15px;
    }

    .ss-overlay
    {
        width: 35%;
    }

    .transport-overlay{
        bottom: 20px;
    }

    .img-circle{
        width: initial;
    }

    .news .border-right{
        border-right: 1px solid #999;
    }

    .purpose-img{
        margin-top: 0;
    }
}

@media (min-width: 1200px) {
   /* h1,.h1{
    font-size: 3rem;
   } */

   .fs-huge{
        font-size: 3.8rem;
   }

   .para{
    width: 75% !important;
   }

   .transport-overlay{
    width: 25%;
   }

   .ss-overlay{
    left:auto;
    right:4rem;
    width: initial;
   }

   .text-lg-left{
    text-align: left;
    }

    .text-lg-right{
        text-align: right;
    }

    .w-75{
        width: 75% !important;
    }

    .w-lg-50{
        width: 50% !important;
    }

    /* .vision-container{
        width: 100% !important;
    } */
}

/* Top menu Wrapping fix for resolution between 1201 and 1280  */
@media (min-width: 1201px) and (max-width: 1280px) {
    .logo{
        height: 80px;
    }

    .sub-title, .sub-para{

        width: 75%;
    }

    .triangles-green{
        width: 130px;
    }

    .section-title h2
    {
        font-size: 3.25rem;
        margin-left: 50px;
    }
}

@media (min-width: 1400px) {
    .top-padding, .fp-table
    {
        padding-top: 155px !important;
    }

    .fs-huge{
        font-size: 4.3rem;
    }

    /* h1,.h1{
        font-size: 4rem;
    } */

    .sub-title h2{
        font-size: 3.5rem;
        /* padding-right: 0; */
    }

    h2{
        font-size: 3rem;
    }

    .slide-overlay{
        width: 70%;
    }

    .quoted-text
    {
        width: 55%;
        padding: 0;
    }

    .triangles-blue, .triangles-green{
        width: 230px;
    }

    /* .triangles-green{
        left: -50px;
        top:0;
    } */

    .sub-title{
        padding:0;
        width: 50%;
    }

    .sub-para{
        width: 50%;
    }

    .mt-150 {
        margin-top: 150px !important;
    }

    .highlight-3{
        width: 50% !important;
    }
    img.triangles-green-narrow{
        width: initial  !important;
    }

    .transport-overlay{
        width: 18%;
    }

    /* .w-xs-100{
        width: initial !important;
    } */



    .w-55{
        width: 55% !important;
    }

    .news-container{
        width: 65% !important;
    }
}

@media (min-width: 1800px) {
    .fs-huge{
        font-size: 5rem;
    }

    .slide-overlay{
        width: 65%;
    }

}

/* Custom Fixes */
@media (max-height: 840px) {

    .top-padding, .fp-table{
        padding-top: 160px !important;
    }

    h1{
        font-size: 2.5rem;
    }

    .mt-5{
        margin-top:15px !important;
    }

    .text-shrink{
        font-size: .85rem;
    }

    .hide-on-shorter-screen{
        display: none;
    }
    .sectors-img-container
    {
        margin: 0px !important;
    }

    .sectors-content-area
    {
        margin-top:0 !important;
    }

    .sectors-content-area > .w-75
    {
        width: 85% !important;
    }

    #sectors .quoted-text{
        font-size: 40px;
    }

    .regulatory-img-container{
        margin: 0  !important;
        padding-top: 15px !important;
    }

    .news-banner.img{
        width: 120px;
    }

    .img-circle{
        width: 140px;
    }
    .purpose-img
    {
        height: 115px;
    }

    .vision-container{
        padding: 0  !important;
        font-size: .75rem;
        width: 100% !important;
    }

    .vision-container h4{
        margin: 0;
    }

    .purpose-container .sub-title h2{
        padding-top: 0;
    }

    .triangles-blue{
        width: 180px;
    }

    .triangles-green{
        left: -30px !important;
        width: 100px;
        top:30px !important;
    }

    .pt-sm-5{
        padding-top:15px !important;
    }

    .news-content{
        max-height: 90px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .triangles-overlay {
        width: 30vh !important;
        margin: 0 !important;
        right: calc(30vh / 2* -1);
        left: calc(30vh / 2* -1);
        top: calc(10vh / 2);
    }

    section#knowledge .sub-title{
        margin-top:15px !important;
    }

}