﻿@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');

:root {
  --main-color: #007DB3;
  --tint-color: #F1F7FB;
  --white: #ffffff;
  --base-color: #555555;
  --light-base: #939498;
}

body {
    font-size:  14px;
}

h1 {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    column-span: all;
}

h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    color: var(--main-color);
    margin-bottom:  20px;
    font-weight: 600;
/*     text-decoration: underline;
    padding-left: 80px;
    break-before: avoid;
    break-after: avoid;
    break-inside: avoid; */
}

h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: var(--main-color);
    margin-bottom:  20px;
    font-weight: 600;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.p1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 10px;
}

li {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
}


label {
    font-weight: 400;
    font-size: 14px;
    padding-left: 5px;
    margin-right: 30px;
 }

input {
/*     padding: 5px;
    min-width: 50px; */
    text-align: center;
    padding: 4px 0px;
}

select {
    padding: 7px;
    color: white;
    width: 100%;
    background: #555;
}

button {
    border: 0px;
    padding: 10px 20px;
    color: white;
    background: var(--base-color);
    font-size: 14px;
}

legend {
    font-size: 16px;
    font-weight: 600;
    color: var(--base-color);
    padding-top: 20px;
    border: 0px;
}

ol,ul,a {
  font-size:  14px;  
}

a {
    color: #007eb3;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #007eb3;
    text-decoration: underline;
}

#Label9,
#Label8 {
    font-weight: 600;
}

.header-logo {
    margin:  20px;
    width:  120px;
    margin-left:  0px;
}

.panel {
    background: var(--tint-color);
    padding:  20px;
    min-height: 120px;
    margin-bottom:  20px;
}

.header {
    background-color: var(--main-color);
    margin-bottom:  60px;
    padding:  5px;
}
.header h1 {
    text-align: left;
    color:  white;
}

.subheading {
    text-decoration: underline;
    font-weight: bold;
}

.ace_tooltip {
    position: relative;
    display: inline-block;
    width: 100%;
    /* margin-bottom: 20px; */
}

.ace_tooltip .tooltiptext {
    font-size: medium;
    visibility: hidden;
    width: 400px;
    top: 90%;
    left: 90%;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.ace_tooltip img {
    margin-top: -5px;
    margin-right: 5px;
}

table .ace_tooltip {
    margin-bottom:  0px;
}


/* .container {
    column-count: 2;
    column-rule-style: dotted;
    column-rule-width: 1px;
    background-color: #F5F5F5;
} */

.invisible {
    font-size: large;
    display: none;
}

.inlineBlock {
    display: inline-block;
    vertical-align: top;
}

.aligncentre {
    align-items: center;
}

.alignleft {
    display: block;
    float: left;
    height: 39px;
}

.alignright {
    float: right;
    text-align: right;
}

.atmargin {
    margin-top:  20px;
}

.abmargin {
    margin-bottom:  20px;
}

#mdl {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    right: 0;
    top: 0;
    padding-left: 0px;
    /* height: 35%; */
    width: 30%;
    /* background-color: rgb(0,0,0); /* Fallback color */ 
    background-color: #444;
    /* background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ */
    justify-content: center;
    align-items: center;
    padding: 20px;
    color:  white;
    /* box-shadow: 1px 1px 12px 6px #ddd; */
}

#mdl h1 {
    text-align: left;
}

/* The Close Button */
.close {
    color: #aaa;
    font-size: 22px;
    font-weight: bold;
    top: 10px;
    right: 15px;
    position: absolute;
}
.close::after {
    content: "X";
    display: block;
    height: 10px;
    width: 10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Bang Custom Code */

.container {
        width: 900px;
    margin: 0 auto;
    display: block; 
}

#btnClearSentence {
    position: absolute;
    right: 0px;
}

.help {
    font-size: 10px;
    margin-left: 100px;
    margin-bottom: 20px;
    padding-left: 0px;
}

#labelSurcharge {
    font-size: 22px;
    margin: 30px 0px;
    padding: 0px;
    display: block;
    font-weight: 500;
    color: var(--base-color);
}

#panelDates .label,
#panelAges .label {
    font-family: 'Open Sans', sans-serif;
    font-size:  14px;
    color: var(--base-color);
    font-weight: 600;
    text-align: left;
}

#panelWarning {
    width:  100%;
}

#panelWarning #txtbxWarning {
    font-size: 14px;
    background-color: var(--light-base);
    color: var(--white);
    padding:  20px;
}

#panelSentence {
    width:  100%;
}

.accordion-item {
    margin-bottom:  20px;
    border: 0px;
}

.accordion-header button {
    color: var(--white);
    background-color: var(--main-color);
}

.accordion-button:not(.collapsed) {
   background-color: var(--main-color);
   color: var(--white); 
   box-shadow: none;
}
.accordion-body {
    background-color: #ffffff;
}
.accordion-button::after {
    filter: brightness(10);
}
.select2-dropdown {
    /* width:  600px !important; */
}
.select2-container--classic .select2-selection--single {
    color: white !important;
    width: 100%;
    background: #555 !important;
}
.select2-container .select2-selection--single {
    height:  37px !important;
    border-radius: 0 !important;
}
.select2-container--classic .select2-selection--single .select2-selection__rendered {
    color:  white !important;
    line-height:  34px !important;
}

.select2-selection__arrow {
    border-radius: 0 !important;
    background: #555 !important;
}

.select2-container--classic .select2-selection--single .select2-selection__arrow {
    height: 35px !important;
    width: 30px !important;
}
.select2-container--classic .select2-results > .select2-results__options {
    background: #EEEEEE !important;
    max-height: 400px !important;
}
.select2-results__option {
/*     padding:  0px !important;
    padding-left : 10px !important;
    font-size:  14px !important; */
    padding: 5px !important;
    /* padding-left: 10px !important; */
    font-size: 14px !important;
    border-bottom: 1px solid #ddd;
}
.select2-results__option:hover {
    background: #017DB3 !important;
    color:  white !important; 
}

.select2-search__field {
    text-align: left;
    padding-left: 30px !important;
}
.select2-search--dropdown::before {
    content: url('images/search.png');
    width: 10px;
    height: 10px;
    position: absolute;
    top: 8px;
    left: 7px;

}

.count input,
.count .select2,
.wiysentence input,
.wiysentence select {
    /* margin-bottom:  10px; */
}

#ro-nc,
#ro-mls,
#ro-nsp,
#ro-cd,
#ro-f,
#ro-co,
#ro-diyoi,
#ro-dcs,
#ro-es,
#ro-scs,
#ro-dls {
    display:  none;
}

#comboPlea,
#comboSentenceType {
    display:  none;
}

#panelPlea legend {
    padding-top:  0px;
}

#panelAntecedents span {
    display:  block;
}

#panelAntecedents legend {
    padding-top:  0px;
}

#comboListedOffence {
    margin-left:  18px;
}

#committalorbreach span {
    display: block;
}

body {
    /* background: url('images/splashScreen.jpg'); */
    background: #ACB3BB;
    background-size: cover;
    position: fixed;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    top: 0px;
    right: 0px;
    z-index: 99999;
}

#splashScreenContainer,
#box {
    display:  none;
}

.splashScreen .box {
    background: #007eb3;
    background: url('images/box-bg.png');
    position: relative;
    width: 700px;
    height: 850px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    color:  white;
    margin-top: 50px;
    transition: all 0.8s ease-in-out;
    animation: boxappear 0.8s ease-in-out both;
}

.splashScreen .box img {
   margin-top: 20px;
   margin-bottom: 30px;
}

.splashScreen .box .header {
    text-align: center;
    background: none;
}

.splashScreen .box .header .version {
    padding-top: 20px;
}

.splashScreen .box .header .btn {
    text-align: center;
    background: white;
    padding: 10px 30px;
    color: #007eb3;
    border-radius: 30px;
    margin-top: 20px;
    margin-top: 5px;
    margin-bottom: 15px;
    text-decoration: none;
}

.splashScreen .box .header .btn:hover {
    /* font-weight:  bold; */
    background: var(--base-color);
    color:  white;

}

.splashScreen .box .footer {
    text-align: left;
}

.splashScreen .box .footer h5 {
   font-size:  12px;
   border-bottom: 1px solid white;
   padding-bottom: 5px;
}
.splashScreen .box .header p,
.splashScreen .box .footer p {
   font-size:  12px;
}

.container {
    display: none;
}

@media only screen and (max-width: 800px) {
    .header {
        margin-bottom:  0px;
    }
  .splashScreen .box {
    position: relative;
    width:  100%;
    margin-top:  0px;
    height:  auto;
  }  
}

.menu {
    position: absolute;
    right: 0px;
    list-style: none;
    top: 15px;
}

.menu li {
    display: block;
    text-align: right;
    margin-bottom: 5px;
}

.menu li a {
    color:  white;
    text-decoration: underline;
}

.ace-logo {
    width:  30%;
    margin-left: 15%;
}

.last-updated {
    position: absolute;
    right: 0px;
    bottom: -50px;
    color: #666;
}

.form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color0);
}

.form-check-input:checked[type=radio] {
    background-image:  none;
    border: 1px solid #555;
}

.form-check-input:focus {
    box-shadow: none;
}

@keyframes boxappear {
    from {transform: translate(0px,1000px);}
    to {transform: translate(0px,0px);} 
}