html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
span,
p {
    font-family: "Raleway", sans-serif;
}

h1 {
    display: contents;
}

#content {
    min-height: calc(100vh - 50px);
}

footer {
    min-height: 50px;
    height: fit-content;
}

.navbar {
    padding: 15px !important;
}

.navbar-brand {
    font-size: 17px !important;
}

.nav-link {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.8) !important;
}

.nav-item:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-weight: bold;
}

.nav-item {
    cursor:pointer;
}

.flag-icon {
    margin-top: -3px !important;
    vertical-align: middle;
}

.general-info-container {
    background-image: url("../img/law.jpg");
    background-size: cover;
    margin-top: 80px;
    height: fit-content;
    padding: 30px 30px 30px 80px;
    max-width: 100% !important;
}

.general-info-wrapper {
    background-color: #000000;
    width: fit-content;
    height: 560px;
    border-radius: 13px;
    opacity: 0.8;
    padding: 60px 30px;
}

.general-info-wrapper img {
    display: block;
    margin: 15px auto 30px auto;
}


.general-info-wrapper p {
    text-align: center;
    margin: 0;
    color: #bfbfbf;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

.lawyer-label {
    letter-spacing: 5px;
}

.navbar-anchors {
    max-width: 100% !important;
}

.navbar-anchors h1 {
    padding: 50px 0;
    position: relative;
    color: rgba(0, 0, 0, 0.8);
    text-align: center !important;
}

.navbar-anchors h1 span {
    position: absolute;
    top: -60px;
}

.section-title {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    padding: 30px 0 20px 0;
}

#about-container {
    background-color: rgba(0, 0, 0, 0.05);
    height: fit-content;
    padding-bottom: 50px;
}

#about-container div {
    line-height: 2em;
    font-size: 18px;
}

#about-container div p {
    text-align: justify;
}

#expertise-container {
    background-color: rgba(0, 0, 0, 0.01);
    height: fit-content;
    padding-bottom: 50px;
}

#expertise-container .column {
    float: left;
    width: 33.33%;
    padding: 10px;
    text-align: center;
    margin: 0 20px 20px 20px;
    background-color: rgba(0, 0, 0, 0.1);
    height: 150px;
    border-radius: 8px;
    opacity: 0.8;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.column h3 {
    color: #000000;
    font-weight: bold;
    margin-bottom: 0px;
}

#expertise-container .row:after {
    content: "";
    display: table;
    clear: both;
}

#gdpr-container {
    background-color: rgba(0, 0, 0, 0.05);
    height: fit-content;
    padding-bottom: 50px;
    text-align: center;
}

#gdpr-container a {
    color: #368bd6;
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: bold;
}

#contact-container {
    background-color: rgba(0, 0, 0, 0.01);
    height: fit-content;
    padding-bottom: 50px;
}

.contact-label {
    font-size: 20px;
}

.contact-label-bold {
    font-size: 28px;
    font-weight: bold;
    margin-top: 30px;
}

.tel-fax-wrapper {
    width: fit-content;
    height: fit-content;
    display: flex;
    margin: 0 auto;
}

#contact-container .tel {
    float: left;
    width: fit-content;
    margin-right: 35px;
}

#contact-container .fax {
    float: right;
    width: fit-content;
    margin-left: 35px;
}

.address-details-container {
    margin: 0 30px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
    padding-top: 30px;
}

.address-details-container p {
    color: #000000;
}

#contact-container .row {
    align-content: center;
}

#contact-us-container {
    background-color: rgba(0, 0, 0, 0.05);
    height: fit-content;
    padding-bottom: 50px;
}

#contact-us-container h1 {
    padding-bottom: 25px;
}

#location {
    height: fit-content;
    background-color: rgba(0, 0, 0, 0.01);
    padding-bottom: 50px;
}

#location iframe {
    height: 450px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 0;
    padding-right: 0;
}

footer {
    color: rgba(0, 0, 0, 0.8);
    background-color: rgba(0, 0, 0, 0.1);
}

footer a,
footer a:hover {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
}

textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active {
    outline: 0px !important;
    -webkit-appearance: none;
    box-shadow: none !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
}

form {
    margin: 0px !important;
}

form button {
    font-size: 23px !important;
    color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.3) !important;
    font-weight: bold !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
}

form button:hover {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

form button[disabled]:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
    cursor: not-allowed;
}

.spinner-border-sm {
    vertical-align: initial;
    border-width: 3px;
    color: #000000;
    margin-right: 6px;
}

#cookies-info-container {
    max-width: 100% !important;
    vertical-align: center !important;
    background-color: #000000;
}

#cookies-info-container div {
    vertical-align: middle !important;
}

#cookies-info-container div p {
    color: #ffffff;
    margin-top: auto !important;
    margin-bottom: auto !important;
}

#privacy-policy-link:link,
#privacy-policy-link:visited,
#privacy-policy-link:active {
    text-decoration: none;
    color: #368bd6;
    font-weight: bold;
}

#cookies-info-container button {
    background-color: #368bd6 !important;
    border: none !important;
    margin-left: 10px;
    height: fit-content !important;
}

.cookies-gone {
    visibility: hidden;
}

.cookies-visible {
    visibility: visible;
}

/********* Portrait media queries ********/

@media only screen and (min-width : 768px) {
    #about-container div {
        line-height: 1.7em;
        font-size: 23px !important;
    }
}

@media only screen and (min-width : 768px) and (max-device-width : 1024px) {
    .general-info-wrapper {
        display: block;
        height: 530px !important;
    }

    .general-info-container {
        padding: 30px !important;
    }

    .nav-item {
        margin-top: 5px !important;
    }

    .nav-link {
        text-align: right;
        padding-right: 60px !important;
    }

    .address-details-container {
        margin-bottom: 30px;
    }

    #cookies-info-container button {
        margin-top: 15px !important;
    }

    #expertise-container .column {
        width: 60%;
        margin: 0 80px 20px 80px !important;
        padding: 0;
        height: 90px;
    }
}

@media only screen and (min-width : 992px) {
    #expertise-container .column {
        width: 70%;
        margin: 0 20px 20px 20px !important;
        padding: 0;
        height: 110px;
        flex: 0 0 28%;
        max-width: 28%;
    }
}

@media only screen and (max-width : 750px) {
    .section-title {
        display: block;
        font-size: 1.8em;
        font-weight: bold;
        padding: 20px 0 0 0;
    }

    #expertise-container .column {
        width: 65% !important;
        height: 75px !important;
        padding: 0px 15px !important;
    }

    .column h3 {
        font-size: 1.4em;
    }

    #about-container div {
        line-height: 2em;
        font-size: 17px;
    }

    #about-container div p {
        text-align: left;
    }

    #gdpr-container a {
        font-size: 17px !important;
    }

    .contact-label-bold {
        font-size: 24px !important;
    }

    .contact-label {
        font-size: 18px !important;
    }
}

@media only screen and (max-width: 480px) and (min-width: 400px) {
    .general-info-wrapper {
        display: block;
        margin-top: 10px;
        height: 530px !important;
        width: 355px !important;
    }

    .general-info-container {
        padding: 30px !important;
        margin-top: 60px;
    }

    .nav-item {
        margin-top: 5px !important;
    }

    .nav-link {
        text-align: right;
        padding-right: 60px !important;
    }

    .address-details-container {
        margin-bottom: 20px;
    }

    .navbar-brand {
        font-size: 16px !important;
    }

    #expertise-container .column {
        width: 75%;
        margin-bottom: 20px;
        padding: 0;
        height: 90px;
    }

    #cookies-info-container button {
        margin-top: 10px !important;
    }
}

@media only screen and (min-width: 240px) and (max-width: 410px) {
    .general-info-wrapper {
        display: block;
        height: 400px !important;
        width: 300px !important;
        padding: 50px 20px !important;
    }

    .navbar-brand {
        font-size: 11px !important;
    }
}

@media only screen and (min-width: 360px) and (max-width: 400px) {
    .general-info-wrapper {
        display: block;
        height: 500px !important;
        width: 340px !important;
        padding: 60px 20px !important;
    }

    .general-info-container {
        padding: 10px !important;
        margin-top: 70px !important;
    }

    .nav-item {
        margin-top: 5px !important;
    }

    .nav-link {
        text-align: right;
        padding-right: 60px !important;
    }

    .address-details-container {
        margin-bottom: 20px;
    }

    #contact-container {
        padding-bottom: 30px;
    }

    .navbar-brand {
        font-size: 13px !important;
    }

    #expertise-container .column {
        width: 75%;
        margin-bottom: 15px;
        padding: 0;
        height: 90px;
    }

    #cookies-info-container button {
        margin-top: 10px !important;
    }
}

@media only screen and (min-width: 365px) and (max-width: 400px) {
    .general-info-wrapper {
        display: block;
        height: 500px !important;
        width: fit-content !important;
        padding: 60px 20px !important;
    }
}

@media only screen and (min-width: 305px) and (max-width: 350px) {
    .general-info-wrapper {
        display: block;
        height: 400px !important;
        width: 300px !important;
        padding: 50px 20px !important;
    }

    .general-info-container {
        padding: 10px !important;
        margin-top: 55px !important;
    }

    .address-details-container {
        margin-bottom: 20px;
    }

    #expertise-container .column {
        width: 85%;
        margin-bottom: 15px !important;
        padding: 0;
        height: 80px;
    }

    #cookies-info-container button {
        margin-top: 5px !important;
    }
}

@media only screen and (min-width: 540px) {
    .address-details-container {
        margin-bottom: 20px;
    }
}

/********* Landscape media queries ********/
@media only screen and (min-width: 576px) and (orientation: landscape) {
    #expertise-container .column {
        width: 70%;
        margin-bottom: 15px !important;
        padding: 0;
        height: 80px;
    }

    .address-details-container {
        margin-bottom: 20px;
        width: 70%;
    }
}

@media only screen and (min-width: 576px) and (orientation: landscape) {
    #expertise-container .column {
        width: 55%;
        margin-bottom: 15px !important;
        padding: 0;
        height: 80px;
    }

    .address-details-container {
        margin-bottom: 20px;
        width: 55%;
    }
}

@media only screen and (max-width: 570px) and (orientation: landscape) {
    #expertise-container .column {
        width: 60%;
        margin-bottom: 15px !important;
        padding: 0;
        height: 90px;
    }

    .address-details-container {
        margin-bottom: 20px;
        width: 60%;
    }
}

@media only screen and (min-width: 992px) and (orientation: landscape) {
    .address-details-container {
        width: 65%;
        margin: 0 15px 20px 15px;
        flex: 0 0 28%;
        max-width: 28%;
    }
}