body {
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", "Helvetica, Arial", "Lucida Grande", "sans-serif";
    margin-left: 10%;
    margin-right: 10%;
}

.headerimg {
    height: auto;
    width: 100%;
    float: left;
}

.sticky {
    position: fixed;
    top: 0;
    z-index: 5;
    background: white;
    width: 80%;
}

/*menu*/
.title {
    text-align: left;
    font-size: 3vw;
    color: #2a3f54;
}

.topnav {
    overflow: hidden;
    float: right;
    width: auto;
    margin-bottom: 25px;
    margin-top: 25px;
}

    .topnav a {
        float: right;
        display: block;
        color: #2a3f54;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 15px;
    }


    .topnav .icon {
        display: none;
    }

.dropdown {
    float: right;
    overflow: hidden;
}

    .dropdown .dropbtn {
        font-size: 15px;
        border: none;
        outline: none;
        color: #2a3f54;
        padding: 14px 16px;
        margin: 0;
        background-color: white;
        font-family: inherit;
    }

.dropdown-content {
    display: none;
    position: absolute;
    max-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        float: none;
        color: #2a3f54;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

.dropdown:hover .dropdown-content {
    display: block;
}

.topnav .login-container {
    float: right;
    background-color: white;
}

.topnav input[type=password] {
    padding: 6px;
    margin: 5px;
    font-size: 17px;
    max-width: 190px;
    height: 22px;
    margin-bottom: 5px;
}

.topnav input[type=text] {
    padding: 6px;
    margin: 5px;
    font-size: 17px;
    max-width: 190px;
    height: 22px;
    margin-bottom: 5px;
}

.topnav .login-container button {
    float: right;
    padding: 6px 10px;
    margin-right: 5px;
    margin-bottom: 5px;
    background-color: #2a3f54;
    color: white;
    font-size: 17px;
    border: none;
    cursor: pointer;
    border-radius: 12px;
}

    .topnav .login-container button:hover {
        background-color: #a8e3d7;
        border-radius: 12px;
    }

@media only screen and (max-width: 1100px) {
    .topnav a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media only screen and (max-width: 1100px) {
    .topnav.responsive {
        position: relative;
    }

        .topnav.responsive .icon {
            position: relative;
            z-index: 2;
        }

        .topnav.responsive a {
            float: none;
            display: block;
            text-align: left;
        }

        .topnav.responsive .dropdown {
            float: none;
        }

        .topnav.responsive .dropdown-content {
            position: relative;
        }

        .topnav.responsive .dropdown .dropbtn {
            display: block;
            width: 100%;
            text-align: left;
        }
}

@media only screen and (max-width: 600px) {
    .topnav .login-container {
        float: none;
    }

        .topnav a, .topnav input[type=text], .topnav .login-container button {
            float: none;
            display: block;
            text-align: left;
            width: auto;
            border-radius: 12px;
        }

    .topnav input[type=text] {
        border: 1px solid #ccc;
    }
}

/*slideshow*/
* {
    box-sizing: border-box;
}

.mySlides {
    display: none;
}

img {
    vertical-align: middle;
}

/* Slideshow container */
.text {
    color: #f2f2f2;
    font-size: 3vw;
    position: absolute;
    bottom: 6%;
    left: 20%;
}

.slideshow-container {
    position: relative;
    max-width: 80%;
}

.main-center {
}

.slideshow-images {
    max-height: 80%;
    max-width: 80%;
}

/* a pöttyök */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    margin-bottom: 50px;
}

.active {
    background-color: #717171;
}

/* eltuno animaicio */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* kisebb kepernyon kisebb a meret */
@media only screen and (max-width: 300px) {
    .text {
        font-size: 11px
    }
}
/*slice*/
.slice {
    height: 750px;
    overflow: hidden;
}

    .slice img {
        max-height: initial
    }

/* a kartyas baszas*/
html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.column {
    float: left;
    display: flex;
    width: 100%;
    margin-bottom: 16px;
    padding: 0 8px;
    overflow: auto;
}

@media only screen and (max-width: 650px) {
    .column {
        display: block;
        width: 100%;
    }

    .card {
        display: block;
        width: 100%;
        margin-bottom: 2%;
    }
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    height: auto;
    margin-bottom: 25px;
    overflow-y: auto;
    flex: 1;
}

.container {
    padding: 0 16px;
    height: 300px;
}

    .container::after, .row::after {
        content: "";
        clear: both;
        display: table;
    }

.news {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
}

.more {
    width: auto;
    background-color: #2a3f54;
    color: white;
    padding: 15px 32px;
    margin: auto;
    text-align: center;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
    border-radius: 12px;
    border: none;
}

    .more span {
        cursor: pointer;
        display: inline-block;
        position: relative;
        transition: 0.5s;
    }

        .more span:after {
            content: '\00bb';
            position: absolute;
            opacity: 0;
            top: 0;
            right: -20px;
            transition: 0.5s;
        }

    .more:hover span {
        padding-right: 25px;
    }

        .more:hover span:after {
            opacity: 1;
            right: 0;
        }

/* gombok stílusa */
.button {
    background-color: #26b99a;
    color: white;
    padding: 14px 20px;
    margin: 9px 9px;
    border: none;
    cursor: pointer;
    width: 100%;
    position: relative;
    border-radius: 12px;
    float: right;
}

button:hover {
    opacity: 0.8;
    border-radius: 12px;
}

/* mégse gomb külön cuccai */
.cancelbtn {
    width: auto;
    padding: 10px 18px;
    border-radius: 12px;
    background-color: #2a3f54;
    color: white;
}

.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar {
    width: 40%;
    border-radius: 50%;
}

.container {
    padding: 16px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

/* a modal */
.modal {
    display: none; /* alapjáraton csukott */
    position: fixed; /* egyhelyben marad */
    z-index: 1; /* legelöl legyen */
    left: 0;
    top: 0;
    width: 100%; /* teljes szélesség */
    height: 100%; /* teljes magasság */
    overflow: auto; /* ha kell, akkor lehet scrollolni */
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4); /* fekete opacityvel */
    padding-top: 60px;
}

/* modal tartalom */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto;
    border: 5px solid #888;
    width: 500px;
    height: 500px;
    border-radius: 12px;
}

/* x gomb */
.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: red;
        cursor: pointer;
    }

/* zoom animacio */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}


@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }

    .cancelbtn {
        width: 100%;
    }
}

/* width */
::-webkit-scrollbar {
    width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #2a3f54;
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #26b99a;
    }
