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

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectable {
    -webkit-touch-callout: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}


/* 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;
    outline: none;
}
a img {
    border: none; /* IE */
}
a:active,
a:visited {
    background: inherit;
    color: inherit;
}


.weblink,
.telszam {
    color: #39C600 !important;
    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;
    color: #BD40AF;
}


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


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;
}


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

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;
    /*overflow: hidden;*/
}


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


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


#cimfoto {
    position: relative;
    z-index: -1; /* hogy a tartalom "ráhúzható" legyen */
    margin-bottom: 10px;
    -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;
}

/* ---- */


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


/* ---- */


#footer {
    position: relative;
}


.footershadow
{
    height: 50px;
    position: relative;
    background: white;
    border-bottom: 1px solid #EAEAEA;
}
.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 20px 0;
    height: 20px;
    line-height: 20px;
}


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


#footer_content #activeuser {
    display: inline-block;
    /*float: right;*/
    color: #D07E39;
}

#fb-root {
    display: none;
}


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


/* minden, ami nem mobil */
@media all and (min-width: 620px) {
    .mobinfotext {
        display: none;
    }
    .header {
        padding: 10px 0 0 0;
    }
    .header_left {
        float: left;
    }
    .header_right {
        float: right;
    }
    #logo img {
        display: block;
    }
    #gyorsinfo {
        margin: 0;
        /*line-height: 25px;*/
        text-align: right;
    }
    #cimfoto {
        margin: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    /* A csak mobilon megjelenő tartalmak a content alján (partnerek, facebook). */
    #content #mobileonly {
        display: none;
    }

    #content {
        margin-top: 0;
    }
    .gallery {
        text-align: left; /* inline block képek igazítása */
    }
}












/* -------------------------------------------------------------------------- */
/* 620-tól 799-ig */

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

    p {
        margin: 7px 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;
    }

    #content {
        line-height: 26px;
    }
}



















/* -------------------------------------------------------------------------- */
/* 800-tól 999-ig */

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

    p {
        margin: 9px 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;
    }

    #content {
        line-height: 28px;
    }
}















/* -------------------------------------------------------------------------- */
/* 1000-től 1199-ig */

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

    p {
        margin: 16px 0;
    }

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

    #main_container {
        width: 900px;
    }

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

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

    #content {
        line-height: 28px;
    }
}












/* -------------------------------------------------------------------------- */
/* 1200-tól */

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

    p {
        margin: 16px 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 {
        line-height: 34px;
    }
}