body {
    font-family: 'Open Sans', 'Quicksand', sans-serif;
}

a {
    transition: all 0.4s;
}

a:hover {
    opacity: 0.85;
}

.header {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dcebf7;
    font-size: 0;
}

.header__logo {
    font-family: 'Quicksand', sans-serif;
    font-size: 30px;
    color: #3f4551;
    text-decoration: none;
    vertical-align: middle;
}

.header__logo h1 {
    display: inline-block;
    margin: 0;
    padding-left: 4px;
    font-weight: normal;
}

.header__logo img {
    vertical-align: middle;
}

.header__registrace {
    display: inline-block;
    background: #7fb93c;
    padding: 11px 24px;
    border-radius: 29px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.header__registrace:before {
    content: '';
    display: inline-block;
    width: 21px;
    height: 21px;
    background: url(../img/ico_reg_btn.png) center no-repeat;
    position: relative;
    top: -2px;
    margin-right: 7px;
    vertical-align: middle;
}

.header .col {
    display: inline-block;
    width: 50%;
    vertical-align: middle;
}

.header .col:last-child {
    text-align: right;
}

.penize-zpet {
    background: #f2f9ff;
    background: -webkit-linear-gradient(#f2f9ff, #fff);
    background: -o-linear-gradient(#f2f9ff, #fff);
    background: -moz-linear-gradient(#f2f9ff, #fff);
    background: linear-gradient(#f2f9ff, #fff);
    padding-top: 65px;
    padding-bottom: 65px;
}

.penize-zpet__heading {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 65px;
    text-align: center;
}

.penize-zpet__heading h2 {
    margin: 0 0 33px;
    color: #3f4551;
    font-size: 60px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3.6px;
}

.penize-zpet__heading p {
    color: #3f4551;
    font-size: 18px;
    line-height: 26px;
}

.penize-zpet__boxes {
    text-align: center;
}

.penize-zpet__box {
    display: inline-block;
    width: auto;
    position: relative;
    vertical-align: top;
    text-align: center;
}

.penize-zpet__box:nth-child(1) img {
    padding-top: 6px;
}

.penize-zpet__box:nth-child(2) {
    padding-left: 106px;
    padding-right: 73px;
}

.penize-zpet__box:nth-child(2):before {
    content: '';
    display: block;
    width: 98px;
    height: 26px;
    background: url(../img/penize-zpet_arrow1.png) no-repeat;
    position: absolute;
    top: 93px;
    left: 37px;
}

.penize-zpet__box:nth-child(2):after {
    content: '';
    display: block;
    width: 98px;
    height: 26px;
    background: url(../img/penize-zpet_arrow2.png) no-repeat;
    position: absolute;
    top: 93px;
    right: -24px;
}

.penize-zpet__box p {
    margin-top: 42px;
    margin-bottom: 30px;
    color: #3f4551;
    font-size: 24px;
    line-height: 30px;
    font-weight: 300;
}

.penize-zpet__box a {
    color: #3f4551;
    text-decoration: none;
}

.penize-zpet__box p b{
    font-weight: bold;
}

.numbers {
    background: #00b9ff;
    padding-top: 70px;
    padding-bottom: 70px;
    color: #fff;
}

.numbers__heading {
    text-align: center;
}

.numbers__heading h2 {
    margin-bottom: 32px;
    font-size: 30px;
    line-height: 36px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}


.numbers__heading p {
    font-size: 24px;
    font-weight: 300;
}

.numbers__boxes {
    margin-top: 60px;
    text-align: center;
}

.numbers__box {
    display: inline-block;
    width: 33%;
    position: relative;
    vertical-align: top;
    text-align: center;
}

.numbers__box h2 {
    font-size: 48px;
    font-weight: bold;
    line-height: 68px;
}

.numbers__box h2 a {
    color: #fff;
    text-decoration: none;
    text-shadow: 1px 2px 0 #00b9ff, 3px 3px 0 rgba(0,0,0,0.15);
}

.numbers__box p {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 15px;
}

.numbers__box p:before {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #008bc0;
    margin: 18px auto 15px;
}

.registrace {
    padding-top: 93px;
    padding-bottom: 99px;
    text-align: center;
    color: #3f4551;
}

.registrace h2 {
    font-size: 30px;
    text-transform: uppercase;
}

.registrace p {
    margin-top: 30px;
    margin-bottom: 60px;
    font-size: 24px;
    font-weight: 300;
    line-height: 30px;
}

.registrace form {
    font-size: 0;
}

.registrace form * {
    font-size: 20px;
}

.registrace form input {
    width: 276px;
    background: white url(../img/registrace_email.png) 20px 24px no-repeat;
    padding: 20px 20px 20px 50px;
    color: #757575;
    font-size: 20px;
    border: 1px solid #bdbdbd;
    border-radius: 3px 0 0 3px;
    box-shadow: inset 0 7px 9px -7px rgba(0,0,0,0.25);
}



.registrace .button {
    background: #80bb3d;
    padding: 20px 26px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #80bb3d;
    border-radius: 3px;
    margin-top: 40px;
    /*border-radius: 0 3px 3px 0;*/
    cursor: pointer;
    transition: all 0.4s;
}

.registrace .button:after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 12px;
    background: url(../img/registrace_arrow.png) no-repeat;
    position: relative;
    margin-left: 5px;
    transition: all 0.4s;
}

.registrace .button:hover {
    opacity: 0.85;
}


footer {
    padding-top: 36px;
    padding-bottom: 36px;
    border-top: 1px solid #dcebf7;
    color: #3f4551;
    font-size: 18px;
    text-align: center;
}

footer .container {
    position: relative;
}

footer .container:before {
    content: '';
    display: block;
    width: 319px;
    height: 465px;
    background: url(../img/body_img.png) no-repeat;
    position: absolute;
    right: 0;
    bottom: -36px;
}

footer a {
    color: #f47f2b;
}

footer a:hover {
    text-decoration: none;
}



.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 575px) {
    .registrace form input {
        width: 100%;
        max-width: 370px;
        background: white url(../img/registrace_email.png) 13px 24px no-repeat;
        padding: 20px 10px 20px 41px;
        border-radius: 3px;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    .registrace form button {
        border-radius: 3px;
    }

    .header__registrace {
        padding: 11px 9px;
        font-size: 13px;
        letter-spacing: 0;
    }

    .header__logo h1 {
        padding-left: 0;
        font-size: 24px;
    }
}

@media (min-width: 576px){
    .container {
        max-width: 540px;
    }
}

@media (max-width: 767px) {
    .penize-zpet__box:nth-child(2) {
        padding: 65px 0;
    }

    .penize-zpet__box:nth-child(2):before {
        width: 69px;
        height: 20px;
        background: url(../img/penize-zpet_arrow1.png) center / contain no-repeat;
        top: 11px;
        left: 129px;
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .penize-zpet__box:nth-child(2):after {
        width: 69px;
        height: 20px;
        background: url(../img/penize-zpet_arrow2.png) center / contain no-repeat;
        top: inherit;
        bottom: 35px;
        right: 129px;
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .numbers__box {
        padding-bottom: 30px;
    }

    .header .col,
    .numbers__box {
        width: 100%;
        display: block;
    }

    .header .col,
    .header .col:last-child {
        text-align: center;
    }

    .header .col:last-child {
        padding-top: 20px;
    }

    .registrace form button {
        padding: 20px 14px;
    }

}

@media (min-width: 768px){
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media(min-width: 768px) and (max-width: 1199px) {
    .penize-zpet__box:nth-child(2) {
        padding-right: 0;
    }

    .penize-zpet__box:nth-child(3) {
        margin-top: 40px;
    }

    .penize-zpet__box:nth-child(2):after {
        background: url(../img/penize-zpet_arrow1.png) no-repeat;
        top: inherit;
        right: 137px;
        bottom: -62px;
        -webkit-transform: rotate(124deg);
        -moz-transform: rotate(124deg);
        -ms-transform: rotate(124deg);
        -o-transform: rotate(124deg);
        transform: rotate(124deg);
    }

    .numbers__box {
        width: 49.5%;
        padding-bottom: 30px;
    }
}

@media (max-width: 1199px) {
    footer .container:before {
        display: none;
    }
}


@media (min-width: 1200px) {
    .container {
        max-width: 1180px;
    }
}

@media (min-width: 1285px) {
    footer .container:before {
        right: -29px;
    }
}




