.home_Box
{
  top: 0px;
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;

  border: 1px solid lightGray;
  box-sizing: border-box;
}


/*************************/
/*       Header Box      */
/*************************/

.headerBox
{
  padding-left: 30px;
  padding-right: 30px;
  width: 100%;
  height: 60px;

  border-bottom: 1px solid lightGray;
  box-sizing: border-box;
}

.headerBox .logo
{
  float: left;
  width: 60px;
  height: 100%;
  padding: 5px;
  box-sizing: border-box;
}

.headerBox .logIn
{
    float: right;
    width: 60px;
    height: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
    margin: 0px;
    font-size: 16px;
    color: grey;
    text-align: right;
    font-style: italic;
    cursor: pointer;
}

.headerBox .logIn:hover
{
  font-weight: bold;
}

.headerBox .title
{
  padding-left: 20px;
  float: left;
  height: 100%;
  width: calc( 100% - 120px);

  box-sizing: border-box;
  vertical-align: top;
  left: 0px;
}

.headerBox .title h1
{

  line-height: 40px;

  box-sizing: border-box;
  color: #666666;
  font-size: 16px;

}

/*************************/
/*       Footer Box      */
/*************************/

.footerBox
{
  background-color: #666666;
  width: 100%;
  height: 60px;
  border-top: 1px solid lightGray;
  box-sizing: border-box;
  text-align: center;
}
.footerBox p
{

  font-style: arial;
  color: lightGray;
  font-size: 14px;
  margin: 0px;
  padding: 5px;

}

/*************************/
/*         body          */
/*************************/
.homeBodyBox
{
  height: calc(100% - 120px);
  width: 100%;
  overflow: auto;
}

.postBox
{
  margin: 5px;
  box-sizing: border-box;
  border: 2px solid lightGray;
  width: calc(100% - 10px);
  height: 500px;

  border-radius: 10px;

}

.postTop
{
  padding: 0px;
  box-sizing: border-box;
  width: 100%;
  height: 40px;

}

.postTop .spaceImg
{
  float: left;
  height: 36px;
  width: 36px;
  box-sizing: border-box;
  border-radius: 5px;

  border: 2px solid lightGrey;
  margin: 2px;

}
.postTop .ownerImg
{
  float: left;
  height: 36px;
  width: 36px;

  box-sizing: border-box;

  border: 2px solid lightGrey;
  border-radius: 50%;
  margin: 2px;
}

.postTop .spaceLink
{
  margin: 0px;
  padding: 10px;
  box-sizing: border-box;

  float: left;
  height: 100%;
  width: calc( 100% - 80px);


  vertical-align: top;
  left: 0px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}


.postPreview
{
  padding: 2px;
  box-sizing: border-box;
  width: 100%;
  height: calc(100% - 120px);

  background-color: lightGray;
  position: relative;
}

.postPreview iframe
{
  margin-left: 25%;
  margin-right: 25%;
  width: 50%;
  height: 100%;

  border: none;

  padding: 0px;



}

.postCaption
{
  padding: 10px;
  box-sizing: border-box;
  width: 100%;
  height: 80px;

}

.postCaption .date
{
  width: 100%;
  height: 20px;
  margin: 0px;
  color: grey;
  font-size: 8px;
}

.postCaption .text
{
  width: 100%;
  height: calc( 100% - 20px);
  margin: 0px;

  color: grey;
  font-size: 12px;

}

.popUpVisitBox
{
  visibility: hidden;

  background-color: rgba(1,1,1,0.6);
  color: #fff;
  text-align: center;

  position: absolute;
  z-index: 1;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;


}

.popUpVisitLink
{
  position: absolute;
  bottom: 30px;
  right: 30px;


  color: white;
  padding: 5px;
  font-style: italic;
}

.popUpVisitBox.show
{
  visibility: visible;
  -webkit-animation: fadeIn 2s;
  animation: fadeIn 2s;
}

@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

@media only screen and (max-width: 600px)
{
  .postBox
  {
    height: 500px;
  }
  .postPreview iframe
  {
    width: 100%;
    margin: 0px;

  }

}
