@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=EB+Garamond:400,400i,500,500i,600,600i,700,700i,800,800i');

/*GLOBAL*/

html, body {
    margin: 0;
    padding: 0;
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    font-weight: 500;
    background: url(../images/central_finance_bg.png) no-repeat top center fixed;
    background-color: black;
    overflow-x:hidden; 
}

section {
    padding: 30px 0;
}

a, a:hover, a:focus {
    color: inherit;
}

a:hover {
    text-decoration: none;
}

h1 {
    text-align: center;
    text-transform: uppercase;
    font-size: 2rem;
}

h1::after {
    content: '';
    display: block;
    height: 4px;
    width: 150px;
    background: #ecbc5b;
    margin: 20px auto;
}

.full_page {
    background: white;
}

header {
    padding: 30px 0;
}

.central_logo {
    width: 248px;
    height: 72px;
}

.central_menu, footer p {
    margin: 0;
    padding: 0;
}

.central_menu li {
    list-style-type: none;
    text-transform: uppercase;
    color: #ecbc5b;
    background: #253b47;
    padding: 8px 30px;
    border-radius: 6px;
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    max-width: auto;
}

.central_menu a:nth-child(2) {
    margin: 0 15px;
}
/*
.panasz_box:nth-child(2) { 
    margin-left: 15px;
    margin-right: 15px;
}
*/
#hasznos .panasz_box:nth-child(2) {
    margin-left: 0;
    margin-right: 0;
}

#covid19 .panasz_box:nth-child(2) { 
    margin-left: 0;
    margin-right: 0;
}

.panasz_box {
    background: #e9e9e9;
    padding: 15px 15px 10px 15px;
    border-radius: 6px;
    color: #474747;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.panasz_text {
    display: block;
    white-space: nowrap;
}

.panasz_text::before {
    content: url('../images/icon_pdf.svg');
    width: 45px;
    display: inline-block;
    padding-right: 15px;
    vertical-align: middle;
}

.link-icon::before {
    content: url('../images/browser.png');
    width: 45px;
    display: inline-block;
    padding-right: 15px;
    vertical-align: middle;
}

.jogi {
    text-align: justify;
    font-size: 0.8rem;
}

.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
    border: 5px solid #c1c1c1;
}
.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

footer {
    background: #8e8e8e;
    color: white;
    margin: 0 -15px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer span {
    display: inline-block;
}

.nav-link {
    padding: 0;
}

.nav-item2 {
    margin-left: 10px;
    margin-bottom: 10px;
}

.modal-footer {
    justify-content: center;
}

.btn-secondary {
    background: #253b47;
    color: #ecbc5b;
    border: none;
    cursor: pointer;
}

.mfb_logo {
    max-width: 300px;
}

.card-header .btn-link {
    padding-left: 0;
    cursor: pointer;
    color: black;
    font-weight: bold;
}

.card-header .btn:focus, .card-header .btn.focus {
    outline: none;
    box-shadow: none;
}

.card-body {
    padding: 15px;
}

.letoltesek {
    background: #e6e6e6;
    border-radius: 4px;
    padding: 10px 10px 3px 10px;
}

.dropdown-menu.show {
    top: 15px!important;
    left: -30px!important;
}

@media (max-width: 1200px) {
        .central_menu {
        margin-top: 30px;
        text-align: center;
    }
    
    .central_menu li {
        margin-bottom: 15px;
    }
}

@media (max-width: 991px) {
    .container {
        width: 100%;
    }
    body {
        background: none;
    }
        .panasz_box:nth-child(2) {
    margin-left: 0;
    margin-right: 0;
}
    .dropdown-item {
        width: auto;
    }
}

@media (min-width: 992px) {
    .central_menu {
        text-align: left;
    }
    .dropdown-item {
        width: 720px;
    }
}

@media (max-width: 400px) {
    .panasz_text {
    font-size: 0.85rem;        
    }
}

@media (max-width: 700px) {
    .central_menu li {
        display: block;
        max-width: 400px;
        margin: 0 auto;
        
    }
    .central_menu {
        width: 100%;
    }
    .dropdown-menu.show {
        left: -7px!important;
    }
}


_::-webkit-full-page-media, _:future, :root 
   .nav-item2.nav-item.dropdown { 
        margin-top: 25px;

    }

/* Safari 11+ */

@media not all and (min-resolution:.001dpcm)
{ @supports (-webkit-appearance:none) and (stroke-color:transparent) and (max-width: 767px) {

   .nav-item2.nav-item.dropdown { 
        margin-top: 25px;

    }
}}

/* Safari 10.1 */

@media not all and (min-resolution:.001dpcm)
{ @supports (-webkit-appearance:none) and (not (stroke-color:transparent)) and (max-width: 767px) {

   .nav-item2.nav-item.dropdown { 
        margin-top: 25px;
    }
}}