*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scroll-behavior: smooth;
	outline: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
*::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
}
*::-webkit-scrollbar-thumb {
    background: #cecece;
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
    background: rgba(19, 104, 130,0.5);
}
html,
body {
	color: #3f3f3f;
	font: 400 16px/26px Raleway, Arial, Helvetica, sans-serif;
	background-color: #e0fafd;
	scrollbar-color: #acacac transparent;
    scrollbar-width: thin;
}
img {
	max-width: 100%;
}
ul li {
	margin-left: 0;
	padding-left: 0;
	list-style-type: none;
}
a {
	color: inherit;
	text-decoration: none;
}
input:focus {
	border: 1px solid #136882 !important;
}
.button {
	display: block;
	border: 0;
	cursor: pointer;
}
.container {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 10px;
}

/* Header */
.header {
	padding: 10px 0 15px;
}
.header-main-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.hamburger,
.hamburger-open,
.hamburger-close {
	position: relative;
	display: none;
	z-index: -1 !important;
}
.header-logo {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	width: 300px;
	margin-bottom: 15px;
	box-shadow: none;
}
.header-logo__title {
	align-self: flex-end;
	margin-left: 10px;
	color: #136882;
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
}
.header-logo__title span {
	display: none;
}
.header-logo__img {
	width: 120px;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .header-logo__img {
        height: 100%; 
    }
}
.header-text {
	text-align: center;
}
.sea-color {
	color: #136882;
	font-weight: 700;
}

/* Sidebar */
.sidebar__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin: 20px 0 20px 30px;
	font-size: 0;
}
.sidebar__item,
.sidebar__item__profile {
	position: relative;
	margin-right: 40px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: 0.4s;
}
.sidebar__item:last-child {
	margin-right: 0;
}
.sidebar__item::after {
	position: absolute;
	content: '';
	top: 28px;
	left: 0;
	width: 100%;
	height: 3px;
	opacity: 0;
	border-radius: 10px;
	background-color: #136882;
	transition: 0.4s linear;
}
.sidebar__item_selected {
	position: relative;
	cursor: default;
}
.sidebar__item_selected::after,
.sidebar__item:hover::after {
	position: absolute;
	content: '';
	top: 28px;
	left: 0;
	width: 100%;
	height: 3px;
	opacity: 1;
	background-color: #136882;
	border-radius: 10px;
}
.sidebar__item__login {
	display: none;
}

/* Main */
.main-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 10px 0 30px;
}
.content {
	width: 78%;
	order: 1;
	padding: 20px;
	border: 2px solid #2b2b2b;
	border-radius: 4px;
	background-color: #eae9e966;
}
.tutorial {
	width: 20%;
	order: 2;
	padding: 10px 15px;
	border: 2px solid #2b2b2b;
	border-radius: 4px;
	background-color: #eae9e966;
}
.tutorial__title {
	margin-bottom: 5px;
	font-size: 18px;
}
.tutorial__item {
	margin-bottom: 8px;
	line-height: 20px;
}
.tutorial__link {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	cursor: pointer;
	transition: 0.4s;
}
.tutorial__link:hover {
	color: #136882;
}
.main-title {
	margin-bottom: 15px;
	font-size: 22px;
	text-align: center;
}
.main-subtitle,
.task-answer {
	margin: 30px 0 20px;
	font-size: 18px;
}
.query {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 20px 0;
}
.sql-code {
	display: block;
	color: #136882;
	font-family: Raleway, Arial, Helvetica, sans-serif;
	font-weight: 600;
	line-height: 1.4;
	word-spacing: 5px;
}
.check-code {
	display: block;
	margin-top: 7px;
	font-weight: 400;
}
.check-code_blue {
	color: #136882;
	font-family: Raleway, Arial, Helvetica, sans-serif;
	font-weight: 600;
}
.check-code_gen {
	font-family: Arial, Helvetica, sans-serif;
}
.sql-code-comment {
	display: block;
	width: 400px;
	margin: 5px 0 10px;
	color: #3f3f3f;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 15px;
	font-style: oblique;
}
.sea-color_comment {
	color: #136882;
	font-family: Raleway, Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: 600;
}
.sql-code-item {
	position: relative;
	width: 400px;
	margin-left: 15px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-style: oblique;
	line-height: 1.4;
}
.sql-code-item:before {
	position: absolute;
    content: '';
    top: 6px;
    left: -13px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #136882;  
   }
.sql-code-comment_normal {
	display: block;
	width: 100%;
	margin-bottom: 5px;
	font-style: normal;
}
.table_main {
	width: 400px;
	margin-bottom: 10px;
	border-collapse: collapse;
	border: 1px solid #2b2b2b;
	font-size: 15px;
	align-self: flex-start;
}
@media all and (min--moz-device-pixel-ratio:0) {
	table {
		align-self: flex-start;
	}
	table tr:first-child {
		height: 31px;
	}
}	
td,th {
	padding: 2px 8px;
	border: 1px solid #2b2b2b;
	text-align: center;
}
th {
	font-weight: 700;
}
tr:nth-child(1) {
	background-color: #acacac;
}
.table-small {
	padding: 2px 4px;
	font-size: 14px;
	line-height: 1.6;
}
.table_inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 20px 0 30px;
}
.table-join-third  {
	margin-top: 10px;
}
.table-join-third th:first-child {
	width: 63px;
}	
.hometask-item {
	position: relative;
	padding-left: 20px;
	list-style: none;
	font-size: 16px;
	transition: 0.4s;
}
.hometask-item::before,
.hometask-home::before,
.hometask-pen::before,
.hometask-barbell::before,
.hometask-video::before {
	position: absolute;
	content: "";
	top: 4px;
	left: -2px;
	width: 30px;
	height: 30px;
	background: url(img/download.svg) no-repeat;
}
.hometask-home::before {
	top: 2px;
	left: -4px;
	width: 18px;
	height: 18px;
	background: url(img/house.svg) no-repeat;
}
.hometask-pen::before {
	top: 5px;
	width: 14px;
	height: 14px;
	background: url(img/pen.svg) no-repeat;
}
.hometask-barbell::before {
	top: 6px;
	width: 16px;
	height: 16px;
	background: url(img/barbell.svg) no-repeat;
}
.hometask-video::before {
	top: 6px;
	width: 16px;
	height: 18px;
	background: url(img/video.svg) no-repeat;
}
.hometask-video_new>a {
	position: relative;
}
.hometask-video_new>a::after {
	position: absolute;
	content: 'bonus';
	top: -10px;
	right: -35px;
	color: #fb6363;
	font-size: 11px;
	font-weight: 700;
}
.hometask-item_ordered {
	margin-left: 15px;
}
.hometask-item:hover,
.hometask-item_ordered:hover {
	color: #136882;
}
.column_bold {
	border: 2px solid #ef2727a8;
}
.btnup {
	position: -webkit-sticky;
	position: sticky;
	z-index: 5;
	top: 85%;
	left: 1px;
	display: block;
	width: 50px;
	height: 50px;
	margin: 300px 10px 0 auto;
	border: 0;
	border-radius: 50%;
	background-color: rgba(120,120,120,0.1);
	cursor: pointer;
	transition: 0.4s;
}
.btnup__icon {
	position: absolute;
	top: 18px;
	left: 19px;
	width: 10px;
	height: 10px;
	transform: rotate(-90deg);
}
.btnup__icon path {
	fill: #7f7f7f;
	transition: 0.4s;
}
.btnup:hover .btnup__icon path {
	fill: #136882;
}
.btnup-smdev {
	display: none;
}
.video {
	width: 100%;
	z-index: 11;
}
.quiz-site_extra {
	display: none;
}
.prevent-scroll {
	height: 10vh;
	overflow: hidden;
	animation: fadeContent 0.8s linear;
}
@keyframes fadeContent {
	0% {
		height: 100vh;
	}
	99% {
		height: 100vh;
	}
	100% {
		height: 10vh;
	}
}


/* Media queries */
@media (max-width: 1150px) {
	.hamburger {
		display: none;
	}
	.table_main {
		width: 320px;
	}
	.table-join-third th:first-child  {
		width: 50px;
	}
}
@media (max-width: 1065px) {
	.hamburger {
		display: none;
	}
	.table_main {
		width: 300px;
		margin: 10px 0;
		padding: 2px 4px;
		font-size: 13px;
	}
	.table-small_dt {
		font-size: 11px;
	}
}
@media (max-width: 997px) {
	html,
	body {
		font: 400 15px/26px Raleway, Arial, Helvetica, sans-serif;
	}
	.hamburger {
		display: none;
	}
	.content {
		width: 80%;
		padding: 10px;
	}
	.tutorial {
		width: 19%;
		padding: 10px 8px;
	}
	.tutorial__title {
		font-size: 16px;
	}
	.check-code_blue {
		font-size: 14px;
	}
	.sql-code {
		word-spacing: 2px;
	}
	.sql-code-comment {
		width: 300px;
	}
	.sql-code-comment_normal {
		width: 100%;
	}
	.table-small_dt {
		width: 250px;
	}
}
@media (max-width: 950px) {
	.hamburger {
		display: none;
	}
	.query__code {
		width: 100%;
	}
	.table_main {
		width: 95%;
		font-size: 14px;
	}
	.content {
		width: 70%;
		padding: 10px 20px;
	}
	.tutorial {
		width: 26%;
		padding: 10px 12px;
	}
}	
@media (max-width: 700px) {
	.tutorial,
	.hamburger {
		display: none;
	}
	.btnup-smdev {
		display: block;
		top: 86%;
		margin: 0;
		margin-left: auto;
	}
	.content {
		width: 100%;
	}
	.header {
		padding-bottom: 0;
	}
	.header-logo {
		margin: 0 0 10px;
	}
	.sidebar__list {
		justify-content: center;
		margin: 10px auto;
	}
	.sidebar__item {
		margin-right: 25px;
	}
	.main-title {
		margin: -40px 0 0;
		font-size: 20px;
	}
	.main-subtitle {
		margin: 10px 0;
		font-size: 16px;
	}
	.query {
		margin: 10px 0;
	}
	.table_inner {
		margin: 10px 0;
	}
	.btnup:hover::before {
		background: url(img/btn_arrow_right.svg) no-repeat;
	}
}
@media (max-width: 535px) {
	.sidebar__item {
	    margin-right: 14px;
	}
}
@media (max-width: 480px) {
	.header-text,
	.dropdown-menu {
		display: none;
	}
	.header-logo {
		position: fixed;
		z-index: 10;
		top: 0;
		left: 0;
		width: 100%;
		height: 61px;
		margin-bottom: 0;
		padding: 10px;
		box-shadow: 0 6px 16px 0 rgba(0,0,0,0.05);
		background-color: #fff;
	}
	.hamburger {
		position: absolute;
		display: block;
		top: 25%;
		right: 5%;
		width: 38px;
		height: 38px;
		border: none;
		border-radius: 50%;
		background-color: rgba(19, 104, 130, 0.7);
		z-index: 12;
	}
	.hamburger-open_border {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 65%;
		height: 3px;
		border-radius: 12px;
		background-color: #fff;
		transform: translate(-50%,-50%);
	}
	.hamburger-open_border::before {
		position: absolute;
		content: "";
		top: -8px;
		left: 0;
		width: 100%;
		height: 3px;
		border-radius: 12px;
		background-color: #fff;
	}
	.hamburger-open_border::after {
		position: absolute;
		content: "";
		top: 8px;
		left: 0;
		width: 100%;
		height: 3px;
		border-radius: 12px;
		background-color: #fff;
	}
	.hamburger-close {
		position: absolute;
		display: none;
		z-index: -5;
	}
	.hamburger-close_border {
		position: absolute;
		top: 9px;
		left: 6px;
		width: 100%;
		height: 3px;
		background-color: transparent;
	}
	.hamburger-close_border::before {
		position: absolute;
		content: "";
		top: 8px;
		left: 0;
		width: 25px;
		height: 3px;
		border-radius: 12px;
		background-color: #fff;
		transform: rotate(45deg);
	}
	.hamburger-close_border::after {
		position: absolute;
		content: "";
		top: 8px;
		left: 0;
		width: 25px;
		height: 3px;
		border-radius: 12px;
		background-color: #fff;
		transform: rotate(-45deg);
	}
	.header-logo__img {
		width: 80px;
		height: 41px;
	}
	.header-logo__title {
		font-size: 22px;
	}
	.sidebar__list {
		position: fixed;
		top: 55px;
		left: 100%;
		width: 120%;
		height: 100%;
		display: block;
		margin-top: 0;
		padding: 15px 0 0 20px;
		color: #136882;
		line-height: 52px;
		text-transform: uppercase;
		background-color: #fff;
		z-index: 10;
	}
	.sidebar__item:hover::after,
	.sidebar__item_selected::after {
		display: none;
	}
	.sidebar-appear {
		animation: openBurger 0.8s forwards;
	}
	.sidebar-disappear {
		animation: closeBurger 0.8s forwards;
	}
	.sidebar__line {
		position: absolute;
		top: 2px;
		left: -20px;
		height: 1px;
		width: 104%;
		background-color: #bcc0c6;
		border: 0;
	}
	.sidebar__item__login,
	.sidebar__item__profile {
		position: relative;
		display: block;
		margin-left: 20px !important;
	}
	.sidebar__item__login {
		margin-left: 0 !important;
	}
	.sidebar__item__login:nth-child(2n),
	.sidebar__item__profile:nth-child(2n) {
		margin-top: 10px;
	}
	.sidebar__item__profile:last-child{
		margin-top: 0;
	}
	.sidebar__item__profile:last-child button {
		border: none;
		color: #136882;
		text-transform: uppercase;
		font: 700 16px/26px Raleway, Arial, Helvetica, sans-serif;
		background: none;
	}
	@keyframes openBurger {
		0% {
			left: 100%;
		}
		100% {
			left: 0;
		}
	}
	@keyframes closeBurger {
		0% {
			left: 0;
		}
		100% {
			left: 100%;
		}
	}
	.main-title {
		margin: 0;
	}
	.main-wrap {
		margin-top: 25px;
		padding: 0;
	}
	.content {
		padding: 0 5px;
		border: none;
		background-color: transparent;
	}
	.sql-code-item {
		width: 95%;
	}
	.check-code_gen,
	.hometask-item {
		font-size: 14px;
	}
	table {
		width: 100% !important;
	}
	.table-inner {
		justify-content: center;
	}
	.column_bold {
		border-width: 1.5px;
	}
	.hometask-item_ordered:last-child {
		margin-bottom: 20px;
	}
	.btnup:hover .btnup__icon path {
		fill: #3f3f3f;
	}
	#tasks a:hover,
	.hometask-item:hover {
		color: #3f3f3f;
	}
	@media not all and (min-resolution:.001dpcm) { 
		@supports (-webkit-appearance:none) and (stroke-color:transparent) {
			.sidebar__item {
				display: flex;
			}
		} 
	}
}
@media (max-width: 400px) {
	.table_main {
		font-size: 12px;
	}
}
@media (max-width: 350px) {
	.container {
		padding: 0 5px;
	}
	.main-title {
		font-size: 17px;
	}
	.table_main {
		font-size: 11px;
	}
	.query__code {
   		font-size: 13px;
	}
	.sql-code-comment {
		font-size: 12px;
	}
	.table-small_dt,
	.table_inner .table_main {
		font-size: 10px;
	}
}