/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: #5a5a5a;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
  background-color: #777;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

/* DH changes */


body {
  padding-top: 0;
  padding-bottom: 0;
  color: #000;
  box-sizing: border-box;
}

.fullcontainer {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.bg-dark, .bg-light { background-color: #0b407b!important;  xbox-shadow: inset 0px 0px 25px 0px rgba(0, 0, 0, 0.5); }
.navbar-light .navbar-nav .nav-link {  color: rgba(255,255,255,1); }
.navbar-light .navbar-nav .active>.nav-link, 
.navbar-light .navbar-nav .nav-link.active, 
.navbar-light .navbar-nav .nav-link.show, 
.navbar-light .navbar-nav .show>.nav-link {
    color: rgba(255,255,255,1);  font-weight:600;
}
x.navbar-light .navbar-nav .dropdown-toggle {  color: rgba(0,0,0,1); }

.nav .nav-link.active {  color: rgba(0,0,0,1);  font-weight:600; }

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #76be43;
}

.navbar-dark .navbar-nav .nav-link {  color: rgba(255,255,255,1); }
.navbar-dark .navbar-nav .active>.nav-link, 
.navbar-dark .navbar-nav .nav-link.active, 
.navbar-dark .navbar-nav .nav-link.show, 
.navbar-dark .navbar-nav .show>.nav-link {
    color: rgba(255,255,255,1);  font-weight:600;
}
x.navbar-dark .navbar-nav .dropdown-toggle {  color: rgba(0,0,0,1); }

.nav .nav-link.active {  color: rgba(0,0,0,1);  font-weight:600; }

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: #76be43;
}


.fmvr { color:#155da9; }
.fmvrbg { background-color:#155da9; }
.chm { color:#27AAE2; }
.chmbg { background-color:#27AAE2; }

.main { }
.main.test { background:url(../img/testback2.jpg) repeat center fixed; }
.main.dev { xbackground:url(../img/devback2.jpg) repeat center fixed; }

.main_inner { background:rgba(255,255,255,0.5); padding:5px 0;  overflow-x: auto; }

.content { max-width:600px; margin:0 auto; xpadding:20px; 
	xborder:4px inset rgba(21, 93, 169, 0.1);
	background: rgba(255,255,255,1);
	box-shadow: inset 0px 0px 3px 3px rgba(0,0,0, 0.2) , 0px 0px 8px 8px rgba(0,0,0, 0.05); }
.wide { max-width:100%; box-shadow:none; background: rgba(255,255,255,0.1);}	
.content_vatreturn { width:90%; max-width:1024px; }	

.wide .container { max-width: none; width:100%; }
@media (min-width: 769px) {
	.wide .container { min-height: 400px; width:96%;}
}

#topmessage { display:block; width:90%; margin:10px auto; border:2px solid red; text-align:center; font-size:16px; font-weight:bold }

header { min-height:30px; position: relative;}
.navbar-brand.right { margin-right:0; margin-left:1rem; }
.nav-link { text-align: center; }

.navbar-brand img { max-width:100px; max-height:34px; background:#fff; border:3px solid #fff;}

@media (min-width: 640px) {
.navbar-brand img { max-width:200px; max-height:68px;}
}

.nav-link, .dropdown-menu .nav-link {
  text-align: left;
  padding-left:5px; 
}

@media (min-width: 768px) {
.nav-link {
  text-align: center;
}
}





/*

@media (min-width: 768px) {
.navbar-expand-md .navbar-collapse {
    display: none !important;
}
.navbar-expand-md .navbar-toggler {
    display: block;
    margin: 0 auto;
}
}
@media (min-width: 991px) {
.navbar-expand-md .navbar-collapse {
    display: -ms-flexbox!important;
    display: flex!important;
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
}
.navbar-expand-md .navbar-toggler {
    display: none;
}
}
*/
.data { padding:10px 0px 10px 0; xxword-break: break-word;}	
.guidance { padding:10px; border-radius:6px; box-shadow: 0 0 20px 5px rgba(221, 221, 221, 0.8); }	

.payamount { padding: 5px;
    border: 1px solid #777;
    margin-bottom: 10px;
    box-shadow: inset 0 0 10px 3px #eee; }

input[type=submit] { cursor: pointer; }

table.vatdata { width:100%; }
table.vatdata td { padding:5px; vertical-align:top; }
table.vatdata td.name { width:auto; word-break: normal;}
table.vatdata td.value { text-align:right; min-width:100px; }
table.vatdata td.namet { padding:0 0 0 5px;}
table.vatdata td.valuet { padding:0; text-align:right;}

table.vatdata tr.spacer { height:10px;}
table.vatdata td.button { text-align:right; padding-top:10px; } 
table.vatdata td.text { text-align:left; xpadding:10px; }
table.vatdata td.subhead { font-weight:400; padding-top:20px;  }
table.vatdata td.hr { border-top:1px solid #aaa; line-height:10px; }

table.vattbl { width:100%; }
table.vattbl td { padding:5px; xvertical-align:top; line-height:20px;}
table.vattbl td.name { width:auto; word-break: normal; background: lightgreen;}
table.vattbl td.value { text-align:right; min-width:100px; background: lightgreen; }
table.vattbl td.namet { padding:0 0 0 5px;}
table.vattbl td.valuet { padding:0; text-align:right;}
table.vattbl td.name  div.name { border:1px solid green; padding:5px 5px; }
table.vattbl td.value div.box { display:inline-flex; }
table.vattbl td.value div.fno { border:2px solid green; border-right:0; min-width:50px; text-align:center; }
table.vattbl td.value div.nofno { white-space: nowrap; }
table.vattbl td.value div.value { border:2px solid green; min-width:120px; padding-right: 5px; white-space: nowrap;}
table.vattbl tr.spacer { height:10px;}
table.vattbl td.tdfno { border:2px solid green; background:green; min-width:50px; text-align:center; }
table.vattbl td.tdfnoval { border:2px solid green; xmin-width:80px; text-align:right; background: #fff; }
table.vattbl td.button { text-align:right; padding-top:10px; } 
table.vattbl td.text { text-align:left; xpadding:10px; }
table.vattbl td.subhead { font-weight:400; padding-top:20px;  }
table.vattbl td.hr { border-top:1px solid #aaa; line-height:10px; }
.no5 { font-weight:bold; }

xtable.vatdatab td.name, 
xtable.vatdatab td.value  { border-bottom:1px solid #ddd; }

table.acct { width:100%; }
table.acct td { padding:5px 0; vertical-align:top; }
table.acct td.hr { border-top:1px solid #aaa; line-height:10px; }
table.acct td.name { width:auto; max-width:135px; padding:13px 5px 0 0; word-break: normal;}
table.acct td.value { text-align:right; min-width:100px; xwidth:60%; padding-right:5px; }
table.acct td.text { text-align:left; xpadding:10px; }
table.acct td.subhead { font-weight:400; padding-top:20px;  }
table.acct .logoimg1 { max-width:280px; max-height:100px; }
table.acct .logoimg2 { width:100%; max-width:280px; max-height:100px; }
table.acct tr.odd { background:#eee; }

table.obls { width:100%; margin-top:30px; }
table.obls td { padding:5px 5px; border:1px solid #ddd; border-collapse: collapse; vertical-align: top;}
table th { padding:10px 10px; border:1px solid #333; border-collapse: collapse; 
	box-shadow: inset 0px 0px 12px 2px rgba(0,0,0, 0.2)}

th .head { font-size:1.5rem; }
th .text { font-size:1rem; font-weight:100; }
td.full { width:100%; }

table.dnload { width:100%; border:1px solid #000; }
table.dnload th { padding:15px 15px; }
table.dnload td { padding:15px; vertical-align:top; border:1px solid #ccc; }

table.options { xwidth:100%; max-width:1024px; xborder:1px solid #ccc; }
table.options td { padding:5px; vertical-align:top; xborder:1px solid #ccc; }
table.options td.name { padding:0px 10px;  line-height:32px; vertical-align: bottom;}
table.options td.value { padding:5px 10px;  }

.statusbox { display:inline-block; xborder:1px solid #000; }
table.status { xwidth:100%; }
table.status td { padding: 8px 10px 8px 10px; vertical-align: middle; color: #000; border-bottom:1px solid #ccc;}
table.status td.switch {  }
table.status tr.odd { background:#ddd; }
table.status.top td {  vertical-align: top;}

table.report { width:100%; }
table.report th { border:0px; background:#ddd; box-shadow: none; border-right: 1px solid #fff;}
table.report th:last-of-type { border-right:0; }
table.report tr.thead th { padding:0;  }  
table.report tr.thead th div { border:1px solid #155da9; padding:10px; }  
table.report tr.spacer { background:transparent; height:10px; }
table.report tr.odd { background:#eee; }
table.report tr.even { background:#fff; }
table.report tr.break td { height:0px; line-height:0; margin:0;}
table.report td { padding:5px; vertical-align:top; border-right:1px solid #ddd; }
table.report td:last-of-type { border-right:0; }
table.report td.hr { border-top:1px solid #aaa; line-height:10px; }
table.report td.hr { border-top:1px solid #aaa; line-height:10px; }
table.report tr:last-of-type td { border-bottom:10px solid #ddd; }
div.admin table.report tr:last-of-type td { border:0; }

div.admin, div.admin table tr td { font-size:14px; }
div.admin table.report { margin-top:20px; }

table.admin { width:100%; border:1px solid #555; padding:5px; margin-bottom:20px; }
table.admin td { padding:5px; vertical-align:top;  }
table.admin td:last-of-type { padding:5px; vertical-align:top; border-right:1px solid #555; }
table.admin td.name { width:49%; padding-right:5px; word-break: normal;}
table.admin td.value { text-align:right; width:49%; }
table.admin hr.hr { border-top:1px solid #aaa; margin-top:5px; margin-bottom:5px; }

.collapse.show { padding-bottom:20px; }
.btnsmall { font-size:0.7em; line-height:0.8em; display:inline-block;}

.bin { width:20px; vertical-align: sub; cursor:pointer; }
.nobin { display:none; }

.agentbox { xmin-height:156px; margin-top:10px; xborder-bottom:1px solid #ddd; }
.agentbox:first-of-type { margin-top:0; }
.agentbox div { padding-left:0; padding-right:0; xborder:1px solid red; }
.agentbox .tick { margin-left:30px; width:20px; height:20px; }

.root-link { font-size:18px; text-decoration: underline; }

.btns a { margin-top:10px; min-width:300px; }
.dash_revenue { color:#000; border:1px solid #ccc; padding:10px 10px; 
	box-shadow: inset 0px 0px 12px 2px rgba(127,127,127, 0.2);
	margin-bottom:10px;  }
	
.messagebox { color:#070; border:1px solid #0f0; padding:10px 10px; 
	box-shadow: inset 0px 0px 12px 2px rgba(0,255,0, 0.2); 
	margin-bottom:10px; }	
.errorbox { color:#000; border:1px solid #f00; padding:10px 10px; 
	box-shadow: inset 0px 0px 12px 2px rgba(255,0,0, 0.2);
	margin-bottom:10px; }	
.actionbox { color:#000; border:1px solid #ccc; padding:10px 10px; 
	box-shadow: inset 0px 0px 12px 2px rgba(127,127,127, 0.2);
	margin-bottom:10px; }	

.vatbox { border:1px solid #070; width:100%; padding:5px; overflow-x:auto; }
.maxbox { display:inline-block; max-width:960px; margin:0 auto; }

.error_message { display:none; width:100%; border:1px solid red; padding:10px; 
	box-shadow: inset 0px 0px 12px 2px rgba(255,0,0, 0.2); color:#000; margin-bottom:10px;}
.error_message.show { display:inline-block; }

.tcpp h2, .tcpp h3, .tcpp h4, .tcpp h5 { width:100%; }
div.contact h3 { font-size:18px; }
div.contact h2 { font-size:18px; border-bottom:1px solid #777; margin:3px 0 20px 0; padding:0 0 10px 0; }
div.contact .boxed { padding:10px; }
div.contact .box { border:1px solid #ccc; padding:10px; border-radius:5px; }

.mailmsg { display: none;  padding: 3px 5px;  font-weight: bold;  color: #700;  border: 1px solid #d00;}

.ui-dialog .ui-dialog-titlebar { color:#fff; background: #0b407b; border: 1px solid #000; }
.ui-dialog .ui-dialog-titlebar-close { color:transparent; right:0.6em; }
.ui-dialog .ui-dialog-titlebar-close:focus { outline:none; }
.ui-button-icon-only .ui-icon { margin-left: -9px; }
.ui-dialog .ui-dialog-content { padding:0.5em }
.ui-dialog { border:1px solid #077; background:#fff; }
.clockdiv { text-align:center;  }
.clockdiv .clock { border: 1px solid #27aae2;  width: auto;  margin: 10px auto;  padding: 5px;  display: inline-block;
	border-radius: 5px; }
.clockdiv #clocksecs { border:1px solid #27aae2; border-radius: 5px; font-size:20px; font-weight:600; background:#27AAE2; }
.clockdiv .buttons {margin-top:10px; }

/*
.ui-widget {
    font-family: Verdana,Arial,sans-serif;
    font-size: .8em;
}

.ui-widget-content {
    background: #F9F9F9;
    border: 1px solid #90d93f;
    color: #222222;
}

.ui-dialog {
    left: 0;
    outline: 0 none;
    padding: 0 !important;
    position: absolute;
    top: 0;
}

#success {
    padding: 0;
    margin: 0; 
}

#dialog { width:600px; }

	
.ui-dialog .ui-dialog-content {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    overflow: auto;
    position: relative;
    padding: 0 !important;
}

.ui-widget-header {
    background: #b0de78;
    border: 0;
    color: #fff;
    font-weight: normal;
}

.ui-dialog .ui-dialog-titlebar {
    padding: 0.1em .5em;
    position: relative;
        font-size: 1em;
}
*/
.no-gutter > [class*='col-'] {
    padding-right:0;
    padding-left:0;
}

footer { padding:15px 0; }
footer .row > div { text-align:center !important; }
footer .row > div > div { padding:5px 0 5px 0px; }
footer a.foot-link { color:#fff; }


xbody { font-family: Montserrat; }
body { font-family: Helvetica; letter-spacing:0.6px; }


.hometop {min-height:263px; background:url(../img/MTD_tax_return.jpg) no-repeat 50% 0; background-size:cover; }
xh1.maintitle { display:inline-block; color:#fff; font-size: 300%; font-weight:700;
	text-align:center; width:100%; margin-top:105px; text-shadow: #333 0px 0px 10px;}
h1.maintitle { text-align:center; width:85%; margin:0 auto; font-size:2rem; font-weight:600; }

h1.texttop, .texttop { margin-top:20px; }
h2.maintitle { display:inline-block; color: #333;  font-size: 250%; font-weight:700;
	text-align:center; width:100%; margin-top:65px; text-shadow: #333 0px 0px 1px;}
h5.description { line-height:140%; max-width:95%; margin:0 auto; font-size:1rem; }
.marketing { padding-top:20px; }	
.marketing h2 { color:#777; font-size:1.1rem; font-weight:600; padding-top:10px; min-height:3.2rem;  }
.marketing p { color:#777; min-height:4.5rem; }

.mainvideo { padding-bottom:20px; margin-bottom:50px; max-width: 600px; margin: 0 auto;}

@media (max-width: 991px) {
	.maintext { padding-bottom:20px; margin-bottom:50px; border-bottom:1px solid #ccc; }
	.mainvideo_holder { border-bottom:1px solid #ccc; }
	.marketing p { min-height:0; }
	.marketing h2 { min-height:0; }
	.marketing .bullets { padding-bottom:20px; margin-bottom:50px; border-bottom:1px solid #ccc; }
}

.tpmenu { position:fixed; }
.tpmenu a  { padding-left:10px;  }
.tpmenu a .fas { width:20px; text-align:center; }

.videobounds { }

h1.pagetitle { font-size: 2rem; width: 100%;}
h1.pagetitlec { font-size: 2rem; width: 100%; text-align:center; 
	padding-bottom:10px; border-bottom:1px solid #000; margin-bottom:20px; }
.text-hi { color:#f00; font-weight:bold; }
.row p { width:100%; }
.spacetop { padding-top:20px; }
.box { width:100%; }
.list li { padding:6px 0; }
h2.pagetitle { font-size: 1.1rem; width: 100%; padding-top:10px;  border-bottom: 2px solid #ccc; }
h1.pagehead { font-size: 1.1rem; width: 100%; padding-top:20px; }
h1.subtitle { font-size: 1.5rem; width: 100%; padding-top:2px; }

.bullets a { text-decoration: none; }

table tr td small { line-height:0.9rem; display:block; margin-top:-0.5rem; color:var(--wwwsmalltext); }

.smaller { font-size:90%; }
.smallest { font-size:80%; }
.dnone { display:none; }  /*bs4 has important which screws jquery */

xx.btn-group .btn+.gap { margin-left:3px; border-radius:5px !important; }
.video-container { position: relative; padding-top:0px; padding-bottom: 62.5%; height: 0; overflow: hidden; }

.video-container iframe,
.video-container object,
.video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

img.info { max-width:100%; display:block; xmargin:0 auto;}

p.hr::after { content:""; display:block; width:30%; border-bottom:1px solid #fff; margin:10px auto 0 auto; }

.btn-primary {
    color: #fff;
    background-color: #155da9;
    background-image: none;
    border-color: #100d21;
} 
.btn-outline-success {
    color: #fff;
    background-color: #155da9;
    background-image: none;
    border-color: #100d21;
} 
.btn-outline-success:hover {
    color: #155da9;
    background-color: #fff;
    border-color: #100d21;
}  
.btn-outline-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 51, 167, 0.5);
}

.btn-outline-success:not(:disabled):not(.disabled).active:focus, 
.btn-outline-success:not(:disabled):not(.disabled):active:focus, 
.show>.btn-outline-success.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 51, 167, 0.5);
}

.btn-outline-success:not(:disabled):not(.disabled).active, 
.btn-outline-success:not(:disabled):not(.disabled):active, 
.show>.btn-outline-success.dropdown-toggle {
    color: #155da9;
    background-color: #fff;
    border-color: #fff;
}

.test { color:#900; }

#accordion3{
    padding-left: 60px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

#accordion3:before{
    content: "";
    width: 5px;
    xheight: 100%;
    background: #27AAE2;
    position: absolute;
    top: 0;
    bottom:10px;
    left: 22px;
    z-index: -1;
}

#accordion3 .panel-title.high a { color : #900; }

#accordion3 .panel-title { font-size:1rem; }


#accordion3 .panel-title a{
    display: block;
    padding: 14px 30px 14px 15px;
    background: #fff;
    font-size: 18px;
    font-weight: 500;
  	color: #000;
    position: relative;
    transition: all 0.5s ease 0s;
    xbox-shadow: 0 1px 2px rgba(43,59,93,0.30);
    box-shadow: inset 0px 0px 12px 2px rgba(0,0,0, 0.2);
    text-decoration: none;
}
#accordion3 .panel-title a i {
	color:#777;
}	
#accordion3 .panel-title a:before{
    content: "\f068";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    width: 50px;
    height: 50px;
    line-height: 40px;
    border-radius: 50%;
    background: #ddd;
    text-align: center;
    font-size: 17px;
    color: #27AAE2;
    border: 6px solid #27AAE2;
    position: absolute;
    top: 0;
    left: -60px;
}
#accordion3 .panel-title a.collapsed:before{
    content: "\f067";
    background: #fff;
}
#accordion3 .panel-title a:after,
#accordion3 .panel-title a.collapsed:after{
    content: "\f106";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    width: 30px;
    height: 100%;
    text-align: center;
    line-height: 30px;
    xborder-left: 2px solid #D11149;
    position: absolute;
    top: 10px;
    right: 0;
}
#accordion3 .panel-title a.collapsed:after{ content: "\f107"; }

#accordion3 .panel-body{
    padding: 15px 15px;
    xbackground: #fff;
    border: none;
    border-radius: 2px;
    xbox-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) inset, 0 1px 2px rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    xcolor: #487677;
    line-height: 1.5rem;
    margin-bottom: 20px;
}
#accordion3 .panel-body .reportbox {
	margin-bottom:20px;
}


@media (max-width: 640px) {
	.panel-default {
		border:1px solid #777;
		margin-bottom:10px;
	}
	.panel-title {
		margin-bottom:0px;
	}
	#accordion3 .panel-body {
		overflow: hidden;
		padding:1px;
	}

	.panel-collapse {
		padding:3px; 
	}
	#accordion3{
	 padding-left: 0px;
	}
	#accordion3:before{
		display:none;
	}

	table.report {
		overflow-x: auto;
		display: block;
	}

}

.faq-title{cursor:pointer; padding:5px 30px 5px 0 !important; }
.faq-title h4{margin:0px !important; font-size:20px !important; line-height:22px !important}
.faq-accordion .faq-main{border:1px solid #d9d9d9; margin-bottom:15px;  
	padding:10px; transition: all 0.5s ease 0s;
	box-shadow: inset 0px 0px 12px 2px rgba(0,0,0, 0.2); }
.faq-accordion .faq-main.open{background:#fff;}
.faq-accordion .faq-main.open h4{color:#333}

[data-accordion] [data-content] {    overflow: hidden;    max-height: 0;}
/* Basic Theme */
[data-accordion] {    line-height: auto;}
[data-control],
[data-content] > * { padding: 10px 0px;}
[data-content] [data-accordion] { border: 0;    padding: 0;}
[data-accordion] [data-control] {    position: relative;    padding-right: 40px;}
[data-accordion] > [data-control]:after { content: "";position: absolute; right: 10px; top: 12px; 
	font-size: 25px;  font-weight: 200; color: #444;  height: 15px;
  width: 24px;  background: url('../img/down.png') right 0px no-repeat; background-size: 50%; }
[data-accordion].open > [data-control]:after { -webkit-transform: rotate(-180deg);  
	-ms-transform: rotate(-180deg); transform: rotate(-180deg); 
	background: url('../img/down.png') right 0px no-repeat;  background-size: 50%;  
	position: absolute; right: 0px !important; top: 5px !important;
  font-size: 25px;  font-weight: 200; color: #444; height: 15px; width: 24px; }


.target {
  border: solid 1px #aaa;
  min-height: 200px;
  width: 30%;
  margin-top: 1em;
  border-radius: 5px;
  cursor: pointer;
  transition: 300ms all;
  position: relative;
  background-size: cover;
}

.contain {
    background-size: cover;
  position: relative;
  z-index: 10;
  top: 0px;
  left: 0px;
}
textarea {
  background-color: white;
}
textarea .txt.active {
  box-shadow: 0px 0px 10px 10px rgba(0,0,255,.4);
}


.paste.target.active {
    box-shadow: 0px 0px 10px 10px rgba(0,0,255,.4);
}

p.testi { margin-left:5%; width:90%; margin-top:40px;}
.testi i { padding:0 10px 0 0; font-size:20px; color:#27AAE2;}
.testiname { margin-left:10%; width:90%; color:#555;}

.menutext { color:#fff; }


:root {
  --headerback: #0b407b;
  --headertext: #fff;
  --footerback: #0b407b;
  --footertext: #fff;
  --adminback : #333; 
  --admintext : #fff;
  --adminsummary : #77bf45;
  --adminbuttonshadow : #155da9;
  --adminlinktext: #0b407b;
  --adminsmalltext:#979797;
  --admininfo : #ccc;

  --wwwback: #cacaca;
  --wwwtext: #000;
  --wwwsummary: #222;
  --wwwaccback: #fbfbfb;
  --wwwacctext: #000;
  --wwwbuttonshadow : #155da9;
  --wwwlinktext: #0b407b;
  --wwwsmalltext:#004f96;
}

#accordion4{
    padding-left: 3px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
#accordion4:before {
    content: "";
    width: 3px;
    background: var(--wwwaccback);
    color: var(--wwwacctext);
    position: absolute;
    top: 10px;
    bottom: 0px;
    left: 0px;
    z-index: -1;
}
#accordion4 .panel-title.high a { color : #500; }
#accordion4 .panel-title { font-size:1rem; }
#accordion4 .panel-title a{
    display: block;
    padding: 14px 30px 14px 41px;
    background: var(--wwwaccback);
    color: var(--wwwacctext);
    font-size: 18px;
    position: relative;
    transition: all 0.5s ease 0s;
    box-shadow: none;
    font-weight:600;
    text-decoration: none;
    border-radius: 14px 0 0 0;
    margin-left: -3px;
}
#accordion4 .panel-title a i {
  color:#777;
} 
#accordion4 .panel-title a:before{
    xcontent: "\f068";
    content: "\f106";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    width: 10px;
    height: 49px;
    line-height: 49px;
    background: var(--wwwaccback);
    color: var(--wwwacctext);
    text-align: center;
    font-size: 18px;
    position: absolute;
    top: 0;
    left: 12px;
}
#accordion4 .panel-title a.collapsed:before {
    content: "\f067";
    content: "\f107";
}
#accordion4 .panel-title a:after,
#accordion4 .panel-title a.collapsed:after{
    content: "\f106";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    width: 30px;
    height: 49px;
    text-align: center;
    line-height: 49px;
    position: absolute;
    top: 0px;
    right: 6px;
}
#accordion4 .panel-title a.collapsed:after{ content: "\f107"; }
#accordion4 .panel-body{
    padding: 15px 15px;
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 0px;
}
#accordion4 .panel-body .reportbox {
  margin-bottom:20px;
}
#accordion4 .list-group-item { 
  background:inherit; 
  border: 1px solid rgb(142 142 142);
  overflow-x: auto;
}
#accordion4 .panel-last {
    height: 3px;
    margin-left: -30px;
    background: var(--wwwaccback);
    color: var(--wwwacctext);
    margin-top: 0px;
}

@media (max-width: 640px) {
  .panel-default {
    border:1px solid #777;
    margin-bottom:10px;
  }
  .panel-title {
    margin-bottom:0px;
  }
  #accordion4 .panel-body {
    overflow: hidden;
    padding:1px;
  }

  .panel-collapse {
    padding:3px; 
  }
  #accordion4{
   padding-left: 0px;
  }
  #accordion4:before{
    display:none;
  }

  table.report {
    overflow-x: auto;
    display: block;
  }

}

body { overscroll-behavior: contain; }  /* stop the damned pull to refresh */

body.www { background: var(--wwwback); color:var(--wwwtext); }
body.www .wide { background: var(--wwwback); padding-top:10px; }
body.www .main_inner {  background: var(--wwwback); padding-top:0;  }

body.viewer { margin:0; padding:0; }

body.admin { background: var(--adminback); color:var(--admintext); }

body.admin .wide { background: var(--adminback); padding-top:10px; }
body.admin .main_inner {  background: var(--adminback); padding-top:0;  }

body.admin table.status th { background:#bababa; padding:20px 10px;  color:#000; border:0; box-shadow: none;}    
body.admin table.status td { color: #fff; border-bottom: 0px; }    
body.admin table.acct tr.odd { background:#555; }

body.admin table.status tr.odd { background:#444141; }
body.admin table.status tr.notes { border-bottom: 0px solid #ccc; }    
body.admin table.status tr.notes td { padding-top:3px;}    

body.admin .messagebox { color:#fff; }
body.admin .errorbox { color:#fff; }
body.admin .error_message { color:#fff; }

body.admin table tr td small, body.admin div.name small { line-height:0.9rem; display:block; margin-top:-0.5rem; color:var(--adminsmalltext); }

table.admin tr td.full { width:100%; border:0; }

body.admin .pagetitle {
    border-bottom: 2px solid #0b407b;
    color: var(--headertext);
    font-weight: 600;
    line-height: 40px;
    padding: 0;
    padding-left: 15px;
    margin-top:30px;
    background: var(--headerback);
    /*background: linear-gradient(180deg, rgba(162,162,162,1) 0%, rgba(11,64,123,1) 100%);*/
    /*background: linear-gradient(180deg, rgba(11,64,123,1) 0%, rgba(162,162,162,1) 49%, rgba(11,64,123,1) 100%);*/
    border-radius:10px;
  }

xdiv.ui-datepicker{ font-size:10px; }

.btn-small { xborder:1px solid #ccc; padding:5px 10px; display: inline-flex;}
.btn-small:hover { xborder:1px solid #fff;  text-decoration:none; }
.btn-small i { line-height:21px; }
.btn-small span { padding-left:10px; }

.bg-dark, .bg-light { background-color: var(--headerback)!important; }

input.upper { text-transform: uppercase; }

.container.nomin { min-height:auto !important;}

.container.searchtable { min-height:auto;     max-width: 900px;    margin-left: 0;}
.searchtable div div { padding:5px 15px;  }
.searchtable div div label { margin: 0;  line-height: 37px;}
.searchtable div.title {padding:10px 15px;}
.searchtable span.mini { line-height : 2px; display:block; }
.searchtable div.buttons { xtext-align:right;}

@media (max-width: 575px) {
.searchtable div.name {padding-bottom:0;}
.searchtable div.val {padding-top:0;}
}

table.status span.mini { line-height : 8px; display:block; }

input[type=checkbox].form-control, input[type=radio] { width:30px; }

.welcome { position: absolute; z-index: 2000; color: #ccc; top: -15px; left: 8px; font-size:70%; }
.navbar-collapse { position:relative; }

@media (max-width: 767px) {
  header { position:relative; }
  .welcome { left: 50%; top:-30px; transform: translate(-50%, 0);} 
}

.btn-primary, .btn-danger, .btn-warning { 
  border-radius:16px; 
}
.btn-primary { 
  xbox-shadow: 0 0 1px 0px #155da9;
  background: var(--headerback);
  color: var(--headertext) !important;
  border:1px solid #000;
  display:inline-block;
}
.btn-primary:hover { 
  box-shadow: 0 0 8px 2px var(--wwwbuttonshadow);
  border: 1px solid #0065d6;
  background: var(--headerback);
}

body.www div.ui-widget-overlay {
    background: #000000 url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;
    opacity: .7;
    filter: Alpha(Opacity=70);
}

body.admin div.ui-widget-overlay {
    background: #000000 url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;
    opacity: .7;
    filter: Alpha(Opacity=70);
}

.text-primary { color: var(--linktext) !important; }
a.text-primary:focus, a.text-primary:hover { color: var(--linktext) !important; }
a.text-primary:hover { text-decoration: none; }

a.ul:hover { text-decoration: underline; }

.dummy99 { } /* something above is screwed up but i cant see what */
span.lc { text-transform: lowercase; }

.sigbuttons { margin-bottom:5px; }
.signers { display:block; font-size:11px; width:100%; min-width:200px; background: var(--adminback);  color: var(--admintext); }
.sigrow { display:block; width:auto; border:1px solid #ccc;  padding: 3px 5px;}
.sigrow div { white-space: nowrap; }
.a_to_c_link { border:1px solid #777; padding: 5px 10px;  border-radius: 20px; margin-right:10px; 
    white-space: nowrap; display: inline-block;  margin-bottom: 2px; }
a.a_to_c_link { text-decoration: none; background-color: var(--headerback); color: var(--headertext); }
a.a_to_c_link:hover { box-shadow: 0 0 10px 1px #155da9;  border: 1px solid #0065d6; }

.a_to_c_link.greyed { opacity:0.5; }
.disable-click {  pointer-events:none; }
.viewdata_subhead { text-decoration: underline; margin-right:20px; font-weight:600; }
.viewdata_item { position:relative; display:inline-block; color: var(--wwwsummary); padding-right:30px; }
.viewdata_item .signo { display:block; border:4px solid transparent; }
.viewdata_item .signo.selected { display:block; border:4px solid var(--headerback); }
.viewdata_item .sign { display:block; border:1px solid var(--wwwtext); background: #fff; }
.viewdata_item .sign .sigselimg { cursor:pointer; max-height:45px;}

.canvasback { width:350px; height:140px; margin: 0 auto;  background: #fff;}
.canvasback canvas { width:350px; height:140px;  }

input.bigcb { width:20px; height:20px; }
label.bigcb { margin-top:4px; }

body.admin .viewdata_item { color: var(--adminsummary); padding-right:30px; }
.viewdata_item_link, .viewdata_item_link:hover, .viewdata_item_link:active { color: #77bf45;  }

.list-group-item.sign { min-height:200px;}

.sigtext { font-family: 'Allison', cursive; font-size:42px; }
.sigfont { border:1px solid var(--wwwtext);  }


#drawingarea { display:none; text-align:center;}

.scroll { overflow-x:auto; }
.hidden { display:none; }
hr.ul { background: #ccc;  height: 2px; }

#drop_zone {
  border: #fff 5px dashed;
  background-color: #c3c3c3;
  xwidth: 190px;
  xheight: 115px;
  padding: 20px 0;
  color:#000;
  text-align: center;
  cursor:pointer;
}
#drop_zone.over {
  background-color:#eee;
  xpointer-events: none;
}
#drop_zone #selectfile {
  display: none;
}
#doc_drop progress { width: 100%; }
#pageupload progress { width: 100%; }

body.admin #accordion4:before {
    background: #ffffff;
}
body.admin #accordion4 .panel-title.high a { color : #900; }
body.admin #accordion4 .panel-title a{
    background: #fff;
    color: #000;
}
body.admin #accordion4 .panel-title a i {
  color:#777;
} 
body.admin #accordion4 .panel-title a:before{
    background: #fff;
    color: #000;
}
body.admin #accordion4 .panel-title a.collapsed:before {
}
body.admin #accordion4 .panel-title a:after,
body.admin #accordion4 .panel-title a.collapsed:after{
}
body.admin #accordion4 .panel-title a.collapsed:after{ content: "\f107"; }
body.admin #accordion4 .panel-body{
}
body.admin #accordion4 .panel-body .reportbox {
}
body.admin #accordion4 .list-group-item { 
  background:inherit; 
  border: 1px solid rgb(142 142 142);
  overflow-x: auto;
}
body.admin #accordion4 .panel-last {
}

body.admin .list-group-item.info { xdisplay:none; } 
body.admin .list-group-item.info .viewdata_item { color:var(--admininfo); font-weight:600; }

.list-group-item.info {
    background: inherit;
    border: 1px solid rgb(142 142 142);
    overflow-x: auto; 
}

.notbtn { border:1px solid #f00; }



