﻿.card {
    padding-top: 20px;
    margin: 10px 0 20px 0;
    background-color: rgba(214, 224, 226, 0.2);
    border-top-width: 0;
    border-bottom-width: 2px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-width:3px;
    border-color: rgba(214, 224, 226, 0.2);
    border-style:groove;
  }

  .card.hovercard {
    position: relative;
    padding-top: 0;
    overflow: hidden;
    text-align: center;
    background-color: rgba(214, 224, 226, 0.2);
  }

  .card.hovercard .cardheader {
    background: url("http://lampangvc.ac.th/2021/assets/uploads/head-majer.jpg");
    background-size: cover;
    height: 150px;
  }

  .card.hovercard .NOcardheader {
    height: 60px;
  }

  .card.hovercard .avatar {
    position: relative;
    top: -50px;
    margin-bottom: -50px;
  }

  .card.hovercard .avatar img {
    width: 100px;
    max-width: 100px;
    -webkit-border-radius: 20%;
    -moz-border-radius: 20%;
    border-radius: 20%;
    border: 5px solid rgba(255, 255, 255, 0.5);
  }

  .card.hovercard .info {
    padding: 4px 8px 10px;
  }

  .card.hovercard .info .title {
    margin-bottom: 4px;
    font-size: 18px;
    line-height: 1;
    color: #000000;
    vertical-align: middle;
  }

  .card.hovercard .info .subtitle {
    margin-top: 13px;
    margin-bottom: 13px;
    font-size: 16px;
    line-height: 1;
    color: #000000;
    font-weight: bold;
    vertical-align: middle;
  }

  .card.hovercard .info .desc {
    margin-top: 10px;
    overflow: hidden;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    text-overflow: ellipsis;
  }

  .card.hovercard .bottom {
    padding: 0 20px;
    margin-bottom: 17px;
  }





  /* Table 1 ROW 
   -------------------------------------------------*/
  #no-more-tables { 
    font-size: large;
  }
  @media only screen and (max-width: 800px) {
    /* Force table to not be like tables anymore */
    #no-more-tables table,
    #no-more-tables thead,
    #no-more-tables tbody,
    #no-more-tables th,
    #no-more-tables td,
    #no-more-tables tr {
    display: block;
    }
     
    /* Hide table headers (but not display: none;, for accessibility) */
    #no-more-tables thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
    }
     
    #no-more-tables tr { border: 1px solid #ccc; }
      
    #no-more-tables td {
    /* Behave like a "row" */
    font-size: small;
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 45%;
    white-space: normal;
    text-align:left;
    }
     
    #no-more-tables td:before {
    font-size: small;
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 50%;
    padding-right: 10px;
    white-space: nowrap;
    text-align:left;
    font-weight: bold;
    }
     
    /* Label the data */
    #no-more-tables td:before { content: attr(data-title); }
    }







    

/* Timeline
 -------------------------------------------------*/
    .timeline {
      list-style: none;
      padding: 20px 0 20px;
      position: relative;
  }
  
      .timeline:before {
          top: 0;
          bottom: 0;
          position: absolute;
          content: " ";
          width: 3px;
          background-color: #eeeeee;
          left: 50%;
          margin-left: -1.5px;
      }
  
      .timeline > li {
          margin-bottom: 20px;
          position: relative;
      }
  
          .timeline > li:before,
          .timeline > li:after {
              content: " ";
              display: table;
          }
  
          .timeline > li:after {
              clear: both;
          }
  
          .timeline > li:before,
          .timeline > li:after {
              content: " ";
              display: table;
          }
  
          .timeline > li:after {
              clear: both;
          }
  
          .timeline > li > .timeline-panel {
              width: 46%;
              float: left;
              border: 1px solid #d4d4d4;
              border-radius: 2px;
              padding: 20px;
              position: relative;
              -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
              box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
          }
  
              .timeline > li > .timeline-panel:before {
                  position: absolute;
                  top: 26px;
                  right: -15px;
                  display: inline-block;
                  border-top: 15px solid transparent;
                  border-left: 15px solid #ccc;
                  border-right: 0 solid #ccc;
                  border-bottom: 15px solid transparent;
                  content: " ";
              }
  
              .timeline > li > .timeline-panel:after {
                  position: absolute;
                  top: 27px;
                  right: -14px;
                  display: inline-block;
                  border-top: 14px solid transparent;
                  border-left: 14px solid #fff;
                  border-right: 0 solid #fff;
                  border-bottom: 14px solid transparent;
                  content: " ";
              }
  
          .timeline > li > .timeline-badge {
              color: #fff;
              width: 50px;
              height: 50px;
              line-height: 50px;
              font-size: 1.4em;
              text-align: center;
              position: absolute;
              top: 16px;
              left: 50%;
              margin-left: -25px;
              background-color: #999999;
              z-index: 100;
              border-top-right-radius: 50%;
              border-top-left-radius: 50%;
              border-bottom-right-radius: 50%;
              border-bottom-left-radius: 50%;
          }
  
          .timeline > li.timeline-inverted > .timeline-panel {
              float: right;
          }
  
              .timeline > li.timeline-inverted > .timeline-panel:before {
                  border-left-width: 0;
                  border-right-width: 15px;
                  left: -15px;
                  right: auto;
              }
  
              .timeline > li.timeline-inverted > .timeline-panel:after {
                  border-left-width: 0;
                  border-right-width: 14px;
                  left: -14px;
                  right: auto;
              }
  
  .timeline-badge.primary {
      background-color: #2e6da4 !important;
  }
  
  .timeline-badge.success {
      background-color: #3f903f !important;
  }
  
  .timeline-badge.warning {
      background-color: #f0ad4e !important;
  }
  
  .timeline-badge.danger {
      background-color: #d9534f !important;
  }
  
  .timeline-badge.info {
      background-color: #5bc0de !important;
  }
  
  .timeline-title {
      margin-top: 0;
      color: inherit;
  }
  
  .timeline-body > p,
  .timeline-body > ul {
      margin-bottom: 0;
  }
  
      .timeline-body > p + p {
          margin-top: 5px;
      }
  
  @media (max-width: 767px) {
      ul.timeline:before {
          left: 40px;
      }
  
      ul.timeline > li > .timeline-panel {
          width: calc(100% - 90px);
          width: -moz-calc(100% - 90px);
          width: -webkit-calc(100% - 90px);
      }
  
      ul.timeline > li > .timeline-badge {
          left: 15px;
          margin-left: 0;
          top: 16px;
      }
  
      ul.timeline > li > .timeline-panel {
          float: right;
      }
  
          ul.timeline > li > .timeline-panel:before {
              border-left-width: 0;
              border-right-width: 15px;
              left: -15px;
              right: auto;
          }
  
          ul.timeline > li > .timeline-panel:after {
              border-left-width: 0;
              border-right-width: 14px;
              left: -14px;
              right: auto;
          }
  }




/* CV เธเธญ
 -------------------------------------------------*/
  article {
    margin-bottom: 30px;
  }
              .img-cv {
                    height: 150px;
              }
              figcaption {
                    margin-top: 20px;
              }
              
              figcaption > h3 {
                    font-weight: bolder;
                    font-size: xx-large;
              }
              dt, dd {
                    margin-bottom: 5px;
              }






/* chart 
 -------------------------------------------------*/
#tps-org-chart{
    background:#fff;
    padding:20px 20px 40px 20px;
    margin-bottom:2em;
  }
  figure ul,
  figure ul li,
  figure ul li a{
    position:relative;
  }
  figure ul{
    padding: 0;
    margin: 0;
    list-style: none;   
  }
  figure ul li{
    padding:10px 0;
  }
  figure ul li a{
    display: block;
    border: 4px solid;
    text-align: center;
    color:#fff;
    font-weight:bold;
    height: 80px;
    overflow: hidden;
  }
  figure ul li a:hover{
    color:#fff;
    text-decoration:none;
  }
  figure ul li a > span{
    display:block;
    min-height:100%;
    padding-top:20px;
    overflow:hidden;
    transition:all ease .4s;
    text-shadow:rgba(0,0,0,0.5) 1px 1px 1px;
  }
  figure ul > li a:hover > span{
    background:#222;
  }
  figure small{
    display:block;
    font-weight:normal;
  }
  
  
  /* 
  88                                   88
  88                                   88
  88                                   88
  88  ,adPPYba, 8b       d8  ,adPPYba, 88 ,adPPYba,
  88 a8P_____88 `8b     d8' a8P_____88 88 I8[    ""
  88 8PP"""""""  `8b   d8'  8PP""""""" 88  `"Y8ba,
  88 "8b,   ,aa   `8b,d8'   "8b,   ,aa 88 aa    ]8I
  88  `"Ybbd8"'     "8"      `"Ybbd8"' 88 `"YbbdP"'  */
  
  /* Level 1 
  -------------------------------------------------*/
  figure > ul > li > div > a{
    width:20%;
    margin:0 auto 15px auto;
  }
  figure > ul > li > div:after{
    content:"";
    width:calc(50%);
    height:25px;
    margin:0 auto;
    position:absolute;
    border-left:4px solid;
    top:90px;
    left:calc(50% - 2px);
    display:block;
    z-index:0;
  }
  
  /* Level 2 
  -------------------------------------------------*/
  figure > ul > li > ul:after{ /* horizontal line connecting boxes under head honcho (and vertical lines on the far left and right) */
    content:"";
    width:calc(100% - 30px - 248px + 4px);
    height:20px;
    margin:0 auto;
    position:absolute;
    border:4px solid;
    border-bottom:none;
    top:10px;
    left:calc(15px + 124px - 2px);
    display:block;
    z-index:0;
  }
  figure > ul > li > ul > li{
    z-index:1;
  }
  figure > ul > li > ul > li:first-of-type:before,
  figure > ul > li > ul > li:last-of-type:before{ /* hiding vertical lines on the far left and right */
    border-left:transparent;
  }
  figure > ul > li > ul > li:before{ /* vertical lines connecting boxes to horizontal line under head honcho */
    content:"";
    border-left:4px solid;
    position:relative;
    display:block;
    min-height:20px;
    margin-left:calc(50% - 2px);
  }
  
  /* Level 3 
  -------------------------------------------------*/
  figure > ul > li > ul > li > ul{ /* vertical line connecting boxes under a director (level 2) */
    border-left: 4px solid;
  }
  figure > ul > li > ul > li > ul > li{ /* horizontal line connect level 3 boxes to vertical line under director (level 2) */
    border-top: 4px solid;
    top:50px;
  }
  figure ul > li > ul > li > ul > li > a{ /* level 3 boxes and below... */
    right:-30px;
    top:-50px;
    width:calc(100% - 30px);
  }
  
  /* Level 4 
  -------------------------------------------------*/
  figure > ul > li ul > li > ul > li > ul{ /* vertical line connecting boxes under a level 3 box */
    border-left: 4px solid;
    right:-30px;
    top:-50px;
    width:calc(100% - 30px);
    padding-top: 10px;
  }
  figure ul > li > ul > li > ul > li.tps-org-branch-end{ /* hiding the bottom section of the vertical line above */
    border-left: 4px solid #fff;
    right:4px;
    width:calc(100% + 4px);
  }
  figure ul > li > ul > li > ul > li > ul > li{ /* horizontal line connect level 4 boxes to vertical line under level 3 box */
    border-top: 4px solid;
    top:50px;
  }
  
  
  
  
  /*
    ,ad88PPP88ba,                                         88 88
   d8"  .ama.a "8a                                        88 ""
  d8'  ,8P"88"  88                                        88
  88  .8P  8P   88 88,dPYba,,adPYba,   ,adPPYba,  ,adPPYb,88 88 ,adPPYYba,
  88  88   8'   8P 88P'   "88"    "8a a8P_____88 a8"    `Y88 88 ""     `Y8
  88  8B ,d8 ,ad8' 88      88      88 8PP""""""" 8b       88 88 ,adPPPPP88
  "8a "88P"888P"   88      88      88 "8b,   ,aa "8a,   ,d88 88 88,    ,88
   `Y8aaaaaaaad8P  88      88      88  `"Ybbd8"'  `"8bbdP"Y8 88 `"8bbdP"Y8
      """""""""
  */
  @media all and (max-width: 1200px){
    figure > ul > li > div > a{
      width:100%;
      margin:0 auto;
    }
    figure > ul > li > ul{ /* vertical line under head honcho (level 1) */
      border-left: 4px solid;
    }
    figure > ul > li > ul > li{ /* horizontal line connecting level 2 boxes to vertical line under head honcho (level 1) */
      border-top: 4px solid;
      top:50px;
    }
    figure > ul > li > div:after,
    figure > ul > li > ul:after,
    figure > ul > li > ul > li:first-of-type:before,
    figure > ul > li > ul > li:last-of-type:before,
    figure > ul > li > ul > li:before{
      display: none;
    }
    figure > ul > li > ul > li.col-lg-2{
      padding-right:0;
      padding-left:30px;
    }
    figure > ul > li > ul > li > a,
    figure > ul > li > ul > li > ul{
      top:-50px;
    }
    figure ul > li > ul > li.tps-org-branch-end:last-of-type{ /* hiding the bottom section of the vertical line above */
      border-left: 4px solid #fff;
      right:4px;
      width:calc(100% + 4px);
    }
  
  }
  
  /*                     88
                         88
                         88
   ,adPPYba,  ,adPPYba,  88  ,adPPYba,  8b,dPPYba, ,adPPYba,
  a8"     "" a8"     "8a 88 a8"     "8a 88P'   "Y8 I8[    ""
  8b         8b       d8 88 8b       d8 88          `"Y8ba,
  "8a,   ,aa "8a,   ,a8" 88 "8a,   ,a8" 88         aa    ]8I
   `"Ybbd8"'  `"YbbdP"'  88  `"YbbdP"'  88         `"YbbdP"'  */
  
  /* Line color 
  -------------------------------------------------*/
  figure ul li a,
  figure > ul > li > ul,
  figure > ul > li > ul:after,
  figure > ul > li > div:after,
  figure > ul > li > ul > li,
  figure > ul > li > ul > li:before,
  figure > ul > li > ul > li > ul,              
  figure > ul > li > ul > li > ul > li,         
  figure > ul > li ul > li > ul > li > ul,      
  figure ul > li > ul > li > ul > li > ul > li{ 
    border-color: #bbb;
  }
  
  /* Background color 
  -------------------------------------------------*/
  #tps-org-chart,
  figure ul > li > ul > li > ul > li.tps-org-branch-end{
    background: #fff;
  }
  /* Box colors by column 
  -------------------------------------------------*/
  figure ul li a{ background:#858587;} /* level 1 and default box color */
  figure > ul > li > ul > li:nth-of-type(1) a{  background:#00a6de; }
  figure > ul > li > ul > li:nth-of-type(1) a:hover{ color:#00a6de; }
  figure > ul > li > ul > li:nth-of-type(2) a{  background:#66d43d; }
  figure > ul > li > ul > li:nth-of-type(2) a:hover{ color:#66d43d; }
  figure > ul > li > ul > li:nth-of-type(3) a{  background:#f7a30a; }
  figure > ul > li > ul > li:nth-of-type(3) a:hover{ color:#f7a30a; }
  figure > ul > li > ul > li:nth-of-type(4) a{  background:#8c42ad; }
  figure > ul > li > ul > li:nth-of-type(4) a:hover{ color:#bf75df; }/* 3 steps lighter */
  figure > ul > li > ul > li:nth-of-type(5) a{  background:#de5433; }
  figure > ul > li > ul > li:nth-of-type(5) a:hover{ color:#ef6544; }/* 1 step lighter */
  /*figure > ul > li > ul > li:nth-of-type(6) a{  background:#00b0ab; }
  figure > ul > li > ul > li:nth-of-type(6) a:hover{ color:#00b0ab; }*/
  
  /* Darken each level 
  -------------------------------------------------*/
  figure > ul > li > ul > li > a > span{
    background:rgba(0,0,0,0);
  }
  figure > ul > li > ul > li > ul > li > a > span{
    background:rgba(0,0,0,0.2);
  }
  figure > ul > li > ul > li > ul > li > ul > li > a > span{
    background:rgba(0,0,0,0.4);
  }
  figure > ul > li > ul > li > ul > li > ul > li > ul > li > a > span{
    background:rgba(0,0,0,0.6);
  }
  


  .director {
    width: 100%;
    margin: auto;
    text-align: center;
  }
  
  .titledirector {
    color: #474747;
    font-size: 18px;
  }

  
  .buttondirector {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: #3498DB;
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
  }
  


  /* Tabs panel */
.tabbable-panel {
  border:1px solid #eee;
  padding: 10px;
  font-size: 17px;
}

/* Default mode */
.tabbable-line > .nav-tabs {
  border: none;
  margin: 0px;
}
.tabbable-line > .nav-tabs > li {
  margin-right: 2px;
}
.tabbable-line > .nav-tabs > li > a {
  border: 0;
  margin-right: 0;
  color: #737373;
}
.tabbable-line > .nav-tabs > li > a > i {
  color: #a6a6a6;
}
.tabbable-line > .nav-tabs > li.open, .tabbable-line > .nav-tabs > li:hover {
  border-bottom: 4px solid #fbcdcf;
}
.tabbable-line > .nav-tabs > li.open > a, .tabbable-line > .nav-tabs > li:hover > a {
  border: 0;
  background: none !important;
  color: #333333;
}
.tabbable-line > .nav-tabs > li.open > a > i, .tabbable-line > .nav-tabs > li:hover > a > i {
  color: #a6a6a6;
}
.tabbable-line > .nav-tabs > li.open .dropdown-menu, .tabbable-line > .nav-tabs > li:hover .dropdown-menu {
  margin-top: 0px;
}
.tabbable-line > .nav-tabs > li.active {
  border-bottom: 4px solid #f3565d;
  position: relative;
}
.tabbable-line > .nav-tabs > li.active > a {
  border: 0;
  color: #333333;
}
.tabbable-line > .nav-tabs > li.active > a > i {
  color: #404040;
}
.tabbable-line > .tab-content {
  margin-top: -3px;
  background-color: #fff;
  border: 0;
  border-top: 1px solid #eee;
  padding: 15px 0;
}
.portlet .tabbable-line > .tab-content {
  padding-bottom: 0;
}

/* Below tabs mode */

.tabbable-line.tabs-below > .nav-tabs > li {
  border-top: 4px solid transparent;
}
.tabbable-line.tabs-below > .nav-tabs > li > a {
  margin-top: 0;
}
.tabbable-line.tabs-below > .nav-tabs > li:hover {
  border-bottom: 0;
  border-top: 4px solid #fbcdcf;
}
.tabbable-line.tabs-below > .nav-tabs > li.active {
  margin-bottom: -2px;
  border-bottom: 0;
  border-top: 4px solid #f3565d;
}
.tabbable-line.tabs-below > .tab-content {
  margin-top: -10px;
  border-top: 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}



#iframe-container {
  overflow: hidden;
  /* 16:9 aspect ratio */
  padding-top: 56.25%;
  position: relative;
}

#iframe-container iframe {
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}


.list-group-item{
  border: 0;
  padding-left: 0;
  border-top: 1px solid;
  border-color: rgba(37,40,43,0.1);
}
.list-group .list-group-item:first-child{
  border:0;
}
.list-group .list-group-item a{
  color: #2895F1;
  cursor: pointer;
  text-decoration: none;
}
.list-group.list-group-header{
  padding:0;
  margin:0;
}
.list-group.list-group-body .glyphicon {
font-size: 25px; vertical-align: middle;
}
.list-group-panel{
  border: 1px solid #ccdbeb;
  border-radius: 0;
}


.modal-backdrop.in {
  opacity: 0.9;
}