/* Global styles */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .alignleft {
    float: left;
  }
  .alignright {
    float: right;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 300;
  }
  h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
  }
  
  a {
    transition-duration: 200ms;
  }
  
  img.alignleft {
      margin: 0 30px 20px 0;
  }
  
  img.alignright {
      margin: 0 0 20px 30px;
  }
  
  .has-margin-bottom-1 {
      margin-bottom: 1em;
  }
  
  /* Widgets */
  .widget {
      margin-bottom: 1rem;
  }
  
  .widgettitle {
      text-transform: uppercase;
  }
  
  /* Main navigation */
  #top-hero {
   
  }

  .wp-caption {
    max-width: 100%;
  }
  
  #top-hero .hero-body {
      padding-top: 4rem;
      padding-bottom: 4rem;
      background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0,0,0,0.5)), url(http://wioslo.pl/wp-content/uploads/2019/08/IMGP4591.jpg);
      background-size: cover;
      background-position: bottom center;
  }
  
  
  @media screen and (min-width: 1500px) {
    #top-hero .hero-body {
        padding-top: 12rem;
        padding-bottom: 6rem;
  
    }
  
  }
  
  #primary-menu .navbar-link,
  #primary-menu .navbar-item {
    color: #fff;
  }
  
  #primary-menu .navbar-link:not(.is-arrowless)::after {
    border-color: #fff;
  }
  
  @media screen and (max-width: 1023px) {
      #primary-menu  {
          background-color: transparent;
  
      }
  
      .hero .navbar {
          background-color: #209cee;
  
      }
  
      #social-links .navbar-item {
          width: 60px;
          display: inline-block;
          text-align: center;
      }
    }
  
  @media screen and (min-width: 1024px) {
  
          #primary-menu .navbar-dropdown,
          #primary-menu .navbar-dropdown a.navbar-item,
          #primary-menu .navbar-dropdown .navbar-item  {
              background-color: #209cee;
              border-top: 2px solid #209cee;
          }
  
          #top-hero .hero-footer {
              margin-top: -80px;
          }
  
          #top-hero .hero-body > .container {
              padding-bottom: 60px;
          }
  
    }
  
  
  #primary-menu .navbar-link.is-active,
  #primary-menu .navbar-link:focus,
  #primary-menu .navbar-link:focus-within,
  #primary-menu .navbar-link:hover,
  #primary-menu a.navbar-item.is-active,
  #primary-menu a.navbar-item:focus,
  #primary-menu a.navbar-item:focus-within,
  #primary-menu a.navbar-item:hover {
    background-color: #118fe4;
  
  }
  
  #social-links .fa-lg {
      line-height: 24px;
      width: 30px;
      text-align: center;
  }
  #social-links a.youtube:hover {
      background-color: red;
  }
  
  #social-links a.rss:hover {
        background-color: orange;
  }
  
  /* Articles */
  .post {
    margin-bottom: 2rem;
  }
  
  .post .post-header h2 {
    margin-top: 0;
  }
  .post h2 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.2em;
  }
  
  
  .post .post-date {
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    color: #464646;
    margin-bottom: 0.5rem;
  }
  
  .post .post-title a {
    color: black;
    border-bottom: 1px solid transparent;
  }
  .post .post-title a:hover {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }
  
  
  /* Classes to make videos responsive */
  /* .entry .wp-block-embed-youtube {
      position: relative;
      padding-bottom: 56.25%;
      padding-top: 30px;
      height: 0;
      overflow: hidden;
  } */
  
  .entry .wp-block-embed-youtube .wp-block-embed__wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    height: 100%;
}

.entry .wp-block-embed-youtube iframe,
.entry  .wp-block-embed-youtube object,
.entry .wp-block-embed-youtube embed {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }
  
  /* Custom buttons */
  
  .is-blue.is-outlined {
      background-color: transparent;
      color: #ffffff;
      border-color: white ;
  }
  
  .is-blue.is-outlined:hover {
      background-color: #209cee;
      border-color: #209cee;
      color: white;
  }
  
  /* Tags */
  
  .tags a:hover {
    text-decoration: none;
    background: #209cee;
    color: white;
  }
  
  /* Newsletter */
  #newsletter {
      background: #f1f1f1;
  }
  
  #newsletter #check1 {
      vertical-align: top;
  }
  
  #newsletter .data-checkbox {
      width:90%; 
      padding-left:1rem; 
      font-size:0.8rem;
  }
  
  /* Footer */
  .footer {
    color: rgba(255, 255, 255, 0.8);
  }
  .footer .title {
    color: white;
  }
  
  .footer a {
    color: white;
  }
  
  .footer a:hover {
    color: #7b7b7b;
  }
  
  .footer .widget ul  {
      list-style: none;
      margin-left: 0;
  }
  
  
  /* Back to top */
  
  .back-top {
      position: fixed;
      right: 0;
      bottom: 0;
      margin: 13px;
      padding: 10px 0px;
      border-radius: 40px;
      width: 44px;
      text-align: center;
      background-color: rgba(0, 0, 0, 0.4);
      cursor: pointer;
      display: none;
      transition: all 0.6s;
      z-index: 22222;
    }
    .back-top i {
      font-size: 18px;
      color: #e3e3e3;
    }
    .back-top:hover {
      background-color: #209cee;
    }
    .back-top:hover i {
      color: #fff;
    }
  
    /* Media queries */
    @media screen and (max-width: 1023px) {
        .navbar.is-spaced {
            padding: 1rem;
        }

        /* A workaround for woocommerce appearing twice on mobile */
        #primary-menu > div.navbar-start > div.navbar-item.shopping-bag.has-dropdown.is-hoverable > div.navbar-dropdown.is-radiusless.is-shadowless {
          display: none
      }
    }

    @media screen and (max-width: 600px) {
      figure.wp-block-embed-youtube {
        margin-left: 5px;
        margin-right: 5px;
    }
  }