/*
Theme Name: Berliner Klimaschulen
Author: Mathias Greiner | medienlabor GmbH
Version: 1.0
License: Medienlabor GmbH
*/

/* Reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

body {
  background: #fff;
}

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

ol,
ul {
  list-style: none;
}

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

caption,
th,
td {
  font-weight: normal;
  text-align: left;
}

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

blockquote,
q {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  quotes: none;
}

a:focus {
  outline: 2px solid #c1c1c1;
  outline: 2px solid rgba(51, 51, 51, 0.3);
}

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

a img {
  border: 0;
}
a:hover img,
a:focus img {
  opacity: 0.75;
}


/**
 * Typography
 */

body,
button,
input,
select,
textarea {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  line-height: 21px;
  font-weight: 300;
  color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #494d75;
  clear: both;
  font-family: "Open Sans", serif;
  font-weight: 700;
  margin-bottom: 20px;
}

h1, h2 {
  font-size: 26px;
  line-height: 39px;
}
h3, h4 {
  font-size: 22px;
  line-height: 33px;
}

h5, h6 {
  font-size: 18px;
  line-height: 27px;
}

p {
  margin-bottom: 20px;
}

b,
strong {
  font-weight: 700;
}

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

blockquote {
  border-left: 4px solid #494d75;
  color: #707070;
  font-size: 18px;
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.6667;
  margin-bottom: 1.6667em;
  padding: 0.25em 0.7778em;
  background: #f7f7f7;
}

blockquote p {
  margin-bottom: 1.6667em;
}

blockquote > p:last-child {
  margin-bottom: 0;
}

blockquote cite,
blockquote small {
  color: #333;
  font-size: 15px;
  font-size: 1.5rem;
  font-family: "Times New Roman", serif;
  line-height: 1.6;
}

blockquote em,
blockquote i,
blockquote cite {
  font-style: normal;
}

blockquote strong,
blockquote b {
  font-weight: 400;
}

address {
  font-style: italic;
  margin: 0 0 20px;
}

code,
kbd,
tt,
var,
samp,
pre {
  font-family: Inconsolata, monospace;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

pre {
  background-color: transparent;
  background-color: rgba(0, 0, 0, 0.01);
  border: 1px solid #eaeaea;
  border: 1px solid rgba(51, 51, 51, 0.1);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 100%;
  overflow: auto;
  padding: 10px;
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

abbr[title] {
  border-bottom: 1px dotted #eaeaea;
  border-bottom: 1px dotted rgba(51, 51, 51, 0.1);
  cursor: help;
}

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

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

sup {
  bottom: 1ex;
}

sub {
  top: .5ex;
}

small {
  font-size: 75%;
}

big {
  font-size: 125%;
}


/**
 * Elements
 */

hr {
  background-color: #eaeaea;
  background-color: rgba(51, 51, 51, 0.1);
  border: 0;
  height: 1px;
  margin-bottom: 20px;
}

ul,
ol {
  margin: 0 0 1.6em 1.3333em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

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

dl {
  margin-bottom: 20px;
}

dt {
  font-weight: bold;
}

dd {
  margin-bottom: 20px;
}

table,
th,
td {
  border: 1px solid #eaeaea;
  border: 1px solid rgba(51, 51, 51, 0.1);
}

table {
  border-collapse: separate;
  border-spacing: 0;
  border-width: 1px 0 0 1px;
  margin: 0 0 20px;
  table-layout: fixed; /* Prevents HTML tables from becoming too wide */
  width: 100%;
}

caption,
th,
td {
  font-weight: normal;
  text-align: left;
}

th {
  border-width: 0 1px 1px 0;
  font-weight: 700;
}

td {
  border-width: 0 1px 1px 0;
}

th, td {
  padding: 0.4em;
}

img {
  -ms-interpolation-mode: bicubic;
  border: 0;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

figure {
  margin: 0;
}

del {
  opacity: 0.8;
}

/**
 * Forms
 */

button,
input,
select,
textarea {
  background-color: #f7f7f7;
  border-radius: 0;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0;
  max-width: 100%;
  vertical-align: baseline;
  -webkit-appearance: none;
}

button,
input {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  line-height: normal;
}

input,
textarea,
select {
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)); /* Removing the inner shadow on iOS inputs */
  border: 1px solid #eaeaea;
  border: 1px solid rgba(51, 51, 51, 0.1);
  color: #707070;
  color: rgba(51, 51, 51, 0.7);
}

input:focus,
textarea:focus {
  background-color: #fff;
  border: 1px solid #c1c1c1;
  border: 1px solid rgba(51, 51, 51, 0.3);
  color: #333;
}

input:focus,
select:focus {
  outline: 2px solid #c1c1c1;
  outline: 2px solid rgba(51, 51, 51, 0.3);
}

button[disabled],
input[disabled],
select[disabled],
textarea[disabled] {
  cursor: default;
  opacity: .5;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  background-color: #666;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.7917em 1.5em;
  text-transform: uppercase;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.9);
  outline: 0;
}

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

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  padding: 0.375em;
  width: 100%;
}

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

textarea {
  overflow: auto;
  vertical-align: top;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  outline: 0;
}

.post-password-form {
  position: relative;
}

.post-password-form label {
  color: #707070;
  color: rgba(51, 51, 51, 0.7);
  display: block;
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.post-password-form input[type="submit"] {
  padding: 0.7917em;
  position: absolute;
  right: 0;
  bottom: 0;
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0;
}


/**
 * Clearings
 */

.clear:before,
.clear:after,
.site:before,
.site:after,
#content:before,
#content:after,
.entry-content:before,
.entry-content:after,
.page-center:before,
.page-center:after,
.site-header:before,
.site-header:after {
  content: "";
  display: table;
}

.clear:after,
.site:after,
#content:after,
.entry-content:after,
.page-center:after,
.site-header:after {
  clear: both;
}

/**
 * Accessibility
 */

/* Text meant only for screen readers */
.says,
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}







/* - - - - - - BASIC STYLES - - - - - - */

.page-center {
  margin: 0 auto;
  max-width: 1180px;
  width: 96%;
}
#page-nav-wrapper {
  background: #494d75;
}
#content-wrapper {
  background: #dadbe3;
}
#content {
  padding: 60px 0;
}
#primary {
  width: 74.5762711864%;
  float: left;
}
#secondary {
  width: 23.7288135593%;
  float: right;
}
#footer-wrapper {
  background: #494d75;
  padding: 30px 0;
  color: #fff;
}

#logo-block {
  padding: 30px 0;
  text-align: center;
}
#logo-block img {
  max-height: 90px;
  bisplay: inline-block;
  padding-right: 15px;
}
#preheader {
  background-color: #494d75;
  padding: 13px 0;
}
#preheader * {
  color: #fff;
  text-align: right;
  font-size: 24px;
  transition: .3s all;
}
#preheader a:hover i {
  color: #f28c00;
  transition: .3s all;
}
.hashtag-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hashtag {
  background-color: #494d75;
  color: #fff;
  position: relative;
  width: 330px;
  height: 80px;
}
.hashtag :first-child {
  font-size: 50px;
  font-family: Arial;
  display: inline-block;
  line-height: 60px;
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}
.hashtag :last-child {
  font-size: 35px;
  font-weight: 600;
  display: inline-block;
  line-height: 35px;
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
}

/* - - - - - - NAV STYLES - - - - - - */

a {
  text-decoration: none;
  color: #494e76;
  font-weight: 400;
}
a:hover,
a:focus {
  color: #f28c00;
}



#page-nav {
  height: 50px;
  position: relative;
}

#page-nav .menu-toggle {
  display: none;
  text-align: right;
  float: right;
  font-size: 36px;
  line-height: 50px;
  padding: 0 ;
  background: none;
  color: #a4a6ba;
  cursor: pointer;
}
#page-nav .menu-toggle span {
  display: none;
}
#page-nav .menu-toggle:before {
  display: block;
  font-family: 'FontAwesome';
  content: '\f0c9';
}
#page-nav .menu-toggle:hover,
#page-nav .menu-toggle:active {
  color: #fff;
}
#page-nav .menu-toggle.toggle-up:before {
  content: '\f00d';
}

#page-nav .menu-main-menu-container ul.nav-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}
#page-nav .menu-main-menu-container ul.nav-menu li {
  display: inline-block;
  margin-right: 20px;
}
#page-nav .menu-main-menu-container ul.nav-menu li a {
  font-size: 18px;
  line-height: 50px;
  font-weight: 400;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
}
#page-nav .menu-main-menu-container ul.nav-menu li a:hover,
#page-nav .menu-main-menu-container ul.nav-menu li a:focus {
  color: #a4a6ba;
}
#page-nav .menu-main-menu-container ul.nav-menu li.current-menu-item > a,
#page-nav .menu-main-menu-container ul.nav-menu li.current-menu-parent > a,
#page-nav .menu-main-menu-container ul.nav-menu li.current-menu-ancestor > a {
  color: #a4a6ba;
}

#page-nav .menu-main-menu-container ul.nav-menu ul {
  position: absolute;
  left: -9999px;
  margin: 0;
  padding: 0;
}
#page-nav .menu-main-menu-container ul.nav-menu > li:hover > ul {
  left: auto;
  z-index: 1000;
}
#page-nav .menu-main-menu-container ul.nav-menu ul > li:hover > ul {
  left: auto;
  top: 0;
  margin-left: 250px;
  z-index: 1000;
}
#page-nav .menu-main-menu-container ul.sub-menu {
  width: 250px;
  background: #a4a6ba;
  background: rgba(73, 77, 117, 0.8);
  padding: 5px 0 0;
}
#page-nav .menu-main-menu-container ul.sub-menu li {
  display: block;
  margin: 0;
}
#page-nav .menu-main-menu-container ul.sub-menu li a {
  display: block;
  color: #fff;
  padding: 10px 20px;
  text-align: left;
  line-height: 27px;
}
#page-nav .menu-main-menu-container ul.sub-menu a:hover,
#page-nav .menu-main-menu-container ul.sub-menu a:focus {
  background: #494e76;
}
#page-nav .menu-main-menu-container ul.sub-menu li.current-menu-item > a,
#page-nav .menu-main-menu-container ul.sub-menu li.current-menu-parent > a {
  color: #a4a6ba;
  background: #494e76;
}

.sub-navigation {
  margin-bottom: 40px;
}
.sub-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sub-navigation li {

}
.sub-navigation a {
  display: block;
  font-size: 18px;
  line-height: 24px;
  padding: 10px 0;
  border-bottom: 1px solid #e3001b;
}
.sub-navigation ul ul a {
  padding-left: 10px;
}
.sub-navigation ul ul ul a {
  padding-left: 20px;
}
.sub-navigation ul ul ul ul a {
  padding-left: 30px;
}



#second-nav {
  float: right;
}
#second-nav .menu-footer-menu-container {
  float: left;
}
.second-nav .nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.second-nav .nav-menu li {
  display: inline-block;
  margin-right: 10px;
}
.second-nav .nav-menu li a {
  text-transform: uppercase;
}
#site-footer .second-nav li:last-child {
  margin-right: 0;
}




.pagination {
  clear: both;
  padding-top: 20px;
  width: 100%;
}
.pagination .page-numbers.current {
  color: #494e76;
}



/* - - - - - - HEADER STYLES - - - - - - */
#header-wrapper {
  height: 350px;
  background: url(images/Motiv_BKS_Web_1_210720.gif) no-repeat center center;
  position: relative;
}
.logo-wrapper {
  background: url(images/logo_bg.png) no-repeat left bottom;
  overflow: hidden;
  padding-top: 115px;
}
a.logo {
  display: block;
  float: left;
  margin: 0 0 15px 40px;
  max-width: 225px;
}



/* - - - - - - CONTENT STYLES - - - - - - */
.bigger {
  font-size: 18px;
  line-height: 27px;
}
.smaller {
  font-style: 12px;
  line-height: 16px;
}

#content article,
#content .widget {
  background: #fff;
  padding: 15px;
  margin-bottom: 20px;
}
.image-wrapper {
  margin: -15px -15px 15px;
}

.more-link {
  display: inline-block;
  padding: 5px 20px;
  background: #494d75;
  color: #fff;
  text-decoration: none !important;
}
.more-link:hover,
.more-link:focus {
  background: #a4a6ba !important;
  color: #fff !important;
}

.flex-row article .entry-title {
  margin: -15px -15px 15px;
  padding: 10px 15px;
  background: #494d75;
  color: #fff;
  display: block;
  border: none;
  font-size: 18px;
  line-height: 27px;
  text-transform: uppercase;
}

.flex-row article:nth-of-type(n) .entry-title {
  background: #9fc9ed;
  color: #fff;
}
.flex-row article:nth-of-type(2n) .entry-title {
  background: #494e76;
  color: #fff;
}
.flex-row article:nth-of-type(3n) .entry-title {
  background: #f28c00;
  color: #fff;
}
.flex-row article:nth-of-type(4n) .entry-title {
  background: #ffe700;
  color: #494e76;
}
.flex-row article:nth-of-type(5n) .entry-title {
  background: #76b729;
  color: #fff;
}
.flex-row article:nth-of-type(6n) .entry-title {
  background: #9fc9ed;
  color: #fff;
}

.flex-row article:nth-of-type(n) .more-link {
  background: #9fc9ed;
  color: #fff;
}
.flex-row article:nth-of-type(2n) .more-link {
  background: #494e76;
  color: #fff;
}
.flex-row article:nth-of-type(3n) .more-link {
  background: #f28c00;
  color: #fff;
}
.flex-row article:nth-of-type(4n) .more-link {
  background: #ffe700;
  color: #494e76;
}
.flex-row article:nth-of-type(5n) .more-link {
  background: #76b729;
  color: #fff;
}
.flex-row article:nth-of-type(6n) .more-link {
  background: #9fc9ed;
  color: #fff;
}


.flex-row article .entry-title a {
  color: #fff;
}
.flex-row article:nth-of-type(4n) .entry-title a {
  color: #494e76;
}
.flex-row article .entry-title a:hover,
.flex-row article .entry-title a:focus {
  color: #000;
}




.entry-meta {
  color: #494e76;
  margin-bottom: 10px;
}
.entry-meta a {
  color: #494e76;
}
.entry-meta a:hover,
.entry-meta a:focus {
  color: #000 !important;
}

#main ul,
#widget-area ul {
  list-style: outside none;
  margin: 0 0 1.6em;
}
#main ul li,
#widget-area ul li {
  position: relative;
  left: 1em;
  padding-right: 1em;
}
#main ul li:before,
#widget-area ul li:before {
  position: absolute;
  margin-left: -1em;
  content: '●';
  color: #494d75;
}


/* - - - - - - FRONTPAGE STYLES - - - - - - */
#frontpage-header {
  text-align: center;
  padding: 50px 0 40px;
}
.frontpage-title {
  font-size: 36px;
  line-height: 54px;
  color: #494d75;
}
.frontpage-content {
  font-size: 24px;
  line-height: 36px;
}
.frontpage-content a {
  display: block;
  margin: 0 auto;
  max-width: 30%;
  padding: 5px 10px;
  background: #494d75;
  color: #fff;
  font-size: 14px;
  line-height: 21px;
}
.frontpage-content a:hover,
.frontpage-content a:focus {
  background: #a4a6ba;
}


/* - - - - - - FOOTER STYLES - - - - - - */
#site-footer {
  overflow: hidden;
  min-height: 200px;
}
.footer-left {
  float: left;
}

.footer-right {
  float: right;
  text-align: right;
}
#site-footer a {
  color: #fff;
}
#site-footer a:hover,
#site-footer a:focus {
  color: #f28c00;
}



/* - - - - - - FLEX - - - - - - */
.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
}
.flex-cell-25 {
  width: 23.2954545455%;
  margin-right: 2.2727272727%;
  margin-bottom: 20px;
  column-break-inside: avoid;
  display: inline-block;
  position: relative;
}
.flex-cell-33 {
  width: 31.8181818182%;
  margin-right: 2.2727272727%;
  margin-bottom: 20px;
  column-break-inside: avoid;
  display: inline-block;
  position: relative;
}
.flex-cell-50 {
  width: 48.8636363636%;
  margin-right: 2.2727272727%;
  margin-bottom: 20px;
  column-break-inside: avoid;
  display: inline-block;
  position: relative;
}

.flex-cell-50:nth-child(2n),
.flex-cell-33:nth-child(3n),
.flex-cell-25:nth-child(4n) {
  margin-right: 0;
}


/* - - - - - - SUBPAGE STYLES - - - - - - */
.subpage-item {
  background: #eee;
  padding: 15px;
}
.subpage-image {
  margin: -15px -15px 0;
}
.subpage-text h3 {
  margin: 0 -15px 15px;
  padding: 10px 15px;
  background: #494d75;
  color: #fff;
  display: block;
  border: none;
  font-size: 18px;
  line-height: 27px;
  text-transform: uppercase;
}
.subpage-text h3 a {
  color: #fff;
}
.subpage-text h3 a:hover,
.subpage-text h3 a:focus {
  color: #a4a6ba;
}


/* - - - - - - WIDGET STYLES - - - - - - */
#sidebar-1 {
  clear: both;
}
#secondary .toggle-button {
  display: none;
  padding: 5px 20px;
  background: none;
  color: #494e76;
  background: #fff;
  border: 1px solid #494e76;
  cursor: pointer;
  margin-bottom: 20px;
  position: relative;
}
#secondary .toggle-button:after {
  display: block;
  position: absolute;
  top: 0;
  right: 20px;
  font-family: 'FontAwesome';
  content: '\f078';
  font-size: 20px;
  line-height: 30px;
}
#secondary .toggle-button:hover,
#secondary .toggle-button:active {
  color: #000;
  border-color: #000;
}
#secondary .toggle-button.toggle-up:after {
  content: '\f077';
}
#secondary .sidebar-toggle:before {
  font-family: 'FontAwesome';
  content: '\f03a';
  padding-right: 10px;
}
#secondary .submenu-toggle:before {
  font-family: 'FontAwesome';
  content: '\f0c9';
  padding-right: 10px;
}


.widget-title {
  margin: -15px -15px 20px -15px;
  padding: 10px 15px;
  background: #494d75;
  color: #fff;
  font-size: 18px;
  line-height: 27px;
  text-transform: uppercase;
}

#widget-area .widget:nth-of-type(2n) .widget-title {
  background: #f28c00;
  color: #fff;
}
#widget-area .widget:nth-of-type(3n) .widget-title {
  background: #ffe700;
  color: #494e76;
}
#widget-area .widget:nth-of-type(4n) .widget-title {
  background: #76b729;
  color: #fff;
}
#widget-area .widget:nth-of-type(5n) .widget-title {
  background: #9fc9ed;
  color: #fff;
}
#widget-area .widget:nth-of-type(6n) .widget-title {
  background: #494e76;
  color: #fff;
}


/**
 * Cleverreach
 */
.haet-cleverreach-field-wrap.type-submit {
  text-align: left;
}




/**
 * Alignments
 */

.alignleft {
  display: inline;
  float: left;
}

.alignright {
  display: inline;
  float: right;
}

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

blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft {
  margin: 0.4em 1em 1em 0;
}

blockquote.alignright,
.wp-caption.alignright,
img.alignright {
  margin: 0.4em 0 1em 1em;
}

blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter {
  clear: both;
  margin-top: 0.4em;
  margin-bottom: 1em;
}
.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
  margin-bottom: 1.2em;
}

/**
 * Captions
 */
.wp-caption {
  margin-bottom: 1.6em;
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 0;
}
.wp-caption-text {
  color: #707070;
  color: rgba(51, 51, 51, 0.7);
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 1.5;
  padding: 0.5em 0;
}


/**
 * Galleries
 */
.gallery {
  margin-bottom: 20px;
}
.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
  max-width: 150px;
}
#primary .gallery-item {
  max-width: 13.978494624%;
  margin-right: 3.2258064516%;
  margin-bottom: 20px;
}
.gallery-icon img {
  margin: 0 auto;
}


#TB_caption {
  float: none !important;
  font-weight: bold;
  height: auto !important;
}
#TB_caption #TB_secondLine {
  font-weight: normal;
}
#TB_closeWindow {
  position: absolute;
  bottom: 20px;
  right: 0;
  height: auto !important;
  padding: 0;
  float: none;
}

/**
 * ML Contest Results
 */
.ml-contest-result {
  margin: 0 0 30px;
}
.ml-contest-result-item {
  background: #6c709b;
  overflow: hidden;
  padding: 10px;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}
.ml-contest-result-item:nth-child(2n) {
  background: #494d75;
}
.ml-contest-result-item.head {
  background: #f28c00;
  color: #fff;
}
.ml-contest-result-item a {
  color: #fff;
  text-decoration: none !important;
}
.ml-contest-result-item a:hover,
.ml-contest-result-item a:focus {
  color: #000 !important;
  text-decoration: underline !important;
}
.ml-contest-result-item .num {
  display: block;
  float: left;
  padding-right: 10px;
}
.ml-contest-result-item .label {
  display: block;
  float: left;
}
.ml-contest-result-item .votes {
  display: block;
  float: right;
}

.ml-contest-result-item:nth-child(2n+7) {
  background: #ddd;
  color: #666;
}
.ml-contest-result-item:nth-child(2n+8) {
  background: #ccc;
  color: #666;
}
.ml-contest-result-item:nth-child(n+7) a {
  color: #666;
}



/* - - - - - - Medie Query - - - - - - */
@media screen and (max-width: 1180px) {
  .logo-block,
  .logo-block span{
    display: block;
    margin-top: 10px;
  }
}

@media screen and (max-width: 990px) {
  .logo-wrapper {
    padding-top: 85px;
  }
  .hashtag-wrapper {
    position: relative;
    margin-top: 50px;
  }
}

@media screen and (max-width: 800px) {
  #primary,
  #secondary {
    width: 100%;
    float: none;
    clear: both;
  }
  #content {
    padding: 30px 0;
  }
  #secondary .toggle-button {
    display: block;
  }
  #widget-area,
  #content .section-nav-title,
  #section-navigation .nav-menu {
    display: none;
  }

  #menu-main-menu,
  #menu-main-menu .sub-menu {
    display: none;
  }
  #search-container {
    width: 104%;
    margin: 0 -2%;
    position: static
  }
  #search-container .search-field {
    width: 80%;
  }
  #search-container .search-submit {
    width: 20%;
  }
  #page-nav .menu-toggle {
    display: block;
  }
  #page-nav {
    float: none;
    padding-right: 0;
  }

  #page-nav .menu-main-menu-container {
    float: none;
    background: #a4a6ba;
    background: rgba(73, 77, 117, 0.9);
    clear: both;
    margin: 0 -2%;
    position: relative;
    z-index: 100;
  }
  #page-nav .menu-main-menu-container ul.nav-menu li {
    display: block;
    margin-right: 0;
  }
  #page-nav .menu-main-menu-container ul.nav-menu li a {
    display: block;
    color: #fff;
    padding: 0 2%;
    line-height: 50px;
  }
  #page-nav .menu-main-menu-container ul.nav-menu li a:hover,
  #page-nav .menu-main-menu-container ul.nav-menu li a:focus,
  #page-nav .menu-main-menu-container ul.nav-menu li.current-menu-item > a,
  #page-nav .menu-main-menu-container ul.nav-menu li.current-menu-parent > a,
  #page-nav .menu-main-menu-container ul.nav-menu li.current-menu-ancestor > a {
    color: #fff;
    background: #a4a6ba;
  }
  #page-nav .menu-item-has-children:after,
  #page-nav .sub-menu .menu-item-has-children:after {
    display: none;
  }
  #page-nav .menu-main-menu-container ul.nav-menu ul {
    position: static;
    background: none;
    width: 100%
  }
  #page-nav .menu-main-menu-container ul.nav-menu ul > li:hover > ul {
    margin-left: 0;
  }
  #page-nav .menu-main-menu-container ul.nav-menu ul a {
    padding-left: 4%;
  }
  #page-nav .menu-main-menu-container ul.nav-menu ul ul a {
    padding-left: 6%;
  }

  #page-nav ul.nav-menu li.menu-item-has-children {
    position: relative;
  }
  span.show-menu-childs {
    display: block;
    background: #494d75;
    position: absolute;
    top: 8px;
    right: 2%;
    cursor: pointer;
    padding: 5px;
    border-radius: 30px;
    font-size: 20px;
    color: #fff;
  }
  span.show-menu-childs:before {
    display: block;
    font-family: 'FontAwesome';
    content: '\f078';
  }
  .open > span.show-menu-childs:before {
    content: '\f077';
  }
   span.show-menu-childs:hover {
    color: #fff;
    background: #f28c00;
  }


  .flex-cell-33 {
    width: 48.75%;
    margin-right: 2.5%;
  }
  .flex-cell-33:nth-child(3n) {
    margin-right: 2.5% !important;
  }
  .flex-cell-33:nth-child(2n) {
    margin-right: 0 !important;
  }

}

@media screen and (max-width: 600px) {
  .flex-cell-25:nth-child(n),
  .flex-cell-33:nth-child(n),
  .flex-cell-50:nth-child(n) {
    width: 100%;
    margin-right: 0 !important;
  }
  .blog article,
  .archive article,
  .category article {
    width: 100%;
  }
  #content .search-form .search-field {
    width: 60%;
  }
  #content .search-form .search-submit {
    width: 38%;
  }
}

@media screen and (max-width: 480px) {
  a.logo {
    clear: right;
  }
  #second-nav {
    overflow: hidden;
    margin-bottom: 20px;
  }
  .footer-left,
  .footer-right {
    float: none;
    text-align: left;
    margin-top: 20px;
  }
}


/* For IE */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
   select {
    background: #f7f7f7;
   }
}

/**
 * Print
 */

@media print {
  body {
    background: none !important; /* Brute force since user agents all print differently. */
    font-size: 11.25pt;
  }
}
