@import "reset.css";

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Exo 2', sans-serif;
	font-size: 16px;

}

.own-btn {
	display: none;
}

.wrapper_main {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100vh;
}

/*стилізаці scroll to top*/
.gotopbtn {
	position: fixed;
	width: 50px;
	height: 50px;
	background: #378FD4;
	bottom: 40px;
	right: 15px;
	z-index: 500;
	text-decoration: none;
	text-align: center;
	line-height: 50px;
	color: white;
	font-size: 22px;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
	transition: all .4s;
	opacity: 0;
	/* Задає прозорість для кнопки */
	visibility: hidden;
	/* Задає видимість кнопки */
}

.gotopbtn.active {
	opacity: 1;
	/* Змінює прозорість кнопки при активації */
	visibility: visible;
	/* Змінює видимість кнопки при активації */
	transition: all .4s;
}

.gotopbtn i {
	line-height: 50px;
	transition: all .4s;
}


/* =====================*/

.container {
	margin: 0 auto;
}

span {
	font-weight: bold;
}

.navbar-brand {
	margin: 0;
	padding: 0;
}

.logo {
	margin-right: 78px;
}

.navbar-nav {
	justify-content: end;
	text-align: center;
}

.nav-item a {
	margin-right: 24px;
	color: #000 !important;
}

/* Стилізація бургер-меню */
.navbar-toggler {
	border: none;
	background-color: transparent;
	padding: 0;
}

.navbar-toggler:focus {
	outline: none;
}

@media (max-width:576px) {
	.navbar-toggler-icon {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
		width: 30px;
		height: 30px;
	}
}

.burger_black {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}


/* =========================== */
.logo-mobile {
	display: none;
}

.my_btn {
	border-radius: 5px;
	background: #FDD952;
	margin-right: 20px;
	font-size: 14px;
	border: none;
	color: #000;
	filter: drop-shadow(2px 5px 5px rgba(0, 0, 0, 0.25));

}

.btn_register {
	width: 183px;
	padding: 11px 0;
}

.btn_room {
	width: 130px;
	padding: 11px 0;
	margin-left: auto;
}

.offer {
	padding-top: 130px;
}

.offer-desk {
	padding: 40px 0px;
}

.offer-img {
	padding-top: 130px;

}

.offer-head {
	font-size: 32px;
}

.tablet-img {
	display: none;
	width: 100%;
}

.offer-btn {
	width: 258px;
	padding: 13px 61px;

}

.permision {
	background: #378FD4;
	margin-top: 150px;
}

.permision-head {
	text-align: center;
	font-size: 30px;
	color: white;
	padding: 46px 0px 56px;
}

.permision-title {
	font-size: 24px;
}

.permision-text {
	font-size: 18px;
}

.permision-img {
	width: 178px;
	text-align: center;
}

.card {
	background: none;
	border: none;
	text-align: center;
	color: white;
	padding-bottom: 137px;
}

.card__pesmision {
	transition: all 1s ease 0s;
}

.card__pesmision:hover {
	transform: scale(1.1, 1.1);
	transition: all 1s ease 0s;
}

/*=====================новини=====================*/
.news__img {
	width: 100%;
	height: 227px;
}

.news__details-img {
	width: 50%;
	height: 50%;
}

.news__details-content {
	line-height: 33px;
}

@media screen and (max-width:991px) {
	.news__details-img {
		width: 80%;
		height: 80%;
	}
}

/* ======Реєстрація================= */

.register-img {
	width: 114px;
}

.register-title {
	color: #378FD4;
	font-size: 20px;
}

.register-text {
	color: black;
}

.register-head {
	color: #378FD4;
	font-size: 30px;
	text-align: center;
	padding: 75px 0px 100px;
}

.form {
	padding-bottom: 160px;
}

.form__registr {
	padding: 26px 0px 26px 26px;
	border: 2px solid #378FD4;
	border-radius: 10px;
	margin-bottom: 1.5rem;
}

.use-form {
	width: 435px;
	padding: 26px 0px 26px 26px;
	border: 2px solid #378FD4;
}

.form-btn {
	width: 258px;
	padding: 17px 65px;
	margin-left: 31px;
}

.pass-field,
.pass-field__confirm {
	position: relative;
}

.pass-field>i,
.pass-field__confirm>i {
	position: absolute;
	right: 20px;
	top: 55px;
}

.list-unstyled li {
	display: flex;
	align-items: center;
}

[class*="fa-circle"] {
	font-size: 10px;
	padding-right: 15px;
	color: #FDD952;
}

[class*="fa-check"] {
	padding-right: 15px;
	color: #378FD4;
}

.terms__agreement__block {
	width: 244px;
}

.terms__agreement {
	z-index: 1;
}

.g-recaptcha {
	margin-top: 20px;
}

.g-recaptcha div {
	margin: 0 auto;
}

footer {
	padding-top: 51px;
	background: #378FD4;
}

.fut-icon {
	padding: 11px;
	font-size: 21px;
	color: #fff;
}

.our-contacts {
	margin-top: 16px;
	margin-bottom: 16px;
}

.our-contacts i {
	padding-right: 15px;
}

.msg {
	border: 2px solid #ffa008;
	border-radius: 3px;
	padding: 10px;
	text-align: center;
	font-weight: bold;
}

.m_0_auto {
	margin: 0 auto;
}

/*авторизація*/
.error {
	background: #F2DEDE;
	color: #A94442;
	padding: 10px;
	width: 95%;
	border-radius: 5px;
	margin: 20px auto;
}

.success {
	background: #D4EDDA;
	color: #40754C;
	padding: 10px;
	width: 95%;
	border-radius: 5px;
	margin: 20px auto;
}

.login-title {
	font-size: 28px;
	padding: 55px 0px;
	padding-left: 92px;
}

.autorization-form {
	/* padding-bottom: 190px; */
}

.forgot-pasword {
	margin-left: auto;
	padding-top: 19px;
	font-size: 14px;
}

.register-form .row .col .h4 {
	padding-bottom: 1.25rem;
}

.register-form label {
	padding-bottom: 10px;
	padding-top: 10px;
}

.form-group label {
	padding-bottom: 10px;
	padding-top: 10px;
}

/*room.php*/

/*модальні вікна*/
body.lock {
	overflow: hidden;
}

.popup {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	top: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	overflow-y: auto;
	overflow-x: hidden;
	transition: all 0.8s ease 0s;

}

.popup.open {
	opacity: 1;
	visibility: visible;
}

.popup.open .popup__content {
	transform: perspective(600px) translate(0px, 0%) rotateX(0deg);
	opacity: 1;
}

.popup__area {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.popup__body {
	min-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px 10px;
}

.popup__content {
	background-color: #fff;
	color: #000;
	max-width: 800px;
	padding: 30px;
	position: relative;
	transition: all 0.8s ease 0s;
	opacity: 0;
	transform: perspective(600px) translate(0px, -100%) rotateX(45deg);
}

.popup__close {
	position: absolute;
	right: 10px;
	top: 10px;
	font-size: 20px;
	color: #000;
	text-decoration: none;
}

.popup__title {
	font-size: 40px;
	margin: 0px 0px 1em 0px;
}

button[name="do_meters"],
[name="do_save"] {
	display: block;
	margin: 0 auto;
}

/*банер*/
.info-hidde {
	display: none;
}

.room-head {
	padding-top: 21px;
	padding-bottom: 30px;
}

.info {
	text-align: center;
	justify-content: center;
}

.banner {
	background: #EBC35E;
	margin-bottom: 30px;
}

.banner-item {
	padding: 18px 0px;
}

#scroll-container {
	overflow: hidden;
}

#scroll-text {
	text-align: right;

	/* animation properties */
	-moz-transform: translateX(-100%);
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);

	-moz-animation: my-animation 15s linear infinite;
	-webkit-animation: my-animation 15s linear infinite;
	animation: my-animation 15s linear infinite;
}

/* for Firefox */
@-moz-keyframes my-animation {
	from {
		-moz-transform: translateX(-100%);
	}

	to {
		-moz-transform: translateX(100%);
	}
}

/* for Chrome */
@-webkit-keyframes my-animation {
	from {
		-webkit-transform: translateX(-100%);
	}

	to {
		-webkit-transform: translateX(100%);
	}
}

@keyframes my-animation {
	from {
		-moz-transform: translateX(-100%);
		-webkit-transform: translateX(-100%);
		transform: translateX(-100%);
	}

	to {
		-moz-transform: translateX(100%);
		-webkit-transform: translateX(100%);
		transform: translateX(100%);
	}
}

/*анімація табів*/

/*Мій кабінет таби*/
.color-tabs {
	color: #000000;
	font-size: 20px;
}

.color-tabs i {
	color: #0067AC;
	font-size: 30px;
	padding-right: 15px;
}

.room-date {
	background: #F2F2F2;
	margin-top: 30px;
}

/*контент табів 1*/
.btn__meters {
	margin: auto;
}

.bg-style {
	background: #FCFCFC;
	box-shadow: 2px 1px 25px rgba(0, 0, 0, 0.25);
}

.information-user {
	margin-top: 60px;
	margin-bottom: 30px;
}

.user-icon {
	font-size: 55px;
	padding: 25px 15px 35px 25px;
	color: #0067AC;
}

.user-name h3 {
	padding-top: 25px;
	font-size: 30px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.information-meters {
	font-size: 22px;
	padding: 25px 15px 35px 25px;
	margin-bottom: 30px;
}

.my__date {
	margin-top: 60px;
	padding: 22px 22px 0 22px;
}

.title__meter {
	font-size: 22px;
	color: #000000;
}

.caption__meter {
	font-size: 12px;
	font-weight: 300;
	color: #000000;
	padding-top: 15px;
}

.room__form {
	width: 270px;
	margin-bottom: 20px;
	margin-left: 10px;
}

.about__pay {
	padding: 29px 43px 30px 28px;
	margin-bottom: 30px;
	height: 139px;
}

.title__about {
	font-size: 22px;
	color: #000000;
	padding-bottom: 20px;
}

.caption__about {
	font-size: 12px;
	font-weight: 300;
	color: #000000;
	width: 170px;
}

.generate__receipt {
	padding: 13px 17px;
	width: 190px;
}

.caption__about i {
	color: #000;
}

.caption__about i:hover {
	color: #fff;
}

.caption__about:focus i {
	color: #fff;
}

.caption__about:active i {
	color: #fff;
}

.caption__about:hover i {
	color: #fff;
}

.about__price__info {
	color: #F65353;
	font-weight: bold;
	font-size: 35px;
}

.my__date {
	padding-bottom: 142px;
	margin-bottom: 80px;
	max-height: 494px;
}

.title__date {
	font-size: 30px;
	text-transform: uppercase;
	color: #0067AC;
}

.date__user {
	font-size: 14px;
	color: #939191;
}

.info__user {
	font-size: 14px;
	color: #000000;
	text-transform: uppercase;
}

.date__user__text {
	padding-top: 15px;
	padding-bottom: 15px;
}

.info__user__date {
	font-size: 14px;
	color: #000000;
}

.date__hr {
	border: 1px solid #DCDADA;
}

.select__meters {
	box-sizing: border-box;
	width: 145px;
	height: 40px;
	background: #FEFEFE;
	border: 1px solid #B5B2B2;
	border-radius: 5px;
	text-align: center;
	display: flex;
	margin-left: auto;

}

@media screen and (min-width: 1380px) {
	.container {
		max-width: 1380px;
	}

}

/*контент табів 2*/
.table__top {
	font-size: 30px;
}

.room-meters__top {
	margin-top: 34px;
}

.table-room {
	background: white;
	margin-bottom: 55px;
	margin-top: 80px;
}

.table-room th {
	border: 1px solid #828282;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
}

.table-room td {
	border: 1px solid #828282;
}

.table-room__top {
	background: #E5E5E5;

}

.table-room__content {}

.table-room__content__no-bord td {
	border-style: none;
}

.table-room__hide {
	padding-top: 10px;
	padding-bottom: 20px;
}

/*================ таби оплата===================*/
.table__tbody__pay>tr>:last-child {
	max-width: 143px;
}

/* таби */
.tab {
	overflow: hidden;
}

.tab .tablinks:last-child {
	margin-left: 16px;
}

@media (max-width: 991px) {
	.tab .tablinks:last-child {
		margin-left: 0px;
	}
}

.tablinks {
	border: none;
	background: none;
	width: 166px;
	height: 36px;
	font-size: 20px;
	line-height: 24px;
	padding: 0;

}

.tab button:hover {
	border-bottom: 1px solid #62AFCD;

}

.tablinks i {
	color: #0067AC;

	font-size: 26px;
	display: flex;
}

.tab button {
	outline: none;
	cursor: pointer;
}

.tabcontent {
	display: none;
	padding: 6px 12px;

}

.tabcontent.show {
	display: block;
}

.tablinks__text {
	color: #000;
	font-family: 'Exo 2';
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	padding-left: 8px;
}

.hidden {
	display: none;
}

.diagram {
	margin: 0 auto;
	width: 65%;
	height: 50%;
	margin-top: 150px;
	margin-bottom: 100px;
}

/* адаптація меню header.php*/
@media screen and (max-width: 1100px) {
	.logo {
		margin: 0;
	}
}

@media screen and (max-width: 576px) {
	.logo {
		display: none;
	}

	.logo-mobile {
		display: block;
		text-align: center;
		margin-top: 50px;
	}

	.about__offer {
		background: #378FD4;
	}

	.permision {
		background: #EBC35E;
		margin-top: 0px;
	}

	.offer__btn__block {
		margin-top: 0px;
		margin-bottom: 50px;
	}
}

/* адаптація offer-img*/
@media screen and (max-width: 1200px) {
	.desktop-img {
		display: none;

	}

	.tablet-img {
		display: block;
	}
}

@media screen and (max-width: 769px) {
	.desktop-img {
		display: block;
		margin: 0 auto;
	}

	.tablet-img {
		display: none;
	}

	.offer-title {
		flex-direction: column;
	}

	.offer__btn__block {
		text-align: center;
		margin-top: 50px;
	}

}

@media screen and (max-width: 576px) {
	.desktop-img {
		display: none;

	}

	.tablet-img {
		display: none;
	}

	.offer-btn {
		background: #EBC35E;
	}
}

/* адаптація секції registrations*/
@media screen and (max-width: 769px) {
	.form-btn {
		width: 200px;
		padding: 17px 35px;
	}

	.tablet-form {
		width: 300px;
	}
}

@media screen and (max-width: 576px) {
	.offer__form {
		flex-direction: column;
	}

	.tablet-form {
		margin: 0 auto;
		margin-bottom: 30px;
	}

	.form-btn {
		margin: 0 auto;
	}
}

/*адаптація register.php*/
@media (max-width:415px) and (max-height:915px) {
	.hide-footer {
		display: none;
	}
}

@media (max-height:873px) {
	.hide-footer {
		display: none;
	}
}

@media screen and (max-width: 576px) {
	.register-form p {
		text-align: center;
	}

	.newsletter {
		text-align: center;
	}

	.btn_register {
		margin: 0 auto;
	}

	.form__registr {
		margin-bottom: 0;
	}

	.form__registr__last__child {
		margin-bottom: 25px;
	}
}

/*адаптація autorization.php*/
@media screen and (max-width: 576px) {}


@media screen and (max-width: 991px) {
	.btn_register {
		display: block;
		margin-top: 10px;
	}

	.login-title {
		padding-left: 0;
	}
}

@media screen and (max-width: 530px) {
	.login-title {
		text-align: center;
	}

	.forgot-pasword {
		justify-content: center;
		margin-bottom: 2.5rem;
		margin-top: 2rem;
	}
}

@media screen and (max-width: 991px) {
	.hidde {
		display: none;
	}

	.own-btn {
		display: block;
	}

}

/*адаптація footer.php*/
@media screen and (max-width: 768px) {
	.contacts {
		text-align: center;
	}

	.networks,
	ul {
		text-align: center;
		justify-content: center;
	}
}

/*адаптація room.php*/
@media screen and (max-width:770px) {
	.banner {
		display: none;
	}

	.info {
		display: none;
	}

	.info-hidde {
		display: block;
		text-align: center;
		padding-bottom: 25px;
	}

	.user-name h3 {
		font-size: 24px;
	}

	.tablinks__text {
		display: none;
	}

	.tablinks i {
		justify-content: center;
	}

	.diagram {
		width: 700px !important;
		height: 500px !important;
	}

	.popup__body {
		justify-content: center;
		padding: 0;
	}
}

@media screen and (max-width:625px) {
	.diagram {
		width: 400px !important;
		height: 400px !important;
	}

}

@media screen and (max-width:598px) {
	.info-hidde {
		display: none;
	}

	.hide__590 {
		display: none;
	}

	.row form {
		margin-left: auto;
	}
}

@media screen and (max-width:500px) {
	.table-row td {
		font-size: 13px;
	}

	.table-room__top tr th {
		font-size: 13px;
	}

	.popup__body {
		min-height: 93%;
		display: flex;
		align-items: center;

		padding: 0;
	}

	.info__user__date {
		font-size: 12px;
	}

	.table-room__hide {
		font-size: 13px;
	}
}

@media screen and (max-width:450px) {


	.popup__content {
		padding: 11px;
	}
}

@media screen and (max-width:390px) {
	.table-row td {
		font-size: 13px;
	}

	.table-room__top tr th {
		font-size: 13px;
	}

	.tabcontent {
		padding: 0;
	}
}

@media screen and (max-width: 992px) {
	.about__pay {
		margin-bottom: 0;
	}

	.information-meters {
		flex-direction: column;
	}

	.room__form {
		width: 85%;
	}
}