@media screen and (max-width: 1600px) {
  .main-button .login-text {
    top: 40px;
  }
  header .safety-size .logo h1 a {
    max-width: 200px;
  }
}
@media screen and (max-width: 1400px) {
  .main-button .login-button a {
    bottom: 55px;
  }
}
@media screen and (max-width: 769px) {
  header {
    background-size: auto;
  }
  header .safety-size .logo h1 {
    position: relative;
    top: auto;
    left: auto;
    margin: auto;
    padding-left: 15px;
  }
  header .safety-size .logo h1 a {
    max-width: 185px;
    display: flex;
    align-items: center;
    padding: 7px 0;
  }
  .banner {
    padding: 0;
  }
  .banner:before {
    display: none;
  }
  .banner::after {
    display: none;
  }
  .banner .banner-content .breadcrumb {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    border-radius: 0;
    margin-bottom: 0;
    width: 100%;
    max-width: none;
    padding: 10px 90px;
    display: flex;
    justify-content: center;
  }
  .banner .banner-content .breadcrumb::after {
    position: absolute;
    top: -1px;
    left: 0;
    content: "";
    background-image: url(../img/banner-border-B2.svg);
    background-size: contain;
    width: 70px;
    background-repeat: no-repeat;
    height: 50px;
  }
  .banner .banner-content .breadcrumb::before {
    position: absolute;
    top: -1px;
    right: 0;
    content: "";
    background-image: url(../img/banner-border-B1.svg);
    background-size: contain;
    width: 70px;
    background-repeat: no-repeat;
    height: 50px;
  }
  .banner .banner-content .page-title {
    width: 100%;
    text-align: center;
  }
  .banner .banner-content .page-title h2 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 7px #000d21;
    mix-blend-mode: hard-light;
  }
  .banner .banner-content .page-title p {
    font-size: 2rem;
    mix-blend-mode: hard-light;
  }
  .main-button {
    top: auto;
    padding: 0 15px 20px;
    margin: 20px auto 30px;
    width: auto;
    align-items: center;
  }
  .main-button ul {
    padding: 0;
    margin-bottom: 0;
    height: 100%;
    align-items: stretch;
  }
  .main-button ul li {
    margin-right: 8px;
  }
  .main-button ul li a {
    box-shadow: none;
    border-radius: 12px;
    border: 2px solid #ddd;
  }
  .main-button .login-button {
    width: 100%;
    max-width: 145px;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#3eaede+0,794c9c+100 */
    background: rgb(62, 174, 222); /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgb(62, 174, 222) 0%, rgb(121, 76, 156) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#3eaede", endColorstr="#794c9c",GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    border-radius: 12px;
    box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, 0.5);
    border: 2px solid #4a99d0;
  }
  .main-button .login-button a {
    position: relative;
    bottom: auto;
    right: auto;
    transform: none;
    box-shadow: none;
    display: block;
    width: 100%;
    height: 48px;
    line-height: 2.2;
    color: #fff;
    text-shadow: 2px 3px 4px rgba(0, 0, 0, 0.5);
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#1e5799+0,7db9e8+100&0+0,0+100 */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(30, 87, 153, 0) 0%, rgba(125, 185, 232, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#001e5799", endColorstr="#007db9e8",GradientType=1 ); /* IE6-9 */
  }
  .main-button .login-button a::before {
    display: none;
  }
  .main-button .login-button a::after {
    display: none;
  }
  .main-button .login-text {
    top: -57px;
    right: auto;
    left: 0;
    max-width: none;
    background-color: rgba(0, 0, 0, 0.4);
  }
  .main-button .login-text p {
    padding: 6px 90px;
    text-align: center;
    color: #fff;
    position: relative;
  }
  .main-button .login-text p::after {
    position: absolute;
    bottom: -5px;
    left: 0;
    content: "";
    background-image: url(../img/banner-border-B3.svg);
    background-size: contain;
    width: 70px;
    background-repeat: no-repeat;
    height: 50px;
  }
  .main-button .login-text p::before {
    position: absolute;
    bottom: -5px;
    right: 0;
    content: "";
    background-image: url(../img/banner-border-B4.svg);
    background-size: contain;
    width: 70px;
    background-repeat: no-repeat;
    height: 50px;
  }
  .box-excision55 {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .box-excision55 .excision-content {
    margin-bottom: 30px;
  }
  .box-excision55 .excision-content .carousel-fixed-height {
    height: 490px;
  }
  .light-box .box-medium {
    max-width: none;
    width: 90%;
  }
  .single {
    padding: 0 15px;
  }
  .single li .single-phase {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 12px;
    max-width: 135px;
  }
  .single li .single-phase .single-icon {
    margin: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
    max-width: none;
    text-align: center;
    padding: 10px 0;
  }
  .single li .single-phase .single-icon img {
    max-width: 50px;
  }
  .single li .single-phase .single-text {
    padding: 10px 0;
    text-align: center;
  }
  .single li .single-phase .single-text p {
    line-height: 2;
  }
  .libraryTab {
    max-width: 80%;
  }
  .monthly-calendar .ui-datepicker {
    width: 95%;
    margin: auto;
  }
  .index-title-1 {
    padding-left: 15px;
  }
  .chooseSeat {
    padding: 0 15px;
  }
  .tabTitle p {
    width: 235px;
  }
}
@media screen and (max-width: 430px) {
  .chooseSeat .chooseSeat-text .chooseSeat-function {
    display: none;
  }
  .chooseSeat .chooseSeat-text .chooseSeat-text-caption span {
    display: none;
  }
  .chooseSeat .chooseSeat-text .chooseSeat-text-caption div {
    display: none;
  }
  .chooseSeat .chooseSeat-text .chooseSeat-text-caption p {
    font-size: 1.1rem;
  }
  .chooseSeat .chooseSeat-text .chooseSeat-text-caption p span {
    display: inline-block;
    font-size: 1.1rem;
  }
  .chooseSeat .chooseSeat-box .chooseSeat-content-box {
    display: none;
  }
  .chooseSeat .chooseSeat-box .chooseSeat-time {
    margin-right: 0;
    border-right: none;
    max-width: none;
  }
  .chooseSeat .chooseSeat-box .chooseSeat-time .time-list-box {
    display: none;
  }
  .chooseSeat .chooseSeat-box .chooseSeat-time .chooseSeat-title-rwd {
    display: block;
    padding: 0;
    width: 100%;
  }
  .chooseSeat .chooseSeat-box .chooseSeat-time .chooseSeat-title-rwd li {
    padding: 25px 30px;
    background-color: #fff;
    box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px #ababab;
    border: 5px solid #e1e1e1;
    border-radius: 35px;
    width: 100%;
    margin-top: 25px;
  }
  .chooseSeat .chooseSeat-box .chooseSeat-time .chooseSeat-title-rwd li:first-child {
    margin-top: 10px;
  }
  .chooseSeat .chooseSeat-box .chooseSeat-time .chooseSeat-title-rwd li p {
    font-size: 1rem;
    font-weight: bold;
  }
  .chooseSeat .chooseSeat-box .chooseSeat-time .chooseSeat-title-rwd li .title-rwd-content {
    padding: 5px;
    padding-right: 15px;
    background-color: #059986;
    margin-top: 7px;
    border-radius: 15px;
    border: 5px solid #53c8ba;
    box-shadow: inset 0px 3px 7px rgba(0, 0, 0, 0.3);
  }
  .chooseSeat .chooseSeat-box .chooseSeat-time .chooseSeat-title-rwd li .title-rwd-content select {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    width: 100%;
    padding: 10px;
    color: #fff;
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.5);
    font-weight: bold;
  }
  .chooseSeat .chooseSeat-box .chooseSeat-time .chooseSeat-title-rwd li .title-rwd-content select option {
    background-color: #007162;
  }
  header .safety-size .header-menu {
    display: none;
  }
  header .safety-size .hamburger-box {
    display: block;
  }
  .banner .banner-content .breadcrumb {
    display: none;
  }
  .banner .banner-content .page-title {
    top: 40px;
  }
  .banner .banner-content .page-title h2 {
    font-size: 1.8rem;
  }
  .banner .banner-content .page-title p {
    font-size: 1.5rem;
  }
  .main-button {
    margin: 0;
    padding: 5px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
  }
  .main-button ul {
    display: none;
  }
  .main-button .login-button {
    display: none;
  }
  .main-button .login-text {
    position: relative;
    top: auto;
    left: auto;
    background-color: rgba(0, 0, 0, 0);
  }
  .main-button .login-text P {
    color: #000d21;
  }
  .main-button .login-text P::before {
    display: none;
  }
  .main-button .login-text P::after {
    display: none;
  }
  .light-box .light-box-content {
    padding: 10px 15px;
  }
  .light-box .light-box-content h3 {
    font-size: 1.2rem;
  }
  .light-box .light-box-content .notice-title {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .light-box .light-box-content .notice-title .notice-title-1 {
    max-width: none;
    margin-bottom: 5px;
  }
  .single li .single-phase {
    max-width: 85px;
  }
  .single li .single-phase .single-icon {
    display: none;
  }
  .single li .single-phase .single-text span {
    font-size: 0.9rem;
  }
  .single li .single-phase .single-text p {
    display: none;
  }
  .libraryTab {
    max-width: none;
  }
  .index-title-1 {
    padding-right: 3rem;
  }
  .index-title-1 .title-message .title-1-text p {
    font-size: 1.3rem;
  }
  .index-title-1 .title-message .title-1-text .title-1-icon span::after {
    bottom: -11px;
  }
  .index-title-1 .title-message .title-img {
    margin-left: 15px;
  }
  .index-title-2 {
    padding-right: 3rem;
  }
  .index-title-2 .title-message .title-1-text p {
    font-size: 1.3rem;
  }
  .index-title-2 .title-message .title-1-text .title-1-icon span::after {
    bottom: -11px;
  }
  .index-title-2 .title-message .title-img {
    margin-left: 15px;
  }
  .norm-control {
    padding: 15px;
  }
  .norm-control ul {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 20px;
  }
  .norm-control ul .norm-select {
    margin-right: 0;
    padding-right: 0;
    border: none;
  }
  .norm-control ul .norm-select div select {
    padding: 2px;
  }
  .norm-control ul .norm-checkbox {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #ddd;
    text-align: center;
  }
  .norm-content .norm-banner {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .norm-content .norm-banner .norm-banner-box {
    width: 100%;
    margin-bottom: 10px;
  }
  .norm-content .norm-banner .norm-banner-text {
    width: 100%;
    margin: 0;
  }
  .norm-content {
    width: calc(100% - 30px);
    margin: auto;
  }
  .monthly-calendar .ui-datepicker td span, .monthly-calendar .ui-datepicker td a {
    padding: 5px 0;
  }
  .data-table {
    height: 44vh;
    overflow: auto;
    padding: 0 15px;
    margin-top: 15px;
  }
  .data-table#resvCancel {
    height: 26vh;
  }
  .data-table table thead {
    display: none;
  }
  .data-table table tbody tr {
    border-bottom: 2px solid #3d549d;
  }
  .data-table table tbody tr td {
    display: block;
    padding: 0;
  }
  .data-table table tbody tr td span {
    display: block;
    width: 100%;
    background-color: #5d5d5d;
    padding: 5px;
    color: #fff;
  }
  .data-table table tbody tr td .lightBox-rwd-p {
    padding: 15px 0;
    background-color: #efefef;
  }
  .state-box .state-content .state-icon {
    max-width: 40px;
    align-items: flex-start;
    padding-top: 0.5rem;
  }
  .state-box .state-content ul {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .state-box .state-content ul li:first-child {
    max-width: none;
    border: none;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
  }
  .index-title {
    display: block;
  }
  .index-title .choose-library {
    border-top: 1px solid #ddd;
    padding: 15px 0;
    margin-top: 5px;
    display: block;
  }
  .index-title .choose-library label {
    margin-top: 10px;
  }
  .index-title .choose-library label:first-child {
    padding: 0;
    margin: 0;
    border: none;
  }
  .userData li {
    display: block;
  }
  .userData li div {
    margin: 8px auto;
  }
  .tabTitle {
    display: block;
  }
  .tabTitle p {
    width: 100%;
    text-align: center;
    margin: 15px auto 5px;
  }
  .tabTitle ul li:last-child {
    margin: 0;
  }
  .tabTitle ul li .tabTitleButton {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 20px;
    padding: 15px;
  }
  .tabTitle ul li .tabTitleButton div {
    max-width: none;
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
    text-align: center;
    margin-bottom: 5px;
  }
  .tabTitle ul li .tabTitleButton div img {
    max-width: 30px;
  }
  .tabContent .tabContentPage .pageSearch {
    flex-direction: row;
    flex-wrap: wrap;
    width: 90%;
    margin: auto;
  }
  .tabContent .tabContentPage .pageSearch li {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    margin-bottom: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .tabContent .tabContentPage .pageSearch li span {
    padding: 0;
    padding-left: 10px;
    margin-bottom: 10px;
    font-weight: bold;
  }
  .tabContent .tabContentPage .pageSearch li .dayInput {
    width: 100%;
  }
  .tabContent .tabContentPage .pageSearch li .dayInput span {
    padding: 4px 0;
    margin: 0;
  }
  .tabContent .tabContentPage .pageSearch li select {
    padding: 10px;
  }
  .tabContent .tabContentPage .pageSearch li input {
    padding: 10px;
  }
  .tabContent .tabContentPage .pageSearch li:last-child {
    padding: 0;
    margin: auto;
  }
  .tabContent .tabContentPage .pageSearch li:last-child a {
    padding: 10px;
  }
  .pageTable table thead {
    display: none;
  }
  .pageTable table tbody {
    display: block;
  }
  .pageTable table tbody tr {
    display: block;
    padding-bottom: 10px;
    margin-bottom: 15px;
  }
  .pageTable table tbody tr td {
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: stretch;
    padding: 0;
    margin-bottom: 5px;
  }
  .pageTable table tbody tr td:nth-child(even) {
    background-color: rgba(0, 0, 0, 0);
  }
  .pageTable table tbody tr td span {
    display: flex;
    width: 100%;
    max-width: 145px;
    align-items: center;
    padding: 7px 15px;
    color: #fff;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#038f86+0,1a4f8d+100 */
    background: rgb(3, 143, 134); /* Old browsers */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgb(3, 143, 134) 0%, rgb(26, 79, 141) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#038f86", endColorstr="#1a4f8d",GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    border-radius: 12px 0 0 12px;
  }
  .pageTable table tbody tr td div {
    display: flex;
    width: 100%;
    align-items: center;
    background-color: #f9f9f9;
    padding: 0 15px;
    border-radius: 0 12px 12px 0;
    border: 1px solid #ddd;
  }
  .userPassword {
    width: calc(100% - 30px);
  }
  .userPassword .userPasswordTitle {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .userPassword .userPasswordTitle h3 {
    margin-bottom: 10px;
  }
  .userPassword .userPasswordContent li span {
    width: 55px;
  }
}
@media screen and (max-width: 321px) {
  .single li .single-phase {
    max-width: 68px;
    padding: 5px;
    box-shadow: none;
    border-radius: 18px;
  }
  .single li .single-phase .single-text {
    padding: 0;
  }
  .single .singleFocus .single-phase {
    box-shadow: none;
  }
  .single .singleFocus .single-phase:hover {
    box-shadow: none;
  }
  .monthly-calendar .ui-datepicker td span, .monthly-calendar .ui-datepicker td a {
    padding: 0;
  }
}