*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.highslide-container * {
    -moz-box-sizing: content-box !important;
    -webkit-box-sizing: content-box !important;
    box-sizing: content-box !important;
}

/* -------------------- */
/* floating elemeket tartalmazó szülők magasságának helyes beállítása*/

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* -------------------- */

.shadow {
    -webkit-box-shadow: 0 10px 6px -6px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 10px 6px -6px rgba(0,0,0,0.5);
    box-shadow: 0 10px 6px -6px rgba(0,0,0,0.5);
}


/* -------------------- */

a {
    color: inherit;
    text-decoration: none;
    border: none;
}
a img {
    border: none; /* IE */
}
a:active,
a:visited {
    background: inherit;
    color: inherit;
}

/* -------------------- */

/* linkek, telefonszámok */
.weblink,
.telszam {
    text-decoration: underline;
    white-space: nowrap;
}

/* -------------------- */

p {
    margin: 12px 0;
}


h1 {
    margin: 0 0 10px 0;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 162.5%;
    font-weight: normal;
}


h2 {
    margin: 12px 0 4px 0;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 125%;
    font-weight: normal;
}


h3 {
    font-size: 14px;
    line-height: 18px;
    border-bottom: 1px solid silver;
}


ul {
    margin: 0;
}

/* -------------------- */

/* aránytartó kép */
.prop_pic {
    display: inline-block;
    position: relative;
    width: 100%;
}
.prop_pic .prop_pic_dummy {
    margin-top: 62%; /* alapból aranyarány */
}
.prop_pic .prop_pic_kep {
    background-color: transparent;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/* -------------------- */

/* inline-block elemeket tartalmazó div */
.gallery {
    text-align: center; /* inline block képek igazítása */
    line-height: 0px;
}

/* -------------------------------------------------------------------------- */
/* ------------------------- MOBIL, ALAP MEGJELENÉS ------------------------- */

html {
    margin: 0;
    padding: 0;
}


body {
    background: white;
    font-family: 'Roboto Slab', Arial, sans-serif;
    color: #444;
    margin: 0;
    padding: 5px;
    font-size: 16px; /* alap font size, minden ehhez viszonyul százalékértékekkel, a @media ezt módosítja */
}


#main_container {
    margin: 0 auto;
    padding: 0;
    position: relative;
}


#logo {
    text-align: center; /* mobil */
}
#logo img {
    height: 57px;
}


#gyorsinfo {
    text-align: center;
    margin: 5px 0;
    line-height: 25px;
}
#gyorsinfo span { /* telefonszám */
    padding-left: 24px;
    display: inline-block;
    background: transparent url(imgs/phone20.png) no-repeat center left;
}

/*width: mob:580 (téglalap alakú!), s:580, m:700, l:900, xl:1100 */
#cimfoto {
    position: relative;
    z-index: -1; /* hogy a tartalom "ráhúzható" legyen */
    margin-bottom: 10px;

    /* box shadow csak mobil nézetben lesz*/
    -webkit-box-shadow: 0 10px 6px -6px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 10px 6px -6px rgba(0,0,0,0.5);
    box-shadow: 0 10px 6px -6px rgba(0,0,0,0.5);
}

.lap {
    position: relative;
    z-index: 1;
}

/* mobilon megjelenő menüsáv */
#menuheader {
    cursor: pointer;
    background: #454545;
    margin: 0 0 10px 0;
    padding: 10px 10px 10px 20px;
    color: white;
    line-height: 30px;
}
#menuheader span {
    vertical-align: middle;
    padding-right: 28px;
    background: transparent url(imgs/opener.png) no-repeat center right;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 112.5%;
}

/* -------------------- */

#menuitems {
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: bold;
    font-size: 112.5%;
    color: #686868;
    display: none;
    white-space: nowrap;
}


#menuitems a {
    display: block;
    margin: 0;
    padding: 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activecolor,
#menuitems a:hover {
    color: #4294BD !important; /* #5FA2D2 */
}


/* a fő menüpontok */
#menuitems > div {
    border-bottom: 1px solid #DCDCDC;
    cursor: pointer;
}
#menuitems > div:first-child {
    border-top: 1px solid #DCDCDC;
}


/* almenük */
#menuitems > div > div {
    margin-left: 20px;
    font-size: 94.44%;
    position: relative;
}
#menuitems > div > div > div {
    border-top: 1px dashed #DCDCDC;
}
#menuitems > div > div > div a:before {
    content: ' ';
    width: 4px;
    height: 4px;
    background: gray;
    display: inline-block;
    margin: 0 8px 0 0;
    position: relative;
    top: -4px;
}


/* -------------------- */


#content {
    margin-top: 20px;
    line-height: 30px;
}


/* -------------------- */


#footer {
    position: relative;
}


.footershadow {
    min-height: 50px;
    position: relative;
    border-bottom: 1px solid #EAEAEA;
    background-color: white; /* getFooter() $img paramétere képpel helyettesítheti */
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    line-height: 0;
}
.footershadow:before, .footershadow:after
{
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 18px;
    left: 10px;
    width: 70%;
    top: 30%;
    max-width: 500px;
    background: #FFF;
    -webkit-box-shadow: 0 15px 10px #777;
    -moz-box-shadow: 0 15px 10px #777;
    box-shadow: 0 15px 10px rgba(0,0,0,0.5);
    -webkit-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
    -o-transform: rotate(-2deg);
    -ms-transform: rotate(-2deg);
    transform: rotate(-2deg);
}
.footershadow:after
{
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    -o-transform: rotate(2deg);
    -ms-transform: rotate(2deg);
    transform: rotate(2deg);
    right: 10px;
    left: auto;
}

#footer_content {
    font-size: 75%;
    margin: 20px 0;
    height: 20px;
    line-height: 20px;
}

#footer_content span { /* |dividers */
    display: inline-block;
    padding: 0 1em;
}

#fb-root {
    display: none;
}
.fb-like {
    float: right;
}


.gplusbutton {
    float: right;
}


/* -------------------------------------------------------------------------- */
/* -------------------------- MINDEN, AMI NEM MOBIL ------------------------- */

@media all and (min-width: 620px) {
    .mobinfotext {
        display: none;
    }
    .header {
        padding: 10px 0;
    }
    .header_left {
        float: left;
    }
    .header_right {
        float: right;
    }
    #logo img {
        display: block;
    }
    #gyorsinfo {
        margin: 0;
        line-height: 29px;
        text-align: right;
    }
    #cimfoto {
        margin: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    #mainmenu {
        width: 20%;
        float: left;
    }
    #menuheader {
        display: none;
    }
    #menuitems { /* akkor is jelenjen meg, ha mobilnézetben elrejtette JS */
        display: block !important;
    }
    #content {
        width: 80%;
        float: right;
        margin-top: 0;
    }
    .gallery {
        text-align: left; /* inline block képek igazítása */
    }
}












/* -------------------------------------------------------------------------- */
/* -------------------------- MIN-WIDTH: 620 > 799 -------------------------- */

@media all and (min-width: 620px) and (max-width: 799px) {
    body {
        font-size: 14px;
    }

    p {
        margin: 6px 0;
    }

    h2 {
        margin: 12px 0 2px 0;
    }

    #main_container {
        width: 580px;
    }

    #logo img {
        height: 50px;
    }

    #gyorsinfo {
        line-height: 25px;
    }

    #cimfoto .prop_pic_kep {
        background-image: url(imgs/cimfoto_s.jpg) !important;
    }

    .lap {
        margin-top: -8px;
    }

    #menuitems > div > div > div > a {
        padding: 6px 0;
    }

    #content {
        padding: 0 0 0 20px;
        line-height: 26px;
    }
}










/* -------------------------------------------------------------------------- */
/* -------------------------- MIN-WIDTH: 800 > 999 -------------------------- */

@media all and (min-width: 800px) and (max-width: 999px) {
    body {
        font-size: 15px;
    }

    p {
        margin: 6px 0;
    }

    h2 {
        margin: 12px 0 2px 0;
    }

    #main_container {
        width: 700px;
    }

    #cimfoto .prop_pic_kep {
        background-image: url(imgs/cimfoto_m.jpg) !important;
    }

    .lap {
        margin-top: -10px;
    }

    #menuitems > div > div > div > a {
        padding: 8px 0;
    }

    #content {
        padding: 0 0 0 25px;
        line-height: 28px;
    }
}















/* -------------------------------------------------------------------------- */
/* ------------------------- MIN-WIDTH: 1000 > 1199 ------------------------- */

@media all and (min-width: 1000px) and (max-width: 1199px) {
    body {
        font-size: 16px;
    }

    p {
        margin: 8px 0;
    }

    h2 {
        margin: 16px 0 4px 0;
    }

    #main_container {
        width: 900px;
    }

    .lap {
        margin-top: -15px;
    }

    #cimfoto .prop_pic_kep {
        background-image: url(imgs/cimfoto_l.jpg) !important;
    }

    #content {
        padding: 0 0 0 30px;
        line-height: 28px;
    }
}












/* -------------------------------------------------------------------------- */
/* ----------------------- MIN-WIDTH: 1200 > FELFELÉ ------------------------ */

@media all and (min-width: 1200px) {
    body {
        font-size: 18px;
    }

    p {
        margin: 10px 0;
    }

    h2 {
        margin: 16px 0 4px 0;
    }

    #main_container {
        width: 1100px;
    }

    #cimfoto .prop_pic_kep {
        background-image: url(imgs/cimfoto_xl.jpg) !important;
    }

    .lap {
        margin-top: -20px;
    }

    #content {
        padding: 0 0 0 30px;
        line-height: 34px;
    }
}