/*Making Logo and NavBar Static and in one line*/
#masthead {
position: fixed;
width: 100%;
display: flex;
flex-direction: row;
text-align: center;
align-content: center;
align-content: center;
background:#fff;
box-shadow: 0 0 5px;
z-index: 1000;
justify-content: center;
	height: 132px;
}

.site-branding, .wrap, .custom-logo-link { padding: 0; }

.site-branding {
  margin-right: 50px;
  margin-bottom: 0 !important;
}

.custom-header {
margin: 0 !important;
background:#fff;
}

.site-navigation-fixed.navigation-top,
.custom-header, .navigation-top {
display: inline-flex;
position: relative !important;
width: auto;
border: 0;
/*! margin: 0 auto; */
}

.navigation-top {
width: auto;
}
/*Make Panel image and featured image padded at the top*/
.single-featured-image-header img {padding-top: 128px;}

.panel-image {padding-top: 1px;}

.twentyseventeen-panel {padding-top: 128px;}

img.custom-logo{padding: 7px;}

/*CSS from Before this point onwards*/

/* Logo size*/ 

.custom-logo-link img {  
	max-height: 128px;  }

/*Page background*/ 

.site-content-contain {  
background-color: #f8f8f8;  
position: relative;  
}  

/*Menu Styling*/ 

.navigation-top .current-menu-item > a, .navigation-top .current_page_item > a {  
    color: #000;  
    border-bottom: 5px solid #AB0101; 
}
/*Remove WP Credit*/
.site-info { display: none }

/*Panel and page width*/
 
.panel-content .wrap {  
background-color: #f8f8f8;  
padding-bottom: 4.5em;  
padding-top: 3em;
padding-left:1em;
padding-right:1em;
}   
.entry-content{
	 padding-left:1.5em;
	padding-right:1.5em;
}
.entry-title{
	 padding-left:1.5em;
	padding-right:1.5em;
}
/*Page headline etc.*/ 
.page .panel-content .entry-title, .page-title, body.page:not(.twentyseventeen-front-page) .entry-title {  
color: #000;  
font-size: 24px;  
border-bottom: 7px solid #AB0101;  
display: block;	
font-weight: 800;  
letter-spacing: 0.14em;  
text-transform: uppercase;  
}  

/*Content Views Plugin*/ 

.pt-cv-view .pt-cv-title {  
margin-bottom: 10px;  
border-bottom: 4px solid #AB0101;  
min-height: 100px; 
margin: 3px;  
} 
/*Content Views Styling*/ 

.pt-cv-collapsible .panel-heading a {  
display: block;  
padding: 10px 15px;  
border-bottom: 4px solid #AB0101;  
}  
.pt-cv-wrapper .btn-success { 
color: #fff; 
background-color: #000; 
border-color: #aaa; 
text-transform: uppercase; 
font-size: 11px 
}  
.pt-cv-content  {  
font-weight: 400;  
margin: 3px;  
border-bottom: 7px solid #000; }  
.pt-cv-view .pt-cv-ifield {  
margin-bottom: 0!important;  
box-shadow: 0 0 8px #000;  
margin-top: 2px 
}  
.pt-cv-scrollable .pt-cv-thumbnail { 
width: 100%; 
box-shadow: 0 0 8px #000;	 
} 

/*MetaSlider*/ 
.theme-light.slider-wrapper { 
background: #fff; 
padding: 10px; 
border-bottom: 10px solid #AB0101; 
	box-shadow: 0 0 5px; 

		margin-bottom:10px;}

.metaslider.ms-theme-nivo-light .slider-wrapper {
    background: #fff;
    padding: 10px;
	margin-bottom: 7px;
	border-bottom: 5px solid #AB0101; 
		border-top: 3px solid #555; 
}
/*Button*/

button, input[type="button"], input[type="submit"] {
    background-color: #AB0101;
    border: 0;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
}

.yrm-button-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
	color: #fff;
	background: #AB0101;
	border: 5px solid #AB0101;
}
	
/*Widget styles*/ 

h2.widget-title {  
font-size: 14px;  
color: #000;   
padding-bottom:1px;
padding-left: 0px;
}
  
.widget-title {background-color:#dadada;
border-bottom: 5px solid #AB0101; 
}
   
.widget {margin: 3px;  
background: #fff;
height:300px;
	overflow-y: auto;
margin-bottom: 28px;
box-shadow: 0 0 5px #777;
border-top: 0px solid #000; 
border-bottom: 2px solid #555;
padding: 2px;
}

.widget-area {  
color: #000;
}

/*Footer*/
.site-footer  {
	border-top:1px solid #000;
	box-shadow: 0 0 1px;
	border-bottom:10px solid
		#000;
}