/*
 Theme Name:   Twenty Seventeen Child
 Template:     twentyseventeen
 Version:      1.0.0
*/

/* override header container */
#hp-header {
  max-width: 600px;
}
/* remove wp 2017 underline for links */
a, a:hover, a:active, a:visited, a:link, .entry-content a:focus, .entry-content a:hover, .entry-summary a:focus, .entry-summary a:hover, .widget a:focus, .widget a:hover, .site-footer .widget-area a:focus, .site-footer .widget-area a:hover, .posts-navigation a:focus, .posts-navigation a:hover, .comment-metadata a:focus, .comment-metadata a:hover, .comment-metadata a.comment-edit-link:focus, .comment-metadata a.comment-edit-link:hover, .comment-reply-link:focus, .comment-reply-link:hover, .widget_authors a:focus strong, .widget_authors a:hover strong, .entry-title a:focus, .entry-title a:hover, .entry-meta a:focus, .entry-meta a:hover, .page-links a:focus .page-number, .page-links a:hover .page-number, .entry-footer a:focus, .entry-footer a:hover, .entry-footer .cat-links a:focus, .entry-footer .cat-links a:hover, .entry-footer .tags-links a:focus, .entry-footer .tags-links a:hover, .post-navigation a:focus, .post-navigation a:hover, .pagination a:not(.prev):not(.next):focus, .pagination a:not(.prev):not(.next):hover, .comments-pagination a:not(.prev):not(.next):focus, .comments-pagination a:not(.prev):not(.next):hover, .logged-in-as a:focus, .logged-in-as a:hover, a:focus .nav-title, a:hover .nav-title, .edit-link a:focus, .edit-link a:hover, .site-info a:focus, .site-info a:hover, .widget .widget-title a:focus, .widget .widget-title a:hover, .widget ul li a:focus, .widget ul li a:hover {
  box-shadow: none!important;
  -webkit-box-shadow: none!important;
}

/* fonts */
html, body {
  font-size: 14px;
}


h1, h2, h3, h4, h5 {
  font-family: 'HiLoDecoDeco';
  font-weight: normal;
  font-style: normal;
  text-transform: uppercase;
}
h1, #secondary h1 {
  font-size: 2em!important;
}
h2, #secondary h2 {
  font-size: 1.5em;
  margin-bottom: 1em;
}
h3, #secondary h3 {
  font-size: 1.3em;
}
h4, #secondary h4 {
  font-size: 1.2em;
}
h5, #secondary h5 {
  font-size: 1.1em;
}

blockquote {
  font-size: 1.2em;
  margin-left: 10px;
  padding-left: 5px;
  margin-bottom: 20px;
}

ul {
  margin-left: 20px;
}

p.site-description {
  font-size: 1.2em;
}

/* Side by side images - with responsiveness! */
img.sidebyside {
  width: 100%;
  margin-bottom: 0em;
}
@media (min-width: 480px) {
  img.sidebyside {
    width: 80%;
    margin-bottom: 1.5em;
    margin-left: 10%;
    margin-right: 10%;
  }
}
@media (min-width: 1024px) {
  img.sidebyside {
    width: calc(50% - 0.75em);
    margin-bottom: 1.5em;
  }
  img.sidebyside.alignleft {
    margin-right: 0.75em;
    margin-left: 0em;
  }
  img.sidebyside.alignright {
    margin-right: 0em;
    margin-left: 0.75em;
  }
}

/* Homepage widgets */
.hp-widget {
  min-height: 300px;
  opacity: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.hp-widget img.image, .hp-widget img.wp-post-image {
  display: none;
}
/* ul for front page menus */
.hp-widget ul {
  font-size: 1.4em;
}
/* Text widget on front page */
.hp-widget .textwidget {
  font-size: 1.3em;
}
.hp-widget ul, .hp-widget .textwidget {
  margin: 20px;
  font-family: 'HiLoDecoDeco';
}

.hp-widget ul li a:visited, .hp-widget ul li a:link {
  text-decoration: none;
}
.hp-widget ul li a:hover, .hp-widget ul li a:active {
  text-decoration: underline;
}
.hp-excerpt {
  padding: 5px;
  margin-top: 15px;
  background-color: rgba(255,255,255,0.7);
}
.social-icons {
  width: 60%;
  margin: 0px 40% 0px 0px;
}
.social-icons img {
  margin: 2.5%;
  width: 20%;
  max-width: 30px;
  height: auto;
}
.hp-widget h2 {
  color: #FFF;
  background-color: rgba(0,0,0,0.7);
  font-weight: bolder;
  margin-right: 17px;
  padding: 2px 5px;
}
.hp-widget h2 {
  position: absolute;
  bottom: 0px;
}
.hp-menu {
  margin-top: 10px;
}

/* for links with opacity raise on hover */
a.hp-bkg-img-link:hover, a.hp-bkg-img-link:active, .social-icons a:hover, .social-icons a:active {
  opacity: 0.6;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}



/* 2017 overrides */
.widget ul li, .widget ol li {
  border: none;
}


/* entry content override - make it blog width */
body #primary #main article .entry-header {
  width: 100%;
}
body #primary #main article .entry-content {
  width: 100%;
}

/* gallery figure override - I think this requires the plugin WP Featherlight */
.gallery figure.gallery-item {
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.gallery .gallery-item .gallery-icon a img {
  cursor: pointer;
}
