/* 
 * Style used by the label output mode.
 * Applied to the error labels that get positioned after an input.
 */
label.error { 
    color:#fff; 
    margin-left:2px;     
    background-image:url('arrow.gif');
    background-position:center left;
    background-repeat:no-repeat;
    padding:2px;
    padding-left:18px;
    -moz-border-radius:4px;
    -webkit-border-radius: 4px;
}

/*
 * Styles used by the modal output mode.
 * '.validity-modal-msg' is applied to the modal boxes 
 * and '.validity-modal-msg:hover' is applied to suggest 
 * to the user that the boxes are clickable.
 */
.validity-modal-msg { 
    position: absolute;
    z-index: 9999;
    font-family: Arial;
    /*font-weight: normal;
    font-size: small;*/
    font-size: 14px;
	font-weight: 500;
    background-color: #c90916;
    color: #fff;
    /*border: solid 2px #c90916;*/
    padding: 2px 10px;
    cursor: pointer;
    margin-left: 33px;
    margin-top: 14px;
}
.validity-modal-msg::before {
    content: '';
    position: absolute;
    top: 0px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 10px solid #c90916;
}
.validity-modal-msg:hover::before {
    border-right: 10px solid #ffe;
}
.validity-modal-msg:hover { 
    background-color:#ffe; 
	color:#000;
}

/*
 * Styles used by the summary output mode.
 * '.validity-summary-container' is a container on the page that should contain a UL 
 * which is the actual summary. The container can hold 
 * an extra bit of text (or anything really) that explains what the summary is.
 * '.validity-erroneous' is applied to every input that fails.
 */
.validity-summary-container { display:none; }
.validity-summary-output ul { }
.validity-erroneous { border:solid 2px #f56600 !important; }

@media screen and (max-width: 767px) {
	.validity-modal-msg{padding: 1px 10px;margin-top: 39px;left: 18px !important;font-size: 12px;}
	.validity-modal-msg:before{border: none;border-left: 8px solid transparent;border-right: 8px solid transparent;border-bottom: 8px solid #c90916;right: 0;margin: 0 auto;left: 0;top: -8px;}	
	.validity-modal-msg:hover:before{border-right: 8px solid transparent;border-bottom: 8px solid #ffe;}	
}
