/*
 Theme Name:   Twenty Sixteen LRT
 description: >-
   A child theme of the Twenty Sixteen default WordPress theme for the LRT website
 Author:       Daniel Hill
 Template:     twentysixteen
 Version:      1.0.0
*/

 .custom-logo-link {    
    margin-right: 20px;
 }

.site-branding {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.title-box {
	display: flex;	
	flex-direction: column;
}

.site-header-menu {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.site-header {
	padding-top: 2em;
	padding-bottom: 1em;
}

/*.main-navigation .primary-menu, */
.main-navigation .primary-menu > li {
	border-style: solid;
	border-width: 1px;
	background-color: #000000;
}

.main-navigation ul ul, .main-navigation ul ul li {
	background-color: #000000 !important; 
}

p {
	margin-bottom: 1em;
}

ul {
	list-style-position: inside;
}

body, button, input, select, textarea {
	font-family: Montserrat, "Helvetica Neue", sans-serif;
}

/* Reduce gap after each post */
.site-main > article {
	margin-bottom: 1.5em;
}

/* Reduce gap before headings */
.entry-content h2,
.entry-summary h2,
.comment-content h2,
.textwidget h2 {
	margin-top: 1em;
}


/* Gallery blocks */
/* Move caption underneath */

.wp-block-gallery.has-nested-images figure.wp-block-image {
	align-items: center;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	position: relative;
	background: none;
	color: #000090;
	margin: 0;
	padding: 5px;
}


.wp-block-gallery .blocks-gallery-image figure, .wp-block-gallery .blocks-gallery-item figure {
	align-items: center;
	flex-flow: column;
}

.wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption {
	position: relative;
	background: none;
	color: #000090;
	margin: 0;
	padding: 5px;
}

.blocks-gallery-caption, .wp-block-embed figcaption, .wp-block-image figcaption	{
	color: #ffff00 !important;
}

[class^="wp-block-"] figcaption {
	color: #ffff00 !important;
	text-align: center !important;
}

/* Get rid of big gaps after galleries */

.wp-block-gallery {
	margin-bottom: 0px !important;
}

.wp-block-image {
	margin-bottom: 0px !important;
}


.blocks-gallery-grid {
	margin-bottom: 0px !important;
}

/* Set full width pages to right size */

.page-template-page-wide .content-area {
    width: 100%;
    margin: 0px;
    border: 0px;
    padding: 0px;
}
 
.page-template-page-wide .site {
margin:0px;
}


/* Move metadata under post */

@media screen and (min-width: 61.5625em) {
body:not(.search-results) article:not(.type-page) .entry-footer
{
float: none;
margin-top: 1.5em;
width: 100%;
}
.single .byline, .full-size-link,
body.group-blog:not(.search-results) .byline,
body:not(.search-results) .entry-format,
body:not(.search-results) .cat-links,
body:not(.search-results) .tags-links,
body:not(.search-results) article:not(.sticky) .posted-on,
body:not(.search-results) article:not(.type-page) .comments-link,
body:not(.search-results) article:not(.type-page) .entry-footer .edit-link
{
display: inline;
}
body:not(.search-results) article:not(.type-page) .entry-footer > span:not(:last-child):after
{
display: inline;
}
body:not(.search-results) article:not(.type-page) .entry-content
{
float: none;
width: 100%;
}
body:not(.search-results) article:not(.type-page) .entry-footer .avatar
{
display: inline;
margin: auto 0.3em 1em auto;
width: 27px;
}