html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: white;
    font-family: 'Quicksand', sans-serif;
    color: #333;
    font-size: 22px;
    margin: 0;
}

h1 {
    color: #333333;
    font-size: 2.5em;
}

h2 {
    
    color: #333333;
}

h3 {
    color: darkmagenta;
}

h4 {
    color: #662d91;
}

p {
    font-size: 1.0em;
    line-height: 1.6;
    font-weight: lighter;
}

@media screen and (max-width:800px){
    .title_section h1 {
        font-size: 2.0em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    h3 {
        font-size: 1.15em;
    }
    
    h4 {
        font-size: 1.0em;
    }
}

a {
    color:inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    height: auto;
}

.mainbody {
    flex: 1 0 auto;
    width: 100%;
    margin-bottom: 10px;
}
.mainbody h2{
    padding-top:15px;
}



/* Make YouTube Video fill div and scale with it.*/
.iframe-container {
  padding-top:56.25%;
  overflow: hidden;
  width: 100%;
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.header_row{
    border-bottom: 10px solid #00c389;
    padding-top: 10px;
    padding-bottom: 10px;
}

.title_section {
    margin-bottom: 10px;
    margin-top: 15px;
}

.logo {
    height: 50px;
}

.author-image {
    width: 75px;
}

.sharebuttons {
    min-height:35px;
}

.published{
    min-height:75px;
    font-size: 0.85em;
    font-weight: lighter;
    line-height: 1.2;
    margin-bottom: 10px;
    margin-top: 15px;
    
}

input {
    width: 75%;
    display: inline-block;
    font-size: 0.75em;
}

button{
    display: inline-block;
}

#footer_row {
    flex-shrink: 0;
    width: 100%;
    min-height: 100px;
    margin-top: auto;  /* This helps push the footer down */
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: none;
    background-color: #333;
    text-align: center;
}

.footer-link {
    min-height: 50px;
}

.footer-link a{
    color: #ffffff;
    font-weight:bold;
    font-size: 0.8em;
}

.footer-link:hover a{
    color: #cccccc;
}

/* image zoom effect */
.img-zoom {
  overflow: hidden; /* [1.2] Hide the overflowing of child elements */
}

/* [2] Transition property for smooth transformation of images */
.img-zoom img {
  transition: transform .5s ease;
}

/* [3] Finally, transforming the image when container gets hovered */
.img-zoom:hover img {
  transform: scale(1.25);
}

.header_row form input[type=submit] {
    margin: 0 0 0 5px;
    padding: 0 0 0 0;
    background: none;
    border: none;
    background: url(../img/search-icon.png) center top no-repeat;
    width: 17px;
    height: 18px;
    display: inline-block;
}

/* Control tracking pixels and small images */
img[width="1"][height="1"],
img[width="0"][height="0"],
img[height="1"][width="1"],
img[height="0"][width="0"] {
    width: 1px !important;
    height: 1px !important;
    display: inline !important;
    position: absolute !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}