* {
    font-family: 'Raleway', 'Arial', 'sans-serif';
}
    
html {
    font-size: 62.5%; 
    scroll-behavior: smooth;  
     
}

.body {
    font-family: 'Raleway', 'Arial', 'sans-serif';

}

.container__image__under {
    background: url("img/chalubinskiego/recepcja_ch8.jpg");
    height: 600px;
    
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.container__grey__stripe{
    height: 20px;
    background-color: #f5f5f5fa;
}

.logo__img {
    padding: 10px 15px;
    background-color: #ffffff;
    border-radius: 5px;
    margin-top: 30px;
    margin-bottom: 20px;
}
.header>h1 {
    font-size: 6rem;
    margin-bottom: 20px;
}
.header>h2 {
    font-size: 2.5rem;
}

.header>h2>span {
    background-color: #ffffff;
    padding: 5px 10px 5px 3px;
    border-radius: 2px;
    
}

.header>h2 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.btn__header, .btn__header:hover, .btn__header:active, .btn__header:visited, input[type="submit"], input[type="submit"]:active, input[type="submit"]:focus {
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #0ea2f1;
    background-image: none;
    background-position: top left;
    background-repeat: repeat;
    background-attachment: scroll;
    border: 2px solid #0ea2f1;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    padding: 1.48rem 0rem;
    min-width: 240px;
    margin-top: 2rem;
    margin-right:2rem;
    transition: none;
    box-sizing: border-box;
}


.w__auto, .w__auto:hover, .w__auto:active, .w__auto:visited {
    width: auto;
    padding-left: 3rem;
    padding-right: 3rem;
}

.btn__header--outline, .btn__header--outline:active, .btn__header--outline:hover {
    background-color: #ffffff;
    border: 2px solid #0ea2f1;
    color: #0ea2f1;
    font-weight: 300;
}

.btn__header--outline:hover {
    text-decoration: underline;
}

.title>h2, .title-localisation>h2 {
    font-size: 4.8rem;
    margin: 10px 0;
    text-align: center;
    font-weight: 300;
}

.title-localisation>h2 {
    text-align: left;
}

.title>h3 {
    font-size: 2.8rem;
    margin: 10px 0;
    text-align: center;
    font-weight: 300;
}

.card {
    border: 0px;
}

.card__icon {
    display: flex;
    transform: translateY(50%);

}

.card__icon>span {
    width: 90px;
    height: 90px;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    background-color: #ffffff;
    border-radius: 50%;
    margin: 0 auto;
}
.card-body{
    background-color: #fafafa;
    min-height: 185px;
    padding-top:60px;
    text-align: center;
}

.card-body> h3 {
    font-family: 'Raleway', 'Arial', 'sans-serif';
    font-size: 2rem;
    text-align: center;
    font-weight: 700;
    
}

.card-body > p {

    font-family: 'Raleway', 'Arial', 'sans-serif';
    font-size: 1.8rem;
    text-align: center;
    font-weight: normal;
    vertical-align: middle;

}
.img__grey {
    border-radius: 5px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    width:100%;
}

.panel {
    margin: 0 auto;
    
    max-width: 950px;:
}

.panel__content>h3 {

    color: #0ea2f1;
    font-family:  'Raleway', 'Arial', 'sans-serif';
    font-size: 3rem;
    margin-bottom: 15px;
} 
.panel__content>p {
    font-family: 'Raleway', 'Arial', 'sans-serif';
    font-size: 1.8rem;
    font-weight: 400;
} 
.panel__content {
     margin:auto 0px;
}

.panel__img>img {
    border-radius: 5px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    width:100%;

}
.panel__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 40px;
    margin-bottom: 20px;
}

.img__p1, .panska {
    background-image: url('./img/panska/biuro_85.7.jpg');
}
.img__p2 {
    background-image: url('./img/panska/biuro_85.2.jpg');
}
.img__p3 {
    background-image: url('./img/panska/biuro_85.4.jpg');
}
.img__p4 {
    background-image: url('./img/panska/biuro_83.5.jpg');
}

.img__o1 {
    background-image: url('./img/chalubinskiego/coworking_chalubinskiego_8_3.jpg');
}
.img__o2 {
    background-image: url('./img/chalubinskiego/coworking_chalubinskiego_8_4.jpg');
}
.img__o3 {
    background-image: url('./img/chalubinskiego/coworking_chalubinskiego_8_1.jpg');
}
.img__o4 {
    background-image: url('./img/chalubinskiego/coworking_chalubinskiego_8_2.jpg');

}
.img__s1 {
    background-image: url('./img/sokolska/katowice-sokolska-30-nobel-4.jpg');
}
.img__s2 {
    background-image: url('./img/sokolska/katowice-sokolska-30-nobel-3.jpg');
}
.img__s3 {
    background-image: url('./img/sokolska/katowice-sokolska-30-nobel-1.jpg');
}
.img__s4 {
    background-image: url('./img/sokolska/katowice-sokolska-30-nobel-2.jpg');

}

.img__c1 {
    background-image: url('./img/pory/hol.jpg');
}
.img__c2 {
    background-image: url('./img/pory/salka_12p.jpg');
}
.img__c3, .carolina {
    background-image: url('./img/pory/biuro_2.jpg');
}
.img__c4 {
    background-image: url('./img/pory/biuro_3.jpg');

}

.img__h1, .herbu {
    background-image: url('./img/herbu_janina/HJ5-U06-nobel-6.jpg');
}
.img__h2 {
    background-image: url('./img/herbu_janina/HJ5-U07-nobel-7.jpg');
}
.img__h3 {
    background-image: url('./img/herbu_janina/HJ5-U07-nobel-9.jpg');
}
.img__h4 {
    background-image: url('./img/herbu_janina/HJ5-wspolne-nobel-5.jpg');

}

.img__k1, .klimczaka {
    background-image: url('./img/klimczaka/klimczaka-15-nobel-3.jpg');
}
.img__k2 {
    background-image: url('./img/klimczaka/klimczaka-15-nobel-1.jpg');
}
.img__k3 {
    background-image: url('./img/klimczaka/klimczaka-15-nobel-7.jpg');
}
.img__k4 {
    background-image: url('./img/klimczaka/klimczaka-15-nobel-16.jpg');
}

.kafelek-zdjecie--wrapper {
    height: 350px;
    overflow: hidden;
}

.kafelek-zdjecie {
    height: 350px;
    background-size: cover;
    overflow: hidden;
    background-position: 0% 25%;
    transition: all 1s;
      
} 

.kafelek-opis {
    background-color: #ffffff;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 0.75rem;
    border-bottom-left-radius: 0.4rem;
    border-bottom-right-radius: 0.4rem;
}

.kafelek-adres {
    font-size: 2.8rem;
    width: fit-content;
    position: relative;
}

.kafelek a:hover .kafelek-zdjecie {
    height: 350px;
    background-size: cover;
    transform: scale(1.05);
    overflow: hidden;

} 

.kafelek a:hover .kafelek-adres::after {
    content: ' ';
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #ff0000;
    bottom: 2px;
}



.kafelek-adres span {
    font-weight: 700;
}

.kafelek-uslugi {
    font-size: 2.3rem;
    margin-top: -4px;

}

.localisation-uslugi {
    font-size: 2.7rem;
    margin-top: -4px;
    margin-bottom: 0.4rem;
}

.red {
    color: #ff0000;
    font-weight: 700;
}
.kafelek a, .kafelek a:hover, .kafelek a:visited, .kafelek a:active {
    text-decoration: none;
    color: #000000;
    cursor: pointer;
}



.photo {
    background-color: #e3e3e3;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    border-top: 2px solid #0e9ae5;
    border-left: 2px solid #0e9ae5;
    border-right: 2px solid #0e9ae5;
    border-bottom: 2px solid #0e9ae5;
    height:350px;
}
.map {
    
    min-height: 400px;
    width:100%;
   
}

.contact__footer {
    background-color: #ee3162;
}

.slogan {
    font-size: 4.5rem;
}
.fillUpForm {
    font-size: 3rem;
}

.tel__link, .tel__link:visited, .tel__link:hover, .tel__link:active {
    text-decoration: none;
    color: #ffffff;
}

.tel__link:hover {
    text-decoration: underline;
}

.form {
    background-color: #ffffff;
    background-image: none;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    height: auto;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    margin-top: 15px;
    margin-bottom: 15px;    
}

label {
    width: 100%;
    display: block;
    font-size: 14px;
}

form>p {
    font-size: 12px;
    text-align: justify;
    margin-top: 10px;
}

input, input:focus, input:active, textarea {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    background-color: #ffffff;
    background-image: none;
    border-top: 1px solid #d6d4d4;
    border-right: 1px solid #d6d4d4;
    border-bottom: 1px solid #d6d4d4;
    border-left: 1px solid #d6d4d4;
    padding-top: 10px;
    padding-right: 5px;
    padding-bottom: 10px;
    padding-left: 5px;
    margin-top: 4px;
    margin-right: 0px;
    margin-bottom: 4px;
    margin-left: 0px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    height: 60px;
    color: #333333;
    font-size: 14px;
    overflow: hidden;
    font-family: raleway;
    font-weight: 700;
    font-style: normal;
    outline: 0px;
}
textarea {
    width: 100%;
    height: 70px;
    min-width: 100%;
    max-width: 100%;
}
input[type="checkbox"] {
    height: auto;
    width: auto;
    display: inline-block;
    max-width: 240px;
    vertical-align: top;
    margin-right: 10px;
    
}
.input-group--checkbox label {
    display: inline-block;
    width: 94%;
    text-align: justify;
    font-size: 12px;

}


@media (max-width: 1200px) {
    
    html {
        font-size: 50%;    
    } 
    .btn__header, .btn__header:active, .btn__header:hover, input[type="submit"], input[type="submit"]:active, input[type="submit"]:focus  {
        font-size: 2.4rem;
    }

    

    .header>h2 {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .container__image__under {
        height: 500px;
    }
    .card-body>h3, .panel__content>h3  {
        font-size: 2.8rem;
    }
    .card-body>p, .panel__content>p {
        font-size: 2.2rem;
    }

       
}

.card{
    margin-top: -20px;
    background-color: transparent;
}

.panel--grey {
    background-color: #fafafa;

}

@media (max-width: 1340px) {
    .card-body {
        min-height:220px;
    }
}

@media (max-width: 1200px) {
    .card-body {
        min-height:210px;
    }

    .photo {
        height:300px;
    }
}

@media (max-width: 900px) {
    
    html {
        font-size: 45%;    
    } 
    .card-body {
        min-height:195px;
    }

    


}

@media (max-width: 772px) {
    .card-body {
        min-height:215px;
    }
}

@media (max-width: 576px) {
    
    html {
        font-size: 40%;    
    } 
    .container__image__under {
        height: 550px;
    }


    .buttons {
        text-align: center;
    }

    .card-body>h3, .panel__content>h3 {
        font-size: 3.2rem;
    }
    .card-body>p, .panel__content>p {
        font-size: 2.6rem;
    }

    .card-body{
        min-height: 175px;
    }

    .panel__grid {
        display: grid;
        grid-template-columns: 1fr;
        margin-bottom: 0px;

    }

       
}


     

