@charset "utf-8";
/* CSS Document */

html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;  
  background: #027cbb;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

body {
  width: 78.125%; /* 1500px / 1920px */
  margin: 20px auto;
  background: #aaa;
  padding: 20px 0;
}

h1 {
  font-size: 46px;
  color: white;
  font-weight: bold;
}

a, a:visited {
  text-decoration: none;  
  color: #030164;
}

header {
  width: 80%;  
  margin: 0 auto;
  background: #027cbb;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (25% 45% 30%);
  grid-template-columns: 25% 45% 30%;
  border: white 20px solid;
  border-bottom: none;
  padding-bottom: 20px;
}

.logo {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1 / 2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 3;
    grid-row: 1 / 4;
    padding-top: 20px;
    padding-left: 10px;
}

.name {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2 / 3;
    padding-top: 20px;    
    text-align: center;
}

.phone {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-column: 3 / 4;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1 / 2;    
    padding: 20px;
}

.header-facebook img{
  width: 50%;
  padding-right: 10px
}

.header-facebook {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-column: 3 / 4; 
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2 / 3; 
    text-align: right;
}

nav {
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
    grid-column: 2 / 4;
}

.index-description, .index-image {
  color: white;
  text-align: center;
  width: 80%;
  border: 20px white solid;
  background: #d4d4d4;
  margin: 0 auto;
  text-transform: uppercase;
  padding: 20px;
}

.index-image {
  background-image: url("../../images/index-images/calgary-city-skyline.jpg");
  background-position: center;
  height: 333px;
}

.index-description p{
  font-size: 28px;  
  margin-bottom:20px;
}

.index-description p:first-of-type {
  font-size: 36px;
  font-weight: bold;
}

.blue {
  color: #0f9fe5;
}

.index-image p {
  font-size: 28px;  
}

.page-title {
    width: 80%;
    border: 20px white solid;
    margin: 0 auto;
}

.page-title h2 {
    text-align: center;
    font-size: 36px;
}

.page-title p {
  text-align: center;
  color: white;
  margin-bottom: 20px;
}

header h1, header p, .whole h2, .whole p {
  text-transform: uppercase;
  display: inline;
}

.address {
  padding-top: 10px;
  text-align: right;
}
.address p {
  font-size: 36px;
  padding-right:20px;
  color: white;
}

h2 {
  font-size: 42px;
  color: white;
  text-align: center;
  margin-bottom: 30px;
}

.phone {  
  text-align: right;
  padding-right: 20px;
}

.phone p {
  color: white;
  font-size: 32px;
}

nav, .footer-nav {
  text-align: center;
}

nav ul, .footer-nav ul {
  width: 95%;
  height: 60px;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#feffff), to(#88b6d8));
  background-image: -webkit-linear-gradient(#feffff, #88b6d8);
  background-image: -o-linear-gradient(#feffff, #88b6d8);
  background-image: linear-gradient(#feffff, #88b6d8);
  vertical-align: middle;
  padding-top: 20px;
  margin: 10px auto;
}

nav ul li, footer ul li {
  display: inline;
  border-right: 3px #030164 solid;  
  padding: 0 20px;
  font-family: 'Passion One', cursive;
  font-size: 30px;
  }

  nav ul li:last-child, footer ul li:last-child {
    border-right: none;
  }

nav a, footer a {
  color: #030164;
}

.grid-whole {
  width: 80%; /* 1200px / 1920px */
  margin: 0 auto;
  background: #fff;
  padding: 20px;
}

.whole {
  text-align: center;
  background: #b7c2c6;
  margin-bottom: 20px;
  padding: 20px;
}

.whole h2, .whole p {
  padding: 0 25px;
}

.whole h2 {
  font-size: 34px;
  color: black;
}

.whole p {
  font-size: 28px;
} 

.whole img {
  box-shadow: #333 5px 5px 5px;
}

.grid-thirds {
  width: 80%; /* 1200px / 1920px */
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 32.4% 10px 32.4% 10px 32.4%;
  grid-template-columns: repeat(3, 32.4%); /* 486px / 1500px */
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
}

img {
  width: 100%;
}

.specifications {
   width: 80%; /* 1200px / 1920px */
   margin: 0 auto;
   padding: 0 20px;
   background: white;
}

.specifications h2 {
   text-align: center;
   padding: 20px 0;
   font-size: 36px;
   color: black
}

.services {
   width: 80%; /* 1200px / 1920px */
   margin: 0 auto;
   padding: 0 20px;  
   border: white 20px solid;
   background: #aaa;
}

.services p {
  text-align: center;
  margin-bottom: 20px;
  color: #027cbb;
  font-size: 24px
}

.services p:first-of-type {
  font-size: 36px;
  color: black;
  text-transform: uppercase;
}

.services ul {
  width: 100%;
  text-align: center;
  color: #027cbb;
  font-size: 24px;
  text-transform: uppercase;
}

.services li {
  margin-bottom: 30px;
}

.contact {
  width: 80%;
  margin: 0 auto;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 50% 50%;
  grid-template-columns: 50% 50%;
  text-align: center;
  border: 20px white solid;
}

.contact p {
  padding: 10px 0;
  font-size: 24px;
  color: white;
}

.google-map {
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-column: 1 / 2;
  -ms-grid-row: 2;
  -ms-grid-row-span: 2;
  grid-row: 2 / 4;
}

.facebook {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2 / 3;
  -ms-grid-row: 2;
  -ms-grid-row-span: 1;
  grid-row: 2 / 3;
}

.facebook img, .email img {
  width: 100px;
  display: block;
  margin: 10px auto;
}

.email {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2 / 3;
  -ms-grid-row: 3;
  -ms-grid-row-span: 1;
  grid-row: 3 / 4;
}

.association-logos {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 50% 50;
  grid-template-columns: 50% 50%;
  width: 80%;
  margin: 0 auto;
  vertical-align: middle;
  background: white
}

.association-logos img {
  display: block;
  margin: 0 auto;
  width: 50%;
}

.association-logos .image-smaller {
  width: 25%;
}

.association-logos div {
  margin-bottom: 20px;
}


footer {
  width: 80%;
  margin: 0 auto;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 25% 75%;
  grid-template-columns: 25% 75%;  
  padding: 20px 0;  
  background: #027cbb;
  border: 20px white solid;
}

.footer-logo {
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-column: 1 / 2;
  -ms-grid-row: 1;
  -ms-grid-row-span: 3; 
  grid-row: 1 / 4;   
}

.footer-name {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2 / 3;
  -ms-grid-row: 1;
  -ms-grid-row-span: 1; 
  grid-row: 1 / 2; 
  text-transform: uppercase;
  text-align: center;
}

.footer-address {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2 / 3;
  -ms-grid-row: 2;
  -ms-grid-row-span: 1;  
  grid-row: 2 / 3; 
  text-align: center;
}

.footer-phone {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2 / 3;
  -ms-grid-row: 3;
  -ms-grid-row-span: 1;  
  grid-row: 3 / 4; 
  text-align: center;
}

.footer-nav {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2 / 3;
}

.footer-address, .footer-phone {
  font-size: 28px;
  color: white;
}


@media only screen and (max-width: 1325px) {
  nav ul, .footer-nav ul {
  width: 95%;
  }

  nav ul li, footer ul li {
  font-size: 30px;
  }

  h1 {
  font-size: 32px;
  }

  .phone p, .address p {
  font-size: 28px;
  }
} 

@media only screen and (max-width: 1370px) {
  body {
    width: 100%;
  }
}  

@media only screen and (max-width: 1075px) {
  header, .grid-whole, .grid-thirds, .specifications, .services, footer, .page-title, .contact, .index-description, .index-image, .association-logos {
  width: 98%; 
  }
} 

@media only screen and (max-width: 1050px) {
  .whole h2, .whole p {
  display: block;
}

}


@media only screen and (max-width: 910px) {

header {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (35% 65%);
  grid-template-columns: 35% 65%;
}
  
  
  .logo {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1 / 2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 3;
    grid-row: 1 / 4;
  }

.address {
    -ms-grid-column: 2;
    -ms-grid-column-span: 4;
    grid-column: 2 / 6;
  }

.name {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2 / 3;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1 / 2;
  }

.phone {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2 / 3; 
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2 / 3;   
  }

  .header-facebook {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-column: 2 / 3; 
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    grid-row: 3 / 4; 
  }

nav {
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    grid-column: 1 / 4;

  }

.footer-logo {
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-column: 1 / 2;
  }

.footer-nav {
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  grid-column: 1 / 3;
  }

  .grid-thirds {
  -ms-grid-columns: (48%)[2];
  grid-template-columns: repeat(2, 48%);
  }

}

@media only screen and (max-width: 605px) {
 
  .specifications h2 {
   text-align: center;
   font-size: 24px;
}
  
  nav ul li, footer ul li {
  font-size: 24px;
  }

  h1 {
  font-size: 30px;
  }

  .phone p, .address p {
  font-size: 20px;
  }

  nav ul li, footer ul li {
  padding: 0 5px;
  }

}

@media only screen and (max-width: 560px) {
  .whole h2 {
  font-size: 24px;
  color: black;
  }

  .whole p {
   font-size: 18px;
  } 

  nav ul li, footer ul li {
  font-size: 16px;
  }
}