/*---------------------
-----------Reset CSS----------------------------------------*/

html,
body,
div,
span,
h1,
h3,
h4,
h5,
h6,
p,
a,
address,
em,
img,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
footer,
header,
nav,
section,
audio{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

a {
    text-decoration: none;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
footer,
header,
nav,
section {
    display: block;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*---------------------
-----------Public----------------------------------------*/

@font-face {
    font-family: 'source-han-sans-simplified-c';
    src: url('/fonts/SourceHanSans-Light.otf') format('SourceHanSans-Light'),
    url('/fonts/SourceHanSans-ExtraLight.otf') format('SourceHanSans-ExtraLight')
        src: url('/fonts/SourceHanSans-Normal.otf') format('SourceHanSans-Normal'),
    url('/fonts/SourceHanSans-Medium.otf') format('SourceHanSans-Medium');
}

html {
    font-family: source-han-sans-simplified-c, sans-serif, 微软雅黑, "MicrosoftJhengHei", 华文细黑, STHeiti, MingLiu;
    margin: 0;
    padding: 0;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.cf {
    clear: both;
}



/*---------------------
-------------------Layout-------------------------------*/

#topMenu {
    height: 66px;
    width: 100%;
    background: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    z-index: 20;
}

#logo {
    height: inherit;
    width: 160px;
    z-index: 0;
}

#player {
    height: inherit;
    width: 560px;
    background: #F7941D;
    overflow: hidden;
}

#navigation {
    padding: 4px;
    margin-top: 36px;
    margin-right: 24px;

}

#searchSpeaker {
    height: 45px;
    border-bottom: ;
}

#speakers {
    margin-top: 64px;
    width: 160px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
    height: 90%;
    position: absolute;
}

#allNames {
    width: 150px;
    height: 90%;
    border-top: 5px solid #eaeaea;
    overflow-y: scroll;
}


#allTopics {
    margin-left: 160px;
    width: 80%;
    padding: 10px 10px 10px 32px;
    position: fixed;
    top: 64px;
    bottom: 0;
    overflow-y: scroll;
    overflow-x: hidden;

}

footer {
    background: #F3F3F3;
    height: 58px;
    font-weight: 300;
    color: #333;

}


/*---------------------
-------------------Navigation-------------------------------*/

nav a {
    list-style: none;
    color: #ddd;
    margin: 4px 12px;
    font-weight: 300;


}

.search {
    padding-left: 18px;
    color: white;
}

#logo h3 {
    color: #FFD800;
    font-size: 2.3em;
    margin: 13px;
}

#showSpeakers{
    display: none;
}

/*------------------Player-------------------------------------*/

#player {
    color: white;
    width: 50%;
}

#player p{
    width: 100%;
    height: 20px;
    overflow: hidden;
    font-size: 0.9em;
}

#audio{
    width: 100%; 
    height: 33px; 
    padding: 0;
}

.title {
    width: 140px;
    margin: 12px 0px 0px 8px;
    overflow: hidden;
}

.currentName {
    color: white;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 100;
}

.currentTopic {

    font-size: 15px;
}

.control {
    margin: 26px 12px 0 0;
}

.playBtn {
    height: 30px;
    width: 30px;
    border-radius: 15px;
    background: #DE851A;
    text-align: center;
    margin: auto 2px
}

.playBtn .fa {
    margin: 6px;
}

.progressBar {
    margin: 18px 0 0 0;
}

.progressBar input {
    width: 180px;
    ;
}

#player input {

    -webkit-appearance: none;
    border: none;
}

#player input::-webkit-slider-runnable-track {
    height: 2px;
    background: white;
}

#player input::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    background: #DE851A;
    border-radius: 8px;
    border: 2px solid white;
    margin-top: -7px;
}

.progressBar p {
    font-size: 13px;
    text-align: right;
}

.volum {
    margin: 36px 0 0 16px;
    width: 120px
}

.volum input {
    width: 100px;
    margin-top: 7px
}




/*------------------Speakers-------------------------------------*/

#searchArea {
    height: 32px;
    width: 120px;
    margin: 4px;
    border: none;
    font-size: 1em;
}

#searchArea::-ms-clear {
    display: none;
}

.alphabet {
    display: block;
}

.letter {
    display: block;
    text-align: center;
    padding: 0 8px;
    line-height: 20px
}

#allNames {
    padding-left: 12px;
}

#allNames a {
    color: #434343;
}

.speakerName {
    line-height: 24px
}


/*---------------------
-------------------All Topics-------------------------------*/

#allTopics h3 {
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: 600;
}

#allTopics a {
    padding: 4px 8px;
    line-height: 24px;
    margin: 8px 4px;
    background: #F2F2F2;
    color: #0093BF;
    font-size: .9em;
    border-radius: 4px;
    display: inline-block
}

#allTopics a:hover {
    color: white;
    background: #C3C3C3;
}

#allTopics li {
    padding: 10px 0 20px 0;
    border-bottom: 1px solid #C9C9C9;
}



.name {
    font-size: 16px;
    color: #838383;
}



/*---------------------
--------------Home Pages-------------------*/

/*-----------Layout-------------*/
header{
  height: 600px;
  overflow: hidden;
  background-image: url(../images/header_bg.jpg);
  background-size: cover;
  -webkit-background-size: cover;   
  -moz-background-size: cover;   
  -o-background-size: cover;  

}

table{
    width: 600px;
}


/*
#header_bg{
    position: relative;
    z-index: 0;
    width: 100%;
    background-image: url("images/headerBG.jpg");
}
*/

#bigTitle{
    position: absolute;
    z-index: 10;
    width: 500px;
    right: 15%;
    top: 200px;
    color: white;
    text-align: center;
}

#bigTitle h1{
    font-size: 4em;
    margin: 10px 0;
    font-weight: bold
    
}

#bigTitle h3{
    font-size: 2em;
    margin: 10px 0;
    font-weight: lighter;
    letter-spacing: 20px;
    padding-left: 20px;
    
}

#bigTitle p{
    font-size: 1em;
    margin: 20px 0;
    font-weight: lighter;
    
}

#bigTitle a{
    font-size: 1em;
    color: white;
    padding: 10px 20px;
    border: 1px solid white;
    background: rgba(256,256,256,0.2);
    border-radius: 4px;
    line-height: 80px;
}


h4{
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.6em;
}



#contact{
    width: 600px;
    margin: 50px auto;
}

#contact p{
    margin-bottom: 32px;
}

#contact input{
    width: 100%;
    height: 28px;
    margin-bottom: 10px;
    font-size: 1em;
}

#comments-text{
    width: 100%;
    height: 160px;
}

.form_label{
    text-align: right;
    padding-right: 10px;
    width: 30%;
    vertical-align: top;
    padding-top: 10px;
}

.submitBtn{
    display: block;
    font-size: 1em;
    padding: 5px;
    background: #DE851A;
    color: white;
    margin: 10px auto; 
}



/*-------------------
--------------About Page---------------------------*/

.about_header{
    width: 100%;
    background-image: url(../images/header_bg_about.jpg);
    background-size: cover;
    background-position: center bottom;
    height: 320px;
    position: relative;
    text-align: center;
    font-family: source-han-sans-simplified-c, sans-serif; 
}

.about_header div{
    position: absolute;
    margin: 90px auto;
    width: 100%;
}

.about_header h2{
    font-size: 1.6em;
    font-weight: 100;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4) 
}

.about_header p{
    font-style: italic;
    font-weight: 300;
    color: white;
    margin: 16px 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4)
    
}

#about_main{
    width: 80%;
    margin: 30px auto 20px auto;
}

#story{
width: 68%;
    margin: auto;
}

#story h2{
    text-align: center;
    font-size: 2em;
    font-weight: 100;
    margin: 60px 0 30px 0;
}

h3{
    font-weight: 500;
    margin: 10px 0;
}

.description{
    
    margin-right: 2%;

}

.description p{
    margin-bottom: 30px;
    line-height: 24px;
}

.photo{
    width: 30%;
    float: left;
    
}

.donate{
    height: 40px;
    width: 100px;
    background: #212121;
    color: white;
}


/*----------------------------
-------------------Footer-----------------------------------*/

#copyright {
    padding: 15px 0 10px 0;
    margin: 0;
    text-align: center;
}

#developer {
    text-align: center;
    margin: auto;
    font-size: 0.8em;
    color: white;

}

#developer a {

    font-weight: 300;
}

#glbfooter {
    background: #F3F3F3;
    height: 58px;
    font-weight: 300;
    bottom: 0;
    z-index: 10;
    width: 100%;
}







/*------------------------------------
----------------Responsive--------------
--------------------------------------*/


.closebtn{
    display: none;
}



@media all and (max-width: 991px) { 
     #logo{
        width: 140px;
        font-size: 14px;
        text-align: center;
    }
    
    #navigation{
        position: absolute;
        right: 0;
        margin-right: 0;
    }
    
    #speakers{
        width: 140px;
    }
    
    #searchArea{
        width: 138px;
    }
    
    #allNames{
        width: 130px;
    }
}


@media all and (max-width: 768px) { 

   
    #player{
        width: 100%;
        position: fixed;
        bottom: 0; 
        height: 80px;
        right: 0;
        left:0
    }
    
    #allTopics{
        margin: 0 0 80px 140px;
    }
    
    #speakers{
        bottom: 80px;
        top: 0;
        height: auto;
    }
    
    #contact input,
    #contact textarea{
    background: #eee;
    width: 100%;;
    font-size: 18px;
    border: 1px solid #aaa;
    }
    
}


@media all and (max-width: 480px) { 
 
    
    
/*------------------------------------
----------------All Messages--------------
--------------------------------------*/
    #topMenu{
        background: none;
        position: fixed;
        width: 100%;
        height: 42px;
    }
    
    #navigation{
        position: absolute;
        background: rgba(0,0,0,0.8);
        margin: auto;
        width: 100%;
        display: block;
        height: 40px;
        padding: 0;

    }
    
    #navigation li{
        padding: 10px 0;
        margin: 0;
        font-size: 16px;
        text-align: center;
        display: block;
        border-right: 1px solid #888;
        width: 24.5%;
    }
    
    #navigation li:last-child{
        border-right: none;
    }
    
    #navigation ul{
        position: absolute;
        width: 100%;
        margin: auto;
    }
    
    #navigation a{
        margin: 0;
        padding: 10px 0;
    }
    
    #audio{
        position: absolute;
        height: auto;
        bottom: 0;
    }
    
    #logo{
        display: none;
    }
    
    
    
    body{
        width: 100%;
        margin-top: 40px;
    }
    
    #allTopics{
        margin: 0 0 60px 0;
        width: 100%; 
        padding: 8px;
        top: 42px;
    }
    
    
    #player{
        width: 100%;
        left: 0;
    }
    
    
    
    #showSpeakers{
        display: block;
    }
    
    #speakers{
        display: none;
        background: white;
        z-index: 100;
        width: 160px;
        position: absolute;
        right: 0; 
        bottom: 80px;
        top: 0;
        margin-top: 40px;
    }
    
    #speakers a{
        line-height: 40px;
    }
  
/*------------------------------------
----------------Home--------------
--------------------------------------*/
    body{
        margin: 0;
        height: 100%;
    }
    
    header{
        width: 100%;
        height: 500px;
        position: relative;
        margin: 0;
    }
    
    #bigTitle{
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        margin: 10px auto;
    }
    
    main{
        width: 90%;
        margin: auto;
    }
    
    table{
        width: 100%;
    }
    
    #contact{
      width: 100%;
      
    }
    
    
    .submitBtn{
        width: inherit;
        font-size: 32px;
        width: 340px;
        margin: 20px 0;
    }
    
    .form_label{
        display: none;
    }
    
    /*------------------------------------
----------------About--------------
--------------------------------------*/
    .about_header{
        height: 300px;
    }
    .about_header h2{
        font-size: 20px;
        font-weight: 300;
    }
    
    #about_main{
        margin: 10px auto;
        width: 95%;
    }
    
    #about_main p{
        width: inherit;
    }
    
    
}






















