@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&subset=latin-ext');

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin: 0px 0px 120px 0px;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #6b6a6a;

}

b {
    font-weight: bold;
}

.no-vmargin {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 89px;
    background-color: #00b6bf !important;
}

.footer a {
    color: white;
    font-weight: bold;

}

.footer .container {

    height: 100%;
    color: #ffffff;
    padding: 3px;
    padding-right: 0px;
    padding-left: 0px;
}

.head {
    display: block;
    position: fixed;
    width: 100%;
    height: 164px;
}

.body {
    position: relative;
    padding-top: 85px;
}

.head .container {
    position: relative;
    top: 0px;
}

.head_1 {
    display: block;
    position: absolute;
    width: 100%;
    height: 85px;
    background-color: #00b7bf;
    border-bottom: 8px solid #347cff;
}

.logo {
    display: block;
    position: relative;
    height: 131px;
    width: 131px;
    top: 14px;
    float: left;
    margin: 0 12px;
}

.logo img {
    position: absolute;
    left: 0;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}

.social_wrapper {
    display: block;
    position: absolute;

}

.social_wrapper a img {
    position: relative;
    top: 0px;
    -webkit-transition: top .1s ease-in;
    -moz-transition: top .1s ease-in;
    -o-transition: top .1s ease-in;
    transition: top .1s ease-in;

}

.social_wrapper a img:hover {
    top: -6px;
}

.social_wrapper img {
    margin: 0 1px;
}

.hover {
    cursor: pointer;
}

.menu_wrapper {
    position: absolute;
    display: block;
    float: left;

}

.block-wrapper {
    position: relative;
    overflow: hidden;
}

.block-1 {
    display: block;
    position: relative;
    width: 100%;
    height: 600px;
}

.carousel {
    height: 600px;
}

.carousel .item {
    height: 600px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.block-2 {
    display: block;
    position: relative;
}

.block-2 .title, .panel .title, .default-content legend {
    font-size: 26px;
    color: #00b7bf;
    padding: 6px 0 0 0;
}
.post-lead {
    margin: 24px 0;
}
.panel .title a {
    text-decoration: none;
}

.panel-heading {
    color: inherit !important;
    background: none !important;
    border: none !important;
}

.panel div, .panel {
    border: 0px !important;
    border-color: inherit !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.block-4 .block-2 .block-content {
    font-size: 14px;
    padding: 6px 15px;
}
.block-2 .container a {
    color: inherit !important;
    text-decoration: none !important;
    font-size: inherit !important;
}
.block-2 > .container > .row {
    margin: 12px 0;
}

.block-2 > .container > .row > div[class^='col-'] {
    margin: 24px 0;
}

.block-2 > .container > .row > div[class^='col-'] > .row {
    margin-bottom: 12px;
}

.block-2 > .container > .row > div[class^='col-'] > .row > div:first-child {
    padding-right: 12px;
}

.block-3 {
    background: url("../images/block_3_bg.png") center;
    display: block;
    height: 412px;
    color: #ffffff;
}

.block-3 .block-content {
    height: 230px;
    font-size: 30px;
    text-align: center;
    padding-top: 80px;
    line-height: 1.2;
}

.block-3 .block-content b {
    font-size: 36px;
}

.block-3 .btn {
    display: block;

    box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;

    border: 2px solid #ffffff;
    margin: 2px;
    border-radius: 0px;
    font-size: 36px;
    height: 85px;
    padding-top: 13px;
    background-color: transparent;
    -webkit-transition: all .5s ease-in;
    -moz-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    transition: all .5s ease-in;
}

.block-3 .btn:hover {
    background-color: #FFFFFF;
}
.block-3 a{
    color: inherit;
    text-decoration: none;
}

.block-4 {
    overflow: hidden;
}

.block-4 .newsblock {
    display: block;
    height: 348px;
    color: #ffffff;
    background-color: #347cff;
    padding: 0px;
    margin: 0px;
}

.block-4 .newsblock .b1 a {
    padding: 6px;
}
.block-4 .newsblock a {
    text-decoration: none;
    color: #ffffff;
}

.block-4 .newsblock a:hover {
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.2);;
}

.block-4 .b1 {
    font-size: 30px;
    padding-top: 110px;
    padding-left: 40px;
}

.block-4 .b3 {
    padding: 6px;
}

.block-4 .b3 h3 {
    padding: 0 0 6px;
    font-size: 20px;
}

.block-4 .b3 fieldset {
    font-size: 12px;
    line-height: 1;
}

.block-4 .b3 .form-group {
    margin-top-top: 6px;
}

.block-4 .newsblock .title {
    position: absolute;
    display: block;
    line-height: 1.2;
    bottom: 0px;
    height: auto;
    font-size: 30px;
    padding: 16px;
    width: 100%;
}

.block-4 .newsblock.b4 .title {

    position: absolute;
    display: block;
    line-height: 1.2;
    bottom: 0px;
    height: 80px;
    font-size: 18px !important;
    padding: 10px;
    width: 100%;
}

.block-4 .newsblock {
    overflow: hidden;
    cursor: pointer;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.block-4 .newsblock .background {

    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;

    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 0;
    background: no-repeat center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}

.block-4 .newsblock:hover .background {
    transform: scale(1.2);
}

.block-4 .newsblock .title {
    background-color: rgba(52, 124, 255, 0.5);
    -webkit-transition: all .5s ease-in;
    -moz-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    transition: all .5s ease-in;
}

.block-4 .newsblock:hover .title {
    background-color: rgba(52, 124, 255, 0.8);
}

.block-5 {
    background-color: #00b7bf;
    color: #ffffff;
    padding-bottom: 50px;
}

.block-5 .block-content {
    line-height: 1.4;
}

.block-5 h1 {
    font-size: 48px;
    margin: 55px 0 29px;
}

.block-5 .btn {
    display: block;

    width: 250px !important;

    box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;

    border: 2px solid #ffffff;
    margin: 24px auto;
    border-radius: 0px;
    font-size: 36px;
    height: 85px;

    padding-top: 13px;
    background-color: transparent;
    -webkit-transition: all .5s ease-in;
    -moz-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    transition: all .5s ease-in;
}

.block-5 .btn:hover {
    background-color: #FFFFFF;
}

.block-5 .video {
    padding-top: 70px;
}

.navbar-nav > li > a {
    font-weight: bold;
    text-transform: uppercase;
    color: #383431;
    font-size: 15px;
}

.cd-section.smaller > div {
    margin-top: 85px;
}

.cd-section {
    margin-bottom: 24px;
}

.cd-section > div {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    /*margin-top: 0px;*/

}

.cd-section:first-child > div {
    margin-top: 85px;
}

.default-content {
    position: relative;
    margin-top: 85px;
    line-height: 1.4;
    border-top: 8px solid rgba(52, 124, 255, 0.2);
}

.default-content p {
    margin: 0 0 10px;
}

.default-content .btn:not(.btn-success) {
    display: block;
    color: #fff;;
    box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    /*border: 2px solid rgba(52, 124, 255, 0.2);*/
    border: 0px;
    margin: 2px;
    border-radius: 0px;
    font-size: 22px;
    height: 110px;
    padding-top: 40px;
    width: 220px;
    text-align: center;
    background-color: rgba(0, 182, 191, 0.5);
    -webkit-transition: all .5s ease-in;
    -moz-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    transition: all .5s ease-in;
}

.default-content .btn:hover{
    background-color: rgba(0, 182, 191, 1);
}
.banners {
    padding-top: 68px;
}
.banners a{
    color: inherit;
    text-decoration: none;
}

.newsitem {
    margin-bottom: 12px;
}
.newsitem .backgroundwrapper{
    height: 140px;
    z-index: 0;
    overflow: hidden;
    padding: 0px;
}
.newsitem .background {
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    height: 100%;
    width: 100%;
    background: no-repeat center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.newsitem:hover .background {
    transform: scale(1.2);
}

.newsitem .title {
    font-size: 26px;
    color: #00b7bf;
}


/* NOT MOBILE DEVICES */
@media screen and (min-width: 768px) {
    .menu_wrapper {
        height: 87px;
        width: 900px;

    }

    .social_wrapper {
        height: 76px;
        width: auto;
    }

    .szechenyi_2020 {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        height: 174px;
        width: 222px;
        background: url('../images/szechenyi_2020.png') no-repeat top right;
    }

    .navbar-nav > li > a::before {
        content: "";
        display: block;
        height: 51px;
        background-repeat: no-repeat;
        background-position: bottom center;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
    }

    .navbar-nav > li.menu-0 > a::before {
        background-image: url(../images/menu_0.png);
    }

    .navbar-nav > li.menu-1 > a::before {
        background-image: url(../images/menu_1.png);
    }

    .navbar-nav > li.menu-1 > a:hover::before {
        background-image: url(../images/menu_1_hover.png);
    }

    .navbar-nav > li.menu-2 > a::before {
        background-image: url(../images/menu_2.png);
    }

    .navbar-nav > li.menu-2 > a:hover::before {
        background-image: url(../images/menu_2_hover.png);
    }

    .navbar-nav > li.menu-3 > a::before {
        background-image: url(../images/menu_3.png);
    }

    .navbar-nav > li.menu-3 > a:hover::before {
        background-image: url(../images/menu_3_hover.png);
    }

    .navbar-nav > li.menu-4 > a::before {
        background-image: url(../images/menu_4.png);
    }

    .navbar-nav > li.menu-4 > a:hover::before {
        background-image: url(../images/menu_4_hover.png);
    }

    .navbar-nav > li.menu-5 > a::before {
        background-image: url(../images/menu_5.png);
    }

    .navbar-nav > li.menu-5 > a:hover::before {
        background-image: url(../images/menu_5_hover.png);
    }

    .navbar-nav > li > a::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 1;
        top: 0;
        height: 8px;
        background-color: #174aa5;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-transition-property: opacity, -webkit-transform;
        transition-property: opacity, -webkit-transform;
        transition-property: transform, opacity;
        transition-property: transform, opacity, -webkit-transform;
        -webkit-transition-timing-function: cubic-bezier(0.3, 0, 0.3, 1), linear;
        transition-timing-function: cubic-bezier(0.3, 0, 0.3, 1), linear;
        opacity: 0;
        -webkit-transform: scaleX(0);
        -ms-transform: scaleX(0);
        transform: scaleX(0);
    }

    .navbar-nav > li > a:hover {
        background-color: #347cff !important;
        color: #ffffff;
    }

    .navbar-nav > li > a {
        /*border-top: 8px solid red;*/
        background-color: inherit;
        -webkit-transition: background-color .2s ease-in;
        -moz-transition: background-color .2s ease-in;
        -o-transition: background-color .2s ease-in;
        transition: background-color .2s ease-in;
    }

    .navbar-nav > li > a:hover::after {
        opacity: 1;
        -webkit-transform: scaleX(1);
        -ms-transform: scaleX(1);
        transform: scaleX(1);
    }

    .navbar-nav > li > a::after {
        left: 0;
        right: 0;
    }

    .navbar-nav > li > a {
        padding-top: 8px;
        padding-bottom: 15px;
        border-left: 1px solid #347cff;
    }

    .nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
        background-color: #347cff;
        border-color: #347cff;
        color: #ffffff;
    }

    .nav .open > a::after, .nav .open > a:focus::after, .nav .open > a:hover::after {
        opacity: 1;
        -webkit-transform: scaleX(1);
        -ms-transform: scaleX(1);
        transform: scaleX(1);
    }

}

/* MOBILE DEVICES */
@media screen and (max-width: 767px) {

}