*, *:before, *:after{ 
    box-sizing: border-box; 
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
}

body, html {
	margin: 0;
	width: 100%;
	max-width: 100%;
	min-width: 100%; 
}

h1 {
	margin: 0.67em;
}
.border-success {
	border-color: #64B432;
}

.border-error {
	border-color: #e00000;
}

.col {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.register-page {
	font-family: Circe-Regular, sans-serif;
	font-size: 14px;
	font-weight: 400;
}

.form {
	width: 480px;
	margin: 30px auto;
	margin-bottom: 30px;
}

.form-page-title {
	width: 100%;
	background: #008dd2;
	color: #fff;
	font-weight: 600;
	font-size: 34px;
	padding: 20px;
	text-align: center;
}

.form-block {
	margin-top: 35px;
}

.form-block-title {
	display: inline-block;
	font-size: 20px;
	font-weight: 900;
	color: #008dd2;
	text-decoration: none;
	margin-bottom: 15px;
}

.form-item {
	position: relative;
	margin-top: 25px;
}

.form-item input,
.form-item select{
	width: 100%;
	border: 1px solid #e1e1e1;
	border-radius: 5px;
	outline: none;
	padding: 7px;
	margin: 0 !important; 
	line-height: 2 !important;
	height: auto !important;
}
.form-item input:focus,
.form-item textarea:focus,
.form-item select:focus {
	border: 1px solid #008dd2;
}

.form-item.success::after {
	display: block;
	bottom: 0;
	left: 0;
	font-size: 30px;
	content: '\f00c';
	position: absolute;
	color: #64B432;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

.form-item.error::after {
	display: block;
	bottom: 0;
	left: 0;
	font-size: 30px;
	content: '\f12a';
	position: absolute;
	color: #e30000;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

.form-item select {
	padding: 12px;
}

.form-item select > option {
	padding: 5px;
}

.form-item textarea {
	width: 100%;
	border: 1px solid #e1e1e1;
	border-radius: 5px;
	outline: none;
	padding: 7px;
	resize: vertical;
}

.form-item label {
	cursor: pointer;
}

.form-item.form-item--photo input,
.profile-form .form-item.form-item--photo input{
	width: 150px;
}

.form-item--photo .hide-input{
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.form-item-title {
	display: block;
	font-size: 16px;
	margin-bottom: 10px;
}

.form-item-tooltip {
	/*display: none;*/
	opacity: 0;
	position: absolute;
	top: -15px;
	right: 0px;
	width: 60%;
	height: 40px;
	border: 1px solid rgb(237,237,237);
	border-radius: 5px;
	font-size: 12px;
	background: rgba(237,237,237,1);
	padding: 5px;
	transition: all .5s ease-in-out;
}

.form-item-tooltip--login {
	height: 50px;
	top: -25px;
}

.form-item.form-item--photo > .form-item-tooltip {
	top: 29px;
}
.form-item input:hover + .form-item-tooltip,
.form-item select:hover + .form-item-tooltip,
label[for="photo"]:hover + .form-item-tooltip,
.form-item textarea:hover + .form-item-tooltip,
.form-item-tooltip:hover {
	/*display: block;*/
	opacity: 1;
}

.form-item-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.form-item .loaded-photo {
    width:  150px;
    height: 150px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    margin-bottom:  10px;
}

.form-item .loaded-photo img {
	width:  auto;
    height:  auto;
    max-width:  150px;
    max-height: 150px;
}

/*********************************************/
/*=================BUTTONS===================*/
/*********************************************/
/*дубликат стилей єтих кнопок в файле _ltssonStyle, при объединении проверить и удалить один*/
.btn {
	display: inline-block;
    border-radius:  5px;
    padding: 10px 30px;
    font-weight:  400;
    border: none;
    transition: all .5s ease-in-out;
    text-align: center;
    font-size: 14px;
}

.btn:hover {
	cursor: pointer;
}

.btn--blue {
	background: #008dd2;
    color: #fff;
}

.btn--blue:hover {
	background: #008df2;
	box-shadow: 0px 5px 5px rgba(0,0,0,0.15);
}

.btn--width {
	width: 100%;
}


@media  only screen and (max-width: 960px) {
	.form-item.form-item--photo > .form-item-tooltip {
		display: block;
	}
		.form-item-tooltip { 
			opacity: 1;
			display: none;
		}
}


@media  only screen and (max-width: 480px) {
	.form {
		width: 90%;
	}

	.form-item-tooltip {
		display: block;
		float: none;
		position: static;
		width: 100%;
		height: 100%;
		margin-top: 5px;
	}

}