/*Header changes 10-12-2019
*/
@media screen and (max-width: 480px) {
    .has-header-image.twentyseventeen-front-page .site-branding, 
    .has-header-video.twentyseventeen-front-page .site-branding, 
    .has-header-image.home.blog .site-branding, 
    .has-header-video.home.blog .site-branding,
    .has-header-image.twentyseventeen-front-page .custom-header, 
    .has-header-video.twentyseventeen-front-page .custom-header, 
    .has-header-image.home.blog .custom-header, 
    .has-header-video.home.blog .custom-header {
        display: block;   
        height: auto;
        left: 0;
        max-width: 100%;
        min-height: 0;
        -o-object-fit: unset;
        object-fit: unset;
        position: relative;
        -ms-transform: none;
        -moz-transform: none;
        -webkit-transform: none;
        transform: none;
    }

    .has-header-image.twentyseventeen-front-page .site-branding, 
    .has-header-video.twentyseventeen-front-page .site-branding, 
    .has-header-image.home.blog .site-branding, 
    .has-header-video.home.blog .site-branding,
    .custom-header-media,
    .has-header-image .custom-header-media img, 
    .has-header-video .custom-header-media video, 
    .has-header-video .custom-header-media iframe {
        position: static;
    }

    .has-header-image .custom-header-media img, 
    .has-header-video .custom-header-media video, 
    .has-header-video .custom-header-media iframe, 
    .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
        min-height: 1px;
        -o-object-fit: unset;
        object-fit: unset;
    }

    .custom-header-media:before {
        background: none;
    }

    body.has-header-image .site-description, 
    body.has-header-video .site-description {
        color: #222;
        opacity: 1;
    }

    .site-branding .wrap {
        padding: 0 1em;
    }
}

@media screen and (max-width: 768px) {
    .custom-header-media,
    .has-header-image .custom-header-media img {
        display: block;
        position: static;
    }

    .has-header-image.home.blog .custom-header {
        height: auto;
    }

    .has-header-image.home.blog .site-branding {
        left: 0;
        position: absolute;
        top: 0;
    }
}






/*Change padding
@media screen and (max-width: 480px) {

    .has-header-image .custom-header-media img,
    .has-header-video .custom-header-media video, 
    .has-header-video .custom-header-media iframe, 
    .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img 
.site-branding {
        position: absolute;
  }
{
        height: auto;
        left: 0;
        max-width: 100%;
        min-height: 0;
        -o-object-fit: unset;
        object-fit: unset;
        position: relative;
        -ms-transform: none;
        -moz-transform: none;
        -webkit-transform: none;
        transform: none;
  
   }
}

*/

/*Change padding
*/

h2.entry-title, h1.entry-title,  h1.page-title {
	font-size: 1.25rem !important;
}

.site-content {
    padding: 0px;
    padding-top: 1em;
}

.page-header {
    margin-top: -2em;   /*before*/
    margin-bottom: 0em !important;   /*after*/
    padding-bottom: 1em;   /*after*/
}

.entry-header {
    margin-top: -2em;   /*before*/
    margin-bottom: 2em !important;   /*after*/
}

@media screen and (min-width: 48em) {
    .page.page-one-column .entry-header, 
    .twentyseventeen-front-page.page-one-column .entry-header, 
    .archive.page-one-column:not(.has-sidebar) .page-header {
        margin-bottom: 0;
    }
}

/*Change main background color
.site-content-contain {
    background-color: #fff;
    background-image: url(wp-content/themes/twentyseventeen/paper.jpg);
}

Remove top padding so main background color doesn't show above the content
div#content {
    padding-top: 0;
}

Set content background color, add a bit of spacing
#content .wrap {
    background: #fff;
    padding-top: 30px;
}

*/

/*
.colors-dark .site-content-contain {
    background-color: #fff;
    background-image: url(wp-content/themes/twentyseventeen/paper.jpg);
}

div#content {
    padding-top: 0;
}


#content .wrap {
    background: url(wp-content/themes/twentyseventeen/paper.jpg) repeat #000;
}
*/