body {
    font-size: 14px;
    background-color: #ecf0fc;
}
h1 {
  font-size: 26px;
}

h5 {
  font-size: 20px;
}


.wall-text {
	float: left;
	background-color: rgba(255, 255, 255, 0);
  background-color : transparent;
  color: #555;
  text-align: justify;
  display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-height: 18px;    
  max-height: 60px;
}

.wall-date {
  font-size: 18px;
  font-weight: bold;

}
    
.content-box {
  width: 100%; 
  height: 48px; 
  background: #ddd;
}

.wall-title {
  margin-left: 180px;
  line-height: 48px;
  max-width: 100%; 
  font-size: 18px;
  overflow: hidden;
}

#ribbon-container {
  position: absolute;
  max-width: 80%;
  left: 0px;
  overflow: visible; /* so we can see the pseudo-elements we're going to add to the anchor */
  font-size: 18px; /* font-size and line-height must be equal so we can account for the height of the banner */
  line-height: 10px;
}


#ribbon-container a {
  display:block;
  padding:20px;
  position:relative; /* allows us to position our pseudo-elements properly */
  background:#f85127;
  overflow:visible;
  height:48px;
  color:#fff;
  text-decoration:none;
}

#ribbon-container a:before { /* this creates the "forked" part of our ribbon */
  content:"";
  height: 0;
  width: 0;
  display:block;
  position:absolute;
  top:0;
  right:-24px;
  border-top: 24px solid #ffa422; 
  border-bottom: 24px solid #ffa422; 
  border-right: 24px solid transparent;
  border-left: 24px solid transparent;
}

.ribbon {
  position: absolute;
  right: -5px;
  top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 93px;
  height: 93px;
  text-align: right;
}
.ribbon span {
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  line-height: 32px;
  transform: rotate(45deg);
  width: 120px;
  display: block;
  background: #ff0000;
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 17px; // change this, if no border
  right: -29px; // change this, if no border
}

.ribbon span::before {
   content: '';
   position: absolute; 
   left: 0px; top: 100%;
   z-index: -1;
   border-left: 3px solid #ff0000;
   border-right: 3px solid transparent;
   border-bottom: 3px solid transparent;
   border-top: 3px solid #ff0000;
}

.ribbon span::after {
   content: '';
   position: absolute; 
   right: 0%; top: 100%;
   z-index: -1;
   border-right: 3px solid #ff0000;
   border-left: 3px solid transparent;
   border-bottom: 3px solid transparent;
   border-top: 3px solid #ff0000;
}

.textnav {
  border-right: 1px solid #ccc; 
  padding-right: 10px;
}

#stateDropdown3, #eventDropdown1, #monthDropdown2, .rightdrop{
  font-weight: bold;
  font-size: 16px;
}

#stateDropdown3 a:hover, #eventDropdown1 a:hover, #monthDropdown2 a:hover, .rightdrop a:hover{
  color:#f85127;
}

@media only screen and (max-width: 768px) {
  .wall-date {
    font-size: 14px;
    line-height: 38px;
  }
  .wall-title{
    margin-left: 130px;
    line-height: 38px;
    font-size: 14px;
  }
  .content-box {
    height: 38px; 
    background: #ddd;
  }
  #ribbon-container {
    font-size: 14px; /* font-size and line-height must be equal so we can account for the height of the banner */
    line-height: 10px;
  }
  .wall-text {
    font-size: 12px;
    line-height: 16px;
  }

  #ribbon-container a {
    padding:0px;
    padding-left: 15px;
    padding-right: 15px;
    height:38px;
  }

  #ribbon-container a:before { /* this creates the "forked" part of our ribbon */
    right:-19px;
    border-top: 19px solid #ffa422; 
    border-bottom: 19px solid #ffa422; 
    border-right: 19px solid transparent;
    border-left: 19px solid transparent;
  }
  .wall-link{
    font-size: 12px;
  }
  .ribbon {
    right: -3px;
    top: 0px;
    z-index: 1;
    overflow: hidden;
    width: 93px;
    height: 93px;
    text-align: right;
  }
  .ribbon span {
    font-size: 10px;
    line-height: 20px;
  }

  .ribbon span::before {
     border-left: 4px solid #ff0000;
     border-right: 4px solid transparent;
     border-bottom: 4px solid transparent;
     border-top: 4px solid #ff0000;
  }
  .ribbon span::after {
     border-right: 4px solid #ff0000;
     border-left: 4px solid transparent;
     border-bottom: 4px solid transparent;
     border-top: 4px solid #ff0000;
  }

}
