/* =================================================================== */
/*  Media Queries
/*  2019.01.22.
/* =================================================================== */

/* Az alap CSS Full-HD felbontásra (1920x1080) a lett kialakítva */
/* Az ennél kisebb képernyőket itt állítjuk be */

/* ------------------------------------------------------------------- */
/* normal and small screens */
/* ------------------------------------------------------------------- */

@media only screen and (max-width:1300px) {

    ul#nav li a {
        padding-left: 4px;
        padding-right: 3px;
    }

}

@media only screen and (max-width:1250px) {
    header {
        height: 79px;
    }

    header .logo a {
        width: 140px;
        height: 89px;
    }

    #nav-wrap {
        font-size: 13px;
    }

    ul#nav li.header-slogen h1 {
        margin-bottom: 10px;
    }

    ul#nav li a {
        padding: 5px 4px;
    }
}



@media only screen and (max-width:1130px) {
    header {
        height: 73px;
    }

    header .logo a {
        width: 120px;
        height: 89px;
    }

    .section-top-spacer {
        height: 80px;
    }

    #nav-wrap {
        font-size: 11px;
    }

    ul#nav li.header-slogen h1 {
        margin-bottom: 10px;
        font-size: 14px;
    }

    ul#nav li a {
        font-size: 12px;
        padding: 6px 4px;
    }

    .bgrid img {
        max-width: 90%;
    }
}


@media only screen and (max-width:1000px) {
    header {
        height: 70px;
    }

    header .logo a {
        height: 89px;
    }

    #nav-wrap {
        font-size: 10px;
    }

    ul#nav li.header-slogen h1 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    ul#nav li a {
        padding: 5px 3px;
    }

    img {
        max-width: 55%;
    }

    .bgrid img {
        max-width: 55%;
    }

}



/* ------------------------------------------------------------------- */
/* tablets */
/* ------------------------------------------------------------------- */
@media only screen and (max-width:970px) {

    /* make sure to change width in base.css tablets section + at end of this file, too  */
    /* header styles */
    header {
        background: #12151b;
        height: 60px;
        border: none;
    }

    header .logo {
        margin: 2px 0px 0px 10px;
    }

    header .logo a {
        height: 57px;
    }

    header .header-slogen {
        margin-top: 10px;
        margin-bottom: 10px;
        width: 85%;
    }

    h1.mobile-header-slogen {
        display: block;
        font-size: 1.2em;
        float: left;
    }

    .section-top-spacer {
        height: 70px;
    }

    ul#nav li.header-slogen h1 {
        margin-left: 0px;
        text-align: center;
    }

    /* mobile navigation */
    #nav-wrap {
        z-index: 991;
        display: block;
        margin-top: 0;
        width: 100%;
        float: none;
        position: absolute;
        top: 0;
        right: 0;
        font-size: 12px;
        border-bottom-color: #bcff00;
        border-bottom-style: solid;
        border-bottom-width: thick;

    }

    #nav-wrap > a {
        background: #12151b;
        border: none;
        color: white;
        height: 60px;
        min-width: 60px;
        font-size: 12px;
        text-align: left;
        float: right;
        padding: 0;
        position: relative;
    }

    #nav-wrap .menu-text {
        text-transform: uppercase;
        margin-right: 60px;
        padding-left: 20px;
        vertical-align: middle;
        line-height: 60px;
        display: none;
    }

    #nav-wrap .menu-icon {
        display: inline-block;
        width: 20px;
        height: 3px;
        margin-top: -3px;
        position: absolute;
        right: 20px;
        top: 50%;
        bottom: auto;
        left: auto;
        background: white;
    }

    #nav-wrap .menu-icon:before,
    #nav-wrap .menu-icon:after {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        background-color: inherit;
        left: 0;
    }

    #nav-wrap .menu-icon:before {
        bottom: 6px;
    }

    #nav-wrap .menu-icon:after {
        top: 6px;
    }

    #nav-wrap ul#nav {
        background: #262d3a;
        padding: 5px 5px 5px 5px;
        margin: 0;
        height: auto;
        display: none;
        clear: both;
        width: 100%;
        float: none;
        position: relative;
        top: 0;
        right: 0;
    }

    #nav-wrap ul#nav > li {
        display: block;
        float: none;
        height: auto;
        text-align: left;
        border-bottom: 1px dotted #3b4558;
        padding: 6px 0;
    }

    #nav-wrap ul#nav > li:first-child {
        border-top: 1px dotted #3b4558;
    }

    #nav-wrap ul#nav li a {
        display: block;
        width: auto;
        padding: 0;
        padding: 6px 0;
        line-height: 16px;
        border: none;
        text-align: center;
    }

    #nav-wrap ul#nav li a:hover {
        color: white;
    }

    #nav-wrap ul#nav li.current > a {
        background: none;
        color: #02FFFF;
    }

    .js #nav-wrap a.mobile-btn {
        display: none;
    }

    .js #nav-wrap a#toggle-btn {
        display: block;
    }

    .no-js #nav-wrap:not(:target) > a:first-of-type,
    .no-js #nav-wrap:target > a:last-of-type {
        display: block;
    }

    .no-js #nav-wrap:target ul#nav {
        display: block;
    }

    /* content styles */
    #content {
        padding-top: 54px;
    }

    #content #sidebar {
        margin-top: 42px;
        padding-left: 0;
    }

    /* footer styles */
    footer {
        padding-bottom: 36px;
    }

    footer .footer-about {
        padding-right: 25px;
    }

    footer .copyright {
        padding-left: 15px;
        padding-right: 60px;
    }

    footer #go-top {
        right: 0;
    }

    footer #go-top a {
        height: 60px;
        width: 60px;
        line-height: 60px;
        padding: 0;
    }

    footer #go-top a span {
        display: none;
    }

    footer #go-top a i {
        font-size: 16px;
    }

    /* common and shared styles */
    .section-head p {
        width: 100%;
    }

    .section-head h1 {
        font-size: 30px;
    }

    #page-title h1 {
        font: 46px/1.3 "monda-bold", sans-serif;
        width: 100%;
    }

    #page-title p {
        font: 15px/30px "merriweather-light", sans-serif;
        width: 100%;
    }

}

/* ------------------------------------------------------------------- */
/* mobiles */
/* ------------------------------------------------------------------- */
@media only screen and (max-width:650px) {

    /* content styles */
    #content {
        padding-top: 48px;
    }

    /* footer styles */
    footer .footer-about {
        padding-right: 10px;
    }

    footer .copyright {
        padding-left: 10px;
    }

    footer p {
        font-size: 10px;
    }

    /* common and shared styles */
    .section-head p {
        font: 16px/33px;
    }

    .section-head h1 {
        font-size: 30px;
    }

    h1.mobile-header-slogen {
        display: none;
    }

    /* contact section */
    #contact .form-section {
        padding-left: 40px;
        padding-right: 40px;
    }

    img {
        max-width: 70%;
    }

}

/* ------------------------------------------------------------------- */
/* small small mobiles */
/* ------------------------------------------------------------------- */
@media only screen and (max-width:480px) {}

/* ------------------------------------------------------------------- */
/* make sure the menu is visible on larger screens */
/* ------------------------------------------------------------------- */
@media only screen and (min-width:971px) {
    #nav-wrap ul#nav {
        display: block !important;
    }
}
