/*
 Theme Name:     Business Express Child
 Theme URI:      http://nfp.gnomonic.site/
 Description:    My description
 Author:         Me
 Author URI:     http://nfp.gnomonic.site/
 Template:       business-express
 Version:        1.0.0
*/
.header-homepage:before, .header:before {
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: absolute;
    z-index: -1;
    background-color: transparent;
    display: inline-block;
    content: "";
}

.header-homepage:before {
    background-color: rgba(48, 55, 184, 0.6);
}

h1.heading98 {
    color: #FFFFFF;
    font-size: 36px;
    text-align: center;
}

.nfp-table-wide {
	border: 1px solid black;
}
.nfp-table {
	border: 1px solid black;
    table-layout:fixed;
    width:100%;
}

.nfp-table-scrollable {
	border: 1px solid black;
    table-layout:fixed;
}

.nfp-table-title {
	font-size: 18px;
}
table.nfp-table-wide td {
	padding-left: 5px;
	padding-right: 5px;
	padding: 3px 10px;
    white-space: nowrap;
	border: 1px solid black;
	border-collapse: collapse;
    border-spacing: 0;
	line-height: 170%;
    color: #777777;
	font-size: 100%;
    vertical-align: baseline;
	box-sizing: border-box;
	font-weight: normal;
	border: 1px solid #cccccc;	
}
table.nfp-table td, table.nfp-table-scrollable td {
	padding-left: 5px;
	padding-right: 5px;
	padding: 3px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
	border: 1px solid black;
	border-collapse: collapse;
    border-spacing: 0;
	line-height: 170%;
    color: #777777;
	font-size: 100%;
    vertical-align: baseline;
	box-sizing: border-box;
	font-weight: normal;
	border: 1px solid #cccccc;
}

table.nfp-table td {
    max-width: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
	
table.nfp-table th, table.nfp-table-scrollable th , table.nfp-table-wide th{
	padding-top: 7px;
    padding-right: 10px;
    padding-bottom: 7px;
    padding-left: 10px;
	background-color: white;
	color: #333333;
	font-weight: bold;
	line-height: 1.1em;
	border: 1px solid #cccccc;
}

table.hide-overflow td {
    overflow:hidden;
}

table.hide-overflow  {
	table-layout:fixed;
	width: 100%;
}


.nfp-table tr:nth-child(even) {background: #f5f5f5;}
.nfp-table-scrollable tr:nth-child(even) {background: #f5f5f5;}
.nfp-table-wide tr:nth-child(even) {background: #f5f5f5;}

.nfp-table tr:nth-child(odd) {background: #FFF}
.nfp-table-scrollable tr:nth-child(odd) {background: #FFF}
.nfp-table-wide tr:nth-child(odd) {background: #FFF}

.nfp-table tr:hover { background: #e8e8e8 }
.nfp-table-scrollable tr:hover { background: #e8e8e8 }
.nfp-table-wide tr:hover { background: #e8e8e8 }


.nfp-odd-bgcolor  {background: #f5f5f5;}


table#sort-data-table {
	table-layout: auto !important;
}


.vl {
    border-left: 2px solid black;
    height: 500px;
    position: absolute;
    left: 50%;
    margin-left: -3px;
    top: 0;
}
.pickinfoleft {
	width: 50%;
	padding: 1em;
	float: left;
	margin-right: 0px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: black;	
}

.pickinforight {
	width: 50%;
	float: left;
	padding: 1em;
	margin-left: -1px;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: black;	
}

.ship_to {
	width: 50%;
	float: left;
}

.ship_from {
	width: 50%;
	float: left;	
}

table.pickticketinfo { 
    margin-bottom: 1em;
}

table.pickticketinfo td { 
    padding-left: 5px;
    padding-right: 5px;
}

.bold {
	font-weight: bold;
}

.float-left {
	float: left;
}

.clear-float {
	clear: both;
}

.space-below {
	margin-bottom: 1em;
}

.error-box{
	background-color: #efcccb;
	font-size: 11pt;
	font-weight: 450;
	color: black;
	border-radius: 5px;
    padding: 15px;
	margin-bottom: 20px;
}

.success-box{
	background-color: #b5ceb7;
	font-size: 11pt;
	font-weight: 450;
	color: black;
	border-radius: 5px;
    padding: 15px;
	margin-bottom: 20px;
}

.pad-right {
	padding-right: 2em;
}

.edit-label-md {
	width: 14em;
	text-align: left;
}

.edit-label-sm {
	width: 9em;
	text-align: left;
}

.edit-label-xs {
	width: 7em;
	text-align: left;
}

.edit-label-xxs {
	width: 4em;
	text-align: left;
}


.modalDialog {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(125,125,125,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}


.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialog > div {
	width: 400px;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 2px;
	background: #fff;
}



.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}
 /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
} 


.close:hover { background: #00d9ff; }

.display-box {
	background-color: #F0F0F0;
	font-size: 11pt;
	font-weight: 450;
	color: black;
	border-radius: 5px;
    padding: 15px;
	margin-bottom: 20px;
}

h2.nfp {
	font-size: 30px;
}

.edit-btn {
  background-color: blue;
  color: white;
  padding: 0px;
  text-decoration: none;
  text-transform: uppercase;
}

.modal-window {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.6);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
 }
.modal-window:target {
  opacity: 1;
  pointer-events: auto;
}
.modal-window > div {
  width: 400px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  padding: 2em;
  background: #ffffff;
}
.modal-window header {
  font-weight: bold;
}
.modal-window h1 {
  font-size: 150%;
  margin: 0 0 15px;
}

.modal-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}
.modal-close:hover {
  color: black;
}

.container {
  display: grid;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.modal-window div:not(:last-of-type) {
  margin-bottom: 15px;
}

small {
  color: #aaa;
}

.btn {
  background-color: #fff;
  padding: 1em 1.5em;
  border-radius: 3px;
  text-decoration: none;
}
.btn i {
  padding-right: 0.3em;
}

div.edit-sort {
  overflow: hidden auto;
  overflow-x: hidden;
  overflow-y: auto;
}

span.edit-sort {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  color: #222222;
}

.edit-sort-label {
  font-weight: 400;
  font-size: 14px;
  float:left; 
  margin-bottom: 0px;
  width:30%;
  line-height: 19.8px;
  vertical-align: baseline;
}

div.edit-sort-info {
    float:left; 
	margin-bottom: 0px; 
	padding: 0;
}

input.edit-sort-input, textarea.edit-sort-input {
  font-size: 12px;
  font-weight: 300;
  height: 28px;
  line-height: 16px;
  margin-right: 10px;  
  border-top: 0;
  border-left: 0;
  border-bottom: 1px solid rgb(224, 224, 224);
  border-right: 0;
  width: 100%;
}

div.edit-sort-input{
  width:50%;
  float: right;
}

input.edit-sort :disabled{ 
    color: rgb(109, 109, 109);
}

div.scrollable {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: auto;
}

#sort-info-title {
    font-size:xx-large;
	line-height: 300%;
}

td.rcf1 {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;	
}

/*
 * inline-block elements expand as much as content, even more than 100% of parent
 * relative position makes z-index work
 * explicit width and nowrap makes overflow work
 */
td.rcf1 div {
  display: inline-block;
  position: relative;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}
/*
 * higher z-index brings element to front
 * auto width cancels the overflow
 */
td.rcf1 div:hover {
  z-index: 100;
  width: auto;
  background-color: #FFFFCC;
}

.show_for_print {
	display:none;
}

td.overflow-tip {
  /* make it single-line */
  white-space:nowrap;
  /* truncate by container's size */
  overflow-x: hidden;
  /* add three dots */
  text-overflow: ellipsis;
}

  /* on touch or hover */
td.overflow-tip:active, td.overflow-tip:hover {
    /* show hidden part outside of parent */
    overflow-x: visible;
}

    /* and with inner span */
td.overflow-tip:active span, td.overflow-tip:hover span { 
      /* allow to overlap siblings */
      position: relative;
      /* make readable design */
      background-color: PaleGoldenRod;
      border: 1px solid gray;
      padding: 3px;
      /* compensate padding and border size to avoid jerking */
      margin-left: -4px;
} 

table#sort-data-table th {
	padding-left:7px;
	padding-right:7px;
}

.rcf_notes {
	white-space: normal !important;
}
/* override styles when printing */
@media print {
  @page {size: landscape}
	
  body {
    margin: 0;
    color: #000;
    background-color: #fff;
  }

    .hide_for_print, .header, .footer  {
	    display: none;
    }
	
	.show_for_print {
		display:block !important;
	}
	
	h2, h4 {
		text-align: left;
	}
	
  .nfp-table {
	border: 1px solid black;
    table-layout:fixed;
    width:100%;
  }

  .nfp-table tr:nth-child(even) {background: #f5f5f5;}
  .nfp-table tr:nth-child(odd) {background: #FFF}
  .nfp-table tr:hover { background: #e8e8e8 }

}