﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a.smsLogo {
    content: url('../images/logo.png');
    display: inline-block;
    margin-right: 16px;
    vertical-align: middle;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* PT Customisations */

.card, .table-responsive {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important
}

.custom-control-input:checked~.custom-control-label::before { color: #fff; background-color: #1e7e34; outline: 0;
                                                              -webkit-box-shadow: none; box-shadow: none; }

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { font-weight: 400; }

@media (max-width: 991.98px) {
    .hideOnMediumScreen { display: none; }
}

@media (max-width: 767.98px) {
    .hideOnSmallScreen { display: none; }
}

@media (max-width: 575.98px) {
    .hideOnSmallestScreen { display: none; }
    .btn-fullWidthOnSmall { width: 100%; margin-top: .5em; }
    .btnRadioGroup { width: 33%; }
}


/* Flags */

#frmSelectLanguage button { font-size: .25em; }

.flag { background-image: url(../images/flags.png); background-repeat: no-repeat;
    background-size: 100% 49494%; display: inline-block; overflow: hidden;
    position: relative; vertical-align: middle; box-sizing: content-box; }

.flag-ID { background-position: center 0.2287% }
.flag-FR { background-position: center 0.4524% }
.flag-AU { background-position: center 0.6721% }

.flag.f-sm { width: 18px; height: 11px }

/* Print */

@page {
    margin: .5cm 1cm;
}

@media print {

    html {
        width: 100%;
    }

    .col-md-6, .col-md-6.col-12 {
        width: 50% !important;
    }

    .col-md-7 {
        width: 58% !important;
    }

    .col-md-5 {
        width: 41% !important;
    }

    .col-md-3 {
        width: 20% !important;
    }

    .bg-light {
        background-color: #fff !important;
    }

    body {
        width: 100%;
        font-size: 110%;
        background-color: #fff !important;
    }

    footer {
        display: none;
    }

    .card {
        page-break-inside: avoid;
        box-shadow: none !important;
    }

    card-body {
        padding-bottom: 0px;
        padding-top: 0px;
    }
}



/* Client customisations */

/* PT 
.siteBannerAndFooter { background-color: white !important; }
.siteBannerAndFooter > div > a,
    .siteBannerAndFooter > div > div > ul > li > a,
    .siteBannerAndFooter > div > div > ul > li > span,
    footer.siteBannerAndFooter > div { color: black !important; text-decoration: none; }
.siteBannerAndFooter > div > a:hover,
    .siteBannerAndFooter > div > div > ul > li > a:hover,
    footer.siteBannerAndFooter > div { color: darkgrey !important; text-decoration: none; }
*/

/* QMRS */
.siteBannerAndFooter { background-color: #282A2B !important; }
.siteBannerAndFooter > div > a,
    .siteBannerAndFooter > div > div > ul > li > a,
    .siteBannerAndFooter > div > div > ul > li > span,
    footer.siteBannerAndFooter > div { color: white !important; text-decoration: none; }
.siteBannerAndFooter > div > a:hover,
    .siteBannerAndFooter > div > div > ul > li > a:hover,
    footer.siteBannerAndFooter > div { color: darkgrey !important; text-decoration: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.navbar-toggler { border-color: rgb(255,255,255); }
nav.navbar { border-bottom: 20px solid #F69213 !important; }


.btnImg {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #F69213;
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 100%;
    height: 100px;
    color: white;
    font-size: 150%;
    font-weight: bold;
    padding-left: 110px;
    border-radius: 1rem;
}

.MyActions {
    background-image: url("../images/MyActions.svg");
}

.MyTake5s {
    background-image: url("../images/MyTake5s.svg");
}

.MyInspections {
    background-image: url("../images/MyInspections.svg");
}

.MyChanges {
    background-image: url("../images/MyChanges.svg");
}

.MyIncidents {
    background-image: url("../images/MyIncidents.svg");
}