/* lightbox-img: lightbox image links. */

.lightbox-img {
    display: block;
    position: relative;
    margin: 10px auto 15px;
    overflow: hidden;
    max-height: 500px;
    max-width: 500px;
}

/* Zoom in on the image on hover. */
.lightbox-img img {
    -webkit-transition: transform .5s;
    -moz-transition: transform .5s;
    transition: transform .5s;
}

.lightbox-img:hover img {
    transform: scale(1.05);
}

/* Use ::before to fade the image on hover. */
.lightbox-img:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(255,255,255,.55);
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    transition: opacity .5s;
    z-index: 10;
}

.lightbox-img:hover:before {
    opacity: 1;
}


/* .lightbox-thumbnail: Bootstrap thumbnail compatible lightbox images. */

/* Use ::after to maintain a border as the image scales. */
.lightbox-thumbnail:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 4px solid #fff;
    z-index: 10;
}


/* .lightbox-circle: Bootstrap img-circle compatible lightbox images. */

.lightbox-circle {
    border-radius: 50%;
}

.lightbox-circle:before {
    border-radius: 50%;
}

.lightbox-circle:after {
    border-radius: 50%;
}


/* Set background colors for the site's sections. */

#hero {
    box-shadow: 0px 0px 4px 0px lightgrey inset;
}

.section-content {
    background-color: #FAFFFF;
}

@media(min-width: 768px) {
    .section-content {
        text-align: justify;
    }
}

.section-separator {
    background-color: #FFFAFF;
    padding: 15px 0px;
    box-shadow: 0px 0px 4px 0px lightgrey inset;
}

#footer {
    padding: 15px 0px;
    background-color: #FAFFFF;
}


/* Define responsive text alignment classes. */

.text-left-xs {
    text-align: left;
}

.text-right-xs {
    text-align: right;
}

.text-center-xs {
    text-align: center;
}

.text-justify-xs {
    text-align: justify;
}

@media (min-width: 768px) {
    .text-left-sm {
        text-align: left;
    }

    .text-right-sm {
        text-align: right;
    }

    .text-center-sm {
        text-align: center;
    }

    .text-justify-sm {
        text-align: justify;
    }
}

@media (min-width: 992px) {
    .text-left-md {
        text-align: left;
    }

    .text-right-md {
        text-align: right;
    }

    .text-center-md {
        text-align: center;
    }

    .text-justify-md {
        text-align: justify;
    }
}

@media (min-width: 1200px) {
    .text-left-lg {
        text-align: left;
    }

    .text-right-lg {
        text-align: right;
    }

    .text-center-lg {
        text-align: center;
    }

    .text-justify-lg {
        text-align: justify;
    }
}


/* Define other helpful utility classes. */

.no-margin {
    margin: 0;
}
