/* Fix parent style adding pseudo content on bootstrap classes */
.container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after {
    content: none;
}

.page_content_wrap {
    padding: 0;
    background-color: white;
    font-size: 1.2rem;
    line-height: 1.9rem;
}

.page_content_wrap a {
    text-decoration: underline;
}

.page_content_wrap img {
    width: 100%;
}

#img-header {
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0px;
}

#img-header * {
    position: relative;
    z-index: 1;
}

#img-header:after {
    content: '';
    background: rgba(0,0,0,0.3);
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

#img-header h1 {
    font-size: 3.6rem;
    color: white;
}

#img-header h2 {
    font-size: 1.8rem;
    text-transform: none;
    font-family: 'Avenir', 'Helvetica', 'Arial', sans-serif !important;
    color: white;
}

.section-title {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.8rem;
}

.spacer {
    margin-top: 80px;
}

.quote {
    padding: 25px;
    background: #193762;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
}

.quote p {
    margin-bottom: 1rem;
}

.padded {
    padding: 70px 0px;
}

.highlight {
    background: white;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #ec676b;
}

.bg-blue {
    background: #193762;
}

.bg-blue * {
    color: white !important;
}

.bg-lilac {
    background:rgb(221, 221, 246);
}

li {
    font-size: 1.1rem;
}

.noscroll {
    overflow: hidden !important;
}

#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 100001;
    transition-property: all;
    transition-duration: 0.2s;
    -webkit-transition-property: all;
    -webkit-transition-duration: 0.2s;
    background-color: rgba(28,34,39,0.9);
    overflow: hidden auto;
    cursor: -moz-zoom-out; 
    cursor: -webkit-zoom-out; 
    cursor: zoom-out;
}

#lightbox-wrap {
    max-height: 100%;
    width: 100%;
    position: absolute;
    z-index: 100002;
    top: 50%;
    left: 50%;
    text-align: center;
    -ms-transform: translateX(-50%) translateY(-50%); 
    -moz-transform: translate(-50%,-50%); 
    -webkit-transform: translate(-50%,-50%); 
    transform: translate(-50%,-50%); 
}

#lightbox-content {
    display: inline-block;
}

#lightbox-top {
    text-align: right;
}

#close-lightbox {
    font-size: 1.3rem;
    color: #eee;
    background: transparent;
    border: none;
    text-align: right;
}

#lightbox.active {
    display: block;
}

#lightbox-media {
    cursor: default;
}

#lightbox-media #lightbox-text {
    padding: 30px;
    background: white;
    text-align: left;
    max-width: 940px;
    border-radius: 4px;
}

#lightbox-media img, #lightbox-media iframe {
    cursor: -moz-default; 
    cursor: -webkit-default; 
    cursor: default;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.9);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.9);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.9);
    max-width: 100%;
}

.center {
    text-align: center;
}

.social-button {
    height: 44px;
    width: 44px;
    line-height: 44px;
    color: white !important;
    background: #193762;
    display: inline-block;
    text-align: center;
    margin-right: 5px;
    font-size: 1.4rem;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}

.social-button:hover {
    color: #ec676b !important;
}

.card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3/2.2;
    overflow: hidden;
    margin-bottom: 30px;
}

.card:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    z-index: 2;
    background: rgba(0,0,0,0.80);
    background: -webkit-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,0.80));
    background: -ms-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,0.80));
    background: -o-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,0.80));
    background: -moz-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,0.80));
}

.card-img {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transition: -webkit-transform .3s;
    -moz-transition: -moz-transform .3s;
    -o-transition: -o-transform .3s;
    transition: transform .3s;
}

.card-img:before {
    position: absolute;
    z-index: 2;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.card-heading {
    z-index: 5;
    position: absolute;
    color: white;
    bottom: 5%;
    left: 10%;
    width: 80%;
    font-size: 1.1rem;
}

.card-heading h3 {
    font-size: 2.2rem;
    margin-bottom: 0;
}

.card-heading * {
    color: white !important;
}

a.card:hover .card-img,
a.card:focus .card-img {
    -ms-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

a.card:hover .card-img::before {
    display: block;
    opacity: 1;
}

a.card:hover .card-heading {
    opacity: 1;
}

.halfhalf {
	position: relative;
	background-color: #cbcbcb;
	padding: 70px 0px;
}

.h-100 {
    height: 100%;
}

.flex-center {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
	align-items: center;
}

.quote-box {
    position: relative;
    background: white;
    border-radius: 4px;
    padding: 30px;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.quote-box:after {
    position: absolute;
    content: '';
    left: 10%;
    bottom: -15px;
    width: 0; 
    height: 0; 
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 20px solid white;
}

.quote-box p {
    margin-bottom: 10px;
}

.quote-user {
    color: #111;
}

.quote-user > div:nth-child(1) {
    padding-right: 10px;
}

.quote-avatar {
    height: 80px;
    width: 80px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}

@media only screen and (min-width : 992px) {
    .halfhalf {
		height: 550px;
		padding: 0px;
	}
}

@media (max-width: 991.98px) { 
    .card {
        max-height: 280px;
    }
}

