@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);
@import url(//fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200;400;700&display=swap);

/* Common */
* {
  font-family: Verdana, 'Noto Sans TC', '微軟正黑體', sans-serif;
}

body {
  background-image: repeating-radial-gradient( circle at 0 0, transparent 0, #ffffff 225px ), repeating-linear-gradient( #fff, #f7f7f7, #fff );
}

.blue.column, .ui.product.blue.container > .gs_header {
  background-color: #2185d0;
}

.logo > .blue.name,
body[data-page="main"] .contact > .row > .computer.only.column > .ui.secondary.blue.menu > .item {
  color: #2185d0;
}

/* Fixes */
.ml_1em {
  margin-left: .85rem;
}

.ui.labeled.icon.button > .whatsapp.large.icon {
  width: 1.72em;
  padding: 0.1rem;
}

/* Desktop */
@media only screen and (min-width: 992px) {
  .contact {
    height: 7.5em;
  }
  .contact > .row > [class*="whatsapp"].column {
    text-align: left!important;
  }
}

/* Header */
.ui.top.fixed.menu {
  padding: .35rem 1rem .5rem;
  display: block;
}

.ui.top.fixed.blue.menu {
  border-bottom: 3px #2185d0 solid;
}

.logo {
  margin: .75rem 1rem 0;
}

.logo > .icon {
  float: left;
}

.logo > .name {
  font-size: 1.08em;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.2;
  padding: .88rem 1rem .88rem .5rem;
  float: left;
}

.logo > .name > .chinese {
  font-size: 1.02em;
}

.logo > .name > .english {
  font-size: 1.42em;
  letter-spacing: 0;
}

.logo > .name > .english.back {
  font-weight: normal;
  font-style: italic;
  opacity: 0.8;
}

/* Body */
.contact {
  color: rgba(17, 34, 51, .9);
  font-size: .92em;
  font-weight: 500;
  letter-spacing: 1px;
  width: calc(100vw - 275px);
  display: inline-block!important;
}

.contact > .row {
  padding: 1.15rem 0 0.75rem 0.5em!important;
}

.contact b {
  letter-spacing: 0;
}

.contact span {
  color: rgba(17, 34, 51, .8);
  font-weight: bold;
  letter-spacing: 0;
}

body:not([data-page="main"]) .contact > .row > .computer.only.column {
  text-align: right!important;
}

body[data-page="main"] .contact > .row > .computer.only.column {
  margin-top: 0.33rem;
}

body[data-page="main"] .contact > .row > .computer.only.column .fb {
  float: right;
}

body[data-page="main"] .contact > .row > .computer.only.column > .ui.divider {
  margin-top: .5rem;
  margin-bottom: 0;
}

body[data-page="main"] .contact > .row > .computer.only.column > .ui.secondary.menu > .item {
  font-size: .95em;
  font-weight: 600;
  letter-spacing: 1px;
}

body[data-page="main"] .contact > .row > .computer.only.column > .ui.secondary.menu > .item:hover {
  color: #111;
}

.contact > .row > .mobile.only.column {
  text-align: right!important;
  margin-top: .5rem;
}

.contact > .row > [class*="whatsapp"].column {
  text-align: center!important;
  letter-spacing: 0;
}

body[data-page="main"] .gs_search {
  background: linear-gradient(192deg, rgba(238, 178, 27, 1) 0%, rgba(238, 178, 27, 1) 25%, rgba(238, 178, 27, 0) 70%);
  min-height: 560px;
  padding: 1.5rem 2rem!important;
}

body[data-page="main"] .gs_search h3,
body[data-page="main"] .gs_category h4 {
  color: rgba(70, 40, 10, .5);
}

body[data-page="main"] .gs_search h3 {
  margin-top: .5em;
}

body[data-page="main"] .gs_category h4 {
  margin: .55em .5em .45em .1em;
}

body[data-page="main"] .gs_search .prompt {
  border-radius: .33rem;
}

body[data-page="main"] .gs_search .ui.category.search > .results {
  border: 1px solid #eeb21b;
  margin-top: 0;
}

body[data-page="main"] .gs_search .ui.category.search > .results .category {
  background: #eeb21b;
}

.gs_martitime {
  background: url('/img/martitime.jpg') center 70% no-repeat;
  background-size: cover;
  min-height: calc(100vh - 152px);
}

.pages .gs_martitime.homepage {
  transition: min-height 2s ease-in-out;
}

.homepage .gs_header, .product .gs_header {
  padding: 8.25rem .5rem 1rem;
  margin-bottom: 0;
}

.system {
  height: 100%;
}

.system .gs_header {
  padding: 8.25rem 2.75rem 1rem;
  margin-bottom: 0;
}

.gs_martitime > .slogan {
  position: absolute;
  bottom: 5em;
  left: 8em;
  margin: 1rem;
}

.gs_martitime > .slogan > h2 {
  background: #2185d0;
  color: #fff;
  font-family: Georgia, 'Noto Serif TC', PMingLiU, sans-serif;
  padding: .4em .8em .3em;
  display: inline-block;
  margin: 0;
}

.gs_martitime > .slogan > h1 {
  background: #fff;
  color: #2185d0;
  font-family: Georgia, 'Noto Serif TC', PMingLiU, sans-serif;
  padding: .2em .4em!important;
  margin: 0;
}

.product .gs_header .gs_whatsapp {
  text-align: right;
}

.product .gs_header h1, .product .gs_header h2 {
  font-weight: 400;
}

.product .gs_header h1 {
  font-size: 3.2em;
}

.product .gs_header small {
  font-weight: normal;
  border-left: #333 2px solid;
  margin-left: .1rem;
  padding-left: .25rem;
}

.product .gs_product {
  padding-top: 0!important;
}

body[data-page="main"] .product .gs_image > div {
  min-height: calc(100vh - 187px);
}

body[data-page="main"] .product .gs_image .gs_photo {
  position: relative;
}

body[data-page="main"] .product .gs_image .gs_photo img {
  position: relative;
}

body[data-page="main"] .product .gs_image .gs_photo span {
  position: absolute;
  top: 1em;
  left: 0;
  font-size: 1.25em;
  padding: .5rem .75rem;
  background-color: #df9f1d;
  color: rgba(70, 40, 10, .9);;
}

body:not([data-page="main"]) .product .gs_image {
  margin-bottom: 7rem;
}

body:not([data-page="main"]) .product .gs_image .gs_photo {
  position: relative;
  max-height: 23.8em;
}

body:not([data-page="main"]) .product .gs_image .gs_photo img {
  position: relative;
}

body:not([data-page="main"]) .product .gs_image .gs_photo span {
  position: absolute;
  top: 77.5%;
  left: 0;
  font-size: 2em;
  padding: .85rem 1rem;
  background-color: rgba(10,10,10,0.7);
  color: #eeb21b;
}

.product .gs_tips {
  color: rgba(0,0,0,0.35);
  font-weight: bold;
  text-align: center;
  padding-top: 0!important;
}

.product .gs_content {
  font-size: 1.08em;
  margin-top: 1.5rem;
  margin-bottom: 3.5em;
}

.product .gs_content .ui.dividing.header {
  font-family: Georgia, 'Noto Serif TC', PMingLiU, sans-serif;
  border-bottom: 1px solid rgba(33, 133, 208, .33);
}

.product .gs_content p {
  line-height: 1.75;
}

.product .gs_content .ui.button {
  min-width: 18em;
  margin-top: .5rem;
}

.product .gs_content .ui.button > .icon {
  background: none;
  border-right: 1px solid;
}

/* Mobile */
@media only screen and (max-width: 767px) {
  .ui.button {
    min-width: 100%;
  }
  .ui.top.fixed.menu {
    padding: .6rem 1rem .25rem;
  }
  .ui.container {
    margin-left: 0!important;
    margin-right: 0!important;
  }
  .ui.grid {
    margin-left: 0!important;
    margin-right: 0!important;
  }
  .ui.grid > .column {
    padding-left: 0!important;
    padding-right: 0!important;
  }
  .contact {
    width: calc(100vw - 300px);
    margin-bottom: 1rem!important;
    float: right;
  }
  .gs_martitime {
    background-position: 30% 100%;
    min-height: 600px;
  }
  .gs_martitime > .slogan {
    top: 5rem;
    left: 1rem;
    margin: 2rem 1rem 1rem;
  }
  .gs_martitime.homepage > .slogan {
    transition: top 2s ease-in-out;
  }
  .gs_martitime > .slogan > h1 {
    font-size: 2.8em;
  }
  .homepage .gs_header, .product .gs_header {
    padding-left: 0;
    padding-right: 0;
  }
  .product .gs_header .gs_mobile_menu {
    padding-top: 0.7rem!important;
    padding-bottom: 0!important;
  }
  .product .gs_header .gs_mobile_menu a {
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 1em 0;
    display: inline-block;
  }
  .product .gs_header .gs_mobile_menu:not(:first-child) a {
    border-left: 1px solid rgba(255, 255, 255, .2);
  }
  .product .gs_header h1 {
    padding-left: .25rem;
    padding-right: .25rem;
  }
  .product .gs_product > .gs_whatsapp {
    padding-top: 0!important;
    padding-bottom: 0!important;
    padding-left: 1rem!important;
    padding-right: 1rem!important;
  }
  .product .gs_image {
    margin-bottom: 2rem!important;
  }
  .product .gs_image .gs_photo {
    max-height: none;
  }
  .product .gs_content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .product .gs_whatsapp > .ui.button,
  .product .gs_content > .ui.button,
  .product .gs_content .ui.input {
    min-width: 100%;
  }
}

/* Footer */
#backToTop {
  position: fixed;
  bottom: 5em;
  right: 1.75em;
}

#backToTop .ui.button {
  position: relative;
  bottom: -7em;
  min-width: auto;
  transition: all .1s ease-in-out;
}

#backToTop.normal .ui.button {
  bottom: 0;
}

.ui.bottom.fixed.menu {
  background: rgba(0, 0, 0, .8);
  font-size: .95em;
  padding: 1rem 0;
}

.ui.bottom.fixed.blue.menu {
  color: #46b0ff;
  border-top:2px #46b0ff solid;
}

.copyright {
  margin: 0 auto;
  letter-spacing: 1px;
}