@font-face {
    font-family: customlight;
    font-weight: 300;
    src: url(fonts/AvenirNextLTPro-Medium.otf);
}
@font-face {
    font-family: custombold;
    src: url(fonts/AvenirNextLTPro-Bold.otf);
}


:root {
  --theme-color: #173A7C; 
  --theme-color2: #4FBBFE; 
}

html, body {
    margin:0;
    padding:0;
    font-family: customlight;
    font-size: 18px;
}

body {
    min-height: 100vh;
}

#wrapper {
    display: flex;
    margin:0 auto;
    background-color:#ffffff;
    /*background-image: url("img/bg.jpg");*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
    /*background-size: cover;*/
}
#wrapper > * {
    box-sizing: border-box;
}
header {
    background-color: var(--theme-color);
}
.layout1 {
    height:100%;
    min-height: 100vh;
    flex-direction: column;
}
.layout1 header {
    flex-basis:40px;
    flex-grow:0;
    flex-shrink:0;
    padding:0px 128px;
}
.headerLogo {
    height:45px;
    margin: 5px 0px;
}
.headerKeszitok {
    float:right;
    height:45px;
}
.headerKeszitokFooter {
    display:none;
    margin:10px auto 0 auto;

}

.layout1 .mainSection {
    flex-grow:1;
    flex-shrink:0;
    display: flex;
    flex-direction: row;
}

.layout1 main {
    flex-grow: 1;
    /*margin:128px;*/
}

footer {
    background: var(--theme-color);
    color:#ffffff;
    font-size:20px;
    text-align:center;
    padding:0.2em;
    /*height:80px;*/
}

footer UL {
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

footer UL LI {
    display: inline-block;
    margin:0 10px;
}
footer UL LI A, footer UL LI A:hover, footer UL LI A:visited {
    color:#ffffff;
}

A {
    text-decoration:none;
    color:#000000;
}
A:hover, A:visited {
    text-decoration:none;
    color:#000000;
}

.box {
    /*background-color: rgba(0, 0, 0, 0.75);*/
    padding:20px 40px;
    /*color:white;*/
}
H2 {
    text-transform:uppercase;
    font-family: custombold;
}
.btn {
    background-color: #ffffff;
    /*background-image: url(img/arrow.png);*/
    /*background-repeat: no-repeat;*/
    /*background-position: right center;*/
    /*background-size: 22px;*/
    border: none;
    color: #e8ef46;
    padding: 16px 16px 12px 16px;
    text-align: left;
    text-decoration: none;
    display: inline-block;
    font-size: 19px;
    margin: 0;
    cursor: pointer;
    /*width:170px;*/
    font-family: custombold;
}

A.btn:hover, A.btn:visited {
    color:#ffffff;
}
.btnContainer {
    margin:30px 0 0 0;
}

.btnContainer .btn:nth-child(2) {
    margin-left:50px;
}

.image_main {
    background-image: url('/img/banner_main.png');
}
.imageFluid {
    width:100%;
}

.do {
    display:block;
}
.mo {
    display:none;
}

.aCenter {
    text-align:center;
}

.container {
    display: flex;
    max-width:1200px;
    margin:0 auto;
    justify-content: space-between;
    align-items: center;

}

.thankyouimage {
    max-height: 500px;margin: 0 auto;max-width: 100%;display: block;
}

.button{
    display:inline-block;
    text-decoration:none;
    border-radius: 8px;
    background: var(--theme-color2);
    box-shadow: 4px 4px 0 0 var(--theme-color);
    color:#ffffff;
    cursor:pointer;
    font-family:"Ubuntu", sans-serif;;
    font-size:19px;
    line-height:55px;
    text-align:center;
    margin:2px 0px 0px 2px;
    height:55px;
    padding:0px 18px;
    max-width:100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-weight:700;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    transition: all 0.3s ease-out;
}

.button:hover{
    background: var(--theme-color2);
    color:#ffffff;
    box-shadow: 6px 6px 0 0 var(--theme-color);
    margin:0px 2px 2px 0px;
}

.v2{
    --theme-color: #8F9418; 
    --theme-color2: #E8EF46; 
    color: #113F0A !important;
}

h1{
    color: #2A2A2B;
    font-family: Ubuntu;
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    margin: 0px 0px 16px 0px;
}


@media only screen and (max-width: 799px) {
    html {
        font-size:16px;
    }

    .layout1 header {
        padding: 0x 20px 0px 20px;
    }

    .layout1 main {
        margin: 0px;
    }

    .do {
        display:none;
    }
    .mo {
        display:block;
    }

    .box {
        padding:20px;
    }

}

@media only screen and (max-width: 559px) {
    .btnContainer .btn:nth-child(2) {
        margin-left:0px;
        margin-top: 30px;
        display: block;
    }

    .do {
        display:none;
    }
    .mo {
        display:block;
    }

    .box {
        padding:20px;
    }

    .headerLogo {
        /*height:45px;*/
    }

    .headerKeszitok {
        display: none;
    }

    .headerKeszitokFooter {
        display: block;
    }
}
