/* https://codepen.io/Sharad_aeshi/pen/gOQzqeV */
.content1 {
    position: relative;
    margin: 20px auto;
    text-align: left;
    padding: 0 20px;
    width: 85%;
}

    .content1 .text {
        font-size: 1.0rem;
        font-weight: normal;
        color: #ffffff;
    }

    .content1 h2 {
        font-size: 2.00rem;
        font-weight: 600;
        color: #ff5e14;
    }

    .content1 .p {
        padding-top:10px;
        color: #ffffff;
    }

footer {
    margin: auto;
    padding: 0;
    color: #d9d9d9;
    box-sizing: border-box;
    bottom: 0px;
    width: 100%;
    background: #000000;
}

    footer p {
        margin-bottom: 14px;
        /* font-size: 14px; */
        /* color: #7e7e7e; */
    }

.main-content {
    display: flex;
    width: 85%;
    margin: auto;
    padding-top: 15px;
    padding-bottom: 15px;
}

    .main-content .box {
        flex-basis: 50%;
    }



.two-column {
    flex-basis: 66%;
}
.one {
    flex-basis: 33%;
}

.sidebar {
    flex: 1;
}

.main {
    flex: 2;
    padding-right:10px;
}

.box h2 {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.box .content {
    margin: 20px 0 0 0;
    position: relative;
}

    .box .content:before {
        position: absolute;
        content: '';
        top: -10px;
        height: 2px;
        width: 100%;
        background: #1a1a1a;
    }

    .box .content:after {
        position: absolute;
        content: '';
        height: 2px;
        width: 15%;
        background: #f19e39;
        top: -10px;
    }

.left .content p {
    /*text-align: justify;*/
}


.center .content .fas {
    font-size: 1.4375rem;
    background: #1a1a1a;
    height: 45px;
    width: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
    color: #f19e39;
}

    .center .content .fas:hover {
        background: #d9d9d9;
    }

.center .content .text {
    font-weight: 500;
    padding-left: 10px;
}

.center .content .email {
    margin: 15px 0;
}

.center .content .phone {
    margin: 15px 0;
}

.bottom {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    justify-content: space-around;
    background: #171919;
    padding: 1rem;
    text-align: center;
}

    .bottom > div {
        font-size: 1.0rem;
        background: #171919;
        margin: 0.5rem;
    }

    .bottom > div span {
        color: #d9d9d9;
    }
    .bottom > div span.italic {
        font-style:italic;
    }

    .bottom > div a {
        color: #f19e39;
        text-decoration: none;
    }

        .bottom > div a:hover {
            text-decoration: underline;
        }

@media (max-width: 600px) {
    .bottom {
        flex-direction: column;
        align-items: center;
    }

        .bottom > div {
            width: 100%;
        }
}


@media screen and (max-width: 900px) {
    footer {
        position: relative;
        bottom: 0px;
    }

    .main-content {
        flex-wrap: wrap;
        flex-direction: column;
    }

        .main-content .box {
            margin: 5px 0;
        }
}

@media screen and (min-width: 900px) {
    
        .main-content .center.box {
            padding-left: 20px;
            padding-right: 20px;
        }
}
