/* blog page stylesheet for LCS */
body {
  font-family: Arial;
  padding: 0px;
  background: #f1f1f1;
}

/* hiding the blogs that are archived */
#blog2019
{
    display: none;
}




.header {
  padding: 30px;
  font-size: 40px;
  text-align: center;
  background-image: url('img/blog-page-banner.jpg');
  background-repeat: no-repeat;
background-size: cover;
    width: 100%;
    max-height: 800px;
}

/* style for the heading text on each blog */
.heading-container
{
  top: 10; 
    right: 10;
  background: rgb(0, 0, 0); 
  background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
  color: white;
  width: 80%;
  padding: 30px;   
}

.heading-container p
{
    font-size: 30px;
    line-height: 40px;
}

.mainsection
{
    margin: 40px auto;
}


.mainsection-blog
{
    Width: 80%;
    line-height: 40px;
    background-color: whitesmoke;
    margin: 40px auto;
    padding: 40px;
    overflow: auto;
}

.mainsection-blog img
{
    margin: 40px auto;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
  float: left;
  width: 75%;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 25%;
  padding-left: 20px;
}

.portraitimg {
  padding: 3px;
    width: 60%;
    
}

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

.blogimg {
  width: 100%;
  padding: 3px;
    max-height:300px;
    
}

.portraitimg img, .blogimg img
{
    object-fit: fill;
    width: 100%;
    max-height: 300px;
    
}



.card {
   background-color: white;
   padding: 20px;
   margin: 20px 0px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


@media screen and (max-width: 800px) {
    
.heading-container
    {
        width: 95%;
    }
    
    .heading-container h2
    {
        font-size: 35px;
    }
    
    .heading-container p
    {
        font-size: 20px
    }
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
    
    .mainsection-blog
{
    width: 90%;
    padding: 5px;
    }
}

@media (max-width:650px){
    
    .mainsection-blog
{
    width: 90%;
    padding: 10px;
    }
    
    .mainsection-blog img
    {
        width: 100%;
    }
}