/**********************************
GENERAL
***********************************/

body {
  font-family: 'Open Sans', sans-serif;
  background-color: white;
}

.container{
  max-width: 320px;
  margin: 0 auto;
}

#wrapper {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 5%;
}

a {
  text-decoration: none;
  color: #627fd1;
}

a:hover{
  color: white;
}

a.ex2:hover{
  color: #d40202;
}

img {
  max-width: 100%;
}

h3 {
  margin: 0 0 1em 0;
}

/**********************************
HEADING
***********************************/

header {
  float: left;
  margin: 0 0 30px 0;
  padding: 5px 0 0 0;
  width: 100%;
}

#TPC {
  text-align: left;
  width: 105px;
  margin-left: 2.7em;
  margin-top: 1em;
}

#logo {
  text-align: center;
  margin: 0;
}

.the{
  visibility: hidden;
}

.pc{
  visibility: visible;
}

h1 {
  font-family: 'Raleway', sans-serif;
  color: black;
  margin: -40px 0 0px 0;
  padding-top: 2px;
  font-size: 1.75em;
  font-weight: normal;
  line-height: -0.5em;
  letter-spacing: 0em;
}

h2 {
  font-family: 'Open Sans', sans-serif;
  color: #b9b7b7;
  margin: 0 0 -30px 0px;
  padding: 0px;
  font-size: 0.9em;
  font-weight: normal;
  line-height: -0.5em;
  letter-spacing: 0em;
}

ul {
  list-style: none;
}

/**********************************
NAVIGATION
***********************************/

nav {
  font-size: 0.95em;
  text-align: left;
  line-height: 45px;
  padding: 10px 0;
  margin-top: 20px;
}

nav ul {
  list-style: none;
}

nav li {
  display: block;
}

nav a {
  font-weight: normal;
}

.btn1 {
  float: left;
  color: white;
  line-height: 5px;
  background: #d40202;
  text-transform: uppercase;
  text-align: center;
  margin: 3px -.2em 4px -1.9em;
  padding: 18px 0px;
  width: 50%;
  display: block;
}

.btn2 {
  float: left;
  color: white;
  line-height: 5px;
  background: #627fd1;
  text-transform: uppercase;
  text-align: center;
  margin: 3px 0em 4px 1.1em;
  padding: 18px 0px;
  width: 50%;
  display: block;
}

.btn3 {
  float: left;
  color: white;
  line-height: 5px;
  background: #d9d8d8;
  text-transform: uppercase;
  text-align: center;
  margin: 3px -.2em 4px -1.9em;
  padding: 18px 0px;
  width: 50%;
  display: block;
}

.btn4 {
  float: left;
  color: white;
  line-height: 5px;
  background: #d9d8d8;
  text-transform: uppercase;
  text-align: center;
  margin: 3px 0em 4px 1.1em;
  padding: 18px 0px;
  width: 50%;
  display: block;
}

.btn5 {
  float: left;
  color: white;
  line-height: 5px;
  background: #d9d8d8;
  text-transform: uppercase;
  text-align: center;
  margin: 3px -.2em 4px -1.9em;
  padding: 18px 0px;
  width: 50%;
  display: block;
}

.btn6 {
  float: left;
  color: white;
  line-height: 5px;
  background: #d9d8d8;
  text-transform: uppercase;
  text-align: center;
  margin: 3px 0em 4px 1.1em;
  padding: 18px 0px;
  width: 50%;
  display: block;
}

.btn1:hover {
  background-color: #b9b7b7;
}

.btn2:hover {
  background-color: #b9b7b7;
}

.btn3:hover {
  background-color: #b9b7b7;
}

.btn4:hover {
  background-color: #b9b7b7;
}

.btn5:hover {
  background-color: #b9b7b7;
}

.btn6:hover {
  background-color: #b9b7b7;
}

.page {
  color: #d40202;;
}

/**********************************
TEXT
***********************************/

h3 {
  font-family: 'Open Sans', sans-serif;
  color: black;
  margin-bottom: -18px;
  padding: 0px;
  font-size: 1.05em;
  font-weight: normal;
  line-height: -0.5em;
  letter-spacing: -0.05em;
  text-align: center;
}

h4 {
  font-family: 'Open Sans', sans-serif;
  color: #797979;
  margin: 0px;
  padding: 0px;
  font-size: 1em;
  font-weight: normal;
  line-height: -0.5em;
  letter-spacing: 0.04em;
  text-align: center;
}

p {
  font-family: 'Open Sans', sans-serif;
  color: #797979;
  margin: 0px;
  padding: 0px;
  font-size: 1em;
  font-weight: normal;
  line-height: -0.5em;
  letter-spacing: -0.05em;
  text-align: left;
}

/**********************************
GALLERY
***********************************/

.gallery {
  margin: 10px 0;
  margin-left: -.2em;
  padding-left: 0em;
  position: relative;
  list-style: none;
  line-height: 2em;
  overflow: hidden;
  width: 102%;
  }

/**********************************
SLIDESHOW
***********************************/

.rslides {
  margin-top: 0px;
  margin-left: -.2em;
  padding-left: 0em;
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 102%;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 102%;
  border: 0;
  }

/**********************************
SOCIAL
***********************************/


#social {
  margin-left: 0px;
  background: white;
  text-align: center;
  clear: both;
  padding-top: 20px;
  padding-bottom: 0px;
}

.icons{
  width:45px;
  height:45px;
}

/**********************************
FOOTER
***********************************/

footer {
  font-size: 0.75em;
  text-align: center;
  clear: both;
  margin: 20px 0;
  padding: 5px;
  color: white;
  background: white;
}

/**********************************
EXTRAS
***********************************/

.maplink{
  text-align: center;
}

 /**********************************
MEDIA QUERIES
***********************************/

/* Smartphones (landscape) ----------- */
@media (min-width: 480px){

  .container{
    max-width: 520px;
    margin: 0 auto;
    }

  .the{
    visibility: visible;
    margin: -50px 0 0px -9.8em;
    padding-bottom: 5px;
    }

  .pc{
    visibility: visible;
    margin: -30px 0 0px 4.7em
    } 

  h1 {
    font-family: 'Raleway', sans-serif;
    color: black;
    font-size: 1.9em;
    font-weight: normal;
    line-height: -0.5em;
    letter-spacing: 0em;
    }

  h2 {
    font-family: 'Open Sans', sans-serif;
    color: #b9b7b7;
    margin: 0 0 -30px 0px;
    padding-bottom: 4px;
    font-size: 1em;
    font-weight: normal;
    line-height: -0.5em;
    letter-spacing: 0em;
  }

  #TPC {
    text-align: left;
    width: 115px;
    margin-left: 5.7em;
    margin-top: 1em;
    }

  .rslides {
    margin-top: 0px;
    margin-left: -.8em;
    padding-left: 0em;
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 105%;
    }

  .rslides li:first-child {
    position: relative;
    display: block;
    float: left;
    }

  .rslides img {
    display: block;
    height: auto;
    float: left;
    width: 105%;
    border: 0;
    }

    .gallery {
    margin: 10px 0;
    margin-left: -.8em;
    padding-left: 0em;
    position: relative;
    line-height: 2em;
    list-style: none;
    overflow: hidden;
    width: 105%;
    }

}
/* ipad (portrait) ----------- */
@media (min-width : 768px){

  .container{
    max-width: 720px;
    margin: 0 auto;
    }

  .the{
    visibility: visible;
    margin: -49px 0 0px -11em;
    padding-bottom: 5px;
    }

  .pc{
    visibility: visible;
    margin: -49px 0 0px 5.6em
    }

  h1 {
    font-family: 'Raleway', sans-serif;
    color: black;
    font-size: 2.2em;
    font-weight: normal;
    line-height: -0.5em;
    letter-spacing: 0em;
    } 

  h2 {
    font-family: 'Open Sans', sans-serif;
    color: #b9b7b7;
    margin: 0 0 -30px 0px;
    padding-bottom: 6px;
    font-size: 1em;
    font-weight: normal;
    line-height: -0.5em;
    letter-spacing: 0em;
  }

  h3 {
    font-family: 'Open Sans', sans-serif;
    color: black;
    margin-bottom: -18px;
    padding: 0px;
    font-size: 1.15em;
    font-weight: normal;
    line-height: -0.5em;
    letter-spacing: -0.05em;
    text-align: center;
  }

  #TPC {
    text-align: left;
    width: 120px;
    margin-left: 11.5em;
    margin-top: 10px;
    }
 
  .rslides {
    margin-top: 0px;
    margin-left: -1.6em;
    padding-left: 0em;
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 107%;
    }

  .rslides li:first-child {
    position: relative;
    display: block;
    float: left;
    }

  .rslides img {
    display: block;
    height: auto;
    float: left;
    width: 107%;
    border: 0;
    }

  .gallery {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  text-align: center;
  line-height: 2.2em;
  margin-left: -1.5em;
  list-style: none;
  width: 107%;
  }
}

/* ipad (landscape) ----------- */
@media (min-width: 1020px) {  


  .container{
    max-width: 880px;
    margin: 0 auto;
  }

nav {
  font-size: 1em;
  line-height: 0px;
  padding: 10px 0;
  margin-top: 10px;
  }

nav ul {
  list-style: none;
  }

nav li {
  display: inline-block;
  
  }

nav a {
  font-weight: normal;
  
  }

.btn1 {
  display: none;
  }

.btn2 {
  display: none;
  }

.btn3 {
  float: left;
  color: white;
  line-height: 5px;
  background: #d9d8d8;
  text-transform: uppercase;
  text-align: center;
  margin-left: -28px;
  margin-top: 0px;
  margin-bottom: -70px;
  padding: 15px 43px;
  width: 160px;
  }

.btn4 {
  float: left;
  color: white;
  line-height: 5px;
  background: #d9d8d8;
  text-transform: uppercase;
  text-align: center;
  margin-left: 2.9px;
  margin-top: 0px;
  margin-bottom: -70px;
  padding: 15px 43px;
  width: 160px;
  }

.btn5 {
  float: left;
  color: white;
  line-height: 5px;
  background: #d9d8d8;
  text-transform: uppercase;
  text-align: center;
  margin-left: 478.9px;
  margin-top: -6px;
  margin-bottom: -70px;
  padding: 15px 43px;
  width: 160px;
  }

.btn6 {
  float: left;
  color: white;
  line-height: 5px;
  background: #d9d8d8;
  text-transform: uppercase;
  text-align: center;
  margin-top: -12px;
  margin-left: 728px;
  margin-bottom: -70px;
  padding: 15px 43px;
  width: 160px;
  }

  .the{
    visibility: visible;
    margin: -49px 0 0px -46em;
    padding-bottom: 5px;
    }

  .pc{
    visibility: visible;
    margin: -48px 0 0px -29em
    }

  h1 {
    font-family: 'Raleway', sans-serif;
    color: black;
    font-size: 2.2em;
    font-weight: normal;
    line-height: -0.5em;
    letter-spacing: 0em;
    } 

  h2 {
    font-family: 'Open Sans', sans-serif;
    color: #b9b7b7;
    margin: 0 0 -30px -40em;
    padding-bottom: 6px;
    font-size: 1em;
    font-weight: normal;
    line-height: -0.5em;
    letter-spacing: 0em;
  }

  h3 {
    font-family: 'Open Sans', sans-serif;
    color: black;
    margin-bottom: -18px;
    padding: 0px;
    font-size: 1.15em;
    font-weight: normal;
    line-height: -0.5em;
    letter-spacing: -0.05em;
    text-align: center;
    }

  #TPC {
    text-align: left;
    width: 120px;
    margin-left: 1em;
    margin-top: 10px;
    }
 
  .rslides {
    margin-top: -20px;
    margin-left: -1.6em;
    padding-left: 0em;
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 120%;
    }

  .rslides li:first-child {
    position: relative;
    display: block;
    float: left;
    }

  .rslides img {
    display: block;
    height: auto;
    float: left;
    width: 120%;
    border: 0;
    }

  .gallery {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  text-align: center;
  line-height: 2.2em;
  margin-left: -1.5em;
  list-style: none;
  width: 107%;
  }
}
