/*
 Theme Name:   Ribchester St Wilfrid's Theme
 Theme URI:    https://www.ribchesterstwilfrids.co.uk
 Description:  Ribchester St Wilfrid's Theme
 Author:       JC Web Design
 Author URI:   https://www.jcwebdesign.net
 Template:     onepress
 Version:      1.0.0
*/

#content h1, #content h2, #content h3, #content h4, #content h5, #content p, #content li, #content ol, #content ul {
	color: #122c47!Important;
}
h1 {
	font-weight: 900!important;
	font-size: 40px!important;
}
h2 {
	font-weight: 900!important;
}
h3 {
	font-weight: 900!important;
}
.btn {
	border: 1px solid!important;
}
#content p, #content ul, #content li, #content ol {
	font-size: 16px!important;
}
.onepress-menu {
    margin-top: 55px!important;
}
.homepage-news h3.widget-title {
	font-size: 40px!important;
    letter-spacing: 3.5px!important;
	text-align:center!Important;
	text-transform: uppercase!important;
	width: 100%;
}
/* Post Carousel - homepage */

a.sow-carousel-next {
	float:right!important;
	background: none!important;
	color: #122c47!important;
	line-height:65px!important;
	margin-top: 65px!important;
	margin-right: 0px!important;
	margin-left: 10px!important;
	position: absolute!Important;
	right: -15px!important;
}

a.sow-carousel-previous {
	float:left!important;
	background: none!important;
	color: #122c47!important;
	line-height:65px!important;
	margin-top: 65px!important;
	margin-right: 10px!important;
	margin-left: 0px!important;
	position: absolute!Important;
	left: -15px!important;
}

.sow-carousel-title a.sow-carousel-previous:before {
    content: "\e600";
    font-size: 30px!important;
}

.sow-carousel-title a.sow-carousel-next:before {
    content: "\e601";
    font-size: 30px!important;
}

.sow-carousel-title a.sow-carousel-previous:hover {
    color: black!important;
}

.sow-carousel-title a.sow-carousel-next:hover {
    color: black!important;
}
.sow-carousel-wrapper .sow-carousel-items .sow-carousel-item .sow-carousel-thumbnail a span.overlay {
    background: none!important;
    opacity: 0;
}
.sow-post-carousel-theme-base .sow-carousel-wrapper .sow-carousel-items .sow-carousel-item .sow-carousel-thumbnail a {
    display: block;
    background-position: center center;
    background-size: cover!important;
}

/* End */

@media (min-width: 1400px)
{
	/* Hero */
	
	#hero .container {
		width: 100%!important;
		padding-right: 0px!important;
    	padding-left: 40px!important;
	}
	.onepress-menu a {
    	color: #FFF!important;
	}
	.sub-menu li a {
		color: #122c47!important;
	}
	

}
@media (min-width: 1140px) and (max-width: 1399px)
{

}
@media (min-width: 1000px) and (max-width: 1139px)
{

}
@media (min-width: 781px) and (max-width: 999px)
{

}
@media (max-width: 780px)
{

}

/* Attachments */

.mtli_attachment {
	border: 2px solid #A32025;
    background-color: #A32025;
    margin: 10px;
    border-radius: 5px;
	padding: 15px;
	color: white!important;
	background-position: left!important;
}
a.mtli_attachment {
	color: white!important;
	font-weight: bold;
	font-size: 16px;
	width: 100%;
	margin-left: 0px;
}

/* Page Headers/Titles */

.page-header .entry-title, .page-header .page-title {
    font-size: 40px!important;
    font-weight: 900!important;
    letter-spacing: 1px;
    text-transform: capitalize!important;
}
.page-header {
    padding: 30px 0px;
    border-top: none!important;
    background: none!important;
    border-bottom: none!Important;
}
.site-content {
    border-top: none!important;
    margin-top: -1px;
}

/* Site Logo */

.site-logo-div img {
	padding: 10px!important;
}

/* Class Posts */

.class-posts .rpwe-block li {
	float: left;
	width: 33.3%!important;
	text-align: center!important;
}
.class-posts .rpwe-block li .rpwe-img img {
	width: 100%!important;
	border: none!important;
}
.class-posts h3.widget-title {
	text-align: center!important;
	font-size: 30px!Important;
}

.homepage-tiles .so-panel {
	border: 1px solid #122c47!important;
	padding: 80px!important;
	padding-left: 10px!important;
	padding-right: 10px!important;
	text-align: center!important;
}
.homepage-tiles .so-panel h2 {
	margin-bottom: 0px!important;
}
.single-post .site-content {
	padding-top: 30px!important;
}

.site-header {
    line-height: 75px;
    position: relative;
    width: 100%;
    background: #122c47!important;
}
.home .site-header {
    background: none!important;
}


.owl-item .item--content
{
	animation: fade 5s infinite;
	-webkit-animation: fade 5s infinite;
	-moz-animation: fade 5s infinite;
	-o-animation: fade 5s infinite;
	-ms-animation: fade 5s infinite;
}

@keyframes fade {
  0% { opacity: 0; }
  40% { opacity: 0; }
  75% { opacity: 1; }
  100% { opacity: 1; }
}

@-moz-keyframes fade {
  0% { opacity: 0; }
  40% { opacity: 0; }
  75% { opacity: 1; }
  100% { opacity: 1; }
}

@-webkit-keyframes fade {
  0% { opacity: 0; }
  40% { opacity: 0; }
  75% { opacity: 1; }
  100% { opacity: 1; }
}

@-o-keyframes fade {
  0% { opacity: 0; }
  40% { opacity: 0; }
  75% { opacity: 1; }
  100% { opacity: 1; }
}

@-ms-keyframes fade {
  0% { opacity: 0; }
  40% { opacity: 0; }
  75% { opacity: 1; }
  100% { opacity: 1; }
}

.ypm-disable-page-scrolling {
    position: fixed;
    height: 100%;
    max-height: 100%;
    width: 100%!important;
}

