/*!
Theme Name: bergconsulting
Theme URI: http://underscores.me/
Author: Hello World
Author URI: https://helloworld.pt
Description: A custom WordPress theme built for Berg Consulting. Designed by duall and developed by Hello World.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: berg-consulting
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

bergconsulting is based on Underscores https://underscores.me/, (C) 2012-2020 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 https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
  - Grid
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
  - Footer
  - Form Overlay
  - Social Icons
# Blocks
  - Hero
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

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

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

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

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Grid
--------------------------------------------- */
@media only screen and (min-width: 75em) {
  .container {
    width: 85rem;
  }
}
/* Typography
--------------------------------------------- */

/* Custom fonts */
@font-face {
  font-family: "Alliance 1";
  src: url("../berg-consulting/fonts/AllianceNo1-Light.woff2") format("woff2"),
    url("../berg-consulting/fonts/AllianceNo1-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Alliance 1";
  src: url("../berg-consulting/fonts/AllianceNo1-Regular.woff2") format("woff2"),
    url("../berg-consulting/fonts/AllianceNo1-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Alliance 2";
  src: url("../berg-consulting/fonts/AllianceNo2-Light.woff2") format("woff2"),
    url("../berg-consulting/fonts/AllianceNo2-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: block;
}

body,
button,
input,
select,
optgroup,
textarea {
  color: white;
  font-family: "Alliance 1", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Alliance 2", sans-serif;
  line-height: 1;
  font-weight: 400;
  clear: both;
}
h1 {
  font-size: 7.5rem;
}
h2 {
  font-size: 6rem;
}
h3 {
  font-size: 4.812rem;
}
h4 {
  font-size: 3.812rem;
}
h5 {
  font-size: 3.062rem;
}
h6 {
  font-size: 2.436rem;
}

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

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

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

big {
  font-size: 125%;
}
@media screen and (max-width: 765px) and (orientation: portrait) {
  h1 {
    font-size: 3.812rem;
  }
}

/* Elements
--------------------------------------------- */
body {
  background: #121414;
}

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

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

ul {
  list-style: disc;
  margin: 0 0 4em;
  padding: 0;
}

ol {
  list-style: decimal;
}

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

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

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

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
  color: white;
}

a:visited {
  color: white;
}

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

a:focus {
  outline: none;
}

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

/* 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);
  line-height: 1;
  padding: 0.6em 1em 0.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%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
#masthead {
  position: relative;
  padding: 2em 0;
}
#site-branding-container {
  position: relative;
  z-index: 2;
}
.navigation-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  gap: 2em;
}
.language-switcher {
  position: relative;
  padding-left: .5em;
}
.language-switcher::after {
  content: "";
  width: 1px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
/* Language Switcher */
.wpml-ls-legacy-dropdown {
  width: auto !important;
}
.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}
.wpml-ls-legacy-dropdown a {
  background-color: rgba(0, 0, 0, 0) !important;
  border: none !important;
  font-size: 1.2rem;
}
.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a, .wpml-ls-legacy-dropdown a:focus, .wpml-ls-legacy-dropdown a:hover {
  color: #2d5fff;
}
.wpml-ls-legacy-dropdown a:hover {
  color: black;
}
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  padding: 1em;
  background-color: #2d5fff;
  border: none !important;
}
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -10px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #2d5fff;
  clear: both;
}

.menu-trigger #lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.menu-trigger {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
}
.menu-trigger #lines {
  margin-right: 1em;
}
.menu-trigger #lines .line {
  width: 58px;
  height: 1px;
  background-color: #fffdf9;
  transition: all 0.3s ease-in-out;
}
.menu-trigger.active #lines .line:nth-of-type(1) {
  transform: rotate(45deg);
  margin-bottom: 0;
}
.menu-trigger.active #lines .line:nth-of-type(2) {
  transform: rotate(-45deg);
}

.menu-trigger #lines .line:nth-of-type(1) {
  margin-bottom: 0.5em;
}
.menu-trigger p {
  margin: 0;
  padding: 0;
  color: white;
  font-weight: 300;
  font-size: 1.2em;
  text-transform: uppercase;
}

.lets-talk-trigger {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  padding-top: 1em;
}
.lets-talk-trigger p {
  margin: 0;
  padding: 0;
  color: white;
  font-weight: 300;
  margin-right: 1em;
}
.lets-talk-trigger svg {
  color: #2d5fff;
  transition: all 0.3s ease-in-out;
}
.lets-talk-trigger.active svg {
  color: white;
}

#home-link svg {
  color: #2d5fff;
  transition: all 0.3s ease-in-out;
}
#home-link.active {
  position: relative;
  z-index: 999;
}
#home-link.active svg {
  color: white;
}
#main-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  background-color: #2d5fff;
}

#main-navigation.active {
  display: block;
  position: fixed;
  height: 100%;
  padding-top: 10em;
  overflow: hidden;
  background-color: #2d5fff;
  z-index: 1;
}
#main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
#main-navigation > .container {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 2em;
}

#main-navigation ul a {
  color: white;
  text-decoration: none;
  font-family: "Alliance 2", sans-serif;
  font-size: 4.8rem;
  transition: all 0.3s ease;
}
#main-navigation ul.sub-menu {
  display: none;
}
#main-navigation ul#primary-menu li {
  position: relative;
}
#main-navigation ul#primary-menu li:hover > a {
  text-decoration: underline;
}
#main-navigation ul#primary-menu li:hover ul.sub-menu {
  position: absolute;
  right: 0;
  top: 45px;
  width: 70%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
#main-navigation ul.sub-menu a {
  font-size: 1.25rem;
  margin-right: 3em;
  padding: 10px 20px;
  border: 1px solid rbga(0, 0, 0, 0);
  border-radius: 50px;
}
#main-navigation ul.sub-menu li:hover a {
  border: 1px solid white;
  text-decoration: none !important;
  border-radius: 50px;
}

#menu-additional-info {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: flex-end;
}
#menu-additional-info div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-right: 4em;
}
#menu-additional-info div a {
  color: white !important;
  text-decoration: none;
  margin-bottom: 0.5em;
}
#menu-additional-info div p {
  margin-bottom: 0.5em;
  color: white;
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

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

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  .menu-trigger {
    justify-content: flex-end;
  }
  .menu-trigger p {
    display: none;
  }
  .lets-talk-trigger {
    display: none;
  }
  #main-navigation ul a {
    font-size: 3.062rem;
  }
  #menu-additional-info {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  #menu-additional-info div:nth-of-type(1) {
    display: none;
  }
  #main-navigation ul#primary-menu li:hover ul.sub-menu {
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    top: 0;
    padding: 0;
    width: 100%;
    min-height: 100px;
  }
  #main-navigation ul.sub-menu a {
    margin-right: 0;
  }
}
/* Buttons
--------------------------------------------- */
.site-button {
  background-color: #2d5fff;
  color: white !important;
  text-decoration: none;
  padding: 1.5em 2.5em;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}
.site-button:hover {
  background-color: white;
  color: #2d5fff !important;
}
/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0;
}

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

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

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

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

/* 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 logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* 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;
  display: grid;
  grid-gap: 1.5em;
}

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

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/* Footer
--------------------------------------------- */
footer#colophon {
  background-color: #2d5fff;
  padding-top: 2em;
  padding-bottom: 1em;
  color: white;
}
footer#colophon div:nth-of-type(1) p {
  margin: 0;
  padding: 0;
  line-height: 2;
}
footer#colophon .container:nth-of-type(1) div:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
footer#colophon .container:nth-of-type(1) div:nth-of-type(2) a {
  color: white !important;
  text-decoration: none;
  margin-bottom: 0.5em;
}
footer#colophon .container:nth-of-type(1) div:nth-of-type(3) a {
  color: white !important;
  text-decoration: underline;
}
footer#colophon .container:nth-of-type(1) {
  margin-bottom: 4em;
}
footer#colophon .container:nth-of-type(2) {
  margin-bottom: 2em;
}
#copyright-row p {
  font-size: 0.812rem;
}
#copyright-row > div:nth-of-type(2) {
  display: flex;
  justify-content: flex-end;
}
#copyright-row > div:nth-of-type(2) a {
  font-size: 0.812rem;
  color: white;
  text-decoration: none;
}
/* Form Overlay
--------------------------------------------- */
#form-overlay {
  position: fixed;
  width: 100%;
  z-index: 999;
  opacity: 0;
  height: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: #2d5fff;
}
#form-overlay .container {
  position: relative;
}
#form-overlay.active {
  height: 100%;
  opacity: 1;
  padding-top: 10em;
}
#form-overlay .overlay-close {
  position: absolute;
  right: 0;
  top: -5em;
  cursor: pointer;
}
#form-overlay .overlay-close p {
  margin: 0;
  font-size: 0.9rem;
  padding-right: 5em;
}
#form-overlay .overlay-close p::after {
  content: "";
  width: 43px;
  height: 43px;
  position: absolute;
  right: 0;
  margin-top: -1em;
  background-image: url("../berg-consulting/img/close.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#form-overlay .form-title {
  position: relative;
  margin-bottom: 6em;
}
#form-overlay .form-title h2 {
  font-size: 1.98rem;
  margin: 0 0 0.5em;
}
#form-overlay .form-title .counter {
  position: absolute;
  right: 0;
  top: 0;
}
#form-overlay .gform_validation_errors {
  display: none;
}
#form-overlay .gfield_label {
  font-size: 3.069rem;
  font-family: "Alliance 2", sans-serif;
  margin-bottom: 1.5em;
}
#form-overlay input[type="text"],
#form-overlay input[type="email"] {
  color: white;
  border: none;
  border-radius: 0;
  padding: 3px;
  background-color: rgba(0, 0, 0, 0);
  border-bottom: 1px solid white;
  font-size: 1.9rem;
  font-family: "Alliance 2", sans-serif;
  margin-bottom: 2em;
}
#form-overlay input[type="text"]:focus {
  outline: none;
}
#form-overlay #gf_progressbar_wrapper_1 {
  display: none;
}
#form-overlay input[type="text"]::placeholder,
#form-overlay input[type="email"]::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: white;
  opacity: 1; /* Firefox */
}

#form-overlay input[type="text"]:-ms-input-placeholder,
#form-overlay input[type="email"]:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: white;
}

#form-overlay input[type="text"]::-ms-input-placeholder,
#form-overlay input[type="email"]::-ms-input-placeholder {
  /* Microsoft Edge */
  color: white;
}

#form-overlay .gform_next_button,
#form-overlay .gform_button,
#form-overlay .gform_previous_button {
  cursor: pointer;
  padding: 1.5em 8em 1.5em 2em;
  border-radius: 50px;
  color: #2d5fff;
  position: relative;
  background-color: white;
}
#form-overlay .gform_next_button::after,
#form-overlay .gform_button::after {
  content: "";
  width: 12px;
  height: 13px;
  display: block;
  position: absolute;
  right: 1.5em;
  top: 1.5em;
  background-image: url("../berg-consulting/img/form-next.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#form-overlay .form-button-label {
  display: inline-block;
  margin-left: 2em;
  font-size: 0.9rem;
}

@media screen and (max-width: 765px) and (orientation: portrait) {
  #form-overlay {
    padding-top: 6em;
  }
  #form-overlay .form-title {
    margin-bottom: 2em;
  }
  #form-overlay .overlay-close {
    top: -4em;
  }
  #form-overlay .gfield_label {
    font-size: 1.938rem;
  }
}

/* Social Icons
--------------------------------------------- */
#social-icons-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}
#social-icons-container a {
  border: 2px solid white;
  padding: 15px 16px;
  display: inline-block;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1em;
  transition: 0.4s ease;
}
#social-icons-container a:hover {
  border-radius: 15px;
}
#social-icons-container a img {
  width: 20px;
  height: 20px;
}
/*--------------------------------------------------------------
# Blocks
--------------------------------------------------------------*/
/* Hero
--------------------------------------------- */
.hero-block-wrapper {
  padding-top: 3em;
  padding-bottom: 3em;
}
.hero-block-wrapper p {
  font-size: 2rem;
}
.hero-block-wrapper h1 {
  margin: 0;
}
.hero-block-wrapper > .container > .row {
  align-items: center;
}
.hero-block-wrapper .columns {
  margin-bottom: 4em;
}
@media screen and (max-width: 765px) and (orientation: portrait) {
  .hero-block-wrapper > .container > .row {
    flex-direction: column-reverse;
  }
  .hero-block-wrapper p {
    margin-bottom: 0.5em;
  }
  .hero-block-image {
    margin-bottom: 2em;
  }
}
/* Featured Projects
--------------------------------------------- */
.featured-projects-block-wrapper {
  padding-top: 3em;
  padding-bottom: 3em;
}
.featured-projects-block-wrapper h2 {
  margin: 0 0 0.5em;
  font-size: 1.938rem;
}
.featured-projects-block-wrapper .projects-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
}
.featured-projects-block-wrapper .project-single {
  display: flex;
  padding: 2em 2em 1em;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  width: 33%;
  height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  cursor: pointer;
}

.featured-projects-block-wrapper .bcg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: .3s ease;
}
.featured-projects-block-wrapper .details {
  position: relative;
  z-index: 3;
  opacity: 0;
  transition: .7s ease;
  transform: translateY(-10%);
}
.featured-projects-block-wrapper a {
  text-decoration: none;
}
.featured-projects-block-wrapper .project-single:hover .details,
.featured-projects-block-wrapper .project-single:hover .bcg-overlay {
  opacity: 1;
  transform: none;
}
.featured-projects-block-wrapper .site-button {
  padding: 1em 1.5em; 
  margin-top: 3em;
}
.featured-projects-block-wrapper .details p {
  margin: 0;
  text-decoration: none;
}
.featured-projects-block-wrapper .details h3 {
  margin: .75em 0 .5em;
  font-size: 1.75em;
  text-decoration: none;
}
.featured-projects-block-wrapper .details .pretitle {
  font-size: .9em;
}

/* Services
--------------------------------------------- */
.services-block-wrapper {
  padding-top: 3em;
  padding-bottom: 3em;
}
.services-block-wrapper h2 {
  font-size: 4em;
  font-weight: bold;
  margin: 0 0 0.5em;
  color: #2d5fff;
}
.services-block-wrapper .big-text {
  margin: 0;
  font-size: 6rem;
  line-height: 1;
  margin-bottom: 0.5em;
}
.services-block-wrapper .small-text {
  margin: 0;
  font-size: 1.938rem;
  line-height: 1.2;
  margin-bottom: 0.5em;
  text-align: left;
}
.services-block-wrapper .service-list {
  padding-top: 3em;
}
.services-block-wrapper .service-list .service-single {
  display: flex;
  position: relative;
  flex-direction: row;
  border-bottom: 1px solid white;
}
.services-block-wrapper .service-list .service-single:nth-of-type(1) {
  border-top: 1px solid white;
}
.services-block-wrapper .service-list .service-single a {
  display: flex;
  width: 100%;
  padding: 1em 0 4em;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  text-decoration: none;
  color: white !important;
  cursor: pointer;
}
.services-block-wrapper .service-list .service-single::after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 0;
  top: 1em;
  width: 20px;
  height: 22px;
  background-image: url("../berg-consulting/img/arrow-right.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.services-block-wrapper .service-list .service-single a h3 {
  margin: 0;
  color: #2d5fff;
  font-size: 1.938rem;
  transition: all 0.3s ease;
}
.services-block-wrapper .service-list .service-single:hover a h3 {
  color: white;
}

.services-block-wrapper .service-list .service-single a h3::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 15px;
  margin-right: 1em;
  background-image: url("../berg-consulting/img/enter-right.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.services-block-wrapper .service-list .service-single a p {
  margin: 0 8em 0 0;
  opacity: 0;
  transition: all 0.3s ease;
}
.services-block-wrapper .service-list .service-single:hover a p {
  opacity: 1;
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  .services-block-wrapper .big-text {
    font-size: 2.432rem;
  }
  .services-block-wrapper .small-text {
    font-size: 1.25rem;
  }
  .services-block-wrapper .service-list .service-single a h3 {
    padding-left: 1.5em;
  }
  .services-block-wrapper .service-list .service-single a h3::before {
    position: absolute;
    margin-left: -1.5em;
  }
  .services-block-wrapper .service-list .service-single::after {
    display: none;
  }
}
/* Fullscreen image
--------------------------------------------- */
.fullscreen-image-block-wrapper {
  padding-top: 3em;
  padding-bottom: 3em;
}
.fullscreen-image-block-wrapper img {
  border-radius: 17px;
}
/* Partners
--------------------------------------------- */
.partners-block-wrapper {
  padding-top: 3em;
  padding-bottom: 3em;
}
.partners-block-wrapper h2 {
  font-size: 1.938rem;
  line-height: 1;
  margin: 0;
}
.partners-block-wrapper .logo-row {
  text-align: right;
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  .partners-block-wrapper .logo-row {
    text-align: center;
    margin-bottom: 1em;
  }
  .partners-block-wrapper h2 {
    margin-bottom: 1.5em;
  }
}
/* Fullwidth CTA
--------------------------------------------- */
.fullwidth-cta-block {
  background-color: #2d5fff;
  position: relative;
  overflow: hidden;
}
.fullwidth-cta-block > .container {
  padding: 5em 0;
  border-bottom: 1px solid white;
  position: relative;
  z-index: 1;
}
.fullwidth-cta-block .cta-form-trigger {
  width: 147px;
  height: 147px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: white;
}
.fullwidth-cta-block .decorative-text {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}
.fullwidth-cta-block .decorative-text p {
  text-align: center;
  font-size: 6rem;
  white-space: nowrap;
  color: #2b53d5;
}
.fullwidth-cta-block h2 {
  font-size: 5rem;
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  .fullwidth-cta-block h2 {
    font-size: 2.432rem;
  }
  .fullwidth-cta-block .decorative-text {
    top: 80%;
  }
  .fullwidth-cta-block .decorative-text p {
    text-align: center;
    font-size: 2.5rem;
    white-space: nowrap;
    color: #2b53d5;
  }
}
/* Simple Hero
--------------------------------------------- */
.simple-hero-block-wrapper {
  padding-top: 3em;
  padding-bottom: 3em;
}
.simple-hero-block-wrapper .big-text {
  margin: 0;
  font-size: 6rem;
  line-height: 1;
  margin-bottom: 0.5em;
}
.simple-hero-block-wrapper .small-text {
  margin: 0;
  font-size: 1.938rem;
  line-height: 1.2;
  margin-bottom: 0.5em;
  text-align: left;
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  .simple-hero-block-wrapper .big-text {
    font-size: 2.432rem;
  }
  .simple-hero-block-wrapper .small-text {
    font-size: 1.25rem;
  }
}
/* Columns: Image + Text
--------------------------------------------- */
.columns-image-text-block-wrapper {
  padding-top: 3em;
  padding-bottom: 3em;
}
.columns-image-text-block-wrapper h2 {
  margin: 0;
  font-size: 5rem;
}
.columns-image-text-block-wrapper p {
  font-size: 1.25rem;
}
.columns-image-text-block-wrapper img {
  border-radius: 17px;
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  .columns-image-text-block-wrapper h2 {
    font-size: 2.432rem;
    margin: 1em 0;
  }
}
/* Fullwidth Title
--------------------------------------------- */
.fullwidth-title-block-wrapper {
  padding-top: 3em;
  padding-bottom: 3em;
}
.fullwidth-title-block-wrapper h2 {
  color: #2d5fff;
  font-size: 5rem;
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  .fullwidth-title-block-wrapper h2 {
    font-size: 2.5rem;
  }
}
/* Values
--------------------------------------------- */
.values-block-wrapper {
  padding-top: 3em;
  padding-bottom: 3em;
}
.values-block-wrapper .value-single {
  text-align: left;
}
.values-block-wrapper .value-single h3 {
  font-size: 1.8rem;
  color: #2d5fff;
  margin: 0 0 0.5em;
}
.values-block-wrapper .value-single .highlight {
  font-size: 1.938rem;
  margin: 0;
}
.values-block-wrapper .value-single .text {
  font-size: 0.9rem;
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  .values-block-wrapper .value-single .highlight {
    font-size: 1.938rem;
    line-height: 1.2;
    margin: 0;
  }
  .values-block-wrapper .value-single {
    margin-bottom: 1em;
  }
}
/* Fullscreen contact
--------------------------------------------- */
.fullscreen-contact-block-wrapper {
  padding-top: 3em;
  padding-bottom: 3em;
}
.fullscreen-contact-block-wrapper h2 {
  text-align: right;
  margin: 1em 0 0;
}
.fullscreen-contact-block-wrapper .social-links a {
  text-decoration: none;
}
.fullscreen-contact-block-wrapper .contacts {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 0.5em;
}
/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.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;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

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

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

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