/* Portrait */
@media screen and (orientation:portrait) {
  .CustomApp {
    background-image: url(../images/landscapeNotice.jpg);
  }
}

.banner {
    background-attachment: scroll;
    background-image: url(../img/calgary_skyline_1280x720.jpg);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}


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

	.topNav a:hover{
	text-decoration:none!important;
}
  .navColorBar {
	  left:0px !important;
	  height:88px!important;
  }
  .navigation {
    width: 99vw;
    left: 0px !important;
  }

  .city_logo {
    margin-left: 50px !important;
  }

  /* go from 13 down to 5 */
  .topnav a,
  .dropbtn {
    padding-right: 5px !important;
    padding-left: 5px !important;
  }

  .topnav a:last-child {
    padding-right: 50px !important;
  }

  .eq4 {
    padding-right: 40px !important;
    padding-left: 40px !important;
  }
}


@media screen and (mix-width: 981px) {
  .topnav a:first-child {
    display: block;
  }
}



@media screen and (max-width: 1280px) {
  .fullscreen-bg {
    height: 61vh;
  }

  .page-banner--video-controls {
    top:45vh;
  }

  .videoOverlayText {
    top: 26vh;
  }
}


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

	/*
	#customVideoControlls{
	    display:none!important;
	} */
  .fullWidthImage{
    padding-left: 0;
    padding-right: 0;
  }

  #section_about {
    padding-top: 0px !important;
  }


  .firstDivider {
   /* display: none !important;*/
   height:30px;
  }

  .columnBlueThird {
    width: 100% !important;
    display: inline-block;
    padding-left: 50px;
    padding-right: 50px !important;
  }

  .columnBlueThird:nth-child(2) {
    width: 100% !important;
    padding-bottom: 0px;
  }

  .columnBlueThird:nth-child(3) {
    width: 100% !important;
    padding-top: 0px;
  }

  .equalHM,
  .equalHM4 {
    width: 100% !important;
    float: left;
  }

  .eqWrap {
    display: block;
  }

  .mobile-adjust {
    margin-top: 25px !important;
  }

  video[poster] {
    height: 100vw !important;
    width: auto !important;
    top: -100px;
  }

  .fullscreen-bg {
    height: 61vh;
  }
  .page-banner--video-controls {
    top:41vh;
  }

  .eq:nth-child(2),
  .eq:nth-child(4) {
    padding-top: 1px !important;
  }

  .fullBlue h2 {
    font-size: 24px;
    line-height: 1.2em;
  }

  .columnBlueBGImage {
    width: auto;
  }

  .grey-curve-top {
    background-size: 100% 40px;
    padding-bottom: 80px;
  }

  .grey-curve-bottom {
    background-size: 100% 40px;
    padding-top: 120px;
  }
  @media screen and (orientation:landscape) {
	.videoOverlayText {
      top: 29vh;
    }
  }


}

@media screen and (max-width: 2020px) {
  .fullscreen-bg__video {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 120%;
  }
}

@media screen and (orientation:landscape) {
  .fullscreen-bg__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: auto;
  }

  .fullscreen-bg {
    height: 78vh !important;
  }
  .page-banner--video-controls {
    top:50vh;
  }
}


/* Responsive layout  */
@media screen and (max-width: 980px) {


	#customVideoControlls{
	    display:none!important;
	}

  .custom-background3 {
    background-size: cover !important;
  }

  .footer-city-logo {
    max-width: calc(100vw - 80px);
  }

  .grey-curve-top {
    background-size: 100% 20px;
    padding-bottom: 120px;
  }

  .grey-curve-bottom {
    background-size: 100% 20px;
  }

  .columnBlueThird {
    width: 100%;
    display: inline-block;
    padding-left: 50px;
    padding-right: 50px !important;
  }

  .columnBlueThird:nth-child(1) {
    padding-top: 0%;
    padding-top: 54px;
  }

  .columnBlueThird:nth-child(2) {
    padding-bottom: 0%;
  }

  .columnBlueThird:last-child {
    padding-top: 0%;
    padding-bottom: 54px;
  }

  .blueDowloadButton {
    font-size: 12px;
  }

  .bottom-parallax {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .bigNoticeFirstLine {
    max-width: 80%;
    left: 10%;
  }

  .bigNoticeSecondLine {
    max-width: 80%;
    left: 0% !important;
  }

  .changeTint {
    top: -100px;
  }

  .bigNoticeFirstLine {
    font-size: 30px;
    top: 40px !important;
  }

  .bigNoticeSecondLine {
    font-size: 24px;
  }

  video[poster] {
    top: 0px;
  }

  .videoOverlayText {
    font-size: 28px;
    top: 21vh;
    line-height: 2em;
    padding-left: 50px;
    padding-right: 50px;
  }

  .videoOverlaySubText {
    display: block;
    width: 100%;
    max-width: 90% !important;
    padding-left: 10%;
    font-size: 17px;
    line-height: 100% !important;
    letter-spacing: 0px;
    text-align: center;
    word-wrap: break-word;
  }

    @media screen and (orientation:landscape) {
	  .videoOverlayText {
        font-size: 20px;
        top: 30vh;
	  }
	}

  .topnav a:not(:first-child),
  .custom-dropdown .dropbtn {
    display: none;
  }

  .mobile-icon {
    display: block;
  }

  .topnav a:first-child {
    display: none;
  }

  .topnav a.icon,
  .mobile-icon {
    /* float: right;*/
    display: block;
    margin: auto;
    color: #2ea3f2;
    width: 100%;
  }

  .topnav a.icon:hover {
    color: #2ea3f2 !important;
  }

  .cityLogo {
    display: none !important;
  }

  .topnav.responsive {
    position: absolute;
    z-index: 10;
    left: 54px;
  }

  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0) !important;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.89) !important;
    padding-left: 50px;
    padding-top: 11px;
    padding-bottom: 11px;
    width: calc(100vw - 108px);
  }

  .topnav.responsive {
    margin-top: 70px !important;
    border-top: 3px solid #f40034;
  }

  .topnav.responsive a.icon {
    margin-top: -30px;
  }

  .topNav {
    overflow: auto;
  }

  .dropbtn {
    background-color: rgba(0, 0, 0, 0.89) !important;
  }

  .topnav.responsive .custom-dropdown {
    float: none;
  }

  .topnav.responsive .dropdown-content {
    position: relative;
  }

  .topnav.responsive .custom-dropdown .dropbtn {
    padding: 13px 50px;
    display: block;
    width: 100%;
    text-align: left;
  }

  .dropdown-content,
  .dropdown-content a {
    position: relative;
    border: none;
    background-color: transparent !important;
    width: 100%;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    line-height: 2;
  }

  .dropdown-content a {
    padding: 0px 0px 10px 72px !important;
  }

  .dropdown-content {}

  .fullscreen-bg {
    height: 50vh !important;
  }
  .page-banner--video-controls {
    top:38vh;
  }

  @media screen and (orientation:landscape) {

    .fullscreen-bg {
      height: 78vh !important;
    }
    .page-banner--video-controls {
      top:50vh;
    }
  }

  .columnBlueThird:nth-child(2) {
    width: 100% !important;
  }

  .footer-legal-notice_content,
  .footer-title-content {
    width: 80vw;
  }

  .footer-title-content h2 {
    font-size: 40px;
  }

  .columnFooter {
    width: 80%;
    max-width: 1080px;
    margin: 0 auto !important;
    float: left !important;
    padding-top: 0px;
    padding-bottom: 0px !important;

  }

  .footer-logo {
    display: block;
    margin: 0 auto;
    margin-top: 21px !important;
  }





  .blueTint {
    text-align: center;
  }

  .parallax-container {
    height: auto;
  }

  .bigNumber {
    padding-bottom: 10%;
  }

   .columnBlueBGImageLeft,
  .columnBlueBGImageRight {
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 0px;

  }

  .columnBlueBGImageRight {
    padding-left: 10% !important;
    padding-right: 10% !important;
    padding-top: 5% !important;
  }

  .columnBlueBGImageLeft {
    padding-top: 128px;
  }

  .equalHM,
  .equalHM4 {
    width: 100% !important;
    float: left;
  }

  .eqWrap {
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .videoOverlayText h1 {
    font-size: 29px !important;
    top: -15px !important;
  }

  .videoOverlaySubText {
    max-width: 100% !important;
    top: -15px !important;
  }

  video[poster] {
    height: 70vh !important;
    width: auto !important;
  }

  .blueDowloadButton {
    /*font-size:8px!important;*/
    word-break: break-all;
  }

  .custom-row {
    margin: 50px 0px 0px 0px;
  }

  .fullBlue,
  .fullWidthImage,
  .white-section {
    width: auto;
    padding-left: 0px;
    padding-right: 0px;
  }

  .white-section {
    padding-top: 25px;
  }

  .white-section h2 {
    font-size: 26px;
  }

  .white-section-text4,
  .white-section-text3 {
    font-size: 20px;
    line-height: 1.3em;
  }

  .white-section-text2 {
    font-size: 15px;
  }

  .columnBlueThird {
    font-size: 15px;
  }


  .columnBlueThird:first-child {
    padding-right: 7% !important;
  }

  .videoOverlayText h1 {
    font-size: 42px;
    line-height: 1em;
    top: -25px;
    position: relative;
  }

  .fullscreen-bg {
    height: 58vh !important;
  }
  .page-banner--video-controls {
    top:38vh;
  }

  #section_about {
    padding-top: 0px !important;
  }

  .columnBlueBGImageLeft {
    text-align: center;
  }

  .bigNoticeFirstLine,
  .bigNoticeSecondLine {
    max-width: 100%;
    left: 0%;
  }

  .bigNoticeFirstLine {

    font-size: 24px;
  }

  .bigNoticeSecondLine {
    font-size: 18px;
  }

  .grey-curve-top {
    padding-bottom: 20px !important;
  }

  .grey-curve-bottom {
    padding-top: 40px !important;
  }

  @media screen and (orientation:landscape) {
	.videoOverlayText {
      top: 39vh;
	}
	.fullscreen-bg {
      height: 79vh !important;
    }
  }

}