#contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
}

#contact a {
    color: #fff;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}


.selects,
#department-map {
    width: 35%;
    height: 80%;
}

#department-map {
    background-color: #f1f1f1;
}

#department-info {
    color: #404040;
    width: 30%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

#department-info a {
    color: #404040;
}

#department-info .location-name,
#department-info .adress,
#department-info .opening-hours {
    font-size: 16px;
    font-weight: bold;
}

#department-info .department-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 30px;
}

#department-info .opening-hours {
    margin-top: 20px;
}

#department-info .tel-1,
#department-info .tel-2,
#department-info .email,
#department-info .pon-pt,
#department-info .sob,
#department-info .niedz {
    line-height: 26px;
}

.selects {
    background-image: url("/images/bg_contact_location.jpg");
    background-size: cover;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.selects-inside {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.selects .header {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 60px;
}

.selects select {
    color: #404040;
    padding: 5px 10px;
    font-size: 16px;
    border: 3px #ea5045 solid;
    border-radius: 50px;
    min-width: 250px;
}

.main-links {
    width: 100%;
    height: 20%;
    color: white;
    background-color: #404040;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.main-links .header {
    font-weight: bold;
    margin-top: 20px;
    font-size: 14px;
    text-transform: uppercase;
}

.main-links hr {
    background-color: #818689;
    width: 60px;
    height: 5px;
    margin-top: 5px;
    margin-bottom: 10px;
    border-radius: 0px 3px 3px 0px;
    border: 0px;
}

.main-links .links {
    font-size: 12px;
    text-transform: capitalize;
    font-weight: normal;
    line-height: 20px;
    margin-left: 10px;
}

@media only screen and (max-width: 1000px) {
    #contact {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .selects-inside{
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-evenly;
    }

    .selects,
    #department-map,
    #department-info{
        width: 100%;
        height: 33.33%;
    }

    #department-info .header{
        width: 100%;
    }

    #department-info .info{
        margin: 10px;
    }

    #department-info .department-name{
        margin-bottom: 0px;
    }

    #department-info .opening-hours{
        margin-top: 0px;
    }

    #department-info{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-evenly;
        transform: scale(0.8);
    }

    .main-links{
        display: none;
    }

    .selects .header{
        margin-top: 20px;
    }

    .info{
        padding: 10px;
        background-color: #fff;
    }
}