﻿
html {
    margin: 0px;
    padding: 0px;
    height: 100%;
}

body {
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    background-color: #E6E6E6;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px !important;
    padding-right: 15px;
    padding-bottom: 60px;
}

#wrapper {
    border: 1px solid #cccccc !important;
    margin: 0 auto;
    padding: 0px;
    min-height: 100%;
    position: relative;
    background-color: white;
}


#header {
    border-bottom: 2px solid #4cac27;
    background-color: #eee;
    min-height: 60px;
}

#title-bar {
    padding: 5px 5px 5px 15px;
}

a {
    color: #3f649f;
}
a:hover {
    color: #4cac27;
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 35px; /* Height of the footer */
    background-color: #2d3963;
    color: #fff;
    font-size: 0.8rem;
}

#footer-content {
    margin: 0.5rem 1rem 0.5rem 1rem;
}

#footer-content .goog-te-gadget, #footer-content .goog-logo-link {
    color: #fff;
}

#footer-content select {
    color: #333333;
}

th {
    background-color: #2d3963;
    color: #fcfcfc;
    padding-top: 5px !important;
    padding-bottom: 2px !important;
}

th a {
    color: #fcfcfc;
}

.table td {
    padding: 0.25rem; /* override bootstrap cell padding */
}

/* this is to overcome what looks like a bug in bs*/
.popover {
    opacity: 1;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

.subsidiary-logo {
    max-width: 100px;
}

.SurveyQuestions {
    max-width: 100% !important;
}

.SupplierDetails {
    border-right: thick solid #729539;
}

.verticaltext {
    width: 100px;
    padding-top: 50px;
    padding-bottom: 40px;
    background-color: #dcdcdc;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(90deg);
    transform: rotate(-90deg);
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}

.ajax-progress {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    height: 100%;
    width: 100%;
    background-color: Black;
    filter: alpha(opacity=60);
    opacity: 0.6;
    -moz-opacity: 0.8;
}

.ajax-progress .center {
    z-index: 1000;
    margin: 300px auto;
    padding: 10px;
    width: 130px;
    background-color: White;
    border-radius: 10px;
    filter: alpha(opacity=100);
    opacity: 1;
    -moz-opacity: 1;
}

.WhiteText, .WhiteText a {
    color: #ffffff !important;
}
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
}

.dt-buttons {
    float: left;
}

.pagination {
    margin: 5px 0;
}

.glyphicon.fast-right-spinner {
    -webkit-animation: glyphicon-spin-r 1s infinite linear;
    animation: glyphicon-spin-r 1s infinite linear;
}

@-webkit-keyframes glyphicon-spin-r {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.modal-backdrop {
    opacity: 0.5 !important;
}

/*Helper classes*/
.c-pointer {
    cursor: pointer;
}

.op-75 {
    opacity: 0.75;
}

.break-word {
    word-break: break-word;
}

.p-10 {
    padding: 10px;
}

.m-auto {
    margin: auto;
}

.ml-0 {
    margin-left: 0px;
}

.ml-10 {
    margin-left: 10px;
}

.ml-20 {
    margin-left: 20px;
}

.mr-10 {
    margin-right: 10px;
}

.mr-20 {
    margin-right: 20px;
}

.mt-1 {
    margin-top: 1px;
}

.mt-2 {
    margin-top: 2px;
}

.mt-3 {
    margin-top: 3px;
}

.mt-4 {
    margin-top: 4px;
}

.mt-5 {
    margin-top: 5px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-100 {
    margin-top: 100px;
}

.w-100p {
    width: 100%;
    max-width: 100%;
}

.mw-100p {
    max-width: 100%;
}

.mw-75p {
    max-width: 75%;
}

.mw-50p {
    max-width: 50%;
}

.mw-25p {
    max-width: 25%;
}

.mw-50 {
    max-width: 50px;
}

.mw-75 {
    max-width: 75px;
}

.mw-100 {
    max-width: 100px;
}

.mw-200 {
    max-width: 200px;
}

.mw-300 {
    max-width: 300px;
}

.mw-400 {
    max-width: 400px;
}

.mw-500 {
    max-width: 500px;
}

.mw-600 {
    max-width: 600px;
}

.mw-700 {
    max-width: 700px;
}

.mw-800 {
    max-width: 800px;
}

.mw-1000 {
    max-width: 1000px;
}

.mw-1200 {
    max-width: 1200px;
}

.w-25 {
    width: 25px;
}

.w-50 {
    width: 50px;
}

.w-100 {
    width: 100px;
}

.w-150 {
    width: 150px;
}

.w-200 {
    width: 200px;
}

.w-300 {
    width: 300px;
}

.w-400 {
    width: 400px;
}

.w-500 {
    width: 500px;
}

.w-600 {
    width: 600px;
}

/* navbar overrides */
a.dropdown-item::after {
    content:none;
}

/*fix for boostrap 4 datatables fixed cols - see https://stackoverflow.com/questions/44273567/datatables-fixed-column-transparent-with-bootstrap-4-striped-table/44290341#44290341 */
table.dataTable.table-striped.DTFC_Cloned tbody tr:nth-of-type(odd) {
    background: #F3F3F3;
}

table.dataTable.table-striped.DTFC_Cloned tbody tr:nth-of-type(even) {
    background: white;
}

.ethicalheaderleft1 {
    position: sticky;
    left: 0px;
    min-width: 200px;
    max-width: 200px;
}

.ethicalheaderleft2 {
    position: sticky;
    left: 200px;
}

.ethicalitemleft1 {
    position: sticky;
    left: 0px;
    min-width: 200px;
    max-width: 200px;
}

.ethicalitemleft2 {
    position: sticky;
    left: 200px;
}


.myCheckboxList td {
    padding: 10px; /* For table layout */
    border: solid 1px purple;
}

/* OR if using Flow layout */
.myCheckboxList input[type="checkbox"] {
    margin-right: 10px; /* For flow layout */
    border: solid 1px orange;
}

input.fullwidth {
    width: 100%;
    max-width: 100%;
}

textarea.fullwidth {
    width: 100%;
    max-width: 100%;
}

.hideme {
    display: none;
}

.showme {
    display: block;
}

.content-center {
    justify-content: center;
}

input.datepicker {
    max-width: 280px;
    height: 34px;
    margin-top: 2px;
    padding-left: 10px;
    border: solid 1px #cccccc;
    color: #333333;
}
