:root{
	--brand-primary:         #007cbb;
	--brand-primary-light:   #3396c8;
	--brand-primary-dark:	   #006ba2;
	--brand-success:         #00b485;
  --brand-success-dark:    #009b72;
	--brand-success-light:   #33c39d;
	--brand-info:            #1976d2;
	--brand-info-light:      #64b5f6;
	--brand-info-dark:		   #1669bb;
	--brand-warning:         #ffae00;
  --brand-warning-dark:    #e69d00;
	--brand-warning-light:   #ffbf33;
	--brand-major:           #b27a00;
	--brand-danger:          #cf4833;
  --brand-danger-dark:     #bc402c;
	--brand-danger-light:    #d86c5b;
	--brand-active:          #005c9a;
	--brand-tertiary:        #363e49;
	--gray-base:             #212121;
	--fc-white:				       #fff;
}

body {
  background: repeat darkgray;
  font-family: 'Roboto', sans-serif;
}

body.fc_embedded {
	background: repeat white;
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - 20px);
}

#embedded_wrapper {
	flex: 1;
}

#wrapper, #container {
  margin-left: auto;
  margin-right: auto;
}

#wrapper {
  width: 1000px;
  -moz-box-shadow: 0px 0px 20px #000; /* FF3.5+ */
  -webkit-box-shadow: 0px 0px 20px #000; /* Saf3.0+, Chrome */
  box-shadow: 0px 0px 20px #000; /* Opera 10.5, IE 9.0, CSS3 standard */
  background-color:#FFF;
}

#container {
  padding: 40px 40px 20px 40px;
  background: url('../images/swoop.jpg') no-repeat;
}

h1, h5, .footerLink {
	color: var(--brand-primary);
}
h1 {font-size: 2.2em;}
h1 img {vertical-align: middle}

p { margin-bottom: 1.5em;}

#results td, #results th { text-align: left; padding-right: 20px;}

#error em, #cancel em { color: var(--brand-danger) }

.borderBox { padding: 12px; border: 2px solid var(--brand-info-dark); margin-bottom: 20px;}
.controls { margin-top: 20px; }
.controls input { margin-top: 0.5em }

#defaultProg { position: absolute; visibility: hidden; max-height:512px; overflow-y: scroll;}
#defaultProg table, #legacyProgress table {width: 100%; table-layout:fixed}
table { border-collapse: collapse}
#configTable { border: 1px solid var(--brand-info-light); font-size: 14px; }
#configTable td {
    border: 1px solid var(--brand-info-light);
	padding-left: 8px;
	padding-right: 8px;
}​
#defaultProg td, #defaultProg th {font-size: 0.8rem; padding:2px; border-collapse: collapse}
#defaultProg td.status, #defaultProg th.status, #defaultProg th.cancelTransfer, #defaultProg td.cancelTransfer {
  background-position: center;
  background-repeat: no-repeat;
}
#defaultProg td.transferComplete { background-image: url('../images/tick.png')}
#defaultProg td.cancelTransfer { background-image: url('../images/cross-button.png')}
#defaultProg td.filename {
  overflow: hidden; /* this is what fixes the expansion */
  text-overflow: ellipsis; /* not supported in all browsers, but I accepted the tradeoff */
  white-space: nowrap;
}
.barContainer { height: 24px; width: 48%; border: 1px solid lightblue; display: inline-block;}
#legacyProgress .barContainer { width: 100% }
.barInner {
  height: 100%; width: 0%; float: left;
  font-size: 10px;
  height: 24px;
  line-height:24px;
  color: white;
  text-align: right;
  background: #007cbb;
  background: -moz-linear-gradient(top, #007cbb 0%, #005a88  100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#007cbb), color-stop(100%,#005a88));
  background: -webkit-linear-gradient(top, #007cbb 0%,#005a88 100%);
  background: -o-linear-gradient(top, #007cbb 0%,#005a88 100%);
  background: -ms-linear-gradient(top, #007cbb 0%,#005a88 100%);
  background: linear-gradient(top, #007cbb 0%,#005a88 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007cbb', endColorstr='#005a88',GradientType=0 );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3b679e', endColorstr='#7db9e8',GradientType=0 );
}
.ftpBar .barInner {
  /* if the FTP portion of the octet-stream progress bars need to be a different colour, set it here */
}
.subprogress {
  height: 16px;
}
.subprogressBar {
  font-size: 8px;
  height: 16px;
}
.inactive { color: #bfbfbf; }
.error { color: var(--brand-danger); }
.inactive .barContainer{
  border-color: #bfbfbf;
}
.error .barContainer  {
  border-color: var(--brand-danger);
}

.inactive .barInner {
  background: #bfbfbf;
  background: -moz-linear-gradient(top,  #bfbfbf 1%, #7f7f7f 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#bfbfbf), color-stop(100%,#7f7f7f));
  background: -webkit-linear-gradient(top,  #bfbfbf 1%,#7f7f7f 100%);
  background: -o-linear-gradient(top,  #bfbfbf 1%,#7f7f7f 100%);
  background: -ms-linear-gradient(top,  #bfbfbf 1%,#7f7f7f 100%);
  background: linear-gradient(to bottom,  #bfbfbf 1%,#7f7f7f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfbfbf', endColorstr='#7f7f7f',GradientType=0 );
}
.httpBar {
  border-right: none;
  width: 74%;
}
.ftpBar {
  border-left: none;
  width: 24%;
}
.dropOver {
  display: flex;
  height: 150px;
  border: 2px dashed var(--brand-primary);
  text-align: center;
  padding: 12px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.dropOver .dropTargetText {

    flex: 0 0 auto;
}

#dropWidget {
  position: relative;
}

.dropOver, #defaultProg {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility:    hidden;
  -ms-backface-visibility:     hidden;
  backface-visibility: hidden;
}

.dropOver { color: var(--brand-info-dark); }

.message { color: var(--brand-success) }

#progOver {
  background-color: #000000;
  opacity: 0.1;
  display: block;
  position: absolute;
}

#redirect { display: inline-block;}

.controls input, .controls button, #legacyUI input, #files-upload-box{
  display: block;
}
#files-upload-box span{
	font-size: 0.76em;
}

.controls input.multi-input, .controls span.multi-input,  .controls button.multi-input{
	display: inline-block
}

#files-upload{
	width: 0px;
	height: 0px;
	opacity: 0;
}
#clearQueue {
  float: right;
  margin-bottom: 12px;
}

#formMessage, #errorMessages { margin-bottom: 20px; }
#errorMessages { color: var(--brand-danger); }

.fcup-modal {
    padding: 15px;
    background: rgba( 255, 255, 255, 1 );
    border: none;   
    box-shadow: 0px 3px 10px 0px rgba( 0, 0, 0, 0.5 );
    margin-top: 30px;
    display: block;
    flex-grow: 0;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
    width: 405px;
}

.fcup-modal table, .fcup-modal table input[type=text], .fcup-modal table input[type=password] {
	width: 100%;
}

.fcup-modal-overlay {

    width: 100%;
    height: 0%;
    top: 0px;
    left: 0px;
    position: absolute;
    background: rgba( 0, 0, 0, 0.0 );
    z-index: 10;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    transition: background 0.25s ease, height 0.25s step-end;
    overflow: hidden;
    display: flex;
}

.fcup-modal-overlay.show {

    height: 100%;
    background: rgba( 0, 0, 0, 0.5 );
    transition: background 0.25s ease, height 0.25s step-start;
}

.fcup-modal-overlay.show .fcup-modal {

    opacity: 1;
}

.fcup-modal h3 {
    
    margin-top: 0;
}

.fcup-modal p:last-child {
    
    margin-bottom: 0;
}

.fcup-notify {

    padding: 15px;
    display: block;
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: 4px;
    color: #ffffff;
}
.fcup-notify h3 {
    padding: 0px;
    margin: 0px 0px 5px;
}
.fcup-notify p {
    padding: 0px;
    margin: 5px 0px 0px;
}
.fcup-notify.success {
    color: #3c763d;
    background: #dff0d8;
    border: 1px solid #d6e9c6;
}
.fcup-notify.info {
    color: #31708f;
    background: #d9edf7;
    border: 1px solid #bce8f1;
}
.fcup-notify.warning {
    color: #8a6d3b;
    background: #fcf8e3;
    border: 1px solid #faebcc;
}
.fcup-notify.danger {
    color: #a94442;
    background: #f2dede;
    border: 1px solid #ebccd1;
}
.fcup-notify.show {
    opacity: 1;
}

#fcupLogout {
    /* display: none; */ /* used to SHOW when needed. Now it shows by default and is never then hidden. */
    cursor: pointer;
	padding-left: 1
}

#fcupLogout.show {
    display: inline;
}

.textRight {
  text-align: right;
}

.floatLeft {
    float: left;
}

.text-small {
    font-size: 0.66em;
}

.ssl_enabled {
    color: darkgreen;
}

.ssl_disabled {
    color: var(--brand-danger);
}

footer {
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    overflow: hidden;
}

footer .footerLink {
    padding-left: 12px;
    text-decoration: none;
    cursor: pointer;
}

.fc_embedded .smallLogo {
	height: 50px;
}

.fc_embedded h5 {
	font-size: 1em;
	margin-top: 0;
	margin-bottom: 12px;
}

.fc_embedded h5>img {
	vertical-align: -20px;
}

.screenshot {
	max-width: 100%
}

.dropShadow {
    box-shadow: 0 0 16px rgba(1,1,1,0.5)
}

.btn-custom {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px 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;
}

.btn-info-custom {
  color: var(--fc-white);
  background-color: var(--brand-info);
  border-color: var(--brand-info-dark);
}

.btn-primary-custom {
  color: var(--fc-white);
  background-color: var(--brand-primary);
  border-color: var(--brand-primary-dark);
}

.btn-success-custom{
  color: var(--fc-white);
  background-color: var(--brand-success);
  border-color: var(--brand-success-dark);
}

.btn-danger-custom {
  color: #fff;
  background-color: var(--brand-danger);
  border-color: var(--brand-danger-dark);
}

.btn-warning-custom {
  color: #fff;
  background-color: var(--brand-warning);
  border-color: var(--brand-warning-dark);
}