@font-face {
    font-family: garamond;
    font-style: italic;
    src: url("/img/Adobe-Garamond-Pro-Italic_2009.ttf") format('truetype');
}

@font-face {
    font-family: bickham;
    src: url("/img/Bickham Script Pro Regular.ttf") format('truetype');
}

@font-face {
    font-family: trajan;
    src: url("/img/TrajanPro-Regular.ttf") format('truetype');
}

@font-face {
    font-family: palace;
    src: url("/img/Palace_Script.ttf") format('truetype');
}

body {
    background-image: url("/img/Background 1.jpg");
    background-repeat: repeat;
    background-size: 100%;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    padding: 0px;
    margin: 0px;
    font-weight: normal;
    color: #000000;
    text-decoration: none;
}

#maintable {
    position: relative;
    margin: 0 auto;
    background-image: url("/img/hatter_4.jpg");
    background-repeat: repeat;
}

table {
    margin: 0px;
    border-width: 0px;
    padding: 0px;
    border-collapse: collapse;
}

table#menu,
table#submenu {
    width: 750px;
    height: 24px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #700700;
    background-image: url(/img/nagymama.png);
    background-position: 0px -251px;
    background-repeat: no-repeat;
}

table#menu {
    text-align: center;
}

table#submenu {
    text-align: left;
}

@media (min-width: 751px) and (min-height: 651px) {

    /* desktop */

    .dhidden {
        display: none;
    }

    table#contenttable td {
          font-size: 13px;
    }

    p.huindexp {
        margin-left: 20px;
        line-height: 20px;
    }

    p.kiemelt {
        margin: 20px;
        font-size: 14px;
    }

    ul.index li {
        font-size: 13px;
        margin-bottom: 20px;
    }

    img#contactlogo {
        float: right;
        width: 200px;
        margin: 20px 30px;
    }

    table#contacttable {
        float: right;
        margin: 0 30px 0 0;
    }

    td#contact {
        font-size: 13px;
        font-weight: bold;
        line-height: 22px;
    }

    table#contenttable td.title {
        font-size: 13px;
    }

    cite {
        font-size: 15px;
    }

    h1#index {
        font-size: 17px;
    }

}

@media (max-width: 750px), (max-height: 650px) {

    /* mobile */

    .mhidden {
        display: none;
    }

    table#contenttable td {
          font-size: 13px;
    }

    img#contactlogo {
        margin: 10px auto;
    }

    table#contacttable {
        margin: 0 auto;
    }

    table#contacttable td {
        font-size: 22px;
    }

    p.huindexp {
        margin: 5px 20px;
    }

    p.kiemelt {
        margin: 20px;
        font-size: 14px;
    }

    ul.index li {
        margin-left: 50px;
        margin-bottom: 10px;
    }

    td#contact {
        font-size: 17px;
        font-weight: bold;
        line-height: 28px;
    }

    table#contenttable td.title {
        font-size: 17px;
    }

    cite {
        font-size: 16px;
    }

    h1#index {
        font-size: 21px;
    }

}

td {
    font-size: 11px;
    margin: 0px;
    border-width: 0px;
    padding: 0px;
}

table#menu td {
    padding-top: 7px;
    height: 17px;
    background-color: #f3dfbc;
    border-top: 1px solid #5f020a;
}

table#submenu td {
    height: 16px;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: #700700;
    padding-top: 5px;
    padding-left: 8px;
    color: #000000;
    background-color: #5f020a;
}

#hujhuj {
    margin: 0px;
    border: 0px;
    padding: 0px;
}

#newheader {
    background-image: url(/img/nagymama.png);
    background-position: 0px 70px;
    background-repeat: no-repeat;
    vertical-align: top;
    height: 320px;
}

h1#bal {
    float: left;
    margin: 0px;
    padding-left: 10px;
    text-align: left;
    font-family: palace;
    font-weight: normal;
    letter-spacing: 1px;
    color: #700700;
}

h1#jobb {
    float: right;
    margin: 0px;
    padding-right: 10px;
    text-align: right;
    font-family: trajan;
    line-height: 44px;
    letter-spacing: 1px;
    color: #700700;
}

h1#index {
    padding: 33px;
    text-align: center;
    font-family: trajan;
    font-weight: 600;
    color: #700700;
}

#online {
    padding: 5px;
    text-align: center;
}

div#kepkeret {
    width: 472px;
    height: 326px;
    margin: 10px auto;
    padding: 57px;
    background-image: url(kepkeret-5.jpg);
    text-align: center;
}

div#kepkeret-belso {
    width: 472px;
    height: 326px;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
}

div#kiemeltreferencia {
    width: 472px;
    height: 326px;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background-image: url(/img/rokusfalvy-osfa.jpg);
}

h2 {
    text-align: center;
    font-size: 15px;
    font-weight: normal;
    margin: 10px 5px;
}

div#adatkezeles h2 {
    text-align: left;
    font-size: 14px;
    font-weight: normal;
    margin: 20px;
}

div#adatkezeles dt {
    font-weight: normal;
    margin: 20px;
    margin-bottom: 5px;
}

h3 {
    margin: 15px 5px;
}

.lmenu2 {
    background-color: #700700;
}

.lmenu {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

#contenttable {
    width: 750px;
    text-align: left;
    position: relative;
}

td#logo200 {
    width: 200px;
    height: 212px;
    background-image: url("/img/tree.gif");
    background-repeat: no-repeat;
    background-position: 60px 30px;
    background-size: 200px 212px;
}

td.title {
    height: 30px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #700700;
    vertical-align: bottom;
    padding-left: 10px;
    font-family: trajan;
    font-weight: bold;
}

div#zlhbg {
    position: relative;
    width: 750px;
    height: 100px;
    background-color: rgba(246, 231, 200, 1);
}

div#zlhbg::after {
    clear: both;
}

div#zaszlok {
    position: absolute;
    top: 56px;
    left: 10px;
}

div#zaszlok img {
    width:  32px;
    margin: 5px 20px 5px 5px;
}

div#logo {
    position: absolute;
    top: 0px;
}

div#hkontaktdiv {
    position: absolute;
    top: 46px;
    right: 0px;
    padding: 10px;
    text-align: right;
    font-size: 12px;
    font-weight: bold;
    color: #700700;
}

div#footerdiv {
    width: 710px;
    background-color: #5f020a;
    border-top-width: 2px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: solid;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-top-color: #700700;
    padding: 20px;
}

table#contacttable td {
    padding: 10px;
}

table#footer {
    width: 710px;
}

table#footer td {
    padding: 5px;
    text-align: left;
    color: white;
}

#online table {
    margin: 0 auto;
}

#online table td {
    padding: 5px;
    text-align: left;
    vertical-align: top;
    font-weight: bold;
}

#online table td#submit,
#online table td#adatkt {
    text-align: center;
    font-weight: normal;
}

a {
    font-family: trajan;
    font-size: 13px;
    font-weight: bold;
    color: #700700;
    text-decoration: underline;
}

table#menu a {
/*    color: #ffffff;*/
    text-decoration: none;
}

table#submenu a {
    color: white;
    font-size: 12px;
    text-decoration: none;
}

table#footer a {
    font-size: 10px;
    color: white;
}

#online table td#adatkt a {
    font-size: 11px;
    text-decoration: none;
}

input {
/*    font-size: 10px;*/
    color: #000066;
    text-decoration: none;
    border: 1px solid;
}

.tdheader {
    color: #999999;
    border-top-width: 1px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-top-style: solid;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-top-color: #999999;
}

.text {
    font-size: 11px;
    color: #000000;
    text-decoration: none;
}

.textfield {
    font-size: 10px;
    color: #000066;
    text-decoration: none;
    border: 1px solid;
    width: 300px;
}

.dropdown_field {
    font-size: 11px;
    width: 300px;
}

textarea {
    width: 300px;
}

ul {
    padding: 0px 0px 0px 10px;
    margin: 0;
    list-style-type: none;
    list-style-image: url(/img/li.jpg);
    list-style-position: inside;
}

div#adatkezeles ul {
    margin: 20px;
    list-style-image: none;
}

li {
    margin-top: 10px;
    padding-right: 0px; 
    padding-left: 8px; 
    padding-bottom: 2px; 
    padding-top: 2px; 
    font-weight: bold;
}

ul.csaladfa li {
    margin-top: 20px;
}

div#adatkezeles li {
    font-weight: normal;
}

p {
    text-align: justify;
    margin: 5px;
}

p.clickref {
    font-family: trajan;
    font-size: 17px;
    font-weight: bold;
    color: #700700;
}

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

#roots p {
    margin-top: 13px;
}

p.center img {
    margin: 20px auto;
}

p.bemutat {
    font-family: garamond;
    padding-bottom: 9px;
}

div#adatkezeles p {
    margin: 20px;
}

img.eleink {
    margin: 20px;
    border: 1px solid black;
}

img#osfa-kep {
    margin: 5px 5px 5px 0px;;
    float: left;
}

img#dulovics {
    width: 200px;
    height: auto;
    margin: 0px 5px;
    float: right;
}

img#indexlogod {
    width: 390px;
    margin: 0px 20px 20px 20px;
    float: right;
}

img#indexkep1d {
    width: 390px;
    margin: 0px 20px 20px 20px;
    float: right;
}

img#indexkep2d {
    width: 390px;
    margin: 0px 20px 20px 20px;
    float: right;
}

img#indexkep3d {
    width: 390px;
    margin: 0px 20px 20px 20px;
    float: right;
}

img#indexlogom {
    width: 390px;
    margin: 20px auto;
}

img#indexkep1m {
    width: 390px;
    margin: 20px auto;
}

img#indexkep2m {
    width: 390px;
    margin: 20px auto;
}

img#indexkep3m {
    width: 390px;
    margin: 20px auto;
}

ul.nobold li {
    font-weight: normal;
}

ul.nobold ul {
    list-style-type: circle;
    list-style-image: none;
}

ul.index,
ul.enindex {
    margin-right: 20px;
}

ul.index li {
    font-family: trajan;
}

ul.enindex li {
    font-family: trajan;
    font-size: 13px;
    line-height: 20px;
    margin-bottom: 10px;
}

p.kiemelt {
    color: #700700;
    font-family: trajan;
    font-weight: 600;
    text-align: left;
}

cite {
    font-family: "Times New Roman", Times, serif;
    font-style: normal;
    font-weight: normal;
}

cite br {
    line-height: 1em;
}

.bickham23 {
    font-family: bickham;
    font-size: 23px;
    font-style: normal;
/*    white-space: nowrap;*/
}

.bickham28 {
    font-family: bickham;
    font-size: 28px;
    font-style: normal;
/*    white-space: nowrap;*/
}

/* referenciák */

div#c3 {
    padding-top: 15px;
    -webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;
    -webkit-column-gap: 20px; /* Chrome, Safari, Opera */
    -moz-column-gap: 20px; /* Firefox */
    column-gap: 20px;
    -webkit-column-rule-style: solid; /* Chrome, Safari, Opera */
    -moz-column-rule-style: solid; /* Firefox */
    column-rule-style: solid;
    -webkit-column-rule-width: 1px; /* Chrome, Safari, Opera */
    -moz-column-rule-width: 1px; /* Firefox */
    column-rule-width: 1px;
}

#c3 ul {
    padding: 0px;
    margin: 0px;
    margin-left: 20px;
    list-style-type: none;
    list-style-image: url(/img/li.jpg);
    list-style-position: outside;
}

#c3 ul li {
    margin-top: 10px;
    margin-left: 10px;
    padding: 0px; 
    font-weight: bold;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

#c3 ul li a:link,
#c3 ul li a:visited,
#c3 ul li a:hover,
#c3 ul li a:active {
    font-family: trajan;
    font-weight: bold;
    font-size: 8px;
    color: #700700;
    line-height: 20px;
    text-decoration: none;
}

#c3 ul li a:link h6,
#c3 ul li a:visited h6,
#c3 ul li a:hover h6,
#c3 ul li a:active h6 {
    display: inline-block;
    margin: 3px 0px;
    border-bottom: 1px solid #700700;
    font-family: trajan;
    font-weight: bold;
    font-size: 11px;
    color: #700700;
}

#c3 ul li a:link span,
#c3 ul li a:visited span,
#c3 ul li a:hover span,
#c3 ul li a:active span {
    font-size: 11px;
    text-decoration: none;
}

#c3 div {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    width: 500px;
    height: auto;
    background-image: url("/img/hatter_4.jpg");
    z-index: 1;
    border: 1px solid black;
    padding: 30px;
}

#c3 div button {
    width: 65px;
    height: 30px;
    color: white;
    background-color: #50371b;
    font-family: trajan;
    font-size: 11px;
    font-weight: 600;
    padding-top: 4px;
}
