@font-face {
    font-family: PlayfairDisplayRegular;
    src: url('../fonts/PlayfairDisplay-Regular.ttf');
}
@font-face {
    font-family: PlayfairDisplayBold;
    src: url('../fonts/PlayfairDisplay-Bold.ttf');
}
body {
    font-family: 'Roboto', sans-serif;
}
.navigation ul li:last-child a {
    padding-right: 30px;
}
.text-col {
    flex: 0 0 50%;
    -webkit-flex: 0 0 50%;
    padding: 0 15px !important;
}

.img-col {
    flex: 0 0 50%;
    -webkit-flex: 0 0 50%;
    margin: 0 !important;
    padding: 0 15px;
    width: auto !important;
    background-size: 440px !important;
}

.feature-with-img, .feature-with-banner {
    padding: 0;
}

a.yellow-round-btn {
    background-color: #ffd000;
    padding: 11px 28px;
    border-radius: 34px;
    color: #1D356E;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}

a.yellow-round-btn:hover, a.yellow-round-btn:focus {
    text-decoration: none;
    background-color: #1D356E;
    color: #fff;
}

p.blue-text {
    color: #1e376c !important;
}

.feature-with-img>div.blurb h2, .feature-with-banner>div.blurb h2 {
    font-family: PlayfairDisplayBold;
    text-transform: capitalize;
}

.feature-with-img>div.blurb h2 span {
    color: #1e376c;
}
.yellow-cut-box {
    background-color: #ffd000;
}

.yellow-cut-box .hero.lazyloaded:before {
    content: '';
    background-image: url('/wp-content/themes/caq/images/yellow-cut.png');
    display: block;
    height: 100%;
    width: 176px;
    right: -1px;
    background-repeat: no-repeat;
    background-size: 176px 100%;
    position: absolute;
}

.yellow-round-btn.w-blue-border {
    border: 1px solid #1D356E;
}

.yellow-cut-box h3 {
    font-size: 24px !important;
}

.yellow-cut-box p {
    font-size: 15px !important;
    color: #1e376c !important;
    font-weight: 400;
}

.yellow-cut-box .blurb {
    max-width: 800px;
    overflow: hidden;
    padding-left: 50px !important;
}

.yellow-cut-box {
    justify-content: inherit;
}
.yellow-cut-box.img-right .hero.lazyloaded:before {
    content: '';
    background-image: url('/wp-content/themes/caq/images/yellow-cut-2.png');
    display: block;
    height: 100%;
    width: 176px;
    left: -1px;
    background-repeat: no-repeat;
    background-size: 176px 100%;
    position: absolute;
}



.slider-holder {
    width: 100%;
}
h4.blue.scroll-after-text {
    margin-bottom: 10px;
    color: #1e376c;
}

.a-col p {
    color: #1e376c;
    padding-bottom: 0;
}

.a-row {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.a-col-right {
    flex: 0 0 auto;
}

.a-col-right p.view-right {
    padding: 0;
}

.a-col-right p.view-right a {
    color: #1e376c;
    text-transform: uppercase;
}

.a-col-right p.view-right a:hover, .a-col-right p.view-right a:focus {
    text-decoration: underline;
}

.h-collection-header {
    padding-bottom: 50px;
}
.grid > a:after {
    display: none !important;
}

.new-resource-box .blurb-footer {
    /*background-color: #4d2b84;*/
    background-color: transparent;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    text-align: right;
}

.new-resource-box .blurb-footer span {
    display: inline-block;
    color: #1E376C;
    font-size: 12px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
}

span.type-class {
    padding-right: 10px;
    position: relative;
    margin-right: 5px;
}

span.type-class:after {content: '|';position: absolute;right: 0;top: -1px;}

span.r-date {
    font-weight: 300;
}

a.new-resource-box h3 {
    font-size: 16px;
    line-height: 20px;
    color: #4D2B84;
    font-weight: 500;
}

a.new-resource-box {
    /*border-color: #8249A0;*/
    border-color: #1E376C;
}
a.button.white.new-button {
    box-shadow: none;
    border: 0;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 50px 10px 0;
    border-bottom: 1px solid #4d2b84;
    border-radius: 0;
    color: #4d2b84;
    text-transform: capitalize;
    position: relative;
}

a.button.white.new-button:after {
    content: '\f3d0';
    font-family: Ionicons;
    color: #4d2b84;
    font-size: 20px;
    position: absolute;
    right: 0;
    top: 8px;
    transform: rotate(-180deg);
    transition: 0.5s;
}

a.button.white.new-button:hover, a.button.white.new-button:focus {
    background-color: transparent;
    color: #4d2b84 !important;
}

a.button.white.new-button.open:after {
    transform: rotate(0deg);
}

a.button.white.new-button.open {
    background-color: transparent !important;
}
h4.purpal {
    margin-bottom: 10px;
    color: #4d2b84;
}

.filter span {
    color: #4d2b84;
}

.load-more {
    color: #4d2b84;
    font-size: 14px;
    display: inline-block;
}

.load-more:before {
    margin: 0 auto 5px auto;
}
.load-more:hover {
    color: #4d2b84 !important;
}
footer.site-footer p a {
    font-size: 13px;
}


.collections-scroll .slick-slide a
{
    position: relative;
}
.collections-scroll .slick-slide a::before {
    content: "";
    position: absolute;
    background: transparent;
    top: 0;
    z-index: 9;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}
.collections-scroll .slick-slide:nth-child(4n+1) a::before {
    background: #FFD000 ;
}

.collections-scroll .slick-slide:nth-child(4n+2) a::before {
    background: #1E376C;
}

.collections-scroll .slick-slide:nth-child(4n+3) a::before {
    background: #FF4D00;
}
.collections-scroll .slick-slide.slick-active:nth-child(4n+4) a::before {
    background: #098141;
}

.collections-scroll .slick-slide p {
    z-index: 99;
}
.yellow-cut-box.img-right  .hero.lazyloaded {
    width: 50%;
}

.yellow-cut-box.img-right .blurb {
    max-width: 100%;
}

.search-container.resources-search-container a.button.btn-search {
    background-color: #223b6f;
    border: 1px solid #223b6f;
}
.news-events-box {
    border: 1px solid #4d2b84 !important;
}

.news-events-box .blurb h3 {
    font-size: 16px;
    line-height: 20px;
    color: #4D2B84;
    font-weight: 500;
}

.news-events-box {
    position: relative;
}

.news-events-box .blurb-footer {
    position: absolute;
    bottom: 0;
    background-color: #4d2b84;
    left: 0;
    right: 0;
    padding: 10px;
    color: #fff;
    font-size: 12px;
    text-align: right;
}
.content-container.has-hero h2 {
    font-family: PlayfairDisplayBold;
}

.content-container.has-hero h2 span {
    color: #1e376c;
}

.content-container.has-hero p {
    color: #1e376c;
}

.wrapper.grey p {
    color: #1e376c;
}
.content-container.has-hero ul li {
    color: #1e376c;
}
.banner-container .content-area h2 {
    font-family: PlayfairDisplayBold;
}

.banner-container .content-area h2 span {
    color: #fff;
}
.callout .links-list li a {
    color: #1e376c;
    font-size: 16px;
}
.site-footer p:last-child a {
    border: 1px solid #fff;
    color: #fff;
}

.site-footer p:last-child a:hover, .site-footer p:last-child a:focus {
    background-color: #fff;
    color: #1e376c;
}

@media only screen and (max-width: 992px){
	.yellow-cut-box.img-right .hero.lazyloaded {
		width: 100%;
	}

	.yellow-cut-box.img-right .hero.lazyloaded:before {
		display: none;
	}
	.logo {
		width: 180px;
	}

	.logo a {
		height: auto;
	}
	.img-col {
        flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        background-size: 190px !important;
    }
	.text-col {
		flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
		padding: 0 15px !important;
	}
	.full-hero
	{
		min-height: calc(80vh - 90px);
	}
    .yellow-cut-box .hero.lazyloaded:before {
        display: none;
    }
}

@media only screen and (max-width: 767px)
{  
    .feature-with-img>div.blurb h2, .feature-with-banner>div.blurb h2 {
        font-size: 48px;
    }
	h2 {
		font-size: 42px;
	}
	.section+.section.grey {
		margin-top: 0;
	}
}