header {
    margin-top: 20px;
    margin-bottom: 40px;
    width: 100%;
    height: 352px;
    position: relative;
    perspective: 1170px;
}

header .card-holder {
    display: block;
    float: left;
    width: 19.8%;
    margin-left: 0.1%;
    margin-right: 0.1%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s;
}

header .card {
    display: block;
    float: left;
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s;
}

header .mobile {
    display: none;
    float: left;
    width: 100%;
    padding: 8px 0 8px 0;
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    color: #111;
    background-color: whitesmoke;
    opacity: 0.4;
}

header .mobile:hover {
    color: white;
    opacity: 1;
    text-decoration: none;
    background-color: transparent;
}

header .mobile:last-child {
    padding: 8px 0 8px 0;
}

header .card span {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    color: white;
    line-height: 60px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #f8f8f8;
}

header .card .front-view {
    background: transparent;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: auto 100%;
    background-image: url("/img/main_menu/expo.jpg");
}

header .card .back-view {
    background: transparent;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: 100%;
    transform: rotateY(180deg);
}

header .card-holder:hover .card {
    transform: rotateY(180deg);
}

header .card-holder:nth-child(1) .back-view {
    background-image: url(/img/main_menu/back_1.jpg)
}

header .card-holder:nth-child(2) .back-view {
    background-image: url(/img/main_menu/back_2.jpg)
}

header .card-holder:nth-child(3) .back-view {
    background-image: url(/img/main_menu/back_3.jpg)
}

header .card-holder:nth-child(4) .back-view {
    background-image: url(/img/main_menu/back_4.jpg)
}

header .card-holder:nth-child(5) .back-view {
    background-image: url(/img/main_menu/back_5.jpg)
}

header .card-holder:nth-child(1) .front-view {
    background-position: left top
}

header .card-holder:nth-child(2) .front-view {
    background-position: 24% top
}

header .card-holder:nth-child(3) .front-view {
    background-position: 48% top
}

header .card-holder:nth-child(4) .front-view {
    background-position: 72% top
}

header .card-holder:nth-child(5) .front-view {
    background-position: 96% top
}

.partner:nth-child(4n + 1) {
    clear: left
}

.partner h4 {
    margin-bottom: 4px
}

.partner p {
    margin-bottom: 10px;
    line-height: 1.6em
}

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

    .partner:nth-child(4n + 1) {
        clear: none
    }

    .partner:nth-child(3n + 1) {
        clear: left
    }
}

@media (max-width: 992px) {
    header {
        height: 222px
    }

    .partner:nth-child(4n + 1) {
        clear: none
    }

    .partner:nth-child(3n + 1) {
        clear: none
    }

    .partner:nth-child(2n + 1) {
        clear: left
    }
}

@media (max-width: 768px) {
    header {
        height: 235px;
        background-image: url("/img/main_menu/expo.jpg");
        background-size: cover;
    }

    header .card-holder {
        display: none
    }

    header a.mobile {
        display: block
    }
}

.gallery {
    margin: 0;
    padding: 0
}

.gallery li {
    display: block;
    float: left;
    margin-top: 30px
}

.gallery li a,
.gallery li a img {
    width: 100%;
    height: auto;
}


footer {
    display: block;
    float: left;
    width: 100%;
    text-align: center;
    box-shadow: rgb(240, 240, 240) 0 0 5px 2px;
    border-top: 1px solid rgb(229, 228, 222);
    padding: 10px 0;
    margin-top: 765px
}

footer p.footer-p {
    margin: 0;
    padding: 0
}

footer .ginop img {
    display: block;
    float: right;
    max-height: 300px;
    margin: -320px 0 0 0;
    position: fixed;
    right: 0;
    bottom: 640px;
    max-width: 50%;
}
footer .ginop > span {
    background: #fff;
    display: block;
    float: right;
    max-height: 500px;
    margin: -520px 0 0 0;
    position: fixed;
    right: 0;
    bottom: 130px;
    max-width: 50%;
    text-align: left;
}

footer .ginop2 img {
    display: block;
    float: left;
    max-height: 264px;
    margin: -320px 0 0 0;
    position: fixed;
    left: 0;
    bottom: 46px;
    max-width: 50%;
}

/*.container.szechenyi {*/
/*    margin: 20px auto 20px auto;*/
/*}*/

.container.szechenyi span {
    display: block;
    float: left;
    width: calc(100% - 235px);
    padding: 2px 0 0 0;
    line-height: 14px;
    font-size: 14px;
}

.szechenyi-logo {
    display: block;
    float: left;
    max-width: 235px;
}

.thanks {
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 10px;
}

.kedv {
    text-transform: uppercase;
}

.container.ginop span.cim,
.container.szechenyi span.cim {
    text-transform: uppercase;
    line-height: 20px;
    font-size: 20px;
    font-weight: bold;
    padding: 20px 0 10px 0;
}

.osszeg-text {
    text-transform: uppercase;
    margin-top: 5px;
}

.container.szechenyi span.osszeg {
    text-transform: uppercase;
    line-height: 22px;
    font-size: 22px;
    font-weight: bold;
    padding: 5px 0 10px 0;
    color: #484596;
}

.container.szechenyi span.project-id {
    text-transform: uppercase;
    line-height: 10px;
    font-size: 10px;
}


.container.szechenyi span.project-details,
.container.ginop span.project-details {
    line-height: 20px;
    font-size: 15px;
    margin-bottom: 18px;
    margin-top: 8px;
}

.container.ginop .ginop-logo {
    width: 750px;
}