/*
Theme Name: Aero Theme
Version: 1.0.0
Text Domain: aero-theme
Tags: ibernet, poznan aero
Author: ibernet.pl

*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
  font-family: 'Lato', 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-family: 'Montserrat', sans-serif;
  font-size: 2.44em;
  margin: 0.67em 0;
  line-height: 1.4;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.95em;
  line-height: 1.4;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.56em;
  line-height: 1.4;
}

h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25em;
  line-height: 1.5;
}

h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
}

h6 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8em;
}

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: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 0.875rem;
}

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

::selection {
  background: #FF7300;
  color: white; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #FF7300;
  color: white; /* Gecko Browsers */
}

.hidden {
  opacity: 0;
}


.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
  color: #191e23;
  color: #818181;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  color: #191e23;
  color: #818181;
  clear: both;
}

.entry-header .entry-title {
  font-size: 2.44em;
  line-height: 1.4;
  margin: 1em 0 1rem;
  margin-bottom: 1.7em;
}

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

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 0.8em 1em;
}

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

@media screen and (min-width: 600px) {
  code, kbd, tt, var {
    font-size: 0.8125rem;
  }
}

p > code {
  padding: 2px;
  border-radius: 2px;
  background: #f3f4f5;
  font-size: inherit;
}

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

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

big {
  font-size: 125%;
}

.archive .site-header {
	margin-bottom: 3.5em;
}

.site-header {
  display: flex;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  height: 120px;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-sizing: content-box;

}

@media all and (min-width: 1001px) {
  .home .site-header {
    justify-content: center;
  }

}

@media all and (max-width: 1350px) {
  .site-header {
    margin: 0 2rem;
    width: auto;
  }
}

@media all and (max-width: 650px) {
  .site-header {
    margin: 0 1rem;
    width: auto;
  }
}



.site-title {
	margin: .4375em 0 0;
	font-size: 38px;
	font-weight: bold;
	line-height: 1.2;
	color: #333332;
}

.site-title a {
	text-decoration: none;
	color: inherit;
}

.site-branding {
  /*margin-bottom: 1.75em;*/
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.site-description {
	margin: .4375em 0 0;
	font-size: 17px;
	font-weight: inherit;
	line-height: 1.4;
	word-wrap: break-word;
	color: #6c7781;
}
/*--------------------------------------------------------------
# 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;
  overflow-y: scroll;
  /* Fallback for when there is no custom background color defined. */ }

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

hr {
  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, 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:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  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;
}

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

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

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

a:hover, a:focus, a:active {
  color: #FF7300;
}

a:focus {
  outline: thin dotted;
}

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

/*--------------------------------------------------------------
## Hamburger
--------------------------------------------------------------*/
.hamburger {
  /* padding: 15px 15px; */
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  overflow: visible; }
  .hamburger:hover {
    opacity: 0.7; }
  .hamburger.is-active:hover {
    opacity: 0.7; }
  .hamburger.is-active .hamburger-inner,
  .hamburger.is-active .hamburger-inner::before,
  .hamburger.is-active .hamburger-inner::after {
    background-color: #818181; }

.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative; }

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px; }
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 40px;
    height: 4px;
    background-color: #818181;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; }
  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; }
  .hamburger-inner::before {
    top: -10px; }
  .hamburger-inner::after {
    bottom: -10px; }

.hamburger--slider .hamburger-inner {
  top: 2px; }
  .hamburger--slider .hamburger-inner::before {
    top: 10px;
    transition-property: transform, opacity;
    transition-timing-function: ease;
    transition-duration: 0.15s; }
  .hamburger--slider .hamburger-inner::after {
    top: 20px; }

  .aero-navigation-burger:checked ~ .hamburger--slider .hamburger-inner {
  transform: translate3d(0, 10px, 0) rotate(45deg); }
  .aero-navigation-burger:checked ~ .hamburger--slider .hamburger-inner::before {
    transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
    opacity: 0; }
    .aero-navigation-burger:checked ~ .hamburger--slider .hamburger-inner::after {
    transform: translate3d(0, -20px, 0) rotate(-90deg); }






/*--------------------------------------------------------------
## Aero navigation burger
--------------------------------------------------------------*/



.aero-navigation-burger {
  display: none;
}

.hamburger {
  display: none;
}

@media all and (max-width: 1000px) {
  .hamburger {
    display: block;
    position: absolute;
    right: 2em;
    top: -73px;
    z-index: 10;
  }

  .aero-navigation-burger {
    position: absolute;
    display: block;
    right: 2em;
    top: -80px;
    width: 40px;
    height: 40px;
    z-index: 15;
    opacity: 0;
    cursor: pointer;
  }
  .aero-navigation-burger:before {
    content: '';
  }

  .aero-navigation-burger-menu.aero-slider-navigation-button-wrapper {
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .aero-navigation-burger:checked ~ .aero-navigation-burger-menu {
    display: flex;
    max-height: 300px;
  }
}

/*--------------------------------------------------------------
## Aero external navigation
--------------------------------------------------------------*/

.aero-external-navigation {
  margin: 0;
  padding: 0;
  height: 120px;
  z-index: 100;

}

.aero-external-navigation-menu-wrapper {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: center;
  align-items: center;

}

.aero-external-navigation-menu-item {
  list-style: none;
  width: 180px;
  /* border: 1px solid pink; */
  box-sizing: content-box;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 50;
  height: 100%;
}


.aero-external-navigation-menu-item a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1em;
  font-weight: 500;
  font-family: Montserrat, sans-serif;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}


.aero-external-navigation-menu-item-info-wrapper {
  position: absolute;
  top: 120px;
  left: 0;
  max-height: 0px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.aero-external-navigation-menu-item:hover .aero-external-navigation-menu-item-info-wrapper {
  max-height: 300px;
}


.aero-external-navigation-menu-item-info-wrapper:before {
  z-index: 100;
  content: '';
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  position: absolute;
  left: 1em;
  border-top: 15px solid white;
}


.aero-external-navigation-menu-item-info-image {
  height: 140px;
  width: 180px;
  background-position: center;
  background-size: cover;
}

.aero-external-navigation-menu-item-info-text {
  background-color: white;
  padding: 1em;
  font-size: 0.8em;
  text-transform: none;
  color: black;
  transition: all 0.2s ease;
}

.aero-external-navigation-menu-item-light .aero-external-navigation-menu-item-info-text:hover {
  color: white;
  background-color: #FF7300;
}

.aero-external-navigation-menu-item-dark .aero-external-navigation-menu-item-info-text:hover {
  color: white;
  background-color: black;
}

.aero-external-navigation-menu-item-light:hover a {
  /* background-color: #c4c4c4; */
  color: #FF7300;
}
.aero-external-navigation-menu-item-light a {
  /* background-color: #F1f1f1; */
  color: #818181;
}


.aero-external-navigation-menu-item-dark:hover a {
  /* background-color: #282828; */
  color: #000;
}
.aero-external-navigation-menu-item-dark a {
  /* background-color: #B2B2B2; */
  color:  #333;
}

@media all and (max-width: 1280px) {

  .aero-external-navigation .aero-navigation-burger {
    position: absolute;
    display: block;
    top: 40px;
    right: 2em;
    width: 40px;
    height: 40px;
    z-index: 400;
    opacity: 0;
  }

  .aero-external-navigation .hamburger {
    position: absolute;
    display: block;
    top: 40px;
    right: 2em;
    width: 40px;
    height: 40px;
  }

    /* <input class="aero-navigation-burger" type="checkbox">

    <button class="noselect hamburger hamburger--slider" type="button">
        <span class="noselect hamburger-box">
            <span class="noselect hamburger-inner"></span>
        </span>
    </button> */


  .aero-external-navigation .aero-navigation-burger:checked ~ .aero-external-navigation-menu-wrapper {
    max-height: 300px;
  }

  .aero-external-navigation-menu-item-info-wrapper {
    display: none;
    position: relative;

  }
  .aero-external-navigation-menu-wrapper {
    position: absolute;
    flex-direction: column;
    right: 2em;
    height: auto;
    top: 120px;
    background-color: white;
    /* border: 1px solid pink; */
    box-sizing: content-box;
    width: 200px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 100;
  }

  .aero-external-navigation-menu-item {
    width: 100%;
  }

  .aero-external-navigation-menu-item a {
    justify-content: flex-start;
    font-size: 0.95em;
    font-weight: 700;
    padding: 0.5em 1em;
  }

  .aero-external-navigation-menu-item-light:hover a {
    color: white;
  }
  .aero-external-navigation-menu-item-light:hover {
    background-color: #FF7300;
  }

  .aero-external-navigation-menu-item-dark:hover {
    background-color: black;
  }

  .aero-external-navigation-menu-item-dark:hover a{
    color: white;
  }
}

@media all and (max-width: 650px) {

  .aero-external-navigation .aero-navigation-burger,
  .aero-external-navigation .hamburger,
  .aero-external-navigation-menu-wrapper {
    right: 1em;
  }
}

/*--------------------------------------------------------------
## Aero slider navigation
--------------------------------------------------------------*/

.aero-slider-navigation {
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
  margin-bottom: 3em;
}

.aero-slider-navigation {
  box-sizing: border-box;
  transition: all 0.2s ease;
  position: relative;
 }

.aero-slider-navigation-button img {
  width: 45%;
  height: auto;
}

.aero-slider-navigation-button-wrapper {
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 82px;
}

.aero-slider-navigation-button {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-block;
  flex-grow: 1;
  flex: 1 1 0px;
}

.aero-slider-navigation-button a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}


.aero-slider-navigation-button.slide-active a,
.aero-slider-navigation-button.slide-active a:hover {
  font-weight: 500;
}

.aero-slider-navigation-button.slide-active a img {
  -webkit-filter: invert(100%); /* safari 6.0 - 9.0 */
  filter: invert(100%);
}


.aero-slider-navigation-button.aero-slider-navigation-button-light.slide-active a,
.aero-slider-navigation-button.aero-slider-navigation-button-light.slide-active a:hover {
  background-color: #FF7300;
  color: white;
}
.aero-slider-navigation-button.aero-slider-navigation-button-light a:hover {
  background-color: #c4c4c4;
  color: #333;
}
.aero-slider-navigation-button.aero-slider-navigation-button-light a {
  background-color: #F1f1f1;
  color: #818181;
}

.aero-slider-navigation-button.aero-slider-navigation-button-dark.slide-active a,
.aero-slider-navigation-button.aero-slider-navigation-button-dark.slide-active a:hover {
  background-color: #282828;
  color: #FFFFFF;
}
.aero-slider-navigation-button.aero-slider-navigation-button-dark a:hover {
  background-color: #282828;
  color: #FFFFFF;
}
.aero-slider-navigation-button.aero-slider-navigation-button-dark a {
  background-color: #B2B2B2;
  color:  #161616;
}


.aero-slider-navigation-button:not(:last-child) {
  margin-right: 1px;
}


.aero-slider-wrapper {
  height: 600px;
  position: relative;
}

.aero-slide-page {
  height: 600px;
  display: flex;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1.0, 1.0);
  transform: translateZ(0);
}


.aero-slide-page-content  {
  background-position: center center;
  background-size: cover;
  background-color: white;
  position: relative;
  flex: 1 1 0px;
  overflow: hidden;
  transition: all .9s ease;
}

.aero-slide-page-content:hover {
  transform: scale(1.06);
}


.aero-slide-info:after {
  background-color: white;
  color: #FF7300;
  content: 'MORE';
  position: absolute;
  left: 0px;
  transform: translateY(2.5rem);
  height: 70px;
  width: calc(50% - 1px);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  font-weight: 900;
  letter-spacing: 6px;
  font-size: 0.8em;
}

.aero-slide-info {
  position: absolute;
  width: calc(40% - 1px);
  left: 0;
  top: 0;
  padding: 2em;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 1.25em;
  line-height: 1.6em;
}
.aero-slide-info:before {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  left: 0;
  top: 1.8em;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 20px solid white;
}



@media all and (max-width: 1350px) {
  .aero-slider-navigation {
    padding: 0 2em;
    margin-bottom: 2em;
  }

  .aero-slider-wrapper {
    height: 66vw;
  }

  .aero-slide-page {
    height: 66vw;
  }

}

@media all and (max-width: 1000px) {
  .aero-slider-navigation-button a {
    font-size: 0.9em;
  }

  .aero-slide-info {
    width: calc(100%);
    bottom: 0;
    top: auto;
  }

  .aero-slide-info:after {
    transform: translateY(-100%);
    top: 0;
    right: 0;
    left: initial;
    height: 50px;
    width: calc(30% - 1px);
  }

  .aero-slider-navigation-button-wrapper {
    position: absolute;
    top: 0;
    z-index: 555;
    right: 2em;
    flex-direction: column;
    width: 200px;
    background-color: white;
    height: 225px;
  }
  .aero-slider-navigation-button {
    margin: 0;
    width: 100%;
    height: 45px;
    background-color: white;
  }

  .aero-slider-navigation-button a {
    background-color: white;
    text-align: left;
    justify-content: flex-start;
    padding: 0.5em 1em;
    font-weight: 600;
    height: 45px;
  }

  .aero-slider-navigation-button.slide-active a,
  .aero-slider-navigation-button.slide-active a:hover {
    font-weight: 600;
  }

}

@media all and (max-width: 650px) {
  .aero-slider-navigation {
    padding: 0 1em;
    margin-bottom: 2em;
  }

  .hamburger {
    right: 1em;
  }

  .aero-navigation-burger {
    right: 1em;
  }

  .aero-slider-navigation-button-wrapper {
    right: 1em;
    /* display: none; */
  }

  .aero-slide-info {
    font-size: 0.9em;
    padding: 1em;
    padding-left: 1.5em;
  }

  .aero-slide-info:before {
    top: 1em;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid white;
  }

}


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
  font-family: 'Montserrat', sans-serif;
	clear: both;
	display: block;
  margin: 0 0;
	/*max-width: 580px;*/
  text-align: center;
}

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

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

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

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

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

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

.main-navigation li {
  position: relative;

}
.main-navigation li:not(:last-child) {
  margin-right: 10px;
}


.main-navigation a {
	display: block;
  text-decoration: none;
  color: #555;
  transition: all 0.2s ease;
  font-size: 1em;
  text-transform: uppercase;
}

.main-navigation a:hover, .main-navigation .current-menu-item a {
  color: #FF7300;
}

.menu-toggle {
  padding: 1em;
}

@media screen and (max-width: 37.5em) {
	/* Small menu. */
	.menu-toggle,
	.main-navigation.toggled ul {
		display: block;
    margin: 0 auto;
    display: none;
	}
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .main-navigation a {
    padding: 0 .5em;
  }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  border-bottom: 1px solid #e2e4e7;
	margin: 0 auto 60px;
  max-width: 580px;
	overflow: hidden;
  padding-bottom: 60px;
}

.nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	width: 50%;
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 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. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignleft,
.alignright {
	max-width: 580px !important;	/* Let's work to make this !important unnecessary */
}

.alignleft img,
.alignright img,
.alignleft figcaption,
.alignright figcaption {
	max-width: 50%;
	width: 50%;
}

.alignleft figcaption {
	clear: left;
}

.alignright figcaption {
	clear: right;
}

.alignleft img,
.alignleft figcaption {
  float: left;
  margin-right: 1.5em;
}

.alignright img,
.alignright figcaption {
  float: right;
  margin-left: 1.5em;
}

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


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget-area {
	width: 25%;
}

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

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

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
#page {
  margin: 0 auto;
  max-width: 100%;
}

.site-branding {
  text-align: center;
}

.site-footer {
  margin: 1em 0;
  color: #6c7781;
  font-size: 90%;
}

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

.hentry {
  margin: 0px 0;
}

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

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

.entry-meta {
  color: #6c7781;
  font-size: 90%;
}

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

.entry-header,
.page-header,
.entry-footer,
.site-info,
.posts-navigation,
.post-navigation,
.page-navigation,
.comments-area,
.not-found .page-content,
.search .entry-summary {
  margin: 1.5em auto;
  padding-left: 14px;
  padding-right: 14px;
  max-width: 580px;
}

.type-news .entry-footer {
  max-width: 900px;
}

.site-info {
  display: flex;
  justify-content: center;
  font-weight: 300;
}

.entry-header .wp-post-image {
  margin-bottom: 1.5em;
}

.entry-header .entry-title {
  margin-top: 0;
  text-align: center;
  color: #818181;
  font-size: 3.3em;
}

.entry-footer span{
  margin-right: 1em;
}

.entry-footer{
  color: #6c7781;
  font-size: 90%;
  padding-bottom: 40px;
  border-bottom: 1px solid #e2e4e7;
}

@media screen and (min-width: 608px) {
  .entry-header,
  .page-header,
  .entry-footer,
  .site-info,
  .posts-navigation,
  .post-navigation,
  .page-navigation,
  .comments-area,
  .not-found .page-content,
  .search .entry-summary {
    padding-left: 0;
    padding-right: 0;
  }
}

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

/* Make sure logo link wraps around logo image. */
.logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-image {
  height: 34px;
  width: 210px;
}

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

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

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

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

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

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

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

.gallery-caption {
  display: block;
}


/*--------------------------------------------------------------
## Preloader
--------------------------------------------------------------*/

/* Variables */
/* Mixins */
/* Animations */
@-webkit-keyframes preloader-inside-white {
  0% {
    -webkit-transform: scale(0, 0);
    -moz-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -o-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  100% {
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@keyframes preloader-inside-white {
  0% {
    -webkit-transform: scale(0, 0);
    -moz-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -o-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  100% {
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@-webkit-keyframes preloader-inside-red {
  0% {
    -webkit-transform: scale(0, 0);
    -moz-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -o-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  30% {
    -webkit-transform: scale(0, 0);
    -moz-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -o-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  100% {
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@keyframes preloader-inside-red {
  0% {
    -webkit-transform: scale(0, 0);
    -moz-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -o-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  30% {
    -webkit-transform: scale(0, 0);
    -moz-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -o-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  100% {
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
/* Styles */
.preloader {
  position: absolute;
  display: inline-block;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: white;
  text-align: center;
}
.preloader .preloader-container {
  display: inline-block;
  width: 100px;
  height: 100px;
  margin: auto;
  position: absolute;
  top: 44%;
  left: 0;
  position: relative;
}
.preloader .preloader-container .animated-preloader {
  display: inline-block;
  width: 100px;
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;
  background: #FF7300;
  border-radius: 50em;
}
.preloader .preloader-container .animated-preloader:after {
  content: '';
  display: inline-block;
  width: 100px;
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50em;
  background: white;
  -webkit-animation: preloader-inside-white 1s ease-in-out infinite;
  -ms-animation: preloader-inside-white 1s ease-in-out infinite;
  animation: preloader-inside-white 1s ease-in-out infinite;
}
.preloader .preloader-container .animated-preloader:before {
  content: '';
  display: inline-block;
  width: 100px;
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  border-radius: 50em;
  background: #FF7300;
  -webkit-animation: preloader-inside-red 1s ease-in-out infinite;
  -ms-animation: preloader-inside-red 1s ease-in-out infinite;
  animation: preloader-inside-red 1s ease-in-out infinite;
}


/*--------------------------------------------------------------
## Scroll
--------------------------------------------------------------*/


html {
  --scrollbarBG: #FFF;
  --thumbBG: #FF7300;
}
body::-webkit-scrollbar {
  width: 11px;
}
body {
  scrollbar-width: thin;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
body::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}
body::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG) ;
  border-radius: 6px;
  border: 3px solid var(--scrollbarBG);
}


/*--------------------------------------------------------------
## content news
--------------------------------------------------------------*/

.type-news .entry-footer {

}

.gg-chevron-left {
  box-sizing: border-box;
  position: relative;
  display: block;
  transform: scale(var(--ggs,1.4));
  width: 22px;
  height: 22px;
  border: 2px solid transparent;
  border-radius: 100px
}
.gg-chevron-left::after {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid;
  border-left: 2px solid;
  transform: rotate(45deg);
  left: 6px;
  top: 4px
}

.gg-chevron-right {
  box-sizing: border-box;
  position: relative;
  display: block;
  transform: scale(var(--ggs,1.4));
  width: 22px;
  height: 22px;
  border: 2px solid transparent;
  border-radius: 100px
}
.gg-chevron-right::after {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid;
  border-right: 2px solid;
  transform: rotate(-45deg);
  right: 6px;
  top: 4px
}
.news_nav {
  display: flex;
  justify-content: space-between;
}

.news_nav_next {
  align-self: flex-end;
}

.news_nav_next i {
  margin-left: 20px;
}

.news_nav_prev i {
  margin-right: 20px;
}

.news_nav a {
  display: flex;
  flex-wrap: nowrap;
  text-decoration: none;
  align-items: center;
  color: gray;
}

.news_nav i {
  color: white;
  background-color: gray;
  border-radius: 100px;

  transition: all 0.2s ease;
}

.news_nav a:hover i {
  background-color: #FF7300;
}

.type-news .entry-header {
  margin: 0 auto;
  transition: all 0.2s ease;
}

 .type-news .entry-content > *
{
  max-width: 900px;
  transition: all 0.2s ease;
}


.type-news .entry-content > .alignwide {
  max-width: 1280px;
}

.type-news .entry-content > .alignfull {
  margin: 1.5em 0;
  max-width: 100%;
}

.type-news .entry-header h1 {
  text-align: left;
  font-size: 2.3em;
  font-weight: 300;
  color: #373737;
  font-family: 'Lato', sans-serif;
  margin-bottom: 2rem;
  margin-top: 1rem;
}


.type-news h2 {
  color: #FF7300;
  max-width: 1280px;
  text-align: center;
  font-size: 2.em;
  font-weight: 300;
}

.type-news p {
  color: #373737;
  text-align: justify;
}

.type-news .blocks-gallery-caption, .wp-block-embed figcaption, .wp-block-image figcaption {
  color: #373737;
}

.type-news .entry-header {
  display: flex;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-sizing: content-box;
}


@media all and (max-width: 1350px) {
  .type-news .entry-header {
    margin: 0 2rem;
    width: auto;
  }

  .type-news .entry-content > * {
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .type-news .entry-footer {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

@media all and (max-width: 650px) {
  .type-news .entry-header {
    margin: 0 1rem;
  }
  .type-news .entry-content > * {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .type-news .entry-footer {
    margin-left: 1rem;
    margin-right: 1rem;
  }

}

@media all and (max-width: 600px) {
  .type-news .entry-header {
    margin: 0 0rem;
  }
  .type-news .entry-content > * {
      margin-left: 0rem;
      margin-right: 0rem;
    }
    .type-news .entry-footer {
      margin-left: 0rem;
      margin-right: 0rem;
    }
}


/**** Helpers ****/
.margin-bottom3em {
	margin-bottom: 3em !important;
}
