/*
 Theme Name:   e-Forensic Services
 Theme URI:    https://e-forensic.ca/
 Description:  Twenty Nineteen Child Theme
 Author:       Internet Image 
 Template:     twentynineteen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html  
*/

/*typography*/

body {  
  color: #252525;
  font-family: "Roboto", sans-serif; 
  font-size:.75em;  
}
/* to make page content go full width */
body.page .entry .entry-content > *, .entry .entry-summary > *, .blog .entry .entry-content > *, .single .entry .entry-content > * {
        max-width: none;
}


input,
select,
optgroup,
textarea {
  color: #111;
  font-family: "Roboto", sans-serif;  
  
}

.author-description .author-link,
.comment-metadata,
.comment-reply-link,
.comments-title,
.comment-author .fn,
.discussion-meta-info,
.entry-meta,
.entry-footer,
.main-navigation,
.no-comments,
.not-found .page-title,
.error-404 .page-title,
.post-navigation .post-title,
.page-links,
.page-description,
.pagination .nav-links,
.sticky-post,
.site-title,
.site-info,
#cancel-comment-reply-link,
img:after,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

.page-description,
.author-description .author-link,
.not-found .page-title,
.error-404 .page-title,
.post-navigation .post-title,
.pagination .nav-links,
.comments-title,
.comment-author .fn,
.no-comments,
.site-title,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.2; 
}
.entry-content a:link, .entry-content a:visited, .entry .entry-content .more-link, .entry .entry-title a:link, .entry .entry-title a:visited {color:#0073aa;}
.entry-content a:hover, .entry-content a:active {color:#036c9e;}

.site-header {
    margin: 0;
    padding: 1em 0 2em;
    
}
.site-header.featured-image {padding-bottom:0;}
.home .site {background: url(images/bg2b.jpg) center top no-repeat;}
.site-header:not(.home .site-header){background: #025170;}
.site-title, .site-description, .featured-image .site-title {display: none;}
.site-logo .custom-logo-link { width: 170px;  height: 170px; margin:0 auto;}
.site-logo .custom-logo-link:hover, .site-logo .custom-logo-link:active, .site-logo .custom-logo-link:focus {box-shadow: none;}
.site-header.featured-image .custom-logo-link {background:none; box-shadow: none;}
.site-header.featured-image .custom-logo-link:hover {background:none; box-shadow: none;}
.main-navigation {font-size: 1em; text-align:center;}
.social-navigation {text-align:center;}
.social-navigation ul.social-links-menu li a { color: #fff;}
.main-navigation .main-menu > li > a {
    font-weight: 400;
    color: #fff;
    margin-right: 0.5rem;    
}
.main-navigation .sub-menu {font-weight: 400; background-color:#fff!important;}
.main-navigation .sub-menu > li > a:hover {background-color:#e6e6e8;}
.main-navigation .sub-menu li {border: 1px solid #ccc;}
.main-navigation .sub-menu >li >a { padding:.75em 2em;color:#333;}
.site-header.featured-image .main-navigation .sub-menu a {color:#333;}
.main-navigation .main-menu > li > a:hover, .main-navigation .main-menu > li > a:hover + svg {color:#ccc;}
.home .entry-title {display:none;}
.entry-title {word-break: normal;
word-wrap: normal;}

h1:not(.site-title)::before, .entry .entry-title::before {height:0; margin:0;}
h2::before {height:0;}
h2 {font-size:1.75em; color:#4a4b4b; }
.blog h2.entry-title {font-size:1.75em;}
h1 {font-size:2.25em; color:#025170; font-family: "Raleway", sans-serif;}
h4 {color:#00b277; font-family: "Raleway", sans-serif;}
.entry .entry-content .wp-block-image .aligncenter img { margin: 0 auto;}
.entry .entry-content .wp-block-image .aligncenter {width: 100%;}
.wp-block-column h2 {font-size:1.75em; text-align:center;}
.on-blue {color:#fff;}
.shadow {text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);}
.entry .entry-content .home-services {padding-top:15em;}


.entry .entry-content .blog-title {background:#4a4b4b; padding:1em 0 1em 0; color:#fff; text-align:center; margin-bottom:0;}
.entry .entry-content .home-blog {background:#4a4b4b; padding:0 2em 2em 2em; margin-top:0;}
.entry .entry-content .wp-block-latest-posts.is-grid li {text-align:center; border-top: none;}
.home  .entry .entry-content .wp-block-latest-posts li > a {font-family: "Roboto", sans-serif; color:#fff;}

/* button color  override */
.image-filters-enabled .site-header.featured-image .site-featured-image:before,
		.image-filters-enabled .site-header.featured-image .site-featured-image:after,
		.image-filters-enabled .entry .post-thumbnail:before,
		.image-filters-enabled .entry .post-thumbnail:after,
		.main-navigation .sub-menu,
		.sticky-post,
		.entry .entry-content .wp-block-button .wp-block-button__link:not(.has-background),
		.entry .button, button, input[type="button"], input[type="reset"], input[type="submit"],
		.entry .entry-content > .has-primary-background-color,
		.entry .entry-content > *[class^="wp-block-"].has-primary-background-color,
		.entry .entry-content > *[class^="wp-block-"] .has-primary-background-color,
		.entry .entry-content > *[class^="wp-block-"].is-style-solid-color,
		.entry .entry-content > *[class^="wp-block-"].is-style-solid-color.has-primary-background-color,
		.entry .entry-content .wp-block-file .wp-block-file__button {
			background-color: #025170; 
		}
.entry .entry-content .wp-block-button .wp-block-button__link {font-family: "Roboto", sans-serif; }

/*bottom align buttons*/
.wp-block-column {
 display: flex;
 flex-direction: column;
}

.wp-block-column .wp-block-buttons {
 margin-top: auto;
}
.entry .entry-content .wp-block-columns .wp-block-column .wp-block-buttons:last-child{
 margin-bottom: auto;
}
		
.home .entry .entry-footer {height:0; margin:0;}

.director {background:#ececec;}
.director figure {padding:2em;}
.director img {border:1px solid #3c3c3c;}
.director ul {margin-bottom:3em;}

.blog .entry-footer, .single-post .entry-footer {display:none;}
.single .entry-meta {display:none;}

/*featured image all pages except home*/
.site-header.featured-image .site-branding-container, .main-navigation {width:100%;}
.site-header.featured-image .site-branding-container {padding-bottom:2em;}
.site-header.featured-image {min-height:auto; }
.site-header.featured-image .site-branding-container:after, .site-header.featured-image .site-featured-image:before, .site-header.featured-image .site-featured-image:after, .site-header.featured-image:after {position:relative; }
.site-header.featured-image .site-featured-image .post-thumbnail img {position:relative; height: auto; min-height:auto; left: 0;  top: 0; max-height:345px;}

.entry .entry-content .wp-block-separator, .entry .entry-content hr {
height: 2px;
margin-bottom: 1em;
margin-top: 1em;
max-width: 8em;
text-align: left;
}

.course-list {margin-top:1em;}
.course-list .entry-content h3 {margin-top:0;}
.course-list .entry-content h4 a {text-decoration:none;}
.course-list p {margin:0 2em;}
.course-list .entry-content .course-list-button { margin:1em 2em 4em;}
.course-list-button a:link, .course-list-button a:visited {color:#fff; background:#00b277;}

.page-template-page-productslist .entry .entry-header {margin-bottom:1em;}
.entry .entry-content .product-button {margin-top:0;}
.page-template-page-productslist h2 {color:#00b277;}
.product-button .wp-block-button {width:180px}
.product-button .wp-block-button__link {width:180px}
.page-template-page-productslist p {margin-block-start:0;}
.page-template-page-productslist .entry .entry-content p a {text-decoration:none; font-size:1.25em; font-weight:700;}
.page-template-page-productslist .wp-block-column {border:1px solid #efefef; padding:2em 0;}
.page-template-page-productslist .wp-block-column:empty {border:0;}
.page-template-page-productslist .wp-block-column .wp-block-image {margin-bottom:0;}
.page-template-page-productslist .product-button .wp-block-column  {border:0; padding:0; margin-top: 0;}

.category h1.category-title {font-size:2.25em; margin:2em auto 1em; max-width: 1280px; padding: 0 60px;}
.category .category-desc, .category .category-loop {max-width: 1280px; padding: 0 60px; margin:0 auto;}
.category article {vertical-align:top; padding:2em 2%; margin:1em 1%;}
.category article h2 {font-size:1.25em;}
.category .entry {margin-top:1em;}
.category .entry .entry-header {padding:0; text-align:center;}
.category .entry .post-thumbnail {max-width:200px; margin:0 auto 2em;}
.category .entry-content, .category .entry-footer {display:none;}

.single-projects .site-featured-image {display:none;}
.single-projects .site-header.featured-image {overflow: visible;}
.product-thumbnail img {max-width:500px; margin:0 auto;}
.quote {margin:0 auto 2em; max-width: 1280px; padding: 0 60px;}
.quote a {display:inline-block;}

.frm_forms.frm_style_formidable-style.with_frm_style {margin-top:0;}
.with_frm_style .frm_top_container .frm_primary_label, .with_frm_style .frm_hidden_container .frm_primary_label, .with_frm_style .frm_pos_top {color:#0073aa; font-weight:bold; font-family: "Raleway", sans-serif; font-size:1.125em;}
.with_frm_style .frm_radio label, .with_frm_style .frm_checkbox label {font-family: "Roboto", sans-serif; font-size:1em;}

.course-sessions {margin-left:0;}
.course-sessions li {list-style:none;display:inline-block; padding:1em 2em;}
.session { margin:1em 3em;}
.error404 .site-content {margin:3em 0;}

#colophon {background:#025170;}
#colophon h2 {color:#fff; font-size:1.25em;}
#colophon .wp-block-column {margin-top:5em;}
#block-3 p {display:block; clear:both;}
#block-3 .wp-block-image {margin:0;}
#block-8 p {font-size:.9em;}
#frm_field_9_container div {font-size:.7em!important; margin-top:1em!important;}

.footer-widget-1 {color: #fff;}
.footer-widget-1 h2 {margin-top: .8rem;}
.wp-block-search .wp-block-search__label {font-size: 1.25em; color: #fff;}
#colophon .site-info {color:#fff; text-align:center; margin:0 1em 1em; display:inline-block;}
.widget_nav_menu ul li {font-size:1em; font-weight:400;}

.footer-navigation {display:inline-block; font-size:.75em; text-align:center;}
.footer-navigation .footer-menu li {
    display: inline;
    margin: 0 1em;
}
.footer-navigation a, .site-footer a {color:#fff;}
#frm_field_9_container a {text-decoration:underline;}
.site-footer a:hover {color:#ccc;}
#colophon iframe {max-height:460px;}
#colophon .social-navigation ul.social-links-menu li a svg {width: 16px; height: 16px;}
.my-footer-area {margin:0 auto; text-align:center;}

@media (max-width: 599px){
.wp-block-column, .entry .entry-content .home-services {margin-top: 4em;}

    
}

@media only screen and (min-width: 768px) {

.site-branding-container {max-width:1280px; margin:0 auto;}
.site-branding {height:125px;  margin: 0 2% 0 250px;}
.site-logo {top:0;}
.main-navigation { padding-top: 2em; text-align:right;}
    .main-navigation .sub-menu {text-align:center;}
.social-navigation {text-align:right;}
.site-header.featured-image .site-featured-image .entry-header {max-width: 1280px;
    margin: 3em auto;
    padding: 0 60px;}
.site-header.featured-image {margin-bottom:0;}
    
.entry .entry-content .home-services {padding-top:30em;}
.entry .entry-content, .entry .entry-summary {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}
    
.entry .entry-header, .blog-header {
    max-width: 1280px;
    margin: 3em auto 1em;
    padding: 0 60px;
}
.single .entry .entry-header {margin-bottom:0;}
.hfeed .entry .entry-header {max-width: 1280px;
    margin: 1em auto;
    padding: 0 60px;}
.entry .entry-footer {margin-bottom:0;}
.category article.entry .entry-header {padding:0;}
    
.category article {display:inline-block; width:22%;} 
.blog .entry .post-thumbnail .post-thumbnail-inner img {width:50%; margin:0 auto;}
    
#colophon .social-navigation {text-align:center; margin:1em auto;}
.entry .entry-content > .alignfull {left: calc( -8% - 0px);
width: calc( 115% + 5px);
max-width: calc( 125% + 150px);}

}

@media only screen and (min-width: 1040px) {

.home .entry .entry-content h1 {margin-top:2em; font-size:3.25em;}

h2 {font-size:2.25em;}
    
.entry .entry-content .home-services {padding-top:20em;}
.entry .entry-content > .home-services > :first-child {
    margin-top: 0;
}


.entry .entry-content > .alignfull {left: calc( -12.5% - 75px);
width: calc( 125% + 150px);
max-width: calc( 125% + 150px);}
    


#colophon .widget-area {max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;}
    
#colophon .widget-column #block-3.widget_block{
    margin-right: 1%;
    width: calc(25%);
}
#colophon .widget-column #nav_menu-2.widget {
    margin-right: 0;
    width: 24%;
    padding-top:4em;
}
#colophon .widget-column #block-8.widget_block{
    margin-right: 3em;
    width: calc(51% - 3em);
    
}
#colophon .widget-column #block-6  .widget {width:100%;margin:0;}
#block-5 {padding-top:4em;}
#block-6 {padding-top:1em;}
#block-8 {padding-top:1em;}
#colophon .widget-column #block-6.widget_block {
margin-right: 0;
width: 23%; 

}
    
.wp-block-column {margin-top:0;}



}

@media only screen and (min-width: 1400px) {



}

