@charset "utf-8";
/* CSS Document */

.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch
}

.flex-container.flex-align-center {
    align-items: center
}

.flex-container.flex-right {
    justify-content: flex-end
}

.flex-item {
    flex: 0 1 auto
}

.squareblocks {
    flex-wrap: wrap;
	border-radius: 8px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .squareblocks {
        flex-wrap:nowrap
    }
}

.squareblocks .flex-item {
    flex: 1 1 auto
}

@media (min-width: 768px) {
    .squareblocks .flex-item {
        flex:50% 1 0
    }
}

.squareblocks .flex-item img {
    width: 100%;
    height: auto
}


#Square-Hero .squareblocks .heroblock {
    background: url('/Portals/0/Images/Pages/Carefit/nurse-girl-blue-sq.jpg') #1f3662 0 0 / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vw - 30px)
}

#Square-Hero .squareblocks .flex-item .flex-item-content {
    padding: 1em
}

#Square-Hero .squareblocks .heroblock>div,#Square-Hero .squareblocks .heroblock h2 {
    color: #fff
}

#Square-Hero .squareblocks .heroblock h2 {
    font-style: italic;
    font-size: 1.6em;
    margin: 1em 0 .5em
}

@media (min-width: 768px) {
    #Square-Hero .squareblocks .heroblock {
        flex:50% 1 0;
        height: auto
    }
}

@media (min-width: 992px) {
    #Square-Hero .squareblocks .flex-item.heroblock .flex-item-content {
        padding:0 1.6em
    }

    #Square-Hero .squareblocks .heroblock h2 {
        font-size: 2em;
        margin: 3em 0 1em
    }

    #Square-Hero .squareblocks .heroblock p {
        font-size: 1.2em
    }
}

@media (min-width: 1200px) {
    #Square-Hero .squareblocks .heroblock h2 {
        font-size:2.2em;
        margin: 1.5em 0 1em
    }

    #Square-Hero .squareblocks .heroblock p {
        font-size: 1.1em
    }
}
