/* Layout
-------------------------------------------------------------- */
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font: 112%/1.5 "Open Sans", sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: #fff;
  color: #555;
}

.container {
  margin: 0 auto;
  max-width: 1000px;
  width: 90%;
}

/* Header
-------------------------------------------------------------- */
header {
  background: #435a6b;
  overflow: hidden;
  text-align: center;
}

header h1 {
  	border: 3px solid #fff;
    border-radius: 50%;
    color: #ffffff;
    display: block;
    font-size: 40px;
    height: 100px;
    line-height: 100px;
    margin: 50px auto 30px;
    width: 100px;
    vertical-align: center;
    font-weight: normal;
}

header p {
  color: rgba(255,255,255,0.7);
  margin: 0 auto;
}

header a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}

header a:hover {
  text-decoration: none;
}

header img {
  margin: 0 auto;
}

/* Section
-------------------------------------------------------------- */
section {
  border-top: 1px solid #eee;
  text-align: center;
  padding: 4rem 0;
}

section:first-of-type {
  border-top: none;
}

section.resources {
  text-align: left:
}

.example {
  border-top: none;
  background: #435a6b;
  color: #fff;
}

.example p {
  color: rgba(255,255,255,0.7);
}

.example img {
  margin: 0;
}

/* Menu
-------------------------------------------------------------- */
nav ul{
  background-color: #38434C;
  overflow: hidden;
  color: white;
  text-align: center;
  width: 100%;
  text-align: right;
  padding-right: 5%;
  font-size: 16px;
  position: fixed;
  right: 0;
  top: 0;
}

nav ul li{
  display: inline-block;
  padding: 10px;
}
nav ul li:hover{
  background-color: #E34B42;
}

nav ul a {
	text-decoration: none;
}

.handle{
  width: 100%;
  background: #38434C;
  text-align: left;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px 10px;
  cursor: pointer;
  color: white;
  display: none;
}

/* Grid
-------------------------------------------------------------- */
.column {
  float: left;
  margin-left: 5%;
}

.column:first-child {
  margin-left: 0;
}

.column.full {
  width: 100%;
}

.column.two-thirds {
  width: 65%;
}

.column.half {
  width: 47.5%;
}

.column.one-third {
  width: 30%;
}

.column.one-fourth {
  width: 21.25%;
}

/* Typography
-------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  margin: 0;
}

h1 {
  font-size: 1.5rem;
  line-height: 1.3em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}
h5 {
	color:white;
}
p {
  color: #999;
  margin: 0 auto;
  max-width: 100%;
}

code {
  background-color: #f8f8f8;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid #ddd;
  font-family: Consolas, "Liberation Mono", Courier, monospace;
  font-size: 0.8rem;
  padding: 0.1rem 0.3rem;
  position: relative;
  top: -1px;
  white-space: nowrap;
}

ul {
  display: inline-block;
  margin: 0;
  text-align: left;
}

/* Links
-------------------------------------------------------------- */
a {
  color: #54B1E4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Elements
-------------------------------------------------------------- */
hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 2em auto;
  width: 3rem;
}

hr.small {
  margin: 1.5em auto;
}

.circle {
  border: 3px solid #555;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  color: #555;
  display: block;
  font-size: 1.7rem;
  font-weight: 600;
  height: 3.2rem;
  line-height: 1.7em;
  margin: 0 auto 1rem auto;
  text-align: center;
  width: 3.2rem;
}

img {
  display: block;
  height: auto;
  margin: 0 auto 1.5rem auto;
  width: 100%;
}

.rwd {
  margin: 0 auto 1.5em auto;
  max-width: 380px;
}



.s{
  	margin: 0 auto;
    display:block;
    width:75px;
    height:75px;
    line-height:50px;
    border-radius: 50%;
	border: 1px solid #DDDDDD;
    text-align:center;
    text-decoration:none;
    box-shadow: 0 0 3px gray;
    font-size:20px;
    font-weight:bold;
}

.s:hover {

  	margin: 0 auto;
    display:block;
    width:75px;
    height:75px;
    line-height:50px;
    border-radius: 50%;
	border: 3px solid #E34B42;
    text-align:center;
    text-decoration:none;
    font-size:20px;
    font-weight:bold;
    }

/* Effect 4:
-------------------------------------------------------------- */
nav p {
	position: relative;
	display: inline-block;
	outline: none;
	text-decoration: none;
	text-transform: uppercase;
}
nav p:hover,
nav p:focus {
	outline: none;
}


.cl-effect-4 p {
	padding: 0 0 5px;
}

.cl-effect-4 p::after {
	position: absolute;
	top: 80%;
	left: 0;
	width: 100%;
	height: 1px;
	background: rgba(255,255,255,0.7);
	content: '';
	opacity: 0;
	-webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
	-moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
	transition: height 0.3s, opacity 0.3s, transform 0.3s;
	-webkit-transform: translateY(-10px);
	-moz-transform: translateY(-10px);
	transform: translateY(-10px);
}

.cl-effect-4 p:hover::after,
.cl-effect-4 p:focus::after {
	height: 3px;
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	transform: translateY(0px);
}

/* Effect 1:
-------------------------------------------------------------- */
.cl-effect-1 p::before,
.cl-effect-1 p::after {
	display: inline-block;
	opacity: 0;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
	-moz-transition: -moz-transform 0.3s, opacity 0.2s;
	transition: transform 0.3s, opacity 0.2s;
	color: #fff;
}

.cl-effect-1 p::before {
	margin-right: 10px;
	content: '[';
	-webkit-transform: translateX(20px);
	-moz-transform: translateX(20px);
	transform: translateX(20px);
	color: #fff;
}

.cl-effect-1 p::after {
	margin-left: 10px;
	content: ']';
	-webkit-transform: translateX(-20px);
	-moz-transform: translateX(-20px);
	transform: translateX(-20px);
	color: #fff;
}

.cl-effect-1 p:hover::before,
.cl-effect-1 p:hover::after,
.cl-effect-1 p:focus::before,
.cl-effect-1 p:focus::after {
	opacity: 1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	transform: translateX(0px);
	color: #fff;
}


/* Box Model
-------------------------------------------------------------- */
.box-model h1 { margin-bottom: 3rem; }

.igeo { color: #E34B42; }
.igeotopo { color: #E34B42; }
.gisblog { color: #E34B42; }
.igeoboat { color: #E34B42; }

/* Grid
-------------------------------------------------------------- */
.grid {
  text-align: center;
}

.grid span {
  font-size: 0.9em;
  font-weight: 600;
}

.grid .container {
  border: 2px dashed rgba(255,255,255,0.3);
  padding: 2em;
}

.grid .row {
  overflow: hidden;
  margin-top: 1.5em;
}

.grid .row:first-child {
  margin-top: 0;
}

.grid .column {
  border: 2px solid #fff;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  background: rgba(225,255,255,0.1);
  padding: 1.5em;
}

/* Grid Row Example
-------------------------------------------------------------- */
.row-example .container{
  border: 2px dashed rgba(255,255,255,0.2);
  padding: 2em;
}

.row-example .row {
  background: rgba(225,255,255,0.1);
  border: 2px dashed #fff;
  padding: 2em;
}

/* Grid Mobile
-------------------------------------------------------------- */
.mobile-background {
  background-image: url("/images/grid/mobile.png");
  background-size: 286px 600px;
  width: 286px;
  height: 600px;
  margin: 0 auto;
}

.container.mobile {
  border: none;
  max-width: 320px;
  padding: 106px 24px 0;
}

.container.mobile .row {
  margin: 0;
}

.container.mobile .column {
  margin: 0 0 18px 0;
  padding: 16.5px;
  width: 100%;
}

/* Gist Overrides
-------------------------------------------------------------- */
.gist .gist-file {
  font-size: .9rem !important;
  margin: 0 auto;
  max-width: 750px;
  overflow: hidden !important;
  text-align: left;
}

.gist .gist-file .gist-data {
  background: #f8f8f8 !important;
  border-bottom: none !important;
}

.gist .gist-file .gist-meta {
  display: none !important;
}

.gist-syntax .k {
  color: #555 !important;
  font-weight: normal !important;
}


/* #Clearfix
-------------------------------------------------------------- */
.container:before,
.container:after,
.row:before,
.row:after,
.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.container:after,
.row-example:after,
.cf:after {
  clear: both;
}

.container,
.row-example,
.cf {
  zoom: 1;
}

/* Media Queries
-------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  html { font-size: 100%; }
  section { padding: 2rem 0; }
  hr { margin: 2rem auto; }
  .fragmentation { min-height: 250px; }

  .column.full,
  .column.two-thirds,
  .column.half,
  .column.one-third,
  .column.one-fourth {
    float: none;
    margin: 2em 0 0 0;
    width: 100%;
  }

  .column:first-child { margin-top: 0; }
  .container.mobile .column { padding: 18px; }

  nav ul{
    max-height:0;
  }
  .showing{
    max-height: 20em;
	position: static;
  }
  nav ul li{
    width: 100%;
    text-align: left;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .handle{
    display: block;
  }
}

/*https://codepen.io/juergengenser/pen/xajeG*/
.diamond {
	width: 0;
	height: 0;
	border: 15px solid transparent;
	border-bottom-color: #F6D258;
	position: relative;
	top: -15px;
	display: block;
	text-indent: -9999px;
	margin: 25px auto 0px;
	clear: both;
  transition: all 0.4s ease;
}

.diamond:hover {
  border-bottom-color: #F6D258;
  top:-20px;
}

.diamond:after {
	content: '';
	position: absolute;
	left: -15px;
	top: 15px;
	width: 0;
	height: 0;
	border: 15px solid transparent;
	border-top-color: #F6D258;
  transition: all 0.1s linear;
}

.diamond:hover:after {
	content: '';
	position: absolute;
	left: -15px;
	top: 0;
	width: 0;
	height: 0;
	border: 15px solid transparent;
	border-bottom-color: #F6D258;
}
