@import url(https://fonts.googleapis.com/css?family=Alegreya+Sans+SC:400,100,300);
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
body {
  background-color: #f6f1eb;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #808080;
}
body.admin-bar {
  position: relative;
}
.container {
  width: 100%;
  max-width: 1280px;
}
.dmbs-content {
  margin-top: 125px;
  font-family: 'Montserrat', sans-serif;
  color: #808080;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.dmbs-content a {
  color: #283252;
}
.dmbs-content.active-family,
.dmbs-content.active-function,
.dmbs-content.active-search {
  padding-top: 100px;
}
.dmbs-content.active-input {
  padding-top: 270px;
}
.dmbs-content.active-shape {
  padding-top: 110px;
}
.dmbs-main {
  width: 100%;
  padding: 0;
}
.dmbs-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
}
.ferdio-header {
  background-color: #283252;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
.ferdio-header .logo {
  height: 70px;
}
.ferdio-header .logo-container {
  float: left;
  margin: 10px;
}
.ferdio-header .logo polyline {
  stroke: #fff !important;
}
.ferdio-header .logo path {
  fill: #fff !important;
}
.ferdio-header .logo rect {
  stroke: #fff !important;
}
.ferdio-header .header-text {
  padding: 20px 0;
  position: absolute;
  left: 10%;
  margin: 0px;
}
.ferdio-header .header-text img {
  height: 17px;
}
.ferdio-header .header-text .replaced-svg {
  margin: 10px;
}
.ferdio-header #filters {
  height: 0;
  position: relative;
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}
.ferdio-header .close-menu {
  display: none;
  color: #fff;
  font-family: 'Alegreya Sans SC', sans-serif;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  font-weight: 400;
}
.ferdio-header .close-menu:hover {
  text-decoration: none;
}
.ferdio-header .button-group {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  background: #222b49;
  /*transition: 0.5s;*/
  display: none;
  /*-ms-transform: rotateX(-90deg); 
			    -ms-transform-origin: 0px 0px; 
			    -webkit-transform: rotateX(-90deg); 
			    -webkit-transform-origin: 0px 0px; 
			    transform: rotateX(-90deg);
			    transform-origin: 0px 0px;
				backface-visibility: hidden;*/
  text-align: center;
  z-index: 10;
}
.ferdio-header .button-group.flip {
  -ms-transform: rotateX(0deg);
  -ms-transform-origin: 0px 0px;
  -webkit-transform: rotateX(0deg);
  -webkit-transform-origin: 0px 0px;
  transform: rotateX(0deg);
  transform-origin: 0px 0px;
}
.ferdio-header .button-group .group-wrap {
  padding: 25px;
}
.ferdio-header .button-group .button {
  margin: 7px 5px;
  background-color: #fff;
  -moz-border-radius: 28px;
  -webkit-border-radius: 28px;
  border-radius: 28px;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  border: none;
  color: #283252;
  font-size: 14px;
  font-weight: 600;
}
.ferdio-header .button-group .button:hover,
.ferdio-header .button-group .button.is-checked {
  opacity: .5;
  color: #cfd4e2;
}
.ferdio-header .button-group .button.btn-shape {
  background-color: transparent;
  border-radius: 0;
}
.ferdio-header .button-group .button.btn-shape .replaced-svg {
  fill: #fff;
}
.ferdio-header .button-group .button.btn-input {
  background-color: transparent;
  border-radius: 0;
  margin: 20px;
}
.ferdio-header .button-group .button.btn-input .replaced-svg text {
  font-family: 'Montserrat', sans-serif;
}
.ferdio-header .button-group .button a {
  color: #283252;
  text-decoration: none;
}
.ferdio-header .button-group .slick-next.slick-arrow {
  position: absolute;
  z-index: 999;
  right: -25px;
  top: 50%;
  margin-top: -22px;
  height: 45px;
  width: 45px;
  text-indent: -99999px;
  border: none;
  background-color: transparent;
  background-image: url('../img/next.svg');
  background-size: cover;
}
.ferdio-header .button-group .slick-prev.slick-arrow {
  position: absolute;
  z-index: 999;
  left: -25px;
  top: 50%;
  margin-top: -22px;
  height: 45px;
  width: 45px;
  text-indent: -99999px;
  border: none;
  background-color: transparent;
  background-image: url('../img/prev.svg');
  background-size: cover;
}
.ferdio-header #nav-main {
  text-align: right;
  list-style: none;
  margin: 20px 20px 20px 0;
  padding: 10px 0;
}
.ferdio-header #nav-main li {
  display: inline-block;
  position: relative;
}
.ferdio-header #nav-main li a {
  color: #fff;
  margin: 5px 15px;
  display: block;
  text-transform: uppercase;
}
.ferdio-header #nav-main li a:hover,
.ferdio-header #nav-main li a.current,
.ferdio-header #nav-main li a:active {
  text-decoration: none;
  border-bottom: solid 3px #fff;
  margin-bottom: 2px;
  color: #cfd4e2;
}
.ferdio-header #nav-main li .toggle {
  margin-right: 18px;
}
.ferdio-header #nav-main li .toggle:after {
  content: "";
  position: absolute;
  right: 0;
  top: 13px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #fff;
}
.ferdio-header #nav-toggle {
  display: none;
  cursor: pointer;
  height: 15px;
  width: 15px;
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -7.5px;
}
.ferdio-header #nav-toggle span {
  cursor: pointer;
  border-radius: 1px;
  height: 2px;
  width: 15px;
  background: white;
  position: absolute;
  display: block;
  content: '';
  transition: all 500ms ease-in-out;
}
.ferdio-header #nav-toggle span:before {
  cursor: pointer;
  border-radius: 1px;
  height: 2px;
  width: 15px;
  background: white;
  position: absolute;
  display: block;
  content: '';
  top: 10px;
  transition: all 500ms ease-in-out;
}
.ferdio-header #nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 2px;
  width: 15px;
  background: white;
  position: absolute;
  display: block;
  content: '';
  bottom: -5px;
  transition: all 500ms ease-in-out;
}
.ferdio-header #nav-toggle.active span {
  background-color: transparent;
}
.ferdio-header #nav-toggle.active span:before {
  top: 10px;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.ferdio-header #nav-toggle.active span:after {
  top: 10px;
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.isotope-item {
  width: 20%;
  height: auto;
  position: relative;
  float: left;
  overflow: hidden;
  background: rgba(34, 43, 73, 0.8);
}
.isotope-item h2 {
  position: absolute;
  top: 25px;
  left: 25px;
  color: #283252;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  z-index: 9;
}
.isotope-item img {
  margin: 0;
  width: 100%;
  height: auto;
  border: solid 10px #f6f1eb;
  opacity: 1;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.isotope-item a .thumb-overlay {
  opacity: 0;
  position: absolute;
  content: "";
  left: 10px;
  top: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(34, 43, 73, 0.8);
}
.isotope-item a:hover .thumb-overlay {
  opacity: .5;
}
.archive-header {
  display: none;
}
#searchform {
  position: relative;
  width: 390px;
  margin: 25px auto;
}
#searchform label {
  display: none;
}
#searchform #s {
  width: 100%;
  margin: 0 auto;
  -moz-border-radius: 28px;
  -webkit-border-radius: 28px;
  border-radius: 28px;
}
#searchform #searchsubmit {
  position: absolute;
  right: 0px;
  top: 50%;
  margin-top: -17px;
  background: transparent;
  color: #222b49;
  border: none;
  height: 34px;
  width: 45px;
  text-indent: -99999px;
  z-index: 8;
}
#searchform #searchsubmit:hover,
#searchform #searchsubmit:after,
#searchform #searchsubmit:focus,
#searchform #searchsubmit:active {
  background-color: transparent;
  border-color: transparent;
  outline: none;
}
#searchform:after {
  font: normal normal normal 16px/1 FontAwesome;
  content: "\f002";
  color: #222b49;
  position: absolute;
  right: 15px;
  top: 50%;
  margin-top: -8px;
}
#nav-below {
  position: fixed;
  bottom: 0;
  width: 100%;
}
.overlay {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}
#fancybox-loading {
  width: 40px;
  height: 40px;
  margin: 100px auto;
  background-color: #FFF;
  background-image: none !important;
  border-radius: 100%;
  -webkit-animation: sk-scaleout 1s infinite ease-in-out;
  animation: sk-scaleout 1s infinite ease-in-out;
}
#fancybox-loading div {
  background-image: none !important;
}
@-webkit-keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 0;
  }
}
@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}
/********************* SINGLE DATA TYPE PAGE ************************/
.page-header {
  border-bottom: 1px solid #dddddd;
  margin-top: 0px;
  float: left;
  width: 100%;
}
.page-header h2,
.page-header p {
  float: left;
  margin: 0;
}
.page-header h2 {
  margin-right: 10px;
  font-size: 24px;
}
.page-header p {
  margin: 5px 0 0 0px;
}
.thumbnail-single img {
  width: 100%;
  height: auto;
}
.postmeta-single h4 {
  text-transform: uppercase;
  margin: 10px 0;
}
.postmeta-single ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.postmeta-single ul li a {
  line-height: 30px;
  font-weight: 600;
}
.postmeta-single ul li a:hover {
  opacity: 0.7;
  text-decoration: none;
}
.postmeta-single .svg text {
  font-family: 'Montserrat', sans-serif;
}
.postmeta-single .svg:hover {
  opacity: 0.7;
}
.postmeta-single .input li,
.postmeta-single .shape li {
  margin: 10px 0;
}
.postmeta-single .shape svg * {
  fill: #283252;
}
.examples-single {
  margin-top: 40px;
}
.examples-single h4 {
  text-transform: uppercase;
}
.examples-single ul {
  margin: 0 -10px;
  padding: 0;
  list-style: none;
}
.examples-single ul li {
  float: left;
  border: solid 5px #f6f1eb;
  padding: 0px;
}
.examples-single ul li a {
  display: block;
  background: rgba(34, 43, 73, 0.8);
}
.examples-single ul li a:hover img {
  opacity: .5;
}
.examples-single ul li img {
  border: solid 5px #fff;
  width: 100%;
  background: #fff;
}
.fancybox-overlay {
  width: 100% !important;
  height: 100% !important;
}
.fancybox-prev span {
  position: absolute;
  left: 10px;
  top: 50%;
  margin-top: -22px;
  height: 45px;
  width: 45px;
  background-image: url('../img/prev.svg') !important;
  background-size: cover;
}
.fancybox-next span {
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -22px;
  height: 45px;
  width: 45px;
  background-image: url('../img/next.svg') !important;
  background-size: cover;
}
.fancybox-close {
  background-image: none !important;
  color: #fff;
  font-size: 65px;
  font-weight: 200;
  position: fixed !important;
  right: 10px !important;
}
.fancybox-close:before {
  content: "×";
  font-family: 'Alegreya Sans SC', sans-serif;
}
.fancybox-close:hover {
  color: #fff;
  text-decoration: none;
}
.fancybox-title a {
  color: #fff;
}
button:focus {
  outline: none;
}
[role='main'] {
  position: relative;
  z-index: 1;
  margin: 0;
  height: 100%;
  /* however tall the footer is */
  margin-bottom: 46px;
  background-color: #f6f1eb;
}
[role='contentinfo'] {
  height: 46px;
  width: 100%;
  background: #222b49;
  padding-top: 15px;
  color: #f6f1eb;
  font-size: 16px;
  position: fixed;
  bottom: 0;
  left: 0;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}
[role='contentinfo'] a {
  color: #f6f1eb;
  position: relative;
  height: 25px;
  display: inline-block;
}
[role='contentinfo'] a span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  display: block;
}
[role='contentinfo'] a:hover {
  opacity: 0.7;
}
input[type='text'],
input[type='number'],
textarea {
  font-size: 16px !important;
}
/* FIX FOR ISOTOPE COLUMNS */
@media only screen and (min-width: 1280px) {
  .isotope-item {
    width: 20%;
  }
  .examples-single .example {
    width: 20%;
  }
}
@media only screen and (max-width: 1279px) {
  .isotope-item {
    width: 25%;
  }
  .examples-single .example {
    width: 25%;
  }
}
@media only screen and (max-width: 959px) {
  .isotope-item {
    width: 33.33333%;
  }
  .examples-single .example {
    width: 33.33333%;
  }
  .sm-fix {
    position: relative;
  }
  .sm-fix-element {
    position: absolute;
    top: 0;
    right: 0;
  }
}
@media only screen and (max-width: 723px) {
  .isotope-item {
    width: 50%;
  }
  .examples-single .example {
    width: 50%;
  }
  .sm-fix-element {
    position: relative;
    top: auto;
    right: auto;
  }
}
/* END FIX */
/* Medium Devices, Desktops */
/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
  .dmbs-content {
    margin-top: 105px;
  }
  #nav-main {
    display: none;
    position: fixed;
    left: 0px;
    top: 95px;
    width: 100%;
    margin: 0 !important;
    background: #222b49;
    z-index: 12;
  }
  .admin-bar #nav-main {
    top: 127px;
  }
  #nav-main li {
    width: 100%;
    text-align: center;
  }
  #nav-main li a:after {
    display: none;
  }
  #nav-main li a:hover,
  #nav-main li a.current,
  #nav-main li a:active {
    text-decoration: none;
    border-bottom: none !important;
  }
  .ferdio-header .logo {
    height: 65px;
  }
  .ferdio-header .header-text {
    padding: 0;
    margin: 0;
    left: 50%;
    margin-left: -101px;
    top: 50%;
    margin-top: -20px;
  }
  .ferdio-header .header-text .replaced-svg {
    height: 13px;
  }
  .admin-bar #nav-main {
    top: 135px;
  }
  #nav-toggle {
    display: block !important;
  }
  .button-group {
    top: 95px !important;
    z-index: 13 !important;
    position: fixed !important;
  }
  .isotope-item h2 {
    font-size: 14px;
  }
  .fancybox-prev span {
    position: fixed;
    left: 35%;
    top: 20px;
    background-size: cover !important;
  }
  .fancybox-next span {
    position: fixed;
    right: 35%;
    top: 20px;
    background-size: cover !important;
  }
  #searchform {
    width: 100%;
  }
  .hide-mobile {
    display: none !important;
  }
  .content-single {
    margin: 20px 0;
  }
}
/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
  .content-single {
    margin-top: 15px;
  }
  .dmbs-content {
    margin-top: 90px !important;
  }
  .isotope-item img {
    border-width: 4px;
  }
  .isotope-item h2 {
    top: 10px;
    left: 10px;
    font-size: 12px;
  }
  .ferdio-header {
    padding: 7px 0;
  }
  .ferdio-header .logo {
    height: 44px;
  }
  .ferdio-header .header-text {
    padding: 0;
    margin: 0;
    position: absolute;
    left: 50%;
    margin-left: -98px;
    top: 50%;
    margin-top: -18px;
  }
  .ferdio-header #nav-toggle {
    margin-top: 10px !;
  }
  .ferdio-header #nav-main,
  .ferdio-header .button-group {
    top: 79px !important;
  }
  .sm-fix-element {
    position: relative;
    top: auto;
    right: auto;
  }
  .postmeta-single ul li a {
    font-size: 14px;
  }
  [role='contentinfo'] {
    height: auto;
  }
}
/* Custom, iPhone Retina */
@media only screen and (max-width: 890px) {
  .ferdio-header-text {
    padding: 0px;
  }
  .ferdio-header-img {
    padding: 0px;
  }
  .ferdio-header #nav-main li a {
    color: #fff;
    margin: 5px 10px;
  }
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  select,
  textarea,
  input {
    font-size: 16px !important;
  }
}
