﻿.sb-cbs-main, .sb-cbs-section-boxes-ctn {
    display: block;
    position: relative;
    width: 100%;
    text-align: center;
}
.sb-cbs-section-boxes-ctn {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
}
.sb-cbs-section-title {
    color: #00bcde;
    font-size: 30pt;
    font-weight: normal;
    line-height: 36pt;
    text-align: center;
    margin-top: 15px;
}
.sb-cbs-section-description {
    font-size: 11pt;
    margin: 20px auto;
    width: 90%;
}
.sb-cbs-section-boxes-ctn a {
    text-decoration: none;
    display: flex;
    border-radius: 15px;
    margin: 4px;
    height: 400px;
    width: 370px;
    padding-bottom: 4%;
    padding-top: 4%;
    flex-direction: column;
    margin-bottom: 27px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-basis: 100%;
}
    .sb-cbs-section-boxes-ctn a:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, .66);
    }
    .sb-cbs-section-boxes-ctn a.sb-cbs-box-full-width {
        flex-basis: 100%;
    }
.sb-cbs-box-btn {
    font-weight: 600;
    border-style: solid;
    border-width: thick;
    border-color: white;
    height: 4.5em;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    margin: 0 auto;
    background: #fff;
    font-size: 18pt;
    font-weight: bold;
    border-radius: 15px;
    margin-top: auto;
    width: 70%;
}
.sb-cbs-box-title span {
    color: white;
    font-size: 1.2em;
}
    .sb-cbs-box-title span p {
        line-height: 2.7rem;
    }
.sb-cbs-box-full-width .sb-cbs-box-btn {
    padding: 20px 15px;
}

.sb-cbs-box-title {
    font-size: 2.5em;
    font-weight: 600;
}
main .mainContent.home {
    background: #f2f3f5;
    color: #444;
}
@media (max-width: 768px) {
    .colored-boxes-section .button-margin {
        padding: 5px 5px !important;
        font-size: 2em !important;
    }
}
@media (min-width: 1024px) {
    .sb-cbs-section-boxes-ctn {
        justify-content: space-between;
    }
        .sb-cbs-section-boxes-ctn a {
            flex-basis: auto;
            height: 493px;
        }
    .sb-cbs-box-btn {
        width: 80%;
    }
        .sb-cbs-box-btn.button-margin {
            min-width: 30%;
            width: 33%;
        }
}