/* 모바일용 CSS */
/* 기본 CSS */
#wrap {
  display: flex;
  flex-flow: column nowrap;
  width: 80%;
  margin: 0 auto;
  max-width: 1200px;
}

#wrap section {
  box-sizing: border-box;
}

/* Information clock part */
.info_clock {
  order: 1;
  width: 100%;
  padding: 10px 0;
  padding: 0.625rem 0;
  background: #3caeff;
  border-bottom: 1px solid #289aff;
  text-align: center;
}

#clock {
  font-size: 20px;
  font-size: 1.25rem;
}

/* Header part */
.header {
  display: flex;
  order: 2;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.logo {
  order: 1;
  width: 100%;
  padding: 10px 0;
  padding: 0.625rem 0;
  text-align: center;
  background: #3caeff;
}

.logo img {
  width: 82px;
  width: 5.125rem;
  height: 82px;
  height: 5.125rem;
}

.nav {
  order: 2;
  width: 100%;
}

.navbar {
  display: none;
}

.navbar li {
  display: flex;
  background: #2c3e50;
}

.navbar li a {
  width: 80%;
  padding: 20px 0;
  padding: 1.25rem 0;
  font-size: 0.938em;
  font-size: 0.938rem;
  text-indent: 20px;
  text-indent: 1.25rem;
  font-weight: bold;
  text-transform: uppercase;
}

.navbar li a:hover {
  color: orange;
}

.menu_toggle_btn {
  display: block;
  width: 30px;
  width: 1.875rem;
  height: 30px;
  height: 1.875rem;
  position: absolute;
  top: 10px;
  top: 0.625rem;
  right: 10px;
  right: 0.625rem;
  text-indent: -9999px;
  background: url(../img/menu_toggle_btn.png) no-repeat;
  cursor: pointer;
}

.menu_toggle_btn:hover {
  background: url(../img/menu_toggle_hover.png) no-repeat;
}

/* Slide part */
.slide-section {
  box-sizing: border-box;
  position: relative;
  margin: auto;
  display: flex;
  order: 3;
  width: 100%;
  overflow: hidden;
}

.slide-section img {
  max-width: 100%;
}

.mySlides {
  display: none;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* schedule part */
.schedule {
  order: 7;
  padding: 40px 12.5%;
  padding: 2.5rem 12.5%;
  background: #506ea5;
  text-shadow: 0px 1px 1px #3c467d;
}

.fastcall {
  margin-bottom: 30px;
  margin-bottom: 1.875rem;
  font-size: 1.188em;
  font-size: 1.188rem;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}

.fastlist {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.fastlist li {
  width: 47.916666666666666666666666666667%;
  margin-top: 15px;
  margin-top: 0.938rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}

.fastlist li:first-child,
.fastlist li:nth-child(2) {
  margin-top: 0;
}

.fastlist li:hover {
  cursor: pointer;
}

.fastlist li a {
  display: block;
  padding: 10px 0;
  padding: 0.625rem 0;
  border: 1px solid #fff;
  border-radius: 5px;
}

.fastlist li a:hover {
  color: yellow;
}

/* number_form part, quick_form part */
.number_form {
  order: 4;
  background: #5abef5;
  text-shadow: 0px 1px 1px #3296d7;
}

.quick_form {
  order: 5;
  background: #8c8cff;
  text-shadow: 0px 1px 1px #6e6eff;
}

.number_form,
.quick_form {
  padding: 40px 12.5%;
  padding: 2.5rem 12.5%;
}

.title { /*마진바텀 필요시 줄이기*/
  margin-bottom: 30px;
  margin-bottom: 1.875rem;
  font-size: 1.188em;
  font-size: 1.188rem;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}

.quick_form li {
  margin-top: 15px;
  margin-top: 0.938rem;
  padding-left: 14px;
  padding-left: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
  background: url(../img/post_circle_icon.png) left center no-repeat;
}

.quick_form li a:hover {
  color: black;
}

.quick_form li:first-child {
  margin-top: 0;
}

/*number_form 2nd part start*/
.output_wrap {
  text-align: center;
}

#yangsik {
  margin-bottom: 10px;
  margin-bottom: 0.625rem;
  padding: 10px 30px 10px 30px;
  padding: 0.625rem 1.875rem 0.625rem 1.875rem;
  text-align: center;
  font-size: 1em;
  font-size: 1rem;
  font-weight: bold;
  border: none;
}

#all_yangsik{
  padding: 10px 0 10px 0;
  padding: 0.625rem 0 0.625rem 0;
  font-size: 1em;
  font-size: 1rem;
  font-weight: bold;
}

#all_yangsik li{
  display: none;
  line-height: 1.4;
}

input::placeholder {
  opacity: 0.7;
}

/*number_form 2nd part end*/


/* memo part & patch part */
.banner_section {
  order: 8;
}

.banner_box_1 {
  background: #37c3c3;
}

.banner_box_1 a,
.banner_box_2 a {
  display: block;
  padding: 10px 0;
  padding: 0.625rem 0;
  text-align: center;
}

.banner_box_2 {
  background: #0a9696;
}

/* convenient part */
.convenient_section {
  order: 9;
  padding: 24px 12.5%;
  padding: 1.5rem 12.5%;
  background: #ffe650;
}

.convenient_list {
  display: flex;
  justify-content: space-between;
}

/* footer part */
.footer {
  order: 10;
  width: 100%;
  background: #505050;
}

.footer p {
  padding: 20px;
  padding: 1.25rem;
  font-size: 0.813em;
  font-size: 0.813rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
  text-shadow: 0px 1px 1px #191919;
}

#hidden:hover {
  color: lightskyblue;
  cursor: pointer;
}

strong {
  color: #ff0000;
  text-transform: none;
}

.modal {
  display: none;
  position: fixed;
  z-index: 99999; 
  padding-top: 200px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal_Content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#modal_Style {
  font-size: 0.87em;
  font-size: 0.87rem;
  font-weight: bold; 
  line-height: 1.5;
}

/* 태블릿용 CSS */
@media all and (min-width: 768px) {
  /* 기본 CSS */
  #wrap {
    flex-flow: row wrap;
  }

  /* Header part */
  .header {
    flex-direction: row;
  }

  .logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 15.625%;
    padding: 0;
  }

  .logo a {
    display: block;
    padding: 35px 0;
    padding: 2.188rem 0;
  }

  .nav {
    position: relative;
    min-height: 80px;
    min-height: 5rem;
    background: #3caeff;
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 20;
    width: 40.10416666666667%;
  }

  .menu_toggle_btn {
    top: 50%;
    right: 30px;
    right: 1.875rem;
    z-index: 20;
    margin-top: -15px;
    margin-top: -0.938rem;
  }

  /* Slide part */
  .slider_section {
    width: 59.89583333333333%;
    height: auto;
  }

  /* schedule part */
  .schedule {
    order: 4;
    width: 40.10416666666667%;
    padding-left: 5.208333333333333333333333333333%;
    padding-right: 5.208333333333333333333333333333%;
  }

  /* number_form part, quick_form part */
  .number_form {
    order: 7;
  }

  .quick_form {
    order: 8;
  }

  .number_form,
  .quick_form {
    width: 50%;
    padding-left: 5.208333333333333333333333333333%;
    padding-right: 5.208333333333333333333333333333%;
  }

  /* schedule part */
  .schedule {
    order: 4;
    width: 39.97395833333333%;
    padding-left: 5.20833333333333%;
    padding-right: 5.20833333333333%;
  }

  /* memo part & patch part */
  .banner_section {
    display: flex;
    order: 5;
    flex-direction: column;
    width: 39.97395833333333%;
  }

  .banner_section div {
    flex: 1 1 0;
  }

  .banner_box_1,
  .banner_box_2 {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .banner_box_1 a,
  .banner_box_2 a {
    display: inline;
    padding: 0;
  }

  /* convenient part */
  .convenient_section {
    display: flex;
    order: 6;
    justify-content: center;
    align-items: center;
    width: 20.05208333333333%;
    padding: 0;
  }

  .convenient_list {
    flex-direction: column;
    justify-content: flex-start;
  }

  .convenient_list li:nth-child(2) {
    margin: 24px 0;
    margin: 1.5rem 0;
  }

  /* footer part */
  .footer p {
    padding: 40px 0;
    padding: 2.5rem 0;
  }

  .modal_Content {
    width: 60%; 
  }

  #modal_Style {
    font-size: 1em;
    font-size: 1rem;
  }
}

/* PC용 CSS */
@media all and (min-width: 1200px) {
  /* 기본 CSS */
  #wrap {
    position: relative;
    width: 98%;
  }

  /* Information clock part */
  .info_clock {
    order: 0;
    position: absolute;
    top: 9px;
    top: 0.563rem;
    right: 30px;
    right: 1.875rem;
    z-index: 30;
    width: 14%;
    border-bottom: 0;
    line-height: normal;
  }

  #clock {
    font-size: 18px;
    font-size: 1.125rem;
    color: white;
    font-weight: bold;
  }

  /* Header part */
  .header {
    order: 1;
    justify-content: flex-end;
    position: static;
  }

  .logo {
    width: 12.5%;
  }

  .nav {
    display: flex;
    align-items: center;
    position: static;
    width: 87.5%;
  }

  .navbar {
    display: flex !important;
    flex-direction: row;
    position: static;
    width: 78%;
    text-shadow: 0px 1px 1px #32a4ff;
  }

  .navbar li {
    display: block;
    margin-left: 5.20833333333333%;
    background: none;
  }

  .navbar li a {
    width: auto;
    padding: 0;
    text-indent: 0;
  }

  .navbar li a:hover {
    color: black;
  }

  .navbar li span {
    display: none;
  }

  .menu_toggle_btn {
    display: none;
  }

  /* Slide part */
  .slide-section {
    order: 2;
    width: 75%;
  }

  /* number_form part, quick_form part */
  .number_form {
    order: 4;
  }

  .quick_form {
    order: 5;
  }

  .number_form,
  .quick_form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    padding-left: 0;
    padding-right: 0;
  }

  /* schedule part */
  .schedule {
    order: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25%;
    padding: 0;
    padding-bottom: 100px;
    padding-bottom: 6.25rem;
  }

  .fastlist {
    display: block;
  }

  .fastlist li {
    width: auto;
    text-align: left;
    counter-increment: rankup-counter;
  }

  .fastlist li:nth-child(2) {
    margin-top: 15px;
    margin-top: 0.938rem;
  }

  .fastlist li:before {
    padding-right: 6px;
    padding-right: 0.375rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
    text-shadow: 0px 1px 1px #428e9e;
    content: counter(rankup-counter) ".";
  }

  .fastlist li a {
    display: inline;
    padding: 0;
    border: 0;
  }

  /* memo part & patch part */
  .banner_section {
    order: 7;
    width: 22.91666666666667%;
  }

  /* convenient part */
  .convenient_section {
    order: 8;
    width: 17.08333333333333%;
  }

  /* footer part */
  .footer {
    order: 9;
  }

  .footer p {
    padding-left: 3.125%;
    text-align: left;
  }

  .modal_Content {
    width: 38%;
  }
}