@CHARSET "UTF-8";
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";


/* ---- MAIN STYLE ---- */

body {
    background: #fafafa;
}

p {
    font-family: THSarabunNewRegular;
    font-size: 25px;
    font-weight: 300;
    line-height: 1.7em;
    color: #a96801;
    margin-bottom: 0 !important;
}

a, a:hover, a:focus {
    color: #02589A;
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: #02589A;
    text-decoration:underline;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---- SIDEBAR STYLE ---- */

.wrapper {
    display: flex;
    align-items: stretch;
    perspective: 1500px;
}

#sidebar {
    width: 100%;
    background: #7386D5;
    color: #fff;
    display: block;
    animation: fade-in 1s;
}

#sidebar.did-fade-in {
  display: block;
}

#sidebar.active {
    display: none;
}

#sidebar.active.did-fade-in {
  display: block;
  animation: fade-out 1s;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #6d7fcc;
}

#sidebar ul.components {
    /*padding: 20px 0;*/
    /*border-bottom: 1px solid #47748b;*/
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 7px;
    /*font-size: 1.1em;*/
    font-size: 25px;
    color: #fff;
    /*font-weight: bold;*/
    display: block;
}

#sidebar ul li a:hover {
    color: #666;
    background: #FADBD8;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}

a[data-toggle="collapse"] {
    position: relative;
}

a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
    content: '\e114';
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
}

a[aria-expanded="true"]::before {
    content: '\e113';
}

ul ul a {
    font-size: 19px !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article, a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

.sideMenu > ul > li {
    border-bottom: dotted thin #ffffff;
}

.sideMenu > ul > li ul > li {
    border-bottom: dotted thin #ffffff;
}

.sideMenu > ul > li > a > i {
    font-size: 14px;
}

.num-job {
    display: inline-block;
    min-width: 10px;
    padding: 2px 8px;
    font-size: 19px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #666;
    border-radius: 10px;
    border: #fff solid 2px;
}

/* ---- CONTENT STYLE ---- */

#content {
    padding: 20px;
    min-height: 57vh;
    transition: all 0.3s;
    width: 100%;
}

/* ----  MEDIA QUERIES ------ */

@media (max-width: 768px) {
    #sidebar {
        display: block;
        animation: fade-in 1s;
    }

    #sidebar.did-fade-in {
      display: block;
    }

    #sidebar.active {
        display: none;
    }

    #sidebar.active.did-fade-in {
      display: block;
      animation: fade-out 1s;
    }

    @keyframes fade-in {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    @keyframes fade-out {
      from {
        opacity: 1;
      }
      to {
        opacity: 0;
      }
    }  
}

.no-margin{
    margin: 0;
}

.no-padding{
    padding: 0;
}

.menu-icon {
  min-height: 20px;
  line-height: 18px;
  padding: 19px;
  margin-left: 3px;
  margin-right: 3px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

.menu-icon > .col-md-2 > a > h2 {
    margin-bottom: 10px;
}


