@page {
    size: A4;   
}
@media print {
    html, body {
        width: 210mm;
        height: 297mm;
        -webkit-print-color-adjust: exact;
    }  
    
    * { -webkit-print-color-adjust: exact; }
    
    a[href]:after {
        content: none !important;
    }
    .page-break { 
        display: block; 
        page-break-before:always;
    }
    
    .page-logo{
        /*background-color: #e9e9ea !important;*/
        -webkit-print-color-adjust: exact;
    }
    div{
        page-break-inside: avoid;
    }
    
    .table-inspection {
        -webkit-print-color-adjust: exact;
        background-color: lightgray !important;
    }
    .table-question {
        -webkit-print-color-adjust: exact;
        background-color: #f2f2f2 !important;
    }
    .table-state {
        -webkit-print-color-adjust: exact;
        background-color: white !important;
    }
}

html {
    font-size: 100%;
    direction: ltr;
}
body {
    margin: 0;
    padding: 0;
    font-family: Verdana,Geneva,sans-serif;
    font-size: 1em;
    direction: rtl;
}

/*misc*/
.hr-minor {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    border: 0;
    border-top: 1px solid #eee;
}
.ap-container {
    display: flex;
    flex-direction: row;
}
.ap-questions, .ap-inputs {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.ap-table {
    width: 100%;
}
.ap-table tr > td.ap-input {
    width: 50%;
    border-bottom: 1px solid lightgray;
}
.ap-table tr > td.ap-input > input {
    border: none;
    background-color: transparent;
}
.ap-table tr > td.ap-label {
    width: 30%;
    border-bottom: 1px dotted lightgray;
}
.ap-table tr > td.ap-input.ap-switch, .ap-table tr > td.ap-label.ap-switch {
    border: none;
}
label {
    display: flex;
    align-self: center;
}

.switch-light a {
    right: 68%;
}
.switch-light.ap-switch {
    margin-top: 5px;
}
table.safety-form-dates {

}
table.safety-form-dates > tbody {

}
table.safety-form-dates > tbody > tr {

}
table.safety-form-dates > tbody > tr > td {

}
table.safety-form-dates > tbody > tr > td.sfd-label {

}
table.safety-form-dates > tbody > tr > td.sfd-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 5px;
}
table.safety-form-dates > tbody > tr > td.sfd-content > div.datepick-changes {
    padding-right: 10px;
    max-width: 300px;
}
.prev-noteblock {
    max-width: 350px;
}
textarea#form_text {
    min-height: 200px;
}






#wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 0 auto;
}
#top-panel {
    width: calc(100% - 20px);
    height: auto;
    padding: 10px;
    margin: 0 auto 0 auto;
    margin-bottom: 20px;
    background-color: #f2f2f2;
    border: 1px solid lightgray;
    border-top: none;
    border-bottom: 5px solid lightgray;
    font-size: 0;
    display: flex;
    flex-wrap: wrap;
}
#top-panel a {
    margin-bottom: 5px;
}
#top-panel button {
    margin: 0 2px 0 2px;
    padding-bottom: 7px;
    font-size: 18px;
}
#header-panel {
    width: calc(100% - 20px);
    margin: 0 auto 0 auto;
    padding: 10px;
    padding-bottom: 30px;
    border-bottom: 1px dashed lightgray;
}
#header-panel_print2 {
    width: calc(100% - 20px);
    margin: 0 auto 0 auto;
    padding: 10px;
    padding-bottom: 0;
    border-bottom: 1px dashed lightgray;
}
#header-panel .search {
    width: 100%;
    height: 34px;
    max-width: 220px;
    display: inline-block;
}
#header-panel button {
    line-height: 16px;
    display: inline-block;
}
.header-panel-toolbar {
    width: calc(100% - 20px);
    margin: 0 auto 0 auto;
    padding: 10px 10px 30px;
    border-bottom: 1px dashed lightgray;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.header-panel-toolbar > * {
    margin: 2px;
}
#mid-panel {
    position: relative;
    width: calc(100% - 20px);
    height: auto;
    margin: 20px auto 20px auto;
    text-align: center;
}
#mid-panel > div.mp-row {
    display: flex;
    flex-direction: row;
}
#mid-panel_print2 {
    width: calc(100% - 20px);
    height: auto;
    margin: 0 auto 0 auto;
    padding: 0;
    text-align: center;
}
#bottom-panel {
    width: calc(100% - 40px);
    margin: 0 auto 0 auto;
    padding: 10px;
    padding-top: 30px;
    border-top: 1px dashed lightgray;
}
#table-special-controls {
    padding: 0 10px 5px 0;
    display: flex;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5;
    transition: opacity 0.5;
    display: flex;
}
#table-special-controls.disabled {

}
#table-special-controls div.item {
    padding: 5px 15px 5px 15px;
    border: 1px solid lightgray;
    border-bottom: 2px solid lightgray;
    border-radius: 5px;
    margin: 0 2px 0 2px;
    color: gray;
    background-color: white;
    cursor: pointer;
}
#table-special-controls div.item.disabled {
    opacity: 0.2;
}
#table-special-controls div.item:hover {
    background-color: #f2f2f2;
}
#table-special-controls div.item.global {

}

.cover {
    position: fixed;
    top: -150px;
    left: -150px;
    width: calc( 100% + 150px );
    height: calc( 100% + 150px );
    background-color: black;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
            filter: alpha(opacity=40);
      -moz-opacity: 0.4;
    -khtml-opacity: 0.4;
           opacity: 0.4;
    display: none;
}
#cover1 {
    z-index: 10;
}
#cover2 {
    z-index: 20;
}
#loader {
    margin: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 25; 
    background: transparent;
    color: white;
    text-align: center;
    font-size: 1.2em;
    display: none;
}
#alert-wrapper {
    width: 100%;
    max-width: 300px;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    display: none;
}
#alert-modal {
    width: calc(100% - 10px);
    max-width: 270px;
    padding: 10px;
    margin: 0 auto 0 auto;
    border: 1px solid lightgray;
    border-bottom: 5px solid lightgray;
    background-color: #f2f2f2;
       -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
            border-radius: 10px;
    text-align: right;
}
#alert-modal hr {
    width: 100%;
    margin: 10px 0 10px 0;
    border: none;
    border-bottom: 1px dotted lightgray;
}
#alert-modal-title {
    font-size: 0.8em;
    text-align: left;
    color: gray;
}
#alert-modal-about {
    font-size: 0.8em;
    text-align: center;
}
.modal-footer button {
    margin: 0 !important;
}

#user_form_content {
    width: 100%;
}
#user_form_content > label {
    font-size: 14px;
    font-weight: normal;
    text-indent: 5px;
    text-decoration: underline;
}
#user_form_content input {
    margin-bottom: 10px;
}

.sort-fields {
    max-width: 150px;
    display: inline;
}
.pagination {
    max-width: 80%;
    font-size: 12px;
    margin: 0 auto 0 auto;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}
.pagination li {
    display: inline-block;
}

.modal-dialog {
    max-width: 300px;
    margin: 50px auto 0 auto;
}
.modal-dialog.large {
    max-width: 1000px !important;
    width: 100% !important;
}
.modal-dialog.medium {
    max-width: 600px !important;
    width: 100% !important;
}
.modal-div-container {
    transition: all 1s;
}
#questions_container > div.input-group {
    margin-bottom: 5px;
    display: flex;
    flex-direction: row;
}
.input-group.large {
    width: 100%;
}
.input-group span.input-group-addon {
    min-width: 50px;
    font-size: 12px;
    border: 1px solid lightgray;
    border-left: 3px solid lightgray;
    border-right: 1px solid gray;
    border-bottom: 1px solid gray;
       -moz-border-radius: 0;
    -webkit-border-radius: 0;
            border-radius: 0;
    cursor: ns-resize;
    cursor: -moz-ns-resize;
    cursor: -webkit-ns-resize;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.input-group input {
       -moz-border-radius: 0;
    -webkit-border-radius: 0;
            border-radius: 0;
}
.input-group.date {
    display: flex;
}
#text_header {
    height: 300px;
    min-height: 35% !important;
}
#text_footer {
    height: 300px;
    min-height: 35% !important;
}
input[type="text"], 
input[type="password"], 
input[type="date"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="month"], 
input[type="week"], 
input[type="email"], 
input[type="number"], 
input[type="search"], 
input[type="tel"], 
input[type="time"], 
input[type="url"], 
textarea {
  -moz-box-sizing: inherit;
}
input:read-only {
    background-color: white !important;
}
.input-group-addon {
    background-color: transparent;
    border: none;
}

.table thead th{
    text-align: right;
    color: darkgrey;
}
#list-titles tr th {
    cursor: pointer;
}
#list-titles tr th:hover {
    background-color: cyan;
    color: gray;
}
.list-titles tr th {
    cursor: pointer;
}
.list-titles tr th:hover {
    background-color: cyan;
    color: gray;
}
.list-content tr {
    cursor: pointer;
}
.list-content tr:hover {
    background-color: cyan;
}
.list-content tr td {
    font-size: 13px;
    font-family: Verdana,Geneva,sans-serif;
    text-align: right;
}
.list-content tr td.phone {
    direction: ltr;
    text-align: right;
}
.list-content tr td.date {
    direction: ltr;
    text-align: right;
}
tr.single > td {
    //TODO: css;
}
.checkbox-tab {
    background-color: white !important;
}
.checkbox-tab:hover {
    background-color: white !important;
}
.checkbox.sep {
    width: calc( 100% - 10px );
    border: none;
    border-bottom: 1px solid lightgray;
    padding: 3px;
}
.checkbox > label > span {
    margin-right: 20px;
}
.form_checkbox_container {
    width: 100%;
    height: 300px;
    overflow-x: hidden;
    overflow-y: scroll;
}
.panel {
    width: calc(100% - 20px);
    margin: 0 auto 20px auto;
}
.panel-formlike {
    border: none;
    background-color: transparent;
}
#video-wrapper {
    width: calc(100% - 4px);
    max-width: 300px;
    position: relative;
    margin: 30px auto 30px auto;
    direction: ltr;
    overflow: hidden;
}
video {
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    max-width: 300px;
    max-height: 300px;
    height: 300px;
    margin: 0 auto 0 auto;
    padding: 15px 0 15px 0;
    display: block;
    border: 5px solid gray;
    border-top: none;
    border-bottom: none;
       -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
            border-radius: 12px;
}
#video-cover {
    width: calc( 100% + 40px );
    height: calc( 100% + 40px );
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: white;
    z-index: 5;
    display: none;
}
#video-cover img {
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    margin-top: -75px;
    margin-left: -75px;
}
#canvas-wrapper {
    position: absolute;
    top: -99999px;
    left: -99999px;
    overflow: hidden;
    width: 1px;
    height: 1px;
}
#canvas {
    width: 100%;
}

#buttons-wrapper {
    width: calc(100% - 20px);
    max-width: 260px;
    min-height: 50px;
    position: relative;
    margin: 0 auto 0 auto;
}
#buttons-wrapper button {
    width: 120px;
    min-width: 120px;
    position: absolute;
    top: 0;
    text-align: center;
}
#form_constrols {
    width: calc(100% - 40px);
    padding: 20px;
    margin: 0 auto 0 auto;
}
#form_constrols div#info {
    text-align: center;
    font-size: 13px;
}
#info span#info_company {
    font-size: 15px;
    font-weight: bold;
}
#info span#info_location {
    font-size: 13px;
    color: gray;
}
#info span#info_date {
    font-size: 11px;
    color: gray;
}
.datepick-changes {
    max-width: 200px;
    direction: ltr;
    display: inline-block;
    margin-bottom: 0;
    vertical-align: top;
}
.table-sort {
    margin: 0 auto 0 auto;
}
.table-sort tr th {
    text-align: center;
}
.table-sort tr td > select {
    width: 200px;
    margin: 2px;
}
.thumb-small {
    width: 100px;
}
.print_image {
    width: auto;
    height: 200px;
    display: block;
}
.print_rows td {
    width: fit-content;
    border: 1px dashed lightgray;
    border-top: none;
    border-bottom: 1px solid lightgray;
}
.print_rows td.text {
    min-width: 200px;
}
.print_rows td.date {
    direction: ltr;
}
.print_rows td.mas {
    text-align: center;
}
.print_rows td.pic {
    width:1%;
    min-width: 217px;
    white-space:nowrap;
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#print_form .modal-dialog {
    width: 400px;
    max-width: 400px;
}
.note-icon-caret {
    text-align: center !important;
    margin: 0 auto 0 auto !important;
}
.form-control2 {
    font-size: 11px;
}
.mobile-button {
    min-width: 250px;
    text-align: right;
}
.mobile-button img {
    width: 64px;
    display: inline-block;
}
.mobile-button span {
    margin-right: 10px;
}
.q_row {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid lightgray;
    border-bottom: 3px solid lightgray;
    background: #f9f9f9;
       -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
            border-radius: 10px;
}
.q_row hr {
    margin: 10px auto 15px auto;
    border-color: lightgray;
}
.q_controls {
    text-align: center;
}
.q_controls > div {
    width: 30%;
    display: inline-block;
    padding: 10px 5px 10px 5px;
    margin: 1px;    
    border: 1px solid lightgray;
    border-bottom: 2px solid lightgray;
    font-size: 14px;
}
.btn-min-width {
    min-width: 100px;
}
.btn-delete-left {
    float: left;
}
.btn-custom-default-main {
    background: #f2f2f2;
    background: -webkit-linear-gradient(#f2f2f2, white);
    background: -o-linear-gradient(#f2f2f2, white);
    background: -moz-linear-gradient(#f2f2f2, white);
    background: linear-gradient(#f2f2f2, white);
    border: 1px solid lightgray;
    border-bottom: 3px solid lightgray;
    display: inline-block;
    padding: 10px 0 10px 0;
}
.btn-custom-default-main:hover {
    border-color: gray;
}
.btn-custom-default {
    background: #f2f2f2;
    background: -webkit-linear-gradient(#f2f2f2, white);
    background: -o-linear-gradient(#f2f2f2, white);
    background: -moz-linear-gradient(#f2f2f2, white);
    background: linear-gradient(#f2f2f2, white);
}
.btn-custom-default:hover {
    border-color: #f2f2f2;
}
.btn-custom-green {
    background-color: green;
    color: white;
}
.btn-custom-green:hover {
    border-color: #f2f2f2;
}
.btn-custom-red {
    background-color: red;
    color: white;
}
.btn-custom-red:hover {
    border-color: #f2f2f2;
}
.btn-custom-orange {
    background-color: darkorange;
    color: white;
}
.btn-custom-orange:hover {
    border-color: #f2f2f2;
}
.btn-custom-cyan {
    background-color: cyan;
    color: black;
}
.btn-custom-cyan:hover {
    border-color: #f2f2f2;
}
.btn-border-left {
    -moz-border-bottom-left-radius: 10px;
    -moz-border-top-left-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}
.btn-border-right {
    -moz-border-bottom-right-radius: 10px;
    -moz-border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}
.btn-border-default {
       -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
            border-radius: 10px;
}
.q_states_switcher {
    width: calc( 80% - 22px );
    margin: 5px auto 5px auto;
    padding: 1px;
    text-align: center;
    border: 1px solid lightgray;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
            border-radius: 10px;
    color: gray;
    display: none;
}
.q_states {
    display: none;
    padding-top: 10px;
}
.q_state_row {
    margin: 0 auto 5px auto;
}
.q_state_index {
    width: 35px;
    padding: 5px;
    text-align: center;
    font-size: 11px;
    border: 1px solid lightgray;
}
.q_state_title {
    width: 80px;
    padding: 5px;
    text-align: right;
    font-size: 13px;
    border: 1px solid lightgray;
}
.q_state_date {
    width: 110px;
    padding: 5px;
    font-size: 11px;
    border: 1px solid lightgray;
    direction: ltr;
}
.q_state_control {
    width: 60px;
    padding: 5px;
    font-size: 13px;
    border: 1px dotted lightgray;
}
.q_state_control:hover {
    background-color: lightgray;
}

.log_block {
    width: calc( 100% - 20px );
    padding: 10px;
    margin: 0 auto 5px auto;
    text-align: right;
    font-size: 14px;
    border: 1px solid lightgray;
    border-bottom: 3px solid lightgray;
    background: #f2f2f2;
    background: -webkit-linear-gradient(#f2f2f2, white);
    background: -o-linear-gradient(#f2f2f2, white);
    background: -moz-linear-gradient(#f2f2f2, white);
    background: linear-gradient(#f2f2f2, white);
    border: 1px solid lightgray;
    border-bottom: 3px solid lightgray;
}
.log_block:hover {
    border-color: gray;
}
.log_company_name {
    
}
.log_location_name {
    
}
.log_template_id {
    
}
.log_date .date {
    font-size: 12px;
    display: inline-block;
    direction: ltr !important;
}
.round {
    -moz-border-radius: 10px;
 -webkit-border-radius: 10px;
         border-radius: 10px;
}
.table-row div {
    display: inline-block;
}
.tr-inspections {
    border-top: 3px solid gray !important;
    border-bottom: 5px solid lightgray !important;
    margin-bottom: 5px !important;
    background: #f2f2f2 !important;
    background: -webkit-linear-gradient(#f2f2f2, white)!important;
    background: -o-linear-gradient(#f2f2f2, white)!important;
    background: -moz-linear-gradient(#f2f2f2, white)!important;
    background: linear-gradient(#f2f2f2, white)!important;
}
.td-questions {
    font-size: 14px !important;
    font-weight: bold !important;
    text-align: center !important;
    border-bottom: 1px solid gray !important;
}
.hidden {
    display: none;
}
.state-row {
    background-color: white !important;
}
.question-row {
    background: #f2f2f2 !important;
    border-top: 1px double gray !important;
    border-bottom: 3px double gray !important;
}
.removed-row {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
        filter: alpha(opacity=20);
  -moz-opacity: 0.2;
-khtml-opacity: 0.2;
       opacity: 0.2;
}

.page-logo {
    width: calc(100% - 40px);
    margin: 5px auto 0 auto;
    /*padding: 10px;*/
    border-bottom: 3px solid gray;
    background-color: transparent;
/*    background-color: #e9e9ea;*/
    text-align: center;
}
.page-logo.element {
    width: 100%;
    padding: 10px 0 10px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.page-logo.element img {
    max-height: 100px;
}
.page-average-score {
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: flex-end;
    padding-top: 5px;
}
.page-average-score .page-meter {
    position: relative;
    width: 167px;
    height: 92px;
}
.page-average-score .page-meter img.meter {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.page-average-score .page-meter img.arrow {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateZ(0deg);
}

.table-inspection {
    width: calc( 100% );
    border: 1px solid gray;
    background-color: lightgray;
    border-color: gray;
    display: inline-block;
    text-align: right;
    margin: 10px 0 10px 0;
    padding: 5px 0 5px 0;
}
.table-inspection > div {
/*    padding: 10px;
    border-right: 1px solid gray;*/
    display: inline-block;
    white-space:nowrap;
    vertical-align: middle !important;
}
.table-inspection .index{
    width: auto;
    width: calc( 5% ) !important;
    padding: 5px;
    text-align: center;
    border-left: 1px solid gray;
}
.table-inspection .template {
    max-width: 290px !important;
    padding: 5px 20px 5px 20px;
    border-left: 1px solid gray;
}
.table-inspection .location {
    width: auto;
    max-width: 290px !important;
    padding: 5px 20px 5px 20px;
}
.table-inspection .date {
    width: 120px !important;
    padding: 5px;
    text-align: center;
    border-left: 1px solid gray;
}
.table-inspection .score {
    max-width: 290px !important;
    padding: 5px 20px 5px 20px;
    border-right: 1px solid gray;
    float: left;
}

.table-question {
    width: calc( 100% );
    border: 1px solid lightgray;
    background-color: #f2f2f2;
    border-color: lightgray;
    display: inline-block;
    text-align: right;
    margin-top: 2px;
    padding: 5px 0 5px 0;
}
.table-question > div {
/*    padding: 10px;
    border-right: 1px solid lightgray;*/
    display: inline-block;
    /*white-space:nowrap;*/
    vertical-align: middle !important;
}
.table-question .title {
    width: calc( 100% - 32px ) !important;
    padding-right: 10px;
    border-right: 1px solid lightgray;
}
.table-question .status {
    width: 30px !important;
    text-align: center;
}

.table-state {
    width: calc( 100% );
    border: 1px solid lightgray;
    background-color: white;
    border-color: lightgray;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: nowrap;
    text-align: right;
    margin: 0;
    margin-top: 1px;
}
.table-state > div {
/*    padding: 10px;
    border-right: 1px solid lightgray;*/
    display: inline-block;
    white-space:nowrap;
    vertical-align: top !important;
    padding: 5px 0 5px 0;
}
.table-state .date {
    width: 180px !important;
    min-width: 180px !important;
    font-size: 13px;
    text-align: right;
    text-indent: 7px;
    padding-left: 10px;
}
.table-state .note {
    /*width: calc( 100% - 400px );*/
    width: 169px !important;
    border-right: 1px solid lightgray;
    text-align: right;
    padding: 5px;
    white-space: normal;
}
.table-state .status {
    width: 109px !important;
    border-right: 1px solid lightgray;
    text-align: center;
}
.table-state .picture {
    width: 430px !important;
    padding: 10px 0 10px 0;
    border-right: 1px solid lightgray;
    white-space: nowrap;
    text-align: left;
}
.table-state .picture img {
    height: 100%;
    display: inline-block;
    padding: 10px;
}
#form-print-template-header {
    /*min-width: 600px !important;*/
}
#form-print-template-footer {
    min-width: 100%;
}

.checkbox-wrapper {
    width: min-content;
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 25px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.checkbox-wrapper input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 5px;
}
.checkbox-wrapper:hover input ~ .checkmark {
    background-color: #ccc;
}
.checkbox-wrapper input:checked ~ .checkmark {
    background-color: #2196F3;
}
.checkbox-wrapper input:checked ~ .checkmark.main {
    background-color: #25a5bd;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.checkbox-wrapper input:checked ~ .checkmark:after {
    display: block;
}
.checkbox-wrapper .checkmark:after {
    left: 10px;
    top: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.checkbox-wrapper input:indeterminate~.checkmark {
    background: #25a5bd;
}
.checkbox-wrapper input:indeterminate~.checkmark:before {
    content: ' ';
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    margin: 0 auto 0 auto;
    transform: translate(0, -50%);
    width: 50%;
    height: 3px;
    background: white;
}
.checkbox-wrapper.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.checkbox-wrapper .intermediate:after {
    left: 5px;
    top: 2px;
    width: 0;
    height: 9px;
    border: solid white;
    border-width: 0 0 6px 3px;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.tpl-ivalue {
    width: 100px !important;
    text-align: center;
    overflow: hidden;
}