/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Noto Serif TC', '微軟正黑體', 'Microsoft JhengHei', sans-serif;
}

html.fullheight, html.fullheight > body {
    height: 100%;
}

html.fullheight .container.ITS20 {
    min-height: calc(100% - 90px);
}

body{
  background-image: url("../img/bg.jpg");
  background-size: cover;
  background-attachment: fixed;
}

.container {
  background-color: white;
}

.navbar-default .navbar-nav >.active > a {
    font-weight: bolder;
    color: #1E4294;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu a::after {
  transform: rotate(-90deg);
  position: absolute;
  right: 6px;
  top: .8em;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: .1rem;
  margin-right: .1rem;
}

.turkey-blue { 
  color: #007b82;
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */



body{
  padding-top: 20px;
  padding-bottom: 20px;
}


.head-text {
  position: absolute;
  left: 42%;
  top: 50%;
  transform: translateY(-50%);
  text-shadow: 3px 4px 2px #b1aeae52;
}

.frank {
  height: 60px;
  margin-bottom: 40px;
}

@media screen and (max-width: 500px) {
  .head-text h2 {
    font-size: 16px;
  }
}
.head-logo {
  position: absolute;
  bottom: 5%;
  right: 1%;
  width: 15%;
}

.list-style-none {
  list-style-type: none;
}

.color-tag {
  width: 60px;
  height: auto;
  display: block;
}

.sign-up {
  right: 2%;
  bottom: 10%;
  cursor: pointer;
  background-color: rgb(210, 210, 210);
  border-radius: 10px;

}

@media screen and (max-width:768px) {
  .sign-up {
    background-color: transparent;
  }
    
}

.dropdown-menu {
  padding-left: 1em;
}

.lang a{
  color: rgba(0,0,0,.5);
}

.color-tag.color-brown {
  background-color: #fdf2d0;
}
.color-tag.color-green {
  background-color: #e5efdb;
}
.color-tag.color-blue {
  background-color: #e0eaf5;
}
.color-tag.color-purple {
  background-color: #f7cffc;
}

.ITS20{
  box-shadow: 0px 0px 9px 2px #e2e2e26e;
}
section {
  padding-top: 15px;
}
section p {
  line-height: 30px;
}

section li {
  line-height: 30px;
}

section hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

.vertical-middle{
  vertical-align: middle !important;
}

footer{
  padding-top: 15px;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.color-gray{
  color: #bbbbbb;
}

.font-weight-bold{
  font-weight: 600;
}

.text-indent-4{
  margin-left:  5em;
}
.table-bordered{
  border: 1px solid #949494;
}
.table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th{
  border:1px solid #949494;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-top: 30px;
  margin-bottom: 30px;
}

.video-container iframe, .video-container object, .video-container embed {
  position: absolute;
  top: 0;left: 0;
  width: 100%;
  height: 100%;
}

.nGY2 .nGY2paginationRectangle, .nGY2 .nGY2paginationRectangleCurrentPage{
      border: 1px solid #b5b2b2 !important;
}

@media screen and (max-width: 375px) {
  section{
    padding-left: 0px;
    padding-right: 0px;
  }
}

.list-1 li{
  width: 50%;
}

.color-black {
  color: black;
}

.facebook {
  width: 20px;
}






/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */

}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
