.hero-container {
    background-image: url("../images/areas-of-practice-hero-image.jpg");
}

@media screen and (max-width: 1080px) {
    .hero-container {
        background-image: url("../images/areas-of-practice-hero-image.jpg");
    }
}

.hero-container > .hero-text {
    text-align: center;
    justify-self: center;
}

@media screen and (max-width: 720px) {
    .hero-container {
        grid-template-rows: 2fr 1fr 3fr 1.5fr;
        background-image: url("../images/areas-of-practice-hero-image.jpg");
    }
}

@media screen and (max-width: 25rem) {
    .hero-container {
        grid-template-rows: 2fr 1fr 3fr 1.3fr;
        background-image: url("../images/areas-of-practice-hero-image.jpg");
    }
}

.hero-container .areas-of-practice > .hero-text {
    text-align: center;
}

.area-of-practice-us {
    background-color: rgba(255, 255, 255, 0.0);
    height: auto;
    width: 612px;
    position: absolute;
    margin: 0;
    font-family: "CynthoSlabPro-Regular", Helvetica, Arial, serif;
    font-size: 54.0px;
    color: rgba(0, 0, 0, 1.0);
    line-height: 60.0px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

@media screen and (max-width: 1080px) {
    .area-of-practice-us {
        width: 612px;
        font-size: 40.0px;
        line-height: 46.0px;
    }
}

@media screen and (max-width: 720px) {
    .overlay-image .text {
        font-size: 10.0px;
    }

    .area-of-practice-us {
        font-size: 30.0px;
        width: 60vw;
        line-height: 34.0px;
    }
}

nav.areas-of-practice {
    grid-area: ab;
}

@media screen and (max-width: 320px) {
    nav.areas-of-practice {
        justify-self: normal;
    }
}

.area-boxes {
    box-shadow: 4px 15px 35px 0 rgba(85, 55, 69, 0.33);
    display: -ms-grid;
    display: grid;
    /*grid-template-columns: repeat(5, 210px);*/
    grid-template-columns: repeat(4, 260px);
    /*grid-template-rows: repeat(2, 216px);*/
    grid-template-rows: repeat(2, 240px);
    align-items: center;
    justify-items: center;
    margin-top: -40px;
    padding: 0;
    z-index: 1;
}

@media screen and (max-width: 1440px) {
    .area-boxes {
    }
}

@media screen and (max-width: 1080px) {
    .area-boxes {
        grid-template-rows: repeat(2, 21vw);
        /*grid-template-columns: repeat(5, 1fr);*/
        grid-template-columns: repeat(4, 1fr);
        height: initial;
        margin-top: 0;
    }
}

@media screen and (max-width: 720px) {
    .area-boxes {
        grid-template-columns: repeat(2, 1fr);
        /*grid-template-rows: repeat(5, 1fr);*/
        grid-template-rows: repeat(4, 1fr);
    }
}

@media screen and (max-width: 320px) {
    .area-boxes {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(10, 1fr);
    }
}

.area-boxes > li {
    display: -ms-grid;
    display: grid;
    background-color: white;
    height: 100%;
    justify-content: center;
    align-content: center;
    border: 1px solid #553745;
    font-size: 24px;
    font-family: Cyntho Slab Pro, sans-serif;
    color: #553745;
    grid-template-areas: "." "i" "t" ".";
    grid-template-rows: 0.5fr 1fr 1fr 0.5fr;
    justify-self: normal;
    cursor: pointer;
}

.area-boxes > li > div {
    display: -ms-grid;
    display: grid;
    justify-items: center;
}

.area-boxes > li > div:nth-child(1) {
    justify-self: center;
    grid-area: i;
    align-self: end;
}


.area-boxes > li > div:nth-child(1) > img {
    padding: 0.5rem;
    height: 5rem;
}

.area-boxes > li > div:nth-child(2) {
    justify-self: center;
    justify-items: center;
    padding: 0.3rem 0.7rem;
    text-align: center;
    align-items: center;
    grid-area: t;
    align-self: normal;
    line-height: 2rem;
}

@media screen and (max-width: 1080px) {
    .area-boxes > li {
        font-size: 2vw;
    }

    .area-boxes > li > div:nth-child(1) {
        justify-self: center;
        width: 14vw;
    }

    .area-boxes > li > div:nth-child(1) > svg {
        width: 8vw;
        padding: 0.3rem;
    }

    .area-boxes > li > div:nth-child(2) {
        justify-self: center;
        justify-items: center;
        /*padding: 2px 12px;*/
        text-align: center;
        align-items: center;
        line-height: 1.4rem;
    }
}

@media screen and (max-width: 720px) {
    .area-boxes > li {
        font-size: 4vw;
        grid-template-columns: 35% 65%;
        grid-template-areas: none;
        grid-template-rows: none;
    }

    .area-boxes > li > div:nth-child(1) > svg {
        padding: 0;
    }
}


@media screen and (max-width: 720px) {
    .area-boxes > li > div:nth-child(1) {
        grid-area: unset;
        align-self: unset;
    }

    .area-boxes > li > div:nth-child(1) > svg {
        justify-self: center;
        align-self: center;
        width: 10vw;
        height: 4rem;
    }

    .area-boxes > li > div:nth-child(2) {
        justify-self: center;
        justify-items: center;
        text-align: center;
        font-size: 3.5vw;
        grid-area: unset;
        align-self: unset;
        line-height: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .area-boxes > li > div:nth-child(2) {
        line-height: 1.4rem;
    }
}

@media screen and (max-width: 320px) {
    .area-boxes > li {
        font-size: 4vw;
        grid-template-columns: 20% 80%;
    }

    .area-boxes > li > div:nth-child(1) > svg {
        justify-self: center;
        align-self: center;
        width: 12vw;
    }

    .area-boxes > li > div:nth-child(2) {
        justify-self: left;
        justify-items: left;
        text-align: left;
        font-size: 5vw;
    }

}

@media screen and (max-width: 320px) {
    .area-boxes > li > div > div {
    }
}


.content {
    display: -ms-grid;
    display: grid;
    margin-top: 120px;
    /*height: 100%;*/
    width: 100%;
    grid-area: c;
    grid-template-columns: auto minmax(1060px, 1080px) auto;
    /*grid-template-rows: 25rem;*/
    grid-template-areas: ". areas-of-practice . ";
    /*padding: 5rem 0;*/
    padding: 0 0 120px;
}

@media screen and (max-width: 1080px) {
    .content {
        grid-template-columns: 20px auto 20px;
        grid-template-areas: ". areas-of-practice . ";
    }
}

@media screen and (max-width: 720px) {
    .content {
        grid-template-columns: 10px auto 10px;
        grid-template-areas: ". areas-of-practice . ";
    }
}

.area-of-practice-label {
    font-family: "ZonaPro-Bold", Helvetica, Arial, serif;
    font-size: 12.0px;
    color: rgba(232, 52, 70, 1.0);
    text-align: left;
    letter-spacing: 2.0px;
    line-height: 24.0px;
    margin: 10px 0;
    font-weight: bold;
}

.el .area-of-practice-label {
    font-size: 16.0px;
}


.area-of-practice-data {
    font-family: "Source Sans Pro", Helvetica, Arial, serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16.0px;
    color: rgba(255, 255, 255, 1.0);
    text-align: left;
    letter-spacing: 1.0px;
    line-height: 24.0px;
    margin: 0;

}

.company-area-of-practice {
    background-color: rgba(85, 55, 69, 1.0);
    grid-area: newsevents;
    display: block;
    margin: 1rem 0 7rem;
    justify-content: center;
    justify-items: center;
    margin-top: -10rem;
    z-index: 1;
}

.company-head {
    display: -ms-grid;
    display: grid;
    grid-auto-flow: row;
    justify-items: center;
    z-index: 1;
}

.company-head h2 {
    font-size: 1.2rem;
}

.company-address {
    display: -ms-grid;
    display: grid;
    grid-auto-flow: row;
    margin: 1rem 0 7rem;
    justify-content: center;
    padding: 10px;
    justify-items: center;
    z-index: 1;
}


.logo-addr {
    margin: 2rem;
}

.area-of-practice {
    color: rgba(232, 52, 70, 1.0);
}

.company-address a {
    text-decoration: none;
    color: inherit;
}


.areas-of-practice-list {
    /*display: grid;*/
    grid-area: areas-of-practice;
    padding: 0;
    list-style: none;
}

.area-of-practice-container {
    display: -ms-grid;
    display: grid;
    grid-area: areas-of-practice;
    grid-template-areas: ". ic . ." ". tc tc .";
    grid-template-rows: 92px auto;
    grid-template-columns: 1fr 1fr 9fr 1fr;
    align-items: center;
    background-size: cover;
    background-position: center;
    max-width: 1080px;
    height: 100%;
    justify-self: center;
    border: 1px solid #E83446;
    padding-bottom: 80px;
}

.areas-of-practice-list .area-of-practice-container {
    margin: 0 0 100px 0;
}


.area-of-practice-text {
    grid-area: tc;
    align-self: normal;
}


.area-of-practice-header {
    color: #000000;
    font-family: "CynthoSlabPro-Regular", Helvetica, Arial, serif;
    font-size: 36px;
    line-height: 54px;
}

.area-of-practice-text > span {
    color: #000000;
    font-family: "Source Sans Pro", Helvetica, Arial, serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 24px;
}

.area-of-practice-position {
    opacity: 0.6;
    color: #000000;
    font-family: "CynthoSlabPro-Regular", Helvetica, Arial, serif;
    font-size: 18px;
    line-height: 27px;
}

.area-of-practice-rectangle {
    height: 5px;
    width: 72px;
    background-color: #E83446;
    margin: 20px 0;
}


@media screen and (max-width: 1080px) {
    .area-of-practice-container {
        grid-auto-flow: row;
        width: inherit;
    }

    .areas-of-practice-list .area-of-practice-container {
        margin: 0 20px 100px;
    }

    .area-of-practice-image {
        background-size: cover;
    }
}

@media screen and (max-width: 720px) {
    .area-of-practice-container {
        grid-auto-flow: row;
        width: inherit;
    }

    .area-of-practice-image {
        background-size: cover;
    }
}

.area-of-practice-image {
    grid-area: ic;
    background-color: white;
    border: 1px solid #553745;
    position: relative;
    top: -46px;
    text-align: center;
    width: 92px;
    height: 92px;
    padding: 11px;
}

.area-of-practice-image > svg {
    width: 100%;
    height: 100%;
}

.area-of-practice-title {
    color: #000000;
    font-family: "CynthoSlabPro-Regular", Helvetica, Arial, serif;
    font-size: 36px;
}

.area-of-practice-text {
    font-family: "Source Sans Pro", Helvetica, Arial, serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 24px;
}

.area-of-practice-contents {
    grid-area: tc;
}


.readmore {
    text-align: right;
}
