html
{ /* scroll-behavior: smooth; */  }

body
{
    margin: 0;
    padding: 0;
    background-color: white;
    font-family: \5FAE\8EDF\6B63\9ED1\9AD4,'Microsoft JhengHei', Verdana, Helvetica, Arial, 'Microsoft Sans-serif';
    font-size: 1rem;
    color: #404040;
}

a:link    {  color: #404040; text-decoration:none;  }
a:visited {  color: #404040; text-decoration:none;  }
a:active  {  color: #404040; text-decoration:none;  }
a:hover   {  color: #404080; text-decoration:underline;  }

img {  border: 0; }

h1
{
    color: #3483c6;
    margin-top: 10px;
    margin-bottom: 10px;
}

h2 {  color: Black;  font-size: 1.5rem;  }
h1, h2, h3, h4, h5, h6 {  text-shadow: 1px 1px 0px #e0e0e0;  }

h1 a {  font-size: large  }

*:focus
{
    background-color: wheat;
    outline: 2px goldenrod dashed;
}

.indented
{
    margin-left: 1.63rem;
    margin-right: 1.63rem;
}

p
{
    line-height: 1.5;
    letter-spacing: 0.14em;
}

span.mailbox
{   font-style: normal;  }

/* HEADER -------------------------------------------------------------------------------------- */

a#goto_main
{
  /* color: DarkSlateGray;
    background-color: AntiqueWhite;
    padding: 4px;
    border-radius: 4px; */
    color: white;
}

div#top_row
{
    background-color: white;
    border: 1px solid white;
    width: 100%;
    min-height: 1.5rem;
    box-shadow: 0px 10px 5px rgba(0, 0, 0, 0.3);
    z-index: 99;
}

div#top_div
{
    position: relative;
    width: 1600px;
    height: 110px;
    margin: 0px auto;
    padding-top: 4px;

    color: black;
    font-weight: bold;
    word-break: keep-all;

    text-align: right;
    vertical-align: middle;
}

a#top_logo
{
    position: absolute;
    left: 0px;
    top: 10px;
}

a#top_logo img
{
    width: 330px;
    height: 90px;
}

div#top_menu
{
    position: absolute;
    right: 290px;
    top: 11px;
    font-size: 1rem;
    font-weight: bold;
    color: DarkSlateGray;
}

div#top_menu a
{
    color: DarkSlateGray;
    margin-right: 8px;
}

div#top_menu a:hover
{   color: Chocolate;  text-decoration:none;  }

div#top_search
{
    width: 320px;
    position: absolute;
    right: 0px;
    top: 10px;
    font-size: 1rem;
    color: DarkSlateGray;
}

div#top_search input[type="text"]
{
    height: 1.25rem;
    color: #404040;
    border-radius: 5px;
    border: 1px solid DarkOrange;
}

div#top_search input[type="submit"]
{
    height: 1.25rem;
    background-color: Chocolate;
    color: white;
    border-radius: 5px;
    border-style: none;
}

/* DROP-DOWN MENU STYLES ----------------------------------------------------------------------- */

div#main_menu
{
    position: absolute;
    right: 0px;
    top: 55px;
}

div.dropdown
{
    position: relative;
    display: inline-block;
}

a.dropdown_button
{
    font-size: 1.31rem;
    font-weight: bold;
    color: black;
    padding: 0px 12px;
}

a.dropdown_button:hover
{
    color: Chocolate;
    text-decoration: none;
}

div.dropdown_content
{
    display: none;
    position: absolute;

    background-color: white;
    text-align: left;
 /* min-width: 120px; */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

div.dropdown_content a
{
    display: block;
    font-size: 1.13rem;
    font-weight: bold;
    padding: 8px 20px;
}

div.dropdown_content a:hover
{
    color: DarkSlateGray;
    text-decoration: none;
}

div.dropdown_show
{   display: block;  }

/* DROP-DOWN MENUITEM FOR SPECIAL EVENT -------------------------------------------------------- */

a.dropdown_button_new
{
    font-size: 1.31rem;
    font-weight: bold;
    color: white;
    background-color: Chocolate;
    padding: 0px 12px;
    border-radius: 12px;
}

a.dropdown_button_new:hover
{
    color: Yellow;
    text-decoration: none;
}

a.dropdown_button_new sup
{
    display: inline-block;
    position: relative;
    color: white;
    background-color: MediumBlue;
    padding: 0px 4px;
    margin-right: 8px;
    border-radius: 8px;
}

a.dropdown_button_new sup:after
{
    position: absolute;
    bottom: -12px;
    left: 50%;
    content: "";

    width: 0px;
    height: 0px;
    border-width: 6px;
    border-style: solid;
    border-top-color: MediumBlue;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
}

/* TEXT STYLES---------------------------------------------------------------------------------- */

div#content_row
{
    width: 100%;
    min-height: 30rem;
    padding-top: 10px;
    padding-bottom: 10px;
}

div#extra_div
{
    margin: 12px auto;
    padding: 8px 0px;
    background-color: PapayaWhip;
    border-radius: 4px;
}

div.content_div
{
    width: 1600px;
    margin: 0px auto;
 /* border: 1px solid gray; */
}

div.content_div p
{
    text-align: justify;
    text-justify: inter-word;
    line-height: 180%;
}

div.content_div img
{
    vertical-align: middle;
    max-width: 100%;
}

nav.navigator
{
    padding: 16px 4px 8px 4px;
    font-size: smaller;
    font-weight: bold;
    color: #3483c6;
}

nav.navigator a
{
    font-size: smaller;
    color: #3483c6;
}

div.help_panel
{
    float: right;
    width: 360px;
    padding: 0px 16px;
    color: Gray;
    border: 1px solid lightgray;
}

span.category_label
{
    width: 90px;
    margin-bottom: 16px;

    color: white;
    background-color: orange;
    border-radius: 6px;
    margin-bottom: 8px;
    padding: 2px;
    text-align: center;

    text-shadow: none;
    font-size: 1rem;
    font-weight: bold;
}

.oranged
{
    background-color: DarkOrange;
    color: white;
    padding: 4px;
    font-weight: normal;
    text-shadow: none;
}

.brief
{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

.brief_2lines
{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.brief_3lines
{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

a.button
{
    display: inline-block;
    min-width: 3.75rem;
    min-height: 1.5rem;

    color: white;
    background-color: #3483c6;
    font-size: 1rem;
    font-weight: bold;

    border-radius: 12px;
    box-shadow: 4px 2px 4px gray;
    padding: 2px 12px;
    margin: 0px 8px;
    text-align: center;
}

a.button:disabled
{   color: gray;  }

a.button_rect
{
    display: inline-block;
    min-width: 7.5rem;
    min-height: 1.5rem;

    color: white;
    background-color: #3483c6;
    font-size: 1rem;
    font-weight: bold;

    border-radius: 0px;
 /* box-shadow: 4px 2px 4px gray; */
    padding: 2px 12px;
    margin: 0px 8px;
    text-align: center;
}

a.button_rect:disabled
{   color: gray;  }

p.download_link
{
    color: #3483c6;
    font-weight: bold;
 /* text-align: right; */
}

p.download_link a
{   color: #3483c6;  }

p.download_link img
{
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

a.page_top
{
    display: inline-block;
    position: fixed;
    right: 10px;
    bottom: 10px;
}

#speak_button
{
    color: white;
    background-color: #3483c6;
    font-size: 1rem;
    font-weight: bold;

    padding: 2px 4px;
    border-radius: 4px;
}

/* CATEGORY MENU STYLES ------------------------------------------------------------------------ */

ul.categories
{   list-style: none;  }

ul.categories li
{
    display: inline-block;
    min-width: 3rem;
    min-height: 1.5rem;

    color: black;
    background-color: white;
    font-size: 1.13rem;
    font-weight: bold;

    border: 1px solid black;
    border-radius: 12px;
    padding: 2px 12px;
    margin: 12px;
    text-align: center;
}

ul.categories a
{   color: black;  }

li#selected_item
{
    color: white;
    background-color: DarkOrange;
}

li#selected_item a
{   color: white;  }

a.folk_tab
{
    display: inline-block;
    flex-grow: 1;
    width: 240px;
    min-height: 2rem;

    color: DarkSlateGray;
    background-color: white;
    font-size: 1.31rem;
    font-weight: bold;

    border: 1px solid DarkOrange;
    border-radius: 20px;
    margin: 8px 50px;
    padding: 4px;
    text-align: center;
}

a.focused_tab
{
    display: inline-block;
    flex-grow: 1;
    width: 240px;
    min-height: 2rem;

    color: white;
    background-color: DarkOrange;
    font-size: 1.31rem;
    font-weight: bold;

    border-radius: 20px;
    margin: 8px 50px;
    padding: 4px;
    text-align: center;
}

span.active_tab
{
    display: inline-block;
    flex-grow: 1;
    max-width: 33%;
    width: 320px;
    min-height: 2rem;

    color: white;
    background-color: DarkOrange;
    font-size: 1.31rem;
    font-weight: bold;

    border-radius: 20px;
    margin: 8px 50px;
    padding: 4px;
    text-align: center;
 /* text-shadow: 2px 3px 3px black; */
}

a.nonactive_tab
{
    display: inline-block;
    flex-grow: 1;
    width: 320px;
    max-width: 33%;
    min-height: 2rem;

    color: Black;
    background-color: white;
    font-size: 1.31rem;
    font-weight: bold;

    border: 1px solid Black;
    border-radius: 20px;
    margin: 8px 50px;
    padding: 4px;
    text-align: center;
 /* text-shadow: 2px 3px 3px black; */
}

/* HASHTAG STYLES ------------------------------------------------------------------------------ */

.post_tag
{
    display: inline-block;
    min-width: 48px;
    min-height: 1.25rem;

    color: DarkSlateGray;
    background-color: whitesmoke;
    font-size: 1rem;
    font-weight: normal;

    border-radius: 6px;
    padding: 2px 12px;
    margin: 0px 8px;
    text-align: center;
}

.post_tag img
{
    width: 16px;
    height: 16px;
}

.post_tag a
{   color: DarkSlateGray;  }

/* FLEX GRIDS ---------------------------------------------------------------------------------- */

div.grid_container
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;

 /* border: 1px solid gray; */
}

div.grid_std
{
    display: inline-block;
    flex-grow: 1;
    min-width: 330px;
    min-height: 250px;
    max-width: 50%;
    text-align: center;

 /* border: 1px solid gray; */
}

div.gridimg_wrapper
{
    position: relative;
    width: 320px;
    height: 190px;
    margin: 0 auto;

    text-align: center;
    vertical-align:top;
}

div.gridimg_wrapper a
{
    display: block;
    width: 320px;
    height: 180px;
}

div.gridimg_wrapper img
{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 320px;
    height: 180px;

    object-fit: cover;
    border-radius: 8px;
}

div.gridimg_wrapper img:hover
{   filter: brightness(60%);  }

div.gridimg_wrapper span
{
    display: block;
    position: absolute;
    right: 0px;
    top: 0px;

    width: 150px;
    height: 30px;
    font-weight: bold;
    font-size: larger;
    text-align: center;

    color: white;
    background-color: rgba(255,140,0, 0.8);
 /* background-color: orange;
    opacity: 0.8; */

    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
}

div.gridimg_text
{
    display: inline-block;
    width: 320px;
    padding: 0px;
    text-align: justify;
    vertical-align: top;
}

div.grid_left_text
{
    display: inline-block;
    width: 500px;
    text-align: justify;
    vertical-align:top;
}

div.grid_textblock
{
    display: inline-block;
    flex-grow: 1;
    width: 1000px;
    text-align: justify;
    vertical-align:top;

 /* border: 1px solid gray; */
}

div.related_div
{
    display: inline-block;
    flex-grow: 1;
    width: 480px;
    min-width: 320px;
    min-height: 48px;
    margin-bottom: 8px;
}

/* PACKAGE CARDS ------------------------------------------------------------------------------- */

div.grid_card
{
    display: inline-block;
    flex-grow: 1;
    width: 360px;
    margin: 0px 50px 32px 50px;
    padding: 0px;

    text-align: center;
    background-color: PapayaWhip;
 /* border: 1px solid gray; */
}

div.cardimg_wrapper
{
    display: inline-block;
    position: relative;
    width: 320px;
    height: 210px;
    margin: 0 auto;
}

div.cardimg_wrapper span
{
    display: block;
    position: absolute;
    right: 0px;
    top: 20px;

    width: 100px;
    height: 30px;
    font-weight: bold;
    font-size: larger;
    text-align: center;

    color: white;
    background-color: rgba(255,140,0, 0.8);
}

div.cardimg_wrapper img
{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 320px;
    height: 180px;
    margin: 20px auto 10px auto;

    object-fit: cover;
 /* border-radius: 8px; */
}

div.card_text
{
    width: 320px;
    height: 150px;
    text-align: left;
    overflow: hidden;
    margin: 0px auto 20px auto;
}

div.card_text p
{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: normal;
    overflow: hidden;
}

div.card_bottom
{
    width: 100%;
    background-color: Chocolate;
    padding: 10px 0px;
    text-align: center;
}

div.card_bottom a
{
    font-weight: bold;
    color: white;
}

/* GUIDELINE TABLE STYLES ---------------------------------------------------------------------- */

table.guidelines
{
    width: 1500px;
    border-style: none;
    border-spacing: 0px;
    margin: 0px auto;
}

table.guidelines th {  background-color: #3483c6;  color: white;  }
table.guidelines th, td {  padding: 4px; /* border: 1px solid lightgray; */  }
table.guidelines p {  margin-top: 0px;  }
th.guideline_name  {  width: 500px;   }
th.guideline_items {  width: 1000px;  }

div.guideline_item
{
    display: inline-block;
    width: 490px;
    vertical-align: top;
 /* border: 1px solid red; */
}

.guideline_grade
{
    width: 100%;
    color: black;
    text-align: center;
    font-weight: bold;
    background-color: AliceBlue;
 /* border-bottom: 1px solid DimGray; */
}

/* PLAYERS -------------------------------------------------------------------------------------- */

.matl_video
{
    display: block;
    width: 1512px;
    height: 850px;
    margin: 0 auto;
    border-radius: 8px;
}

/* PAGER STYLES--------------------------------------------------------------------------------- */

a.page_num
{   font-size: large;  }

span.cur_page
{
    font-size: 1.63rem;
    font-style: italic;
    color: DarkSlateGray;
}

/* BOTTOM ROW AND FOOTER ----------------------------------------------------------------------- */

div#bottom_row
{
    width: 100%;
    background-color: Chocolate;
    min-height: 50px;
}

div#bottom_div
{
    width: 1600px;
    margin: 0px auto;
    padding: 24px 0px;
    color: White;
    font-size: 1.13rem;
    text-align: center;
}

div#bottom_div a
{   
    display: inline-block;
    font-size: larger;
    font-weight: bold;
    color: White;
}

div.footer_row
{
    width: 100%;
    background-color: Chocolate;
    min-height: 40px;
}

footer
{
    Color: White;
    padding-top: 12px;
    text-align: center;
}

footer .text_item
{
    display: inline-block;
    font-weight: bold;
    min-height: 32px;
}

footer .social_icon
{
    vertical-align: middle;
    width: 25px;
    height: 30px;
}
