/*tło*/
html {
    background-color: #eeeeee;
}

.doklik{
    cursor: pointer;
}

/*plany*/
#plany svg:nth-child(1){
    display: none;
}

#plany svg:nth-child(3){
    display: none;
}

#plany svg:nth-child(4){
    display: none;
}

#plany svg:nth-child(5){
    display: none;
}

/*logo i tytuł strony*/
.hofflogo{
    text-decoration: none;
    color:black;
    float: left;
    top:10px;
    left:10px;
    width: 300px;
    font-size: 18px;
    font-family: "Cormorant Upright";
    font-style: italic;
}

.hofflogo img{
    margin-right: 10px;
    margin-top: 0px;
    width: 50px;
    float: left;
}

h1{
    top: 10px;
    font-family: sans-serif;
    text-align: center;
    font-weight: normal;
    font-family: "Roboto";
    font-weight: lighter;
    font-size: 50px;
}

h1 b{
    text-transform: uppercase;
    font-weight: 400;
}

/*wyszukiwanie*/
body input{
    height: 50px;
    border-radius: 0px;
    border: 1px solid black;
    top: 80px;
    left: 10px;
    padding-left: 10px;
    font-size: 20px;
    font-family: 'Roboto';
}

#wyniki_wyszukiwania{
    top: 140px;
    left: 10px;
    border-radius: 0px;
    border: solid 1px black;
    height: calc(100% - 170px);
    overflow-x: hidden;
}

#wyniki_wyszukiwania div{
    font-size: 30px;
    border-bottom: solid 1px rgb(128, 128, 128);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    background-color: white;
    font-family: "Roboto";
    font-weight: 300;
    color:rgb(70, 70, 70);
}

.szukaj {
    display: none;
}

/*guziki góra-dół*/
#guziki{
    font-family: 'Roboto';
}

#guziki img {
    width: 100%;
}

/*numer aktualnego piętra*/
#pietro_div{
    width: 100%;
    text-align: center;
    font-size: 30px;
    font-family: sans-serif;
}

/*okna*/
/*wszystkie*/
.okno{
    display: none;
    overflow: hidden;
}

.okno h1{
    top:10px;
    font-size: 50px;
    text-align: center;
    font-weight: normal;
    float: center;
    font-family: "Roboto";
    font-weight: lighter;
    margin:0;
}

.krzyzyk{
    position: absolute;
    right:10px;
    top: 10px;
    width: 30px;
    height: 30px;
}

.opis {
    font-size: 20px;
    text-align: justify;
}

/*sala 1*/
#sala1,#sala5{
    position: absolute;
    margin: 0;
    background-color: #eeeeee;
}

#sala1 .zdjecia img{
    margin-top:0;
    margin-left:0;
    margin-right: 0;
    margin-bottom: 10px;
}

/*sala 2*/
#sala2{
    position: absolute;
    margin: 0;
    background-color: #eeeeee;
}

#sala2 .opis{
    width: calc(100% - 20px);
    position: absolute;
    top: 70px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: calc(100% - 80px);
}

/*sala 3*/
#sala3{
    position: absolute;
    background-color: #eeeeee;
    padding: 0 8px 20px 8px;
}

#sala3 iframe{
    display: block;
    margin-top: 20px;
    width: 100%;
    height: 40%;
}

/*sala 4*/
#sala4, #sala5{
    position: absolute;
    margin: 0;
    background-color: #eeeeee;
}

#sala4 .opis, #sala5 .opis{
    width: calc(100% - 20px);
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    height: calc(50% - 40px);
}

#sala4 iframe, #sala5 iframe{
    margin-top: 10px;
    width: calc(100% - 20px);
    height: 50%;
    margin-left:10px;
}

/*sala 5*/

#sala5 .opis{
    margin-top: 20px;
    text-align: center;
}

/*dostosowanie strony do różnych urządzeń*/
/*komputery i tablety w poziomie*/
@media only screen and (min-width: 801px){
    #plany svg {
        position: absolute;
        top:70px;
        left:320px;
        width: calc(100% - 420px);
        height: calc(100% - 120px);
        background-color: #ffffff;
        border-radius: 40px;
        margin-top: 10px;
        border: 1px solid black;
        padding: 15px 0;
    }
    body input {
        position: absolute;
        width: 300px;
    }
    #wyniki_wyszukiwania {
        position: absolute;
        width: 300px;
    }
    #guziki {
        position: absolute;
        right: 10px;
        width: 50px;
        padding: 10px;
        height: 95px;
        top: calc(50% - 42.5px);
        border-radius: 60px;
        border: solid 1px black;
        background-color: white;
    }
    h1 {
        margin-right: 80px;
    }
    /*ustawienia szerokości i wysokości okienek (desktop)*/
    #sala1{
        top: 15%;
        left: 20%;
        width: 60%;
        height: 70%;
    }
    #sala1 iframe{
        position: absolute;
        top:70px;
        left:10px;
        width: calc(50% - 15px);
        height: calc(70% - 75px);
    }
    
    #sala1 .opis{
        position: absolute;
        bottom: 10px;
        left: 10px;
        width: calc(50% - 15px);
        height: calc(30% - 15px);
    }
    
    #sala1 .zdjecia{
        position: absolute;
        right: 10px;
        width: calc(50% - 15px);
        height: calc(100% - 80px);
        top:70px;
        bottom: 10px;
        overflow-y: scroll;
    }
    #sala1 .zdjecia img{
        width: 100%;
    }
    #sala2 {
        top: 30%;
        left: 27.5%;
        width: 45%;
        height: 40%;
    }
    #sala3{
        width: 30%;
        height: 70%;
        top: 15%;
        left: 35%;
    }
    #sala4 {
        top: 17.5%;
        left: 35%;
        right: 35%;
        bottom: 17.5%;
        width: 30%;
        height: 65%;
    }
    #sala4 .opis{
        font-size: 15px;
    }
    #sala5{
        width: 40%;
        left: 30%;
        top: 20%;
        height: 60%;
    }
}

/*tablety w pionie i telefony*/
@media only screen and (max-width: 800px){
    .hofflogo span{
        display: none;
    }
    #plany svg {
        width: 90%;
        padding: 20px 5%;
        background-color: #ffffff;
        border-radius: 25px;
        margin-top: 10px;
        border: 1px solid black;
    }
    #guziki {
        position: absolute;
        width: 9%;
        right: 4%;
        top: 20%;
    }
    body input {
        width: 99.5%;
        margin: 10px auto;
    }
    #wyniki_wyszukiwania {
        width: 99%;
        margin: 0 auto;
    }
    .hofflogo img{
        position: absolute;
        left: 10px;
    }
    h1 {
        margin-bottom: 10px;
    }
    /*ustawienia szerokości i wysokości okienek (mobile)*/
    #sala1, #sala2, #sala3, #sala4, #sala5 {
        border-top: 3px solid white;
        border-bottom: 3px solid white;
        position: fixed;
    }
    #sala1{
        top: 10%;
        left: 0;
        width: 100%;
        height: 80%;
    }
    #sala1 .zdjecia img{
        width: 47%;
        display: inline-block;
        margin-right: 10px;
    }
    #sala1 .opis{
        width: 90%;
        margin: 0 5%;
    }
    #sala1 iframe{
        width: 80%;
        margin: 10px 7%;
        height: 35%;
    }
    #sala1 .zdjecia{
        width: 90%;
        margin-top: 10px;
        margin-left: 5%;
        overflow-y: scroll;
        height: calc(48% - 15px);
    }
    #sala2 {
        top: 30%;
        width: 98%;
        height: 40%;
    }
    #sala3{
        width: 98%;
        height: 70%;
        top: 15%;
        bottom: 15%;
        padding-bottom: 10px;
    }
    #sala4, #sala5 {
        top: 15%;
        width: 100%;
        height: 70%;
    }
    #sala4 iframe{
        height: 46%;
    }
    #sala5 iframe{
        height: 65%;
        margin-top: 10px;
    }
}

/*naprawienie headera (tekst i obrazek na siebie nie nachodzą)*/
@media only screen and (max-width: 449px){
    h1 {
        font-size: 30px;
    }
    .hofflogo img{
        width: 30px;
    }
}

/*fixy do okienek*/
@media only screen and (max-width: 425px){
    #sala5 iframe{
        height: 50%;
    }
    #sala5{
        height: 60%;
        top: 20%;
    }
}

@media only screen and (max-width: 392px){
    #sala1 .zdjecia img{
        width: 90%;
        margin: 3px auto;
    }
    #sala1 .zdjecia{
        height: 33%;
    }
    #sala1 iframe{
        height: 30%;
    }
    #sala1{
        height: 80%;
    }
    .opis{
        font-size: 15px;
    }
    .okno h1{
        font-size: 40px;
    }
    /*#sala4{
        height: 52%;
        top: 24%;
    }*/
}

@media only screen and (min-width: 800px) and (max-width: 1140px){
    #sala2{
        width: 60%;
        left: 20%;
        right: 20%;
    }
    #sala3 {
        width: 50%;
        left: 25%;
        right: 25%;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1440px){
    #sala4{
        width: 50%;
        left: 25%;
        right: 25%;
    }
}

@media only screen and (min-width: 1140px) and (max-width: 1440px){
    #sala4{
        height: 70%;
        top: 15%;
    }
    #sala4 iframe{
        height: 60%;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1242px){
    #sala1{
        height: 76%;
        top: 12%;
        width: 80%;
        left: 10%;
        right: 10%;
    }
    #sala1 iframe{
        height: 40%;
        position: unset;
    }
    #sala1 .opis{
        position: unset;
        margin-top: 10px;
    }
}

/*wielkość tekstu dla mniejszych urządzeń*/
@media only screen and (max-width: 321px){
    #wyniki_wyszukiwania div {
        font-size: 20px;
    }
}