﻿@import url('https://fonts.googleapis.com/css?family=Prompt:300&display=swap');
body
{
    font-family: 'Prompt', sans-serif;
    font-size:16px;
}

.section-content
{
    background:#f4f4f6;
}

.navbar-collapse
{
    padding-top:0px;
    padding-bottom:0px;
}

.navbar-custom {
  background-color: #fff;
  border-color: #080808;
  border:none;
  /*box-shadow: 0px 7px 7px #f5f5f5;*/
  height:100px;
}
.navbar .container
{
    padding-top:0px;
}
.navbar-custom .navbar-brand {
  color: #9d9d9d;
}
/*.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus {
  color: #fff;
  background-color: transparent;
}*/

.navbar 
{
    margin-bottom: 0px;
}

.navbar-custom .navbar-text {
  color: #9d9d9d;
}
.navbar-custom .navbar-nav
{
    margin-top:40px;
}
.navbar-custom .navbar-nav > li > a {
  color: #58595b;
  padding-top:0px;
  padding-bottom:0px;
  /*border-left:1px solid #000;*/
}
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus {
  color: #58595b;
  background-color: transparent;
  /*background:#fff;*/
}
.navbar-custom .navbar-nav > .active > a,
.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus {
  color: #58595b;
  /*background-color: #080808;*/
}
.navbar-custom .navbar-nav > .disabled > a,
.navbar-custom .navbar-nav > .disabled > a:hover,
.navbar-custom .navbar-nav > .disabled > a:focus {
  color: #444;
  background-color: transparent;
}
.navbar-custom .navbar-nav > .open > a,
.navbar-custom .navbar-nav > .open > a:hover,
.navbar-custom .navbar-nav > .open > a:focus {
  /*color: #fff;*/
  background-color: #fff;
}

a.btn-login
{
    display: inline-block;
    background:#eeeeee;
    padding:12px 20px !important;
    border-radius:25px 25px;
    color:#000 !important;
    margin-top:-13px;
}
a.btn-login:hover
{
    background:#eeeeee !important;
}

@media (max-width: 849px) 
{
    .navbar-custom .navbar-collapse
    {
        position:absolute;
        border:0px solid blue !important;
        margin-top:0px;
        z-index:1000 !important;
        width:100%;
    }
    .navbar-custom .navbar-nav
    {
        background:#c11111;
    }
    .navbar-custom .navbar-nav > li > a 
    {
        padding-top:10px;
        padding-bottom:10px;
      color: #fff;
    }
    .navbar-custom .navbar-nav > li > a:hover,
    .navbar-custom .navbar-nav > li > a:focus {
      color: #fff;
      background-color: #b71010;
    }
    .navbar-custom .navbar-nav > .active > a,
    .navbar-custom .navbar-nav > .active > a:hover,
    .navbar-custom .navbar-nav > .active > a:focus {
      color: #fff;
      background-color: #c11111;
    }
    .navbar-custom .navbar-nav > .disabled > a,
    .navbar-custom .navbar-nav > .disabled > a:hover,
    .navbar-custom .navbar-nav > .disabled > a:focus {
      color: #fff;
      background-color: #b71010;
    }
    .navbar-custom .navbar-nav > .open > a,
    .navbar-custom .navbar-nav > .open > a:hover,
    .navbar-custom .navbar-nav > .open > a:focus {
      color: #fff;
      background-color: #c11111;
    }

.navbar-custom .navbar-nav .open .dropdown-menu { background:#b71010; }
  .navbar-custom .navbar-nav .open .dropdown-menu > .dropdown-header {
    border-color: red;
  }
  
  .navbar-custom .navbar-nav .open .dropdown-menu .divider {
    background-color: #fff;
  }
  
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a 
  {
    color: #fff;
    padding-top:10px;
    padding-bottom:10px;
  }
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #000;
    background-color: #b71010;
  }
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #fff;
    /*background-color: #080808;*/
  }
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #444;
    background-color: transparent;
  }
  
  a.btn-login
    {
        display: inline-block;
        background:#c11111;
        padding:0;
        padding-top:10px;
        padding-bottom:10px;
        border-radius:0px 0px;
        color:#fff !important;
        margin-top:0px;
    }
    a.btn-login:hover
    {
        background:#b71010 !important;
    }
    
}

.navbar-custom .navbar-toggle {
  border-color: #fff;
}
.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
  background-color: #fff;
}
.navbar-custom .navbar-toggle .icon-bar {
  background-color: #58595b;
}
.navbar-custom .navbar-collapse,
.navbar-custom .navbar-form {
  border-color: #101010;
}
.navbar-custom .navbar-link {
  color: #9d9d9d;
}
.navbar-custom .navbar-link:hover {
  color: #fff;
}
.navbar-custom .btn-link {
  color: #9d9d9d;
}
.navbar-custom .btn-link:hover,
.navbar-custom .btn-link:focus {
  color: #fff;
}
.navbar-custom .btn-link[disabled]:hover,
fieldset[disabled] .navbar-custom .btn-link:hover,
.navbar-custom .btn-link[disabled]:focus,
fieldset[disabled] .navbar-custom .btn-link:focus {
  color: #444;
}

.navbar-brand
{
    line-height:normal;
    padding-top:0px;
    padding-bottom:0px;
    margin-top:10px;
}
.navbar-brand span
{
    display:block;
    font-size:14px;
    color:#000;
}
.navbar-brand:hover,
.navbar-brand:focus {
  text-decoration: inherit;
}
.navbar-brand img
{
    width:190px;
}

.navbar-brand-title
{
    display:block;
    margin-top:20px;
}

.navbar-custom .navbar-nav .dropdown .dropdown-menu li a 
{
    display:block !important;
    padding-top:10px !important;
    padding-bottom:10px !important;
}

.footer
{

    padding-top:40px;
    padding-bottom:40px;
}
.footer a
{

}
.footer a:hover
{
    text-decoration:none;
}
.footer-logo
{
    text-align:center;
    margin-bottom:40px;
}
.footer-logo img
{
    width:140px;
}

.footer-social
{
    margin-top:40px;
    text-align:center;
}

.footer-copy
{
    margin-top:40px;
    text-align:center;
    opacity:0.8;
}

.m-top-10
{
    margin-top:10px;
}

h3
{
    margin:0;
}

/*paginations*/
.paginations {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
  margin-top:0px;
}
.paginations > li {
  display: inline;
}
.paginations a.item,
.paginations span.item {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.paginations a.first,
.paginations span.first {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.paginations a.last,
.paginations span.last {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.paginations a.item:hover,
.paginations span.item:hover,
.paginations a.item:focus,
.paginations span.item:focus {
  z-index: 2;
  color: #23527c;
  background-color: #eee;
  border-color: #ddd;
}
.paginations a.active,
.paginations span.active,
.paginations a.active:hover,
.paginations span.active:hover,
.paginations a.active:focus,
.paginations span.active:focus {
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: #c11111;
  border-color: #c11111;
}
.paginations > .disabled > span,
.paginations > .disabled > span:hover,
.paginations > .disabled > span:focus,
.paginations > .disabled > a,
.paginations > .disabled > a:hover,
.paginations > .disabled > a:focus {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}
/*end-paginations*/

.list-group .active
{
    background:#fff !important;
    color:#c11111 !important;
    border-color:#dddddd !important;
}

/*CUSTOM POPUP*/
.custom-popup
{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    /*display: none;*/
    overflow: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    padding-left:20px;
    padding-right:20px;
    background:rgba(0,0,0,0.4);
}
.popup-overlay
{
    /*width:100%;
    height:100%;
    background:#000;
    opacity:0.4;
    z-index:1051;
    position:fixed;
    top:0;
    left:0;
    right: 0;
    bottom: 0;*/
}
.custom-popup .popup-content
{
    /*display: block;*/
    /*top:0;*/
    /*margin:0 auto;
    margin-top:60px;
    margin-bottom:30px;*/
    /*left:0;*/
    /*width:50%;
    margin-left:25%;
    margin-right:25%;*/
    
    /*display: inline-block;*/
    position: absolute;
    top:0;
    left:50%;
    border-radius: 5px 5px;
    padding-bottom:5px;
    box-shadow: 2px 5px 20px #333333;
    margin-top: 50px;
    z-index: 1055;
    background: #fff;
    margin-bottom:20px;
    
    width: 640px;
    margin-left: -320px;
}
.custom-popup .popup-sm
{
    margin-left:-240;
    width: 480px;
}
.custom-popup .popup-xl
{
    margin-left:-480px;
    width:960px;
}

.custom-popup .popup-full
{
    left:50%;
    margin-top: 20px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
  .custom-popup .popup-full 
  {
    width: 750px;
    margin-left: -375px;
  }
}
@media (min-width: 992px)
{
  .custom-popup .popup-full 
  {
    width: 970px;
    margin-left: -485px;
  }
}
@media (min-width: 1200px) {
  .custom-popup .popup-full 
  {
    width: 1170px;
    margin-left: -585px;
  }
}

/*.custom-popup .popup-sm
{
    left:0;
    width:80%;
    margin-top: 20px;
    margin-left: 10%;
    margin-right: 10%;
}*/
@media (max-width: 1020px) 
{
    .custom-popup .popup-content,
    .custom-popup .popup-sm
    {
        left:0;
        width:80%;
        margin-left:10%;
        margin-right:10%;
    }
}
.popup-head
{
    padding:15px 15px;
    position:relative;
}
.popup-head .btn-close
{
    position:absolute;
    display:inline-block;
    right:0;
    top:0;
    font-size:18px;
    margin-top:10px;
    margin-right:15px;
}
.popup-head .btn-close a
{
    color:#c75050;
}
.popup-head .btn-close a:hover
{
    color:#e04343;
    text-decoration:none;
}
.popup-body
{
    border-top:1px solid #e5e5e5;
    min-height:50px;
    padding:15px 15px;
    /*overflow-y:scroll;
    -webkit-overflow-scrolling: touch;*/
    -webkit-overflow-scrolling: touch;
}
.popup-body img
{
    max-width:100%;
}
.diag-img
{
    max-width:100%;
    margin-bottom:10px;
}
.popup-foot
{
    border-top:1px solid #e5e5e5;
    padding:7px 15px;
    text-align:right;
}

.takephoto
        {
            margin-bottom:10px;
        }
        .takephoto input
        {
            display:block;
            background:none;
            border:none;
            padding:0;
            margin:0;
            
            width:100%;
            height:200px;
            border:2px dashed #ddd;
            /*background-repeat: no-repeat;
            background-position: top center;
            background-size: 143px 190px;
            background:rgba(0,0,255,0.3);
            color: transparent;*/
        }
        .takephoto input::-webkit-file-upload-button {
            visibility: hidden;
        }
        .takephoto input::after 
        {
            content: '';
        }
        .takephoto input::before {
          content: 'เมื่อคุณคลิ๊ก ถ่ายภาพ หมายถึงการอนุญาติให้ FIA PLUS วิเคราะห์ผิวของคณ';
          color: black;
          text-align:center;
          line-height:200px;
          display:block;
          width:100%;
          /*display: inline-block;
          background: -webkit-linear-gradient(top, #f9f9f9, #e3e3e3);
          border: 1px solid #999;
          border-radius: 3px;
          padding: 5px 8px;
          outline: none;
          white-space: nowrap;
          -webkit-user-select: none;
          cursor: pointer;
          text-shadow: 1px 1px #fff;
          font-weight: 700;
          font-size: 10pt;*/
        }

        .takephoto input:hover
        {
            cursor:pointer;
        }
        .take-photo:hover
        {
            cursor:pointer;
        }
        .p-number
        {
            display:block;
            width:100%;
            position:absolute;
            top:0;
            left:0;
            margin-top:10px;
            text-align:center;
        }
        .p-number span
        {
            display:inline-block;
            background:rgba(255,255,255,0.5);
            font-size:11px;
            font-family: Calibri;
            border-radius:4px 4px;
            padding-left:5px;
            padding-right:5px;
        }
        
.alert-default {
  /*color: #3c763d;*/
  background-color: #f5f5f5;
  border-color: #eeeeee;
}

.btn-master {
  color: #fff;
  background-color: #58595b;
  border-color: #cb1f15;
}
.btn-master:focus,
.btn-master.focus {
  color: #fff;
  background-color: #cb1f15;
  border-color: #cb1f15;
}
.btn-master:hover {
  color: #fff;
  background-color: #cb1f15;
  border-color: #cb1f15;
}

.btn-master-light {
  color: #58595b;
  background-color: #fff;
  border-color: #cb1f15;
}
.btn-master-light:focus,
.btn-master-light.focus {
  color: #fff;
  background-color: #58595b;
  border-color: #cb1f15;
}
.btn-master-light:hover {
  color: #fff;
  background-color: #58595b;
  border-color: #cb1f15;
}
