

body { 
    background: #eff2f4;
    margin: 0 0 0 0;
}

h1, h2, h3, h4, h5, h6 { font-weight: 600; text-align: center; clear: both;   }
ul { padding: 0 0 0 0; margin: 0 0 0 0; }
ul li { font-size: 16px; }
p { font-size: 15px; line-height: 1.6; }


/* Article 整體寬度調整*/
 article  { 
    width: 950px;
    margin: 40px auto 80px auto; 
    padding: 0;
    clear: both;  
    background-color: #FFF ;
    color: #222;
    overflow: hidden;
    border-radius: 10px;

}

header, section { width: 100%; margin: 0; clear: both; }
section { min-height: 100px; padding: 10px 40px; clear: both; display: inline-block; }

/* 主視覺 */

header#Visual { min-height: 500px; padding: 20px 40px 0 40px; }
header#Visual > div.TOP-Stick { width: 100%; }
header#Visual > div.TOP-Stick > div.logo { float: left; width: 240px; padding: 8px 0 0 10px; }
header#Visual > div.TOP-Stick > div.logo > img { width: 100%; }
header#Visual > div.TOP-Stick > div.socialTAB { float: right; }
header#Visual > div.TOP-Stick > div.socialTAB > ul { list-style: none; padding: 20px 0 0 0; }
header#Visual > div.TOP-Stick > div.socialTAB > ul > li { float: left; width: 65px; height: 65px; background: #ccd3d6; color: #FFF; margin: 5px; border-radius: 4px; line-height: 65px; font-size: 2.8em; text-align: center; }
header#Visual > div.TOP-Stick > div.socialTAB > ul > li:hover { transition: 0.2s; }
header#Visual > div.TOP-Stick > div.socialTAB > ul > li.FB:hover { background: #384e87  }
header#Visual > div.TOP-Stick > div.socialTAB > ul > li.YT:hover { background: #d13737  }
header#Visual > div.TOP-Stick > div.socialTAB > ul > li.TS:hover { background: #71b734  }
header#Visual > div.TOP-Stick > div.socialTAB > ul > li.ND:hover { background: #e5801a  }
header#Visual > div.TOP-Stick > div.socialTAB > ul > li > a { color: #FFF; }
header#Visual > div.TOP-Stick > p.line { border-bottom: solid 0px #EFEFED; padding: 15px 0 0 0 }

div.IntroContent { 
    clear: both; 
    padding: 180px 0px 0px 0px; 
    background: url('../images/Visual.jpg'); 
    background-size: 100%; 
    background-position: top center;  
    background-repeat: no-repeat;
    border-radius: 10px;
    height: 480px;
}
div.IntroContent > h1 { text-align: left; background: rgba(255,255,255,0.68); padding: 15px 10% 15px 25px; color: #31374f; font-size: 2.8em; line-height: 1.3; }
div.IntroContent > div.InstructorImg { width: 90px; height: 90px;  float: left; margin: 0 0 0 25px; border-radius: 4px;  }
div.IntroContent > div.InstructorCV { float: left; width: auto; padding: 10px;   height: 90px; }
div.InstructorCV h3 { font-size: 1.5em; text-align: left;  margin: 0; padding: 0; color: #333638 }
div.InstructorCV ul { padding: 10px 0 0 20px; }
div.InstructorCV ul li { font-size: 14px; }


section > div.Content img { max-width: 100%; padding: 15px 0; }
section > div.Content p { text-align: justify; text-justify:inter-ideograph; line-height: 1.8; }
section > div.Content ul { padding: 15px 30px 15px 30px;  }
section > div.Content ul li { line-height: 1.8; text-align: justify; text-justify:inter-ideograph;  font-size: 15px; padding: 5px 0 5px 0;}


section  div.AD { clear: both; }
section  div.AD  div.Banner { width: 50%; float: left; min-height: 50px; padding: 25px; }
section  div.AD  div.Banner img { width: 100%; border:solid 2px #EFEFED; border-radius: 10px; }

section > div.RelatedCourse { padding-top: 25px; padding-bottom: 20px; }
section > div.RelatedCourse  h3 { text-align: left; border-bottom: solid 3px #EFEFED; padding: 8px 0; }
section > div.RelatedCourse  ul { padding: 10px 0 0 20px; }
section > div.RelatedCourse  ul li { font-size: 14px; margin: 10px 0; }
section > div.RelatedCourse  ul li > span.idTAB { background: #c16010; color: #FFF; font-size: 12px; padding: 4px 6px; margin-right: 6px; border-radius: 4px; }
section > div.RelatedCourse  ul li > a { color: #222; }
section > div.RelatedCourse  ul li > a:hover { color: #C30; }




footer { background: rgba(0,0,0,0);  width: 100%; clear: both; padding: 20px 0; background: #dce0e2; }
footer ul { list-style: none;  }
footer .MainContent { clear: both; width: 100%; margin: 0 auto 0 auto;  }
footer div.LogoArea { width: 100%; min-height: 50px; text-align: center;   }
footer div.LogoArea img.Ucom_logo { width: 380px; padding: 0 0 15px 0; }



footer .MainContent div.ContactInfo { width: 80%; clear: both;  padding: 0; margin: 0 auto;  }
footer .MainContent div.ContactInfo div.location { width: 48%; margin: 0 1%; float: left;   }
footer .MainContent div.ContactInfo div.location ul { float: left; padding: 0 10px 0 0; }
footer .MainContent div.ContactInfo div.location ul li { color: #222; font-size: 13px; font-weight: 600; margin: 0 0 8px 0;  }
footer .MainContent div.ContactInfo div.location ul li > span.IconTAB { color: #2d7a00; padding-right: 10px; }
footer .MainContent div.ContactInfo div.location ul li span.tab { background: #C33; color: #FFF; padding: 2px 6px 2px 6px; margin: 0 5px 0 0; border-radius: 4px; }
footer .MainContent div.ContactInfo div.location ul.Fax { padding: 0 0 0 0; display: none; }
footer div.Copyright { width: 100%; clear: both; padding: 10px 0 0px 0; }
footer div.Copyright p { text-align: center; color: #222; font-size: 13px; font-weight: 600; padding: 0 20%; }
footer div.Copyright p a { color: #C33; }



/* RWD Setting */



    @media (max-width: 1100px) {
        article { width: 800px;  }
        div.location { display: none; }
      

    }

    @media (max-width: 800px) {
        article { width: 600px; margin: 0px auto 0 auto; border-radius: 0;   }
        header#Visual { min-height: 100px; height: auto; }
        header#Visual > div.TOP-Stick > div.logo { float: initial; width: 100%; padding: 8px 0 0 0px; }
        header#Visual > div.TOP-Stick > div.logo > img { width: 60% }
        header#Visual > div.TOP-Stick > div.socialTAB { float: initial; width: 100% }
        header#Visual > div.TOP-Stick > div.socialTAB > ul > li { width: 23%; height: 65px; background: #ccd3d6; color: #FFF; margin: 5px 1%; border-radius: 4px; line-height: 65px; font-size: 2.8em; text-align: center; }

        div.IntroContent { padding: 180px 0px 0px 0px; height: auto; }
        div.IntroContent > h1 { padding: 15px 10% 15px 25px; font-size: 2em; }

        section > div.RelatedCourse  ul li { line-height: 2; border-bottom: dotted 1px #CCC; margin-right: 15px; padding: 0 0 5px 0; }

    }

    @media (max-width: 600px) {
        article { width: 395px; margin: 0 auto 45px auto; border:0;  box-shadow: none;  }
        section { padding: 10px 20px; }
        section > div.Content ul li { font-size: 12px; }
        pre { font-size: 12px !important; }
        p { font-size: 12px; }
        header#Visual { 
            background: -webkit-linear-gradient(top,rgba(255,255,255,0),rgba(255,255,255,0.5),rgba(255,255,255,1),rgba(255,255,255,1),rgba(255,255,255,1),rgba(255,255,255,1)),url('../images/Visual.jpg');
            background: -moz-linear-gradient(top,rgba(255,255,255,0),rgba(255,255,255,0.5),rgba(255,255,255,1),rgba(255,255,255,1),rgba(255,255,255,1),rgba(255,255,255,1)),url('../images/Visual.jpg');
            background: -ms-linear-gradient(top,rgba(255,255,255,0),rgba(255,255,255,0.5),rgba(255,255,255,1),rgba(255,255,255,1),rgba(255,255,255,1),rgba(255,255,255,1)),url('../images/Visual.jpg');
            background-size: 200%; 
            background-position: top right; 
        }
        header#Visual > div.TOP-Stick { height: 70px; }
        header#Visual > div.TOP-Stick > div.logo { float: initial; padding: 7px 0 0 10px; }
        header#Visual > div.TOP-Stick > div.logo > img { width: 125px }
        header#Visual > div.TOP-Stick > div.socialTAB { position: fixed; width: 100%; bottom: 0; left: 0; background: #6f7d82; height: 45px; }
        header#Visual > div.TOP-Stick > div.socialTAB > ul { padding: 0; margin: 0 auto; width: 350px; }
        header#Visual > div.TOP-Stick > div.socialTAB > ul > li { margin: 0px 1%; border-radius: 0px; height: 45px; line-height: 45px; font-size: 1.5em; background: #6f7d82;   }
        header#Visual { padding: 0px 0px 0 0px;  }
        div.IntroContent { 
            padding: 100px 0px 0px 0px; 
            background: none; 
            height: auto;
            border-radius: 0;
        }
        div.IntroContent > h1 { background: rgba(255,255,255,0); font-size: 1.5em; padding: 15px 5% 15px 25px; }

        section > div.RelatedCourse  ul li { font-size: 12px; }

        footer div.Copyright p { text-align: center; color: #222; font-size: 13px; font-weight: 600; padding: 0 20px; }
        footer div.LogoArea img.Ucom_logo { width: 300px; padding: 0 0 15px 0; }

    }

    /*iPhone 6 */
    @media (max-width: 395px) {
        article, footer { width: 100%;  }
      

    }

    @media(max-width: 320px){
        div.IntroContent > div.InstructorImg { width: 70px; height: 70px; margin: 0 0 0 25px; border:solid 2px #FFF;  }
        div.IntroContent > div.InstructorCV { width: 200px; padding: 0 10px; }
        div.IntroContent > div.InstructorCV ul li { font-size: 12px; }
    }







div#SocialMedia { position: fixed; right: 10px; bottom: 50px; }
div#SocialMedia ul { list-style: none;  }
div#SocialMedia ul li { 
    background: rgba(0,0,0,0.75); 
    color: #FFF; 
    width: 40px; 
    height: 40px; 
    line-height: 40px; 
    font-size: 1.25em; 
    text-align: center; 
    margin: 8px 0 0 0;
    border-radius: 4px;
}
div#SocialMedia ul li a { color: #FFF; }
div#SocialMedia ul li.FB:hover { background: #39507C; transition: .20s linear;  }
div#SocialMedia ul li.Youtube:hover { background: #DB1B1B; transition: .20s linear; }
div#SocialMedia ul li.Contact:hover { background: #096; transition: .20s linear; }




