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


:root {
	--first-color: #FF8A42;
	--second-color: #fff4ed;
	--third-color: #ebebeb;
}


svg {
	max-height: 100%;
	fill: currentColor;
	fill-rule: evenodd;
	stroke: currentColor;
	stroke-width: 0;
}

input:focus {
    border-color: inherit;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

body,
html {
	font-family: serif;
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale !important;
	letter-spacing: normal;
	font-size: 16px;
	overflow-x: hidden;
}

@font-face {
    font-family: 'BPG';
    src: url('../fonts/nino-mtavruli/bpg-nino-mtavruli-webfont.eot'); /* IE9 Compat Modes */
    src: url('../fonts/nino-mtavruli/bpg-nino-mtavruli-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/nino-mtavruli/bpg-nino-mtavruli-webfont.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/nino-mtavruli/bpg-nino-mtavruli-webfont.woff') format('woff'), /* Pretty Modern Browsers */
         url('../fonts/nino-mtavruli/bpg-nino-mtavruli-webfont.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/nino-mtavruli/bpg-nino-mtavruli-webfont.svg#bpg_nino_mtavruliregular') format('svg'); /* Legacy iOS */
}

@font-face {
	font-family: 'CLG';
	src: url('../fonts/3d/calligraphy.ttf') format('TrueType');
}
#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: 1;
}

body,form {
	background: #FFF;
	font-size: 13px;
	margin: 0px;
	padding: 0px;
}

input, textarea {
	padding: 2px;
	font-size: 14px;
}

select {
	padding: 2px;
	font-size: 14px;
}

br {
	clear: both;
}

fieldset {
	border: 1px solid #999;
	border-radius: 7px;
	padding: 2px;
	margin: auto;
}

legend {
	margin-left: 10px;
	color: #000;
}

label {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 5px;
	font-weight: normal;
}

a {
	color: #000;
	text-decoration: none;
}


.show { display: block!important; }
.hide { display: none!important; }


.overflow-hidden {
	z-index: -1;
	overflow: hidden;
}
   
.drop-in {
	animation: drop-in 1s ease 100ms backwards;
}
@keyframes drop-in {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translate(0px);
	}
}

.slide-up {
	animation: slide-up 1s ease 100ms backwards;
}
@keyframes slide-up {
	from {
		opacity: 0;
		transform: translateY(100px);
	}
	to {
		opacity: 1;
		transform: translate(0px);
	}
}




.loader {
	position: relative;
	z-index: 9999;
	left: 50%;
	top: 50%;
	width: 250px;
	height: 250px;
	margin-top: -125px;
	margin-left: -125px;
	background: url('../images/loader.gif');
}


.header-container {
	background: var(--first-color);
}
.header {
	margin: auto;
	padding: 20px;
	display: block;
	max-width: 1400px;
	width: 100%;
	color: #fff;
}
.learning {
	font-size: 32px;
	font-family: 'font-stretch: ultra-condensed';
}
.header .menu-col {
	flex: 1;
	text-align: right;
}
.header .col1 {
	width: 200px;
}
.header .col1 ,.header .col2 {
	padding-right: 15px;
	padding-left: 15px;
}
.header .text1 {
	margin-top: 70px;
	font-size: 36px;
	font-weight: 900;
}
.header .text2 {
	font-size: 16px;
	margin-top: 10px;
}
.header-img {
	max-width: 500px;
	width: 100%;
}
.content {
	margin: auto;
	padding: 20px;
	display: block;
	max-width: 1400px;
}
.content .left {
	border-right: 1px solid var(--third-color);
}



.top-menu li {
	display: inline-block;
	font-size: 18px;
	list-style: none;
	margin-left: 20px;
	position: relative;
}
.top-menu li a {
	color: #fff;
}
.btn1 {
	display: inline-block;
	background: #fff;
	color: var(--first-color)!important;
	padding: 10px 20px;
	border-radius: 9px;
	font-size: 18px;
}
.top-menu .submenu {
    display: none;
    position: absolute;
	border-radius: 9px;
	width: 100%;
	min-width: 220px;
	padding: 0 10px;
	margin-top: 5px;
	right: 0;
	background: var(--second-color);
	z-index: 1;
}
.top-menu .submenu li {
	display: block;
	margin: 0;
	border-bottom: 1px solid #f5ebe4;
}
.top-menu .submenu li:last-child {
	border-bottom: none;
}
.top-menu .submenu li a {
	display: block;
	padding: 10px 0;
	color: #716e6c;
	text-align: left;
}
.top-menu .submenu li a i {
	float: left;
	margin-top: 7px;
	margin-right: 10px;
	color: var(--first-color);
}
.top-menu a:focus + .submenu,
.submenu:hover {
	animation: drop-in 1s ease 100ms backwards;
    display: block;
}

@keyframes autorization-drop {
	from {
		opacity: 0;
		transform: translateY(-200px);
	}
	to {
		opacity: 1;
		transform: translate(0px);
	}
}

.autorization-drop {
	animation: autorization-drop 0.5s ease 100ms backwards;
}
.autorization-container {
	position: fixed;
	display: none;
	top: 100px;
	width: 100%;
	z-index: 2;
}
.autorization-container>.row {
	margin: auto;
	position: relative;
	max-width: 1000px;
	width: 100%;
	background-color: #fff;
	background-image: url(../images/left.png);
	background-repeat: no-repeat;
}
.autorization-form {
	position: relative;
	display: flex;
	margin: 0 15px;
	flex-wrap: wrap;
	box-shadow: 0px 4px 40px rgba(255, 138, 66, 0.2);
	border-radius: 20px;
	background: #fff;
}
.autorization-form::before {
	content: ' ';
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 60px;
	background: var(--first-color);
	border-radius: 20px 20px 0 0;
}
.autorization-container .close {
	position: absolute;
	right: 10px; top: 10px;
	z-index: 1;
}
.autorization-container .close i {
	font-size: 22px;
}
.autorization-form label {
	position: relative;
	width: auto;
	padding: 20px 30px;
	cursor: pointer;
	font-weight: bold;
	font-size: 18px;
	color: #fff;
	transition: background 0.1s, color 0.1s;
}
.login-form {
	margin: auto;
	width: 100%;
	padding: 20px 10px;
	display: none;
	order: 99;
}
.login-form input ,.login-form button {
	display: block;
	width: 100%;
	margin: 10px 0;
	padding: 15px 5px;
	font-size: 16px;
	text-align: center;
	border: 1px solid #E4E4E7;
	border-radius: 9px;
}
.login-form button {
	background: var(--first-color);
	color: #fff;
}
.autorization-form .input[type=radio] {
	display: none;
} 
.autorization-form .input[type=radio]:checked + label {
	background: #fff;
	color: #000;
}
.autorization-form .input[type=radio]:first-child:checked + label {
	border-top-left-radius: 20px;
}
.autorization-form .input:checked + .label + .login-form {
	display: block;
}
.social-login {
	position: relative;
	display: block;
	margin-top: 5px;
	padding: 15px 0;
	background: #f4f4f4;
	border-radius: 9px;
	text-align: center;
	font-size: 16px;
}
.social-login i {
	font-size: 24px;
	position: absolute;
	left: 22px;
	top: 15px;
}

.profile {
	margin: auto;
	width: 100%;
	max-width: 1400px;
}

.upload-avatar {
	display: block;
	width: 100%;
	border: 1px solid #E4E4E7; 
	text-align: center;
	border-radius: 9px;
}
.upload-avatar .fa-upload {
	font-size: 52px;
	color: #000;
}
.upload-avatar .upload-title {
	color: #000;
}
.progress {
	height: 18px;
	border-radius: 5px;
	background: #E4E4E7;
	display: none;
}
.progress .progress-bar {
	width: 0%;
	height: 18px;
	background: var(--first-color);
	border-radius: 5px;
	text-align: center;
}
.avatar-col .alert {
	margin: 5px auto 0 auto;
}
.avatar-image {
	width: 200px;
	border-radius: 9px;
}


.input-error {
	margin:5px;
	animation: fadein 1s;
}
@keyframes fadein {
	from { opacity: 0}
	to   { opacity: 1}
}

.tests {
	padding: 20px;
}
.tests .object-title {
	color: var(--first-color);
	font-size: 22px;
	margin-bottom: 20px;
	text-align: center;
}
.tests .word-input {
	width: 100%;
	border: 1px solid var(--first-color);
	border-radius: 9px;
	font-size: 22px;
	padding: 8px 15px;
	margin-top: 10px;
}
.tests .word-input.error {
	border-color: red;
	box-shadow: 0 0 7px red;
}
.tests .word-input.success {
	border-color: green;
	box-shadow: 0 0 7px green;
}
.tests .helper-btn {
	font-size: 32px;
	width: 50px;
	border: 1px solid var(--first-color);
	border-radius: 5px;
	cursor: pointer;
}

.tests .grammer-text {
	position: fixed;
	z-index: 3;
	background: #fff;
	top: 5%; left: 5%;
	padding: 20px;
	width: 90%;
	height: 90%;
	font-size: 18px;
	opacity: 0;
	overflow-y: auto;
}
.tests .grammer-text.slideUp {
	animation: slide-up 0.5s ease 100ms backwards;
	transform: translateY(0);
	opacity: 1;
}

.tests .grammer-text .close-btn {
	position: absolute;
	top: 20px; right: 20px;
	background: none;
	border: 0;
	cursor: pointer;
}
.tests .grammer-text .close-btn .fa {
	font-size: 30px;
}

.tests .answers-wrap .answer.success {
	background: green;
}
.tests .answers-wrap .answer.error {
	background: red;
}

