/* Message Global Style */
div#wis-message {
  width: 100%;
  min-height: 30px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  border-width: 2px;
  border-style: solid;
  padding: 7px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

/* Message-type specific style */
div#wis-message.success-message {
  background-image: -moz-linear-gradient(top, #82d2ab, #bbf2d8);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #82d2ab),color-stop(1, #bbf2d8));
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#82d2ab', EndColorStr='#bbf2d8')";
  border-color: #448e6a;
  background-color: #bbf2d8;
}
div#wis-message.error-message {
  background-image: -moz-linear-gradient(top, #d24d5c, #e9b5bd);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #d24d5c),color-stop(1, #e9b5bd));
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#d24d5c', EndColorStr='#e9b5bd')";
  border-color: #993b45;
  background-color: #e9b5bd;
}
div#wis-message.warning-message {
  background-image: -moz-linear-gradient(top, #efdd60, #f2f1bb);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #efdd60),color-stop(1, #f2f1bb));
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#efdd60', EndColorStr='#f2f1bb')";
  border-color: #c1af38;
  background-color: #f2f1bb;
}
div#wis-message.info-message {
  background-image: -moz-linear-gradient(top, #76c0d7, #bbe5f2);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #76c0d7),color-stop(1, #bbe5f2));
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#76c0d7', EndColorStr='#bbe5f2')";
  border-color: #588d9d;
  background-color: #bbe5f2;
}

/* Message-type icon style */
div#wis-message span.wis-message-icon{
  background-color: transparent;
  background-position-x: 50%;
  background-position-y: 50%;
  background-repeat: no-repeat;
  padding: 15px;
  position: absolute;
}
div#wis-message.success-message span.wis-message-icon{
  background-image: url(../icons/success.png);
}
div#wis-message.error-message span.wis-message-icon {
  background-image: url(../icons/error.png);
}
div#wis-message.warning-message span.wis-message-icon {
  background-image: url(../icons/exclamation.png);
}
div#wis-message.info-message span.wis-message-icon {
  background-image: url(../icons/info.png);
}

/* Message text */
div#wis-message div.wis-message-text {
  text-align: justify;
  font-weight: bolder;
  padding: 5px;
  padding-left: 50px;
  text-shadow: 0px 1px 0px #fff;
  font-size: 1.4em;
  letter-spacing: 1px;
}

/* Message close-icon */
div#wis-message span.wis-message-close {
  background: transparent url(../icons/close_icon.png) no-repeat 50% 50%;
  padding: 10px;
  float: right;
  position: relative;
  bottom: 35px;
  right: -7px;
  cursor: pointer;
}