/*---reset-стили---*/
html, body, div, span, applet, object, iframe, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,b, u, i, center, dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, section, summary,
time, mark, audio, video {
	margin: 0; 
	padding: 0; 
	border: 0; 
	font-size: 100%; 
	font: inherit; 
	font-style:normal; 
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6, p {margin: 0;}
sup {vertical-align: super;font-size: smaller;}
input, textarea {margin: 0;border:0;}
textarea {resize:none;}
a {text-decoration:none;display:inline-block;}
img {display:inline-block;max-width:100%;}
ul {list-style: none;}
table {border-collapse: collapse;border-spacing: 0;}

:focus, :active, :visited {outline: 0;}
.clearfix:after {visibility: hidden; display: block; content: ""; clear: both; height: 0;}
* html .clearfix { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/* стили ширины элементов */
.w45 {width: 45%;}
.w45.fl:last-child, 
.w50.fl:last-child {
	margin-bottom:0;
}
.w45.fr:last-child, 
.w50.fr:last-child {
	margin-bottom:0;
}
.w50 {width: 50%;}
.w30 {width: 30%;margin-right: 5%;}
.w30:nth-child(3n) {margin-right: 0;}
.w33 {width: 33.33%;}
.w100 {width:100%;}
.btn {
	display: inline-block;
	border: 0; 
	cursor: pointer; 
}
.fl {float: left;}
.fr {float: right;}
.tac {text-align: center;}
.tal {text-align: left;}
.tar {text-align: right;}
.hidden{display: none;}
.visible{display: block;}
.ttu {text-transform: uppercase;}

/* автозаполнение полей */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
	-webkit-text-fill-color: #4b4b4b;
	-webkit-box-shadow: 0 0 0px 1000px transparent inset;
	transition: background-color 5000s ease-in-out 0s;
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(0,174,255,0.04) 50%,rgba(255,255,255,0) 51%,rgba(0,174,255,0.03) 100%);  
}
/* цвет placeholder */
input::-webkit-input-placeholder {color: #a8a8a8; font:14px "Roboto"; }
input::-moz-placeholder          {color: #a8a8a8; font:14px "Roboto" }
input:-moz-placeholder           {color: #a8a8a8; font:14px "Roboto" }
input:-ms-input-placeholder      {color: #a8a8a8; font:14px "Roboto" }

input.inval-input {border: 1px solid red;}
input.valid-input {border: 1px solid green;}
