
/* SECTION LAYOUT========================================== */

/* Padding */
.no-padding {
  padding: 0;
}

.padding-top-dwn-sm {
  padding: 40px 0;
}

.padding-top-xs {
  padding-top: 20px;
}

.padding-top-sm {
  padding-top: 40px;
}
.padding-top-md {
  padding-top: 80px;
}

.padding-sides-xs {
  padding-left: 10%;
  padding-right: 10%;
}

.padding-sides-sm {
  padding-left: 15%;
  padding-right: 15%;
}

.padding-sides-md {
  padding-left: 20%;
  padding-right: 20%;
}

.padding-top-dwn-md {
  padding: 80px 0;
}

/* Margins */
.no-margin {
  margin: 0;
}

.margin-auto {
  margin: auto;
}

.margin-btm-xs {
  margin-bottom: 20px;
}

.margin-btm-sm {
  margin-bottom: 40px;
}

.margin-btm-md {
  margin-bottom: 80px;
}

.margin-btm-lg {
  margin-bottom: 120px;
}

.margin-top-xs {
  margin-top: 20px;
}

.margin-top-sm {
  margin-top: 40px;
}
.margin-top-md {
  margin-top: 80px;
}

.margin-top-lg {
  margin-top: 120px;
}

.pad-sides-md {
  padding: 0 8%;
}

.pad-sides-lg {
  padding: 16%;
}

/* .container, 
.row,
.col-sm
.col-sm-6,
.col-sm-3,
.col-md,
.col-md-6,
.col-md-3
{
  transition: 0.3s;
} */

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
}


img {
  width: 100%;
  max-width: 100%;
}
section {
  margin: 0;
}

button {
  border: 0;
}




/* SECTION NAVIGATION  ===============================*/


.navbar-toggler {
  color: #fff;
  border: none !important;
  border-radius: 100%;
  width: 60px;
  height: 60px;
  aspect-ratio: 1.0;
  transition: 0.3s;
  background-color: #154295;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  margin-right: 20px;
  /* transform: translateX(-20px); */
}

.navbar-toggler:hover {
  transform: scale(1.05);
  background-color: #305caf;
}

.navbar-toggler:focus {
  border: none !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.offcanvas {
  background-color: #154295;
  height: 300px;
}

.nav-link {
  color: #fff;
  text-align: center;
  transition: 0.3s;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-item {
  transition: 0.4s;
}

.nav-item:hover {
  background-color: #305caf;
}

.active {
  color: #fff !important;
}

.btn-close {
  background-image: url(/images/nav_close.png);
  left: 10px;
  top: 20px
}

.navbar-toggler-icon {
  color: #fff;
  background: url(../images/toggler_icon.png) no-repeat center;
  background-size: 90%;
}

/* BACKGROUND */
/* SECTION FOOTER ===============================*/

footer {
  position: relative;
  min-height: 200px;
  color: #154295;
  background-color: #A0E3F7;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.03);
  padding: 2% 8% 5px 8%;
}

footer h3 {
  margin-bottom: 30px;
}

footer p, 
footer a {
  margin-bottom: 0;
  color: #154295;
}

footer svg {
  color:  #154295;
}

footer a {
  transform: translateY(3x);
}


#footer-logo {
  display: block;
  position: relative;
  padding: 10px;
  width: 200px;
}

.footer-logo {
  position: relative;
  /* justify-content: start; */
}

.footer-logo::before {
  content: "Organizator loterii: ";
  position: absolute;
  width: 100%;
  top: -2rem;
  left: 30px;
  text-align: left;
  font-size: 1rem;
  color: #154295;
}

.footer-logo p {
  font-size: 1.4rem;
  font-weight: 500;
}

.footer-contact-wrapper {
  display: grid;
  grid-template-rows: repeat(2, 1fr); /* 2 rows */
  grid-template-columns: repeat(2, 1fr); /* 3 columns */
  height: 6rem;
  gap: 10px;
  margin-bottom: 50px;
}


.footer-links .footer-icon:hover {
  transform: rotate(360deg);
}


.footer-icon {
  width: 30px;
  margin-right: 20px;
}

.footer-links {
  margin: 0 auto;
  max-width: 700px;
  margin-top: 20px;
  /* transform: translateY(10px); */
}

.footer-links .footer-icon {
  transition: 0.4s;
}

.footer-links .footer-icon:hover {
  transform: rotate(360deg);
}

.social-icons {
  margin-top: 20px;
  margin-left: 50px;
}

.copyright {
  margin-top: 10px;
  font-size: 0.8rem;
}

#cookie-icon {
  position: absolute;
  width: 60px;
  bottom: 20px;
  left: 20px;
  transition: 0.3s;
}

#cookie-icon:hover {
  transform: scale(1.05);
  cursor: pointer;
}



/* SECTION COOKIES================================ */


#cookie-wrapper {
  display: none;
  position: fixed;
  width: 100%;
  max-width: 600px;
  bottom: 0;
  right: 10%;
  overflow: hidden;
  background: #fff;
  z-index: 30;
  transition: 0.2s;
  padding: 10px 20px;
  transition: 0.2s;
  animation-name: fadeOut;
  animation-duration: .5s;
  z-index: 100;
}

.cookie-title h2 {
  color: #152E61;
  font-size: 1rem;
  text-shadow: none;
}

.cookie-header {
  color: #152E61;
  text-align: left;
  font-size: 1rem;
}

.cookie-header span {
  color: #154295;
}

#cookie-question p, #cookie-question a {
  margin-top: 10px;
  color: #152E61;
  font-weight: 400;
  font-size: 0.7rem;
  text-align: justify;
}

.cookie-opt-wrapper {
  visibility: hidden;
  transition: 0.3;
  height: 1px;
  transition: 0.5s;
}

.visible {
  display: block;
  visibility: visible;
  height: 100%;
}

.hidden {
  display: none;
}

.cookie-option p {
  color: #152E61;
  text-align: left;
  font-size: 0.8rem;
}

#cookie-question a {
  text-transform: uppercase;
  text-decoration: underline ;
}


.cookie-btn {
  background-color: #fff;
  border: 2px solid #5E9A39;
  border-radius: 50px;
  max-width: 100%;
  height: 50px;
  color: #5E9A39;
  font-weight: 700;
  line-height: normal;
  margin: 0 auto;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px 2px 10px;
  text-transform: uppercase;
  transition: 0.3s;
}

.cookie-btn:hover {
  box-shadow: 0 2px 10px rgba(0,220,255, 0.2);
  background-color: #FFF279;
  color: #007100;
  border: 2px solid #007100;
  border: none;
}

.accept {
  background-color: #007100;
  color: #FFF279
}

.accept:hover {
  box-shadow: 0 2px 10px rgba(0,220,255, 0.2);
  background-color: #FFF279;
  color: #007100;
  border: none;
}

/* Switches */
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #007100;
}

input:focus + .slider {
  box-shadow: 0 0 1px #007100;
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}




/* -------MEDIA QUERIES ----------------------------- */
/* --------------------------------------------------- */
/* --------------------------------------------------- */


@media (max-width: 1400px) {
}

@media (max-width: 1200px) {
}

@media (max-width: 992px) {

  footer {
    padding-top: 50px;
  }

.footer-logo {
  margin-top: 30px;
  margin-bottom: 50px;
}

.footer-logo::before {
  left: 50%;
  right: 50%;
  transform: translateX(-10%);
  top: -20px
}

  .footer-logo img{ 
    margin: 0 auto;
  }
  .footer-logo p {
    text-align: center;
  }

  .footer-contact-wrapper {
    padding-left: 10%;
  }

  .copyright {
    text-align: center;
  }

}

@media (min-width: 768px) {
  .ord-1 {
    justify-content: end;
  }

  .ord-2 {
    justify-content: start
  }
}


@media (max-width: 768px) {

.navbar-toggler {
  margin-left: 45%;
}

  #cookie-wrapper {
    right: unset;
    margin: 0 auto;
  }

  footer .col-lg-8 {
    width: 100%;
  }

  .footer-contact-wrapper {
    display: flex;
    align-self: center;
    flex-direction: column;
    max-width: 220px;
    margin: 0 auto;
    margin-bottom: 50px;
    padding: 0;
    height: auto;
  }


}


@media (max-width: 573px) {  

  #cookie-wrapper {
    right: none;
    margin: 0 auto;
  }

  .cookie-btn {
    font-size: 0.8rem;
  }

  .copyright {
    margin-top: 20px;
  }

}

@media (max-width: 458px) {
  .navbar-toggler {
    margin-left: 42%;
  }

}






