
/*ФОРМА ОБРАТНОЙ СВЯЗИ*/
/*позиционирование формы*/
/*#form {
	display: inline-block;
}*/

/*.form_callback {
	font-family: 'Roboto', sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 99;
	margin-top: -300px;
	display: none;
	position: fixed;
}*/

/*общие стили для формы (все помещено в div)*/
/*.form_callback > div {
	width: 550px;
    height: 400px;
	position: relative;
    margin: 55px auto 0px auto;
    padding: 50px 0;
    background: #fff; /*#484d53;*/
 /*   font-family: 'Roboto', sans-serif;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    text-align: center;
	border: 5px solid #f2f2f2;
}
*/

/*стили формы*/
#send_form {
    /*width: 450px;*/
    max-width: 770px;
	min-height: 450px; /**/
	max-height: 750px; /**/
	margin: auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-wrap: wrap;
}

/*стили полей для ввода*/
#send_formName, #send_formNameEnterprise, #send_formTelephone, #send_formEmail {
    width: 320px;
    height: 37px;
    background: none;
    margin-top: 15px;
	border: none;
	border-bottom: 1px solid #47443C;
    border-radius: 0px;
	padding: 0px 0px 0px 20px;
    text-align: left;
    color: #30353d /*#555*/;
    font-size: 17px;
}

/*стили полей для ввода при клике по ним*/
#send_formName:focus, #send_formNameEnterprise:focus, #send_formTelephone:focus, 
#send_formEmail:focus {
    border: 2px solid #555;
}

/*стили полей для ввода*/
#send_formName.error, #send_formNameEnterprise.error, #send_formTelephone.error, #send_formEmail.error {	
	border: 1px solid #FF5555;
}

/*выделяем "*" в обязательных полях*/
.requiredField {
	color: #bf2b1a;
}

/*общие стили полей для ввода и псевдо-плейсхолдеров*/
.common-div-for-input {
    width: 340px;
	height: 45px;
    border: 0;
    position: relative;
	/*margin-top: 18px;*/ /**/
	margin: auto;
	margin-bottom: 15px;
}

.div-for-input__input {
    width: 100%;
	margin-top: 25px;
    position: relative;
    z-index: 2;
}

.div-for-input__placeholder {
	border: none;
    background: none;
	width: 100%;
	text-align: left;
	position: absolute;
    z-index: 1;
    padding-left: 20px;
    left: 0px;
	top: 50%;
	margin-top: 5px;
    color: #555;
    transition: all 0.2s ease;
}

.div-for-input__input_full + .div-for-input__placeholder,
.div-for-input__input:focus + .div-for-input__placeholder {
    font-size: 0.7em;
    top: 0;
    margin-top: 0.1em;
	padding-left: 15px;
}

/*КНОПКА ЗАКАЗА ОБРАТНОЙ СВЯЗИ*/
/*стили для кнопки заказа*/
#send_formButton {
    /*margin-top: 30px;*/ /**/
	margin: 5px auto; /**/
    background: #30ad64; /*#0199e6;*/
    border: none;
    width: 370px;
    height: 53px;
    border-radius: 0px;
    color: #fff;
    font-size: 18px;
	font-family: 'Roboto', sans-serif;
    cursor: pointer;
}

/*КНОПКА ЗАКРЫТИЯ ФОРМЫ ОБРАТНОЙ СВЯЗИ*/
/*кнопка закрытия формы*/
#closeform_callback {
	background: transparent; /*#DCD1D1;*/ /*#606061;*/
	color: #555; /*#f2f2f2;*/
	line-height: 25px;
	position: absolute;
	right: 7px; /*-12px*/
	text-align: center;
	top: 7px; /*-10px*/
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	font-size: 12px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	cursor: pointer;
}

#closeform_callback:hover { 
	background: #555;
	color: #f2f2f2;
	box-shadow: 0 0 45px 10px rgba(51,52,53,0.6);
}

/*===========================================================*/

.drop-files {
	/*display: block;*/
	display: flex;
	flex-direction: column;
	justify-content: space-around;
				
	color: #555;
	font-size: 15px;
	text-align: center; 

	width: 340px;
	/*min-height: 75px;*/
	height: 110px; /**/
	/*margin: 10px auto 5px;*/
	margin-right: 20px;
	padding-top: 5px;

	background: #eee;
	border: 1px solid #ccc;
	
	cursor: default;

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}


#formFooter {
	display: block;
	margin-left: 300px;
	margin-top: 20px;
}

/*стили при наведении с файлом*/
.drop-files.hover {
	background: #ddd;
	border-color: #aaa;
}
/*стили при ошибке*/
.drop-files.error {
	background: #faa;
	border-color: #f00;
}
/*стили при загрузке*/
.drop-files.drop { 
	background: #afa;
	border-color: #0f0;
}

#uploadbtnIMGforNews {
	opacity: 0;
	z-index: -1;
	position: absolute;
	top: -500px;
	right: 100px;
}

.uploadButton {
	/*display: block;
	/*position: relative;*/
	/*top: 12px; /**/
	font-size: 14px;
	font-weight: normal;
	
	padding: 3px 7px;
	/*margin: 0 0 0 35px;*/
	margin: auto;
	width: 91px;
	height: 28px; /*16px;*/
	
	background-color: #D3D3D3;
	border: 1px solid #707070;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	
	cursor: pointer;
}

.uploadButton:hover {
	background-color: #BBBBBB;
}

span.requiredDrop {
	color: #b00000;
	width: 1px;
	height: 0px;
	display: inline;
	position: relative;
	top: -13px;
	left: 336px;
}

span.filename {
	/*top: /*-24px*/ /*-14px;*/
	/*left: 47px;*/
	/*display: block;*/
	display: none;
	margin: auto;
	
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	text-align: center;
	z-index: 13;
	
	padding: 3px;
	min-height: 18px; /*height: 16px;*/
	max-height: 170px; /**/
	width: 275px;
	
	color: #30353d;
	background: inherit;
	border: 1px solid #707070;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	
	white-space: nowrap; /*отменяет перенос на следующую строку*/
	overflow: hidden; /*запрещает вывод контента за пределы*/
	text-overflow: ellipsis; /*добавляет троеточие*/
	cursor: help;
}

/*затемнение фона при открытой форме*/
#background_tooltip {
	z-index: 198;
	position: fixed;
	background-color: #000;
	opacity: 0.4;
	-moz-opacity: 0.4;
	filter: alpha(opacity=40);
	width: 100%; 
	height: 100%;
	top: 0; /*обязательное свойство*/
	left: 0; /*обязательное свойство*/
	display: none;
}

#tooltipForRequired {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	text-align: center;
	
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	
	z-index: 199;
	display: none;
	position: fixed;
	
	width: 250px;
    height: 40px;
	margin: -30px auto 0;
	
	border: 1px solid #f00;
	background: #F9E3E3;
}

#tooltipForRequired > div {
	padding: 11px 0 0;
}

/*затемнение фона при открытой форме*/
#background_serverResponse {
	z-index: 198;
	position: fixed;
	background-color: #000;
	opacity: 0.4;
	-moz-opacity: 0.4;
	filter: alpha(opacity=40);
	width: 100%; 
	height: 100%;
	top: 0; /*обязательное свойство*/
	left: 0; /*обязательное свойство*/
	display: none;
}

#serverResponse {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	text-align: center;
	
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	
	z-index: 199;
	display: none;
	position: fixed;
	
	width: 550px;
    height: 150px;
	margin: -65px auto 0;
	
	/*border: 1px solid #ccc;
	background: #afa;*/
	
	border: 2px solid #BBBBBB;
	background: #f2f2f2;
}

#serverResponse > div {
	padding: 11px 0 11px;
}

#userOk_response {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	text-align: center;
	
	width: 66px;
    height: 20px;
	
	border: 1px solid #ccc;
	background: #f2f2f2;
	
	cursor: pointer;
}

#userOk_response:hover {
	background: #BBBBBB;
}





