/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

:focus {
    outline: none !important;
}

.has-white-color a {
    color: white !important;
}

.centenaryImage .image_inner {
    position: relative;
}

.centenaryImage h3 {
	opacity: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-align: center;
	color: #fff;
	font-weight: 700;
	margin: 0;
	z-index: 99;
	transition: all .5s ease;
	transition-delay: 0s;
}

.centenaryImage .image_inner:after {
	position: absolute;
	content: '';
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 0;
	transition: all .5s ease;
	transition-delay: 0.25s;
}

.centenaryImage .image_inner.red_overlay:after {
    background-color: rgba(173, 58, 109, 0.5);
}
.centenaryImage .image_inner.light-blue_overlay:after {
    background-color: rgba(0, 178, 211, 0.5);
}
.centenaryImage .image_inner.dark-blue_overlay:after {
    background-color: rgba(0, 64, 83, 0.5);
}
.centenaryImage .image_inner.green_overlay:after {
    background-color: rgba(154, 182, 75, 0.5);
}

.centenaryImage:hover h3 {
	opacity: 1;
	transition: all .6s ease;
	transition-delay: 0.5s;
}

.centenaryImage:hover .image_inner:after {
	height: 100%;
	transition: all .5s ease;
	transition-delay: 0s;
}

.centenaryImage .wp-block-image {
    position: relative;
}

.centenaryImage .wp-block-image:before {
    z-index: 1 !important;
    top: -1px !important;
    left: -1px !important;
    right: -1px !important;
    width: calc(100% + 2px) !important;
}

.centenaryImage .wp-block-image:after {
    z-index: 1 !important;
    bottom: -1px !important;
    left: -1px !important;
    right: -1px !important;
    width: calc(100% + 2px) !important;
}

.centenaryImage .wp-block-image.small:before,
.centenaryImage .wp-block-image.small:after {
    height: 12px !important;
}
.centenaryImage .wp-block-image.medium:before,
.centenaryImage .wp-block-image.medium:after {
    height: 15px !important;
}
.centenaryImage .wp-block-image.large:before,
.centenaryImage .wp-block-image.large:after {
    height: 17px !important;
}
.centenaryImage .wp-block-image.full:before,
.centenaryImage .wp-block-image.full:after {
    height: 20px !important;
}

.line_right {
    position: relative;
    padding: 0 45px 0 0 !important;    
}
.line_left {
    position: relative;
    padding: 0 0 0 45px !important;
}
.line_right:after, .line_left:after {
    position: absolute;
    width: 5px;
    height: calc(100% + 15px);
    content: '';
    background-color: rgba(173, 58, 109);
    top: -30px;
    bottom: 0;
    z-index: -1;
}

.line_right:after  {
    right: 15px;
}
.line_left:after {
    left: 15px;
    height: calc(100% + 15px);
}

hr.wp-block-separator.is-style-centenary {
    margin: 0;
    padding: 0;
    border-top: 3px solid;
    border-bottom: 2px solid;
    position: relative;
    width: calc(100% - 15px);
	left: 45px;
}

hr.wp-block-separator.is-style-centenary.right_side {
    left: -30px;
}

hr.wp-block-separator.is-style-centenary.left_side:after {
    position: absolute;
    left: -30px;
	top: -3px;
	z-index: -1;
	width: 30px;
	height: 60px;
    content: '';
    border-left: 5px solid rgb(173, 58, 109);
    border-top: 5px solid rgb(173, 58, 109);
}
hr.wp-block-separator.is-style-centenary.right_side:after {
    position: absolute;
    right: -30px;
	top: -3px;
	z-index: -1;
	width: 30px;
	height: 60px;
    content: '';
    border-right: 5px solid rgb(173, 58, 109);
    border-top: 5px solid rgb(173, 58, 109);
}

.page-template-centenary .sidebar_toggle {
    position: fixed;
}

@media(min-width: 992px){
    .page-template-centenary #outer-wrap {
        overflow: visible;
    
    }
    .page-template-centenary #outer-wrap aside#sidebar {
        position: sticky;
        position: -webkit-sticky;
        top: 75px;
        align-self: flex-start;
        order: 1;
    }
    .page-template-centenary .sidebar_toggle {
        position: absolute;
    }
}

@media(max-width: 991px) {
    body.has-sidebar .content-area, .wpex-content-w {
        width: 100% !important;
        float: none !important;
    }
}

.bottom_centenary_line:after {
    height: 75px !important;
}
