/*!
 * FAC style
 * Copyright 2016 Firstsasia Consultants.
 * Licensed under MIT (https://www.firstasiaconsultants.com/)
 *
 */

/* 
* load fonts
*/
@font-face{
    font-family: 'Helvetica-Bold';
    src: url(../fonts/helvetica-neue-bold.ttf);
}
@font-face{
    font-family: 'Helvetica-Medium';
    src: url(../fonts/helvetica-neue-medium.ttf);
}
@font-face{
    font-family: 'Helvetica-Light';
    src: url(../fonts/helvetica-neue-light.ttf);
}
/* 
* general style
*/
.clear {
    clear: both;
}
.pad7-left {
    padding-left: 7px;
}
.pad10-left {
    padding-left: 10px;
}
.pad15-left {
    padding-left: 15px;
}
.pad7-right {
    padding-right: 7px;
}
.pad10-right {
    padding-right: 10px;
}
.pad15-right {
    padding-right: 15px;
}
.pad15-top {
    padding-top: 15px;
}
.pad25-top {
    padding-top: 25px;
}
.pad30-top {
    padding-top: 30px;
}
.pad35-top {
    padding-top: 35px;
}
.mar15-top {
    margin-top: 15px;
}
.mar15-top {
    margin-top: 15px;
}
.mar25-top {
    margin-top: 25px;
}
.mar15-bottom {
    margin-bottom: 15px;
}
.mar25-bottom {
    margin-bottom: 25px;
}
.pad15-bottom {
    padding-bottom: 15px;
}
.pad20-bottom {
    padding-bottom: 20px;
}
.font-white {
    color: white;
}
.font-gold {
    color: #5a5758;
}
.font-grey {
    color: #999;
}
.el-hidden {
    display: none !important;
}
.float-right {
    float: right !important;
}
.web-none {
    display: none !important;
}
.mobile-none {
    display: block !important;
}
.strong {
    font-weight: bold !important;
}
label[class="error"]{
    font-size: 13px;
    font-weight: normal;
    color: #a94442;
    font-style: italic;
    padding-left: 10px;
}
input.error,
textarea.error {
    border-color: #a94442 !important;
    /*box-shadow: inset 0 1px 1px #a94442 !important;*/
}
/* 
* header style
*/
.navbar-fac {
    width: 100%;
    background-color: #3399cc;

    border-radius: 0 !important;
    margin-bottom: 0 !important;
}
.subnavbar-fac {
    width: 100%;
    padding: 0;
    background-color: #005786;
    z-index: 1029 !important;
    text-align: right;

    border-radius: 0 !important;
    min-height: 35px !important;
}
.subnavbar-header {
    position: fixed;
    top: 0;
}
.fac-header {
    height: 100px !important;
}
.fac-subheader{
    height: 35px !important;
    padding-top: 7px;
    font-family: 'Helvetica-Light';
    font-size: 13px;
    line-height: 20px;
    color: #fff;
}
.fac-subheader a {
    color: #fff !important;
}
.fac-subheader .popover {
    font-family: 'Helvetica-Light';
}
.fac-subheader .popover-title {
    font-size: 12px;
    color: #333;
}
.fac-subheader .popover-content {
    font-size: 12px;
    color: #005786;
}

.fac-logo {
    padding: 18px 0 0;
    float: left;
}
.fac-identity {
    float:left;
    width: 275px;
    padding: 20px 0 0 20px;

}
.sub-fac-identity {
    float: left;
    font-size: 16px;
    display: none;
}
.fac-name {
    font-family: 'Helvetica-Bold';
    font-size: 26px;
    line-height: 26px;
    color: white;
}
.fac-slogan {
    font-family: 'Helvetica-Light';
    font-size: 15px;
    line-height: 21px;
    color: white;
}
.fac-address {
    float: right;
    font-family: 'Helvetica-Light';
    font-size: 13px;
    line-height: 20px;
    color: #005786;
    text-align: right;
    padding-top: 20px;
}
.btn-mobile {
    width: auto;
    margin-top: inherit;
}
@media all and (min-width: 769px) and (max-width: 992px) {
    .fac-address {
        display: none !important;
    }

}
@media all and (max-width: 768px) {
    .fac-header {
        max-width: 365px;
        margin: 0 auto;
        width: 100%;
    }
    .fac-subheader {
        text-align: center;
    }
    .mar15-bottom-768 {
        margin-bottom: 15px;
    }
    .fac-collapse {
        display: none;
    }
    .fac-address {
        display: none !important;
    }

    .questions-container {
        width: 100% !important;
    }
    .float-right {
        float: none !important;
    }
    .btn-mobile {
        width: 100%;
        margin-top: 20px;
    }
}
@media all and (max-width: 400px) {
    .fac-logo {
        display: none !important;
    }
    .sub-fac-identity {
        display: none !important;
    }
}
/*
* footer style
*/
.footer {
    position: fixed;
    bottom: 0;
    text-align: center;
    width: 100%;
    height: 60px;
    padding-top: 20px;
    font-size: 12px;
    background-color: #f5f5f5;
    z-index: -1;
}

/*
* alert style
*/
.fac-alert {
    margin-top: 15px;
}

/* 
* body style
*/
#body {
    padding: 0 0 100px;
}
.datepicker {
     z-index: 1030 !important;
}

/*
* modal style
*/
.fac-modal-header {
    background-color: #3399cc;
    color: #fff;
}
.fac-modal-footer {
   background-color: #fefefe; 
}
.fac-modal-body {
    padding: 20px 30px;
}

/* 
* register style
*/
.register-container {
    margin: 0 auto;
    width: 95%;
}
.fac-title {
    border-bottom: 1px solid #ccc;
}
.page-header2 {
    padding-bottom: 9px;
    margin: 0 0 20px;
    border-bottom: 1px solid #ddd;
}
.work-now {
    color: #999;
    font-weight: normal !important;
    padding-top: 5px;
    font-style: italic;
}
.fac-dob-select {
    padding: 0 5px 0 0 !important;
}
.btn-secondary {
    background-color: #ccc;
}
.select2-selection--single {
    height: 34px !important;
    padding-top: 2px !important;
    border-color: #ccc !important;
}
.select2-selection__arrow {
    top: 4px !important;
}
.auto-width {
    width: 100px !important;
    border: 1px #ccc solid !important;
}
.btn-lang, .btn-pointer {
    cursor: pointer;
}
@media all and (min-width: 769px) {
    .fac-select-work {
        padding: 0 5px 0 0 !important;
    }
}
@media all and (max-width: 768px) {
    .fac-select-work {
        padding-bottom: 5px !important;
    }
}
/* 
* login style
*/
.fac-login-panel {
    border: 1px solid #ccc;
    background-color: none;
    margin-top: 20%;
}
.fac-login-body label {
    text-align: left;
}
.login-head {
    width: 95%;
    margin: 0 auto;
    text-align: center;
    font-size: 24px;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    margin-bottom: 35px;
}
.login-detail {
    width: 95%;
    margin: 0 auto;
    text-align: center;
    font-size: 13px;
    color: #999;
}
.login-register {
    padding-top: 5px;
    font-size: 13px;
    color: #999;
}
@media all and (min-width: 769px) {
    .fac-login-body {
        padding: 10px 5px 10px;
    }
}
/* 
* questions style
*/
.foreword-logo {
    float: left !important;
    height: 65px;
}
.foreword-image {
    max-height: 65px;
    padding: 0 20px 10px 10px;
}
.foreword-title {
    font-family: 'Helvetica-Bold';
    font-size: 19px;
    color: #444;
    padding: 15px 0 0 20px;
}
.intelligence-instruction ol {
    font-size: 16px;
    line-height: 26px;
    width: 95% !important;
    margin: 0px auto ;
}

.intelligence-instruction li {
    margin-bottom: 20px;
}
.questions-container {
    margin: 0 auto;
    width: 95%;
}
.question-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 30px;
}
.fac-question {
    width: 98%;
    margin: 0 1%;
}
.fac-question a {
    text-decoration: none;
    color: #333;
}
.fac-question img {
    margin: 0 auto;
    max-width: 100%;
    cursor: pointer;
}
.fac-question-panel {
    border: 1px solid #ccc;
    background-color: none;
    margin-top: 20px;
    padding: 20px;
}
.fac-question h4  {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
    line-height: 26px;
    width: 90% !important;
    margin: 0 auto 5px !important;
}
.fac-question p {
    font-size: 16px;
    line-height: 26px;
    width: 90% !important;
    margin: 0 auto 20px !important;
}
.fac-question ul {
    font-size: 16px;
    width: 90% !important;
    margin: 0 auto 20px !important;
}
.fac-question h1  {
    font-size: 26px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
    line-height: 24px;
    width: 90% !important;
    margin: 0 auto 15px !important;
}

.fac-question table {
    font-size: 16px;
    width: 90% !important;
    margin: 0 auto 20px !important;
}
.fac-question th, .fac-question td {
    padding: 5px 0;
}

.fac-question-ctoni {
    padding-left: 15px;
    padding-right: 15px;
}
.answer-text {
    color: #666;
    margin-bottom: 20px;
}
.col-fac-5 {
    float: left;
    width: 18%;
    margin: 0 1%;
}
.col-fac-4 {
    float: left;
    width: 22%;
    margin: 0 1%;
}
.question-devider-min {
    margin: 0 0 20px;
    border-bottom: 1px solid #eee;
}
.question-devider {
    padding-bottom: 9px;
    margin: 0 0 30px;
    border-bottom: 1px solid #eee;
}
.fac-btn-nav{
    background-color: #eee !important;
    color: #363636 !important;
}
.question-header h4 {
    float: left;
}
.question-title {
    float: right;
    font-family: 'Helvetica-Bold';
    font-size: 21px;
    color: #ddd;
    padding-top: 5px;
}
.case-box,
.question25-no,
.question20-no,
.question5-no {
    width: 100%;
    margin: 0 auto;
}
.case3-no {
    float: left;
    width: 32%;
    padding: 10px 1%;
    margin: 0 0.66%;
    background-color: #f3f3f3;
}
.case3-text {
    width: 100%;
    padding-bottom: 10px;
    text-align: center;
    font-weight: bold;
}
.question25-no button,
.question20-no button,
.question5-no button,
.case3-no button {
    float: left;
    padding: 5px 0;
    background-color: #005786;
    font-size: 16px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: none;
}
.question25-no button{
    width: 3.6%;
    margin: 0.2% 0.2%;
}
.question20-no button{
    font-size: 14px;
    width: 4.6%;
    margin: 0 0.2% 10px 0.2%;
}
.question5-no button {
    width: 18%;
    margin: 0 1%;
}
.question-done {
    background-color: #3399cc !important;
    color: #fff !important;
}
.question-select {
    background-color: #a94442 !important;
}
.answer-title {
    font-size: 16px;
    padding-bottom: 10px;
}
.answer-box {
    width: 100%;
    padding: 10px 20px;
    margin: 15px 0;
    background-color: #f3f3f3;
    display: block;
}
.answer-option {
    cursor: pointer;
}
.answer-2box {
    padding: 10px 0;
    margin-bottom: 10px;
    text-align: center;
    background-color: #f3f3f3;
}
.answer-5box {
    padding: 10px 0;
    margin-bottom: 10px;
    text-align: center;
    background-color: #f3f3f3;
}
.answer-desc {
    float: right;
    font-style: italic;
   
   answer_option color: #999;
}
.fac-title3 {
    font-size: 18px !important;
    color: #005786;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.box-navigation {
    margin-top:15px;
}
#fac-question-no{
    display: none;
}
.fac-toggle {
    width: 100%;
    text-align: center;
    padding: 8px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
    background-color: #f0f0f0;
    border: none;
}
.fac-toggle:hover,
.fac-toggle:focus,
.fac-toggle:active  {
    background-color: #ddd !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.d2-nav button{
    cursor: default !important;
}
.fac-question-d2 {
    padding: 20px 0;
}
.d2-variable, .d2-variable-review {
    float: left;
    height: 90px;
    padding: 15px 5px;
    margin: 5px 2px !important;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.d2-variable:hover,
.d2-variable.active:hover {
    /*background-color: #ab433f;*/
    /*background-color: #d6d6d6;*/
    box-shadow:0px 0px 0px 2px #d6d6d6 inset;
    border-radius: 4px !important;
}

.d2-variable.active{
    /*background-color: #d6d6d6;*/
    box-shadow:0px 0px 0px 2px #8295F4 inset !important;
    border-radius: 4px !important;
}

.d2-variable-review{
    height: 78px !important;
    margin: 5px 1px !important;
}

.d2-variable-review.active {
    box-shadow:0px 0px 0px 2px #8295F4 inset !important;
    border-radius: 4px !important;

    background-color: #dedede;
}

.d2-variable-review.d2highlight {
    box-shadow:0px 0px 0px 2px #d3d3d3 inset;
    border-radius: 4px !important;
}

.d2-variable-review.d2highlight.active {
    background-color: #85ed8d;
}

.d2-variable-legend{
    padding:12px;
    border: 1px dashed #ddd;
    border-radius:8px;
}

.d2-variable-legend-img{
    width: 20px;
    height: 20px !important;
    padding: 0px !important;
}

.d2-variable-legend-desc{
    float: left;
    padding:6px;
    padding-left:15px;
}
.sab-img-border {
    border: 1px solid #ccc;
    padding:15px;
/*    max-width: 500px !important;*/
}

@media all and (min-width: 769px) {
    .sab-img-border {
        max-width: 500px !important;
    }
}

@media all and (min-width: 769px) and (max-width: 992px)  {
    .question25-no button{
        font-size: 14px;
    }
}
@media all and (max-width: 769px) {
    .container {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }
    .foreword-logo {
        height: 60px !important;
    }
    .foreword-image {
        max-height: 60px !important;
    }
    .foreword-title {
        font-size: 18px !important;
    }
    .intelligence-instruction ol {
        padding-left: 20px !important;
    }
    .fac-question-panel {
        padding: 10px !important;
    }
    .fac-question-ctoni {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .fac-question-ctoni img {
        /*max-width: 250px !important;*/
    }
    .fac-question p {
        width: 98% !important;
        text-align: justify !important;
    }
    .question25-no button{
        width: 6.8%;
        margin: 0 0.4% 10px 0.4%;
        font-size: 14px;
    }
    .question20-no button{
        width: 9.0%;
        margin: 0 0.5% 10px 0.5%;
        font-size: 13px;
    }
    .col-fac-5 {
        width: 19%; /*90%;*/
        margin: 0 0.5%;/*0 5%;*/
    }
    .fac-question-bar .col-sm-1, .fac-question-bar .col-sm-10 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .sab-img-border {
        padding:10px;
    }

}
@media all and (max-width: 400px) {
    .fac-identity {
        width: 100% !important;
    }
    .web-none {
        display: block !important;
    }
    .mobile-none {
        display: none !important;
    }
}

/* 
* overlay
*/
.boxfac .overlay,
.overlay-wrapper > .overlay,
.boxfac .loading-img,
.overlay-wrapper > .loading-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.boxfac .overlay,
.overlay-wrapper .overlay {
  z-index: 10001;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
}
.boxfac .overlay > .fa,
.overlay-wrapper .overlay > .fa {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  margin-top: -15px;
  color: #000;
  font-size: 30px;
}
.boxfac .overlay.dark,
.overlay-wrapper .overlay.dark {
  background: rgba(0, 0, 0, 0.5);
}

.question-text-bold {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}

.question-text-large {
  font-size: 26px;
  font-weight: bold;
  padding-bottom: 20px;
  margin-bottom: 15px;
}

.sab-rack {
    padding: 2px 5px;
}

.sab-rack:hover {
    filter: drop-shadow(0 0 0.75rem #666);
    padding: 0 3px;
}
.max-height-220 {
    max-height: 220px;
}

.sab-matrix {
    width: 240px;
}

.sab-matrix .matrix-no {
    float: left;
    width: 60px;
    height: 60px;
    padding:20px 10px;
    cursor: pointer;
    text-align: center;
    font-size:20px;
    line-height: 20px;
}

.sab-matrix .matrix-no:hover {
    color: #d20e3a;
}

.text-auto-align {
    display: flex;
    justify-content: center;
}


/* 
* interview
*/

.interview-info-wrapper {
    margin-top: 20px;
    margin-bottom: 25px;
}

.interview-info-wrapper .interview-info {
    width: 100%;
    margin-top: 5px;
}

.interview-subtitle {
    float: left;
    width: 20%;
    max-width: 80px;
    font-weight: bold;
    padding-left: 20px;
}

.interview-subcontent {
    float: left;
    width: 80%;
}