@font-face {
    font-family: 'FuturaPTBook';
    src: url('../fonts/FuturaPTBook.otf') format('opentype');
}

@font-face {
    font-family: 'FuturaPTLight';
    src: url('../fonts/FuturaPTLight.otf') format('opentype');
}

@font-face {
    font-family: 'FuturaPTMedium';
    src: url('../fonts/FuturaPTMedium.otf') format('opentype');
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'FuturaPTMedium', sans-serif;
    font-size: 25px;
    line-height: 1rem;
    color: #fff;
    text-align: left;
    background: #2d2d34 url(../img/bg_top.png) no-repeat center 55px;
}

#jak-to-dziala {
    background: #2d2d34 url(../img/bg_bottom.png) repeat-y;
    background-size: cover;
    padding-bottom: 50px;
}

.font-size{
    color: #fff;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.font-size:hover,
.font-size:focus{
    color: #B2153C;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 2.6rem;
    margin: 50px 0;
    line-height: 2rem;
    text-transform: uppercase;
    text-shadow: 1px 0px 1px #000;
}

h2 span {
    font-size: 1.3rem;
    text-transform: none;
}

h2::after {
    content: '';
    font-size: 1.3rem;
    text-transform: none;
    height: 2px;
    background: red;
}

h1,h3 {
    font-size: 2rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px #000;
}

h3 .large,
h1 .large{
    font-size: 110%;
    text-transform: none;
}

h3 .small,
h1 .small{
    font-size: 85%;
    color: #fff;
    font-family: 'FuturaPTMedium', sans-serif;
    background: #34606d;
    padding: 0 10px;
    text-shadow: 0 0 0 #000;
}

h3 .x-small,
h1 .x-small{
    font-size: 60%;
    color: #fff;
    text-transform: none;
    margin: 20px 0;
    display: block;
}

sup {
    top: -.65em;
    font-size: 50%;
}

hr,
.hr{
    display: block;
    height: 5px;
    width: 350px;
    text-align: center;
    margin: -2px auto 0;
    -webkit-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
    background: #2a2733;
    background: -webkit-linear-gradient(left, #2a2733 15%, #ab173c 30%, #ab173c 70%, #2a2733 85%);
    background: -webkit-gradient(linear, left top, right top, color-stop(15%, #2a2733), color-stop(30%, #ab173c), color-stop(70%, #ab173c), color-stop(85%, #2a2733));
    background: -o-linear-gradient(left, #2a2733 15%, #ab173c 30%, #ab173c 70%, #2a2733 85%);
    background: linear-gradient(to right, #2a2733 15%, #ab173c 30%, #ab173c 70%, #2a2733 85%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#2a27339', GradientType=1);
    border: 0;
}

a:hover {
    text-decoration: none;
}

p {
    font-size: 0.8rem;
}

span {
    font-family: 'FuturaPTLight', sans-serif;
    font-size: 0.8rem;
}

.textCenter {
    text-align: center;
}

.textRight {
    text-align: right;
}

.padding-5 {
    padding: 5px;
}

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

.btn {
    padding: 10px 20px;
    background-color: #b2153c;
    border: 2px solid #b2153c;
    color: #fff;
    cursor: pointer;
    outline: none;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.8rem;
    -webkit-transition: .2s all ease-out;
    -o-transition: .2s all ease-out;
    transition: .2s all ease-out;
    border-radius: 10px;
    width: 100%;
}

.btn:hover {
    background-color: transparent;
    color: #b2153c;
}

.uppercase {
    text-transform: uppercase;
}

.red {
    color: #b2153c;
}

.bg {
    background: #3b2b35;
    -webkit-transform: skewY(-4deg);
    -ms-transform: skewY(-4deg);
    transform: skewY(-4deg);
}

.bg .container {
    -webkit-transform: skewY(4deg);
    -ms-transform: skewY(4deg);
    transform: skewY(4deg);
    padding: 0px 0 50px;
}

.bg::before {
    display: block;
    position: relative;
    background: -webkit-linear-gradient(left, #2a2733 15%, #ab173c 30%, #ab173c 70%, #2a2733 85%);
    background: -webkit-gradient(linear, left top, right top, color-stop(15%, #2a2733), color-stop(30%, #ab173c), color-stop(70%, #ab173c), color-stop(85%, #2a2733));
    background: -o-linear-gradient(left, #2a2733 15%, #ab173c 30%, #ab173c 70%, #2a2733 85%);
    background: linear-gradient(to right, #2a2733 15%, #ab173c 30%, #ab173c 70%, #2a2733 85%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#2a27339', GradientType=1);
    height: 4px;
    width: 100%;
    content: '';
}

.bg::after {
    display: block;
    position: relative;
    background: #2c2b32;
    height: 4px;
    width: 100%;
    content: '';
}

.floatRight {
    float: right
}

/* HEADER */

header {
    position: relative;
    width: 100%;
    color: #fff;
    margin: 50px 0;
}

/* MENU */

.topnav {
    overflow: hidden;
    float: right;
    margin-top: 10px;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 5px 25px;
    text-decoration: none;
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
}

.topnav a.login {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 5px 25px;
    text-decoration: none;
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    background: #b2153c;
    border-radius: 5px;
}

.topnav a:hover {
    color: #b2153c;
    outline: none;
}

.topnav a.login:hover {
    color: #fff;
}

.topnav .icon {
    display: none;
}

.eu-mini {
    text-align: right;
    margin: 0 0 0 3%;
}

@media screen and (max-width: 600px) {
    .topnav a, .topnav a.login {
        display: none;
    }
    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
        width: 100%;
        margin-top: 30px;
    }
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

/* FORM */

#form {
    margin: 0;
    padding: 30px 0 0;
}

#form .title {
    color: #fff;
    text-align: left;
    font-size: 1.4rem;
    text-transform: uppercase;
    margin: 0 5px 15px;
    float: left;
    width: 98%;
}

#form .title span {
    text-transform: none;
    font-size: 1rem;
    text-align: right;
    float: right;
    margin-top: 4px;
}

input:not([type=checkbox]):not(#submit) {
    outline: none;
    color: #fff;
    border: 1px solid #b2153c;
    padding: 10px;
    width: 100%;
    font-size: 0.6em;
    background: transparent;
    border-radius: 10px;
    text-align: right;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="checkbox"] {
    background-color: transparent;
    cursor: pointer;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    margin: 0 6px 75px 2px;
    border: 1px solid #b2153c;
    position: relative;
    top: 2px;
    outline: none;
    border-radius: 5px;
    float: left;
}

input[type="checkbox"]:checked:after {
    content: '\2714\fe0e';
    font-size: 18px;
    position: absolute;
    top: -3px;
    left: 1px;
    color: #fff;
}

input:focus,
input:active{
    border: 3px solid #b2153c !important;
}

label {
    margin-top: 0;
    font-size: 0.5rem;
    color: #fff;
    font-weight: normal;
    line-height: normal;
}

.accept {
    margin: 10px 0 0;
    font-family: 'FuturaPTLight', sans-serif;
}

.accept a {
    color: #fff;
}

.success {
    display: none;
}
.error-msg{
    display: none;
}
.loadersmall {
    margin: auto;
    border: 5px solid transparent;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    border-top: 5px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.modal {
    display: none;
    height: 300px;
    position: fixed;
    margin: 0 auto;
    top: 10%;
    z-index: 10;
    width: 500px;
}

.modal-content {
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border: 1px solid white;
    width: 100%;
    -webkit-transition: height .5s;
    -o-transition: height .5s;
    transition: height .5s;
}

.modal-content p, .modal-content h2 {
    text-align: center;
    color: #fff;
}

.modal-content p {
    margin-top: 10px;
}

.close, .closeFooter {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    -webkit-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    opacity: 1;
}

.close:hover, .close:focus, .closeFooter:hover, .closeFooter:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.error {
    background: #b2153c;
    font-size: 0.7rem;
    margin: 10px 0;
    display: block;
    text-align: center;
    border-radius: 5px;
}

/* CONTENT */

.boxLeft {
    margin-top: 50px;
}

.grid-container-4 {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 30px 1fr 30px 1fr 30px 1fr;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 30px;
    width: 100%;
}

.icon {
    margin-bottom: 10px;
    min-height: 55px;
}

.box {
    padding: 30px;
    text-shadow: 1px 1px 1px #000;
}

.box-clear {
    padding: 30px;
    text-shadow: 1px 1px 1px #000;
}

.number {
    color: #b2153c;
    font-size: 2rem;
    font-family: 'FuturaPTMedium', sans-serif;
    text-shadow: none;
}

i {
    font-family: FontAwesome;
    font-weight: bold;
    font-size: 1.5rem;
}

.down {
    width: 40px;
    height: 40px;
    margin: 40px auto;
    display: block;
    padding: 10px 7px;
    background: #34606d;
    border-radius: 50%;
    color: #2d2d34;
}

.down::after {
    content: '\f107';
    font-family: FontAwesome;
    font-weight: bold;
    font-size: 1.5rem;
}

/* FOOTER */

footer {
    margin: 0 auto 0;
    color: #fff;
    font-family: 'FuturaPTBook', sans-serif;
    font-size: 0.6rem;
}

footer .bgFooter {
    background: #b2153c;
    padding: 50px 0;
}

footer .bgFooter .adress {
    text-align: center;
}

footer .copyright {
    font-family: Arial, sans-serif;
    padding: 20px;
    font-size: 0.5rem;
    background: #2d2d34;
}

footer .ue {
    text-align: center;
    margin: 60px auto 0;
}

@media (min-width:1280px) {
    .container {
        width: 1280px;
    }
}

@media (max-width:1280px) {
    .eu-mini {
        text-align: right;
        margin: 0;
    }
}

@media (max-width:990px) {
    html, body {
        background: #2d2d34;
    }
    .logo {
        margin: 0 auto;
        text-align: center;
    }
    .eu-mini {
        text-align: center;
        margin: 20px auto 10px;
        display: block;
    }
    .textRight {
        float: left;
        text-align: center;
    }
    #form {
        margin-top: 30px;
        padding: 0;
    }
    .box {
        padding: 10px 30px;
        text-align: center;
    }
    .box-clear {
        display: none;
    }
    #form input[type="checkbox"] {
        margin: 0 6px 5px 2px;
    }
    .grid-container-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    footer {
        text-align: center;
    }
    footer .bgFooter .adress {
        margin: 30px 0;
    }
}

@media (max-width:768px) {
    header {
        margin: 20px auto;
    }
    .boxLeft {
        margin-top: 0;
    }
    h1,h3 {
        font-size: 1.4rem;
    }
}

@media (max-width:420px) {
    h1,h3 {
        font-size: 1.2rem;
    }
    #form .title span {
        text-align: left;
        float: left;
    }
    .grid-container-4 {
        grid-template-columns: repeat(1, 1fr);
    }
}