/*Global reset*/

html, body, div, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, blockquote, th, td {
    margin: 0px;
    padding: 0px;
}

table {
    border-collapse: collapse;
    border-spacing: 0
}
fieldset, img {
    border: 0
}
caption, th {
    text-align: left
}
h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}
q:before, q:after {
    content: ''
}
html, body {
    height: 100%;
}

/* general body style */
body {
    background-color: #fff;
    text-align: center;
    margin: 0px;
    padding: 0px;
    font-family: Lato, Arial, Tahoma, sans-serif;
    color: #000;
}
section, article, header, footer, nav, aside, hgroup {
    display: block;
}
div, footer, header {
    margin: 0px auto;
    padding: 0px;
}

/*Own styles*/

/*Nawigacja*/

/*biała nawigacja*/

.navbar-logo {
    height: 110px;
}
.navbar-logo,
.navbar-collapse {
    margin-left: 1%;
}
.navbar-socials-wrapper ul {
    margin-right: 5px;
}
.form-inline {
    margin-right: 5px;
}
.navbar-logo {
    background-color: #fff;
}
.navbar-brand-wrapper,
.navbar-heading-wrapper,
.navbar-socials-wrapper {
    margin: 0;
}
.navbar-heading-wrapper {
    margin-left: 1%;
}
.navbar-logo h1 {
    font-size: 1.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #8cba03;
    letter-spacing: 3px;
}
.list-style ul {
    list-style-type: none;
}
.socials-footer {
    text-align: left;
}
.socials li {
    display: inline-block;
    margin-right: 15px;
    background-color: #8cba03;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
}
.socials li:hover {
    background-color: #343a40;
}
.socials li a {
    color: #fff;
    font-size: 1.5rem;
    line-height: 50px;
}
.navbar-menu ul li a:hover,
.socials ul li a:hover {
    color: #343a40;
}

/*zielona nawigacja*/

.navbar-brand-toggler {
    display: none;
}
.navbar-heading-toggler {
    display: none;
}
.navbar-socials-toggler {
    display: none;
}
.navbar-menu {
    background-color: #8cba03;
}
.navbar-menu .container-fluid {
    padding-left: 0;
}
.navbar-menu ul li {
    font-size: 18px;
    margin-right: 20px;
    cursor: pointer;
}
.navbar-menu ul li a {
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}
.navbar-menu ul li:hover {
    cursor: pointer;
}
.navbar-menu .active a {
    color: #343a40;
}
.navbar-collapse .dropdown-item {
    color: #343a40;
}
.form-menu {
    width: 30%;
}
.input-group {
    float: right;
}
.input-group-prepend i {
    font-size: 18px;
}

/*menu zwijane*/

.navbar-toggler-icon {
    color: #fff;
}
.twitter-nav-mobile,
.facebook-nav-mobile {
    display: none;
}

/*Aktualne petycje*/

.current-petitions,
.former-petitions {
    padding: 5% 0 5% 0;
}
.current-petitions {
    background-color: #e9ecef;
}
.current-petitions h2,
.current-petitions h3,
.former-petitions h2,
.former-petitions h3,
.accent {
    color: #343a40;
}
.current-petitions h2,
.former-petitions h2 {
    text-transform: uppercase;
   /* font-size: 1.8rem;*/
    font-weight: 700;
}
.accent-heading {
    height: 5px;
    width: 50px;
    background-color: #343a40;
    margin-top: 1%;
    margin-bottom: 6%;
}
.current-petitions img,
.former-petitions img {
    width: 250px;
    height: 200px;
}
.current-petitions h3,
.former-petitions h3 {
    margin: 15px 0 10px 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.current-petitions a:hover,
.former-petitions a:hover {
    text-decoration: none;
}
.sign-petition {
    width: 120px;
    height: 35px;
    border-radius: 10px;
    margin: 2% 0 5% 0;
    background-color: #8cba03;
    text-transform: uppercase;
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
}
.sign-petition:hover {
    cursor: pointer;
    background-color: #343a40;
}

/*Zakończone petycje*/

.former-petitions {
    background-color: #fff;
}

/*stopka*/
#footer {
    height: auto;
    padding-top: 4%;
    background-color: #2D3436;
}
#footer p, #footer h2 {
    color: #fff;
}
#footer row {
    margin-left: 10%;
}
.first-col-footer,
.second-col-footer {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.first-col-footer-wrapper,
.second-col-footer-wrapper {
    width: 90%;
}
.first-col-footer h2,
.second-col-footer h2,
p {
    text-align: left;
}
.first-col-footer h2,
.second-col-footer h2 {
    width: 100%;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 8%;
    border-bottom: 1px solid #8cba03;
}
.first-col-footer p,
.second-col-footer p {
    line-height: 2;
}
.first-col-footer a {
    color: #8cba03;
}
.second-col-footer i {
    margin-right: 10px;
}
.twitter-footer a i, .facebook-footer a i, .google-footer a i {
    text-align: center;
    margin-right: 4%;
}
.container-socials {
    margin: 20px 0px;
}
.socials-footer li {
    margin-right: 5%;
}
.socials-footer li:hover {
    background-color: #fff;
}
.socials-footer li:hover a i {
    color: #8cba03;
}
#supported .img-footer {
    text-align: center;
}
#supported .img-footer img {
    height: 200px;
    width: 250px;
}
#copyrights {
    background-color: #2D3436;
    padding: 10px;
    border: none;
}
#copyrights p, #copyrights p a{
    color: #fff;
}
#copyrights p a:hover{
    color: #8cba03;
    text-decoration: none;
}
#copyrights p.graphics{
    text-align: right;
}
/*podstrona z petycjami*/

/* nagłówek - petycje*/

#petition-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    background-image: url('img/log-4168311_1920.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    left: 0;
    width: 100%;
    height: 80vh;
    z-index: 1;
}
#header-petition {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 23;
}
.petition-wrapper {
    padding: 20px 0px;
}
.header-petition-wrapper {
    background-color: rgba(0,0,0,0.8);
}
.header-petition-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.5;
    margin-top: 11%;
    margin-bottom: 5%;
    padding-bottom: 5%;
}
.accent-petition-page {
    height: 5px;
    width: 60px;
    background-color: #fff;
    margin-top: 8px;
    margin-bottom: 7%;
}
.petition-excerpt {
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 12%;
    text-align: center;
}
.due-date {
    margin-top: 40px;
}
.due-date p {
    text-align: center;
    color: yellow;
}
.date-text {
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: bold;
}
.date {
    font-size: 2.4rem;
    margin-bottom: 7%;
}
.zegar {
    display: flex;
    justify-content: center;
    color: #010c19;
}
.zegar table {
    width: 65%;
    border-collapse: separate;
    border-spacing: 5px 2px;
}
.zegar table td {
    vertical-align: middle;
    text-align: center;
    background-color: #8cba03;
    border: solid 2px transparent;
    border-width: 0 2px 1px 2px;
    margin: 0;
    width: 25%;
}
.zegar table tr:nth-child(1) td {
    height: 65px;
    font-weight: 700;
    font-size: 27px;
}
.zegar table tr:nth-child(2) td {
    background-color: #e9ecef;
    letter-spacing: 1px;
    font-size: 18px;
}

/*formularz*/
#fill-form {
    background-color: #fff;
    height: 100%;
}
#fill-form h4, #fill-form p {
    color: #333;
}
#fill-form p {
    padding: 20px;
}
progress {
    background-color: #eee;
    width:80%;
    height: 30px;
    margin: 20px 0px 5px;
}

progress[value]::-webkit-progress-bar {
    background-color: #8cba03;
  	background-color: rgba(255,180,0,1);
  	background-color: rgba(255,255,255,1);
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}

progress[value]::-webkit-progress-value {
    background-color: #8cba03;
    background-color: rgba(255,180,0,1);
}

progress[value]::-moz-progress-bar {
    background-color: #8cba03;
    background-color: rgba(255,180,0,1);
    background-color: rgba(255,255,255,1);
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}

progress[value]  {
    /* Reset the default appearance */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
background-color: rgba(255,180,0,1);
    /* Get rid of default border in Firefox. */
    border: none;

    /* Dimensions */
    width: 80%;
    height: 30px;

    /* For IE10 */
    color: #8cba03;
}
.votes h4 {
    margin-top: -36px;
    margin-bottom: 25px;
    color: #333;
}
.heading-form-wrapper {
    height: 45px;
    background-color: #8cba03;
    display: flex;
    align-items: center;
    justify-content: center;
}
#fill-form h2 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}
#fill-form form {
    padding: 0 20px 0 20px;
    margin-top: 15px;
}
.form-row .form-name,
.form-row .form-town {
    padding-right: -0;
    padding-left: 5px;
}
.form-surname,
.form-zipcode {
    padding-right: 0;
    padding-left: 2px;
}
.form-country {
    padding: 0;
}
.form-button button {
    width: 92%;
    height: 40px;
    font-weight: 700;
    letter-spacing: 1px;
}
.buttons-form {
    margin-top: 20px;
}
.button-send {
    margin-bottom: 4px;
}
.button-send:hover {
    background-color: rgba(16, 168, 10, 0.77);
}
.button-clear {
    background-color: rgba(16, 168, 10, 0.77);
}
.button-clear:hover {
    background-color: rgba(16, 168, 10, 0.77);
}
.rodo {
    width: 90%;
    font-size: .7rem;
    color: #343a40;
    text-align: justify;
    padding-left: .3rem;
    padding-right: .7rem;
}

/*tekst petycji*/
#petition-paragraph {
    margin: 5% 0 5% 0;
}
#comments {
    margin-top: 30px;
}
.petition-description {
    margin-bottom: 30px;
}
.petition-description h2,
#socials-support h2, #comments h2 {
    text-transform: uppercase;
    font-size: 1.8rem;
    font-weight: 700;
    color: #343a40;
}
.petition-description p, ul li, ol li {
   
    font-size: 1.4rem;
}

.sec0 {
background-repeat:no-repeat;
background-size:cover;
}

.support-text p {
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-align: center;
}
.support-text p:nth-child(1) {
    margin-top: 5%;
}
.support-text p:nth-child(2) {
    margin-bottom: 5%;
}
.petition-description-list {
    margin-top: 1%;
    list-style-position: inside;
}
.petition-description-list ul li {
    margin-top: 1%;
}
.support-text button {
    width: 220px;
    height: 55px;
    font-size: 1.3rem;
    margin-top: 25px;
}
.petition-authors {
    text-align: left;
}
.petition-authors p {
    text-decoration-style: wavy;
}
.authors-poland,
.authors-hungary {
    margin-bottom: 4%;
}
#socials-support {
    background-color: #e9ecef;
    padding: 60px;
}
.socials-support-wrapper .socials li {
    width: 70px;
    height: 70px;
}
.socials-support-wrapper .socials li a {
    font-size: 2rem;
    line-height: 70px;
    display: block;
}
.form-text {
    margin-top: 5%;
}
.form-text .input-group {
    margin: 1% 0 1% 0;
    width: 95%;
}
.voting_finished {
    text-align: center;
    padding: 10px;
}
.voting_finished p{
    text-align: center;
    color: #333;
}
/* Zmiana istniejących styli Eko Unii */

#petrycja_6 {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#s1, #s0 {
    background-color: #e9ecef;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 50px 70px 50px;
    position: relative;
}
#s1 > h2, #s0 > h2 {
    width: 100%;
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #333;
    background: transparent;
    border: none;
    position: relative;
    top: 0px;
    left: 0px;
    font-family: 'Lato', sans-serif;
}
#s1 > h2:before, #s0 > h2:before{
    content: "";
    position: absolute;
    width: 8%;
    height: 2px;
    bottom: 0;
    left: 46%;
    border-bottom: 2px solid #333;
}
#s1 > .card, #s0 > .card, .petycjaKomentarze > .singleComment {
    display: inline-block;
    width: 22%;
    margin: 20px 1% 0px;
    box-sizing: border-box;
    border: none;
    padding: 0px;
    background-color: transparent;

}
.petycjaKomentarze > .singleComment {
    float: left;
    margin-top: 15px;
    margin-bottom: 35px;
}
.card a {
    width: 100%;
    display: block;
}
.cardopis a {
    font-size: 20px;
    color: #333;
}
.cardopis a:hover {
    text-decoration: none;
    color: #8cba03;
}
#s0 {
    background-color: #fff;
}
#s0 > h2 {
    background-color: transparent;
}
section {
    border: none !important;
}
/* wersja responsywna*/

@media (max-width: 360px) {
    #footer h2 {
        font-size: 1.1rem;
    }

    #footer p {
        font-size: .8rem;
    }
}
@media (max-width: 767px) {
    #petition-page {
        height: 210vh;
    }
    #overlay {
        height: 200vh;
        position: absolute;
        top: 0px;
    }
    #header-petition {
        top: 0px;
    }
    .header-petition-wrapper {
        margin-bottom: 60px;
    }
    .support-text {
        margin-top: 20px;
    }
    .support-text p {
       /* font-size: 1.2rem;*/
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    #petition-page {
        height: 210vh;
    }
    #overlay {
        height: 200vh;
        position: absolute;
        top: 0px;
    }
    #header-petition {
        top: 0px;
    }
    .header-petition-wrapper {
        margin-bottom: 70px;
    }
    .sign-petition {
        margin: 2% 0 12% 0;
    }
    .first-col-footer h2,
    .second-col-footer h2 {
        margin-bottom: 4%;
    }
    .first-col-footer {
        margin-bottom: 7%;
    }
    .socials-footer {
        margin-top: 7%;
    }
}
@media (max-width: 991px) {
    .navbar-menu {
        height: 80px;
    }
    .navbar-logo {
        display: none;
    }
    .navbar-brand-toggler {
        display: inline-block;
        margin-right: 10px;
        text-align: left;
        width: 40%;
    }
    .navbar-brand-toggler img {
        width: 100%;
        height: auto;
    }
    .navbar-heading-toggler {
        display: inline-block;
        font-size: 1.4rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #fff;
        letter-spacing: 2px;
    }
    .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    .navbar-toggler span i {
        font-size: 35px;
    }
    .navbar-collapse {
        position: relative;
        top: 0px;
        left: 0;
        right: 0;
        background-color: #fff;
        margin-left: 0;
    }
    .navbar-collapse .container-fluid {
        padding-right: 0;
    }
    .navbar-menu .container-fluid .navbar-nav {
        margin-top: 0px;
        width: 100%;
    }
    #navbarSupportedContent {
        height: auto;
        z-index: 50;
    }
    .dropdown-menu {
        background-color: #8cba03;
    }
    .dropdown-item {
        text-align: center;
    }
    .navbar-menu ul {
        width: 100%;
        margin-top: 100px;
        margin-left: 0;
    }
    .navbar-menu ul li {
        text-align: center;
        margin-right: 0;
        border-bottom: 1px solid #C8C8C8;
    }
    .navbar-menu ul li a:hover {
        color: #8cba03;
        width: 100%;
    }
    .navbar-menu ul li a {
        font-size: 20px;
        color: #343a40;
    }
    .navbar-menu .active a {
        color: #000;
        font-weight: 700;
    }
    .navbar-menu .form-menu {
        position: absolute;
        top: 30px;
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0;
    }
    .input-group {
        width: 95%;
        margin: 0;
    }
    .socials-mobile {
        margin: 10% 0 5% 0;
        display: flex;
        justify-content: center;
    }
    .twitter-nav-mobile,
    .facebook-nav-mobile {
        display: inline-block;
        background-color: #8cba03;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        text-align: center;
        cursor: pointer;
    }
    .twitter-nav-mobile {
        margin-right: 2%;
        margin: 10px 0px;
    }
    .facebook-nav-mobile {
        margin-left: 2%;
        margin: 10px 0px;
    }
    .twitter-nav-mobile:hover,
    .facebook-nav-mobile:hover {
        background-color: #343a40;
    }
    .twitter-nav-mobile a,
    .facebook-nav-mobile a {
        color: #fff;
        font-size: 1.7rem;
        line-height: 50px;
    }
    .socials-mobile .nav-link,
    .navbar-collapse .container-fluid li + a,
    .navbar-collapse .container-fluid ul + a {
        display: none;
    }
    .middle-col-footer img {
        width: 170px;
        height: 90px;
        margin-bottom: 3%;
    }
    .img-footer {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .current-petitions img,
    .former-petitions img {
        width: 200px;
        height: 150px;
    }
    .socials-footer {
        margin-top: 15%;
    }
}

/* responsywność dla kafelków */

@media screen and (max-width: 767px) {
    #s1 > .card, #s0 > .card, .petycjaKomentarze > .singleComment {
        width: 70%;
        margin: 20px auto 0px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #s1 > .card, #s0 > .card, .petycjaKomentarze > .singleComment {
        width: 48%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #s1 > .card, #s0 > .card, .petycjaKomentarze > .singleComment {
        width: 31%;
    }
}

