@charset "UTF-8";

#header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    min-width: 1200px;
    z-index: 1400; 

    border: 1px solid var(--color-gray);
    background: white;
    
    will-change: transform;
    transform: translateY(0);
    transition: all .2s;
}

#menu-back-layer {
    display: none;
}
#topnav {
    width: 100%;
    min-width: 1200px;
    height: 40px;
    z-index: 500;

    border-bottom: 1px solid var(--color-gray);
    overflow: hidden;
    
    will-change: transform;
    transform: translateY(0);
    transition: all .2s;
    
}

#header > .container {
    height: 59px;

    background-color: white;
    
    transition: all .5s;
    overflow: hidden;

    position: relative;
}

#header > .container.demo .logo a img.img-logo {
  max-width: 100%;
  max-height: 30px;
}

#header.hide {
    transform: translateY(-42px);
}

#topnav > .container {
    height: 100%;
    background: white;
}

#topnav > .container > .member {
    height: 100%;
    display: flex;
    flex-direction: row-reverse;
    
}
 
#topnav > .container > .member > li {
    font-weight: 500;
    font-size: 13px;
    display: inline;
    line-height: 40px;
}

#topnav .member li a {
    display: inline-block;
    color: #337ab7;
    height: 100%;
    cursor: pointer;
    padding: 0 10px;
    font-weight: bold;
}

#topnav .member li a:hover {
    background: #f5f5f5;
}

#topnav .member li a.btn-logout {
    width: 38px;
    height: 38px;
    padding: 3px;
}

#topnav .member li a#header_name {
    cursor: unset;
    background: white;
}


#header .logo {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0px;
    height: 60px;

}

#header .logo a {
  display: flex;
  align-items: center;
  height: 100%;
}

#header .logo a .img-logo {
  max-height: 44px;
  max-width: 120px;
  height: 100%;
}

.menu {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

.menu > .out_menu_ul {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu > .out_menu_ul > li {
    position: relative;
    height: 60px;
}
.menu > .out_menu_ul > li:hover > a {
    background-color: #f5f5f5;
    font-weight: bold;
}

.menu > .out_menu_ul > li:last-child a {
    border-right: 0;
}

.menu > .out_menu_ul > li > a {
	padding: 0 24px;
  color: var(--color-black);
  font-size: 14px;
  font-weight: bold;
  font-weight: bold; 
  line-height: 20px;
  height: 60px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  justify-content: center;
}

.menu > .out_menu_ul > li > a::after {
    content: '|';
    color: rgba(0, 0, 0, 0.268);
    position: absolute;
    right: 0;
}

.menu > .out_menu_ul > li > ul a {
  height: 18px;
    display: block;
    color: var(--color-black);
    font-size: 13px; 
    text-align: left;
    padding-left: 10px;
    padding: 5px 0 5px 12px;
}

.menu > .out_menu_ul > li > ul a:hover {
    background-color: #f5f5f5;
    font-weight: bold;
}

.menu > .out_menu_ul > li > ul > li:last-child {
    margin-bottom: 0;
}

.hover-prevent {
  /* pointer-events: none; */
  opacity: 0.3;
}

.wrap-menu-switch {
  display: flex;
  align-items: center;
  padding: 0 .5rem;
}

.wrap-menu-switch > span {
  font-size: 1rem;
  font-weight: bold;
}

.wrap-menu-switch > input[type=checkbox]{
	height: 0;
	width: 0;
	visibility: hidden;
}

.wrap-menu-switch > label { 
	cursor: pointer;
	text-indent: -9999px;
	width: 30px;
	height: 15px;
	background: lightgrey;
	display: block;
	border-radius: 15px;
	position: relative;
  border: 1px solid lightgray;
}

.wrap-menu-switch > label:after {
	content: '';
	position: absolute;
	top: 1px;
	left: 1px;
	width: 11px;
	height: 11px;
	background: #fff;
  border: 1px solid transparent;
	border-radius: 11px;
	transition: 0.3s;
  -webkit-box-shadow: 1px 1px 3px 0px rgb(54 54 54 / 40%); 
  box-shadow: 1px 1px 3px 0px rgb(54 54 54 / 40%);
}

.wrap-menu-switch > input:checked + label {
	background: #bccfdf;
  border: 1px solid transparent;
}

.wrap-menu-switch input:checked + label:after {
  left: calc(100% - 2px);
	transform: translateX(-100%);
  border: 1px solid transparent;
  background: #337ab7;
}

.wrap-menu-switch > label:active:after {
	width: 16px;
}


.side-menu {
    position: fixed;
    top: 50%;
    right: -1px;
    background: white;
    z-index: 100;
    transform: translateY(-50%);
}
.side-menu--list {
    border: 1px solid var(--color-gray);
}
.side-menu--item {
    border-bottom: 1px solid var(--color-gray);
}
.side-menu--item:last-child {
    border-bottom: none;
}
.side-menu--item > a {
    display: flex;
    color: var(--color-black) !important;
    position: relative;
    padding: 10px;
}
.side-menu--item > a > span {
    position: absolute;
    top: 50%;
    right: 115%;
    transform: translateY(-50%);

    width: 100px;
    text-align: center;
    padding: 6px 2px;
    background: #3e3e3ec4;
    color: var(--color-white);
    border-radius: 5px;
    font-weight: 200;
    font-size: 11.5px;
    transition: all .5s;

    display: none;
}
.side-menu--item > a:hover span {
    display: inline-block;

}
.side-menu--item > a > i {
    font-size: 18px;
    color: var(--color-black);
}
.side-menu--item > a > img {
    width: 32px;
    height: 32px;
    /* border: 1px solid red; */
}


/* mobile menu btn */ 
.btn-mobile-menu {
    display: none;

}
div#popupContainerjoin {
    height: 100%;
}

div#popupContainerjoin #popupLogo {
    margin: 26px 0;
}

/* login poopup */
#popupContainerMyPage {
  position: relative;

}
#popupLogo {
  border: 1px solid #eee;
  width: 120px;
  height: 150px;
  margin: 10px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#imgPhoto {
  width: auto;
  height: 100%;
  max-height: 150px;
}
.photo-notice {
  position: absolute;
  top: 150px;
  right: 0;
  font-size: 8px;
  color: var(--color-gray);
}

/* jquery resizable element style */
div.ui-resizable-e {
  width: 10px;
}
div.ui-resizable-s {
  bottom: -16px;
  height: 10px;
}
div.ui-resizable-e:before {
  width: 8px;
  height: 100px;
  max-height: 50%;
  top: 50%;
  left: 0;
  transform: translateY(-55%);
}
div.ui-resizable-s:before {
  width: 100px;
  height: 10px;
  left: 50%;
  transform: translateX(-50%);
}
div.ui-resizable-s:before,
div.ui-resizable-e:before {
  content: '';
  transition: all .2s;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  background: rgba(15, 15, 15, 0.6);
  position: absolute;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  opacity: .6;
  transition: all .2s;
}
div.ui-resizable-e:hover::before,
div.ui-resizable-s:hover::before {
  opacity: 1;
}

@media all and (min-width: 1200px) {
    /* #header > .container.wide-height {
        height: 424px;
    } */
    #header .menu > ul > li:last-child > a::after {
        display: none;
    }
    #header .menu > ul > li > ul {
        width: 100%;
    }
    .m-menu {
        display: none;
    }
}

@media all and (max-width: 1199px) {
    /* top nav */
    nav#topnav {
        min-width: 100%;
    }
    nav#topnav > div.container {
        min-width: 100% !important;
    }
    /* header  */
    header#header {
        min-width: 100%;
        box-sizing: border-box;
        overflow: visible;
    }
    header#header > .container {
        width: 100%;
        height: 60px;
        min-width: 100% !important;

        display: flex;
        justify-content: space-between;
        align-items: center;

        position: relative;

        padding: 0 16px;
        box-sizing: border-box;
        transition: all .2s;
        overflow: visible;
    }
    
    header#header > .container > .logo {
        float: none;
        height: 100%;
        left: 16px;
        position: absolute;
    }
    header#header > .container > .logo a {
        display: inline-block;
        height: 100%;
        cursor: pointer;
    }
    
    .menu {
        display: none;
    }

    .btn-mobile-menu {
        display: inline-block;
        width: 34px;
        height: 25px;
        padding: 0;

        border: none;
        background: transparent;

        cursor: pointer;
        transition: all .2s;

        position: absolute;
        right: 16px;

    }
    .btn-mobile-menu span {
        width: 34px;
        height: 2px;
        background-color: var(--color-black);

        position: absolute;
        top: 0;
        left: 0;

        transition: all .2s;
    }
    
    .btn-mobile-menu span:nth-of-type(2) {
        top: 11.5px;
    }

    .btn-mobile-menu span:nth-of-type(3) {
        top: 23px;
    }

    .btn-mobile-menu.menu-active span:nth-of-type(1) {
        transform: rotate(45deg);
        top: 11.5px;
    }
    .btn-mobile-menu.menu-active span:nth-of-type(3) {
        transform: rotate(-45deg);
        top: 11.5px;
    }
    .btn-mobile-menu.menu-active span:nth-of-type(2) {
        opacity: 0;
    }

    header#header > .container > .m-menu {
        display: block;
        width: 0;
        height: calc(100vh - 62px);
        position: absolute;
        top: 60px;
        right: -2px;
        background: white;
        overflow: scroll;
        transition: all .5s;
        border-top: 1px solid var(--color-gray);
        border-left: 1px solid var(--color-gray);
        

        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }


    .m-menu::-webkit-scrollbar { 
        display: none; /* Chrome, Safari, Opera*/
    }
    header#header > .container > .m-menu.m-menu-active {
        /* max-width: 400px; */
        width: 60vw;
    }
    ul.m_out_menu_ul {
        display: block;
        height: 100%;
    }
    ul.m_out_menu_ul > li {
        width: 100%;
        box-sizing: border-box;
        position: relative;
        overflow: hidden;
        transition: all .5s;
        height: 60px;
    }
    ul.m_out_menu_ul > li > a.btn-accor {
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        width: 100%;
        height: 60px;
        padding: 0 20px;
        color: var(--color-black);
    }
    ul.m_out_menu_ul > li > a.btn-accor:hover {
        color: #d82b27;
        cursor: pointer;
        font-weight: 500;
    }
    ul.m_out_menu_ul > li.accordion-active {
        background: pink;
        /* height: auto; */
    }
    ul.m_out_menu_ul > li > a.btn-accor > .icon-accordion {
        background: url(/static/images/ic_plus.png);
        width: 9px;
        height: 9px;
        border: none;
        display: inline-block;
        background-repeat: no-repeat;
        background-size: 9px;
        background-position: center;
        cursor: pointer;
        transition: all .4s;
    }
    ul.m_out_menu_ul > li > a.btn-accor > .icon-accordion.open {
        background: url(/static/images/ic_arrow.png);

    }

    ul.m_out_menu_ul > li > a.btn-accor::after {
        display: inline-block;
        content: '';
        border: 1px solid var(--color-gray);
        width: 100%;
        position: absolute;
        bottom: -1px;
        left: 50%;
        transform: translateX(-50%);
    }
    ul.sub-menu {
        padding: 10px 20px;
        background: #f5f5f5;
        box-sizing: border-box;
    }
    ul.m_out_menu_ul > li > ul.sub-menu > li {
        /* margin-bottom: 20px; */
        line-height: 2.5;
    }
    ul.m_out_menu_ul > li > ul.sub-menu > li > a {
        text-align: left;
        color: #8c8380;
        display: inline-block;
        width: 100%;
    }
    ul.m_out_menu_ul > li > ul.sub-menu > li > a:hover {
        font-weight: 500;
        color: #d82b27;
    }
    nav.side-menu {
        display: none;
    }
    #menu-back-layer {
        display: block;
        background: #0000001f;
        width: 100%;
        height: 100%;

        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;

        z-index: 1000;

        transition: all .2s;
        opacity: 1;
    }
    #menu-back-layer.clicked {
        opacity: 0;
        z-index: -100;
    }
}