/*
 * Base structure
 */
/* overlay for dashboard */

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    visibility: hidden;
    z-index: 99999;
    top: 0;
}

label {
    color: #34495e;
    font-weight: 500;
}

.spinner:not(:required)::before {
    display: none;
}

.show {
    visibility: visible;
}

.overlay {
    opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.overlay.show {
	opacity: 1
}

.overlay__inner {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 99999;
}

.overlay__content {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
}

.spinner {
    width: 60px;
    height: 60px;
    display: inline-block;
    border-width: 2px;
    border-color: rgba(0, 0, 0, 0.5);
    border-top-color: #fff;
    animation: spin 1s infinite linear;
    border-radius: 100%;
    z-index: 99999;
    content: url('/img/logo_white_square.png');
}

.float-r {
    float: right;
}

.form-group.required .control-label:after,.control-label.required:after {
    content:"*";
    color:red;
    padding-left: 3px;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.main-header {
    background-image: url("/img/header-bg.png");
    background-size: cover;
    background-color: rgb(3, 155, 229);
}

.main-header-text{
  font-family: 'Quicksand';
}

/* Sidebar navigation */

.nav-sidebar {
    margin-right: -21px;
    /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}
/* .nav-sidebar>li>a, li.has-subnav>ul>li>a {
    padding-right: 10px;
    padding-left: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
} */

/* li.has-subnav>ul.nav-sidebar>li>a{
    padding-left: 50px;
} */

.nav-sidebar>.active>a, .nav-sidebar>.active>a:hover, .nav-sidebar>.active>a:focus {
    color: #fff;
    background-color: #428bca !important;
}


/*
 * Main content
 */

.main {
    padding: 20px;
}

.main .page-header {
    margin-top: 0;
}

/*
 * Placeholder dashboard ideas
 */

.navigation>ul>li>a:hover {
    color: #fff;
}
.navigation>ul>li:hover>a, .navigation>ul>li.active:hover>a, .navigation>ul>li.active>a {
    background: #272c35 none repeat scroll 0 0;
    border-left: 3px solid #6e8cd7;
    color: #fff;
}
.navigation ul li a i {
    float: left;
    font-size: 18px;
    margin-right: 6px;
    width: 25px;
}
.navigation ul li a .nav-label {
    vertical-align: middle;
}

/* .info-box
=================================================================== */

.info-box {
    min-height: 80px;
    margin-bottom: 30px;
    padding: 20px;
    color: white;
    -webkit-box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, 0.35), 0 3px 1px -1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, 0.35), 0 3px 1px -1px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, 0.35), 0 3px 1px -1px rgba(0, 0, 0, 0.1);
}

.info-box i {
    display: block;
    height: 100px;
    font-size: 60px;
    width: 100px;
    float: left;
    text-align: center;
    margin-right: 20px;
    padding-right: 20px;
    color: rgba(255, 255, 255, 0.75);
}

.info-box .count {
    margin-top: 9px;
    font-size: 34px;
    font-weight: 700;
}

.info-box .title {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.info-box .desc {
    margin-top: 10px;
    font-size: 12px;
}

.info-box.danger {
    background: #ff5454;
    border: 1px solid #ff2121;
}

.info-box.warning {
    background: #fabb3d;
    border: 1px solid #f9aa0b;
}

.info-box.primary {
    background: #20a8d8;
    border: 1px solid #1985ac;
}

.info-box.info {
    background: #67c2ef;
    border: 1px solid #39afea;
}

.info-box.success {
    background: #79c447;
    border: 1px solid #61a434;
}

/*----------------	color------------------------*/

.dark-heading-bg {
    background: #4c4f53 !important;
    border: 1px solid #4c4f53 !important;
}
.main-bg {
    background: #e6e8ea;
}
.white-bg {
    color: #768399 !important;
    background-color: #fff !important;
}
.red-bg {
    color: #fff !important;
    background-color: #f44336 !important;
}
.dark-red-bg {
    background-color: #b71c1c !important;
    color: #fff !important;
    border-top: 0px solid #ddd !important;
}
.dark-green-bg {
    background-color: #1B5E20 !important;
    color: #fff !important;
    border-top: 0px solid #ddd !important;
}
.blue-for-feedback-panels {
  background-color: #208ABE !important;
  color: #fff !important;
}
.dark-blue-bg {
    background-color: #0D47A1 !important;
    color: #fff !important;
    border-top: 0px solid #ddd !important;
}
.dark-yellow-bg {
    background-color: #F57F17 !important;
    color: #fff !important;
    border-top: 0px solid #ddd !important;
}
.blue-bg {
    color: #fff !important;
    background-color: #2196F3 !important;
}
.light-blue-bg {
    background-color: #353d47 !important;
    color: #fff !important;
}
.amber-bg {
    color: #fff !important;
    background-color: #FFC107 !important;
}
.green-bg {
    color: #fff !important;
    background-color: #4CAF50 !important;
}
.greenLight-bg {
    color: #fff !important;
    background-color: #8BC34A !important;
}
.yellow-bg {
    color: #fff !important;
    background-color: #fc6 !important;
}
.orange-bg {
    color: #fff !important;
    background-color: #f4b162 !important;
}
.purple-bg {
    color: #fff !important;
    background-color: #af91e1 !important;
}
.pink-bg {
    color: #fff !important;
    background-color: #f78db8 !important;
}
.lime-bg {
    color: #fff !important;
    background-color: #a8db43 !important;
}
.magenta-bg {
    color: #fff !important;
    background-color: #e65097 !important;
}
.teal-bg {
    color: #fff !important;
    background-color: #97d3c5 !important;
}
.redLight-bg {
    background: #e57373 !important;
    background-color: #e57373 !important;
}
.brown-bg {
    color: #fff !important;
    background-color: #d1b993 !important;
}
.gray-bg {
    background-color: #e4e9eb !important;
}
.lightgray-bg {
    background-color: #f9f9f9 !important;
}
.darkgray-bg {
    color: #fff !important;
    background-color: #a9a9a9 !important;
}
.dark-bg {
    color: #fff !important;
    background-color: #1a2732 !important;
}
.x_title {
    border-bottom: 2px solid #e6e9ed;
    margin-bottom: 10px;
    padding: 1px 5px 6px;
    color: #73879c;
}
.x_title_no_line {
    padding: 1px 5px 6px;
    color: #73879c;
}

/* Surveys */

.availableQuestions:hover, .surveyQuestions:hover {
    transform: scale(1.03);
    box-shadow: 0px 12px 22px 0px #8887;
    background-color: #fff;
}

/*----------equal height cards dashboard-----------*/
.color-card-footer {
    align-self: flex-end;
    flex: 1 1 auto;
    width: 100%;
    font-size: 9pt;
}

.color-card-body {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

/* Smiley faces preview */

.smiley-face-selector input {
    margin:0;padding:0;
    -webkit-appearance:none;
       -moz-appearance:none;
            appearance:none;
}


.smiley-face-selector input:checked +.smiley_card img {
    -webkit-filter: none;
       -moz-filter: none;
            filter: none;
            border: 1.5px solid #17a2b8 !important;
            border-collapse: collapse;
}

span.arrow-up::before {
    content: "\25B2";
}

span.arrow-down::before {
    content: "\25BC";
}

.tuf-zoom-in-out {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 5px;
}

#qrcode img {
    max-width: 200px;
    padding: 10px;
    border: 2px solid #999999;
}

 /* The switch - the box around the slider */
 .tuf_switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
  }
  
  /* Hide default HTML checkbox */
  .tuf_switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .tuf_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .tuf_slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: 3px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .tuf_switch input:checked + .tuf_slider {
    background-color: #2196F3;
  }
  
  .tuf_switch input:focus + .tuf_slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  .tuf_switch input:checked + .tuf_slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .tuf_slider.round {
    border-radius: 34px;
  }
  
  .tuf_slider.round:before {
    border-radius: 50%;
  } 

  #questionsByCategoryTable > tbody > tr > td, #questionsSurveyTable > tbody > tr > td {
    border-top: 3px solid #ddd;
  }

  .inactiveLink {
    pointer-events: none;
    cursor: default;
    touch-action: none;
 }
  


@media (max-width: 767px) {

    li.has-subnav>ul.nav-sidebar>li>a, .nav-sidebar>li>a, li.has-subnav>ul>li>a{
        padding-left: 25px;
    }

}

@media (max-width: 521px) {
    .kiosk-wrap{
        display: block;
    }

    .kiosk-wrap #basic-addon3{
        white-space: normal;
    }
}

@media (min-width: 168px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto;
        /* Scrollable contents if viewport is shorter than content. */
       
        border-right: 1px solid #eee;
    }
}

@media (min-width: 168px) {
    .sidebar {
        position: fixed;
        top: 50px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto;
        /* Scrollable contents if viewport is shorter than content. */
     
        border-right: 1px solid #eee;
    }
}

 @media print {
    @page {size: landscape}
    body * {
        visibility: hidden;
    }

    * {
        overflow: visible !important;
    }

    #dashboardAnalytics,
    #dashboardAnalytics * {
        visibility: visible;
    }

    #main_content_body {
        margin: 8% !important;
    }

    #print-title {
        display: block !important;
    }

    .page {
        page-break-after: always;
        display: inline;
    }

    .avoid-break {
        page-break-inside: avoid !important;
        position: relative !important;
        overflow-x: visible !important;
        page-break-before: auto;
        page-break-after: auto;
    }
    #wordCloud {width:100% !important;}
} 

.ml-pos-green {
    background-color: #228b22;
}

.ml-neg-red {
    background-color: #b92e34;
}

.bad-word-red {
    background-color: #922724;
}