[ng\:cloak], [ng-cloak], .ng-cloak {
  display: none !important;
}

html, body, div, span, iframe,
h1, h2, h3, h4, h5, h6, p, a, img, dl, dt, dd, ol, ul, li,
table, tfoot, thead, tr, th, td,
article, aside, canvas, details, footer, header, section {
	margin: 0;
  	padding: 0;
  	border: 0;
  	font-size: 100%;
  	font: inherit;
}

a:hover, a:visited, a:link, a:active {
    text-decoration: none;
}

html,
body {
    height:100%;
    margin:0;
    padding:0;
    overflow:hidden;
	line-height: 1;
	font-size: 14px;  
	font-family: 'Roboto',sans-serif;
}

.nopadding {
   padding: 0 !important;
   /*margin: 0 !important;*/
}

.stretchedToMargin {
  display: block;
  position:absolute;
  height:auto;
  bottom:0;
  top:0;
  left:0;
  right:0;
  margin-top:10px;
  margin-bottom:10px;
  margin-right:10px;
  margin-left:10px;
}

.currentMenuItem {
	border-bottom: 3px solid #059bd2;
	/*color: #333;*/
	/*background-color: #ebebeb;*/
	/*border-color: #aeaeae;*/
	/*background-image:none*/
}


.padding-top-10 {
   padding-top: 10px !important;
}

.padding-top-left-10 {
   padding-top: 10px !important;
   padding-left: 10px !important;   
}


#vertical {
    height:100%;
    border-width: 0;    
}


.navbar-default {
    background-color: #f8f8f8;
    border-color: #e7e7e7;
}

/*
#dateFilter {
    padding: 27px;
    text-align: right;
}
*/

.help-block {
	margin-bottom: 0;
	
}
.css-form input.ng-invalid.ng-touched {
  border-color: #a94442;	
}

.css-form input.ng-valid.ng-touched {
  border-color: #ccc;
}

.overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: .1;
  filter: alpha(opacity=60);
  background: #fff;
  text-align: center;
}

.overlay div {
  position: relative;
  font-size: 34px;
  margin-top: -17px;
  top: 50%;
}


.k-picker-wrap .k-input {
    height: 2.0em;
    line-height: 2.0em;
    min-height: 2.0em;
    font-size: 12px;
}
    
.k-picker-wrap {
    height: 2.0em;
}
    
.k-picker-wrap .k-select {
    height: 2.0em;
    min-height: 2.0em;
    line-height: 2.0em;
}


.k-dropzone {
	padding:.2em
}


#dash-logo {
    color: #fff;
    background-color: #ff6600;
    text-align: left;
    font-size: 0.9vw;
    text-transform: uppercase;
    line-height: 26px;
    padding-left: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.icon {
    margin-right: 0.5em;
}

.container-fluid,
.row,
.column{
  	height: 100%;  	
}

/* Bootstrap overrides*/

.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
    float: none;
}

.period-wrapper {
    display: inline-block;
}

    
.row,
.container-fluid {
   	padding: 0;
   	margin: 0;
}

.form-control {
	padding: 0px 10px;
}


.fieldlist {
    margin: 0 0 -1em;
    padding: 0;
}


.fieldlist li {
    list-style: none;
    padding-bottom: .5em;
}

.filter-schedule-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-schedule-option {
    display: flex;
    align-items: center;
    min-height: 28px;
}

.filter-schedule-label {
    flex: 1;
    text-align: left;
    font-weight: 500;
}

.filter-schedule-checkbox {
    width: 60px;
    text-align: center;
}

.filter-schedule-checkbox input[type="checkbox"] {
    margin: 0 auto;
    display: inline-block;
}


.k-splitbar-static-vertical {
    height: 1px;
    border: none;
    background-color: #059bd2
}

.k-widget.k-menu-horizontal>.k-item {
    border-width: 0;
    height:100%;    
}

.k-menu.k-header {
	border-width: 0;	
}
.k-menu .k-item {
	border-width: 0;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 26px;
	text-rendering: optimizeLegibility;
    
}

.k-menu .k-item>.k-link {
    padding: 0.9em 1.2em 0.7em;
}

.k-window-title {
	font-size:.7em
}

.k-grid {
    font-size: 12px;
}

textarea.mod-list-name {
    background: 0 0;
    border: none;
    border-radius: 3px;
    box-shadow: none;
    font-weight: 700;
    font-size:16px;
    margin: -3px -5px;
    height: 18px;
    min-height: 18px;
    padding: 3px 5px;
    resize: none;
    max-height: 16pc;
}

textarea.mod-list-name.is-editing, textarea.mod-list-name:focus {
    background-color: rgba(255,255,255,.85);
}

.k-treeview .k-in {
    margin: 1px 0 1px .3333em;
    padding: .2em .6667em .15em .5833em;
    line-height: 1.3333em;
    text-decoration: none;
    border-style: solid;
    border-width: 1px;
}

.k-editor-inline {
    margin: 0;
    padding-left:0;
    border-width: 0;
    box-shadow: none;
    background: none;
    font-size:16px
}

.k-editor-inline.k-state-active {
    border-width: 1px;
    background: none;
}

.k-button.k-upload-button {
   color:#fff;
   background-color:#059bd2;
   border-color:#059bd2
}

.propagation-section.k-content {
    box-shadow: 0 1px 2px 1px rgba(0,0,0,.08), 0 3px 6px rgba(0,0,0,.08);
}

.propagation-section {
    margin: 0 auto 1.5em;
    padding: .5em;
    border: 1px solid rgba(20,53,80,0.14);
}

.member-form.k-content {
    box-shadow: 0 1px 2px 1px rgba(0,0,0,.08), 0 3px 6px rgba(0,0,0,.08);
}

.member-form {
    margin: 0 auto 1.5em;
    padding: .5em;
    border: 1px solid rgba(20,53,80,0.14);
}


.k-autocomplete {
	width:100%
}

#filegrid {
	margin: 0;
  	padding: 0;  	
  	height: 99%;
}

.panel-wrapper{
    height: inherit;
}

.item {
    margin: 5px;
    padding: 5px;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 5px;
}

/* Login stuff */

.form-signin
{
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}
.form-signin .form-signin-heading, .form-signin .checkbox
{
    margin-bottom: 10px;
}
.form-signin .checkbox
{
    font-weight: normal;
}
.form-signin .form-control
{
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.form-signin .form-control:focus
{
    z-index: 2;
}
.form-signin input[type="text"]
{
    margin-bottom: -1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.form-signin input[type="password"]
{
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.account-wall
{
    margin-top: 25px;
    padding: 20px 0px 20px 0px;
    background-color: #f7f7f7;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}
.login-title
{
    color: #555;
    font-size: 20px;
    font-weight: 400;
    display: block;
}
.profile-img
{
    width: 96px;
    height: 96px;
    margin: 0 auto 10px;
    display: block;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}
.need-help
{
    margin-top: 10px;
}
.new-account
{
    display: block;
    margin-top: 10px;
}
/* End Login stuff */

/* Products page */

/* custom highlight for checked product rows (same visual intent as k-state-selected) */
.k-grid tr.k-checked-row,
.k-grid tr.k-checked-row > td {
    background-color: #428bca !important;
    color: #ffffff;
}
.k-grid tr.k-checked-row:hover,
.k-grid tr.k-checked-row:hover > td {
    background-color: #3379b5 !important;
    color: #ffffff;
}

/* ensure links inside checked rows stay readable */
.k-grid tr.k-checked-row a {
    color: #ffffff;
}

button.close {
	padding-top: 0.4rem;
	margin-left: 0.3rem;
}

.filters-list > div.form-group,
.details > form > div.form-group {
	padding-bottom: 1.5rem;
	margin-bottom: 1.5rem;
}

div.form-group > div{
	display: inline-block;
	padding: 0;
}

div.form-group > div > label {
	display: inline-block;
    padding-top: 0.5rem;
}

.addButton {
	margin-top: 0.3rem;
	margin-left: 0.5rem;
}

.copyButton {
	margin-top: 1rem;
}

.addFilter {
	margin-bottom: 1rem;
}

.copyCheckbox > input,
.copyRadio > input,
.overwriteRadio > input,
.classifyForm > input {
	float: left;
}

.copyCheckbox > label,
.copyRadio > label,
.overwriteRadio > label,
.classifyForm > label {
	padding-top: 0.3rem;
	margin-left: 1rem;
}

.copyTitle,
.applyTitle,
.overwriteTitle {
	padding-left: 1rem;
	margin-bottom: 1rem;
}

.checkboxRow {
	margin-bottom: 1rem;
}

.classification-button {
	padding-bottom: 1rem;
}

.applyTitle,
.overwriteTitle {
	margin-top: 1rem;
}

.classifyForm > button {
	margin-left: 1rem;
	margin-bottom: 0.3rem;
}

#products .nav > li > a {
	padding: 1.0rem;
}

.subButton {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    margin-top: 0.35rem;
    padding-bottom: 0;
}

.search-buttons {
	padding-top: 1rem;
}

.search-buttons > button.btn-primary {
	margin-left: 1rem;
}

.tab-content {
	padding-top: 1rem;
}

#addFilterModal select {
	height: 12rem;
}

.thumbnail {
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
   transition: 0.3s;
   min-width: 40%;
   border-radius: 5px;
 }

 .thumbnail-description {
   min-height: 40px;
 }

 .thumbnail:hover {
   cursor: pointer;
   box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 1);
 }
 
 .thumbnail .caption > h2 {
    font-size: 24px;
    padding-bottom: 0.2rem;
 }
 
.destinations-button {
  margin-top: 3rem;
}

.destinations-label {
  margin-top: 0.6rem;
}

.destinations-row {
  margin-top: 2rem;
}

.destinations-select {
  margin-top: 0.2rem;
}
 
.detail-label {
  margin-top: 0.5rem;
}

.discovered-hs-code {
  margin-top: 0.6rem;
}

.download-template {
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}

.destinations-row {
  margin-top: 1rem;
}

.destinations-last-row {
  margin-bottom: 1rem;
}

#classy-vue-container {
    position: absolute;
    width: 650px;
    height: 500px;
    left: calc(50% - 325px);
    top: calc(50% - 250px);
}

/* Compliance badges */
.compliance-badge-yes {
    background-color: #5cb85c;
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: bold;
}

.compliance-badge-no {
    background-color: #d9534f;
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: bold;
}

/* Wrap long duty rate labels in the Duty Rates modal */
.duty-rate-label {
    display: block !important; /* override .label inline */
    white-space: normal !important; /* ensure wrapping */
    word-wrap: break-word; /* legacy alias */
    overflow-wrap: anywhere; /* modern */
    word-break: break-all; /* force break anywhere if needed */
    max-width: 100%;
    box-sizing: border-box;
    font-size: 1rem !important; /* improve readability */
    line-height: 1.35;
    text-align: left !important;
}

/* Ensure the right column allows wrapping and constrains width */
.duty-rate-container {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    overflow: hidden; /* prevent spill out */
    text-align: left;
}

/* Enlarge and left-align the Duty Rates modal */
#destinationOpenModal .modal-dialog {
    width: 900px;
    max-width: 95vw;
    margin: 30px auto !important; /* center horizontally across screens */
}

#destinationOpenModal .modal-body {
    font-size: 1rem; /* inherit readable size */
}