@import url("font-awesome.min.css");
@import url("http://fonts.googleapis.com/css?family=Lato:400,400italic,700,700italic|Source+Code+Pro:400");

.navbar {
  background-color: #fff;
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: 0px 5px 11px 0px rgba(50, 50, 50, 0.08);
  box-shadow: 0px 5px 11px 0px rgba(50, 50, 50, 0.08);
}

.navbar-default .navbar-brand {
  margin: 0;
  font-size: 1.5em;
  color: #000;
  font-weight: 700;
}

.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>li>a:hover {
  color: #3355cc;
  font-weight: bold;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>li>a {
  font-weight: bold;
  color: #000;
}

.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

.navbar .navbar-collapse {
  text-align: center;
}

body, input, select, textarea {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1.6em;
  text-align: justify;
}

a {
  color: #3355cc;
}

a:hover {
  color: #3355cc;
  text-decoration: none;
  font-weight: bold;
}

/* Icon */

.icon {
  text-decoration: none;
  border-bottom: none;
  position: relative;
}

.icon:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-transform: none !important;
}

.icon > .label {
  display: none;
}

/* List */

ul {
  list-style: disc;
  margin: 1em;
  padding-left: 1em;
}

ul li {
  padding: 0.5em 0;
}

ul.icons {
  cursor: default;
  list-style: none;
  padding-left: 0;
}

ul.icons li {
  display: inline-block;
  padding: 0 1em 0 0;
}

ul.icons li:last-child {
  padding-right: 0;
}

ul.icons li .icon:before {
  font-size: 1.5em;
}

/* Image */

.image {
  border-radius: 0.35em;
  border: 0;
  display: inline-block;
  position: relative;
}

.image:before {
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  background: url("images/overlay.png");
  border-radius: 0.35em;
  content: '';
  display: block;
  height: 100%;
  left: 0;
  opacity: 0.2;
  position: absolute;
  top: 0;
  width: 100%;
}

.image.thumb {
  text-align: center;
  width: 250px;
}

.image.thumb:after {
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  border-radius: 0.35em;
  border: solid 3px rgba(255, 255, 255, 0.5);
  color: #fff;
  content: 'Click for more images & descriptions';
  display: inline-block;
  font-size: 0.8em;
  font-weight: 400;
  left: 28%;
  line-height: 2.25em;
  margin: -1.25em 0 0 -3em;
  opacity: 0;
  padding: 0 1.5em;
  position: absolute;
  text-align: center;
  text-decoration: none;
  top: 50%;
  white-space: nowrap;
}

.image.thumb:hover:after {
  opacity: 1.0;
}

.image.thumb:hover:before {
  background: url("images/overlay.png"), url("images/overlay.png");
  opacity: 1.0;
}

.image.thumb.hidden {
  visibility: hidden;
}

.image.thumb img  {
  width: 250px;
}

.image.goto {
  text-align: center;
  width: 180px;
}

.image.goto:after {
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  border-radius: 0.35em;
  border: solid 3px rgba(255, 255, 255, 0.5);
  color: #fff;
  content: 'Go To';
  display: inline-block;
  font-size: 0.8em;
  font-weight: 400;
  left: 50%;
  line-height: 2.25em;
  margin: -1.25em 0 0 -3em;
  opacity: 0;
  padding: 0 1.5em;
  position: absolute;
  text-align: center;
  text-decoration: none;
  top: 50%;
  white-space: nowrap;
}

.image.goto:hover:after {
  opacity: 1.0;
}

.image.goto:hover:before {
  background: url("images/overlay.png"), url("images/overlay.png");
  opacity: 1.0;
}

.image.goto img  {
  width: 180px;
}

.image.thumb-big {
  text-align: center;
  width: 350px;
  height: 225px;
  overflow: hidden;
}

.image.thumb-big:after {
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  border-radius: 0.35em;
  border: solid 3px rgba(255, 255, 255, 0.5);
  color: #fff;
  content: 'Click for more images & descriptions';
  display: inline-block;
  font-size: 0.8em;
  font-weight: 400;
  left: 28%;
  line-height: 2.25em;
  margin: -1.25em 0 0 -3em;
  opacity: 0;
  padding: 0 1.5em;
  position: absolute;
  text-align: center;
  text-decoration: none;
  top: 50%;
  white-space: nowrap;
}

.image.thumb-big:hover:after {
  opacity: 1.0;
}

.image.thumb-big:hover:before {
  background: url("images/overlay.png"), url("images/overlay.png");
  opacity: 1.0;
}

.image.thumb-big.hidden {
  visibility: hidden;
}

.image.thumb-big img  {
  width: 350px;
}

.image img {
  border-radius: 0.35em;
  display: block;
}

.image.left {
  float: left;
  margin: 0 1.5em 1em 0;
  top: 0.25em;
}

.image.right {
  float: right;
  margin: 0 0 1em 1.5em;
  top: 0.25em;
}

.image.left, .image.right {
  max-width: 40%;
}

.image.left img, .image.right img {
  width: 100%;
}

.image.fit {
  display: block;
  margin: 0 0 2em 0;
  width: 100%;
}

.image.fit img {
  width: 100%;
}

.image.avatar {
  border-radius: 100%;
}

.image.avatar:before {
  display: none;
}

.image.avatar img {
  border-radius: 0.35em;
  width: 150px;
}

/* Header */

#header {
  background-color: #1c2126;
  background-attachment: scroll, fixed;
  background-position: top left, top left;
  background-repeat: repeat, no-repeat;
  background-size: auto, auto 100%;
  color: rgba(255, 255, 255, 0.5);
  height: 100%;
  right: 0;
  padding: 8em 0 0 4em;
  position: fixed;
  text-align: left;
  top: 0;
  width: 35%;
}

#header strong, #header b {
  color: #ffffff;
}

#header h2, #header h3, #header h4, #header h5, #header h6 {
  color: #ffffff;
}

#header h1 {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.35em;
  line-height: 1.75em;
  margin: 0;
}

#header p {
  margin-top: 1em;
  font-size: 0.9em;
}

#header .image.avatar {
  margin: 0 0 0 0;
}

/* Footer */

#footer {
  background-attachment: scroll;
  background-color: #fafafa;
  left: auto;
  padding: 2em 4em 3em 4em;
  position: fixed;
  text-align: center;
  width: 100%;
  bottom: 0;
}

#footer .icons {
  margin: 1em 0 0 0;
}

#footer .icons a {
  color: #777;
}

#footer .icons a:hover {
  color: #3355cc;
  text-decoration: none;
  font-weight: bold;
}

#footer .copyright {
  color: #777;
  font-size: 0.8em;
  list-style: none;
  margin: 1em 0 0 0;
  padding: 0;
}

#footer .copyright li {
  border-left: solid 1px #777;
  display: inline-block;
  line-height: 1em;
  margin-left: 0.75em;
  padding-left: 0.75em;
}

#footer .copyright li:first-child {
  border-left: 0;
  margin-left: 0;
  padding-left: 0;
}

#footer .copyright li a {
  color: inherit;
}

/* Main */

#main {
  /*margin-left: 5%;*/
  /*margin-right: 5%;*/
  max-width: 63em;
  padding: 4.5em 0 4em 3em;
  margin-bottom: 6em;
  /* width: calc(100% - 35%); */
}

#main > section {
  border-top: solid 2px #efefef;
}

#main > section:first-child {
  border-top: 0;
  padding-top: 0;
}

#main h1, #main h2, #main h3, #main h4 {
  color: #363e42;
}

#main h1 {
  font-size: 1.4em;
  font-weight: bold;
}

#main h2 {
  font-size: 1.3em;
  font-weight: bold;
}

#main h3 {
  font-size: 1.2em;
  font-weight: bold;
}

#main h4 {
  font-size: 1.1em;
}

#main .cell-image {
  display: inline-block;
  vertical-align: middle;
  margin: 1.5em 0.8em;
}

#main .cell-text {
  display: inline-block;
  vertical-align: top;
  margin: 0 0.5em;
  width: 65%;
}

#main .cell-text-photo {
  display: inline-block;
  vertical-align: top;
  margin: 0 0.5em;
  width: 53%;
}

#main .cell-grid {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  margin: 0 1em 1em 1em;
}

.home ul li {
  padding: 0.1em 0;
}

.home ul {
  list-style: disc;
  margin: 0 1em;
  padding-left: 1em;
}

#home .cell {
  display: inline-block;
  vertical-align: middle;
  margin: 2em 1.5em 0 0;
}

#home .img-block {
  display: inline-block;
  float: left;
}

/* Poptrox */

@-moz-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate(0deg);
  }
  100% {
	-moz-transform: rotate(360deg);
	-webkit-transform: rotate(360deg);
	-ms-transform: rotate(360deg);
	transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  0% {
	-moz-transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate(0deg);
  }
  100% {
	-moz-transform: rotate(360deg);
	-webkit-transform: rotate(360deg);
	-ms-transform: rotate(360deg);
	transform: rotate(360deg);
  }
}

@-ms-keyframes spin {
  0% {
	-moz-transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate(0deg);
  }
  100% {
	-moz-transform: rotate(360deg);
	-webkit-transform: rotate(360deg);
	-ms-transform: rotate(360deg);
	transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
	-moz-transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate(0deg);
  }
  100% {
	-moz-transform: rotate(360deg);
	-webkit-transform: rotate(360deg);
	-ms-transform: rotate(360deg);
	transform: rotate(360deg);
  }
}

.poptrox-popup {
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  -ms-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  background: #fff;
  border-radius: 0.35em;
  box-shadow: 0 0.1em 0.15em 0 rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding-bottom: 3em;
}

.poptrox-popup .loader {
  text-decoration: none;
  -moz-animation: spin 1s linear infinite;
  -webkit-animation: spin 1s linear infinite;
  -ms-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  font-size: 1.5em;
  height: 1em;
  left: 50%;
  line-height: 1em;
  margin: -0.5em 0 0 -0.5em;
  position: absolute;
  top: 50%;
  width: 1em;
}

.poptrox-popup .loader:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-transform: none !important;
}

.poptrox-popup .loader:before {
  content: '\f1ce';
}

.poptrox-popup .caption {
  background: #fff;
  bottom: 0;
  cursor: default;
  font-size: 0.9em;
  height: 3em;
  left: 0;
  line-height: 2.8em;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.poptrox-popup .nav-next,
.poptrox-popup .nav-previous {
  text-decoration: none;
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  background: rgba(0, 0, 0, 0.01);
  cursor: pointer;
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 50%;
  z-index: 2;
}

.poptrox-popup .nav-next:before,
.poptrox-popup .nav-previous:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-transform: none !important;
}

.poptrox-popup .nav-next:before,
.poptrox-popup .nav-previous:before {
  color: #fff;
  font-size: 2.5em;
  height: 1em;
  line-height: 1em;
  margin-top: -0.75em;
  position: absolute;
  text-align: center;
  top: 50%;
  width: 1.5em;
}

.poptrox-popup .nav-next {
  right: 0;
}

.poptrox-popup .nav-next:before {
  content: '\f105';
  right: 0;
}

.poptrox-popup .nav-previous {
  left: 0;
}

.poptrox-popup .nav-previous:before {
  content: '\f104';
  left: 0;
}

.poptrox-popup .closer {
  text-decoration: none;
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  color: #fff;
  height: 4em;
  line-height: 4em;
  opacity: 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 4em;
  z-index: 3;
}

.poptrox-popup .closer:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-transform: none !important;
}

.poptrox-popup .closer:before {
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  -ms-box-sizing: content-box;
  box-sizing: content-box;
  border-radius: 100%;
  border: solid 3px rgba(255, 255, 255, 0.5);
  content: '\f00d';
  display: block;
  font-size: 1em;
  height: 1.75em;
  left: 50%;
  line-height: 1.75em;
  margin: -0.875em 0 0 -0.875em;
  position: absolute;
  top: 50%;
  width: 1.75em;
}

.poptrox-popup:hover .nav-next,
.poptrox-popup:hover .nav-previous {
  opacity: 0.5;
}

.poptrox-popup:hover .nav-next:hover,
.poptrox-popup:hover .nav-previous:hover {
  opacity: 1.0;
}

.poptrox-popup:hover .closer {
  opacity: 0.5;
}

.poptrox-popup:hover .closer:hover {
  opacity: 1.0;
}

@media screen and (min-width: 1280px) {
  #header-container {
    margin-left: 15%;
  }
  #footer {
    padding: 0em 0em 1em 0em;
  }
}


/* Large */

@media screen and (max-width: 1280px) {
  /* Header */
  #header {
    padding: 6em 3em 3em 3em;
    width: 30%;
  }
  #header h1 {
    font-size: 1.25em;
  }
  #header h1 br {
    display: none;
  }

  /* Footer */
  #footer .copyright li {
	  border-left-width: 0;
	  display: block;
	  line-height: 2.25em;
	  margin-left: 0;
	  padding-left: 0;
  }

  /* Main */
  .navbar-default .navbar-brand {
    padding-left: 3em;
  }
  #main {
    margin-left: 3%;

    max-width: none;
    padding: 4.5em 3em 3em 3em;
    /*width: calc(100% - 30%);*/
  }
  #main .cell-grid {
    margin: 0 0.5em 1em 0.5em;
  }
  section.home {
    margin: 0 2em 0 0;
  }
}

/* Medium */

@media screen and (max-width: 980px) {
  /* Basic */
  h1 br, h2 br, h3 br, h4 br, h5 br, h6 br {
    display: none;
  }

  /* List */
  ul.icons li .icon {
    font-size: 1.25em;
  }

  /* Header */
  #header {
	  background-attachment: scroll;
	  left: auto;
	  padding: 4em 4em 0.3em 4em;
	  position: relative;
	  text-align: left;
	  top: auto;
	  width: 100%;
  }
  #header h1 {
	  font-size: 1.5em;
  }

  /* Footer */
  #footer .icons {
	  margin: 0 0 1em 0;
  }
  #footer .copyright {
    margin: 0 0 1em 0;
  }
  #footer .copyright li {
	  border-left-width: 1px;
	  display: inline-block;
	  line-height: 1em;
	  margin-left: 0.75em;
	  padding-left: 0.75em;
  }

  /* Main */
  #main {
	  padding: 4.5em 4em;
	  width: 97%;
  }
  section.home {
    margin: 1em 1.5em 0 0;
  }
}

/* Small */

@media screen and (max-width: 736px) {
  /* Basic */
  h1 {
	  font-size: 1.4em;
  }
  h2 {
	  font-size: 1.2em;
  }
  h3 {
	  font-size: 1em;
  }

  /* List */
  ul.labeled-icons li {
	  padding-left: 2em;
  }
  ul.labeled-icons li h3 {
	  line-height: 1.75em;
  }

  /* Header */
  #header {
	  background-attachment: scroll;
	  left: auto;
	  padding: 3.5em 0.6em 0.3em 0.6em;
	  position: relative;
	  text-align: left;
	  top: auto;
	  width: 100%;
  }
  #header h1 {
	  font-size: 1.1em;
  }

  /* Footer */
  #footer {
	  padding: .25em 1.5em;
  }

  /* Image */
  .image.thumb {
    text-align: center;
    width: 250px;
  }
  .image.thumb img {
    width: 250px;
  }
  .image.goto {
    text-align: center;
    width: 135px;
  }
  .image.goto img {
    width: 135px;
  }
  .image.thumb-big {
    text-align: center;
    width: 255px;
    height: 165px;
    overflow: hidden;
  }
  .image.thumb-big img {
    width: 255px;
  }

  /* Main */
  #main {
	  padding: 3.5em 1.9em 0.25em 1.9em;
  }
  #main .cell-text {
    width: 90%;
    text-align: left;
  }
  #main .cell-text-photo {
    width: 90%;
    text-align: left;
  }
  #main .cell-image {
    margin: 0;
  }
  #main .cell-grid {
    margin: 0 0.3em 0.5em 0.3em;
  }
  #main section article {
  	text-align: center;
  	padding: 0.8em 0;
  }

  /* Poptrox */
  .poptrox-popup {
    border-radius: 0;
  }
  .poptrox-popup .nav-next:before,
  .poptrox-popup .nav-previous:before {
	margin-top: -1em;
  }
}

/* XSmall */

@media screen and (max-width: 480px) {
  /* List */
  ul.actions {
	  margin: 0 0 2em 0;
  }
  ul.actions li {
	  display: block;
	  padding: 1em 0 0 0;
	  text-align: center;
	  width: 100%;
  }
  ul.actions li:first-child {
	  padding-top: 0;
  }
  ul.actions li > * {
	  margin: 0 !important;
	  width: 100%;
  }
  ul.actions li > *.icon:before {
	  margin-left: -2em;
  }
  ul.actions.small li {
	  padding: 0.5em 0 0 0;
  }
  ul.actions.small li:first-child {
	  padding-top: 0;
  }

  /* Header */
  #header {
  	background-attachment: scroll;
	  left: auto;
	  padding: 3.2em 0.8em 0em 0.8em;
	  position: relative;
	  text-align: left;
	  top: auto;
	  width: 100%;
  }
  #header h1 {
  	display: none;
	  font-size: 1em;
  }
  #header span {
  	display: none;
  	font-size: 0.8em;
  }

  /* Footer */
  #footer .copyright li {
	  border-left-width: 0;
	  display: block;
	  line-height: 2.25em;
	  margin-left: 0;
	  padding-left: 0;
  }
}
