#barwrap {
  margin-bottom: 30px; /* space between the bar and your content */
}

.barwarning {
  text-align: center;
  padding: 8px;
  padding-top: 0px;
  /*background: url(../images/sprite.png) 8px -1331px no-repeat #fef6f6;*/
  background:  8px -1331px no-repeat #fef6f6;
  max-height: 100px; /* set it at will according to your message's length in small devices */
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  color: #000;
  /*border-bottom:thick ridge #008000;*/
  border-top: thick ridge red;
  -webkit-box-shadow:  0px 2px 13px 0.5px rgba(0, 0, 0, 0.3);
  box-shadow:  0px 2px 13px 0.5px rgba(0, 0, 0, 0.3);
  z-index: 3008;
  border: 1px solid #e08b8b;
  color: #000!important;
  padding-left: 35px;

}

.bar{
  text-align: center;
  padding: 8px;
  padding-top: 0px;
  background-color: #E3FFE3;
  max-height: 100px; /* set it at will according to your message's length in small devices */
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  color: #000;
  /*border-bottom:thick ridge #008000;*/
    border-top:thick ridge #008000;
  -webkit-box-shadow:  0px 2px 13px 0.5px rgba(0, 0, 0, 0.3);
  box-shadow:  0px 2px 13px 0.5px rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 3008;
}

#head-image{
  margin-right: 1%;
  position: relative;
  top: 8px;
}

#text{
  position: relative;
  /* top: 8px; */ 
}

#otherimg{

/* Your code here for that section */

}

#ok{
  float: right;
  margin-top: 6px;
  margin-right: 10px;
  font-size: 15px;
}

#ok a {
  color: #000;
  text-decoration: none;
}