/*
Theme Name: Science Communication Network
Author: Losaidos Design
Author URI: http://losaidos.com/
Description: Custom theme for the Science Communication Network
Version: 1.0.0
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
01 Normalize
02 Elements
03 Typography
04 Forms
  - Fields
  - Buttons
05 Navigation
  - Links
  - Menus
  - Hamburger
  - Side navigation
06 Accessibility
07 Alignments
08 Clearings
09 Widgets
10 Content
  - Header
  - Body
  - Sidebar
  - Footer
    - Posts and pages
  - Asides
  - Comments
# Infinite scroll
# Media
  - Captions
  - Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
01 Normalize
--------------------------------------------------------------*/

html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}


/*--------------------------------------------------------------

02 Elements

--------------------------------------------------------------*/

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  box-sizing: inherit;
}

body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */
}

blockquote,
q {
  quotes: "" "";
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 0;
  padding-left: 20px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li>ul,
li>ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}


/*--------------------------------------------------------------

03 Typography

--------------------------------------------------------------*/

body,
button,
input,
select,
textarea {
  color: #404040;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.625;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
}

h2 {
  font-size: 26px;
  font-weight: 400;
}

.home h2 {
  margin-top: 0;
  margin-bottom: 30px;
}

h2.entry-title span {
  display: block;
  font-size: 24px;
  font-weight: 200;
  text-transform: none;
}

@media (min-width: 560px) {
  h2.entry-title span {
    display: inline-block;
  }
  h2.entry-title span:before {
    content: "\00a0 \003a \00a0";
  }
}

@media (min-width: 768px) {
  .page-template-template-contact h2 {
    margin-bottom: 20px;
  }
}

h4 {
  text-transform: none;
}

.primary-content h2:after,
.entry-header h2:after {
  content: '';
  border: 1px solid;
  display: block;
  width: 1.5em;
  height: 2px;
  margin-top: 5px;
}

p {
  margin-top: 0;
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.625;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 15px;
  font-size: 0.9375rem;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}


/*--------------------------------------------------------------

04 Forms

--------------------------------------------------------------*/


/*--------------------------------------------------------------

04a Fields

--------------------------------------------------------------*/

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 2px solid #4c4c4c;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  /* Removes awkward default styles on some inputs for iOS */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  color: #111;
  border: 2px solid #33C3F0;
  outline: 0;
}

textarea {
  padding-top: 6px;
  padding-bottom: 6px;
  height: 8em;
  width: 100%;
}

label,
legend {
  /*display: block;*/
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0;
}

fieldset {
  padding: 0;
  border-width: 0;
}

input[type="checkbox"],
input[type="radio"] {
  display: inline;
}

label>.label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal;
}


/* Styles specific to Gravity Forms */

.gform_wrapper {
  margin: 0 !important;
  max-width: 100% !important;
}

.gform_wrapper ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gform_wrapper ul li.gfield {
  margin-bottom: 0.5em;
}

.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper textarea {
  width: 100%;
  border-radius: 0;
}

.gform_wrapper .g-recaptcha {
  margin-bottom: 30px;
}

.search-form label {
  display: inline-block;
}

.search-form input[type="submit"] {
  height: 38px;
  line-height: 36px;
}


/* Keep CAPTCHA from breaking mobile layout */

@media screen and (max-width: 345px) {
  .g-recaptcha>div>div {
    border-right: 1px solid #d3d3d3;
    width: 290px !important;
    border-radius: 4px;
  }
}


/*--------------------------------------------------------------

04b Buttons

--------------------------------------------------------------*/

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"],
.more-link,
.button:visited {
  display: inline-block;
  height: 40px;
  padding: 0 30px;
  color: #4c4c4c;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: 0;
  border: 2px solid #4c4c4c;
  cursor: pointer;
  box-sizing: border-box;
}

.button:hover,
.button:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="button"]:hover,
input[type="button"]:focus,
.more-link:hover,
.more-link:focus,
.button:visited:hover,
.button:visited:focus {
  color: #888;
  border-color: #888;
  text-decoration: none;
  outline: 0;
}

.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #fff;
  border-color: #33C3F0;
  background-color: #33C3F0;
}

.button.button-primary:hover,
.button.button-primary:focus,
button.button-primary:hover,
button.button-primary:focus,
input[type="submit"].button-primary:hover,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:hover,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:hover,
input[type="button"].button-primary:focus {
  color: #fff;
  border-color: #1EAEDB;
  background-color: #1EAEDB;
  text-decoration: none;
  outline: 0;
}

input.search-submit {
  display: inline-block;
  height: 40px;
  padding: 0 30px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 38px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  background-color: #33C3F0;
  border: 2px solid #33C3F0;
  cursor: pointer;
  box-sizing: border-box;
  color: #FFF;
}

input.search-submit:hover,
input.search-submit:focus {
  color: #FFF;
  background-color: #1EAEDB;
  border-color: #1EAEDB;
}

input.search-field {
  height: 38px;
  line-height: 36px;
}

.search-form input[type="submit"] {
  height: 38px;
  line-height: 34px;
}

a.more-link,
a.post-edit-link,
span.edit-link {
  margin-top: 20px;
  display: block;
}

a.more-link {
  max-width: 135px;
}

a.post-edit-link {
  max-width: 90px;
}

.btn-blog {
  display: block;
  margin: 30px auto 0;
  max-width: 300px;
}

.social .button {
  height: 42px;
  font-size: 24px;
  padding: 0 8px;
  margin: 0 5px;
}

.social .button.primary:first-of-type {
  margin-left: 0;
}

.eh-button {
  margin-bottom: 30px;
}

@media (min-width: 992px) {
  .eh-button {
    margin-bottom: 0;
  }
}

.work-img {
  height: 480px;
  background-repeat: no-repeat;
  background-position: top left;
  background-size: cover;
}

a.staff-photo,
a.staff-photo:visited {
  height: 264px;
  color: white;
  display: block;
  text-align: center;
  padding: 155px 0 20px;
  margin-bottom: 1.5em;
  background-color: rgba(0, 0, 0, 0.3);
}

a.staff-photo:hover,
a.staff-photo:focus {
  color: white;
  background-color: rgba(0, 0, 0, 0.1);
}

a.staff-photo h3 {
  font-size: 20px;
  margin: 15px 0 5px;
}

a.staff-photo h4 {
  font-size: 14px;
  margin: 0 0 10px;
}

.profile-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.staff-page-photo {
  width: 100%;
  max-width: 300px;
  margin: 10px 0 15px;
}

.staff-profiles .profile-link,
.funders .profile-link {
  width: 100%;
}

a.funder-name-link h3 {
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin: 10px 0;
  font-size: 18px;
  border: 2px solid #fff;
  background-color: transparent;
}

a.funder-name-link h3:hover,
a.funder-name-link h3:focus {
  background-color: rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 540px) {
  .staff-profiles .profile-link,
  .funders .profile-link {
    width: 50%;
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 992px) {
  .funders .profile-link {
    /*width: 25%;*/
    width: 33.33333333%;
  }
}


/*--------------------------------------------------------------

05 Navigation

--------------------------------------------------------------*/


/*--------------------------------------------------------------

## Links

--------------------------------------------------------------*/

a.funder-name-link[href^="#"] {
  pointer-events: none;
  cursor: default;
}

a {
  color: #000;
}

a:visited {
  color: #000;
}

a:hover,
a:focus,
a:active {
  color: royalblue;
  text-decoration: none;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

.entry-content p a,
.entry-content ul a {
  text-decoration: underline;
}


/*--------------------------------------------------------------

## Menus

--------------------------------------------------------------*/


/*--------------------------------------------------------------

## Primary navigation

--------------------------------------------------------------*/

.nav li a {
  color: #fff;
}

.nav li a:focus,
.nav li a:hover {
  color: #33C3F0;
  text-decoration: none;
  background-color: transparent;
}

.navbar-nav>li>a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  line-height: 15px;
  padding: 12px 15px;
  /*margin: 10px 15px 10px 0;*/
  color: #fff;
  border: 2px solid transparent;
}

.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus {
  text-decoration: none;
  border: 2px solid #33C3F0;
  background-color: transparent;
  /*background-color: rgba(255,255,255,.2);*/
}

.site-header .navbar-nav>li.current_page_item a {
  background-color: transparent;
  border: 2px solid #33C3F0;
  color: #33C3F0;
}

.site-header .navbar-nav>li.current_page_item a:hover,
.site-header .navbar-nav>li.current_page_item a:focus {
  color: #10aee0;
  border-color: #10aee0;
}

.navbar-collapse {
  padding-right: 15px;
  padding-left: 15px;
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
  border-top: none;
  box-shadow: none;
}

#navbar-collapse-1,
#navbar-collapse-2 {
  padding-left: 0;
}

#navbar-collapse-3 {
  padding: 0;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

.site-header .menu-container #menu-primary-bottom-menu li ul li {
  border-right: none;
}

.site-header .menu-container #menu-primary-bottom-menu li ul li a {
  padding: 6px 12px;
}

.site-header .dropdown-menu {
  top: 64px;
  right: 0;
  z-index: 1000;
  float: right;
  padding: 0 0 10px;
  background-color: rgba(0, 0, 0, 0.5);
  border-top: none;
}

@media (min-width: 1200px) {
  .site-header .dropdown-menu {
    top: 64px;
  }
}

.nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover {
  background-color: transparent;
  border-color: rgba(0, 0, 0, 0.5);
}

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:focus,
.dropdown-menu>.active>a:hover {
  color: #fff;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.5);
  outline: 0;
}

@media (min-width: 768px) {
  .navbar-right .dropdown-menu {
    right: 0;
    left: auto;
  }
  .navbar-right .dropdown-menu li a {
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 16px;
  }
}


/*--------------------------------------------------------------

## Side navigation

--------------------------------------------------------------*/

.side-navigation .nav {
  margin: 30px 0;
  width: 100%;
}

.side-navigation .navmenu-default,
.side-navigation .navbar-default .navbar-offcanvas {
  text-align: center;
  border-color: #e7e7e7;
  background: -webkit-linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("./img/scn-sidenav.jpg");
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("./img/scn-sidenav.jpg");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: cover;
}

.side-navigation img {
  margin: 15px auto 30px;
  display: block;
  width: 150px;
}

.side-navigation li {
  width: 100%;
}

.side-navigation li a {
  color: #fff;
  font-size: 16px;
  line-height: 18px;
  padding: 12px 0;
  font-weight: 400;
  border: none;
}

.side-navigation li a:focus,
.side-navigation li a:hover {
  color: #33C3F0;
  text-decoration: none;
  background-color: transparent;
  border: none;
}

.side-navigation .navbar-nav .open .dropdown-menu {
  position: static;
  float: none;
  width: auto;
  margin-top: 0;
  background-color: transparent;
  border: 0;
  box-shadow: none;
}

.side-navigation .navbar-nav .open .dropdown-menu .dropdown-header,
.side-navigation .navbar-nav .open .dropdown-menu>li>a {
  padding: 10px 0 10px 35px;
  line-height: 20px;
}

.canvas-slid {
  right: 240px;
}

.navmenu,
.navbar-offcanvas {
  width: 240px;
  overflow-x: hidden;
}


/*--------------------------------------------------------------

## Hamburger

--------------------------------------------------------------*/

.hamburger {
  display: block;
  float: right;
  position: relative;
  z-index: 1000;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 40px;
  height: 63px;
  font-size: 0;
  text-indent: -9999px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
  border-radius: 0;
  border: none;
  cursor: pointer;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}

.hamburger:focus {
  outline: none;
}

.hamburger span {
  display: block;
  position: absolute;
  top: 30px;
  left: 0px;
  right: 0px;
  height: 3px;
  background-color: #4c4c4c;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}

.hamburger span::before,
.hamburger span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #4c4c4c;
  content: "";
  -webkit-transition-duration: 0.3s, 0.3s;
  transition-duration: 0.3s, 0.3s;
  -webkit-transition-delay: 0.3s, 0s;
  transition-delay: 0.3s, 0s;
}

.hamburger span::before {
  top: -12px;
  -webkit-transition-property: top, -webkit-transform;
  transition-property: top, transform;
}

.hamburger span::after {
  bottom: -12px;
  -webkit-transition-property: bottom, -webkit-transform;
  transition-property: bottom, transform;
}

button.hamburger,
button.hamburger:hover,
button.hamburger:focus {
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
}


/* active state, i.e. menu open */

.hamburger.is-active span::before {
  background-color: #33C3F0;
  top: 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.hamburger.is-active span::after {
  background-color: #33C3F0;
  bottom: 0;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.hamburger.is-active span::before,
.hamburger.is-active span::after {
  -webkit-transition-delay: 0s, 0.3s;
  transition-delay: 0s, 0.3s;
}

button.hamburger.is-active {
  background-color: transparent;
}

button.hamburger.is-active span {
  background: none;
}


/*--------------------------------------------------------------

## Scrollup

--------------------------------------------------------------*/

a.scrollup {
  position: fixed;
  z-index: 1000;
  bottom: 20px;
  right: 20px;
  display: none;
  border-radius: 50%;
  background-color: #33C3F0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0;
  height: 40px;
  width: 40px;
}

a.scrollup:hover,
a.scrollup:focus {
  color: #4c4c4c;
  background-color: #10aee0;
  text-decoration: none;
}

a.scrollup::before {
  border-style: solid;
  border-width: 3px 3px 0 0;
  content: '';
  display: inline-block;
  height: 12px;
  width: 12px;
  top: 7px;
  left: 13px;
  position: relative;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  vertical-align: middle;
  color: #fff;
}


/*--------------------------------------------------------------

06 Accessibility

--------------------------------------------------------------*/


/* Text meant only for screen readers. */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}


/*--------------------------------------------------------------

07 Alignments

--------------------------------------------------------------*/

.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/*--------------------------------------------------------------

08 Clearings

--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}


/*--------------------------------------------------------------

09 Widgets

--------------------------------------------------------------*/

.widget {
  margin: 0 0 1.5em;
  /* Make sure select elements fit in widgets. */
}

.widget select {
  max-width: 100%;
}


/* Search widget. */

.widget_search .search-submit {
  display: none;
}

.widget_rss h2 {
  margin-top: 0;
}

.widget_rss ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.widget_rss ul li {
  margin: 0;
  border-bottom: 1px solid #ccc;
  padding: 18px 0;
}

.widget_rss ul li:first-of-type {
  padding-top: 0;
}

.widget_rss ul li:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.widget_rss ul li a {
  font-weight: 600;
}

.widget_rss ul li span {
  display: block;
}

h2.widget-title a:first-of-type {
  position: relative;
  float: right;
  display: inline-block;
  padding-left: 15px;
}


/*--------------------------------------------------------------

# Content

--------------------------------------------------------------*/


/*--------------------------------------------------------------

## Body

--------------------------------------------------------------*/


/*--------------------------------------------------------------

## Subfeature

--------------------------------------------------------------*/

.primary-content-area {
  padding: 15px;
}

@media (min-width: 768px) {
  .primary-content-area {
    padding: 30px 15px;
  }
}

@media (min-width: 992px) {
  .primary-content-area {
    padding: 60px 15px;
  }
}

.triple-feat {
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .triple-feat {
    margin-bottom: 0;
  }
}

.triple-feat:last-of-type {
  margin-bottom: 0;
}

.triple-feat .fa {
  font-size: 54px;
}

.triple-feature {
  text-align: center;
  padding: 40px 0;
}

.triple-feature img {
  max-width: 80%;
  margin: 10px auto 20px;
  border-radius: 50%;
}

.triple-feature .triple-feat {
  margin-bottom: 80px;
}

@media (min-width: 992px) {
  .triple-feature .triple-feat {
    margin-bottom: 0;
  }
}

.triple-feature .triple-feat:last-of-type {
  margin-bottom: 0;
}

.blog-single-feature {
  padding: 40px 0;
}

@media (min-width: 768px) {
  .blog-single-feature {
    padding: 80px 0;
  }
}

.blog-triple-feature {
  background-color: #efefef;
  padding: 40px 0;
}

.blog-triple-feature .btn-blog {
  margin: 20px 0 0;
}

.video-feature {
  padding: 40px 0;
  background-image: url("./img/bg1.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #fff;
}

@media (min-width: 768px) {
  .video-feature {
    padding: 80px 0;
  }
}

.video-feature .button {
  color: #fff;
  border-color: #fff;
}

.video-feature .button:hover,
.video-feature .button:focus {
  color: #efefef;
  border-color: #efefef;
}

.funders {
  background-image: url("./img/bg2.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 40px 0;
}

@media (min-width: 768px) {
  .funders {
    padding: 80px 0;
  }
}

.funders h2 {
  margin-top: 0;
  margin-bottom: 30px;
}

.funders h3 {
  font-size: 16px;
}

.advisory-board {
  padding: 40px 0;
}

@media (min-width: 768px) {
  .advisory-board {
    padding: 80px 0;
  }
}

.advisory-board h2 {
  margin-top: 0;
  margin-bottom: 30px;
}


/*--------------------------------------------------------------

## Header

--------------------------------------------------------------*/

.site-header {
  background-color: rgba(255, 255, 255, 0.9);
  position: absolute;
  z-index: 999;
  width: 100%;
  top: 0;
  left: 0;
  padding: 15px 0;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
}

@media (min-width: 992px) {
  .site-header {
    padding: 40px 0;
  }
}

.site-header .menu-container {
  padding: 0;
}

.site-header .logo {
  padding: 0;
}

.site-header h1 {
  margin: 0 0 0 30px;
  padding: 0;
  color: #4c4c4c;
}

@media (min-width: 992px) {
  .site-header h1 {
    margin: 0 0 0 25px;
  }
}

@media (min-width: 1200px) {
  .site-header h1 {
    margin: 0;
  }
}

.site-header h1 img {
  position: absolute;
  margin: 0;
  width: 41px;
  height: 81px;
  left: 15px;
  top: -9px;
}

@media (min-width: 992px) {
  .site-header h1 img {
    width: 50px;
    height: 98px;
    left: 0;
    top: -18px;
  }
}

@media (min-width: 1200px) {
  .site-header h1 img {
    left: -26px;
  }
}

@media (min-width: 1600px) {
  .site-header h1 img {
    left: -26px;
  }
}

.site-header h1 a {
  color: #4c4c4c;
  font-weight: 700;
  width: 200px;
  display: block;
  font-size: 16px;
  line-height: 18px;
  margin: 4px 0 4px 15px;
}

.site-header .navbar-nav>li>a {
  margin: 10px 5px 10px 0;
  color: #4c4c4c;
}

.site-header .navbar-nav>li>a:hover,
.site-header .navbar-nav>li>a:focus {
  color: #33C3F0;
}

.logo img {
  margin-left: 15px;
}


@media (min-width: 992px) {
  .site-header h1 a {
    font-size: 21px;
    line-height: 21px;
    margin: 0 0 0 15px;
  }

  .site-header .navbar-nav>li>a {
    margin: 10px 5px 10px 0;
  }

  .navbar-nav > li > a {
    padding: 12px 11px;
  }
}


@media (min-width: 1200px) {
  .site-header .navbar-nav>li>a {
    margin: 10px 15px 10px 0;
  }

  .navbar-nav > li > a {
    padding: 12px 15px;
  }
}

/*--------------------------------------------------------------

## Hero

--------------------------------------------------------------*/

.hero {
  background: -webkit-linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("./img/scn-hero2.jpg");
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("./img/scn-hero2.jpg");
  background-repeat: no-repeat;
  background-position: top left;
  padding: 93px 0 0;
}

@media (min-width: 768px) {
  .hero {
    background-position: 67% 50%;
    background-size: cover;
    background-position: top center;
  }
}

@media (min-width: 992px) {
  .hero {
    padding: 143px 0 0;
  }
}

.hero .hero-text-block {
  margin: 30px 0;
}

@media (min-width: 768px) {
  .hero .hero-text-block {
    font-size: 18px;
    margin: 60px 0;
  }
}

@media (min-width: 992px) {
  .hero .hero-text-block {
    margin: 100px 0;
  }
}

@media (min-width: 1200px) {
  .hero .hero-text-block {
    margin: 150px 0;
  }
}

.hero p {
  color: #fff;
  line-height: 1.5em;
}

.hero p.hero-title {
  font-size: 24px;
  font-weight: 600;
}

.hero .button {
  color: #fff;
  border-color: #fff;
}

.hero .button:hover,
.hero .button:focus {
  color: #efefef;
  border-color: #efefef;
}

.interior-hero,
.blog-hero {
  background-image: url("./img/scn-hero-mobile.jpg");
  background-size: cover;
  background-position: center;
  height: 93px;
}

@media (min-width: 992px) {
  .interior-hero,
  .blog-hero {
    height: 143px;
  }
}


/*--------------------------------------------------------------

## Strapline

--------------------------------------------------------------*/

.strapline {
  color: #4c4c4c;
  padding: 40px 0;
  background-color: rgba(245, 245, 245, 0.8);
}

@media (min-width: 992px) {
  .strapline {
    padding: 60px 0;
  }
}

@media (min-width: 768px) {
  .strapline .triple-feat p {
    height: 130px;
  }
}

@media (min-width: 992px) {
  .strapline .triple-feat p {
    height: auto;
  }
}

@media (min-width: 768px) {
  .strapline .triple-feat h3 {
    height: 53px;
  }
}

@media (min-width: 992px) {
  .strapline .triple-feat h3 {
    height: auto;
  }
}

.strapline .button {
  color: #4c4c4c;
  border-color: #4c4c4c;
}

.strapline .button:hover,
.strapline .button:focus {
  color: #888;
  border-color: #888;
}


/*--------------------------------------------------------------

## Footer

--------------------------------------------------------------*/

.site-footer {
  /*border-top: 1px solid #ccc;*/
  padding: 20px 0;
  background-color: #d3cca2;
}

.site-footer .logo {
  text-align: center;
}

@media (min-width: 992px) {
  .site-footer .logo {
    text-align: left;
  }
}

.site-footer .logo img {
  margin: 15px auto;
}

@media (min-width: 992px) {
  .site-footer .logo img {
    margin: 0;
  }
}

.site-footer .address {
  padding: 0;
}

@media (min-width: 992px) {
  .site-footer .address {
    padding: 0 15px;
  }
}

.site-footer .address p {
  font-size: 14px;
  line-height: 21px;
  margin: 20px 0;
  color: #fff;
  text-align: center;
  font-weight: 400;
}

@media (min-width: 992px) {
  .site-footer .address p {
    margin: 0;
    text-align: left;
  }
}

@media (min-width: 480px) {
  .site-footer .menu-container ul {
    float: none !important;
    text-align: center;
    margin-right: 0;
  }
}

@media (min-width: 992px) {
  .site-footer .menu-container ul {
    margin-top: 36px;
    float: right !important;
    margin-right: -15px;
  }
}

.site-footer .menu-container li {
  border-right: 1px solid #fff;
}

.site-footer .menu-container li:last-of-type {
  border-right: none;
}

@media (min-width: 768px) {
  .site-footer .menu-container li {
    float: none;
    display: inline-block;
  }
}

@media (min-width: 992px) {
  .site-footer .menu-container li {
    float: left;
    display: block;
  }
}

.site-footer .menu-container li a {
  text-align: center;
  border: none;
  padding: 0px 12px;
}

.site-footer .menu-container li a:hover,
.site-footer .menu-container li a:focus {
  color: #fff;
}

@media (min-width: 992px) {
  .site-footer .menu-container li a {
    text-align: left;
  }
}

.copyright {
  background-color: #aea885;
  color: #fff;
  font-size: 12px;
  padding: 15px 0;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .copyright {
    text-align: left;
  }
  .copyright .footer-right span {
    float: right;
  }
}

.copyright span {
  font-size: 12px;
}

.copyright a {
  color: #fff;
  font-size: 12px;
}

.copyright a:hover {
  text-decoration: underline;
}


/*--------------------------------------------------------------

## Posts and pages

--------------------------------------------------------------*/

article.post {
  /*border: 1px solid #ddd;*/
  /*padding: 0 20px 20px;*/
  /*margin-top: 24px;*/
  border-top: 1px solid #ddd;
  padding-top: 30px;
  margin-top: 40px;
}

article.post:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

article.post .entry-content p {
  /*margin-bottom: 20px;*/
}

.sticky {
  display: block;
}

.hentry {
  margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
  display: none;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-header {
  padding-bottom: 9px;
  margin: 0 0 20px;
  /*border-bottom: 1px solid #eee;*/
  border-bottom: none;
}

.page-content,
.entry-content,
.entry-summary {
  /*margin: 1.5em 0 0;*/
  margin: 0;
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

.meta-nav,
.cat-links {
  display: none;
}

.entry-meta {
  margin-bottom: 15px;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.nav-links a {
  font-size: 21px;
}

.blog-feature img,
.featured-post img,
.featured-image-container {
  margin-bottom: 20px;
}


/*--------------------------------------------------------------

## Asides

--------------------------------------------------------------*/

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
  display: none;
}


/*--------------------------------------------------------------

## Comments

--------------------------------------------------------------*/

.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}


/*--------------------------------------------------------------

# Infinite scroll

--------------------------------------------------------------*/


/*--------------------------------------------------------------

# Media

--------------------------------------------------------------*/


/*--------------------------------------------------------------

## Captions

--------------------------------------------------------------*/

.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}


/*--------------------------------------------------------------

## Galleries

--------------------------------------------------------------*/


/*--------------------------------------------------------------

## Testimonials

--------------------------------------------------------------*/

.testimonial-block {
  padding: 0;
  margin: 20px 0;
}

#text-slider {
  font-size: 12px !important;
  line-height: 24px !important;
  overflow: visible !important;
}

#text-slider .text-slideshow article {
  color: #737373;
  font-size: 20px;
  font-weight: 200;
  line-height: 1.2em;
  text-align: center;
}

@media (min-width: 480px) {
  #text-slider .text-slideshow article {
    padding: 0 15px;
  }
}

@media (min-width: 768px) {
  #text-slider .text-slideshow article {
    font-size: 28px;
  }
}

@media (min-width: 992px) {
  #text-slider .text-slideshow article {
    padding: 0;
    text-align: left;
  }
}

#text-slider .text-slideshow article span {
  font-family: "Open Sans", sans-serif;
  color: #404040;
  margin-top: 10px;
  font-size: 18px;
  line-height: 30px;
}

#text-slider #text-slider-controls {
  display: none;
}

@media (min-width: 768px) {
  #text-slider #text-slider-controls {
    display: block;
    position: relative;
    z-index: 100;
    width: auto;
    height: auto;
    margin: -30px 0 0;
  }
}

#text-slider #text-slider-controls a {
  padding: 0;
  background-color: #666;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: inline-block;
  text-align: center;
}

#text-slider #text-slider-controls a:hover {
  background-color: #595959;
}

#text-slider #text-slider-controls a .nav-color {
  color: #fff;
  display: inline-block;
  margin-top: 1px;
  font-size: 15px;
  line-height: 30px;
}


/*--------------------------------------------------------------

## Google map

--------------------------------------------------------------*/


/*--------------------------------------------------------------

# Google map

--------------------------------------------------------------*/

#infobubble-content .place-description {
  line-height: 18px;
}

.place-description a i {
  margin-left: 5px;
}

.em-map-balloon .em-map-balloon-content {
  line-height: 1.5em;
}

#google-maps-builder-39 {
  border-top: 1px solid #ddd;
}

.gmnoprint {
  display: none;
}

.google-map-img {
  border-top: 1px solid #ddd;
  min-height: 260px;
  padding: 0;
  margin: 0;
  text-align: center;
  /*     background: linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.6)),url(/wp-content/uploads/2019/02/scn-map.jpg); */
  background: url(/wp-content/uploads/2019/02/scn-map.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@media (min-width: 768px) {
  .google-map-img {
    min-height: 400px;
  }
}

@media (max-width: 479px) {
  #google-maps-builder-39 {
    height: 260px !important;
  }
}


/*--------------------------------------------------------------

## Video

--------------------------------------------------------------*/


/* Make sure embeds and iframes fit their containers. */

embed,
iframe,
object {
  max-width: 100%;
}

.video-container {
  position: relative;
  margin-bottom: 30px;
}

.video-container:before {
  content: '';
  float: left;
  padding-bottom: 56.25%;
}

.video-container:after {
  content: '';
  display: table;
  clear: both;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.home .video-container {
  margin-bottom: 0;
}