@import url("fontawesome-all.min.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,300italic,400italic");

/*
	Alpha by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

/* Reset */
 
/* Based on meyerweb.com/eric/tools/css/reset (v2.0 | 20110126 | License: public domain) */

/* Wide */

@media screen and (max-width: 1680px) {
  body,
  input,
  select,
  textarea {
    font-size: 13pt;
  }
}

/* Normal */

@media screen and (max-width: 1280px) {
  body,
  input,
  select,
  textarea {
    font-size: 11pt;
  }
}

@media screen and (max-width: 980px) {
  body,
  input,
  select,
  textarea {
    font-size: 11pt;
  }
}

@media screen and (max-width: 840px) {
  html,
  body {
    overflow-x: hidden;
  }

  body,
  input,
  select,
  textarea {
    font-size: 11pt;
  }

  /* Section/Article */

  header br {
    display: none;
  }

  header.major {
    padding: 0 4em;
  }

  /* Box */

  .box {
    padding: 3em 2em;
  }

  .box .image.featured {
    margin-left: -2em;
    width: calc(100% + 4em);
  }

  .box .image.featured:first-child {
    margin-bottom: 3em;
    margin-top: -3em;
  }

  /* Header */

  #page-wrapper {
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-transition: -moz-transform 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease;
    -ms-transition: -ms-transform 0.5s ease;
    transition: transform 0.5s ease;
    padding-bottom: 1px;
  }
}

/* Mobile */

@media screen and (max-width: 736px) {
  /* Basic */

  body,
  input,
  select,
  textarea {
    font-size: 11pt;
  }

  h2 {
    font-size: 1.75em;
    line-height: 1.35em;
    letter-spacing: -0.025em;
  }

  h3 {
    font-size: 1.5em;
  }

  h4 {
    font-size: 1em;
  }

  /* Section/Article */

  header.major {
    padding: 1em;
  }

  header.major h2,
  header.major p {
    padding-left: 0.5em;
    padding-right: 0.5em;
  }

  /* Box */

  .box {
    margin: 1em;
    overflow-x: hidden;
    padding: 2em 2em !important;
  }

  .box .image.featured {
    margin-left: -2em;
    width: calc(100% + 4em);
  }

  .box .image.featured:first-child {
    margin-bottom: 2em;
    margin-top: -2em;
  }

  /* Main */

  #main > header {
    margin: 0 2em 1.5em 2em;
  }

  #main > header h2 {
    font-size: 2em;
  }

  #main > header p {
    font-size: 1em;
    padding-bottom: 1em;
  }

  body.landing #main {
    padding: 0;
    margin-top: 0;
  }
}

/* Mobile (Portrait) */

@media screen and (max-width: 480px) {
  /* Basic */

  html,
  body {
    min-width: 320px;
  }

  body,
  input,
  select,
  textarea {
    font-size: 11pt;
  }

  /* Section/Article */

  header.major {
    padding: 0;
  }

  /* Box */

  .box {
    border-radius: 0;
    box-shadow: none;
    margin: 1em 0 0 0;
    padding: 3em 1em !important;
  }

  .box .image.featured {
    border-radius: 0;
    margin-left: -1em;
    width: calc(100% + 2em);
  }

  .box .image.featured img {
    border-radius: 0 !important;
  }

  .box .image.featured:first-child {
    margin-bottom: 3em;
    margin-top: -3em;
  }
}

/* Container */

@media screen and (max-width: 840px) {
  .container {
    width: 100% !important;
  }
}

@media screen and (max-width: 736px) {
  .container {
    max-width: 100%;
  }
  .pc {
    display: none;
  }
  .mobile {
    display: block;
  }
}
