@font-face {    font-family: myFont;   src: url("RobotoCondensed-Light.ttf") format("truetype");}
@font-face {    font-family: myFontB;   src: url("RobotoCondensed-Regular.ttf") format("truetype");}

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

a {
    text-decoration: none;
    color: white;
    vertical-align: top;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
}


html, body {
    font-family: myFont;
    font-weight: 500;
	font-size: 18px;
	background: white;
	color: black;  
    height: 100%;
	margin: 0;
    padding: 0;
}


h1, p {
    font-family: myFont;
    font-weight: 500;
	font-size: 1.25rem;
}

.wrapper {
    font-size: 0px;
    position: relative;
}

.apl, .apl2 {
    display: none;
    opacity: 0;
}

#divBody {
    width: 100%;
    height: 100%;
}

#divMain {
    width: 100%;
    height: 100%;
    position: relative;
    background: #f0f0f0;
}

.textBox {
    line-height: 1.5rem;
    font-size: 1rem;
    font-family: MyFont;
    padding: 40px;
}

.textBox b {
    font-family: MyFontB;
    line-height: 2rem;
    font-size: 1.5rem;
} 

.titleBox {
    font-family: MyFontB;
    line-height: 1.5rem;
    font-size: 1.75rem;
}



.divNextPage {
    position: absolute;
    -webkit-transform: translateZ(0);
    bottom: 0;
    left: 50%;
    color: black;
    background: white;
    border: 1px solid #a0a0a0;
    line-height: 32px;
    padding: 5px 32px;
    opacity: 0;
    transform: translate(-50%, 0);
    font-family: MyFontB;
    font-size: 1rem;
    transition: padding .3s;
    cursor: pointer;
    border-radius: 200px 200px 0 0;
    z-index: 100;
}

.divNextPage:hover {
    padding: 10px 32px;
}


.imgDown {
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: top;
    margin-right: 8px;
}

#divRolunkText {
	position: absolute;
    top: 0;
    left: 15px;
    width: 33%;
    height: 100%;
    background: #83B14F;
    background: linear-gradient(rgba(131,177,79,0.9), rgba(115,156,69,0.9));
    color: white;
    opacity: 0;
    line-height: 1.5rem;
    font-size: 1rem;
}

#divRolunkText b {
    line-height: 2rem;
    font-size: 1.75rem;
    
}


.line {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.5);
}



#divSVG {
  position: absolute;
  right:0;
  height: 100%;
  font-size: 0;
}

.mainBody {
    position: absolute;
    top: 0;
    left: 0;
}

#imgMain {
    width: 100%;
    height: 100%;
    opacity: 0;
}

#svgMain line {
  stroke-dasharray:1000;
  stroke-dashoffset:1000;
  animation: draw 3s alternate;
}



@keyframes draw {
  to {
  stroke-dashoffset:0;
  }
}

#divProjekt {
    position: relative;
    min-height: 100%;
    width: 100%;
    overflow: hidden;
    font-size: 0;
}

#divProjektText {
	position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    background: #987F47;
    background: linear-gradient(rgba(173,145,81,0.9), rgba(133,111,62,0.9));
    color: white;
    height: 100%;
    transition: right 1s ease-out;
	cursor: pointer;
}

#divProjektText[hided="1"] {
	right: -37%;
}

#divProjektTitle {
    position: absolute;
    top: 50px;
    left: 0;
    color: white;
    background: linear-gradient(#83B14F, #739C45);
    line-height: 50px;
    padding: 10px 50px 10px 100px;
	border-radius: 0 50px 50px 0;
    transition: left 1s ease-out;
	cursor: pointer;
}

#divProjektTitle[hided="1"] {
	left: -235px;
}

#divProjektTitle[hided="1"]:hover {
	left: -225px;
}

#imgProjekt {
    opacity: 1;
}

#divEpuletek {
    position: relative;
    min-height: 100%;
    width: 100%;
    overflow: hidden;
    font-size: 0;
}

#divEpuletekText {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    background: #486972;
    background: linear-gradient(rgba(85,124,135,0.9), rgba(60,87,94,0.9));
    color: white;
	height: 100%;
    transition: left 1s ease-out;
	cursor: pointer;
}

#divEpuletekText[hided="1"] {
	left: -37%;
}

#divEpuletekTitle {
    position: absolute;
    top: 50px;
    right: 0;
    color: white;
    background: linear-gradient(#83B14F, #739C45);
    line-height: 50px;
    padding: 10px 100px 10px 50px;
	border-radius: 50px 0 0 50px;
    transition: right 1s ease-out;
	cursor: pointer;
}


#divEpuletekTitle[hided="1"] {
	right: -265px;
}

#divEpuletekTitle[hided="1"]:hover {
	right: -255px;
}


#imgEpuletek {
    opacity: 1;
}


#divContact {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 500px;
/*
    background: #83B14F;
    background: linear-gradient(#83B14F, #739C45);
*/
    background: #486972;
    background: linear-gradient(#557C87, #3C575E);


}

#divContactText {
    position: absolute;
    left: 50px;
    /* width: 50%; */
    top: 110px;
    color: white;
    line-height: 1.5rem;
    font-size: 1rem;
}

#divContactTitle {
position: absolute;
    top: 50px;
    left: 50px;
    color: white;
}

#divContactText b {
    font-family: MyFontB;    
}


.divIcon {
    display: inline-block;
    width: 32px;
    height: 32px;    
    margin-top: -4px;
    vertical-align: top;
}

.divIcon2 {
    margin-top: 2px;
}


#divAddr {
    position: relative;
    width: 29%;
    left: 29%;
    overflow: hidden;
    height: 500px;
    background: #83B14F;
    background: linear-gradient(#83B14F, #739C45);
}

#divAddrText {
position: absolute;
    left: 50px;
    width: 75%;
    top: 50px;
    color: white;
    line-height: 2rem;
    font-size: 1.75rem;
    font-family: MyFont;
}

#divAddrText b {
    font-family: MyFontB;
}


#divCoMap {
    position: absolute;
    width: 42%;
    left: 58%;
    top: 0;
    overflow: hidden;
    height: 500px;
}

#divMap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
}

#divBigMap {
    border: 2px solid black;
    width: 150px;
    height: 33px;
    left: 5%;
    bottom: 5%;
    display: inline-block;
    cursor: pointer;
    position: absolute;
    color: black;
    background: none;
    text-align: center;
    font-family: myFontB;
    font-size: 1rem;
    line-height: 30px;
    z-index: 5;
    
}


.imgBackground {
    min-width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
}


#divFlats {
    padding-top: 50px; 
    font-size: 0;
    position: relative;
    min-height: 100%;
    width: 100%;
    overflow: hidden;
    font-size: 0;
}

#divFlatsTitle {
    position: absolute;
    top: 50px;
    right: 50px;
    color: black;
}
/* lakás selectorok */

#divSelectors {
    width: 240px;
    margin-left: 50px;
    font-size: 0;
    display: inline-block;
    vertical-align: top;
}

.selector {
    border: 1px solid #e0e0e0;
    margin: 0 0 10px 10px;
    padding: 10px;
    width: 100px;
    height: 100px;
    display: inline-block;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease-out, color 0.3s ease-out, border 0.3s ease-out;
    color: black;
    background: white;
}

.selector[act="1"]{
    color: white;
    background: black;
}

.selector[act="0"]:hover{
    border: 1px solid #707070;
}

/*
.svgSel {
    position: absolute;
    top: 0;
    left: 0;
    width: 80;
    height: 80;
}

.rectSel {
  stroke-dasharray:100;
  stroke-dashoffset:400;
  animation: buttn 3s alternate linear infinite;
  animation-play-state: paused;
  transition: opacity 0.2s;
  opacity: 0;
}

@keyframes buttn {
  to {
  stroke-dashoffset:0;
  }
}

.selector[act="0"] .svgSel:hover .rectSel, .selector2[act="0"] .svgSel:hover .rectSel 
 {
  animation-play-state: running;
  opacity: 1;
}
*/

.sel1 {
    width: 80px;
    text-align: center;
    font-family: myFontB;
    font-size: 64px;
    line-height: 64px;
}

.sel2 {
    width: 80px;
    text-align: center;
    font-family: myFont;
    font-size: 12px;
    letter-spacing: 8px;
    line-height: 12px;
}


/* rajz selectorok */

#divSelectors2 {
    width: 940px;
    margin-left: 290px;
    font-size: 0;
    display: inline-block;
    vertical-align: bottom;
}

.selector2 {
    border: 1px solid #e0e0e0;
    margin: 0 10px 0 0;
    width: 225px;
    height: 40px;
    display: inline-block;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease-out, color 0.3s ease-out, border 0.3s ease-out;
    color: black;
    background: white;
    text-align: center;
}

.selector2[act="1"]{
    color: white;
    background: black;
}

.selector2[act="0"]:hover{
    border: 1px solid #707070;
}

/*
.svgSel2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 225;
    height: 40;
}
*/

.sel3 {
    width: 225px;
    text-align: center;
    font-family: myFont;
    font-size: 1rem;
    line-height: 40px;
    cursor: pointer;
}

.sel3.b {
    font-family: myFontB;
}

.imgDraw {
    max-width: 940px;
    display: none;
    vertical-align: top;
    margin-bottom: 50px;
}

.imgDraw[act="1"] {
    display: block;
}


/* Map image-ek */

#divMaps {
    display: block;
    width: 940px;
    height: 210px;
    position: relative;
    border: 1px solid #e0e0e0;
    display: inline-block;
    position: relative;
    vertical-align: top;
    overflow: hidden;
}

.imgMap {
    width: 952px;
    height: 213px;
    position: absolute;
    display: none;
}

.imgMap[act="1"] {
    display: block;
}

.m20 {
    right: 0; 
    top: 0;
    position: absolute;
    color: black;
    font-family: myFont;
    font-size: 0.875rem;
    padding: 15px;
}


.m2 {
    right: 0; 
    top: 16px;
    position: absolute;
    color: black;
    font-family: myFontB;
    font-size: 1.5rem;
    display: none;
    padding: 15px;
}


.m2[act="1"] {
    display: block;
}


.divDrawings {
    display: none;
    opacity: 0;
    margin-left: 290px;
    margin-top: 30px;
}

.divDrawings[act="1"] {
    display: block;
    opacity: 1;
}    

#imgDwn {
    vertical-align: top;
    width: 32px;
    height: 32px;
    margin-top: 3px;   
}

.smallImgCont {
    position: absolute;
    left: 30px;
    bottom: 30px;
    width: 210px;
    height: 510px;
    z-index: 1;
    cursor: pointer;
}

.smallImgCont.two {
    height:260px;
}

.smallImgCont.r {
    right: 30px;
    left: inherit;
}


.smallImg {
    width: 210px;
    height: 110px;
    margin-top: 20px;
    border: 5px solid black;
    position: relative;
    transition: border 0.3s ease-out;
}

.smallImg:hover {
    border: 5px solid white;
}

.smallImg[act="1"] {
    border: 5px solid white;
} 


.smallImg img {
    width: 200px;
    height: 100px;
}

@media all and (min-width: 1366px) {
	.wrapper {width: 1366px; margin: 0 auto;}
}

@media all and (max-width: 1366px) {
	.wrapper {width: 100%; left:0px;}
    #divProjektText, #divEpuletekText{ font-size: 0.875rem;line-height: 1.25rem;}
    #divEpuletekText {width: 41%;}
}


@media all and (max-width: 1250px) {
	.wrapper {width: 100%; left:0px;}
	#divMaps        {margin-left: 0; width: 100%; height: auto;}
	.imgMap        {position: relative;}
	#divSelectors  {margin-left: 0; margin-top: 5px; width: 480px;}
	#divSelectors2  {margin-left: 0; margin-top: 5px; width: 100%;}
	.selector2      {width: 22%;}
	.sel3           {width: inherit;padding-left: 15px;}
	#imgDwn         {display: none;}
	.divDrawings    {margin-left: 0; width: 100%;}
	.imgDraw        {max-width: 100%; width: auto;}
	#divContactTitle, #divContactText, #divAddrText {left: 20px;}
}

@media all and (max-width: 1024px) {
    .divNextPage {display: none;}
    #divSVG {position: relative;}
    #divMain {height: auto;}
    #divRolunkText {width: 35%; left:0;}
    #divProjektText {width: 45%;}
    #divEpuletekText {width: 50%;}
    #divProjektText[hided="1"] { right: -41%;}
    #divEpuletekText[hided="1"] { left: -46%;}
    
}

@media all and (max-width: 768px) {
	.wrapper    {width: 100%; left:0px;}
	#divAddr    {left: 50%; width: 50%;}
	#divContact {height: 1000px;}
	#divCoMap   {position: relative; left: 0; width: 100%;}
    #divEpuletekText {width: 52%;}
    #divEpuletekText[hided="1"] { left: -48%;}
    #divRolunkText {width: 47%;}
}

@media all and (max-width: 767px) {
    #divSVG {height: inherit;}
    #divRolunkText, #divProjektText, #divEpuletekText {position: relative; width: 100%;}
    .smallImgCont {display: none;}
    .imgBackground {height: inherit; position:inherit; left: 0; transform: inherit; width: 100%;}
    #divProjektTitle, #divEpuletekTitle {
        position: static; top: inherit; left: inherit; right: inherit; padding: 30px; border-radius: inherit; transition: inherit; cursor: inherit;   
    }
    .textBox {padding: 30px;}
    #divProjektText, #divEpuletekText{ font-size: 1rem; line-height: 1.5rem;}

    #divFlats {padding-top: 10px;}
    #divSelectors {margin-top: 0; width: 240px;}
    .selector2 {border: none; width: 100%;}
    #divMaps {border: none; height: 80px;}
    .imgMap {display: none;}
    .m20, .m2 {right: inherit; left: 0;}
    #divContact {height: auto;}
    #divContactTitle, #divContactText {left: 0; position: static; padding: 30px 30px 0 30px;}
    #divAddr {left: 0; width: 100%; margin-top: 30px; padding: 30px; height: auto;}
    #divAddrText {font-size: 1.75rem; width: 100%; position: static;} 
    
    
}