/*
 Theme Name:   Twenty Seventeen Child
 Theme URI:    http://example.com/
 Description:  Twenty Seventeen Child Theme
 Author:       Your Name
 Author URI:   http://example.com
 Template:     twentyseventeen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twentyseventeen-child
*/





/* Font overrides
-------------------------------------------------- */

/* Define the "system" font family via. https://css-tricks.com/snippets/css/system-font-stack/ */
@font-face {
  font-family: system;
  font-style: normal;
  font-weight: 400;
  src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"), local(".LucidaGrandeUI"), local("Ubuntu Light"), local("Segoe UI Light"), local("Roboto-Light"), local("DroidSans"), local("Tahoma");
}
body {
	font-family: Lato, system, sans-serif;
}

/* Cursive headings */
h2,
.single-post h1.entry-title,
body.page:not(.twentyseventeen-front-page) .entry-title,
h1.entry-title,
h1.page-title,
.post-thumbnail h3,
.site-title,
.site-description {
	font-style: italic;
	font-weight: normal;
	font-family: 'Bitter';
	text-transform: none;
	letter-spacing: unset;
}
.site-title{
	color: #2e3393;
}
.site-description {
	font-family: Lato, system, sans-serif;
	color: #211516;
	font-weight: bold;
}


/* Stop letter-spacing from getting weird in IE */
h1 {
	letter-spacing: 0px !important;
}

/* category overrides */
.taxonomy-description {
	font-size: inherit;
	color: inherit;
}

.home.blog .entry-title,
h2.page-title,
h2.widget-title {
	font-size: 1.5em;
}

/* thumbnail headings */
h3.entry-title { text-align: center;  }

/* remove front page heading */
h2.page-title { display: none !important; }

/* page title for category and default pages */
h1.page-title,
body.page:not(.twentyseventeen-front-page) .entry-title {
   font-size: 2.5em;
}
h1.page-title, h1.entry-title { color: #2d2f95; }
.entry-title a {  color: #005c9f; }

.post-thumbnail a,
.post-thumbnail a img,
.post-thumbnail a h3,
a {
	transition: all 0.2s ease;
}



/* Header overrides
-------------------------------------------------- */
.site-title,
.site-description { font-size: 4em; }
.site-title a { color: #2e3393; }
	.site-title::before {
	  content: "";
	  display: block;
	  margin: 0;
	  line-height: 1em;
	  width: 120px;
	  max-width: 125px;
	  height: 5px;
	  background: #d71920;
	  margin-bottom: 15px;
	  /*transition: all ;*/
	  animation: grow .25s ease;
	}
	@keyframes grow {
	  0% { width: 0; }
	  100% { width: 120px; }
	}

.site-description { font-size: 1.85em; }
.site-branding {
	background-color: #f6f6f6;
	background-image: url(https://www.imarketsolutions.com/assets/templates/main/images/backgrounds/bg-top-content.jpg);
}
.main-navigation .menu-item-has-children > a > .icon,
.main-navigation .page_item_has_children > a > .icon {
	left: -1px;
}

/* diagonal banner */
.custom-header {
	overflow: hidden;
	padding-top: 10px;
	background-color: #00a2df;
}
	.custom-header::after {
	  background-color: #fff;
	  box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.32);
	  color: #222;
	  font-weight: bold;
	  height: 45px;
	  line-height: 15px;
	  position: absolute;
	  text-align: center;
	  text-transform: uppercase;
	  transform: rotate(32deg);
	  -ms-transform: rotate(32deg);
	  -webkit-transform: rotate(32deg);
	  width: 275px;
	  z-index: 3;
	  right: -49px;
	  top: 20px;
	  content: "Internal Use Only";
	  font-size: 15px;
    padding: 16px 0px 0 19px;
	  animation: slide .25s ease;
	}
	@keyframes slide {
	  0% { top: -42px; }
	  100% { top: 20px; }
	}





/* Thumbnail styling
-------------------------------------------------- */
.post-thumbnail {
	float: left;
}
	.post-thumbnail a {
	  border-radius: 6px;
		box-shadow: 0 1px 1px 0 rgba(0,0,0,0.4);
		overflow: hidden;
	  width: 100%;
	  float: left;
		position: relative;
		margin: 0 auto;
	}
		.post-thumbnail a:hover,
		.post-thumbnail a:focus {
		  text-decoration: none;
    	box-shadow: 0px 9px 23px -6px rgba(0,0,0,0.7);
		  margin-top: -5px;
			margin-bottom: 5px;
		}
		.post-thumbnail a img { 
			border-radius: 6px 6px 0 0;
			width: 100%; 
		}
		body:not(.twentyseventeen-front-page) .entry-header { padding-bottom: 0; }

	.post-thumbnail h3 {
		height: 50px;
		line-height: 50px;
    background-color: #1aa3dd;
    color: #fff;
		margin: 0;
    padding: 0 1em;
		font-size: 1.1em;
		font-weight: bold;
		margin-top: -7px;
	}
	.post-thumbnail a:hover h3 { background-color: #2e3393; }
/*	.post-thumbnail h3::after {
		content: "\003e";
    float: right;
		font-family: system, sans-serif;
		font-style: normal;
		font-weight: normal;
		color: #fff;
	}*/



/* Single post overrides
-------------------------------------------------- */
.single-featured-image-header {
	background: none;
}


.single-featured-image-header img {
	border-radius: 6px;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.4);
  border-top: 23px solid #ddd;
}

.entry-content ul {
	list-style-position: inside;
}

@media screen and (min-width: 48em) {
	.single-featured-image-header {
		float: left;
		width: 36%;
		margin-bottom: 2em;
	}
	body.single .site-content-contain .entry-header, 
	body.single .site-content-contain .entry-content {
	  float: right;
	  width: 58%;
	  margin-left: auto;
	  margin-right: auto;
	}
}



/* Single page overrides
-------------------------------------------------- */
.taxonomy-description,
.page.logged-in.page-one-column #primary {
	max-width: 900px;
}

/* login screen */
@media screen and (min-width: 48em) {
	body.um-page-loggedout #primary { margin-left: auto !important; }
}



/* Layout overrides
-------------------------------------------------- */
@media screen and (min-width: 48em) {
	.navigation-top .wrap,
	.wrap,
	.single-post:not(.has-sidebar) #primary,
	.archive.page-one-column:not(.has-sidebar) .page-header,
	.archive.page-one-column:not(.has-sidebar) #primary {
		max-width: 1500px;
	}
	.has-sidebar:not(.error404) #primary { 
		width: 100%	
	}

	/* Making the thumbnails side by side */
	.blog:not(.has-sidebar) #primary article,
	.archive .site-main > article {
		display: inline-block;
		vertical-align: top;
    width: 29%;
    margin-right: 5%;
    float: inherit;
	}
	.blog:not(.has-sidebar) #primary article:nth-child(3n+3),
	.archive .site-main > article:nth-child(3n+3) {
    margin-right: 0;
	}

	/* remove the crazy padding on h1s*/ 
	.page-header { padding-bottom: 0 }

	/* align main page template with the new width */ 
	.page.page-one-column:not(.twentyseventeen-front-page) #primary {  margin-left: 0; }

	/* tighten up content below header menu */
	.site-content {  padding: 2.5em 0 0; }
}




/* Search form styles
-------------------------------------------------- */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
	border: 0;
}
form label {
	margin-bottom: 0;
}




/* Menu overrides
-------------------------------------------------- */
.navigation-top {
	background-color: #2e3393;
	border: 0;
	font-size: .85em;

	/* removes flicker in chrome */
 	-webkit-transform: translate3d(0,0,0);
 	transform: translate3d(0,0,0);
}
	.main-navigation a {
	  padding: 1em 1em;
	}
	.navigation-top li {
		text-transform: uppercase;
		letter-spacing: 1px;
	}
	.main-navigation ul ul a {
	  padding: 0.6em 1.25em;
	}

	#top-menu > li > a {
	  color: #e4eefa;
	}
	#top-menu > li.current-menu-item > a,
	#top-menu > li.current_page_item > a,
	#top-menu > li > a:hover,
	li.current-menu-ancestor > a {
	  color: #fff;
	  text-decoration: underline;
	}

.navigation-top .current-menu-item > a,
.navigation-top .current_page_item > a {
	  text-decoration: underline;
    color: #767676;
}

@media (max-width: 48em) {
	#top-menu > li > a { color: #2d2f95; }
	#top-menu > li.current-menu-item > a,
	#top-menu > li.current_page_item > a,
	#top-menu > li > a:hover { color: #00a1e0; }
}

button, input[type="button"], input[type="submit"] {
  background: #d71920;
  padding: 15px 25px;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* Ultimate Member Plugin overrides
-------------------------------------------------- */
body.um-page-loggedout header h1.entry-title {
	text-align: center;
}
body.um-page-loggedout header#masthead {
  display: none;
}

/* footer
-------------------------------------------------- */

footer .footer-widget-2 {  text-align: right; }



