/* Mobile Device */
/* 768px 미만 해상도의 모바일 기기를 위한 코드를 작성한다. 모든 해상도에서 이 코드가 실행됨. 미디어 쿼리를 지원하지 않는 모바일 기기를 위해 미디어 쿼리 구문을 사용하지 않는다.*/
@media all and (max-width:500px) {
	.mobile-topbar  .redent_logo a {
		margin: 16px 0px 5px 0px;
		display: inline-block;
	}
	.mobile-topbar  .redent_logo img {
		width: 87px;
		height: 33px;
	}
	.navbar_burger {
		position: fixed;
		top: 0.9rem;
		right: 20px;
		cursor: pointer;
		color: #DF1414;
	}
	.navbar_burger svg {
		width: 36 !important;
		height: 36 !important;
	}
	.main_menu {
		position: fixed;
		top: 0;
		right: 0;
		width: 100%;
		height: 100%;
		background-color: #ffffff;
		padding: 66px 0rem 0rem 0rem;
		display: flex;
		flex-direction: column;
		/* justify-content: center; */
		align-items: flex-start;
		transform: translateX(100%);
		z-index: 999;
		color: #000;
		transition: transform 0.3s ease;
	}
	.navbar_burger_back {
		position: fixed;
		top: 0.8rem;
		right: 1rem;
		cursor: pointer;
		color: #0b0b0b;
	}
	
	.navbar_burger_back1 {
		position: fixed;
		top: 0.8rem;
		cursor: pointer;
		color: #0b0b0b;
	}
	
	.main_menu a {
		position: relative;
		color: #0b0b0b;
		font-size: 1.4rem;
		margin-left: 1.5rem;
		/* margin-bottom: 1rem; */
		text-decoration: none;
	}
	.main_menu .main_submenu .main_submenu_ul {
		/*margin-bottom: 40px;*/
		margin-left: -23px;
		margin-bottom: 15px;
		margin-top: 15px;
		color: #0b0b0b;
	}
	.main_menu .main_submenu .main_submenu_ul li a {
		position: relative;
		/* padding: 10px 0; */
		margin-left: 40px;
		color: #0b0b0b;
		font-size: 1.2rem;
		font-weight: 200;
		text-align: left;
	}

	/*메인네비*/
	.mobile-topbar {
		position: fixed;
		width: 100%;
		left: 0;
		top: 0;
		z-index: 999;
		border: 1px solid rgba(0, 0, 0, 0.1);
		background: #ffffff;
		opacity: 1;
		/*text-align: center;*/
		padding-left: 20px;
		display: none !important;
		height: 65px;
		min-height: 65px;
	}
}

/* All Device */
/* 모든 해상도를 위한 공통 코드를 작성한다. 모든 해상도에서 이 코드가 실행됨.*/

/* Tablet Device */
@media all and (min-width:500px) and (max-width:1023px) {
	/*  사용자 해상도가 768px 이상이고 1024px 이하일 때 이 코드가 실행됨. 아이패드 또는 비교적 작은 해상도의 랩탑이나 데스크톱에 대응하는 코드를 작성한다.*/
	.mobile-topbar  .redent_logo a {
		margin: 16px 0px 5px 0px;
		display: inline-block;
	}
	.mobile-topbar  .redent_logo img {
		width: 87px;
		height: 33px;
	}
	.navbar_burger {
		position: fixed;
		top: 0.9rem;
		right: 20px;
		cursor: pointer;
		color: #DF1414;
	}
	.navbar_burger svg {
		width: 36 !important;
		height: 36 !important;
	}
	.main_menu {
		position: fixed;
		top: 0;
		right: 0;
		width: 100%;
		height: 100%;
		background-color: #ffffff;
		padding: 66px 0rem 0rem 0rem;
		display: flex;
		flex-direction: column;
		/* justify-content: center; */
		align-items: flex-start;
		transform: translateX(100%);
		z-index: 999;
		color: #000;
		transition: transform 0.3s ease;
	}
	.navbar_burger_back {
		position: fixed;
		top: 0.8rem;
		right: 1rem;
		cursor: pointer;
		color: #0b0b0b;
	}
	.navbar_burger_back1 {
		position: fixed;
		top: 0.8rem;
		cursor: pointer;
		color: #0b0b0b;
	}
	.main_menu a {
		position: relative;
		color: #0b0b0b;
		font-size: 1.5rem;
		margin-left: 1.5rem;
		/* margin-bottom: 1rem; */
		text-decoration: none;
	}
	.main_menu .main_submenu .main_submenu_ul {
		/*margin-bottom: 40px;*/
		margin-left: -23px;
		color: #0b0b0b;
	}
	.main_menu .main_submenu .main_submenu_ul li a {
		position: relative;
		/* padding: 10px 0; */
		margin-left: 50px;
		color: #0b0b0b;
		font-size: 1.3rem;
		font-weight: 200;
		text-align: left;
	}

	/*메인네비*/
	.mobile-topbar {
		position: fixed;
		width: 100%;
		left: 0;
		top: 0;
		z-index: 999;
		border: 1px solid rgba(0, 0, 0, 0.1);
		background: #ffffff;
		opacity: 1;
		/*text-align: center;*/
		padding-left: 20px;
		display: none !important;
		height: 65px;
		min-height: 65px;
	}
	
	.depth01 {
		display: inline-grid;
		position: relative;
		/* left: 220px; */
		top: -20px;
	}
	.depth01>a {
		display: block;
		/* position: fixed; */
		font-size: 1.2rem;
		height: 62px;
		line-height: 62px;
		padding: 0px 25px;
		text-align: center;
		color: #0b0b0b;
		font-weight: 800;
		letter-spacing: -0.8px;
		position: relative;
		text-decoration: none;
	}
	.clearfix {
		zoom: 1;
		margin: 0px;
		height: 62px;
		padding: 0px;
	}
	.web-topbar  .redent_logo img {
		height: 40px;
		margin-right: 50px;
	}
	.web-logo {
		position: relative;
		top: 7px;
		margin-right: 25px;
	}
	.drop-topbar {
		display: flex;
		margin: auto;
		height: 64px;
		align-items: center;
	}
	/*메인네비*/
	.web-topbar {
		position: fixed;
		width: 100%;
		left: 0;
		top: 0;
		z-index: 999;
		border: 1px solid rgba(0, 0, 0, 0.1);
		background: #ffffff;
		opacity: 1;
		height: 64px;
		display: none;
	}
	.navbar {
		overflow: hidden;
		display: flex;
		/*    font-weight: 550; */
		align-items: center;
	}
	.navbar a {
		float: left;
		font-size: 21px;
		text-align: center;
		padding: 0px 16px;
		text-decoration: none;
		color: #0b0b0b;
	}
	.dropdowna-menu {
		margin-left: 12px;
		display: flex;
		align-items: center;
		height: 64px;
		color: #0b0b0b;
	}
	.dropdown {
		float: left;
		overflow: hidden;
		margin-left: 12px;
		height: 100%;
		color: #0b0b0b;
	}
	.dropdown .dropbtn {
		font-size: 20.5px;
		font-weight: 100;
		border: none;
		outline: none;
		padding: 14px 16px;
		background-color: inherit;
		font-family: inherit;
		margin: 0;
		height: 64px;
	}
	.navbar a:hover {
		background-color: #CA0A0A;
	}
	.dropdown:hover .dropbtn {
		background-color: #CA0A0A;
		color: #ffffff;
	}
	.dropdowna-menu:hover {
		color: #ffffff;
	}
	.dropdown-content {
		display: none;
		position: absolute;
		background-color: #f9f9f9;
		min-width: 160px;
		box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
		z-index: 1;
		/*   font-weight: 550; */
	}
	.dropdown-content a {
		float: none;
		color: #0b0b0b;
		padding: 12px 16px;
		text-decoration: none;
		display: block;
		text-align: left;
	}
	.dropdown-content a:hover {
		background-color: #ddd;
	}
	.dropdown:hover .dropdown-content {
		display: block;
	}
}

/* Desktop Device */
@media all and (min-width:1024px) {
	/*  사용자 해상도가 1025px 이상일 때 이 코드가 실행됨. 1025px 이상의 랩탑 또는 데스크톱에 대응하는 코드를 작성한다.*/
	.depth01 {
		display: inline-grid;
		position: relative;
		/* left: 220px; */
		top: -20px;
	}
	.depth01>a {
		display: block;
		/* position: fixed; */
		font-size: 1.2rem;
		height: 62px;
		line-height: 62px;
		padding: 0px 25px;
		text-align: center;
		color: #0b0b0b;
		font-weight: 800;
		letter-spacing: -0.8px;
		position: relative;
		text-decoration: none;
	}
	.clearfix {
		zoom: 1;
		margin: 0px;
		height: 62px;
		padding: 0px;
	}
	.web-topbar  .redent_logo img {
		height: 40px;
		margin-right: 50px;
	}
	.web-logo {
		position: relative;
		top: 7px;
		margin-right: 25px;
	}
	.drop-topbar {
		display: flex;
		margin: auto;
		height: 64px;
		align-items: center;
	}
	/*메인네비*/
	.web-topbar {
		position: fixed;
		width: 100%;
		left: 0;
		top: 0;
		z-index: 999;
		border: 1px solid rgba(0, 0, 0, 0.1);
		background: #ffffff;
		opacity: 1;
		height: 64px;
		display: none;
	}
	.navbar {
		overflow: hidden;
		display: flex;
		/*    font-weight: 550; */
		align-items: center;
	}
	
	.navbar a {
		float: left;
		font-size: 21px;
		text-align: center;
		padding: 0px 16px;
		text-decoration: none;
		color: #0b0b0b;
	}
	.dropdowna-menu {
		margin-left: 12px;
		display: flex;
		align-items: center;
		height: 64px;
		color: #0b0b0b;
	}
	.dropdown {
		float: left;
		overflow: hidden;
		margin-left: 12px;
		height: 100%;
	}
	.dropdown .dropbtn {
		font-size: 20.5px;
		font-weight: 100;
		border: none;
		outline: none;
		padding: 14px 16px;
		background-color: inherit;
		font-family: inherit;
		margin: 0;
		height: 64px;
	}
	.navbar a:hover {
		background-color: #CA0A0A;
	}
	.dropdown:hover .dropbtn {
		background-color: #CA0A0A;
		color: #ffffff;
	}
	.dropdowna-menu:hover {
		color: #ffffff;
	}
	.dropdown-content {
		display: none;
		position: absolute;
		background-color: #f9f9f9;
		min-width: 160px;
		box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
		z-index: 1;
		/*   font-weight: 550; */
	}
	.dropdown-content a {
		float: none;
		color: #0b0b0b;
		padding: 12px 16px;
		text-decoration: none;
		display: block;
		text-align: left;
	}
	.dropdown-content a:hover {
		background-color: #ddd;
	}
	.dropdown:hover .dropdown-content {
		display: block;
	}
}

.main_menu .main_submenu .main_submenu_ul li {
	display: block;
}

.main_submenu {
	display: none;
}

.main_submenu.on {
	display: block;
}

.main_menu.active {
	transform: translateX(0);
}

.main_menu.active {
	opacity: 1;
	pointer-events: auto;
}

.navbar a:link {
	color: #0b0b0b;
	}