﻿
html {
    overflow-x: hidden;
}

body {
    background-color: #f4f4f4 !important;
}


.login-wrapper {
    display: block;
    background: url(../Content/images/scx_background.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%;
}

.imglogo {
    width: 350px;
    max-height: 100%;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.btn-scx {
    background-color: #003d62;
    color: #FFF;
}

    .btn-scx:active {
        background-color: #003d62 !important;
        color: #FFF !important;
    }

    .btn-scx:focus {
        background-color: #003d62 !important;
        color: #FFF !important;
    }

    .btn-scx:hover {
        color: #FFF;
    }

#login {
    padding-top: 200px;
}

.content {
    width: 100%;
}

.buffer-top {
    margin-top: 30px;
}

table {
    background-color: #FFF;
}

th.active {
    background-color: #FFF;
}

tr.active {
    background-color: #FFF;
}

.table-data {
    margin-top: 15px;
    background-color: #FFF;
    padding: 15px;
}

.form-group {
    z-index: 0;
}

nav {
    background-color: #003d62;
    display: block;
    margin: 0 auto;
    overflow: hidden;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 10px;
    padding-bottom: 10px;
    -webkit-box-shadow: 0 5px 5px 1px #CDD1D6;
    box-shadow: 0 5px 5px 1px #CDD1D6;
    z-index: 9999;
}

    nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
        z-index: 9999;
    }

        nav ul li {
            background-color: #003d62;
            margin: 0;
            display: inline-block;
            list-style-type: none;
            transition: all 0.2s;
            z-index: 9999;
        }

    nav > ul > li > a {
        color: #FFF;
        display: block;
        line-height: 2em;
        padding: 0.5em 2em;
        text-decoration: none;
        border-bottom: 1px solid #003d62;
        z-index: 9999;
    }

        nav > ul > li > a:hover {
            text-decoration: none !important;
            color: #FFF;
        }

    nav ul li a:hover {
        color: #FFF;
    }

    nav li > ul {
        display: none;
        background-color: #003d62;
        z-index: 9999;
    }

        nav li > ul li {
            z-index: 9999;
            display: block;
        }

            nav li > ul li a {
                color: #FFF;
                display: block;
                line-height: 2em;
                padding: 0.5em 2em;
                text-decoration: none;
                z-index: 9999;
            }

    nav li:hover {
        text-decoration: none;
    }

    nav li a:hover {
        text-decoration: none;
    }

    nav li:hover > ul {
        position: absolute;
        display: block;
        z-index: 9999;
    }

    nav li > ul > li ul {
        display: none;
        z-index: 9999;
    }

    nav li > ul > li:hover > ul {
        position: absolute;
        display: block;
        margin-left: 100%;
        margin-top: -3em;
        z-index: 9999;
    }

    nav ul > li.sub {
        background: url(Images/ic_keyboard_arrow_down_white_18dp.png) right center no-repeat;
    }

.hovered::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #FFF;
    transition: width .2s;
    z-index: 9999;
}

.hovered:hover::after {
    width: 100%;
}

nav ul li a i {
    padding-right: 10px;
}

.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #FFF;
    transition: width .2s;
}

nav ul li a:visited {
    color: #fff;
    text-decoration: none;
}

.content {
    width: 80%;
    margin: 0 auto;

    font-size: 0.9em;
    z-index: -1;
}

.page-header {
    width: 100%;
    background-color: white;
    padding: 10px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    font-family: 'Open Sans', sans-serif;
}

    .page-header i {
        margin-right: 15px;
        margin-left: 15px;
    }

.search-filters {
    margin-top: 20px;
    width: 100%;
    background-color: white;
    padding: 20px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    font-family: 'Open Sans', sans-serif;
}

    .search-filters i {
        margin-right: 15px;
        margin-left: 15px;
    }

    .search-filters .search-items {
        margin-top: 20px;
    }


.flat-table {
    margin-bottom: 20px;
    border-collapse: collapse;
    font-family: 'Lato', Calibri, Arial, sans-serif;
    border: none;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    width: 100%;
}

    .flat-table th, .flat-table td {
        box-shadow: inset 0 -1px rgba(0,0,0,0.25), inset 0 1px rgba(0,0,0,0.25);
    }

    .flat-table th {
        background-color: #003d62; 
        color: #FFF;
        font-weight: normal;
        -webkit-font-smoothing: antialiased;
        padding: 1em;
        text-shadow: 0 0 1px rgba(0,0,0,0.1);
        font-size: 1.2em;

        text-align: center;
    }

    .flat-table td {
        padding: 0.7em 1em 0.7em 1em;
        text-shadow: 0 0 1px rgba(255,255,255,0.1);
        font-size: 1em;
    }

    .flat-table tr {
        -webkit-transition: background 0.3s, box-shadow 0.3s;
        -moz-transition: background 0.3s, box-shadow 0.3s;
        transition: background 0.3s, box-shadow 0.3s;
    }


.flat-table-1 tr:hover {
    background: #003d62;
}


.table-column-toggler-control {
    float: right;
    margin-bottom: 10px;
    height: 30px;
    padding: 3px 8px;
    border: 1px solid #999;
    color: black !important;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 1px 1px 3px #ccc;
    -moz-box-shadow: 1px 1px 3px #ccc;
    -ms-box-shadow: 1px 1px 3px #ccc;
    -o-box-shadow: 1px 1px 3px #ccc;
    box-shadow: 1px 1px 3px #ccc;
    background: #ffffff;
    background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%);
    background: -moz-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%);
    background: -ms-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%);
    background: -o-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%);
    background: linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=0 );
}

    .table-column-toggler-control button {
        border: none;
        background: none;
    }

    .table-column-toggler-control:after {
        clear: both;
    }

    .table-column-toggler-control .dropdown-menu {
        padding: 10px;
    }

    .table-column-toggler-control .dropdown-item {
        width: 250px;
        margin-bottom: 7px;
        height: 30px;
        border: 1px solid #999;
        color: black !important;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        -ms-border-radius: 2px;
        -o-border-radius: 2px;
        border-radius: 2px;
        -webkit-box-shadow: 1px 1px 3px #ccc;
        -moz-box-shadow: 1px 1px 3px #ccc;
        -ms-box-shadow: 1px 1px 3px #ccc;
        -o-box-shadow: 1px 1px 3px #ccc;
        box-shadow: 1px 1px 3px #ccc;
        background: #ffffff;
        background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%);
        background: -moz-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%);
        background: -ms-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%);
        background: -o-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%);
        background: linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=0 );
    }

        .table-column-toggler-control .dropdown-item:last-child {
            margin-bottom: 0px !important;
        }

        .table-column-toggler-control .dropdown-item input[type="checkbox"] {
            margin-top: 7px !important;
            margin-left: 5px !important;
        }

    .table-column-toggler-control .checkbox-text {
        margin-left: 10px !important;
        margin-top: 5px !important;
    }


table.table thead .sorting,
table.table thead .sorting_asc,
table.table thead .sorting_desc,
table.table thead .sorting_asc_disabled,
table.table thead .sorting_desc_disabled {
    cursor: pointer;
    *cursor: hand;
}

table.table thead .sorting {
    background: url('../Content/Images/sort_both.png') no-repeat center right;
}

table.table thead .sorting_asc {
    background: url('../Content/Images/sort_asc.png') no-repeat center right;
}

table.table thead .sorting_desc {
    background: url('../Content/Images/sort_desc.png') no-repeat center right;
}

table.table thead .sorting_asc_disabled {
    background: url('../Content/Images/sort_asc_disabled.png') no-repeat center right;
}

table.table thead .sorting_desc_disabled {
    background: url('../Content/Images/sort_desc_disabled.png') no-repeat center right;
}

table.dataTable th:active {
    outline: none;
}

.pagination-container {
    float: right;
}

.pagination {    
    float: right;
}

.pagination > li {
    display: inline-block;
}


.loader {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sk-folding-cube {
    margin: 0px auto;
    margin-top: 5px;
    width: 10px;
    height: 10px;
    position: relative;
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}

    .sk-folding-cube .sk-cube {
        float: left;
        width: 50%;
        height: 50%;
        position: relative;
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }

        .sk-folding-cube .sk-cube:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #FFF;
            -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
            animation: sk-foldCubeAngle 2.4s infinite linear both;
            -webkit-transform-origin: 100% 100%;
            -ms-transform-origin: 100% 100%;
            transform-origin: 100% 100%;
        }

    .sk-folding-cube .sk-cube2 {
        -webkit-transform: scale(1.1) rotateZ(90deg);
        transform: scale(1.1) rotateZ(90deg);
    }

    .sk-folding-cube .sk-cube3 {
        -webkit-transform: scale(1.1) rotateZ(180deg);
        transform: scale(1.1) rotateZ(180deg);
    }

    .sk-folding-cube .sk-cube4 {
        -webkit-transform: scale(1.1) rotateZ(270deg);
        transform: scale(1.1) rotateZ(270deg);
    }

    .sk-folding-cube .sk-cube2:before {
        -webkit-animation-delay: 0.3s;
        animation-delay: 0.3s;
    }

    .sk-folding-cube .sk-cube3:before {
        -webkit-animation-delay: 0.6s;
        animation-delay: 0.6s;
    }

    .sk-folding-cube .sk-cube4:before {
        -webkit-animation-delay: 0.9s;
        animation-delay: 0.9s;
    }

@-webkit-keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    }

    25%, 75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
        transform: perspective(140px) rotateX(0deg);
        opacity: 1;
    }

    90%, 100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
    }
}

@keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    }

    25%, 75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
        transform: perspective(140px) rotateX(0deg);
        opacity: 1;
    }

    90%, 100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
    }
}



.sub-page-close {
    position: absolute;
    color: #003d62;
    font-size: 3em;
    cursor: pointer;
    right: 50px;
    top: 20px;
    z-index: 9999;
}

.sub-page-content {
    height: 100%;
    padding: 50px;
    overflow-y: auto;
}

.edit-link {
    color: #003d62;
    cursor: pointer;
}

.help-block-error {
    color: red;
}

.nav-state {
    background-color: #003d62;
    border: 1px solid #FFF;
    cursor: pointer;
}

.nav-state:hover {
    cursor: default !important;
}

.user-contract {
    background-color: #f4f4f4;
    text-align: center;
    border: 1px #D9D7D7 solid;
    height: 120px;
    margin-bottom: 10px;
}

.popover {
    min-width: 400px; /* optional max width */
    width: intrinsic; /* Safari/WebKit uses a non-standard name */
    width: -moz-max-content; /* Firefox/Gecko */
    width: -webkit-max-content; /* Chrome */
}


.basket-list {
    overflow-y:scroll;
    max-height: 300px;
}

.row-seperator {
    border-bottom: 1px solid #dedcdc;
    padding-bottom: 5px;
    margin-right: 10px;
}

.button-options {
    margin-top: 10px;
}

.sk-folding-cube {
  margin: 0px auto;
  margin-top: 5px;
  width: 10px;
  height: 10px;
  position: relative;
  -webkit-transform: rotateZ(45deg);
          transform: rotateZ(45deg);
}

.sk-folding-cube .sk-cube {
  float: left;
  width: 50%;
  height: 50%;
  position: relative;
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1); 
}
.sk-folding-cube .sk-cube:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FFF;
  -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
          animation: sk-foldCubeAngle 2.4s infinite linear both;
  -webkit-transform-origin: 100% 100%;
      -ms-transform-origin: 100% 100%;
          transform-origin: 100% 100%;
}
.sk-folding-cube .sk-cube2 {
  -webkit-transform: scale(1.1) rotateZ(90deg);
          transform: scale(1.1) rotateZ(90deg);
}
.sk-folding-cube .sk-cube3 {
  -webkit-transform: scale(1.1) rotateZ(180deg);
          transform: scale(1.1) rotateZ(180deg);
}
.sk-folding-cube .sk-cube4 {
  -webkit-transform: scale(1.1) rotateZ(270deg);
          transform: scale(1.1) rotateZ(270deg);
}
.sk-folding-cube .sk-cube2:before {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}
.sk-folding-cube .sk-cube3:before {
  -webkit-animation-delay: 0.6s;
          animation-delay: 0.6s; 
}
.sk-folding-cube .sk-cube4:before {
  -webkit-animation-delay: 0.9s;
          animation-delay: 0.9s;
}
@-webkit-keyframes sk-foldCubeAngle {
  0%, 10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
            transform: perspective(140px) rotateX(-180deg);
    opacity: 0; 
  } 25%, 75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
            transform: perspective(140px) rotateX(0deg);
    opacity: 1; 
  } 90%, 100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
            transform: perspective(140px) rotateY(180deg);
    opacity: 0; 
  } 
}

@keyframes sk-foldCubeAngle {
  0%, 10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
            transform: perspective(140px) rotateX(-180deg);
    opacity: 0; 
  } 25%, 75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
            transform: perspective(140px) rotateX(0deg);
    opacity: 1; 
  } 90%, 100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
            transform: perspective(140px) rotateY(180deg);
    opacity: 0; 
  }
}

.user_cert {
    margin: 10px;
    padding: 10px;
    -webkit-box-shadow: 1px 1px 1px 1px #B3B3B3;
    box-shadow: 1px 1px 1px 1px #B3B3B3;
    background: #eee;

    cursor: pointer;
}

.user_cert_text {
    float: left;
}

.user_cert_status {
    float: right;
    font-style: italic;
}

.user_cert_active {
    background-color: lightgreen;
}

.user_cert_mandatory {
    border: 2px solid red;
}

.question {
    margin-top: 10px;
    padding: 5px;
    padding-right: 10px;
    padding-left: 10px;

    /*width: 50%;
    float: left;*/

    /*width: 50%;
    display: inline-block;*/
}

.columns {
    display: table;
}

.question::after {
    clear: both;
}

.question-text {
    float: left;
}

.question-options {
    margin-left: 15px;
    float: right;

    margin-bottom: 5px;
}

.question-radio input {
    margin-left: 10px;
}

.question-pass {
    background-color: green !important;
    color: white;
}

.question-fail {
    background-color: red !important;
    color: white;
}

.question-pass:focus {
    outline: 0;
}

.question-fail:focus {
    outline: 0;
}

.question-pass:hover {
    color: white;
}
.question-pass:active {
    color: white;
}
.question-fail:hover {
    color: white;
}

.question-fail:active {
    color: white;
}

.btn-inactive {
    background-color: #dddddd;
}

.unselected {
    -webkit-filter: grayscale(100%);
}
.summary-container {
    width: 100%;
    background-color: red;
    box-sizing: border-box;
}

.summary-outer {
    float: left;
    width: 25%;
    padding: 25px;
}

.summary {
    height: 120px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
    color: white;
}

    .summary i {
        line-height: 120px;
        margin-left: 25px;
        float: left;
    }

.summary-info {
    text-align: center;
    height: 100%;
    padding-top: 10px;
}

    .summary-info .info {
        font-size: 2em;
    }

    .summary-info .amount {
        font-size: 3.5em;
        font-weight: bold;
    }

.summary-passed {
    background-color: #1ABB9C;
}

.summary-failed {
    background-color: #E74C3C;
}

.summary-missing {
    background-color: #9B59B6;
}

.summary-total {
    background-color: #3498DB;
}

._720kb-datepicker-calendar-month span {
    color: white !important;
}

._720kb-datepicker-calendar-years-pagination a, ._720kb-datepicker-calendar-years-pagination a:hover {
    color: white !important;
}

[ng-click],
[data-ng-click],
[x-ng-click] {
    cursor: pointer;
}


.ng-pageslide {
    background: #FFF;
    -webkit-box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);

    position: relative;
}

body.ng-pageslide-body-open::before {
    content: '.';
    display: block;
    position: absolute;
    top: 0;
    background-color: rgb(0,0,0);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.2;
    transition: opacity 1s;
    opacity: 0.2;
    pointer-events: all;
}

body.ng-pageslide-body-closed::before {
    transition: opacity 1s;
    content: '.';
    display: block;
    position: absolute;
    top: 0;
    background-color: rgb(0,0,0);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

body.ng-pageslide-body-open div:first-child {
    height: 100%;
}

#container1, #container2 {
    width: 100%;
    height: 20rem;
    border: 1px solid lightGrey;
}

/* ------------------------------------ */
/* FIELD MANAGEMENT */
/* ------------------------------------ */ 
.fields-container {
    background-color: #FFF;
    padding: 15px;
}

.flex-table {
    width: 100%;
}


    .flex-table tr th {
        border-bottom: 2px solid #000;
        font-weight: bold;
        font-size: 14px;
        flex-grow: 1;
        padding: 10px;
    }

    .flex-table tr td {
        padding: 10px;
        background-color: #f4f4f4;
        border-bottom: 3px solid #FFF;
    }

    .flex-table tr td i {
        font-size: 1.4em;
    }

        /*.flex-table tr:hover td {
            background-color: #003d62 !important;
            color: #FFF;
            cursor: pointer;
        }*/
       
    .add-field-container input, .add-field-container label {
        display: inline-block;
        width: auto;
        margin-right: 10px;
    }

.remove-field {
    color: red;
    text-align: center;
    cursor: pointer;
}

/* ------------------------------------ */
/* QUESTION MANAGEMENT */
/* ------------------------------------ */
.approval-item {
    padding: 10px;
    background-color: #f4f4f4;
    border-bottom: 3px solid #FFF;

    display: flex;
    align-items: center;
}

.approval-item span:first-child {
    flex: 1;
}