/*
Theme Name: InterregTheme
Author: Julia Łakomy
Version: 2.0.8

*/

.test {
  border: solid 0.1px black;
}

.test-red {
  border: solid 0.1px red;
}

/**
 * Table of Contents
 *
 # Normalize
 # Accessibility
 # Alignments
 # Hero Section
 # Posts and pages
 # Widgets
 # Comments
 # Pagination
 # Footer
 # Footer Navigation
 # Top Menu
*/
/*----------------------
	Normalize
----------------------*/
a,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: "Roboto", sans-serif;
  color: #212529;
}

p {
  font-size: 18px;
  /* line-height: 28px; */
}

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

ul.dropdown-menu li>ul.dropdown-menu {
  left: 100%;
  top: 0;
}

ul.dropdown-menu li:focus>ul.dropdown-menu,
ul.dropdown-menu li:hover>ul.dropdown-menu {
  display: block;
}

section.intro {
  height: 100%;
  padding: 5rem 0;
  background-color: #b8c6db;
  background-image: linear-gradient(315deg, #b8c6db 10%, #f5f7fa 94%);
}

section.intro h3 {
  border-bottom: 2px solid;
  color: #979797;
}

a.button {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;

  text-decoration: none;
  color: initial;
}

#commentform input#submit,
a.button.btn-default {
  background: #ffffff;
  border: 2px solid #013190;
  box-sizing: border-box;
  box-shadow: 0px 4px 2px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  /* line-height: 24px; */
  text-align: center;
  color: #013190;
  padding: 14px 45px;
  margin: 1em;
}

/* start of phone styles */
@media only screen and (max-width: 479px) {
  #commentform input#submit,
  a.button.btn-default {
      font-size: 14px;
      /* line-height: 24px; */
      padding: 6px 20px;
  }
}


h1 {
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  /* line-height: 35px; */
  text-align: center;
  color: #003399;
  text-transform: uppercase;
  margin-bottom: 1em;
}

div#main-header-wrapper h1 {
  width: 280px;
}

h2 {
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  /* line-height: 35px; */
  text-align: center;
  color: #003399;
  text-transform: uppercase;
  margin: 2em 0;
}

h2>a {
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  /* line-height: 35px; */
  text-align: center;
  color: #003399;
  text-transform: uppercase;
  margin: 2em 0;
}

h3 {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  /* line-height: 21px; */
  text-align: center;
  color: #000000;
  margin: 1.2em 0;
}


/* start of large tablet styles */
@media only screen and (max-width: 991px) and (min-width: 480px) {
  h1 {
      font-size: 16px;
      /* line-height: 18px; */
  }

  h2 {
      font-size: 16px;
      /* line-height: 18px; */
  }

  h3 {
    font-size: 12px;
    /* line-height: 14px; */
  }
}

/* start of phone styles */
@media only screen and (max-width: 479px) {
  h1 {
      font-size: 24px;
      /* line-height: 28px; */
  }

  h2 {
      font-size: 18px;
      /* line-height: 21px; */
  }

  h3 {
      font-size: 14px;
      /* line-height: 16px; */
  }
}


main#site-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

div#content {
  width: 100%;
}

/*---------------------------
	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: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

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

.gallery-caption,
.wp-caption {
  color: #666;
  font-size: 13px;
  font-size: 0.8125rem;
  font-style: italic;
  margin-bottom: 1.5em;
  max-width: 100%;
}

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

body.pojo-a11y-links-underline a, body.pojo-a11y-links-underline a * {
  text-decoration: underline !important;
  color: red !important;
}

div#topnavbar * {
  display: flex;
  flex-wrap: wrap;
}

section#info-circles-section h3 {
  display: flex;
  flex-wrap: wrap;
  /* word-break: break-all; */
}

footer.footer p {
  word-break: break-all;
}

/*---------------------------
	Alignments
-----------------------------*/
img.alignleft,
img.alignright {
  float: none;
  margin: 0;
}

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

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

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

.center-element {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*-------------------------
	Header
-------------------------*/

header {
  border-bottom: 1px solid #f1f1f1;
}

header.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background-color: white;
}

#main-header-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

/*-------------------------
	Main Page
-------------------------*/

div#content {
  margin-top: 117px;
}

#main-background-figure {
  min-width: 200px;
  min-height: 200px;
  /* background-color: red; */
  clip-path: polygon(33% 0, 100% 0, 100% 85%, 0 100%);
  position: absolute;
  top: 0;
  right: 0;
  width: 730.5px;
  height: 642px;
  z-index: -1;
  background: #cfd7f2;
  /* opacity: 0.5; */
  width: 100%;
  height: 100%;
}

img#main-img {
  margin-bottom: 4em;
}

.main-img-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}




/*-------------------------
    Main Page
    Hero Slider Section
-------------------------*/

section#hero-slider .ms-info {
  width: fit-content;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 20%;
  padding: 2em;

  background: rgba(0, 0, 0, 0.5);
}


section#hero-slider .ms-slide-info {
  position: absolute !important;
  display: flex;
  align-items: start;
  justify-content: center;
  margin: 0 !important;
}

section#hero-slider h1 {
  margin: 0;
  opacity: 1 !important;
  color: white;
}



section#hero-slider .master-slider {
  DISPLAY: FLEX;
  align-items: center;
}


section#hero-slider .master-slider {
  width: calc(100vw - (100vw - 100%)) !important;
}



section#hero-slider .ms-skin-default .ms-nav-next {
  background-position: -15px -150px !important;
  width: 50px !important;
  height: 50px !important;
}

section#hero-slider .ms-skin-default .ms-nav-prev {
  background-position: -15px -150px  !important; 
  width: 50px !important;
  height: 50px !important;
  -moz-transform: scale(-1, -1);
  -o-transform: scale(-1, -1);
  -webkit-transform: scale(-1, -1);
  transform: scale(-1, -1);
}

@media only screen and (max-width: 480px) {
  section#hero-slider h1 {
      font-size:12px
  }
}

@media only screen and (min-width: 992px) and (max-width: 1170px) {
  section#hero-slider h1 {
      font-size:24px
  }
}


/*-------------------------
    Main Page
    Scroll Down Section
-------------------------*/

section#scroll-down-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

section#scroll-down-section>* {
  margin: 10px 20px;
}

section#scroll-down-section>p {
  text-transform: uppercase;
}

/*-------------------------
    Main Page
    Circles Section
-------------------------*/

.info-circle {
  height: 200px;
  width: 200px;
  border-radius: 50%;
  display: inline-block;
  background: #003399;
  border: 4px solid #003399;
  box-sizing: border-box;
}

img.info-circle-item {
  padding: 20%;
}

.info-item {
  flex-direction: column;
  display: flex;
  align-items: center;
}

.info-circle {
  display: flex;
  align-items: center;
  justify-content: center;
}

section#info-circles-section>.row {
  display: flex;
  justify-content: center;
}

section#info-circles-section .info-item>h3 {
  text-align: center;
}

/* start of large tablet styles */
@media only screen and (max-width: 991px) and (min-width: 480px) {
  .info-circle {
      width: 150px;
      height: 150px;
  }
}

/* start of medium tablet styles */
@media only screen and (max-width: 767px) {
  .row {
      display: flex;
      flex-direction: row;
  }

  .info-circle {
      width: 120px;
      height: 120px;
  }

  .col-md-3.info-item {
      display: flex;
      flex-basis: 33.3%;
  }
}

@media only screen and (max-width: 576px) {
  section#info-circles-section .info-item {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
  }

  section#info-circles-section .info-circle {
      width: 80px;
      height: 80px;
  }

  section#info-circles-section .col-md-3.info-item {
      margin: 0.5em 2em;
  }

  section#info-circles-section .col-md-3.info-item h3 {
      padding: 0 1em;
  }

  section#info-circles-section .col-md-3.info-item h3 {
      width: 200px;
  }

  section#info-circles-section h3 {
      font-size: 16px;
      /* line-height: 18px; */
  }
}


@media only screen and (max-width: 384px) {
  section#info-circles-section .info-item {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
  }

  section#info-circles-section .info-circle {
      width: 50px;
      height: 50px;
  }

  section#info-circles-section .col-md-3.info-item {
      margin: 0 2em;
  }

  section#info-circles-section .col-md-3.info-item h3 {
      padding: 0 1em;
  }

  section#info-circles-section .col-md-3.info-item h3 {
      width: 200px;
  }
}

@media only screen and (max-width: 360px) {
  section#info-circles-section .info-item {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
  }

  section#info-circles-section .info-circle {
      width: 50px;
      height: 50px;
  }

  section#info-circles-section .col-md-3.info-item {
      margin: 0 2em;
  }

  section#info-circles-section .col-md-3.info-item h3 {
      padding: 0 1em;
  }

  section#info-circles-section .col-md-3.info-item h3 {
      width: 150px;
  }
}



/*-------------------------
    Main Page
    News Section
-------------------------*/



h3{
  font-weight: bold;
  text-align: left;
}

section#main-page-news p.post-trim {
  margin: 1.2em 0;
}


section#main-page-news>* {
  font-size: 18px;
}

div#main-page-for-posts {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 1440px)  and (min-width: 767px) {
h3 {
      min-height: 42px;
      display: flex;
      align-items: center;
  }
}

/* start of large tablet styles */
@media only screen and (max-width: 1024px) and (min-width: 767px) {
  section#main-page-news p.post-trim {
      min-height: 112px;
  }
}

/* start of medium tablet styles */
@media only screen and (max-width: 767px) and (min-width: 576px) {
  section#main-page-news .col-md-6 {
      display: flex;
      flex-direction: column;
      flex-basis: 50%;
  }

h3 {
      font-size: 16px;
      /* line-height: 19px; */

  }

  section#main-page-news span.post-trim-date {
      font-size: 12px;
      /* line-height: 14px; */
  }

  section#main-page-news p.post-trim {
      font-size: 12px;
      /* line-height: 14px; */
  }

  section#main-page-news a.nu.gray {
      font-size: 12px;
      /* line-height: 14px; */
  }

h3 {
      min-height: 42px;
      display: flex;
      align-items: center;
  }

  section#main-page-news p.post-trim {
      min-height: 112px;
  }
}

@media only screen and (max-width: 576px) {
  section#main-page-news h3 {
      font-size: 16px;
      /* line-height: 18px; */
  }

  section#main-page-news * {
      text-align: center;
  }

h3 {
    display: flex;
    justify-content: center;
    text-align: center;
    /* text-align: center !important; */
}

  section#main-page-news p.post-trim {
      font-size: 12px;
      /* line-height: 14px; */
  }

  section#main-page-news span.post-trim-date {
      font-size: 13px;
      /* line-height: 14px; */
  }

  section#main-page-news a.nu.gray {
      font-size: 12px;
      /* line-height: 14px; */
      text-transform: uppercase;
  }

  section#main-page-news .col-md-6 {
      margin-bottom: 1em;
  }
}



/*-------------------------
    Main Page
    Disasters Section
-------------------------*/

section#disasters-section .ms-nav-next,section#disasters-section .ms-nav-prev {
  background: none !important;
  width: auto !important;
  height: auto !important;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 40px;
  color: white;
  text-shadow: 0 0 5px black;
  z-index: 9 !important;
}

#disasters-section .ms-slide-info.ms-dir-h.ms-align-bottom {
  width: 100%;
  height: auto;
  background-color: #013190;
}

#disasters-section .ms-info {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

section#disasters-section .ms-nav-next::before {
  content: "\f054";
}

section#disasters-section .ms-nav-prev::before {
  content: "\f053";
}

section#disasters-section i.fas.fa-chevron-left,section#disasters-section i.fas.fa-chevron-right {
  color: white;
  text-shadow: 0 0 5px black;
}

@media only screen and (min-width: 991px) {
  section#disasters-section .master-slider {
      display: flex;
      flex-direction: row;
  }

  section#disasters-section .ms-slide-info.ms-dir-h.ms-align-bottom {
      margin-top: 0 !important;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.5em;
  }
}

@media only screen and (max-width: 991px) {
  section#disasters-section .ms-nav-prev {
      left: 10px !important;
  }

  section#disasters-section .ms-nav-next {
      right: 10px !important;
  }

  section#disasters-section .ms-slide-info.ms-dir-h.ms-align-bottom {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 126px !important;
  }

  section#disasters-section .ms-slide-info.ms-dir-h.ms-align-bottom {
      max-width: 800px;
  }

  section#disasters-section .master-slider {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  }
}

@media only screen and (max-width: 360px) {
  #disasters-section .ms-info {
      padding: 15px;
  }
}


/*-------------------------
    Main Page
    Tools Secion
-------------------------*/

@media only screen and (min-width: 1024px) {
  section#tools-section .tools-item {
      display: flex;
      margin-bottom: 2em;
  }

  section#tools-section .tools-item:nth-child(odd) {
      flex-direction: row;
  }

  section#tools-section .tools-item:nth-child(even) {
      flex-direction: row-reverse;
  }

  section#tools-section p.tools-desc {
      font-size: 12px;
      /* line-height: 14px; */
      text-align: center;
  }

  section#tools-section .tools-desc-wrapper, .tools-img-wrapper {
      width: 40%;
      min-width: 40%;
  }

  section#tools-section .tools-img-wrapper {
      display: flex;
      justify-content: center;
  }

  section#tools-section .tools-desc-wrapper,section#tools-section .tools-desc-bottom {
      background: #E7EBF8;
      box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.25);
  }

  section#tools-section .tools-item:nth-child(odd) .tools-desc-wrapper {
      margin-left: 1em;
  }

  section#tools-section .tools-item:nth-child(even) .tools-desc-wrapper {
      margin-right: 1em;
  }

  section#tools-section .tools-desc-wrapper,section#tools-section .tools-desc-bottom {
      padding: 1.5em;
  }

  section#tools-section .tools-desc-header {
      text-align: center;
      justify-content: center;
  }

  section#tools-section img.tools-img {
      filter: drop-shadow(-5px 5px 5px rgba(0, 0, 0, 0.25));
  }
}

@media only screen and (min-width: 479px) and (max-width: 1023px) {
  section#tools-section .tools-item {
      display: flex;
      margin-bottom: 2em;
  }

  section#tools-section .tools-item:nth-child(odd) {
      flex-direction: row;
  }

  section#tools-section .tools-item:nth-child(even) {
      flex-direction: row-reverse;
  }

  section#tools-section p.tools-desc {
      font-size: 12px;
      /* line-height: 14px; */
      text-align: center;
  }

  section#tools-section .tools-desc-wrapper, .tools-img-wrapper {
      width: 50%;
      min-width: 50%;
  }

  section#tools-section .tools-img-wrapper {
      display: flex;
      justify-content: center;
  }

  section#tools-section .tools-desc-wrapper,section#tools-section .tools-desc-bottom {
      background: #E7EBF8;
      box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.25);
  }

  section#tools-section .tools-desc-wrapper, .tools-desc-bottom {
      padding: 1.5em;
  }

  section#tools-section .tools-desc-header {
      text-align: center;
      justify-content: center;
  }

  section#tools-section img.tools-img {
      filter: drop-shadow(-5px 5px 5px rgba(0, 0, 0, 0.25));
  }
}

/* start of phone styles */
@media only screen and (max-width: 479px) {
  section#tools-section p.tools-desc {
      font-size: 12px;
      /* line-height: 14px; */
      text-align: center;
  }

  section#tools-section .tools-desc-wrapper, .tools-desc-bottom {
      background: #E7EBF8;
      margin: 1em 0;
      padding: 1em;
  }

  section#tools-section .tools-item {
      margin-bottom: 4em;
  }
}

/*-------------------------
    Main Page
    Marketing Secion
-------------------------*/

/* TODO !!!!!!!!!!! */
section#marketing-section .marketing-item:hover {
  /* border: solid; */ 
  border:none;
}

section#marketing-section .marketing-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

section#marketing-section .marketing-img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

section#marketing-section .marketing-polish-section, .marketing-slovakia-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section#marketing-section p.marketing-tool-tip {
  text-align: center;
  margin-top: 0.8em;
}

section#marketing-section a.marketing-img-lightbox {
  width: 30%;
  margin: 1%;
} 

.tools-desc-bottom, .tools-desc-wrapper {
  background-color: #003399 !IMPORTANT;
  color: white !IMPORTANT;
}

.tools-desc-wrapper *, .tools-desc-bottom *  {
  color: white;
}


@media only screen and (min-width: 1024px) {
  section#marketing-section a.marketing-img-lightbox {
    width: 30%;
    margin: 1%;
  }

  div#marketing-resources-wrapper {
      display: flex;
      flex-direction: row;
      align-items: start;
      justify-content: center;
  }

  section#marketing-section .marketing-slovakia-section, .marketing-polish-section {
      display: flex;
      width: 45%;
      margin: 1%;
  }

  section#marketing-section .marketing-items-wrapper {
      width: 80%;
  }

  section#marketing-section .marketing-item-name {
      max-width: 255px;
      text-align: center;
  }
}

/* start of small laptop styles */
@media only screen and (max-width: 1024px) and (min-width: 991px) {
  section#marketing-section a.marketing-img-lightbox {
    width: 30%;
    margin: 1%;
  }


  div#marketing-resources-wrapper {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
  }

  section#marketing-section .marketing-slovakia-section, .marketing-polish-section {
      display: flex;
      width: 45%;
      margin: 1%;
  }

  section#marketing-section .marketing-items-wrapper {
      width: 80%;
  }

  section#marketing-section .marketing-item-name {
      max-width: 255px;
      text-align: center;
  }
}

/* start of large tablet styles */
@media only screen and (max-width: 991px) and (min-width: 480px) {}
  section#marketing-section a.marketing-img-lightbox {
    width: 40%;
    margin: 1%;
  }

  section#marketing-section .marketing-items-wrapper {
      max-width: 70%;
  }
}

/* start of phone styles */
@media only screen and (max-width: 479px) {

  section#marketing-section a.marketing-img-lightbox {
    width: 45%;
    margin: 1%;
  }

  section#marketing-section .marketing-item-name {
      max-width: 280px;
      text-align: center;
  }

  section#marketing-section .marketing-items-wrapper {
      max-width: 75%;
  }

  section#marketing-section .marketing-polish-section, .marketing-slovakia-section {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  }
}

@media only screen and (max-width: 425px) {
  section#marketing-section .marketing-items-wrapper {
      max-width: 100%;
  }
}

/*-------------------------
    Main Page
    Training Secion
-------------------------*/

section#training-section a.button.btn-default {
  margin-left: 0;
} 

/* start of large tablet styles */
@media only screen and (max-width: 991px) and (min-width: 480px) {
}

@media only screen and (min-width: 768px) {
  section#training-section h3 {
      font-size: 18px;
      text-align: left;
      justify-content: left;
  }

  section#training-section .training-post-item {
      display: flex;
      flex-direction: column;
  }

  section#training-section .training-btn-wrapper {
      display: flex;
      justify-self: end;
      justify-content: start;
      align-items: flex-end;
      height: -webkit-fill-available;
  }

  section#training-section a.button.btn-default {
      font-size: 16px;
  }
}

/* start of medium tablet styles */
@media only screen and (max-width: 768px) {
  section#training-section h3 {
      font-size: 16px;
      /* line-height: 18px; */
      text-align: left;
      justify-content: left;
  }

  section#training-section .training-post-item {
      display: flex;
      flex-direction: column;
  }

  section#training-section .training-btn-wrapper {
      display: flex;
      justify-self: end;
      justify-content: start;
      align-items: flex-end;
      height: -webkit-fill-available;
  }

  section#training-section .training-post-item-wrapper {
      /*         display: flex;
      justify-content: center; */
  }

  section#training-section a.button.btn-default {
      font-size: 14px;
  }
}

/* start of phone styles */
@media only screen and (max-width: 479px) {
  section#training-section h3 {
      font-size: 16px;
      /* line-height: 18px; */
      text-align: left;
      justify-content: left;
  }

  section#training-section p.training-post-excerpt {
      font-size: 12px;
      /* line-height: 14px; */
      margin: 1.2em 0;
      text-align: left;
  }

  section#training-section p.training-post-difficulty {
      font-size: 12px;
      /* line-height: 14px; */
      margin: 0.8em 0;
  }

  section#training-section h3.training-post-title::before {
      content: "";
      width: 20px;
      height: 20px;
      background: #CFD7F2;
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
      position: absolute;
      top: 10px;
      left: 10px;
      z-index: -1;
  }
}



/*-------------------------
    Main Page
    Training Secion
-------------------------*/





/*-------------------------
	Hero Section
-------------------------*/
.links a {
  min-width: 135px;
  margin: 5px;
  font-size: 15px;
  border-radius: 25px;
  white-space: normal;
}

.links a {
  min-width: 135px;
  margin: 5px;
  font-size: 15px;
  border-radius: 25px;
  white-space: normal;
}

section.intro .continuelink {
  border: 1px solid #888;
  color: #888;
}

section.intro .scrolldown {
  position: relative;
  z-index: 10;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-top: 2rem;
}

section.intro .scrolldown:hover {
  opacity: 0.5;
}

section.intro .scrolldown span {
  position: absolute;
  top: 1rem;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 24px;
  height: 24px;
  border-left: 3px solid;
  border-bottom: 3px solid;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: scrolldown 1.5s infinite;
  animation: scrolldown 1.5s infinite;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.animated {
  -webkit-animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-duration: 1s;
  animation-fill-mode: both;
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

section.about {
  padding: 7rem 0 5rem 0;
}

@-webkit-keyframes scrolldown {
  0% {
    -webkit-transform: rotateY(0) rotateZ(-45deg) translate(0, 0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    -webkit-transform: rotateY(720deg) rotateZ(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}

@keyframes scrolldown {
  0% {
    -webkit-transform: rotateY(0) rotateZ(-45deg) translate(0, 0);
    transform: rotateY(0) rotateZ(-45deg) translate(0, 0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    -webkit-transform: rotateY(720deg) rotateZ(-45deg) translate(-20px, 20px);
    transform: rotateY(720deg) rotateZ(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}

#number-factors {
  background-color: #f7f7f7;
}

#number-factors i {
  font-size: 40px;
  color: #3b88c3;
}

#number-factors h3 {
  color: #42474c;
  font-size: 48px;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
}

#number-factors span {
  color: #42474c;
  font-size: 16px;
  font-weight: 400;
  font-family: Montserrat, sans-serif;
  font-style: italic;
}

#case-study .casestudy-bg {
  background-size: cover;
  background-position: center;
}

#case-study .outer_content {
  background: linear-gradient(to bottom right, #dadbdc, #3b88c3);
  background: -webkit-linear-gradient(left top, #dadbdc, #3b88c3);
  padding-top: 141px;
  padding-right: 50px;
  padding-bottom: 140px;
  padding-left: 26px;
}

#case-study h2 {
  font-size: 50px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

.continuelink.white-border {
  border: 2px solid #fff;
  color: #fff;
}

section#testimonial {
  background-color: #333;
  padding: 3rem 0;
}

section#testimonial i {
  color: #3b88c3;
}

.testimonial_author {
  color: #3b88c3;
}

.btn-readmore {
  color: #fff;
  background-color: #3b88c3;
  border-color: #3b88c3;
}

.blog-sidebar,
.main-blog {
  margin-top: 35px;
}

@media only screen and (min-width: 2000px) {
  section#hero-section {
    width: 70%;
  }
}


@media only screen and (min-width: 1441px) and (max-width: 2000px) {
  section#hero-section {
    width: 80%;
  }

  div#content {
    margin-top: 130px;
  }

  section#scroll-down-section {
    margin: 22px 0;
  }
}

@media only screen and (max-width: 1441px) {
  div#content {
    margin-top: 117px;
  }

  section#scroll-down-section {
    margin: 22px 0;
  }
}

@media only screen and (max-width: 1024px) {
  div#content {
    margin-top: 130px;
  }

  section#scroll-down-section {
    display: none;
  }
}

@media only screen and (max-width: 767px) and (min-width: 480px) {
  section#hero-section .col-md-6 {
    display: flex;
    flex-basis: 50%;
    width: 50%;
  }

  section#hero-section .row {
    display: flex;
    flex-direction: row;
  }

  div#main-header-wrapper>h1 {
    /* font-size: 16px;
    line-height: 20px;
    width: 70%; */
  }

  a.button.btn-default {
    font-size: 12px;
    padding: 4px 15px;
  }

  div#main-background-figure {
    min-width: 150px !important;
    min-height: 150px !important;
  }

  img#main-img {
    margin-bottom: 0;
  }

  div#content {
    margin-top: 105px;
  }
}

/* start of phone styles */
@media only screen and (max-width: 479px) {
  div#main-background-figure {
    display: none;
  }
}

/*-----------------------
	Posts and pages
------------------------*/
article {
  margin-bottom: 35px;
  padding-bottom: 35px;
}

article .entry-title {
  margin-bottom: 25px;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

article .blog-img {
  margin-bottom: 25px;
}

article .entry-title a {
  font-size: 24px;
  /* line-height: 35px; */
  text-decoration: none;
}

article .meta-desc {
  clear: both;
  overflow: hidden;
  margin-top: 20px;
  padding: 5px 0;
  border-top: 1px solid #e7e6e6;
  border-bottom: 1px solid #e7e6e6;
  font-size: 12px;
}

article .post-info {
  float: left;
}

article .post-readmore {
  float: right;
}

#single-post {
  margin-top: 35px;
  margin-bottom: 4em;
}

#single-post h1 {
  font-size: 28px;
  /* line-height: 37px; */
  margin-bottom: 25px;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

h1.entry-title {
  width: 100%;
}

article.post span.post-trim-date {
  margin-bottom: 1.2em;
}


/*-----------------------
	Pages: Szkolenia
-------------------------*/



/* start of phone styles */
@media only screen and (max-width: 479px) {
  section#single-training-post p {
      font-size: 14px;
      /* line-height: 16px; */
  }

  section#single-training-post .training-post-info-wrapper * {
      font-size: 16px;
  }
}

section#single-training-post .training-post-date {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.3em 0;
}

section#single-training-post .training-post-info-wrapper {
  text-align: center;
}

section#single-training-post .training-post-module-header {
  font-weight: bold;
}

/*-----------------------
	Widgets
-------------------------*/
.widgettitle {
  font-size: 24px;
}

.widget {
  padding-bottom: 3em;
}

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

.widget ul li,
.widget ol li {
  border-bottom: 1px solid #ddd;
  padding: 0.5em 0;
}

.widget_calendar td,
.widget_calendar th {
  border: 1px solid #ddd;
  padding: 2px 5px;
  /* line-height: 30px; */
  text-align: center;
}

.widget_calendar table {
  width: 100%;
}

.widget_calendar caption {
  font-weight: 700;
  margin: 0 0 0.8em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  caption-side: top;
  text-align: center;
  padding-bottom: 0;
}

/*-----------------------
	Comments
-------------------------*/
.bypostauthor>.comment-body>.comment-meta>.comment-author .avatar {
  border: 1px solid #333;
  padding: 2px;
}

.comment-list {
  padding: 0;
}

.comment-list,
.comment-list .children {
  list-style: none;
}

.comment-meta {
  color: #767676;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1818em;
  text-transform: uppercase;
  background: transparent;
}

.comment-body {
  padding-bottom: 0;
  margin-bottom: 15px;
}

.recent-comments ul,
.recent-posts ul {
  list-style: none;
  padding-left: 0;
}

.recent-comments ul li,
.recent-posts ul li {
  border-bottom: 1px solid #e7e6e6;
  padding: 10px 0;
}

h3.comments-title,
h3#reply-title {
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  /* line-height: 35px; */
  text-align: left;
  color: #003399;
  text-transform: uppercase;
  margin: 0.8em 0;
}

p.comment-form-comment {
  display: flex;
  flex-direction: column;
}

/*-------------------------
	Pagination
----------------------------*/
.pagination .screen-reader-text {
  display: none;
}

.pagination a.page-numbers,
.pagination span.page-numbers {
  border: 1px solid #e7e6e6;
  padding: 8px 12px;
  border-radius: 50%;
  margin-right: 8px;
}

.pagination span.current {
  background-color: #3b88c3;
  border: 1px solid #3b88c3;
  color: #fff;
}

.pagination .nav-links {
  min-height: 50px;
}

.pagination a.next,
.pagination a.prev {
  border: none;
}



/*---------------------------
		Footer
-----------------------------*/

footer.footer {
  margin: 2em 0;
}

@media only screen and(max-width: 991px) and (min-width: 480px) {
  /* start of large tablet styles */

  div#footer-navbar li {
    font-size: 16px;
  }

  .footer-section p {
    font-size: 16px;
  }

  footer h4 {

    font-size: 18px;
    padding-top: 1em;
  }

  div#eu-data>p {
    text-align: center;
    /* line-height: 22px; */
  }

  div#footer-navbar>ul>li {
    text-align: left;
  }
}

@media only screen and(max-width: 767px) and (min-width: 480px) {

  #eu-data>img.custom-logo,
  #eu-data>p {
    flex-basis: 50%;
    max-width: 50%;
  }

  #eu-data {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
  }

  div#footer-navbar li {
    font-size: 14px;
  }

  .footer-section p {
    font-size: 14px;
  }

  footer h4 {
    font-size: 17px;
    padding-top: 1em;
  }

  #footer-contact,
  #footer-shortcuts {
    flex-basis: 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    text-align: center;
  }

  div#eu-data>p,
  div#footer-navbar>ul>li,
  div#footer-shortcuts>h4 {
    text-align: center;
  }

  div#eu-data>p {
    /* line-height: 20px; */
  }
}

@media only screen and(max-width: 576px) and (min-width: 480px) {
  footer img.custom-logo {
    width: 200px;
    margin: 0;
    height: auto;
  }
}

@media only screen and(max-width: 479px) {

  /* start of phone styles */
  footer .footer-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .footer-section p {
    font-size: 17px;
  }

  div#footer-navbar li {
    text-align: center;
    font-size: 16px;
  }

  footer h4 {
    font-size: 18px;
  }

  .footer-section {
    margin-bottom: 1.8em;
  }
}

@media only screen and (max-width: 412px) {
  footer h4 {
    font-size: 16px;
  }

  .footer-section p {
    font-size: 16px;
  }

  footer img.custom-logo {
    width: 200px;
    height: auto;
  }
}

.footer-section p {
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  margin-bottom: 0;
}

footer h4 {
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  /* line-height: 19px; */
}

div#footer-navbar li {
  list-style: none;
}

div#footer-navbar>ul {
  padding: 0;
}

div#footer-navbar {
  padding: 0;
  margin: 0;
}

div#footer-navbar li {
  font-size: 16px;
}

.footer-section p {
  font-size: 16px;
}

footer h4 {
  font-size: 18px;
  padding-top: 1em;
}

div#eu-data>p {
  /* line-height: 22px; */
}

p.ue-desc {
  font-size: 10px;
}

footer p.hv-desc {
  font-size: 12px;
  text-align: center;
}

footer p.hv-desc>a {
  color: #003399;
  font-weight: bold;
}
/*---------------------------
		Footer Navigation
-----------------------------*/
/* #footer-navbar {
    float: left;
}

#footer-navbar ul {
    padding: 0;
    margin: 0
}

#footer-navbar li {
    display: inline-block;
    list-style: none;
}

#footer-navbar li a {
    color: #fff;
    font-size: 12px;
    border-right: 1px solid #fff;
    padding: 0 10px;
    line-height: 24px;
}

#footer-navbar ul li:last-child a {
    border: none;
} */

/*----------------------------
		Top Menu
 --------------------------*/

i.fas.fa-bars.navbar-toggler-icon {
  background-image: none;
  font-size: 24px;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

button.navbar-toggler {
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
}

#topnavbar li {
  margin-right: 10px;
}

button.navbar-toggler-btn {
  border: none;
  background: none;
}

@media only screen and (max-width: 767px) {
  .site-branding .custom-logo {
    width: 250px;
    max-width: 250px;
    height: auto;
  }
}

@media only screen and (max-width: 479px) {
  .site-branding .custom-logo {
    width: 200px;
    max-width: 200px;
    height: auto;
  }
}

@media only screen and (max-width: 991px) {
  .lang-item {
      display: flex;
      width: fit-content;
  }

  .navbar-nav {
      display: flex;
      flex-wrap: wrap;
      align-items: end;
      justify-content: flex-end;
      flex-direction: row;
      text-align: right;
  }

  .menu-item-object-page {
      width: 100%;
      text-align: right;
      display: flex;
      align-items: end;
      justify-content: flex-end;
  }
}



/* //////////////////////////////////////////// */

@media only screen and(max-width: 992px) and (min-width: 992px) {

  /* Fix one case -> 992px */
  .navbar-nav {
    display: flex;
    flex-direction: row;
  }

  .menu-item.menu-item-type-post_type.menu-item-object-page {
    width: fit-content;
  }

  .site-branding .custom-logo {
    width: 200px;
    height: auto;
  }
}

@media only screen and(max-width: 991px) {

  /* start of large tablet styles */
  .lang-item {
    width: fit-content;
  }

  .navbar-nav {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    align-items: flex-end;
  }

  .menu-item.menu-item-type-post_type.menu-item-object-page {
    width: 100%;
    text-align: right;
    margin: 5px 0;
  }

  button.navbar-toggler:focus {
    outline: none;
  }

  .lang-item {
    margin: 0 20px;
  }
}

@media only screen and(max-width: 479px) {

  /* start of phone styles */
  .site-branding img.custom-logo {
    width: 200px;
    height: auto;
  }
}

/* start of medium tablet styles */
@media only screen and(max-width: 767px) {

  .menu-item a>span {
    font-size: 18px;
  }
}

/* start of small tablet styles */
@media only screen and (max-width: 421px) and (min-width: 385px) {
  .site-branding .custom-logo {
    width: 180px;
    max-width: 180px;
    height: auto;
  }
}

@media only screen and (max-width: 412px) {
  .menu-item a>span {
    font-size: 16px;
  }
}

@media only screen and (max-width: 384px) {
  .site-branding img.custom-logo {
    width: 150px;
    height: auto;
  }
}


/*---------------------------
		  Animations
-----------------------------*/

@-webkit-keyframes bounce {

  from,
  20%,
  53%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  40%,
  43% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -15px, 0) scaleY(1.1);
    transform: translate3d(0, -15px, 0) scaleY(1.1);
  }

  70% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -10px, 0) scaleY(1.05);
    transform: translate3d(0, -10px, 0) scaleY(1.05);
  }

  80% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0) scaleY(0.95);
    transform: translate3d(0, 0, 0) scaleY(0.95);
  }

  90% {
    -webkit-transform: translate3d(0, -4px, 0) scaleY(1.02);
    transform: translate3d(0, -4px, 0) scaleY(1.02);
  }
}

@keyframes bounce {

  from,
  20%,
  53%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  40%,
  43% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -15px, 0) scaleY(1.1);
    transform: translate3d(0, -15px, 0) scaleY(1.1);
  }

  70% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    -webkit-transform: translate3d(0, -10px, 0) scaleY(1.05);
    transform: translate3d(0, -10px, 0) scaleY(1.05);
  }

  80% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 0, 0) scaleY(0.95);
    transform: translate3d(0, 0, 0) scaleY(0.95);
  }

  90% {
    -webkit-transform: translate3d(0, -4px, 0) scaleY(1.02);
    transform: translate3d(0, -4px, 0) scaleY(1.02);
  }
}

.animate__bounce {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom;
}

.animate__animated {
  -webkit-animation-duration: 1s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animate__animated.animate__infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}


a#cn-accept-cookie, .cookie-button {
  background: #ffffff;
  border: 2px solid #013190;
  box-sizing: border-box;
  box-shadow: 0px 4px 2px rgb(0 0 0 / 10%);
  border-radius: 4px;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  text-align: center;
  color: #013190;
  padding: 10px 10px;
  margin: 1em;
}

span#cn-notice-text, .cn-text-container {
  font-family: 'Roboto';
}


/* SLIDER */
