﻿* {
    box-sizing: border-box;
}

html {
    background: #e2e2e2;
}

    html.pdf {
        background: white;
    }

body {
    background: white;
    width: 1280px;
    margin: 0 auto;
}

    body.pdf {
        border: none;
        font-family: Arial;
        font-size: 14px;
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 0;
        margin-bottom: 0;
        padding-top: 0;
    }

header {
    background: url("../Images/iff_logo.png");
    background-size: auto 50px;
    background-position: top 10px right 20px;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 20px;
    padding-left: 20px;
}

    header.pdf {
        margin-top: 20px;
        height: 60px;
        background: url("../Images/iff_logo.png");
        background-size: auto 50px;
        background-position: top right;
        background-repeat: no-repeat;
        position: relative;
    }

        header.pdf h3 {
            position: absolute;
            bottom: 0;
            margin: 0;
        }

        header.pdf h4 {
            position: absolute;
            bottom: 2px;
            left: 200px;
            margin: 0;
        }

.search-box {
    width: 380px;
    position: absolute;
    top: 26px;
    left: 475px;
}

fieldset {
    margin-bottom: 20px;
}
.pdf fieldset {
    margin-bottom: 0px !important;
}

table.at {
    width: 100%;
    border-collapse: collapse;
}

    table.at table {
        border: 0;
    }

body.pdf table.at table {
    border: 1px solid;
}

table.at td, table.at th {
    padding: 2px;
    border-bottom: 1px solid #e6e6e6;
    vertical-align: top;
}

body.pdf table.at td, body.pdf table.at th {
    padding: 0 0 0 3px;
    border: 1px solid;    
}

table.at td{
    
}

table.at th {
    font-weight: normal;
}

table.at input {
    width: 100%;
}

.section {
    background: #eeeeee !important;
    width: 30px;
}

.blue-header {
    font-weight: bolder;
    background: #8EC1FB;
}
.center{
    text-align:center;
}


.yellow-header {
    font-weight: bolder;
    background: #FDF48C;
}

.green-header {
    background: #74FF64;
}

.fill {
    width: 100%;
}

.half {
    width: 50%;
    vertical-align: top;
}

.third {
    width: 33%;
}

body.pdf table.at td.nopadding,
table.at td.nopadding {
    padding: 0;
    border: 0;
}

.dun {
    width: 90px;
}
.yesno {
    width: 30px;
}

.check-container {
    width: 30px;
    text-align: center;
}
    .check-container.check-green input[type="checkbox"]:not(:checked) {
        display: none;
    }



.field-validation-error {
    display: none;
}


.attachments-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .attachments-list li {
        height: 25px;
    }

        .attachments-list li a.btn {
            margin-right: 10px;
        }


.green {
    /*color: darkgreen;*/
    background-color: rgb(231, 250, 231);
}

.red {
    /*color: red;*/
    background-color: rgb(255, 229, 229);
}

.check-green {
    background-color: rgb(231, 250, 231);
}

.check-red {
    background-color: rgb(255, 229, 229);
}


/* Boostrap Overrides */
.table-hover tbody tr:hover > td {
    cursor: pointer;
    cursor: hand;
}


.dateTimePicker {
    width: 180px;
}

.date-picker-cell {
    width: 180px;
}

.datePicker {
    /*width: 120px;*/
}
#login {
    padding-bottom: 10px;
}

.btn-header {
    font-size: 10px;
}

.title {
    margin-bottom: 30px;
    text-decoration: underline;
}

.sja-table >thead>tr> th{
    background-color: lightgray;
    text-align: center;
    vertical-align: middle;
    font-size: 10px;
    font-weight: bold;
}
.sja-table input {
    max-width: 50px;
}

.ctable{ 
    width: 100%;
    display: table;
    border-collapse: collapse;
}
.ctable-tr-head {
    display: table-header-group;
    background-color: gray;
    font-weight: bold;
    font-size: 25px;
}
.ctable-th {
    display: table-cell;
    padding: 10px;
    text-align: justify;

    background-color: lightgray;
    text-align: center;
    vertical-align: middle;
    font-size: 10px;
    font-weight: bold;
    overflow-x: hidden;
    width: 100%;
}

.ctable-tbody {
    display: table-row-group;
}
.ctable-tr {
    display: table-row;
}

.ctable-td {
    display: table-cell;
    vertical-align: top;
    padding: 2px;
    border: black 1px solid;
}


 .ctable-td-s input,.ctable-td-s > * {
     max-width: 75px;
     min-width:99%;
     margin:2px 0px 2px 0px;


}
 .ctable-td-m input,.ctable-td-m > *{
     max-width: 75px;
     min-width:99%;
     margin:2px
}
 .ctable-td-l input,.ctable-td-l > *{
     max-width: 150px;
     min-width: 150px;
     margin:2px;
}

 .ctable textarea{ resize: none;}
 .ctable input {
      height: 54px;
     vertical-align: top;
 }

.ctable textarea {
    height: 54px;
    vertical-align: top;
    padding-left: 3px;
    padding-right: 3px;
}

 .ctable input.datePicker {
     height: 48px;
 }
 .ctable input.datePicker.input-validation-error {
     border: 1px solid #e80c4d !important;
 }
    .ctable input.datepicker::-ms-clear, .ctable input.datepicker::-ms-reveal {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
        max-width: 150px !important;
        min-width: 150px !important;
    }

 .ctable .k-datepicker {
     height: 54px;
     vertical-align: top;
     margin: 1px;
     width:120px !important;
 }

 .ctable button {
     width: 100%;
     height: 54px;
     vertical-align: top;
 }
.ctable .twobuttons button {
    width: 100%;
    height: 49%;
    vertical-align: top;
}
 .ctable select{
     vertical-align: top;
     height: 54px;
     margin-top: 2px;}

 .content-wrapper {
     max-width: 1200px;
 }

 .pure-red {
     background-color: red !important;
 }
 .pure-yellow {
     background-color: yellow !important;
 }
 .pure-green {
     background-color: green !important;
 }

 .select-colorized {
     color: black !important;
     font-weight: bold;
 }

 .alarm-phone {
     color: red;
 }
 .phone-title {
     text-align: right;
     margin-top: 5px;
 }

 .phone-title > label {
     font-size: 11px;
 }
 .phone-section {
     margin: 20px 10px;
 }
 .phone-section .col-sm-1 {
     width: 10%; 
 }
.phone-section .col-sm-2 {
    width: 17%
}
 .phone-header {
     /*text-align: center;*/
     color: gray;
     margin-top: 20px;
 }

 .phone-input {
     text-align: center;
        margin: 5px;
     width: 100%;
 }
 .phone-input-header {
     text-align: right;
     width: 100%;
 }
 .alarm-phone-number {
     height: 65px;
     font-size: 30px;
     margin:0.67em 0;
     margin-top: 20px;
     margin-bottom: 10px;
     display: block;
 }
 .info-tag-wrapper {
     position: relative;
     float: left;
     height: 100%;
 }
 .info-tag {
     color: blue;

 }
 .info-tag:hover {
     cursor: pointer
 }
 .clickable:hover {
     cursor: pointer;
 }
#consequence-modal-content {
    font-size: smaller
}
 #consequence-modal-content h4{
     font-weight: bold;
     text-decoration: underline;
     font-size: medium;
 }
 #consequence-modal-content p{
     margin-top: -10px;
     font-style: italic;
 }
 .regular-value {
     font-weight: normal;
     font-style: italic
 }

 .consequence-table th {
     background-color: lightgray;
 }

 .consequence-table td {
     border: lightgray 1px solid;
   
 }
 
 .consequence-table tbody tr td:first-child {
     font-weight: bold;
 }

#extra{
    width: 720px;
     font-size: 10px !important;
 }

.normal-label {
    font-weight: normal;
}

.sja section{
    margin-bottom: 50px !important;
}

ul#menu li a.active{
    font-weight: bold;
    text-decoration: underline;
    color: black;
}
ul#menu li a:hover {
    text-decoration: underline;
}
.ctable-body-display .ctable-td {
    border: black 1px solid;
}
.ctable-body-display .ctable-td {
    padding: 2px;
}
.ctable-th {
    width: auto;
}

.ctable-th.datefield {
    width:10%;
}
.ctable-th-pdf.action,.ctable-th-pdf.activity,.ctable-th-pdf.dangers {
    width:20%;
}

.pdf-section {
    margin-top: 20px;
}
.matrix-image {
    text-align: center;
    width: 500px;
}
.sja-pdf fieldset {
    padding-left: 40px;
    padding-right: 40px;
    page-break-inside: avoid;
}
.sja-pdf fieldset .checklist-table {
    font-size: 0.9em
}
.sja-pdf fieldset .checklist-table h3 {
    font-size: 1.6em;
    margin-top: 3px;
    margin-bottom: 3px;
}

.title-pdf {
    text-align: center;
    position: relative;
}

.title-pdf img {
    
    height: 80px;
    padding: 10px;
    position: absolute;
    left: 0;
}
.title-pdf h1 {
    padding-top: 30px;
    padding-bottom: 15px;
    right: -1px;
}

@media (min-width: 768px){}
         #signature-section .col-sm-4 {
             width: 32%;
         }

.signature-member {
    height: 32px;
    background-color: #efefef;
    margin:3px;
    padding: 8px;
}
#signature {
    padding-top: 50px;
}
#signature-header {
    text-align: right;
}
#signature-manager {
    position: relative;
    width: 150px;
    right: 42px;
}
#signature-manager-title {
    position: absolute;    
    left: 15px;
    width: 200px;
    top: 15px;
}
textarea.input-validation-error {
    border-color: red;
}

.env {
    min-width: 110px;
}
.risk1 {
    min-width: 50px;
}
.risk2 {
    min-width: 75px;
}
.edit-sja{
    
}

.red-text{
    color: red;
}
.logo {
    background-image: url('/Images/iff_logo.png'); background-size: auto 50px; display: block; text-indent: -999px; overflow: hidden; background-repeat: no-repeat; width: 190px; height: 55px;background-position: top left
}
.concequence  {
    min-width: 60px;
    max-width: 60px;
}
.frequency {
    min-width: 60px;
    max-width: 60px;
}

.checklist-table{width: 100%}

.checklist-table th,.checklist-table td{
    border: 1px solid black;
    padding: 5px !important;
}
.sja-pdf td {
    padding: 1px !important;
}

.checklist-table th {
    background-color: #00B0F0;
    color: white;
    padding: 10px;
}
.checklist-table th h3{
    margin: 10px;
}
.checklist-table th h5{
    margin: 10px;
    margin-top: 0;
}

.checklist-checker th:not(:first-child), 
.checklist-checker td:not(:first-child){
    text-align: center;
    min-width: 40px;
}
.checklist-checker input {
    width: 20px;
    height: 20px;
}
.checklist-checker .input-validation-error {
    border: 1px solid #e80c4d !important;
}
.checklist-info td:first-child {
    background-color: #00B0F0 !important;
    width: 150px !important;
    font-weight: bold;
    color: white;
}
.error-message {
    color: red;
    
}
input::-ms-clear {
    display: none !important;  
}
.footerInfo {
    font-size: 12px;
    color: #999;
    text-decoration: none;
    text-align: right;
}
/*.table-sortable th {
    background-image: url(../images/table-sortable.png);
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 10px 15px;
    padding-right: 30px;
}

.table-sortable th.headerSortUp,
.table-sortable th.headerSortDown {
    background-color: #e6f2d8;
    background-size: 10px 6px;
}

.table-sortable th.headerSortUp {
    background-image: url(../images/table-sortable-up.png);
}

.table-sortable th.headerSortDown {
    background-image: url(../images/table-sortable-down.png);
}*/

