@charset "UTF-8";

/* Layout Small Screens */

/*  all pages */
body
{
    margin:0;
    padding:0;
    height: 100%;
}

header {
    position: relative;
    top: 30px;
}

#fayart_logo {
    height: 65px;
}
.fayart_logo_letters {
    height: 65px;
    font-size: 60px;
    line-height: 62px;
}

#fayart_compname {
    width: calc(100% - 10px);
    margin-left: 5px;
    height: 25px;
}

.fayart_compname_letters {
    position: relative;
    display:inline-block;
    height: 18px;
    font-size: 18px;
    line-height: 18px;
    margin:0px;
    padding: 0px;
}

nav {
    position: fixed;
    width: 100%;
    height: 50px; 
    right: 0px;
    background-image: url(../images/hambButton.png);
    background-position-x: calc(100vw - 55px);
    background-repeat: no-repeat;
    color: #ffffff;
    display: block;
    top: 0;
    margin:0px;
    padding:0px;
    z-index: 3;
    background-color: #ffffff;
}

nav:hover,nav:active {
    background-color: #666666;
    height: 400px;
    width: 150px;
    right: 0px;  
    padding-top: 50px;
}

nav a{
    visibility: hidden;
    height: 0px;
}

nav a:hover {
    color: #000000;
    background-color: #aaaaaa;
}

nav a:active {
    color: #000000;
    background-color: #aaaaaa;
}

nav:hover a, nav:active a{
    visibility: visible;
    padding:10px;
    padding-left: 20px;
    color: #ffffff;
    width: 80vw;
    height: 20px;
    display: block;
}   

header {
    position: relative;
    top: 50px;
    display: block;
}

main {
    position: relative;
    top: 50px;
    overflow: hidden;
}

/* individual pages*/

#mainpagepic {
    position:relative;
    width: 100%;
    height: calc(100vh - 50px - 23px - 65px - 25px);
    background-image: url(../images/mainpage_large.jpg); 
    background-size: 500px auto;
    background-repeat: no-repeat; 
    background-position-x: center;
}

/* elérthetőség */

#contactOuterWrapper {
    width: 100vw;
}

#contactWrapper {
    width: calc(100% - 10px);
    margin-left: 5px;
}

#contactTextBox {
    width: 100%;  
    height: 500px;
    margin-bottom: 10px;
    margin-left: 5px;
}

#fayartMaps {
    width: 100vw;  
    display:inline-block;
}
#terenymap {
    height: 300px;
    width: calc(100% - 40px);  
    display:block;
    margin: 20px;
}
#tereny {
    position: absolute;
    height: 300px;
    width: 100%;  
    z-index: 0;
}
#terenyLabel {
    position: absolute;
    margin-top:20px;
    margin-left:calc(100% - 120px);
    color: white;
    z-index: 1;   
}
#budapestmap {
    height: 300px;
    width: calc(100% - 40px);   
    display:block;
    margin: 20px;
}
#budapest {
    position: absolute;
    height: 300px;
    width: 100%;  
    z-index: 0;
}
#budapestLabel {
    position: absolute;
    margin-top:20px;
    margin-left:20px;
    color: black;
    z-index: 1;   
}

/* bemutatkozás */

#whoweareWrapper {
    width: 100%;
    height: calc(100vh - 50px - 65px - 25px - 23px);
}

#whoweare-pic1 {
    width: 100%;
    height: calc(100% * 0.49 - 231px * 0.49);
    background-image: url(../images/bemutatkozas_kep1_large.jpg);
    background-size: 100% auto;
}

#whoweare-text {
    position: relative;
    width: calc(100% - 40px);
    height: 210px;
    padding: 10px 20px 10px 20px;
    display: block;
}

#whoweare-pic2 {
    width: 100%;
    height: calc(100% * 0.49 - 231px * 0.49);
    background-image: url(../images/bemutatkozas_kep2_large.jpg);
    background-size: 100% auto;
    background-position-y: bottom;

}

/* munkatarsak */

#munkatarsak_bigpic {
    position: relative;
    width: 100%;
    height: 150px;
    background-size: 100% auto;
    background-position-x: center;
    background-position-y: 30%;
    background-repeat: no-repeat;
    margin-bottom: 10px;
    margin-left: 5px;
    float: none;
}

#munkatarsak_terviroda_wrapper {
    position: relative;
    display: block;
    float: none;
    width: calc(100% - 10px);
    height: auto;
    overflow: hidden;
}

#munkatarsak_fd_wrapper {
    float: left;
    width: 100%;
    height: auto;
    overflow: hidden;
    max-width: 100%;
    margin-left: 5px;
}

#munkatarsak_fd_pic {
    position: relative;
    float:left;
    width: 45%;
    background-position-x: 40%;
    height: 170px;
}

#munkatarsak_fd_text {
    float: right;
    width: calc(55% - 10px);
}

#munkatarsak_fp_wrapper {
    width: 100%;
    height:auto;
    display:block;
    float:left;
    overflow: hidden;
    margin-top: 20px;
    margin-left: 5px;
    min-width: 0;
    background-color: #dddddd;
}

#munkatarsak_fp_wrapper:after {
    display: block;
    content: ".";
    clear: both;
    height: 0;
    visibility: hidden;
}

#munkatarsak_fp_pic {
    position: absolute;
    right: 5px;
    width: calc(45% - 10px);
    margin-right: 0px;
}

#munkatarsak_fp_name {
    width: 55%;
    float: left;
}
#munkatarsak_fp_licences {
    position: relative;
    float: left;
    top: 0px;
    margin-top: 10px;
    height: auto;
    overflow: hidden;
    width: calc(100% - 10px);
}

#munkatarsak_fj_wrapper {
    position: relative;
    display: block;
    float: left;
    width: calc(100% - 10px);
    height: auto;
    margin-top:20px;
    margin-left: 5px;
}

#munkatarsak_title {
    display: box;
}

#munkatarsak_fj_text{
    position: relative;
    width: 60%;
    float: right;
}
#munkatarsak_fj_pic {
    position: relative;
    float: left;
    bottom: auto;
    right: auto;
    width: 40%;
    height: 120px;
    background-position-x:left;
    background-position-y: 10%;
    background-size: 80% auto;
}

/* tevekenysegek */

#tevekenysegekWrapper {
    width: 100%;
    height: calc(100vh - 50px - 65px - 25px - 23px);
}

#tevekenysegek-pic1 {
    width: 100%;
    height: calc(100% * 0.49 - 291px * 0.49);
    background-size: 100% auto;
    background-position-y: top;
}

#tevekenysegek-text {
    position: relative;
    width: calc(100% - 20px);
    height: 270px;
    padding: 10px 10px 10px 10px;
    display: block;
}

#tevekenysegek-pic2 {
    width: 100%;
    height: calc(100% * 0.49 - 291px * 0.49);
    background-size: 100% auto;
    background-position-y: bottom;

}

/* referenciak */

#ref-picsidebar {
    display:none;
}
#reftext {
    width: 100%;
    float: none;
}
#reftext.refpics {
    display: block;
}

.refyear {
    position: relative;
    display:block;
    width: calc(100%-10px);
    margin-left: 5px;
    
}

.refpics {
    position: relative;
    display: block;
    width: 100%;
    height: 150px;
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 1em;
}

#ref-pic21 {
    height: 150px;
    background-image: url(../images/referenciak-pic1_large.jpg);
}

#ref-pic22 {
    height: 150px;
    background-image: url(../images/referenciak-pic2_large.jpg);
}

#ref-pic23 {
    height: 150px;
    background-image: url(../images/referenciak-pic3_large.jpg);
}
#ref-pic24 {
    height: 150px;
    background-image: url(../images/referenciak-pic4_large.jpg);
}

#ref-pic25 {
    height: 150px;
    background-image: url(../images/referenciak-pic5_large.jpg);
}
#ref-pic26 {
    height: 150px;
    background-image: url(../images/referenciak-pic6_large.jpg);
}
#ref-pic27 {
    height: 150px;
    background-image: url(../images/referenciak-pic7-8-9-10_large.jpg);
}
#ref-pic28 {
    height: 150px;
    background-image: url(../images/referenciak-pic11_large.jpg);
}
#ref-pic29 {
    height: 150px;
    background-image: url(../images/referenciak-pic12_large.jpg);
}
#ref-pic30 {
    height: 150px;
    background-image: url(../images/referenciak-pic13_large.jpg);
    margin-bottom: 0;
}

#uc_fjpic {
    width: 100%;
    height: calc( 50vh - 50px * 0.5 - 22px * 0.5 - 65px * 0.5 - 25px * 0.5);
    background-size: 100% auto;
    float: none;
}

#uc_text {
    top: calc( 50vh - 50px * 0.5 - 22px * 0.5 - 65px * 0.5 - 25px * 0.5 - 40px);
}

#uc_gyikpic {
    width: 100%;
    height: calc( 50vh - 50px * 0.5 - 22px * 0.5 - 65px * 0.5 - 25px * 0.5 - 1px);
    background-size: 100% auto;
    float: none;
}

/* impresszum */

#imprWrapper {
    width: 100%;
    height: calc(100vh - 50px - 65px - 25px - 23px);
}

#impr-pic1 {
    width: 100%;
    height: calc(100% * 0.49 - 331px * 0.49);
    background-image: url(../images/bemutatkozas_kep1_large.jpg);
    background-size: 100% auto;
}

#impr-text {
    position: relative;
    width: calc(100% - 40px);
    height: 310px;
    padding: 10px 20px 10px 20px;
    display: block;
}

#impr-pic2 {
    width: 100%;
    height: calc(100% * 0.49 - 331px * 0.49);
    background-image: url(../images/bemutatkozas_kep2_large.jpg);
    background-size: 100% auto;
    background-position-y: bottom;

}
