/*
Theme Name: Macro Eagle
Theme URI: http://theodagency.com
Description: Theme for Macro Eagle
Author: Ollie Stott
Author URI: http://www.theodagency.com
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css?family=Amiri|Lato:400,700,900|Playfair+Display:400,700,900');

@font-face {
      font-family: 'macroeagle';
      src: url('/font/fontello.eot?8920577');
      src: url('/font/fontello.eot?8920577#iefix') format('embedded-opentype'),
           url('/font/fontello.woff?8920577') format('woff'),
           url('/font/fontello.ttf?8920577') format('truetype'),
           url('/font/fontello.svg?8920577#fontello') format('svg');
      font-weight: normal;
      font-style: normal;
    }
     
    .icon
    {
      font-family: "macroeagle";
      font-style: normal;
      font-weight: normal;
      speak: none;
     
      display: inline-block;
      text-decoration: inherit;
      width: 1em;
      margin-right: .2em;
      text-align: center;
      /* opacity: .8; */
     
      /* For safety - reset parent styles, that can break glyph codes*/
      font-variant: normal;
      text-transform: none;
     
      /* fix buttons height, for twitter bootstrap */
      line-height: 1em;
     
      /* Animation center compensation - margins should be symmetric */
      /* remove if not needed */
      margin-left: .2em;
     
      /* You can be more comfortable with increased icons size */
      /* font-size: 120%; */
     
      /* Font smoothing. That was taken from TWBS */
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
     
      /* Uncomment for 3D effect */
      /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
    }

.shrinkShow {
    float: left;
    font-size: 24px;
	opacity: 0;
}

.smaller .shrinkShow {
	opacity: 1;
}

.shrinkShow ul.catList, .shrinkShow #menu-top-menu {
    margin-left: 125px;
}

.branding {
	height: 110px;
	opacity: 1;
}

.icon-macroeagle-text {
	width: auto;
	position: absolute;
	margin-top: 8px;
}

.shrinkShow, .branding, .icon-macroeagle-branding, a {
		-webkit-transition: all 0.5s;
		-moz-transition: all 0.5s;
		-ms-transition: all 0.5s;
		-o-transition: all 0.5s;
		transition: all 0.5s;
}

body {
	font-family: 'Amiri', serif;
	line-height: 1.65em;
	font-size: 18px;
	margin-top: 195px;
}

.single p {
	line-height: 1.65em;
}

ol {
	padding-left: 20px;
}

ol ol {
	padding: 20px 0px;
	list-style: none;
}
/* FONTS */

h1, h2, h3, h4, h5, h6, #search input[type="search"] {
	font-family: 'Playfair Display', serif;
}

h1 {
	font-weight: 700;
	margin: 20px 0;
}

h2 {
	font-size: 2.2em;
}

a {
	color: #1955a5;
}
a:hover {
	text-decoration: none;
	color: #1955a5!important;
}

input[type=search] {
    padding: 8px 0;
    border: none;
}

.mainContent {
    margin: 15px 0;
}

/* TOP HEAD */

.topMenu {
    background: #e6e6e6;
    font-weight: bold;
    font-family: lato;
    text-transform: uppercase;
	text-align: right;
}
ul#menu-top-menu li {
    padding: 5px 10px 5px 5px;
}

.shrinkShow ul#menu-top-menu li {
    padding: 0 5px;
}

.topMenu .container * {
	display: inline-block;
}
.topMenu li a {
    font-size: 11px;
    color: #1a1a1a;
}

	.topBrand {
		display: block!important;
		float: left;
		color: #1a1a1a;
	}

/* HEADER */

header.fixed-top {
    background: #fff;
}

.siteDate {
    font-size: 12px;
    margin: -8px 0 10px;
	font-family: 'Lato', sans-serif;
}

.navbar {
	padding: 0.1rem 1rem;
}

.navbar-brand {
	margin: 0;
	padding: 0;
	display: inline;
}

.navbar-brand i {
    width: 100%;
	font-size: 80px;
	color: #1a1a1a;
	margin: 10px 0 0;
}

nav, .btn {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 10px;
	letter-spacing: 0.1em;
}

ul#menu-header, ul#menu-top-menu-1, ul#menu-top-menu-2 {
    margin: 0 auto;
}

ul.catList {
    padding: 0px;
    margin: 0 auto;
	list-style: none;
}

ul.catList li a {
    color: #4d4d4d;
}

li.cat-item {
    display: inline-block;
    padding: 0 8px;
}

ul.catList li.current-cat a {
    color: #1a1a1a;
}

.bg-grey {
	background: #e6e6e6;
}

.nav-link {
	padding: 0;
}

.mainMenu {
    border-top: 2px solid #1a1a1a;
    border-bottom: thin solid #ccc;
	padding: 5px 0;
}

/* --- SEARCH EXPAND --- */

.searchs {
    padding: 3px 0 6px;
}

.searchs i {
	font-size: 20px;
	color: #4d4d4d;
}

.searchs a {
    font-size: 14px;
    color: #1a1a1a;
}

#search {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
	background: rgba(256,256,256,0.95);
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
    opacity: 0;
	z-index: -1;
}

#search.open {
    opacity: 1;
    z-index: 999999;
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
}

#search input[type="search"] {
    position: absolute;
    top: 50%;
    background: rgba(0, 0, 0, 0);
    font-size: 30px;
    font-weight: 300;
    text-align: center;
    border: 0px;
    margin: 0px auto;
    margin-top: -51px;
    padding-left: 30px;
    padding-right: 30px;
    outline: none;
    color: #4d4d4d;
    width: 50%;
    margin-left: calc(50% / 2);
}

#search input::-webkit-input-placeholder {
	color: #4d4d4d!important;
}

#search input:-moz-placeholder {
	color: #4d4d4d!important;
}

#search input::-moz-placeholder {
	color: #4d4d4d!important;
}

#search input:-ms-input-placeholder {
	color: #4d4d4d!important;
}


#search .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 61px;
    margin-left: -65px;
}
#search .close {
    position: fixed;
    top: 15px;
    right: 15px;
    color: #4d4d4d;
	opacity: 1;
	padding: 10px 17px;
	font-size: 27px;
}

/* INDEX */

.main {
    margin-top: 15px;
}

main.catList {
    border-bottom: thin solid #ccc;
}

#content article {
    margin: 0;
}

#content header {
	margin: 0 0 10px;
}

article h2 a, .card h5 a {
    color: #1a1a1a;
	font-weight: 700;
}

.card img {
    margin-bottom: 10px;
}

.card-columns {
	orphans: 1 !important;
	widows:1 !important;
}
.card p {
    font-size: 14px;
    line-height: 1.25em;
    margin-top: 5px;
}

@media (min-width: 34em) {
    .archive .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

.date {
	font-size: 14px;
	margin-bottom: 0px;
}

.btn {
    border-radius: 0;
    background: #1955a5;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    padding: 1em 2rem;
}

.readMore {
    font-family: 'Lato', sans-serif;
	font-weight: bold;
	font-size: 14px;
}

.readMore i {
    margin-right: 5px;
}

/* CARDS */

.p-3, .card-body {
	padding: 0!Important;
	border: none;
	background: none;
}

/* SIDEBAR */

.sidebar section {
    margin-bottom: 10px;
    border-top: 2px solid #1a1a1a;
    padding-top: 5px;
    float: left;
    width: 100%;
}

.sidebar h2, h2.sectionTitle, .sideTitle span {
    font-weight: 700;
	font-size: 14px;
	display: inline-block;
	line-height: 1em;
}

.sideTitle span {
	text-transform: uppercase;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	letter-spacing: 0.05em;
	font-size: 11px;
	float: right;
	margin-top: 10px;
}

h2.sectionTitle, .sideTitle {
	border-bottom: thin solid #ccc;
	margin: 0 0 15px;
	padding-bottom: 10px;
	width: 100%;
}

.sideTitle {
	padding-bottom: 0;
}
	
.monthRow {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.2em;
}

.tableRow {
    font-size: 12px;
    font-family: 'Lato',sans-serif;
    text-transform: uppercase;
    font-weight: 700;
	letter-spacing: 0.1em;
	width: 100%;
	float: left;
	padding: 5px 0;
}

.tableRow:nth-child(odd) {
	background: #efefef;
}

.tableRow .month {
    float: left;
    font-size: 12px;
    font-weight: 900;
}

.flag {
    float: left;
	padding: 0 5px;
}

#content .flag img {
    max-height: 20px;
}

.tableRow .date {
    float: left;
    font-size: 11px;
}

.tableRow .eventName {
    float: left;
    font-size: 12px;
}

.eventName a {
    color: #1f59a7!important;
}

h2.sectionTitle {
    margin-top: 10px;
}

.widget_media_image img {
    width: 100%;
}

.wp-caption {
    width: 100%!important;
}

.wp-caption-text {
    font-style: italic;
	font-size: 12px;
	margin: 3px 0;
}
/* SINGLE POST */

.featImg {
	margin: 15px 0;
}

/* FOOTER */

footer {
    background: #e6e6e6;
    text-align: center;
    padding: 30px 0 20px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
	margin-top: 20px;
}

footer a {
	color: #1a1a1a;
}

@media (min-width: 1200px) {
.container {
    max-width: 1280px;
}
}

@media screen and (min-width: 768px) {
	#content {
    	border-top: 2px solid #1a1a1a;
	}
	.blog .col-sm-8 {
    	border-right: thin solid #ccc;
	}
.smaller .branding, .smaller .mainMenu {
 	height: 0px;
    opacity: 0;
    padding: 0px;
    border: none;

}	
}
@media screen and (max-width: 767px) {
	body {
		margin-top: 80px;
	}
	.branding {
		display: none;
	}
	.mainMenu {
		width: 100%;	
	}
	.navbar-light .navbar-toggler {
	    border: none;
	}
	.shrinkShow {
		opacity: 1;
	}
	.shrinkShow i {
		padding: 0;
		margin: 5px 0;
	}
	.shrinkShow #menu-top-menu {
		display: none;
	}
	li.menu-item {
	    font-size: 16px;
	    line-height: 2em;
	    padding: 5px 15px;
	    border-top: thin solid #ccc;
	    text-align: center;
	}
}