﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    /*padding-left: 1px;
    padding-right: 1px;*/
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 1000px;
}

input {
    border: 1px solid #999;
}


/*
    Piet added from here
    WOFF fonts from Dimension Data assets
*/

@font-face {
    font-family: NotoSans;
    src: url('../fonts/NotoSans/NotoSans-Regular.ttf');
}

@font-face {
    font-family: NotoSans;
    src: url('../fonts/NotoSans/NotoSans-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: NotoSans;
    src: url('../fonts/NotoSans/NotoSans-Italic.ttf');
    font-style: italic;
}

* {
    font-family:NotoSans;
}


@font-face {
    font-family: GeorgiaItalic;
    src: url('../fonts/GeorgiaItalic/Georgia Italic.ttf')
}

div {
    font-family: NotoSans;
}

p {
    font-family: NotoSans;
}

/* NTT Branding colours*/

.red {
    color: red;
}

.alertDD {
    color: #CD202E;
}

.warning {
    color: #F5A81C;
}

.success {
    color: #2E7D32;
}


.information {
    color: #0784C1;
}

.green {
    color: #00CB5D; /* dd core green  change to NTT green*/
}

.coregreen {
    color: #00CB5D; /* dd core green leave as is*/
}


/*NTT - graph colour sequence exept navy*/

.future_blue_50 {
    color: #19A3FC;
}

.future_blue {
    color: #0072BC;
}

.future_blue_150 {
    color: #005B96;
}

.smart_navy {
    color: #070F7C;
}

.ntt_turqoise_50 {
    color: #7BF7FF;
}

.ntt_turqoise {
    color: #00DFED;
}

.ntt_turqoise_100 {
    color: #009AA4;
}

.ntt_green_50 {
    color: #38F990;
}

.ntt_green {
    color: #00CB5D;
}

.ntt_green_150 {
    color: #068941;
}

.ntt_yellow_50 {
    color: #FFEBB2;
}

.ntt_yellow_100 {
    color: #FFDB66;
}

.ntt_yellow {
    color: #FFC400;
}

.ntt_orange {
    color: #FF7A00; /*NTT*/
}

.ntt_orange_100 {
    color: #E42600; /*NTT*/
}

.ntt_orange_150 {
    color: #B22000; /*NTT*/
}

.text_grey_50 {
    color: #E8E8E8;
}

.text_grey_150 {
    color: #949494;
}


.text_grey {
    color: #2E404D;
}





/*End NTT*/

.orange {
    color: #ff7a01; /*NTT*/
}

.coregray {
    color: #455565;
}

.secondaryblue {
    color: #19A3FC; /*NTT*/
}

.secondarynavy {
    color: #437DB2;
}

.secondarydarkblue {
    color: #189BA9;
}

.secondaryturqois {
    color: #00DFED; /*NTT*/
}

.secondarylimegreen {
    color: #C3D52E;
}


.bold {
    font-weight: bold;
}

.disabled {
    color: lightgray;
}


/*  Piet Table start */

.ptable {
  width: 100%;
  margin-bottom: 20px;
  font-size: 10px;
}

.ptable thead > tr > th,
.ptable tbody > tr > th,
.ptable tfoot > tr > th,
.ptable thead > tr > td,
.ptable tbody > tr > td,
.ptable tfoot > tr > td {
  padding: 2px;
  line-height: 1.428571429;
  vertical-align: top;
  border-top: 1px solid #dddddd;
}

.ptable thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #666;
  font-weight:700;
  background-color: #666;
  color: #eee;
  text-align: center;
}

.ptable caption + thead tr:first-child th,
.ptable colgroup + thead tr:first-child th,
.ptable thead:first-child tr:first-child th,
.ptable caption + thead tr:first-child td,
.ptable colgroup + thead tr:first-child td,
.ptable thead:first-child tr:first-child td {
  border-top: 0;
}

.ptable tbody + tbody {
  border-top: 2px solid #dddddd;
}

.ptable .ptable {
  background-color: #ffffff;
}

.ptable a:link, .ptable a:visited, .ptable a:active {
        padding: 0;
        text-decoration: none;
    }

.ptable thead > tr > th > a:link, 
.ptable thead > tr > th > a:visited {
    color: #89de48;
}

.ptable thead > tr > th a:hover {
    color: red;
}

.ptable tbody > tr > td > a:link,
.ptable tbody > tr > td > a:visited {
    color: #316896;
}

.ptable tbody > tr > td a:hover {
    color: #69be28;
}


.ptable-condensed thead > tr > th,
.ptable-condensed tbody > tr > th,
.ptable-condensed tfoot > tr > th,
.ptable-condensed thead > tr > td,
.ptable-condensed tbody > tr > td,
.ptable-condensed tfoot > tr > td {
  padding: 1px;
}

.ptable-bordered {
  border: 1px solid #bbb;
}

.ptable-bordered > thead > tr > th,
.ptable-bordered > tbody > tr > th,
.ptable-bordered > tfoot > tr > th,
.ptable-bordered > thead > tr > td,
.ptable-bordered > tbody > tr > td,
.ptable-bordered > tfoot > tr > td {
  border: 1px solid #bbb;
}

.ptable-bordered > thead > tr > th,
.ptable-bordered > thead > tr > td {
  border-bottom-width: 4px;
}

.ptable-striped > tbody > tr:nth-child(odd) > td,
.ptable-striped > tbody > tr:nth-child(odd) > th {
  background-color: #f9f9f9;
}

.ptable-hover > tbody > tr:hover > td,
.ptable-hover > tbody > tr:hover > th {
  background-color: #f5f5f5;
}



.ptable > thead > tr > td.active,
.ptable > tbody > tr > td.active,
.ptable > tfoot > tr > td.active,
.ptable > thead > tr > th.active,
.ptable > tbody > tr > th.active,
.ptable > tfoot > tr > th.active,
.ptable > thead > tr.active > td,
.ptable > tbody > tr.active > td,
.ptable > tfoot > tr.active > td,
.ptable > thead > tr.active > th,
.ptable > tbody > tr.active > th,
.ptable > tfoot > tr.active > th {
  background-color: #f5f5f5;
}

.ptable > thead > tr > td.success,
.ptable > tbody > tr > td.success,
.ptable > tfoot > tr > td.success,
.ptable > thead > tr > th.success,
.ptable > tbody > tr > th.success,
.ptable > tfoot > tr > th.success,
.ptable > thead > tr.success > td,
.ptable > tbody > tr.success > td,
.ptable > tfoot > tr.success > td,
.ptable > thead > tr.success > th,
.ptable > tbody > tr.success > th,
.ptable > tfoot > tr.success > th {
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.ptable-hover > tbody > tr > td.success:hover,
.ptable-hover > tbody > tr > th.success:hover,
.ptable-hover > tbody > tr.success:hover > td {
  background-color: #d0e9c6;
  border-color: #c9e2b3;
}

.ptable > thead > tr > td.danger,
.ptable > tbody > tr > td.danger,
.ptable > tfoot > tr > td.danger,
.ptable > thead > tr > th.danger,
.ptable > tbody > tr > th.danger,
.ptable > tfoot > tr > th.danger,
.ptable > thead > tr.danger > td,
.ptable > tbody > tr.danger > td,
.ptable > tfoot > tr.danger > td,
.ptable > thead > tr.danger > th,
.ptable > tbody > tr.danger > th,
.ptable > tfoot > tr.danger > th {
  background-color: #f2dede;
  border-color: #eed3d7;
}

.ptable-hover > tbody > tr > td.danger:hover,
.ptable-hover > tbody > tr > th.danger:hover,
.ptable-hover > tbody > tr.danger:hover > td {
  background-color: #ebcccc;
  border-color: #e6c1c7;
}

.ptable > thead > tr > td.warning,
.ptable > tbody > tr > td.warning,
.ptable > tfoot > tr > td.warning,
.ptable > thead > tr > th.warning,
.ptable > tbody > tr > th.warning,
.ptable > tfoot > tr > th.warning,
.ptable > thead > tr.warning > td,
.ptable > tbody > tr.warning > td,
.ptable > tfoot > tr.warning > td,
.ptable > thead > tr.warning > th,
.ptable > tbody > tr.warning > th,
.ptable > tfoot > tr.warning > th {
  background-color: #fcf8e3;
  border-color: #fbeed5;
}

.ptable-hover > tbody > tr > td.warning:hover,
.ptable-hover > tbody > tr > th.warning:hover,
.ptable-hover > tbody > tr.warning:hover > td {
  background-color: #faf2cc;
  border-color: #f8e5be;
}


/*  Piet Table End */

/* Piet custom starts here */
div.plaque {
    margin: 5px;
    border: 2px solid #ddd;
    padding: 20px 5px 20px 5px;
    font-size: 16px;
    color: #2E404D;
    text-align: center;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background-color: #fefefe;
    /*min-width: 300px;*/
    flex-basis: calc(25% - 20px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.10);
}

div.shadow {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

div.shadow:hover {
    box-shadow: 5px 15px;
}

.plaque:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.30);
}


div.plaque a:link,
div.plaque a:visited {
    color: #2E404D;
    text-decoration: none;
}

div.plaque a:hover {
    text-decoration: none;
    font-weight: 700;
    color: #19A3FC; /* NTT*/
}

div.plaque-container-min {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 99%; 
    /*padding: 10px 10px 10px 10px;*/
}

div.plaque-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%; 
    padding: 10px 10px 10px 10px;
}


div.filter {
    width: 100%;
    font-size: 12px;
}

div.filter-header {
    color: #19A3FC;
    border: 1px solid #aaa;
    padding: 5px;
    background-color: #dfdfdf;
}

div.filter-body {
    padding: 5px;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    background-color: #efefef;
}

div.filter-form {
    padding: 15px 5px 15px 5px;
    border: 1px solid #aaa;
    background-color: #efefef;
}

div.filter-message {
    padding: 2px 0px 2px 5px;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
}

div.filter-message-top {
    padding: 2px 0px 2px 5px;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    border-top: 1px solid #aaa;
}

.afilter {
    text-decoration: none;
    text-decoration-color: #19A3FC;
    cursor: pointer;
}


div.note-container {
    border: 1px solid #aaa; 
    margin-bottom: 4px;
}

div.fpcontainer {
    padding: 10px;
    background-color: #ddd;
    margin-bottom: 20px;
}

div.bxcontainer {
    font-family: SansSourcePro;
    padding: 10px;
    background-color: #fefefe;
    margin-bottom: 20px;
}

.filler {
    background-color: #666;
}

.wait {
    padding: 5px;
}

div.divider {
    height:2px; 
    background-color: #eee;
}

div.invoicebox {
    padding-bottom: 30px;
    margin-left: 20px;
    margin-right: 5px;
    margin-top: 5px;
}

.totals {
    background-color: #eee;
    font-weight:600;
    color:navy;
    font-size: 12px;
    /*color:#59ae18;*/
}

.category {
    background-color: #ddd;
    font-weight:600;
    height:30px;
    color:#59ae18;
    vertical-align:central;
}


.itable {
  width: 100%;
  margin-bottom: 20px;
  font-size: 10px;
}

.tgreen {
    color: #005B96; /*Changed to NTT Blue */
}

.dgreen {
    color: #19A3FC; /*Changed to NTT Blue */
}

.invoice_header {
    border-bottom: 1px solid #666;
}

.box-insert {
    background-color:white; 
    padding:3px; 
    margin-top:2px; 
    border:1px solid black;
}

div.chartbox {
    height: 350px;
}

.ploc {
    background-color:lightyellow; 
    font-size:10px;
}

div.editbox
{
    margin: 1px 1px 10px 1px; 
    padding: 5px; 
    border:2px solid #fff;
}

.wh30 {
    width: 30%;
}

.wh50 {
    width: 50%;
}

@media only screen and (max-width: 1000px) {
  .wh50 {
    width: 0%;
  }
  .wh30 {
    width: 0%;
  }
}


.frontpage {
    background-image: url('../Images/DD_4220665.jpg'); 
    background-repeat: no-repeat;
    background-size: cover;
    min-height:890px; 
    margin-left: -1em; 
    margin-right: -1em;
    border-top: 7px solid #333;
    opacity: 0.5;
    z-index: 50;
}

.fpbox {
    position: absolute;
    max-width:90%;
    top:8em;
    margin: 4em; 
    padding: 2em;
    border: 3px solid #455565;
    opacity: 1;
    z-index:100;
}

.panel_content {
    padding: 0.5em;
}

div.login-container {
    display:flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
}

div.login {
    padding: 0.8em;
    border: 1px solid #DDD;
    margin: 5em 0em 5em 0em;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    width: 30em; 
}


.flex-container {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 10px;
}

.flex-label {
    flex-basis: 180px;
}