/* form errors */
.mg_errorfield {
    border: 1px solid #ff0000 !important;
    background-color: #fffee4 !important;
}

.mg_errortooltip {
    position: absolute;
    /*width:520px;*/
    max-width: 520px;
    padding: 7px 20px 7px 10px;
    text-align: left;
    border-radius: 4px;
    color: #fff;
    background-color: #c40000;
    box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.35);
    font-size: 12px;
}

.mg_errortooltip:after {
    height: 0;
    width: 0;
    bottom: 100%;
    left: 25px;
    border: solid transparent;
    content: " ";
    position: absolute;
    border-color: rgba(196, 0, 0, 0);
    border-bottom-color: #c40000;
    border-width: 7px;
    margin-left: -7px;
}

form { padding-bottom: 20px; }
input[type="text"],
input[type="password"],
textarea {
    width: 100%;
    padding: 4px 8px;
    font-size: 16px;
    line-height: 20px;
    padding-right: 36px;
    border: 1px solid rgba(154,154,154,0.6);
    background-color: rgba(255,255,255,0.6);
    font-family: 'OpenSans-Semibold', sans-serif;
    color:#000;

    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}
input[type="text"],
input[type="password"] { height:34px; }

textarea {
    min-height:100px;
    padding-top:5px;
}

::-webkit-input-placeholder { color:#000; opacity:100;}
:-moz-placeholder { /* Firefox 18- */ color:#000; opacity:100;}
::-moz-placeholder { /* Firefox 19+ */ color:#000; opacity:100;}
:-ms-input-placeholder { color:#000; opacity:100; }

/*  Ð‘ÑƒÑ‚Ð¾Ð½Ð¸ */
input[type="button"].button,
input[type="submit"].button,
a.button {
    padding: 8px 15px;
    font-size: 16px;
    line-height: 18px;
    text-transform: uppercase;
    color: #fff;
    background-color: #183260;
    font-family: 'OpenSans-Semibold', sans-serif;
    border-radius:2px;
    border:none;
    text-decoration:none;
    display:inline-block;
    cursor:pointer;

    -webkit-transition:all 0.5s ease;
    -moz-transition:all 0.5s ease;
    -o-transition:all 0.5s ease;
    transition: all 0.5s ease;
}

a.button {
	padding:9px 17px;
}

.button:hover,
a.button:hover {
	background-color: #587da6 !important;
}
