/* manifest.css

Author:     Tim Clarke
Date:       30jul2017
Purpose:    root site CSS
Warnings:   many CSS items are stored in the bootstrap files, customized via their site
            1) goto http://getbootstrap.com/customize/
            2) upload /stylesheets/bootstrap.config.json file
            3) modify styles
            4) download new CSS/.JS file and new .json file to replace the one from step 2
            wgen

by:         Eddie Hall
date:       20dec2021
change log: hotfix/security17122021
purpose:    Add over-ride class for datatable buttons

by:         Tim Clarke
date:       19feb
change log: new/votecalcDequeue
purpose:    add an alert class

by:         Tim Clarke
date:       11nov2018
change log: new/minors
purpose:    change logo
            change overall page spacing

version:    1.9
by:         Tim Clarke
date:       10nov2018
change log: branch new/companyNavigation
purpose:    add link bar at bottom of company info pagelet

version:    1.8
by:         Tim Clarke
date:       24jul2018
change log:
purpose:    move "Voting Accounts" above resolutions

version:    1.7
by:         Tim Clarke
date:       11jul2018
change log:
purpose:    embolden primary links

version:    1.6
by:         Tim Clarke
date:       30mar2018
change log:
purpose:    re-branding

version:    1.5
by:         Tim Clarke
date:       23sep2017
change log:
purpose:    borderless class (for engagement letter initially)

version:    1.4
by:         Tim Clarke
date:       23sep2017
change log:
purpose:    prospective printing CSS

version:    1.3
by:         Tim Clarke
date:       17sep2017
change log:
purpose:    disable workingrow colouration

version:    1.2
by:         Tim Clarke
date:       17sep2017
change log:
purpose:    colour selected datatables headers and columns

version:    1.1
by:         Tim Clarke
date:       7sep2017
change log:
purpose:    set printing

*/

@import url(https://fonts.googleapis.com/css?family=Lato|Lato-light|Roboto);
* {
 font-family: Lato, sans-serif;
}

h2 {
  font-family: Roboto, sans-serif;
  font-size: 24px !important;
}
h3 {
  font-family: Roboto, sans-serif;
  font-size: 18px !important;
  margin:0px;
}
.nav a {
  color: white !important;
  font-size: 18px;
}

html {
  position: relative;
  min-height: 99%;
}

/* make bottom margin same size as footer to prevent overlap of datatables */
body {
  margin: 0 0 46px 0;
}

/* fixed footer */
.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 46px;
  background-color:#473d54;
}

@media (max-width:900px){
  .responsiveTable {
    overflow-x:auto;
  }
}

@media (max-width:970px){
  .responsiveTableLarge {
    overflow-x:auto;
  }
}

th,
th > a,
th > a:link,
th > a:focus {
  font-size: 14px;
  font-weight: 400;
  font-family: Roboto, sans-serif;
  background-color: #666666;
  color: white;
  vertical-align: middle !important;
  padding-left: 10px;
}

.ma-tablehead {
  background-color: #666666;
  color: white;
}

.ma-warning {
  color: darkred;
}

.table>tbody>tr.no-border>td,
.table>tbody>tr.no-border>th {
  border: none;
}

td {
  font-size: 14px;
  vertical-align: middle !important;
  padding-left: 10px;
}

a:link {
  color: #473d54;
}

a:hover {
  color: #698c00;
}

/* for cookies/security policies page */
.policy-page a {
  color: #698c00;
}
.policy-page a:hover {
  color: #473d54;
}

/* make primary links bold */
.ma-mainlink {
  font-weight: 600;
}

.ma-green {
  color: #698c00;
}

.ma-green-background {
  background-color: #698c00;
}

.ma-purple {
  color: #473d54;
}

.ma-error {
  color: red;
}

.workingrow {
  /*
  background-color: #fcff62;
  */
}

div#content {
  padding: 17px;
}

.navbar-default#topmenu {
  margin: 0px -15px 16px -15px;
  border-top-width: 0px;
  border-bottom-width: 0px;
}

.navbar .nav > li > a,
.navbar .nav > li.current-menu-item > a,
.navbar-default .nav .dropdown-menu li a,
.navbar .nav > li.current-menu-ancestor > a {
  font-size: 14px !important;
}

.navbar-brand#logo {
  padding: 0;
}

.navbar-indent {
  margin-left: 20px;
  padding-left: 20px;
}

.logo {
  height:100%;
  background-color:#FFF;
  margin-left:20px;
}

/* bootstrap - drop-down menu background hover colour */
.dropdown-menu > li > a:hover {
  background-color: #92a600;
  background-image: none;
}

.greenhover:hover {
  color: #92a600;
  background-image: none;
}

ul.nav.nav-tabs > li.active > a {
  background-color: #473d54;
  font-size: 14px;
  font-weight: bold;
}

ul.nav.nav-tabs > li > a {
  background-color: #666666;
  font-size: 14px;
  font-weight: bold;
}

.btn-default-bg,
.btn-default-bg:hover,
.btn-default-bg:active,
.btn-default-bg:visited,
.btn-default-bg:focus {
  background-image: none !important;
  background-color: #698c00 !important;
  color: white;
}

.btn-default-bg:focus,.btn-default-bg:active {
  outline-color: #698c00 !important;
  box-shadow: none;
}

.btn-grey-bg,
.btn-grey-bg:hover,
.btn-grey-bg:active,
.btn-grey-bg:visited,
.btn-grey-bg:focus {
  background-image: none !important;
  background-color: #666 !important;
  color: white;
}

/* "Triangle Breadcrumbs Arrows" Bootstrap 3.1.0 Snippet by nickdecorte */
.btn-breadcrumb .btn:not(:last-child):after {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 10px solid #D90EC6;
  position: absolute;
  top: 50%;
  margin-top: -17px;
  left: 100%;
  z-index: 3;
}
.btn-breadcrumb .btn:not(:last-child):before {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 10px solid white;
  position: absolute;
  top: 50%;
  margin-top: -17px;
  margin-left: 1px;
  left: 100%;
  z-index: 3;
}

/** The Spacing **/
.btn-breadcrumb .btn {
  padding: 6px 12px 6px 24px;
  color: white;
  font-size: 18px;
  font-family: Roboto;
  text-shadow: none;
  background-image: none;
  background-color: #698d2c;
}
.btn-breadcrumb .btn:hover {
  color: #d9dec6;
}
.btn-breadcrumb .btn:first-child {
  padding: 6px 6px 6px 10px;
}
.btn-breadcrumb .btn:last-child {
  padding: 6px 18px 6px 24px;
}

/** Default button **/
.btn-breadcrumb .btn.btn-default span:first-child:before {
  padding-left: 8px;
  padding-right: 4px;
}
.btn-breadcrumb .btn.btn-default:not(:last-child):after {
  border-left: 10px solid #698d2c;
}
.btn-breadcrumb .btn.btn-default:not(:last-child):before {
  border-left: 10px solid #ccc;
}
.btn-breadcrumb .btn.btn-default:hover:not(:last-child):after {
  border-left: 10px solid #698d2c;
}
.btn-breadcrumb .btn.btn-default:hover:not(:last-child):before {
  border-left: 10px solid #adadad;
}

.navbar-nav > li.active > .dropdown-menu a {
  background-color: #698c00 !important;
}

/* Note from Edd: Horizontal scrolling tabs. In time I'll try to make this look a bit nicer with arrows */
.nav-tabs {
  overflow-x: auto;
  overflow-y: hidden;
  display: -webkit-box;
  display: -moz-box;
}
.nav-tabs>li {
  float: none;
}

/* change the bootstrap menu colours */
.navbar-default {
  background-image: none;
  background-color: #473d54;
  border-color: #473d54;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.navbar-default-bg {
  background-image: none;
  background-color: #473d54;
  border-color: #473d54;
}

.navbar-nav > li > .dropdown-menu {
  background-color: #473d54;
}

ul.nav.navbar-nav > li > .active {
  background-color: #666666 !important;
}

.dropdown-header-color {
  background-color: #473d54 !important;
}

/* Note from Edd: Horizontal scrolling tabs. In time I'll try to make this look a bit nicer with arrows */
.nav-tabs {
  overflow-x: auto;
  overflow-y: hidden;
  display: -webkit-box;
  display: -moz-box;
}
.nav-tabs>li {
  float: none;
}

/* panel header colour */
.panel-default > .panel-heading {
  background-image: none !important;
  background-color: #473d54 !important;
  border-color: #473d54 !important;
  margin-bottom: 0px;
}

/* datatables header font */
.dataTable thead th {
  font-weight: 400;
}

/* datatable header action button colours */
.buttons-create,
.buttons-edit,
.buttons-remove,
.buttons-excel,
.buttons-pdf,
.buttons-print {
  background-image: none;
  background-color: #fff;
  text-shadow: none;
  outline: none !important;
  box-shadow: none;
}
.buttons-create:hover,
.buttons-edit:hover,
.buttons-remove:hover,
.buttons-excel:hover,
.buttons-pdf:hover,
.buttons-print:hover {
  background-image: none;
  background-color: #473d54;
  color: white;
}

.fa-chevron-circle-up:hover,
.fa-chevron-circle-down:hover{
  color: #473d54;
}

.pagination>li>a, .pagination>li>span {
  outline-color: #698c00 !important;
  box-shadow: none;
}

table.dataTable thead th {
  background-color: #666666;
}

table.dataTable thead th.sorting::after,
table.dataTable thead th.sorting_asc::after,
table.dataTable thead th.sorting_desc::after {
  color: #fff;
  opacity: 1.0;
  font-family: FontAwesome;
}

table.dataTable td.details-control{
  cursor: pointer;
  background: url('/images/details_open.png') no-repeat center center;
}

table.dataTable tr.shown td.details-control {
    background: url('/images/details_close.png') no-repeat center center;
}

table.dataTable thead th.sorting:after {
  content: "\f0dc";
  font-family: 'Font Awesome 5 Pro';
  font-weight: 900;
}
table.dataTable thead th.sorting_asc:after {
  content: "\f0de";
  font-family: 'Font Awesome 5 Pro';
  font-weight: 900;
}
table.dataTable thead th.sorting_desc:after {
  content: "\f0dd";
  font-family: 'Font Awesome 5 Pro';
  font-weight: 900;
}

/* highlight the sorted column and header... */
table.dataTable td.sorting_1,
table.dataTable td.sorting_2,
table.dataTable td.sorting_3 {
  background-color: whitesmoke;
}
table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc {
  background-color: #698c00;
}
/* ... and turn off highlight when not sorted */
table.dataTable thead th.sorting {
  background-color: #666666;
}

table.dataTable thead .sorting {
  vertical-align: bottom;
}

/* remove bootstrap active cell and drop-down glow */
input[type="text"],
input[type="password"],
input[type="search"],
select,
textarea {
  outline: none;
  box-shadow: none !important;
  border: 1px solid #ccc !important;
}

.votenotamended {
  color: darkred }
.voteamended {
  color: orange}
.voteconfirmed {
  color: #548235 }
.votedispatched {
  color: #00607C }

.researchnotready {
  color: darkred }
.researchpending {
  color: orange }
.researchready {
  color: #548235 }

.loginbackground {
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

span label {
  font-family: Roboto, sans-serif;
   padding-top: 5px;
}

/* Changes by Jim */
.container-fluid.ma-login-footer {
  background-color: #473d54;
  text-align: center;
  padding: 15px 0 10px 0;
  color: #fff;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.row.ma-login-box {
  margin-top: 8%;
  margin-bottom: 10%;
  display:block;
}

.row.ma-login-box img {
  margin-bottom: 20px;
}

.ma-login-panel h1 {
  color: #fff;
}

.container-fluid.ma-main-footer {
  background-color: #473d54;
  text-align: center;
  padding: 15px 0 10px 0;
  color: #fff;
  margin-top:50px;
  width: 100%;
}

.row.ma-filter-panel {
    margin-bottom: 20px;
}

input[type=checkbox] {
  transform: scale(1.5);
}

.left {
      float: left;
    }

  button a {
    color:#FFF;
  }
    button a:hover {
    color:#EAEAEA;
      text-decoration:none;
  }

@media screen {
  div.panel.panel-heading h3.panel-title {
    color: white;
  }
}

/* printing */
@media print {
  div.panel.panel-heading h3.panel-title {
    color: white !important;
  }
  th {
    font-size: 12px;
    font-weight: bold;
  }
  td {
    font-size: 11px;
  }

  thead {
    display: table-header-group;
  }

  tr {
    page-break-inside: auto;
  }

  tfoot {
    display: table-footer-group;
  }
  tfoot tr td {
    font-size: 14px;
    font-weight: 400;
  }
}

@media print
{
  .hide-print, .hide-print *
  {
    display: none !important;
  }
}

.ui-widget-content .ui-state-active {
  color: white;
  background: #698c00;
  border: 1px solid #698c00;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
  border: 1px solid #473d54;
  background: #473d54;
  color: white;
}

input[type="email"]:focus {
    outline: none !important;
}
input[type=email] {
  /*-webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;*/
  box-shadow: none;
  outline: none;
  padding: 6px 12px;
  margin: 5px 1px 3px 0px;
  border: 1px solid #DDDDDD;
}

input[type=email]:focus {
  box-shadow: none;
  padding: 6px 12px;
  margin: 5px 1px 3px 0px;
  border: 1px solid #DDDDDD;
  outline: none !important;
}

.tab-content .tab-pane {
  display: none;
}

.tab-content  .active {
  display: block;
}

.half-size {
  width:50%;
}
.yearmenu{
  white-space: nowrap;
  text-overflow: clip;
  overflow-x: auto;
  padding: 3px;
  color: #666;

}
.yearmenu a {
  padding:3px;
  color: #473d54;
  border-radius: 10px;

  margin: 3px;
}
.yearmenu a:hover {
  text-decoration: none;
  background-color: #666666;
  color: white;
}

.yearmenu b {
  padding:3px;
  color: white;
  border-radius: 10px;
  background-color: #666666;
  margin: 3px;
}
::-webkit-input-placeholder { /* Edge */
  color: #555;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #555;
}

::placeholder {
  color: #555;
}

/*optional compact view for data entry forms (users will be able to choose whether to have compact view or full screen view) */
.compact {
  width:58%;
  margin:auto;
  font-size:12px;
}
@media only screen and (max-width: 1280px) {
  .compact {
    width:75%;
  }
}
@media only screen and (max-width: 1024px) {
  .compact {
    width:95%;
  }
}
.compact h1 {
  font-size:28px;
}
.compact .form-control {
  font-size:12px;
  height:auto;
  padding:5px;
}
.compact textarea.form-control {
  min-height:120px;
}
.compact ul.nav.nav-tabs > li.active > a {
  background-color: #473d54;
  font-size: 12px;
  font-weight: normal;
}

.compact ul.nav.nav-tabs > li > a {
  background-color: #666666;
  font-size: 12px;
  font-weight: normal;
}
.compact input[type=checkbox] {
  transform: none;
}
.compact input[type=date], .compact input[type=datetime-local] {
  height:29px;
}
.compact .selectize-dropdown, .compact .selectize-input, .compact .selectize-input input {
  font-size:12px;
}
.compact .selectize-control.single .selectize-input {
  cursor: pointer;
  background: #FFF;
  padding: 3px;
  font-size:12px;
}
.compact btn, .compact .btn-default-bg {
  border:0px;
  font-size:12px;
}
.compact .btn-default {
  border:1px solid #CCC;
  font-size:12px;
}
.compact table th, .compact table td {
  font-size:12px;
}

/* This new class can be used to replace all the in-line styles throughout the site. There is a "no-gutter" class in Bootstrap 4 */
.nomargin {
  padding:0px;
  margin:0px;
}
input[type="time"].form-control {
  line-height:14px!important;
}
ol.qblob {
  counter-reset: item;
  margin-left: 0;
  padding-left: 0;
}
.qblob li {
  display: block;
  margin-bottom: .5em;
  /*margin-left: 2em;*/
}
.qblob li::before {
  display: inline-block;
  content: counter(item) "";
  counter-increment: item;
  width: 2em;
  margin-left: -2em;
  background-color:#777;
  border-radius:10px;
  font-weight:bold;
  color:#FFF;
  text-align:center;
}
p.qblob {
  margin-left:30px;margin-top:-20px;
}

/* colors for rem, sus, gov grades. These will also be set in a constants file */
.gradeA {
  background-color: #548235;
}

.gradeB {
  background-color: #5BB20F;
}

.gradeC {
  background-color: #FF8B00;
}

.gradeD {
  background-color: #DB5003;
}

.gradeE {
  background-color: #ED1C24;
}

.gradeF {
  background-color: #8B0000;
}

/*
datatable button over-ride. Upgrade to Jquery 3.5.0 removed styles. Over-writing the font in css removes icons so we nee to manually have an icon::before
*/
.fa-print:before {
   font-family: "Font Awesome 5 Pro";
   content: "\f02f";
   display: inline-block;
   padding-right: 3px;
   vertical-align: middle;
   font-weight: 900;
}
.fa-file-excel:before {
   font-family: "Font Awesome 5 Pro";
   content: "\f56d";
   display: inline-block;
   padding-right: 3px;
   vertical-align: middle;
   font-weight: 900;
}
.fa-file:before {
   font-family: "Font Awesome 5 Pro";
   content: "\f15b";
   display: inline-block;
   padding-right: 3px;
   vertical-align: middle;
   font-weight: 900;
}
.fa-print, .fa-file, .fa-file-excel {
  /*font-family: "Font Awesome 5 Pro";*/
  font-family: Roboto, sans-serif !important;
  font-weight:normal;
}

/* optional glow around selected form fields */
.glowbox input[type=text]:focus,
.glowbox textarea:focus,
.glowbox input[type=number]:focus,
.glowbox input[type=date]:focus,
.glowbox select:focus {
  box-shadow: 0 0 5px rgba(81, 203, 238, 1)!important;
  border: 1px solid rgba(81, 203, 238, 1)!important;
}

#otp {
      font-size: 2.5rem;
      margin: 1rem 0;
    }
    #countdown {
      font-size: 1rem;
      margin-bottom: 0.5rem;
    }
    #progress-bar {
      width: 100%;
      height: 10px;
      background: #ccc;
    }
    #bar {
      height: 100%;
      width: 0%;
      background: #4caf50;
    }

/* The switch - the box around the slider */
  .switch {
    position: relative;
    display: inline-block;
    width: 33px;
    height: 21px;
  }

  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }

  input:checked + .slider {
    background-color: #2196F3;
  }

  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }

  input:checked + .slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
  }

  /* Rounded sliders */
  .slider.round {
    border-radius: 17px;
  }

  .slider.round:before {
    border-radius: 50%;
  }

  /* these are for the dynamic buttons that change colour when editing and saving */
  .btn-std {
    background-image: none;
    background-color: #698c00;
    color: white;
    border:0px;
    /* copy default bootstrap btn class */
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    font-size:12px;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 0px solid transparent;
    white-space: nowrap;
    /*padding: 6px 12px;
    font-size: 14px;*/
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  /* When any form input changes */
  .btn-yellow {
    background-color: yellow;
    color: black;
    border: 0px solid transparent;
  }

  /* Nav collapse over-ride. Change collapse to mobile from 768 to 1024 */
  @media (max-width: 1024px) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
      top: 0;
      border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
  }
  .navbar-nav>li {
      float: none;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
  }
}
