@import url(https://fonts.googleapis.com/css?family=Merriweather);
input, textarea {
    font-size: 22px;
    display: block;
    width: 100%;
    height: 100%;
    padding: 15px 0px 15px 0px ;
    background: none;
    background-image: none;
    border: 1px solid #a0b3b0;
    color: #000;
    border-radius: 0;
    -webkit-transition: border-color .25s ease, -webkit-box-shadow .25s ease;
    transition: border-color .25s ease, -webkit-box-shadow .25s ease;
    transition: border-color .25s ease, box-shadow .25s ease;
    transition: border-color .25s ease, box-shadow .25s ease, -webkit-box-shadow .25s ease;
  }
  input:focus, textarea:focus {
    outline: 0;
    border-color: #1ab188;
  }

  label {
    position: relative;
    -webkit-transform: translateY(6px);
            transform: translateY(6px);
    color: rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    -webkit-backface-visibility: hidden;
    pointer-events: none;
    font-size: 22px;
  }

  label .req {
    margin: 2px;
    color: #1ab188;
  }
  
  label.active {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
    left: 2px;
    font-size: 14px;
  }
  label.active .req {
    opacity: 0;
  }
  
  label.highlight {
    color: #ffffff;
  }

  .field-wrap {
    position: relative;
    margin-bottom: 40px;
  }

  .btn {
    background-color: rgb(85, 75, 139);
    border: 1px solid rgb(104, 89, 187);
    color: #000000;
    padding: 15px 0px 15px 0px;
    font-size: 22px;
  }
body {
  padding: 0;
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.container {
  display: grid;
  grid-template-columns: 250px repeat(5, auto);
  grid-template-areas:
    'header header header header header header'
    'menu main main main main main'
    'menu footer footer footer footer footer';
  height: 100vh;
}

/*.grid-container > div {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 20px 0;
  font-size: 30px;
}*/

.header {
  grid-area: header;
  text-align: center;
  background-color: #333;
  height: 7vh;
}

.toggle {
  display: none;
}


.menu {
  grid-area: menu;
  background-color: #333;
  box-shadow: 3px 0px 6px rgba(0,0,0,0.16),
   0 3px 6px rgba(0,0,0,0.23);
  height: auto;
}

.menu ul {
  margin: -2px 0 0;
  padding: 0;
}

.menu ul li {
  list-style-type: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.menu ul li.active > a {
  color: #1abc9c;
}
.menu ul li.active ul {
  display: block;
}
.menu ul li a {
  color: #aeb2b7;
  text-decoration: none;
  display: block;
  padding: 18px 0 18px 25px;
  font-size: 16px;
  outline: 0;
  -webkit-transition: all 200ms ease-in;
  -moz-transition: all 200ms ease-in;
  -o-transition: all 200ms ease-in;
  -ms-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}
.menu ul li a:hover {
  color: rgb(254,254,254)
}
.menu ul li a span {
  display: inline-block;
}
.menu ul li a i {
  width: 20px;
}
.menu ul li a i .fa-angle-left,
.menu ul li a i .fa-angle-right {
  padding-top: 3px;
}
.menu ul ul {
  display: none;
}
.menu ul ul li {
  background: #23313f;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  border-bottom: none;
}
.menu ul ul li a {
  font-size: 12px;
  padding-top: 13px;
  padding-bottom: 13px;
  color: #aeb2b7;
}

.main {
  grid-area: main;
  background-color: rgb(212,212,209);
  height: auto;
}

.footer {
  grid-area: footer;
  bottom: 0;
  text-align: center;
  background-color: #333;
  /*height*/
  height: 10vh;
}

@media only screen and (max-width: 600px) {
  .container {
    grid-template-areas:
      'header header header header header header'
      'main main main main main main'
      'footer footer footer footer footer footer';
  }

  .container.active {
    grid-template-areas:
    'header header header header header header'
    'menu main main main main main'
    'menu footer footer footer footer footer';
  }

  .menu {
    display: none;
  }

  .menu.active {
    display: block;
  }

  .toggle {
    display: block;
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 2;
  }
  
  .toggle a {
    text-decoration: none;
    color: #262626;
    font-size: 24px;
    cursor: pointer;
  }
}

#footer-block {
  bottom: 0px;
}

#footer-block .developer {
  border: #f4f4f4 1px;
  text-decoration: none;
}

#footer-block .developer:link, #footer-block .developer:visited {
  background-color: #4267b2;
  color: rgb(255, 255, 255);
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

#footer-block .developer:hover, #footer-block .developer:active {
  background-color: rgb(255, 255, 255);
  color: #4267b2;
}

.btn {
    background-color: white;
    border: 1px solid #cccccc;
    color: #696969;
    padding: 15px 0px 15px 0px;
    font-size: 22px;
  }
  .btn--block {
    display: block;
    width: 100%;
  }
  .band {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 50px 0px;
    display: grid;
     
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 20px;
  }
  @media only screen and (min-width: 500px) {
    .band {
      grid-template-columns: repeat(2, 1fr);
    }  
  }
  @media only screen and (min-width: 850px) {
    .band {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  .card {
    background: white;
    text-decoration: none;
    color: #444;
    box-shadow: 9px 11px 5px rgba(0,0,0,10);
    /*display: flex;
    flex-direction: column;*/
    min-height: 100%;
    position: relative;
    top: 0;
    transition: all .1s ease-in;
  }
  .card:hover {
    top: -2px;
    box-shadow: 0 4px 5px rgba(0,0,0,0.2);
  }
  .card article {
    padding: 20px;
  }
   
  /* typography */
  .card h1 {
    font-size: 20px;
    margin: 0;
    color: #333;
  }
   
  .card p { 
    line-height: 1.4;
    flex: 1;
  }
   
  .card span {
    font-size: 12px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 2em 0 0 0;
  }
  .card .thumb {
    padding-bottom: 5%;
    background-size: cover;
    background-position: center center;
    position: relative;
    width: 100%;
    height: auto;
  }
  .card article {
    padding: 20px;
    flex: 1;
     
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
table {
    display: block;
  }
  
  tr, td, tbody, tfoot {
    display: block;
  }
  
  thead {
    display: none;
  }
  
  tr {
    padding-bottom: 10px;
  }
  
  td {
    padding: 10px 10px 0;
    text-align: center;
  }
  td:before {
    content: attr(data-title);
    color: #7a91aa;
    text-transform: uppercase;
    font-size: 1.4rem;
    padding-right: 10px;
    display: block;
  }
  
  table {
    width: 100%;
  }
  
  th {
    text-align: left;
    font-weight: 700;
  }
  
  thead th {
    background-color: #202932;
    color: #fff;
    border: 1px solid #202932;
  }
  
  tfoot th {
    display: block;
    padding: 10px;
    text-align: center;
    color: #b8c4d2;
  }
  
  .button {
    line-height: 1;
    display: inline-block;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    color: #fff;
    padding: 8px;
    background-color: #4b908f;
  }
  
  .select {
    padding-bottom: 20px;
    border-bottom: 1px solid #28333f;
  }
  .select:before {
    display: none;
  }

  @media (min-width: 970px) {
    table {
      display: table;
    }
  
    tr {
      display: table-row;
    }
  
    td, th {
      display: table-cell;
    }
  
    tbody {
      display: table-row-group;
    }
  
    thead {
      display: table-header-group;
    }
  
    tfoot {
      display: table-footer-group;
    }
  
    td {
      border: 1px solid #28333f;
    }
    td:before {
      display: none;
    }
  
    td, th {
      padding: 10px;
    }
  
    tr:nth-child(2n+2) td {
      background-color: #242e39;
    }
  
    tfoot th {
      display: table-cell;
    }
  
    .select {
      padding: 10px;
    }
  }
  
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  background: #f1f1f1;
  font-family: 'Merriweather', sans-serif;
}

h1 {
  text-align: center;
  color: #a8a8a8;
  text-shadow: 1px 1px 0 white;
}

form {
  max-width: 600px;
  text-align: center;
  margin: 20px auto;
}
form input, form textarea {
  border: 0;
  outline: 0;
  padding: 1em;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  display: block;
  width: 100%;
  margin-top: 1em;
  font-family: 'Merriweather', sans-serif;
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  resize: none;
}
form input:focus, form textarea:focus {
  -moz-box-shadow: 0 0px 2px #e74c3c !important;
  -webkit-box-shadow: 0 0px 2px #e74c3c !important;
  box-shadow: 0 0px 2px #e74c3c !important;
}
form #input-submit {
  color: white;
  background: #e74c3c;
  cursor: pointer;
}
form #input-submit:hover {
  -moz-box-shadow: 0 1px 1px 1px rgba(170, 170, 170, 0.6);
  -webkit-box-shadow: 0 1px 1px 1px rgba(170, 170, 170, 0.6);
  box-shadow: 0 1px 1px 1px rgba(170, 170, 170, 0.6);
}
form textarea {
  height: 126px;
}

.half {
  float: left;
  width: 48%;
  margin-bottom: 1em;
}

.right {
  width: 50%;
}

.left {
  margin-right: 2%;
}

@media (max-width: 480px) {
  .half {
    width: 100%;
    float: none;
    margin-bottom: 0;
  }
}
/* Clearfix */
.cf:before,
.cf:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.cf:after {
  clear: both;
}

