/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : May 25, 2016, 2:06:59 PM
    Author     : Kosol
*/
@font-face {
    font-family: TitleFont;
    src: url('/supermarket.ttf');
    font-weight: bold;
    font-display: swap;
}
[class*="col-"] {
    float: left;
    padding: 15px;
}
html {
    font-family: Helvetica Neue,Helvetica,sans-serif;
    background-color: rgb(245,245,245);
}
.body{
    margin: auto;
    max-width: 1200px;
}

/*** Top Header ***/
.header{
    position:relative;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: gray;   
    padding: 0px;
    background-color: white;
}
#menubar{
    display: none;
}
#logo{
    float:left;
    margin-left: 10px;
    margin-top: 0px;
    position:relative;
}
#search {
    float:left;
    margin-left: 10px;
    margin-top: 7px;
    width: 30%;
    position:relative;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 16px;
    color:black;
    background-color: white;
    background-image: url('/img/searchicon.webp');
    background-position: 10px 10px; 
    background-repeat: no-repeat;
    padding: 12px 20px 12px 40px;
}
#searchbox{
    width: 170px;
    float:right;
    margin-top: 10px;
}

.contact{
    display: inline-block;
    top:0px;
    margin-left: 3px;
    margin-top: 0px;
    right: 10px;
    width: 40px;
    opacity: 0.5;
}
.fb{
    position: relative;
    display: inline-block;
    margin-right: 10px;
    margin-top: 15px;
    float:right;
    color:black;
    vertical-align: middle;
    
}
#fb-user{
    color:white;
    border: rgb(242,111,111) solid 1px;
    background-color: rgb(242,111,111);
    border-radius: 2px;
}
#fb-user:hover{
    color:rgb(242,111,111);
    border: rgb(242,111,111) solid 1px;
    background-color: white;
    border-radius: 2px;
}
.contact:hover{
    opacity: 1;
}
.adv{
  text-align: center;
  font-family: "TitleFont";  
  color:white;
  font-size: 30px;
  background-color: rgb(86,169,184);
}
.headbanner{
    font-weight: bold;
    font-size: 32px;
    padding-left: 0px;
    text-decoration: none;
    color: white;  
    word-break: normal;
}
/*** Title Font ***/
h1 {
    font-family: "TitleFont";
    color: #3a3d41;
    font-size: 26px;
    margin: 0px;
}
h2 {
    font-family: "TitleFont";    
    color: #3a3d41;
    font-size: 22px;    
    padding-left: 5px;
    margin: 0px;
    margin-top: 10px;
    margin-bottom: 5px;
}
h3 {
    font-family: "TitleFont";    
    color: #3a3d41;
    font-size: 22px;    
    padding-left: 5px;
    margin: 0px;
    margin-top: 10px;
    margin-bottom: 5px;
}
h4 {
    font-family: "TitleFont";    
    color: rgb(86,169,184);
    font-size: 22px;    
    padding-left: 5px;
    margin: 0px;
    margin-bottom: 14px;
}
h5 {
    font-family: "TitleFont";
    color: rgb(86,169,184);
    font-size: 26px;
    margin: 0px;
}
/*** HOME PAGE ***/
/*** TOP TEN TAB ***/
.tabtitle{
    border-bottom-style: solid;
    border-bottom-width: 1px;  
    border-bottom-color: rgba(86,169,184,0.5);
    background-color: rgba(86,169,184,0.5);
    margin-top: 0px;
    margin-bottom: -1px;
    padding: 5px;
    color: white;
}
.tabcontent {
    border-style: solid;
    border-width: 1px;
    border-color: rgba(86,169,184,0.5);
    margin-bottom: 20px;
    font-size: 16px;
    padding-bottom: 10px;
    display: none;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
    background-color: white;
}
.tab-row{
    margin-top: 5px;
    margin-bottom: 5px;
    color:rgb(89,89,89);
}
.tab-row:hover {
    background-color: #f5f5f5;
}
.tabrank{    
    display: inline-block;        
    right: 10px;
    width: 20%;
    height: 100%;
    vertical-align: top;
    text-align: center; 
}
.tabcode{
    display: inline-block; 
    right: 10px;
    width: 60%;
}
.tabcode1{
    color: white;
    background-color: rgb(242,111,111);
    border-radius: 5px;  
}
.tabcode2{
    color: white;
    background-color: rgb(242,111,111);
    border-radius: 5px; 
}
.tabcode3{
    color: white;
    background-color: rgb(242,111,111);
    border-radius: 5px; 
}
.tabtalk{
    display: inline-block;    
    right: 10px;
    width: 20%;  
    height: 100%;
    vertical-align: top;
    text-align: center;    
}
.tabsharecode{
    display: inline-block; 
    right: 10px;
    width: 30%;   
}
.tabshare{
    display: inline-block;   
    width: 30%;  
    height: 100%;
    vertical-align: top;
    text-align: center;    
}
.tabvalue{
    display: inline-block;    
    width: 20%;  
    height: 100%;
    vertical-align: top;
    text-align: center;    
}

.score-bar{
    display: inline-block;
    float:right;
    position: relative;
    right: 10px;
}
.score-progress{
    display: inline-block;
    float:left;
    position: relative;
    max-height: 14px;
    background-color: darkgray;
}
#notice{
    color: lightgray;    
    font-size: 12px;
}
/*** Talking List ***/

.talk-row{
   width: 100%;
   position :relative;
   border-style: solid;
   border-width: 1px;
   border-color: lightgray;   
   min-height: 120px;   
   margin-bottom: -1px;   
   background-color: white;
}
.talk-img{
    display: inline-block;
    position :relative;
    margin: 10px;
    margin-right: 20px;
    top: 10px;
    left: 0px;
    width: 50px;
    border-radius: 100px;
}
[class*="talk-code"]{   
   display: inline-block;
   position :absolute;
   margin-left: 5px;
   margin-top: 10px;
   font-size: 16px;   
   border-radius: 3px;  
   color: white;
   padding: 1px;
}
.talk-code0{
    background-color: rgb(86,169,184);
}
.talk-code1{
    background-color: rgb(242,111,111);
}
.talk-code2{
    background-color: rgb(242,111,111);
}
.talk-code3{
    background-color: rgb(242,111,111);
}
.talk-code{
    background-color:darkgray;
}
.talk-codex{
    color:rgb(86,169,184);
    background-color:white;
    font-weight: bold;
}
.talk-pdf{
   display: inline-block;  
   position :relative;   
   margin-right: 10px;
   padding-left: 3px;
   padding-right: 3px;
   color: rgb(242,111,111);   
   border-style: solid;
   border-width: 1px;
   border-radius: 5px;   
   border-color: rgb(242,111,111);
}
.talk-detail{
    font-weight:normal;
    min-height: 94px;   
    position :absolute;
    display: inline-block;    
    font-size: 14px;
    margin-left: 5px;
    margin-top: 22px;
    margin-right: 10px;
    margin-bottom: 10px; 
    width: 88%;
    color: rgb(89,89,89); 
}
.talk-detail u{
    font-weight: bold;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    margin-bottom: 0px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    max-height: 20px;
    line-height: 20px;
    word-wrap: break-word;
    display: block;
    margin-right: 50px;
    margin-top:10px;    
}
.talk-detail b{
    font-weight:normal;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    max-height: 40px;
    line-height: 20px;
    word-wrap: break-word;
    display: block;    
    margin-right: 50px;
    margin-top:5px;
    margin-bottom:10px;
}
.talk-detail l{
    font-weight:normal;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-height: 60px;
    line-height: 20px;
    word-wrap: break-word;
    display: block;
    margin-right: 50px;
    margin-top:15px;
}
.talk-topright{
    position :absolute;
    top: 5px;
    right: 20px;        
}
.talk-date{        
    color: darkgray;
}
.talk-view{    
    color: darkgray;    
    margin-right: 3px;    
}
.talk-view-hot{    
    color: rgb(242,111,111);
    margin-right: 3px;   
}
.talk-eye{
    position:relative;    
    width: 14px;
    bottom: -3px; 
    margin-right: 10px;
    
}
.talk-tag{   
   position :absolute;
   left:105px;
   bottom:5px;   
   color: darkgray;
   padding: 1px;    
}
.talk-tag:hover{   
   color: gray;    
}
.talk-row:hover {background-color: rgb(235,235,235)}

/** Main Page ***/
div.subdomain{
    width: 50%;
}
div.subdomain:hover{  
    border-style: solid;
    border-color: rgba(86,169,184,0.5);   
}
div.subdomain a{
    text-decoration: none;
    
}



/*** STOCK DETAIL PAGE ***/
/*** Stock info ***/
#company-logo{
    display:inline-block;
    float: left;
    margin-right: 30px;
    width:150px;
    height: 150px;
}
div.info{
    margin-top: 20px;    
    background-color: white;
}
.stock-description{
    display: inline-block;
    font-style: italic;
    font-size: 13px;
    width:68%;
    line-height: 17px;
    max-height: 68px;
    margin-top: 5px;
    margin-right:0px;
    overflow: hidden;
    padding : 0px;
    word-break: normal;
    padding-right: 10px;
    color:darkgray;
    
}
.stock-sector{
    font-family: "TitleFont";
    font-size: 20px;
    text-decoration: none;
    color: darkgray;
}
a.info{    
    padding-left: 0px;
    text-decoration: none;
    color: rgb(86,169,184);  
    font-size: 32px;
    line-height: 40px;
    word-break: normal;
}
div.privacy{
    width: 100%;
    padding-top: 0px;
    padding-right: 15px
}
a.privacy{    
    padding-left: 0px;
    text-align: right;
    text-decoration: none;
    color: rgb(86,169,184);  
    font-size: 12px;
    line-height: 15px;
    word-break: normal;
}
sector.info{
    position :relative;
    top: 0px;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    word-break: break-all;
}

.favorite{
    width: 100px;
    position :relative;
    top: 0px;
    float: right;
    right: 0px;
    opacity: 1;
}
.favorite:hover{
    opacity: 0.7;
}
/*** Filter by Social-News Tab ***/
.filter{    
    width: 100%;
    display: inline-block; 
    position: relative;
}
.filterBox{
    display: inline-block;    
    bottom: 0px;
    right: 10px;
    position: absolute;    
}
[class*="filterBySource"]{
    display: inline-block;
    text-align: center;
    position: relative;
    border: 1px;
    width: 70px;
    border-bottom: 0px;
    border-style: solid;
    border-color: lightgray;
    background-color: lightgray;
    color:white;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.filterBySourcex{
    background-color: white;
    color:black;
}
.not-active {
   pointer-events: none;
   cursor: default;
}
.filterBySource:hover{
    color: black;
    background-color: white;
}




/*** Rank Score Table ***/
.AllRank{
   float:right;
   width:100px;
   clear: right;
   
}

.RankByPeriod{
    height: 35px;
    width:100%;
    display: block;
    position: relative;
    border-bottom: lightgray solid 1px;
}

.rank {
    vertical-align: central;
    font-size: 22px;
    width:40%;
    display: inline-block;
    text-align: center;
    color: rgb(86,169,184);
    font-family: "TitleFont"; 
}
.rank-total{
    font-size: 14px;
    margin-left: 3px;
    font-family: "TitleFont"; 
    display: inline-block;
}
.rank-info{
    background-color: rgb(242,111,111);
    color:white;
    width: 98%;
    text-align: center;
    font-size: 12px;
    height: 40px;
    padding-top: 3px; 
}



.tooltip {
    position: relative;
    display: inline-block;
    
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    background-color: lightgray;
    color: whitesmoke;
    text-align: center;
    padding: 0px 0;
    border-radius: 6px;
 
    /* Position the tooltip text - see examples below! */
    position: absolute;
    width: 120px;
    bottom: 100%;
    left: 50%; 
    margin-left: -60px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}



#totop{
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 70px;
    height: 70px;
}

.schedule{
    position: relative;
    display: inline-block;
    border: lightgray 1px solid;
    width: 100%;
    height: 90px;
    background-color: white;
}
.schedule:hover{    
    background-color: rgb(235,235,235)
}
.schedule-date{
    position: relative;
    display: inline-block;
    width: 25%;    
    height: 100%;
    border-right: lightgray 1px solid;
}
.schedule-view{
    position: absolute;    
    color: darkgray;
    bottom: 5px;
    right: 10px;    
    
}
.schedule-view-hot{
    position: absolute;    
    color: rgb(242,111,111);
    bottom: 5px;
    right: 10px;    
}
.schedule-eye{    
    width: 14px;
    bottom: -4px; 
    margin-left: 3px;
}
.schedule-date-day{
    position: relative;
    display: block;
    text-align: center;    
    margin-top: 22px;
    font-size: 24px;
    color: rgb(86,169,184);
}
.schedule-date-month{
    position: relative;
    display: block; 
    text-align: center;    
    font-size: 14px;
    color: rgb(86,169,184);
}
.schedule-desc{
    padding-left: 10px;
    position: absolute;
    display: inline-block;
    width: 75%;
    height: 100%;
}
.schedule-desc-code{    
    float: left;
    width: 70%;
    font-weight: normal;    
    text-decoration: none;
    font-size: 14px;
    color: rgb(86,169,184);
    padding-top: 7px;
}

.schedule-desc-sign{
    position: relative;
    display: inline-block;
    width: 90%;
    font-weight: normal;    
    text-decoration: none;
    font-size: 14px;
    color : rgb(89,89,89);
    padding-top: 8px;
}

.schedule-youtube-logo{
   display: inline-block;
    position :relative;
    margin: 0px;
    top: 5px;
    left: 10px;
    width: 70px;
    border-radius: 8px; 
}
.schedule-youtube-talk{
    position: relative;
    display: inline-block;
    width: 90%;
    font-weight: normal;    
    text-decoration: none;
    font-size: 14px;    
    color : rgb(89,89,89);
    padding-top: 18px;
}
.schedule-tag{   
   position :absolute;
   left:100px;
   bottom:5px;   
   color: darkgray;
   padding: 1px;    
}
.schedule-tag:hover{   
   color: gray;    
}
.suggestion{
}
.suggestion img{
    position:relative;
    display: inline-block;
    border: lightgray solid 1px;
    height: 32px;
}
.suggestion-search{
    position:absolute;
    margin-top: 0px;
    margin-left: 5px;
    display: inline-block;    
    vertical-align: middle;
}
.suggestion-description{
    position:absolute;
    margin-top: 20px;
    margin-left: 5px;
    display: inline-block;
    color: gray;
    font-size: 10px;
    
}


@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}


* {
    box-sizing: border-box;
}

/* For desktop: */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    [class*="col-"] {
        max-width: 100%;
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 5px;
        padding-bottom: 5px;
    }    
    #menubar{
        float:left;
        margin-top:0px;
        margin-left:15px;
        text-align: center;
        font-size: 40px;
        display: inline-block;
        color: gray;
        text-decoration: none;
        min-width: 48px;
    }
    #logo{
       float: none;
       display: block;
       margin: auto;
       padding-right: 50px;
    }    
    .info{
        padding-left: 15px;
        padding-right: 15px;
    }
    .tabtitle{
        width: 100%;
    }
    .tabcontent{
        width: 100%;
    }  
    .support{
        width: 100%;
    }
    .talk-row{
        width:100%;
        min-height: 120px;
    } 
    [class*="talk-code"]{
        font-size: 14px;
    }
    .talk-detail{       
        width:80%;
        margin-top: 20px;        
        font-size: 14px;
        line-height: 18px;
    }  
    .talk-topright{
        font-size: 14px;
    }
    .talk-eye{    
        width: 14px;
        bottom: -4px;    
    }
    .talk-img{
        width: 40px;
        margin: 10px;
        margin-top: 30px;
        top: 0px;
    }
    .talk-tag{           
        left:75px;
        bottom:5px;
    }
    #menu{
        width: 100%;
    }
    #totop{
        width: 50px;
        height: 50px;
    }
    .hide_on_mobile{
        display: none;
        width: 0px;
        height: 0px;
    }
    #search{
        margin-top: 0px;
        width: 95%;
        margin-bottom: 20px;
    }
    #searchbox{
        display: block;
        float:none;
        margin-top:0px;
    }
    .contact{
        float:left;
        margin-left: 10px;
        margin-right: 0px;
        margin-bottom:5px;
    }
    .fb{
        display: block;
        margin-top: 5px;
        margin-right: 15px;            
    }
    #fb-user{
        color:white;
        border: rgb(242,111,111) solid 1px;
        background-color: rgb(242,111,111);
        border-radius: 2px;
    }
    .rank-total{
        vertical-align: central;
    }
    h3{
        margin-bottom: 20px;
    } 
    h5{
        font-size: 16px;
    } 
    .subdomainlogo{
        width: 50%;
    }
    .headbanner{
        font-size: 22px;
    }
}