/*
Theme Name: NetworkRail
GitLab Theme URI: https://gitlab.com/theapsgroup/studio-services/wordpress/themes/networkrail-theapsgroup-com
Author: APS Group Digital Team
Author URI: https://www.theapsgroup.com/
Description: Custom APS Theme
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain:
Tags:
*/


/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Alignments
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/
#colophon {

}
 
#colophon .container {
	border-top: 1px solid #ddd;
	padding:  0;
}
 
#colophon .col1,
#colophon .col2 {
    text-align: center;
}
 
.footer-menu {
	margin-left:0;
	padding:0;
}
 
.footer-menu li {
	display:inline;
	list-style-type:none;
}
 
.footer-menu li a {
	/* border-left:1px solid #ddd; */
	padding: 0 8px;
}
 
.footer-menu > li:first-child > a {
	border-left:none;
	padding:0 8px 0 0;
}

.footer-menu > li:last-child > a {
	padding:0 0 0 8px;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}



/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

.widget ul,
.widget p {
    margin:1em 1.25em;
}

.widget ul {
    padding-left:0;
    list-style: none;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
    border-bottom: 1px solid #ddd;
	padding-bottom: 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure full-size post images fit their containers. */
img.size-full.wp-post-image {
    width:100%;
    height:auto;
}
a img.size-full.wp-post-image {
    margin-bottom:1em;
}


/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33333%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66667%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28571%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11111%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
Media Queries 
--------------------------------------------------------------*/
 
/* Custom */ 
@media only screen and (min-width : 320px) {
	
}

/* Bootstrap 4 breakpoints */


/* xs - extra small below 576 px (default) */
 

/* sm - small */ 
@media only screen and (min-width : 576px) {
 
}
 
/* md - medium */
@media only screen and (min-width : 768px) {

    #colophon .col1 {
        text-align: left;      
    }
    #colophon .col2 {
        text-align: right;
    }
    
}
 
/* lg - large */
@media only screen and (min-width : 992px) {
 

}
 
/* xl - extra large */
@media only screen and (min-width : 1200px) {
 
}
