/*@font-face {
    font-family: 'Latin Modern';
    src: url('fonts/latinmodern/lmroman10-regular.otf');
}

@font-face {
    font-family: 'Latin Modern';
    src: url('fonts/latinmodern/lmroman10-bold.otf');
    font-weight: bold;
}

@font-face {
    font-family: 'Latin Modern';
    src: url('fonts/latinmodern/lmroman10-italic.otf');
    font-style: italic;
}*/


body {
    background-color: #f4ead7;
    font-family: "Open Sans", sans-serif;
    font-size: 11pt;
    overflow-y: scroll;
}

.p-01 {
    padding: 1px;
}

.header {
    color: #be9c3e;
    border-bottom: 1px solid #be9c3e;
}

.header-1 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 2rem;
}

.header-2 {
    font-weight: 300;
    font-size: 1.5rem;
    text-align: right;
}

.menu {
    background-color: white;
    border: 1px solid #be9c3e;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-link.active {
    background: #be9c3e;
    font-weight: 700;
}

.accordion-button {
    font-weight: 700;
    font-size: 0.9rem;
}

.accordion-button:not(.collapsed) {
    background-color: #be9c3e;
    color: white;
    box-shadow: 0 0 0 transparent;
}

.accordion-button.collapsed {
    background-color: #e0d3ba;
    box-shadow: 0 0 0 transparent;
}

.accordion-body {
    font-weight: 600;
}

.accordion-body ul li a {
    text-decoration: none;
}

.accordion-body ul li a {
    color: black;
}

.list-group-item:hover, .menu a:hover {
    background: #f4ead7;
}

.list-group-item.active {
    background-color: #f8e4ac;
    border-bottom-color: transparent;
    border-top-color: transparent;
}

.list-group-item.active a {
    color: #be9c3e;
}

.main {
    background: white;
    border: 1px solid #be9c3e;
    border-radius: 5px;
    /*font-family: 'Latin Modern', serif;*/
    font-size: 1.1rem;
}

.main p {
    margin: 1rem 0;
}

.pagebutton {
    padding: 3px 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 0.5em 0.5em 0 0;
    text-decoration: none;
    font-size: 10pt;
    display: inline-block;
}

.pagebutton.active {
    background-color: #be9c3e;
    font-weight: normal;
    color: white;
}

.pagebutton.inactive {
    background-color: #f4ead7;
    font-weight: normal;
    color: black;
}

.main .formula {
    padding-bottom: 2px;
    font-size: 13pt;
}

.figures {
    background: #f4ead7;
    border: 1px solid #be9c3e;
    border-radius: 5px;
}

#figure-title {
    margin: 0;
    padding: 0;
    font-weight: bold;
    background-color: #be9c3e;
    color: white;
    text-align: center;
}

.figures .thumbnail {
    height: 170px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
}

ul.dashed {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.dashed li {
    padding-left: 24px;
    text-indent: -16px;
}

ul.dashed li::before {
    content: "–";
    padding-right: 8px;
}

ul.square {
    list-style-type: square;
}

ul.nomargintop, ol.nomargintop {
    margin-top: -1em;
}

hr {
    width: 60%;
    border: 0;
    border-top: 1px solid #be9c3e;
    margin: 0 auto;
}

.peldaszoveg {
    background-color: #eee;
    padding: 6px;
    margin-bottom: 4px;
}

.vegeredmeny {
    /*text-decoration: underline;
    text-decoration-line: underline;
    text-decoration-style: double;*/
    border-bottom: 3px double black;
    padding-bottom: 2px;
}

.topics-title {
    color: #be9c3e;
    font-weight: bold;
}

table.goldenbrown {
    border-spacing: 0;
    border-collapse: collapse;
    font-size: smaller;
}

table.goldenbrown th {
    background-color: #be9c3e;
    text-align: left;
    border: 1px solid #ccc;
    padding: 2px 6px;
}

table.goldenbrown tr:nth-child(1) th {
    text-align: center;
}

table.goldenbrown td {
    background-color: #f8e4ac;
    border: 1px solid #ccc;
    padding: 2px;
}