/*
Theme Name: girlsjs
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: girlsjs
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

girlsjs is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# 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-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;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	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.6;
	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%;
}

/*--------------------------------------------------------------
# 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:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

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

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

ul,
ol {
	margin: 0 0 1.5em 3em;
}

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;
}

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

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}

a:visited {
	color: purple;
}

a:hover,
a:focus,
a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.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%;
}

/*--------------------------------------------------------------
# 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;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

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

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

/*--------------------------------------------------------------
# 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;
	table-layout: fixed;
}

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

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

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

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

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

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

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

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

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## 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
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
## ROOT
--------------------------------------------------------------*/


html,
body {
  margin: 0;
  padding: 0;
  background: white;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  color: #3b3b3b;
}

.content {
  margin: 36px auto;
  width: 968px;
}

@media screen and (max-width: 1000px) {
  .content {
    width: 95%;
    justify-content: space-between;
  }
}


.site-main a,
.link,
.site-main a:visited,
.link:visited {
  color: #fd991d;  
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0;

  transition: letter-spacing 0.6s;
}

.site-main p a:hover,
.link:hover {
  letter-spacing: 1px;
}

a.button,
a.button:visited,
.site-main a.button {
  border-radius: 8px;
  padding: 9px 36px;
  color: #1b5f9e;
  border: solid 2px #1b5f9e;
  font-size: 18px;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.4s;
}

a.button:hover,
.site-main a.button:hover {
  background: #1b5f9e;
  color: white;
}

@media screen and (max-width: 360px) {
  .button {
    padding: 6px;
    font-size: 16px;
  }
}

.button.primary:hover {
  color: #ffc303;
  background: white;
}

.button.primary {
  background: #ffc303;
  color: white;
  border: none 0px;
  /*text-shadow: 0 0 10px #9a9a9a;*/
}

.button.disabled {
  background: #d3d3d3;
  color: white !important;
  border: none !important;
}

/*--------------------------------------------------------------
## Section  
--------------------------------------------------------------*/



h1 {
  color: #275e96; /*#31536f;*/
  font-size: 2.625rem;
  text-align: center;
  font-weight: 400;
  margin: 30px 0 6px;
  text-transform: uppercase;
  line-height: 1.2;  
}

h2, h3, h4, h5 {
  font-weight: 400;
  color: #3b3b3b;
  margin: 0.75em 0 1.125em;
  line-height: 1.3125;
}

h2 {
  font-size: 2em;
}

h2:after {
  content: "";
  display: block;
  position: relative;
  width: 240px;
  height: 1px;
  background: #8e8e8e;
  top: 18px;
  margin-bottom: 18px;
}

.content .heading-explanation,
p.explanation,
.site-main .entry-meta {
  color: #8d8d8d;
  text-align: center;
  font-style: italic;
  line-height: 24px;
}

.content .heading-explanation,
.site-main .entry-meta {
  margin: 6px 0 6px;
}

article.col2 {
  width: 45%;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: top;
}

article.col2:nth-child(odd) {
  margin-right: 4%;
}

article.col2:nth-child(even) {
  margin-left: 4%;
}

article.col2:nth-child(odd):last-child {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media screen and (max-width: 786px) {
  article.col2 {
    width: 47%;
  }

  article.col2:nth-child(odd) {
    margin-right: 2%;
  }

  article.col2:nth-child(even) {
    margin-left: 2%;
  }

}

@media screen and (max-width: 600px) {
  article.col2 {
    width: 100%;
  }

  article.col2:nth-child(odd) {
    margin-right: 0;
  }

  article.col2:nth-child(even) {
    margin-left: 0;
  }

  article.col2:nth-child(odd):last-child {
    margin-left: 0;
    margin-right: 0;
  }

}

article.col3 {
  width: 30%;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: top;
}

article.col3.left {
  margin-right: 4%;
}

article.col3.right {
  margin-left: 4%;
}


@media screen and (max-width: 786px) {
  article.col3 {
    width: 100%;
  }

  article.col3.left {
    margin-right: 0;
  }

  article.col3.right {
    margin-left: 0;
  }
}

article h3 {
  font-size: 32px;
  font-weight: 400;
  color: #3b3b3b;
  margin: 24px 0 36px;
  line-height: 42px;
}

article h3:after {
  content: "";
  display: block;
  position: relative;
  width: 240px;
  height: 1px;
  background: #8e8e8e;
  top: 18px;
}

@media screen and (max-width: 600px) {
  article h3:after {
    width: 60%;
  }
}


article.col2 h3 {
  text-align: left;
}

article.col2 h3:after {
  content: "";
  display: block;
  position: relative;
  width: 60%;
  height: 1px;
  background: #8e8e8e;
  top: 18px;
  margin: 0 0;
}


#workshops div.intro p,
.intro {
  font-size: 22px;
  color: #8f8f8f;
  font-style: italic;
}

article p {
  font-size: 16px;
  line-height: 24px;
  color: #3b3b3b;
  margin: 24px 0;
}

@media screen and (max-width: 425px) {
  .intro,
  article p,
  article p.intro,
  article p.explanation {
    text-align: justify;
  }
}


.editions,
.media,
.center {
  text-align: center;
}

.editions h3:after,
.media h3:after,
.center h2:after {
  margin: 0 auto;
}

@media screen and (max-width: 600px) {
  .editions,
  .media,
  .center {
    text-align: left;
  }

  .editions h3:after,
  .media h3:after,
  .center h2:after {
    margin: 0;
  }
}



/*--------------------------------------------------------------
## Summary box
--------------------------------------------------------------*/

.summary-wrapper {
  background: #3c7cbb; /* #0055a9 */
  overflow: hidden;
  position: relative;
  margin-top: -2.4em;
}

.summary-wrapper::before {
  display: block;
  content: "";
  z-index: 2;
  height: 100%;
  width: 100%;
  position: absolute;
  background: url("assets/header-mosaic.png");
  background-attachment: fixed;
  opacity: 0.48;
}

.summary-wrapper::after {
  content: "";
  display: block;
  z-index: 3;
  position: absolute;
  width: 100%;
  height: 550px;
  background: white;
  top: -450px;
  left: 0;
  transform-origin: top left;
  transform: skewY(3.5deg);
}

.summary-wrapper > .content {
  position: relative;
  z-index: 10;
}

.summary-wrapper h3 {
  text-align: center;
  padding-top: 215px;
}

@media screen and (max-width: 1000px) {
  .summary-wrapper h3 {
    text-align: left;
    padding-top: 180px;
    padding-bottom: 35px;
  }
}

@media screen and (max-width: 768px) {
  .summary-wrapper h3 {
    text-align: center;
    padding-top: 215px;
    padding-bottom: 0;
  }
}

.summary-wrapper h3::after {
  content: none;
}

.summary-wrapper h3 span {
  background: #ffc303;
  padding: 2px 10px;
  color: white;
  font-size: 36px;
  margin: 0 auto;
  display: inline-block;
  text-transform: uppercase;
  text-shadow: 0 0 3px #9a9a9a;
}

@media screen and (max-width: 768px) {
  .summary-wrapper h3 span {
    font-size: 30px;
  }
}

@media screen and (max-width: 375px) {
  .summary-wrapper h3 span {
    font-size: 24px;
  }
}

.summary-box {
  color: white;
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding-bottom: 32px;
}

.summary-item {
  text-align: center;
  margin-bottom: 24px
}

@media screen and (max-width: 600px) {
  .summary-item {
    width: 100px;
  }

  .summary-border {
    display: none;
  }
}

.summary-border {
  height: 84px;
  width: 1px;
  border-left: solid 1px white;
}

.summary-item .count {
  font-size: 42px;
  padding-top: 2px;
}

.summary-item .title {
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .summary-item .count {
    font-size: 36px;
    padding-top: 2px;
  }

  .summary-item .title {
    font-size: 16px;
  }
}

.chinese-duck {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
  width: 243px;
  height: 261px;
  background: url("assets/chinese-duck.png");
  background-repeat: no-repeat;
  background-size: contain;
}

@media screen and (max-width: 768px) {
  .chinese-duck {
    width: 180px;
  }
}




/*--------------------------------------------------------------
## FAQ
--------------------------------------------------------------*/

.faq-wrapper {
  background: #f2f2f2;
  overflow: auto;
}

.faq article h3 {
  font-size: 24px;
  color: #3b3b3b;
  margin-bottom: 18px;
  line-height: 30px;
}

.faq article h3:before {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 15px;
  background: #275e96;
  color: white;
  font-size: 16px;
  text-align: center;
  margin-right: 12px;
  position: relative;
  top: -2px;
}

#faq { counter-reset: faq-counter; }

.faq article h3:before {
  counter-increment: faq-counter;
  content: counter(faq-counter);
}

.faq article h3:after {
  content: none;
}

/*--------------------------------------------------------------
## Gallery
--------------------------------------------------------------*/

.gallery-thumb {
  width: 305px;
  height: 208px;
  display: inline-block;
  margin: 6px;
  cursor: pointer;
  overflow: hidden;
}

@media screen and (max-width: 400px) {
  .gallery-thumb {
    width: 250px;
    height: 170px;
  }
}

.gallery-thumb > div {
  width: 305px;
  height: 208px;
  background-size: cover;

  transition: transform 0.6s;
}

@media screen and (max-width: 400px) {
  .gallery-thumb > div {
    width: 250px;
    height: 170px;
  }
}

.gallery-thumb:hover > div {
  transform: scale(1.2);
}

.gallery-preview {
  margin: 36px 0;
  text-align: center;
}

.button.gallery-open {
  display: inline-block;
  margin-bottom: 36px;
}

.gallery-button {
  text-align: center;
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
.front-header,
.front-header .header-photo,
.front-header .header-photo:before {
   min-height: 300px;
}

.page-header,
.page-header .header-photo,
.page-header .header-photo:before {
  height: 240px;
}

.hero {
  background: #0055a9; /* #285f95;*/
  color: white;
  overflow: auto;
  position: relative;
}

.hero .header-photo {
  position: absolute;
  background: url("assets/header-photo.png");
  background-attachment: fixed;
  background-position: top center;
  width: 100%;
  z-index: 1;
  filter: grayscale(100%);
  opacity: 0.48;
  height: 100%;
}

.hero .header-photo::before {
  display: block;
  content: "";
  z-index: 2;
  width: 100%;
  position: absolute;
  background: url("assets/header-mosaic.png");
  background-attachment: fixed;
  height: 100%;
}

.hero .content {
  z-index: 10;
  position: relative;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 40px 0;
}


@media screen and (max-width: 570px) {
  .hero .content {
    padding-top: 48px;
  }
}

@media screen and (max-width: 460px) {
  .hero .content {
    padding-top: 36px;
  }
}


.hero .sub-heading,
.hero .sup-heading {
  margin: 0;
  margin-bottom: 24px;
  text-align: center;
  font-size: 20px;
  text-shadow: 0 0 10px #4c4c4c;
}

.hero .sub-heading {
  margin: 18px 0 20px;
}

.hero .heading {
  margin: 0;
  padding: 0;
  font-size: 42px;
  text-shadow: 0 0 10px #9a9a9a;
  text-align: center;
  text-transform: uppercase;
  margin-top: 2px;
}

@media screen and (max-width: 460px) {
  .hero .heading {
    font-size: 30px;
  }
}
@media screen and (max-width: 360px) {
  .hero .heading {
    display: none;
  }
}
.hero .heading > span {
  background: #ffc303;
  padding: 2px 10px;
}

.hero .button.primary, .button.disabled {
  color: white;
  padding: 18px;
  line-height: 24px;
  font-size: 24px;
  width: 360px;
  display: block;
  margin: 12px auto 0;
  border: 0;
}

@media screen and (max-width: 570px) {
  .front-header .button.primary, .button.disabled {
    width: auto;
    display: block;
    box-sizing: border-box;
    margin: 18px 10% 0;
    padding: 9px 36px;
    font-size: 18px;
  }
}
@media screen and (max-width: 360px) {
  .hero .button.primary, .button.disabled {
    padding: 6px;
    font-size: 16px;
  }
}

.hero .button.secondary {
  display: inline-block;
  margin: 6px 6px 0;
  color: white;
  border: solid 2px white;
}

.hero h1 {
  color: #fff;
  font-weight: 700;
}
@media screen and (max-width: 570px) {
  .hero .button.secondary {
    display: block;
    margin: 18px 10% 0;
  }
}

.hero .button.primary:hover {
  background: white;
  color: #ffc303;
}

.hero .button.secondary:hover {
  background: white;
  color: #1b5f9e;
}

#rekrutacja ~ .more-buttons {
  margin-top: 1.6em;
}

.hero .more-buttons {
  text-align: center;
}

@media screen and (max-width: 570px) {
  .hero .more-buttons {
    margin: 18px 0 0;
  }
}

/*--------------------------------------------------------------
## Media
--------------------------------------------------------------*/

.content .posts {
  margin: 36px 0 18px;
  text-align: center;
}

.frontpage-post {
  display: inline-block;
  vertical-align: top;
  width: 305px;
  text-decoration: none;
  background: #f2f2f2;
  margin: 18px 12px 24px;
  text-align: center;

  transition: transform 0.6s;
}

.content .frontpage-post:hover {
  transform: scale(1.07);
}

@media screen and (max-width: 826px) {
  .frontpage-post {
    margin: 12px 12px;
  }
}

@media screen and (max-width: 425px) {
  .frontpage-post {
    width: 260px;
    margin: 12px 0;
  }
}

.frontpage-post img {
  width: 305px;
  height: 265px;
  display: block;
  margin-bottom: 24px;
}

@media screen and (max-width: 425px) {
  .frontpage-post img {
    width: 260px;
    height: 225px;
  }
}

.frontpage-post .title {
  text-transform: uppercase;
  color: #3b3b3b;
  line-height: 24px;
  font-size: 18px;
  margin: 24px 0 6px;
}

.frontpage-post .date {
  color: #4c4c4c;
  line-height: 18px;
  font-size: 16px;
  margin-bottom: 36px;
}

@media screen and (max-width: 826px) {
  .frontpage-post .date {
    margin-bottom: 18px;
  }
}

.frontpage-post .date:after {
  content: "";
  display: block;
  position: relative;
  width: 20%;
  height: 1px;
  background: #bfbfbf;
  top: 18px;
  margin: 0 auto;
}

@media screen and (max-width: 826px) {
  .frontpage-post .date:after {
    content: none;
  }
}

.frontpage-post p {
  color: #8e8e8e;
  font-style: italic;
  margin-left: 18px;
  margin-right: 18px;
}

@media screen and (max-width: 826px) {
  .frontpage-post p {
    display: none;
  }
}


/*--------------------------------------------------------------
## News
--------------------------------------------------------------*/

.news-container {
  margin: 36px 0 0;
  text-align: center;
}

.news {
  display: inline-block;
  vertical-align: top;
  width: 305px;
  text-decoration: none;
  background: #f2f2f2;
  margin: 18px 8px 24px;
  text-align: center;
  border: solid 1px #eee;

  transition: transform 0.6s;
}

.news:hover {
  transform: scale(1.07);
}

@media screen and (min-width: 999px) {
  .news:first-child {
    margin-left: 0;
  }

  .news:last-child {
    margin-right: 0;
  }
}

@media screen and (max-width: 826px) {
  .news {
    margin: 12px 12px;
  }
}

@media screen and (max-width: 425px) {
  .news {
    width: 260px;
    margin: 12px 0;
  }
}

.news img {
  width: 305px;
  height: 265px;
  display: block;
  margin-bottom: 24px;
}

@media screen and (max-width: 425px) {
  .news img {
    width: 260px;
    height: 225px;
  }
}

.news .title {
  text-transform: uppercase;
  color: #3b3b3b;
  line-height: 24px;
  font-size: 18px;
  margin: 24px 0 6px;
}

.news .date {
  color: #4c4c4c;
  line-height: 18px;
  font-size: 16px;
  margin-bottom: 36px;
}

@media screen and (max-width: 826px) {
  .news .date {
    margin-bottom: 18px;
  }
}

.news .date:after {
  content: "";
  display: block;
  position: relative;
  width: 20%;
  height: 1px;
  background: #bfbfbf;
  top: 18px;
  margin: 0 auto;
}

@media screen and (max-width: 826px) {
  .news .date:after {
    content: none;
  }
}

.news p {
  color: #8e8e8e;
  font-style: italic;
  margin-left: 18px;
  margin-right: 18px;
}

@media screen and (max-width: 826px) {
  .news p {
    display: none;
  }
}

.read-more {
  text-align: right;
  margin-bottom: 24px;
}


/*--------------------------------------------------------------
## Downloads
--------------------------------------------------------------*/

.file-main {
    width: 39%;
    margin-right: 63%;
    margin-left: 7%;
    text-align: right;
}

.file {
    background: #f2f2f2;
    border: solid 1px #d8d8d8;
    position: relative;
    padding-left: 20%;
}

.file:before {
    content: "";
    width: 22%;
    height: 135px;
    background: url(assets/download.png) no-repeat;
    background-size: contain;
    position: absolute;
    top: -20px;
    left: -5%;
}

article.col2 .file h3,
.materials h3 { 
  margin: 6px;
  clear: none;
  font-size: 20px;
  line-height: 24px;
}

article.col2 .file h3:after,
.materials h3:after
{ display: none; }

article .file p {
  margin: 6px;
  line-height: 24px;
  font-size: 16px;
  color: #8c8c8c;
}

.materials-thumbnail {
  position: relative;
  float: right;
  width: 50%;
}
.content.materials article:nth-of-type(n + 4) .file { margin-top: 50px; }
/*--------------------------------------------------------------
## Partners
--------------------------------------------------------------*/


.partner-logos {
  text-align: center;
  margin-bottom: 30px;
}

.partner-logos a {
  display: inline-block;
  vertical-align: middle;;
  margin: 24px 18px;

  transition: transform 0.6s;
}

.partner-logos a:hover {
  transform: scale(1.2);
}

.copyrights {
  text-align: center;
  margin: 42px 0 30px;
  color: #3b3b3b;
}


@media screen and (max-width: 400px) {
  .partner-fotokasia img {
    width: 90%;
  }

  .partner-10clouds img {
    width: 90%;
  }
}


/*--------------------------------------------------------------
## Team  
--------------------------------------------------------------*/

.team .heading-explanation {
  margin-bottom: 42px;
}

.team h4 {
  margin: 6px 0 6px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  margin-left: 156px;
}

.team p {
  margin-top: 6px;
  margin-left: 156px;
}

.team img {
  width: 128px;
  height: 128px;
  border-radius: 64px;
  border: solid 3px #eee;
  float: left;

  transition: border-radius 0.6s, transform 0.6s;
}

.team img:hover {
  border-radius: 0px;
  transform: scale(1.5);
}

@media screen and (min-width: 601px) and (max-width: 1000px),
screen and (max-width: 425px) {
  .team h4 {
    text-align: center;
  }

  .team p,
  .team h4 {
    margin-left: 0;
  }

  .team img {
    display: block;
    margin: 0 auto;
    float: none;
  }
}

/*--------------------------------------------------------------
## Top-bar  
--------------------------------------------------------------*/

.top-bar {
  background: #3b3b3b;
  height: 80px;
  position: relative;
  display: flow-root;
}

.top-bar .content {
  position: relative;
  margin: 0 auto;
  display: flex;
  width: 968px;
}
@media screen and (max-width: 1000px) {
  .top-bar .content {
    width: 95%;
  }
}

@media screen and (max-width: 360px) {
  .top-bar {
    height: auto;
  }
  .top-bar .content {
    margin: 0 2%;
    width: 94%;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.top-bar .custom-logo {
  width: 180px;
  height: 68px;
  margin-top: 6px;
}

.main-menu {
  color: white;
  flex: 1 1 auto;
}

.main-menu ul {
  list-style-type: none;
  list-style: none;
}

.main-menu ul > li {
  margin: 0;
  padding: 0;
  display: inline-block;
  transition: background 0.6s;  
  padding: 30px 1.7%;  
  text-transform: uppercase;
  display: inline-block;
  height: 80px;
  box-sizing: border-box;  
}

.main-menu a,
.main-menu a:visited {
  color: white;
  text-decoration: none;
  font-size: 16px;

}

.main-menu a:hover {
  background: #5c5c5c;
}

.main-menu a > span {
  display: inline-block;
  transition: transform 0.6s;
}

.main-menu a:hover > span {
  transform: scale(1.2);
}

@media screen and (max-width: 910px) {
  .main-menu {
    display: none;
    width: 120px;
    position: absolute;
    right: 0;
    text-align: center;
    background: #3b3b3b;
    z-index: 100;
    top: 80px;
  }

  .main-menu a {
    display: block;
    padding: 10px;
    height: auto;
  }
}

.contact-menu {
  position: relative;
  top: 18px;
}

.contact-menu a {
  display: inline-block;
  width: 26px;
  height: 26px;
  margin: 10px;
  transition: transform 0.6s;
  background-repeat: no-repeat;
}

.contact-menu a:hover {
  transform: scale(1.2);
}

.contact-menu .fb {
  background: url('assets/fb.png');
}
.contact-menu .in {
  background: url('assets/in.png');
}
.contact-menu .ig {
  background: url('assets/ig.png');
}
.contact-menu .mail {
  background: url('assets/top-mail.png');
}

@media screen and (max-width: 1275px) {
  .contact-menu {
    position: static;
    display: flex;
    margin-top: 18px;
  }
  .contact-menu a {
    margin: 10px 2px
  }
}


.site-footer {
  text-align: center;
  font-size: 0.8em;
}

.panel {
  overflow: auto;
}

.frontpage .panel.underline {
  border-bottom: 1px solid #ccc;
}

.frontpage .panel.grey {
  background: #f2f2f2;
}

.triangle-border {
  position: relative;
}

.front-header a:hover {
  letter-spacing: normal;
}
.news a,
.news .entry-meta a {
  text-decoration: none;
  color: #2b2b2b;
}

.news h3.entry-title:after{
  display: none;
}

.image-left {
  float: left;
  margin: 1em 2em 0 0;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 99;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

#mc_embed_signup{
    background:#fff; 
    clear:left; 
    position: absolute;
    top: 25%;
    left: 50%;
    width: 500px;
    padding: 20px;
    margin-left: -250px;
    z-index: 99;
    border-radius: 20px;
}

#mc_embed_signup h2:after {
  display: none;
}

#mc_embed_signup .clear {
  text-align: right;
  padding-top: 10px;
  padding-right: 10px;
}

#mc_embed_signup .close-button {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 32px;
  line-height: 16px;
  font-weight: 700;
  text-decoration: none;
  color: #fd991d;
}

.clearfix { clear: both; }

article.blog {
  display: flex;
  padding: 3em 2em;
  border-bottom: 1px solid #f2f2f2;
}

article.blog .archive-image {
  margin-right: 2em;
  flex-basis: 300px;
}

article.blog .entry-wrapper {
  flex-basis: 600px;
}  

@media screen and (max-width: 768px) {
  article.blog {
    flex-direction: column;
    align-items: start;
  }
  
article.blog .entry-wrapper {
  flex-basis: auto;
}  
}

.blog h3 {
  margin-top: 0;
}

.blog .entry-meta {
  text-align: left;
}

.blog .entry-content {
  margin: 0;
}