/* Модальные окна, общие настройки ______________________________________________ */
.modal-block .modal-content {
	padding: 30px;
	position: relative;
}

.modal-dialog {
	height: 100%;
	margin: auto !important;
}

.modal-block h3 {
	color: #000000;

	font-size: 25px;
	font-weight: 700;
	margin: 0px;
}

.modal h2 {
	margin: 0px;
	position: absolute;
	top: 20px;
	left: 20px;
	color: #000000;
	font-size: 18px;
	font-weight: 700;
}

.modal-block p {
	margin-top: 15px;
	color: #000000;

	font-size: 16px;
	font-weight: 400;
}

.modal-block a {
	display: block;
	margin: 15px auto 0px;
	max-width: 180px;
}

.modal-block .close {
	height: 15px;
	width: 15px;
	background-image: url(../img/icon-close.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	position: absolute;
	top: 14px;
	right: 12px;
	opacity: 1;
}

.modal-block .close:hover {
	opacity: 1;
}

.modal .modal-content {
	display: block;
	width: 90%;
	max-width: 800px;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.modal-header {
	padding: 5px!important;
	border-bottom: 1px solid #e5e5e5;
}

.modal-content button {
	/*background: #678df1;*/
	/*border: none!important;*/
	/*border-radius: 0;*/
	/*color: #fff;*/
	/*margin-right: 10px;*/
	/*padding: 10px 30px;*/
	/*-webkit-transition: all 0.2s ease 0s;*/
	/*transition: all 0.2s ease 0s;*/
	/*font-family: "Montserrat",sans-serif;*/
	/*text-transform: uppercase;*/
	margin-left: 0px;
	float:right;
	overflow: hidden;
	text-transform: uppercase;
	font-weight: normal;
	height: 30px;
	padding: 3px 20px;
	border-radius: 18px;
	font-size: 14px;
	line-height: 22px;
	font-family: "Source Sans Pro",sans-serif;
}




.modal-content button.btn-close {
	background: transparent;
	border: none!important;
	box-shadow: none;
	border-radius: 0;
	color: #ff0000;
	margin-right: 0px;
	padding: 10px 10px;
	-webkit-transition: all 0.2s ease 0s;
	transition: all 0.2s ease 0s;
	font-family: "Montserrat",sans-serif;
	text-transform: uppercase;
}

.modal-content textarea {
	padding: 15px;
	resize: none;
	color: #000000;

	font-size: 16px;
	font-weight: 400;
	border: 1px solid #a4b0ba;
	margin-bottom: 15px;
	border-radius: 4px;
}

.modal-content textarea:focus {
	border: 1px solid #a4b0ba;
	box-shadow: none;
	outline: none !important;
}

.modal-content textarea::placeholder {
	color: #8696a3;
}

#modalVkAuth .modal-content, #modalFbAuth .modal-content {
	display: inline-block;
	width: auto;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Модальное окно для личных сообщений _________________________ */
#messageModal .modal-content, #messageSms .modal-content, #techHelp .modal-content {
	padding: 60px 20px 20px 20px;
}

#messageModal textarea, #messageSms textarea, #techHelp textarea {
	width: 100%;
	margin-top: 4px;
	padding: 15px;
	resize: none;
}

#messageSms p {
	padding: 0px;
	margin: 0px 0px 10px;
	font-weight: 600;
}

/* Модальное окно жалоб в заказах ______________________________ */

#orderClaimModal .modal-content {
	max-width: 600px !important;
}

#orderClaimModal textarea, #orderClaimModal input {
	width: 100% !important;
	margin-top: 10px;
	margin-bottom: 10px;
	color: #000;
	font-size: 16px;
	font-weight: 700;

}

#orderClaimModal input {
	color: #000;
	height: 43px;
	font-size: 16px;
	font-weight: 700;
	padding-left: 15px;

	border: 1px solid #ccc;
	border-radius: 4px;
}

#orderClaimModal textarea::placeholder, #orderClaimModal input::placeholder {
	color: #a4b0ba;
	font-size: 16px;
	font-weight: 700;

}

#orderClaimModal .label {
	width: 100%;
	padding: 0px;
	color: #8696a3;

	font-size: 16px;
	font-weight: 700;
}

#orderModal .order__candidat__avatar {
	float: left;
	padding: 0px 10px;
}

#orderModal .order__candidat__avatar img {
	width: 69px;
	height: 69px;
	border-radius: 50%;
}

#orderModal .order__candidat__name {
	color: #1369b8;

	font-size: 16px;
	font-weight: 400;
	line-height: 21px;
	height: 69px;
	float: left;
	display: flex;
	flex-direction: inherit;
	justify-content: center;
	align-items: center;
}

#coversationModal h2 {
	position: relative;
	top: 0;
	left: 0;
	margin-bottom: 15px;
}

#coversationModal textarea {
	width: 100%;
}

/* Модальное окно для комментария ______________________________ */
#commentModal .modal-content {
	padding: 75px 20px 20px;
}

/* Звёздочки в модальном окне комментариев ______ */

#ratSpan {
	float: left;
}

#reviewStars-input {
	*zoom: 1;
	float: left;
	width: auto;
	height: 17px;
}

#reviewStars-input input:checked ~ label, #reviewStars-input label {
	background: url('../img/grey-star.png') no-repeat;
}

#reviewStars-input input {
	opacity: 0;
	width: 19px;
	height: 40px;
	position: absolute;
	top: 0;
	z-index: 0;
}

#reviewStars-input input:checked ~ label {
	background: url('../img/gold-star.png') no-repeat;
	height: 40px;
	width: 19px;;
}

#reviewStars-input label {
	background-position: 0 0;
	height: 40px;
	width: 19px;
	float: right;
	cursor: pointer;
	margin-right: 10px;

	position: relative;
	z-index: 1;
}

/* Текстовое поле в окне комментариев ___________ */
#commentModal textarea {
	width: 100%;
	float: left;
	margin-top: 16px;
	padding: 15px;

	font-size: 16px;
	font-weight: 400;
	color: #000;
	resize: none;
	margin-bottom: 12px;
}

#commentModal textarea::placeholder {
	color: #8696a3;
}

#commentModal .btn-save {
	width: 159px;
	height: 38px;
	background-color: #2479d3;
	color: #ffffff;

	font-size: 16px;
	font-weight: 700;
	border: none;
	border-radius: 4px;
}

/* Модальное окно для личных сообщений _________________________ */

#orderModal a {
	margin: 0px;
}

#orderModal div {
	margin-bottom: 15px;
}

#orderModal .modal-content {
	padding-bottom: 0px;
}

#orderModal input[type="number"] {
	background-repeat: no-repeat;
	background-image: url(/img/rub.png);
	background-position: calc(100% - 15px) center;
	color: #000;
	height: 43px;
	font-size: 16px;
	font-weight: 700;
	padding-left: 15px;

	border: 1px solid #ccc;
	border-radius: 4px;
}

#orderModal .label {
	width: 100%;
	padding: 0px;
	color: #8696a3;

	font-size: 16px;
	font-weight: 700;
}

#orderModal .price-label {
	margin-bottom: 10px;
	float: left;
	text-align: left;
}

#orderModal #money_block_day {
	border: none !important;
}

#orderModal .irs-with-grid {
	margin-top: -20px;
}

#orderModal button {
	margin-top: 15px;
}

/* Модальное окно подтверждения заявки ________________________ */
.modal-dialog__order {
	height: 100vh;
	width: 100vw !important;
	margin: 0px !important;
}

/* Модальное окно покупки файла заявки ________________________ */
#modal__order-file .modal-content {
	padding: 20px;
}

#modal__order-file .file-name {
	color: #2479d3;
}

#modal__order-file .modal_action-buttons {
	display: flex;
	justify-content: space-around;
	padding-top: 15px;
}

#modal__order-file .modal_action-buttons a {
	margin: 0px;
}

#modal__order-file .modal_action-buttons button:first-child {
	height: 40px;
	width: 100%;
	max-width: 145px;
	background-color: #247fd3;
	ackground-image: linear-gradient(to top, #247fd3 0%, #2ea6eb 100%);
}

#modal__order-file .modal_action-buttons button:last-child {
	height: 40px;
	width: 100%;
	max-width: 145px;
	background-color: #f13232;
	background-image: linear-gradient(to top, #F13214 0%, #F1427B 100%);
}

@media screen and (max-width: 420px) {
	.modal-content h2 {
		font-size: 20px;
		top: 10px;
	}
}


#modalBase .overlay {
	display:none;
}

#modalBase .modal-dialog {
	white-space:nowrap;
}

#modalBase #modalContent,
#modalBase .box ,
#modalBase .site-login,
#modalBase .site-signup,
#modalBase .modal-body,
#modalBase .modal-content,
#modalBase .site-request-password-reset,
#modalBase #modalContent
{
	width:auto;
	min-width: 200px;
	display:inline-block;
}

.small-form {
	min-width: 200px;
	max-width: 450px;
	width: 450px;
	overflow: hidden;
}

.medium-form {
	min-width: 200px;
	max-width: 600px;
	width: 600px;
	overflow: hidden;
}
.big-form {
	min-width: 400px;
	max-width: 600px;
	width: 600px;
	overflow: hidden;
}