﻿.error .help-block {
    position: relative;
    background: #c33;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    width: 220px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
}

.error .help-block:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #c33;
  position: absolute;
  left: 105px;
  top: -5px;
}

.help-tip {
    position: relative;
    display: inline-block;
    background-color: #3c3c3c;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    font-size: 14px;
    cursor: default;
    margin-left: 5px;
    font-weight: bold;
    color: #fff;
}
.help-tip p:before {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-bottom-color: #ccc;
    right: 10px;
    top: -12px;
}
.help-tip.left  p::before {
    right: initial;
    left: 10px
}
.help-tip p::after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    margin-left: 1px;   
    border: 7px solid transparent;
    border-bottom-color: #fbfbfb;
    right: 9px;
    top: -12px;
}
.help-tip.left p::after {
    right: initial;
    left: 8px
}
.help-tip p {
    display: none;
    text-align: center;
    font-weight: normal;
    background-color: #fbfbfb;
    padding: 12px;
    width: 228px;
    position: absolute;
    top: 32px;
    border-radius: 3px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    right: -4px;
    color: #333;
    border: 1px solid #ccc;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
    z-index: 15;
}
.help-tip.left p {
    right: initial;
    left: 0;
}
.help-tip:hover p, input:focus ~ .help-tip p {
    display: block;
}

.controls:hover {
    position: relative;
    z-index: 15;
}

.success-block {
    position: relative;
    background: green;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    width: 200px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
}

