*,
*::before,
*::after {
	box-sizing: border-box;
}


:root {
	--bg-color: #1cba9c;
	--sc-bg-color: #2c5662; 
	--first-color: #e9e9ea;
	--second-color: #313131;
}


svg {
	max-height: 100%;
	fill: currentColor;
	fill-rule: evenodd;
	stroke: currentColor;
	stroke-width: 0;
}

input:focus, textarea:focus, select:focus {
    border-color: inherit;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
	border-color: var(--second-color)!important;
}


/*
@font-face {
    font-family: 'BPG';
    src: url('../fonts/nino-mtavruli/bpg-nino-mtavruli-webfont.eot');
    src: url('../fonts/nino-mtavruli/bpg-nino-mtavruli-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/nino-mtavruli/bpg-nino-mtavruli-webfont.woff2') format('woff2'),
         url('../fonts/nino-mtavruli/bpg-nino-mtavruli-webfont.woff') format('woff'),
         url('../fonts/nino-mtavruli/bpg-nino-mtavruli-webfont.ttf') format('truetype'),
         url('../fonts/nino-mtavruli/bpg-nino-mtavruli-webfont.svg#bpg_nino_mtavruliregular') format('svg');
}

@font-face {
	font-family: 'CLG';
	src: url('../fonts/3d/calligraphy.ttf') format('TrueType');
}
*/
@font-face {
	font-family: 'BPG';
	src: url('../fonts/bpg_mrgvlovani_caps_2010.ttf') format('TrueType');
}

@font-face {
	font-family: 'ALK Sanet';
	src: url('../fonts/bpg_nino_mtavruli_normal.ttf') format('TrueType');
}
@font-face {
	font-family: 'bpgArial';
	src: url('../fonts/bpg_arial_2009.ttf') format('TrueType');
}
@font-face {
	font-family: 'VAG';
	src: url('../fonts/VAG Rounded Black.ttf') format('TrueType');
}

body,
html {
	letter-spacing: normal;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.3rem;
	color: #313131;
	text-align: left;
	margin: 0;
	overflow-x: hidden;
	background: #fff;
}
body,form,input,textarea,select,button {
	font-family: bpgArial;
}
body,form {
	font-size: 14px;
	margin: 0px;
	padding: 0px;
}
body {
	padding: 0 10px;
	background: #f5f5f5;
	position: relative;
	z-index: 1;
}
body:after {
	content: "";
	background: url('../images/bg.png') no-repeat;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 681px;
	height: 661px;
	opacity: 0.5;
	z-index: -1;
}

input, textarea {
	padding: 2px;
	font-size: 14px;
}
select {
	padding: 2px;
	font-size: 14px;
}
br {
	clear: both;
}
label {
	display: inline-block;
	max-width: 100%;
	font-weight: normal;
}
a {
	color: #000;
	text-decoration: none;
}
ul, li {
	list-style: none;
	margin: 0;
	padding: 0;
}
button {
	outline: none;
	border: none;
	cursor: pointer;
}

main {
	margin: auto;
	width: 100%;
	max-width: 1200px;
}

.overlay {
	position: fixed;
	display: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.5);
	z-index: 3;
}

.BPG {
	font-family: BPG;
}
.bpgArial {
	font-family: bpgArial;
}

.pointer {
	cursor: pointer;
}

.hide { display: none; }
.show { display: block; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap }
.items-center { align-items: center; }
.flex-around { justify-content: space-around; }
.flex-between { justify-content: space-between; }
.flex-center { justify-content: center; }
.flex-column { flex-direction: column; }
.flex110 { flex: 1 1 0; }

.relative { position: relative; }
.absolute { position: absolute; }

.left { text-align: left; }
.right { text-align: right; }

.block { display: block; }
.underline { text-decoration: underline; }
.bold { font-weight: bold; }

.lh1  { line-height: 1rem; }
.lh1-5  { line-height: 1.5rem; }
.lh2  { line-height: 2rem; }
.first-color { color: var(--bg-color); }

header {
	width: 100%;
	max-width: 1200px;
	margin: 15px auto 0 auto;
}

.top-panel { gap: 10px; }
.top-panel .col-auto:first-child ,.top-panel .col-auto:last-child {
	padding: 0;
}

.form-wrapper {
    margin: 90px auto 150px auto;
    padding: 50px 10px 70px 10px;
    max-width: 1200px;
    background: #fff;
}
.content {
    margin: 90px auto 150px auto;
    padding: 20px 0 10px 0;
    max-width: 1200px;
    background: #fff;
}
.loader {
	position: relative;
}
.loader:before {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0; left: 0;
	background: #000;
	opacity: 0.3;
	content: ' ';
	z-index: 2;
}
.loader:after {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 40%; left: 50%;
	margin-left: -40px;
    width: 80px;
    height: 80px;
    border: 5px solid #FFF;
    border-bottom-color: var(--bg-color);
    border-radius: 50%;
    display: inline-block;
    animation: rotation2 1s linear infinite;
	content: ' ';
	z-index: 100;
}
@keyframes rotation2 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.logo {
	position: relative;
	z-index: 1;
}
.logo .img-wrapper {
	min-width: 55px;
	min-height: 55px;
	border-radius: 8px;
	background: url(../images/logo.png) no-repeat center;
}
.logo .logo-text {
	font-family: VAG;
	color: var(--bg-color);
	font-size: 32px;
}
.logo .line {
	height: 5px;
	background-color: var(--bg-color);
	border-radius: 8px;
}
.logo .logo-text2 {
	font-size: 12.8px;
	color: var(--bg-color);
}
/*ენები*/
.dropdown-wrapper {
	position: relative;
	width: 80px;
	padding: 6px 10px;
	background: var(--sc-bg-color);
	border-radius: 5px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
	cursor: pointer;
	outline: none;
	color: #fff;
	transition: all 0.3s ease-out;
}
.dropdown-wrapper:after {
	content: "";
	width: 0;
	height: 0;
	position: absolute;
	top: 50%;
	right: 15px;
	margin-top: -3px;
	border-width: 6px 6px 0 6px;
	border-style: solid;
	border-color: #fff transparent;
}
.dropdown-wrapper.is-active {
	border-radius: 5px 5px 0 0;
	background: var(--bg-color);
	box-shadow: none;
	border-bottom: none;
	color: white;
}
.dropdown-wrapper.is-active:after {
	border-color: #ffffff transparent;
	transform: rotate(180deg);
}
.dropdown-wrapper.is-active .dropdown-list {
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	max-height: 400px;
}
.dropdown-wrapper span { color: #fff; }
.dropdown-list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 10;
	background: #fff;
	border-radius: 0 0 5px 5px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-top: none;
	border-bottom: none;
	list-style: none;
	transition: all 0.3s ease-out;
	max-height: 0;
	overflow: hidden;
}
.dropdown-list li {
	padding: 0 10px;
}
.dropdown-list li:hover a {
	color: #000;
}
.dropdown-list li:last-of-type a {
	border: none;
}
.dropdown-list a {
	display: block;
	text-decoration: none;
	color: #000;
	padding: 10px 0;
	transition: all 0.3s ease-out;
	border-bottom: 1px solid #e6e8ea;
}
/*!ენები*/

.btn {
	display: inline-block;
	background: var(--bg-color);
	color: #fff;
	font-size: 16px;
	padding: 10px 30px;
	border-radius: 20px;
	transition: ease-in 0.2s;
	border: none;
}
.btn:hover ,.btn.active {
	background: var(--sc-bg-color);
}
.btn.reg  {
	padding-right: 40px;
}

.btn.open-cabinet::after {
	content: '\276F';
	position: absolute;
	top: 8px;
	right: 14px;
	font-size: 18px;
	transform: rotate(90deg);
}
.open-cabinet-mobile {
	font-size: 28px;
	background: none;
	color: var(--bg-color);
}
.cabinet-list {
	position: absolute;
	margin-top: 8px;
	right: -100%;
	border: 1px solid #c1c1c1;
	border-radius: 20px;
	background: #fff;
	width: 120%;
	z-index: 9;
	text-align: left;
	visibility: hidden;
	padding: 5px 0;
}
.cabinet-list input[type=text] {
	border: none;
	background: none;
}
.cabinet-list li {
	padding: 6px 10px;
}
.cabinet-list li a {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
}
.cabinet-list li a span:first-child {
	width: 25px;
	text-align: center;
}
.cabinet-list li a:hover {
	color: #000;
}
.cabinet-list .avatar-box {
	width: 34px;
	height: 34px;
	background: #000;
	border-radius: 50%;
}
.cabinet-list .user-info .username {
	line-height: 16px;
}
.cabinet-list.visible {
	visibility: visible;
	right: 0;
}

.pagination {
	margin: auto;
	clear: both;
	padding: 10px 0 10px 0;
	font-size: 12px;
}
.pagination a {
	color: #000;
	margin: 0 2px;
	font-size: 12px;
	text-decoration: none;
	border: 1px solid #d9d9d9;
	border-radius: 3px;
	background: #f7f7f7;
	padding: 4px 6px;
}
.pagination a:hover {
	background: #eaeaea;
}
.pagination span {
	margin: 0 2px;
	color: #ccc;
	border: 1px solid #f1f1f1;
	border-radius: 3px;
	background: #fbfbfb;
	padding: 4px 6px;
}
.pagination b {
	margin: 0 2px;
	color: #000;
	border: 1px solid #bababa;
	border-radius: 3px;
	background: #e7e7e7;
	padding: 4px 6px;
}


footer {
	background: #f4f4f4;
	font-size: 14px;
}
.inner-footer {
	width: 100%;
	max-width: 1200px;
	margin: auto;
}

.footer-menu {
	
}
.footer-menu ul li {
	display: inline-block;
	padding: 10px 0 10px 30px;
}
.footer-menu ul li:first-child {
	padding-left: 0;
}
.footer-menu ul li a {
	font-size: 16px;
	font-weight: 500;
}

.footer-contact-item {
	padding-left: 30px;
}
.footer-contact-item .col-icon {
	padding-right: 15px;
	width: 50px;
}
.footer-contact-item .col-icon i {
	font-size: 28px;
	color: var(--bg-color);
}


@media (max-width:992px) {
	.top-panel { gap: 15px 0; flex-wrap: wrap; width: 100%; justify-content: space-between; }
	.top-panel .col-auto {
		padding-right: 0;
		padding-left: 0;
	}

	.top-slider .row {
		flex-direction: column-reverse;
	}
	.top-slider .row .col-sm-6 {
		text-align: center;
	}
	.inner-footer {
		justify-content: flex-start;
	}
	.inner-footer .ph0 {
		text-align: center;
	}
}
@media (max-width:768px) {
	.cabinet-list { width: 100%; transition: all 0.3s; border-radius: 5px; }
	.col-cabinet { position: static; }
	.btn.open-cabinet { display: none; }
	.btn.login-btn { display: none; }
	
	.footer-contact-item {
		justify-content: center;
		flex: 0 0 100%;
		padding: 10px 0;
	}
	.footer-menu ul li {
		padding: 10px 15px 10px 15px!important;
	}
}
@media (min-width:768px) {
	.logo .text-wrapper {
		padding-left: 10px;
	}
}
.sbm {
	display: inline-block;
	position: relative;
	background: #345a7e;
	border-radius: 3px;
	border: none;
	color: #fff;
	font: normal 14px BPG;
	margin-top: 15px;
	padding: 6px 45px 6px 20px;
	cursor:pointer;
	text-transform: uppercase;
	transition: all 0.3s;
}
.sbm:not(:last-child) {
	margin-right: 10px;
}
.sbm:before {
	position: absolute;
	font: normal normal normal 14px/1 FontAwesome;
	content: " ";
	background: #057dc1;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	border-left: 1px solid #0b2e43;
	padding-top: 6px;
	right: 0; top: 0;
	width: 30px;
	height: 100%;
	transition: all 0.3s;
	text-align: center;
}
.sbm:hover {
	background: #0b2e43;
}
.sbm:focus {
	box-shadow: 3px 3px 7px 1px #ccc;
}
.sbm:hover:before {
	background: #056da8;
}
.sbm.save:before {
	content: "\f0c7";
}
.sbm.add:before {
	content: "\f067";
}
.sbm.cls:before {
	content: "\f057";
}
.sbm.return:before {
	content: "\f0e2";
}
.sbm.remove {
	background: #c23236;
}
.sbm.remove:before {
	background: #952528;
	content: "\f014";
}
.sbm.remove:hover {
	background: #751b1d;
}
.sbm.remove:before:hover {
	background: #561314;
	content: "\f014";
}

.input {
    width: 100%;
    padding: 15px 15px;
    border: 1px solid var(--first-color);
    background: #fff;
    border-radius: 10px;
    font-size: 15px;
}
.input.error {
    border-color: crimson;
}