@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;600;800&display=swap');


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Barlow Semi Condensed', sans-serif;
	transition: all 0.3s ease-in-out;
	letter-spacing: 1px;

}

body {
	background-color: #262668;
	color: #fff;
	padding: 0px 15px;
	box-sizing: border-box;


}

body p
{
    font-size: 18px;
}

body b
{font-weight: 600;}

#wrapper
{max-width: 900px;
 width: 100%;
 margin: 0 auto;

}

header {
	display: flex;
	justify-content: left;
	align-items: center;
	height: 55px;
	line-height: 55px;
	padding-top: 20px;
	margin-bottom: 70px;
	position: relative;
	box-sizing: border-box;
}

header a
{
    display: inline-block;
    height: 100%;
    width: 100%;
}

header a, header img
{
    max-height: 100%;
		max-width: 50%;
}

header a::before
{
  content: "";
  display: inline-block;
  height: 100%;
  background: url(https://milionchvilek.cz/assets/icons/open_list.svg) no-repeat center center;
  background-size: 13px;
  height: 35px;
  width: 15px;
  padding-right: 10px;
  position: absolute;
  transform: rotate(90deg);
  position: relative;
  border-radius: 5px;
  opacity: 0;
  width: 0px;
  transition: all ease 0.5s;

}

header a:hover:before
{opacity: 1;
 height: 35px;
  width: 15px;

}

main {
	margin: 0 auto;
	text-align: center;
}

.main-title {
	font-size: 4.5rem;
	font-weight: 800;
	line-height: 1.1em;

	text-align: center;
	max-width: 500px;
	margin: 0 auto;
	padding-bottom: 25px;
}

.light-text {
	color: #fff;
	text-align: center;
	max-width: 500px;
	margin: 0 auto;
	line-height: 1.5em;
	margin-bottom: 20px;
	font-size: 1.3rem;


}

main h2
{
    text-align: center;
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
}



main .normal-text
{
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    line-height: 1.5em;
    padding: 5px 0px;

}

main ul
{
    text-align: left;
    max-width: 500px;
    line-height: 1.5em;
    margin: 0 auto;
}

main ul li
{
    margin-bottom: 8px;
}


p {


}

.checkbox-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	/*grid-template-rows: repeat(3, 1fr);*/
	grid-gap: 20px;
	margin-bottom: 20px;
	margin-top: 50px;
}

.checkbox-item label
{
    display: block;
    width: 100%;
    height: 100%;
}

.checkbox-item {
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid #fff;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}

.checkbox-item p {

    position: absolute;
    width: 100%;
    bottom: 0px;
    text-align: center;
    padding: 0px 15px;
    box-sizing: border-box;
    padding-bottom: 15px;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.5);
    z-index: 10;


}

.checkbox-item p span
{
    display:none;
}

.checkbox-item:hover p span
{
    display:inline;
}


.checkbox-item .gradient {

    position: absolute;
    height: 50%;
    width: 100%;
    bottom: -10%;
    background-image: linear-gradient(to top, #262668, transparent);

}

.checkbox-item:hover .gradient {

    position: absolute;
    height: 100%;
    width: 100%;
    bottom: 0px;


}


.checkbox-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.checkbox-item:hover img {


}

.checkbox-square {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.checkbox-square input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.checkmark {
	position: absolute;
	top: 10px;
	right: 10px;
	display: block;
	width: 35px;
	height: 35px;
	background: rgba(255, 255,255,0.5);
	border-radius: 5px;
	border: 3px solid #fa1a5b;

}

.checkbox-square input:checked ~ .checkmark {
	display: block;
	background: white url('/assets/checkmark.png') no-repeat;
	background-position: center center;
	background-size: 90%;
	border-color: #00c900;

}

.submit-button {
	display: block;
	margin: 80px auto 10px auto;
	padding: 22px 100px;
	background-color: #fa1a5b;
	border: none;
	border-radius: 40px;
	font-size: 1.4rem;
	font-weight: bold;
	color: #fff;
	cursor: pointer;
}

.submit-button {


}

.continue-link, footer p {
	display: block;
	text-align: center;
	margin-bottom: 50px;
	color: #fff;
	font-size: 1rem;
	text-decoration: none;

	opacity: 0.8;
}

.continue-link:hover {

	text-decoration: underline;
}


footer {
	margin-top: 150px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
	background-color: #262668;
	font-size: 14px;
}

a:link, a:visited
{color: rgba(255, 255,255,0.8);

}


.carousel {
    background: #ffffff url(https://media.istockphoto.com/id/1199971584/vector/paper-texture-background.jpg?b=1&s=170667a&w=0&k=20&c=GneTAPDy9tn2T5anM031Bz_yGTmTVehhd9jKJnQTx24=);
    background-position: center center;
    background-size: cover;
    color: #262668;
    padding: 50px 30px;
    margin-top: 50px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-sizing:border-box;

}

.carousel-slide {
    text-align: center;
    box-sizing:border-box;
    padding: 0px 20px;

}

.carousel-slide h2
{
    margin-bottom: 10px;
    font-size: 1.5em;
}

.carousel-slide p
{
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.carousel-slide p a:link, .carousel-slide p a:visited
{
    color: #262668!important;
    text-decoration: none;
}

.carousel-slide p a:hover, .carousel-slide p a:focus
{

    text-decoration: underline;
}

.carousel-slide input
{padding: 8px 15px;
    font-size: 1.3rem;
    color: #77789E;
    border-radius: 25px;
    margin: 10px 10px;
    border-color: #262668;
}

.btn.mail-link.submit-button {
    display: inline-block;
    margin-top: 50px;
    border: 3px solid #262668;
    color: #262668;
    padding: 15px 50px;
    background: none;
    text-decoration: none;
    font-weight: 600;
}

.slick-slide
{
    height: auto;
}

.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    z-index: 1;
    border: none;
    background-color: transparent;
    font-size: 50px;
    color: #262668;
    transform: translateY(-50%);
}

.slick-prev {
    left: 20px;
}

.slick-next {
    right: 20px;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
    color: #fa1a5b;
}

/* Barva teček (dots) */
.slick-dots li button {
  background-color: #ffffff; /* Změňte na barvu, kterou chcete použít */

}



.slick-dots li button:before {
  font-size: 8px; /* Změňte na velikost fontu, kterou chcete použít */
  color: white!important;
  opacity: 0.5;
}



.slick-dots li.slick-active button:before {
  font-size: 12px; /* Změňte na velikost fontu, kterou chcete použít */
  color: white!important;

}

#subscribeSection, .politicians-list
{

    margin-top: 80px;
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 140px;

}

#subscribeSection h2, .politicians-list h2
{
    font-size: 1.9rem;
    margin-bottom: 3px;

}

#subscribeSection p, .politicians-list p
{

    margin: 0 auto;
}

#subscribeSection
{
    margin-top: 200px;
}

.submit-button[disabled]
{
    background: grey;
    color: rgba(255,255,255,0.5);
}

.politicians-list input[type=text] {
    padding: 0px 15px;
    font-size: 1.3rem;
    color: #77789E;
    border-radius: 25px;

    height: 40px;
    border-color: #262668;
    display: inline;
    box-sizing: border-box;
    min-height: 40px;
    margin: 0px 20px 0px 10px;
    float: right;
    background: white url(https://milionchvilek.cz/files/copy-icon.png) right 10px center no-repeat;
    background-size: 17px;
    padding-right: 40px;

}

.politician .politician-image {
  box-sizing: border-box;
  height: 40px;
  width: auto;
  border-radius: 40px;
  display: inline;
  vertical-align: bottom;
  margin-right: 10px;


}

.politician
{

    box-sizing: border-box;

    min-height: 40px;
    min-width: 400px;
    clear: both;


}

p.politician-data
{
    font-size: 15px;
    line-height: 40px;

    text-align: left;
    padding: 10px 15px;
    box-sizing: border-box;
}



.politician:nth-child(odd)
{
    background: rgba(255, 255,255,0.1);
}

.politician:nth-child(even)
{
    background: rgba(0, 0,0,0.1);
}


.custom-checkbox {
    position: relative;
    display: inline-block;
    height: 40px;
    width: 40px;
    float: right;


}


.custom-checkbox input[type="checkbox"] {
    display: none;
}

.custom-checkbox .checkmark {
    position: absolute;
    top: 0px;
    display: block;
    width: 40px;
    height: 40px;
    background: none;
    border-radius: 5px;
    border: 3px solid #fa1a5b;
    box-sizing: border-box;

}

.custom-checkbox input:checked ~ .checkmark {
    display: block;
    background: url('/assets/checkmark.png') no-repeat;
    background-position: center center;
    background-size: 90%;
    border-color: #00c900;

}




@media (min-width: 576px) {
    .form-field {
        flex: 0 0 50%;
        max-width: 50%;
        width: 100%;
    }



}


.responsive-form-container input[type="text"],
.responsive-form-container input[type="tel"],
.responsive-form-container input[type="email"] {
    min-width: 50%;
    padding: 5px 15px;
    margin-bottom: 15px;
    box-sizing: border-box;


    font-size: 1.3rem;
    color: #262668;
    border-radius: 25px;

    height: 50px;
    border-color: #262668;


    float: right;
    background: white ;

}


.responsive-form-container {
    max-width: 600px;
    margin: 80px auto;


}

.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 15px;
}

.form-field {
    flex: 0 0 48%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-field label {
    margin-bottom: 5px;
}

.form-field input {
    width: 100%;
}

.form-field button[type="submit"]
{
    padding-left: 20px;
    padding-right: 20px;
    min-width: 80%;
    margin-top: 50px;

}

.form-field button[type="submit"].disabled {
    background-color: #a9a9a9;
    cursor: not-allowed;
}

/* Styly pro vlastní checkbox */
.terms-checkbox {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    font-size: 14px;

}


.custom-checkbox {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.custom-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;

}


@media (max-width: 600px) {
  .form-field {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .checkbox-item .gradient {

    position: absolute;
    height: 100%;
    width: 100%;
    bottom: 0px;
  }

  .checkbox-item p
  {
      font-size: 16px;
      font-weight: 600;
      line-height: 1em;

  }

  .checkbox-item p span
  {
      font-size: 13px;
      font-weight: 300;

  }

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

  .main-title {
    font-size: 3.1rem;
  }

  .light-text {
    font-size: 1.2rem;
  }

  header {
    flex-direction: column;
    height: auto;
    padding-top: 20px;
    margin-bottom: 30px;
  }

  .submit-button {
    padding: 15px 50px;
    font-size: 1.2rem;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"] {
    min-width: 100%;
    margin-bottom: 15px;
  }


}

@media (max-width: 800px) {
	header a, header img
{
    min-width: 100%;
}

header img {
max-height: 40px;
margin-bottom: 50px;
}

header a::before
    {display: none;}

    header a:hover:before
    {display: none;}

.form-field button[type="submit"]
  {
      margin-top: 50px;
  }

.checkbox-item p span {
display: inline;
}

.politician {
    min-width: 100%;
  }

  .politicians-list input[type=text] {
    min-width: 100%;
    margin: 25px 0px 0px 0px;
    width: 100%;
    float: none;
    height: 50px;
  }

  .politician-dash
  {
      display:none;
  }

  p.politician-data
  {
      line-height: 1.2em;
      position: relative;
      font-size: 18px;
      padding: 20px 15px;
  }

  p.politician-data b
  {display: block;
   margin-top: 0px;


  }

  p.politician-data .politician-name
  {
      display: block;


  }

  .politician .politician-image
  {
      height: 50px;
      /*width: 50px;*/
      margin-bottom: 10px;

  }

  p.politician-data .custom-checkbox
  {
      position: absolute;
      top: 20px;
      right: 15px;
      float: none;
  }

h1, h2 {
font-size: calc(1.5rem + 1vw);
word-wrap: break-word;
}

ul {
padding-left: 1.25rem;
padding-right: 1.25rem;
}

.checkbox-grid {
grid-template-columns: 1fr 1fr;
grid-gap: 20px;
}

.form-field {
flex: 0 0 100%;
max-width: 100%;
}
}

@media (max-width: 350px) {
header img {
max-height: 50px;
margin-bottom: 50px;
}


.checkbox-item p span {
display: inline;
}

h1, h2 {
font-size: calc(1.2rem + 1vw);
word-wrap: break-word;
}

ul {
padding-left: 1rem;
padding-right: 1rem;
}

.checkbox-grid {
grid-template-columns: 1fr;
grid-gap: 15px;
}

.form-field {
flex: 0 0 100%;
max-width: 100%;
}
}




#debug-execution {
            font: normal normal 13px/1.55 Tahoma, sans-serif;
            color: #333;
            border: 1px solid #c9c9c9;
            background: #EDEAE0 url('data:image/png;base64,R0lGODlhAQAUALMAAOzq4e/t5e7s4/Dt5vDu5e3r4vDu5uvp4O/t5AAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAABABQAAAQM0EgySEAYi1LA+UcEADs=') top;
            position: fixed;
            right: 0;
            bottom: 0;
            min-width: 50px;
            white-space: nowrap;
            z-index: 30000;
            opacity: .9;
            transition: opacity 0.2s;
            border-radius: 3px;
            box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
            padding: 2px 5px;
        }
