/**
*** SIMPLE GRID
*** (C) ZACH COLE 2016
**/

@import url(https://fonts.googleapis.com/css?family=Lato:400,300,300italic,400italic,700,700italic);

/* UNIVERSAL */

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
  font-size: 100%;
  background: linear-gradient(90deg, #1c1726, #211d2f, #242239, #272842, #2d314b, #323b54, #38455e, #3d5167, #425d70, #486b79, #4d7983, #52888c);
}

/* ROOT FONT STYLES */

* {
  font-family: 'Lato', Helvetica, sans-serif;
  color: #fff;
}

/* TYPOGRAPHY */

h1 {
  font-size: 3em;
}

h2 {
  font-size: 2.4em;
  margin: 2em 0 2em 0;

}

h3 {
  font-size: 1.375rem;
  margin: 2.5em 0 1.3em 0;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  font-size: 1.1rem;
  font-weight: 200;
}

.font-light {
  font-weight: 300;
}

.font-regular {
  font-weight: 400;
}

.font-heavy {
  font-weight: 700;
}

/* POSITIONING */

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.justify {
  text-align: justify;
}

/* ==== GRID SYSTEM ==== */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.row {
  position: relative;
  width: 100%;
}

.row [class^="col"] {
  float: left;
  margin: 0.5rem 1%;
  min-height: 0.125rem;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
  width: 98%;
}

.col-1-sm {
  width: 4.33%;
}

.col-2-sm {
  width: 12.66%;
}

.col-3-sm {
  width: 21%;
}

.col-4-sm {
  width: 29.33%;
}

.col-5-sm {
  width: 37.66%;
}

.col-6-sm {
  width: 46%;
}

.col-7-sm {
  width: 54.33%;
}

.col-8-sm {
  width: 62.66%;
}

.col-9-sm {
  width: 71%;
}

.col-10-sm {
  width: 79.33%;
}

.col-11-sm {
  width: 87.66%;
}

.col-12-sm {
  width: 96%;
}

.row::after {
	content: "";
	display: table;
	clear: both;
}

.hidden-sm {
  display: none;
}

@media only screen and (min-width: 20em) {  /* 320px */
  .container {
    width: 80%;
  }
}

@media only screen and (min-width: 45em) {  /* 720px */
  .col-1 {
    width: 4.33%;
  }

  .col-2 {
    width: 12.66%;
  }

  .col-3 {
    width: 21%;
  }

  .col-4 {
    width: 29.33%;
  }

  .col-5 {
    width: 37.66%;
  }

  .col-6 {
    width: 46%;
  }

  .col-7 {
    width: 54.33%;
  }

  .col-8 {
    width: 62.66%;
  }

  .col-9 {
    width: 71%;
  }

  .col-10 {
    width: 79.33%;
  }

  .col-11 {
    width: 87.66%;
  }

  .col-12 {
    width: 98%;
  }

  .hidden-sm {
    display: block;
  }
}

@media only screen and (min-width: 250em) { /* 960px */
  .container {
    width: 75%;
    max-width: 60rem;
  }
}


/* NAVIGATION */
.topnav {
  background-color: #333;
  overflow: hidden;
  box-shadow: 0 8px 6px -6px #111;
  z-index: 9;
}

.topnav a {
  float: left;
  display: block;
  color: #eee;
  text-align: center;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1.2em;
  line-height: 40px;
  border-radius: 3px;
}

.logo {
  width: 180px;
  height: 50px;
  background: url("../img/logo-sensyme-small.png") 0 0 no-repeat;
  margin: 0 50px;
}

.topnav a:hover {
  background-color: #0173C3;
}

.topnav a.active {
  background-color: #f90;
  color: #000;
}

.topnav .icon {
  display: none;
  font-size: 3em;
}

@media screen and (max-width: 720px) {
 .topnav a:not(:first-child) {display: none;}
 .topnav a.icon {
   float: right;
   display: block;
 }
 .logo {
   width: 90px;
   height: 25px;
   background: url("../img/logo-sensyme-small.png") 0 0 no-repeat;
   margin: 0 50px 0 10px;
 }
}

@media screen and (max-width: 720px) {
 .topnav.responsive {position: relative;}
 .topnav.responsive a.icon {
   position: absolute;
   right: 0;
   top: 0;
 }
 .topnav.responsive a {
   float: none;
   display: block;
   text-align: left;
 }
}

/* LAYOUT */
.top {
  background: #000;
  padding-top: 5px;
  box-shadow: 0 8px 6px -6px #222;
}

.top img {
  width: 100%;
  height:auto;
}

footer {
  background:url("../img/top-image.jpg") 10% 30%;
  height: 200px;
  background-position: center top;
  box-shadow: 0px 0px 10px #111;
  font-size: .8em;
  padding-left:50px;
}

.responsive_img {
  width: 100%;
  height: auto;
  border: 1px solid #666;
  border-radius: 20px;
}

.max468 {
  max-width: 468px;
}

.max677 {
  max-width: 677px;
}

.shadow {
  box-shadow: 20px 20px 40px #111;
}

.flt_lft {
  float: left;
}

.txt_rgt {
  text-align:right;
}

.demo {
	display:block;
	background:#F90;
	color:#000;
	font-size:4em;
	text-decoration:none;
	padding:50px;
	border-radius:10px;
	text-align:center;
	cursor:pointer
	}

.demo:hover {
	background:#0173C3;
	color:#fff;
}