
/*
 * custom stylesheet for Wisconsin State Golf Association [www.wsgalookup.com]
 *
 * last modified on Thu Nov 06 20:12:36 EST 2014
 */
BODY {font-size: 8pt; font-family:Verdana,Tahoma,arial,helvetica,sans-serif; padding:0px;margin:0px;; background-color: #f8f8f8 }

a { color: #1a0dab; text-decoration: none }
a:hover { text-decoration: underline }
a:visited { color: #609; }
textarea {font-family:Verdana,Tahoma,arial,helvetica,sans-serif;}
BODY.email{background-color:#FFFFFF;background-image:none;}
BODY.popup{
    background-color:#FFFFFF;
    background-image:none;
    padding: 10px;
    background-color: #FFFFFF;
    background-image: none;
    padding: 10px;
    height: auto;
    display: block;
    width: auto;
    min-height: 0;
}
FORM {margin: 0;}
H1 { font-size: 20px; font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif; margin-bottom: 0ex; margin-top: 0ex; font-weight: normal; }
H2 { font-size: 18px; font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif; margin-bottom: 0ex; margin-top: 0ex; font-weight: normal; }
H3 { font-size: 16px; font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif; margin-bottom: 0ex; margin-top: 0ex; font-weight: normal; }
H4 { font-size: 14px; font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif; margin-bottom: 0ex; margin-top: 0ex; font-weight: normal }
H6 {
margin-top: 0ex;
margin-bottom: 0ex;
font-weight: normal;
font-style: italic;
font-size: small;
font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif;
}
h1.condensed, h2.condensed, h3.condensed, h4.condensed, h5.condensed, h6.condensed
{
    line-height: 1.2;
    margin-top: 2px; margin-bottom: 2px;
    font-weight:normal;
}
HR {
background-color: #ccc;
color: #ccc;
height: 1px;
border-style:none;
}
LI {font-size: 8pt; font-family:Verdana,Tahoma,arial,helvetica,sans-serif;}
P {font-size: 8pt; font-family:Verdana,Tahoma,arial,helvetica,sans-serif;}
.reqstar { color: #CC0000; }
.errmsg {color: #CC0000;}
SELECT {font-size: 8pt;  font-family:Verdana,Tahoma,arial,helvetica,sans-serif; font-weight:normal;}
INPUT {font-size: 8pt;  font-family:Verdana,Tahoma,arial,helvetica,sans-serif; font-weight:normal;}
OPTION.choose{color:#999}
TABLE {
color: #000000;
font-size: 8pt;
font-family: Verdana,Tahoma,arial,helvetica,sans-serif;
}

A.header {color: #FFFFFF;}

table.dataentry th > a.header, table.data th > a.header {
    color: inherit;
    text-decoration: underline dotted;
}

table.dataentry th > a.header:hover, table.data th > a.header:hover {
    color: #1a0dab;
}

TABLE.dataentry, table.data {
border-color: #ddd;
border-spacing: 0px;
border-style: solid;
border-width: 1px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
width: 100%;
background-color: #fff;
}
table.bg-width-auto { width: auto !important; }

table.dataentry tr:first-child th:first-child,
table.data tr:first-child th:first-child {
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
}
table.dataentry tr:first-child th:last-child,
table.data tr:first-child th:last-child{
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    border-top-right-radius: 4px;
}
table.dataentry > tr:last-child th:first-child,
table.data > tr:last-child th:first-child {
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
}
table.dataentry > tr:last-child th:last-child,
table.data > tr:last-child th:last-child {
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-right-radius: 4px;
}

/* account for tables setup 'correctly' with thead tbody */
table.dataentry thead tr:last-child th:first-child,
table.data thead tr:last-child th:first-child{
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-bottomleft: 0;
    border-bottom-left-radius: 0;
}

table.dataentry thead tr:last-child th:last-child,
table.data thead tr:last-child th:last-child{
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius-bottomright: 0;
    border-bottom-right-radius: 0;
}

table.dataentry tbody tr:first-child td:first-child,
table.data  tbody tr:first-child td:first-child {
    -webkit-border-top-left-radius: 0;
    -moz-border-radius-topleft: 0;
    border-top-left-radius: 0;
}
table.dataentry tbody tr:first-child td:last-child,
table.data  tbody tr:first-child td:last-child {
    -webkit-border-top-right-radius: 0;
    -moz-border-radius-topright: 0;
    border-top-right-radius: 0;
}

.table-striped tbody tr:nth-child(odd) td,
.table-striped tbody tr:nth-child(odd) th {
    background-color: #f9f9f9;
}

table.dataentry tr.bg-divider td, table.data tr.bg-divider td { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; background-color: #f0f0f0 }

.bg-btn-link, .bg-btn-link.ui-button {
    border-color: transparent;
    border-radius: 0;
    color: #1a0dab;
    cursor: pointer;
    text-transform: uppercase;
    background: transparent;
    border: 0;
}

.bg-btn-outlined,
.bg-btn-outlined-disabled {
    border-color: transparent;
    border-radius: 0;
    color: #1a0dab;
    cursor: pointer;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid #999;
    border-radius: 4px;
    padding: 10px 16px;
}

.bg-btn-outlined:hover {
    background:rgba(0,0,0,0.08);
    opacity: 1;
}
.bg-btn-outlined-disabled {
    color: #999;
    border: 1px solid #999;
    cursor: text;
}

table.dataentry tfoot tr td { border-top: 1px solid #ddd !important }

tr.bg-border-top > td { border-top: 1px solid #ddd !important; }
tr.bg-border-bottom > td { border-bottom: 1px solid #ddd !important; }
tr.bg-border-bottom-thick > td { border-bottom: 2px solid #ddd !important; }

TABLE.centered { margin:0 auto; }

TABLE.dataentry TR td, TABLE.data TR td { padding: 5px; border-width: 0;font-size: 12px; }
TABLE.data > TR > td, TABLE.data > TBODY > TR > td { border-bottom: 1px solid #eee }
TABLE.data > TR:last-child td, TABLE.data > TBODY > TR:last-child td { border-bottom: none }
TABLE.data TR.no-border td { border-bottom: none }

TABLE.dataentry TR.row0 td, TABLE.data TR.row0 td { background-color: #fff; }
TABLE.dataentry TR.row1 td, TABLE.data TR.row1 td { background-color: #f9f9f9; }

TABLE.dataentry TR.row0 td, TABLE.dataentry TR.row1 td { border-bottom: 1px solid #eee }
TABLE.dataentry TR.row0 td, TABLE.dataentry TR.row1 td, TABLE.dataentry.table-striped tr td { border-bottom: 1px solid #eee }

TABLE.dataentry TABLE TR.row0 td, TABLE.data TABLE TR.row0 td { background-color: #fff !important }
TABLE.dataentry TABLE TR.row1 td, TABLE.data TABLE TR.row1 td { background-color: #f7f7f7 !important }

TABLE.dataentry TR.thickwhite, TABLE.data TR.thickwhite {background-color: #ddd;}
TABLE.dataentry TR.thickwhite TD, TABLE.data TR.thickwhite TD { height: 2px; margin: 0px; padding: 0px; }

TABLE.dataentry TR:last-child.row0 td, TABLE.data TR:last-child.row0 td,
TABLE.dataentry TR:last-child.row1 td, TABLE.data TR:last-child.row1 td { border-bottom: none; }

TABLE.dataentry TR.subtitle TD, TABLE.data TR.subtitle TD {padding-left: 15px;font-weight: bold;}
TABLE.dataentry TR.wizardbutton TD, TABLE.data TR.wizardbutton TD {text-align: right;}
TABLE.dataentry TH, TABLE.data TH  { padding: 5px; text-transform: uppercase }
TABLE.dataentry TH .edit, TABLE.data TH .edit { text-transform: none; }
/*TABLE.data {background-color: #e8e8e8;}*/
TABLE.grid {
border-collapse: collapse;
border-color: #ddd;
border-spacing: 0px;
border-style: solid;
border-width: 1px;
}
TABLE.grid TR TH {
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 3pt;
}
TABLE.grid TR TD {
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 3pt;
}
TABLE.grid TR.row0 TD {
background-color: #f8f8f8;
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 3pt;
}
TABLE.grid TR.row1 TD {
background-color: #e8e8e8;
border-color: #000000;
border-style: solid;
border-width: 1px;
margin: 0px;
padding: 3pt;
}

TABLE.data TABLE.grid {
border-color: #dcdee3;
}
TABLE.data TABLE.grid TR TD {
border-color: #dcdee3;
}

table.dataentry TABLE.scorecardwhite, TABLE.scorecardwhite, table.data TABLE.scorecardwhite, TABLE.scorecardwhite {
background-color: #ffffff;
font-family: Verdana,Tahoma,arial,helvetica,sans-serif;
text-align:center;
font-size: 8pt;;
color: #000000;
border-collapse: collapse;
border-spacing: 1px;
border-style: solid;
border-width: 1px;
border-color: black;
margin: 0px;
}
table.dataentry TABLE.scorecardwhite TH, TABLE.scorecardwhite TH, table.data TABLE.scorecardwhite TH, TABLE.scorecardwhite TH {
border-color: #000000;
border-style: solid;
border-width: 1px;
padding: 3pt;
}
table.dataentry TABLE.scorecardwhite TD, TABLE.scorecardwhite TD, table.data TABLE.scorecardwhite TD, TABLE.scorecardwhite TD {
border-color: #000000;
border-style: solid;
border-width: 1px;
padding: 4px;
}
table.dataentry tr.bg-expandrow table, table.data tr.bg-expandrow table
{
    margin-bottom: 0;
    border-bottom: 1px solid #666699;
    border-collapse: collapse;
}
table.dataentry tr.bg-expandrow table tr.row0, table.data tr.bg-expandrow table tr.row0 { background-color: #f1f1f1; }
table.dataentry tr.bg-expandrow table tr.row1, table.data tr.bg-expandrow table tr.row1 { background-color: #e8e8e8; }
.bg-clickable { cursor: pointer }
TABLE.scorecardwhitesmall {
background-color: #ffffff;
text-align:center;
color: #000000;
font-family: Verdana,Tahoma,arial,helvetica,sans-serif;
border-collapse: collapse;
border-spacing: 1px;
border-style: solid;
border-width: 1px;
margin:4px 0 6px 0;
}

table.dataentry input[name="subject"] { width: 95%; }
table.scorecardwhitesmall td { padding: 4px 1px; font-size: 10px; font-weight:bold; border:1px solid #8F8F86 }
table.scorecardwhitesmall tr.row0 td { font-weight:normal; background: #eee }
table.scorecardwhitesmall tr.header td { background: #848484; border-color:#555; color: #FFF }
table.scorecardwhitesmall tr.header td td { background: #fff; border: none; color: #000 }
table.scorecardwhitesmall td.firstCol { padding: 4px 4px 4px 2px; text-align:right }
table.scorecardwhitesmall td.holeDetailLabel, table.scorecardwhitesmall tr.row0 td.holeDetailLabel, table.scorecardwhitesmall tr.scorecardlight td.holeDetailLabel, table.scorecardwhitesmall tr.scores td.holeDetailLabel { background: #DDD; font-weight:bold; }
table.scorecardwhitesmall td.totalsCol { padding: 4px 8px }
table.scorecardwhitesmall tr.scorecardlight td, table.scorecardwhitesmall tr.scores td { font-weight:normal; }
table.scorecardwhitesmall tr.bold td { font-weight:bold }
table.scorecardwhitesmall tr.row0 td.calcontent, table.scorecardwhitesmall tr.scores td.calcontent, table.scorecardwhitesmall tr.scorecardlight td.calcontent { background: #FEFEE8; }
TABLE.scorecardwhitesmall TR.lbscores TD { width:2em; padding: 4px 1px; font-weight: normal }
TABLE.scorecardwhitesmall TR.lbscores TD.title { width:5em; padding-left:5px }
.bold{font-weight: bold;}
.discard {background-color: #CC3B3B; color:#FFF}

.bogey span, .eagle span, .dbl span, .birdie span{
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    border-color: #888;
}

.eagle span, .birdie span{
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.eagle span, .dbl span{
    height: 16px;
    width: 16px;
    line-height: 16px;
    border-width: 4px;
    border-style: double;
}

.birdie span, .bogey span{
    height: 20px;
    width: 20px;
    line-height: 20px;
    border-width: 1px;
    border-style: solid;
}

.key span {font-size: 6px; position:relative; bottom:7px; display: inline-block;}

.key .eagle span, .key .dbl span {
    height: 3px;
    width: 3px;
    top: 8px;
}
.key .bogey span, .key .birdie span {
    height: 9px;
    width: 9px;
    top: 8px;
}

svg.bg-helpicon { height: 18px; width: 18px; vertical-align: top; }
svg.bg-helpicon path { fill: #666; }

TABLE.tabs {
border-collapse: collapse;
border-spacing: 0px;
border-style: solid;
border-width: 0px;
padding: 8px;
margin-bottom: 15px;
}
TABLE.tabs TH.active {
background-color: #000000;
border-color: #ddd;
border-spacing: 0px;
border-style: solid;
border-top-width: 1px;
border-left-width: 1px;
border-right-width: 1px;
border-bottom-width:0px;
color: #FFFFFF;
font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif;;
padding-left: 10px;
padding-right: 10px;
}
TABLE.tabs TH {
background-color: #e0e0e0;
border-color: #ddd;
border-spacing: 0px;
border-style: solid;
border-width: 1px;
color: black;
font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif;;
padding-left: 10px;
padding-right: 10px;
}
TABLE.tabs TH A {font-weight: bold;color: black;text-decoration: none;}
TABLE.tabs TD {
background-color: transparent;
border-color: #ddd;
border-spacing: 0px;
border-style: solid;
border-top-width: 0px;
border-left-width: 0px;
border-right-width: 0px;
border-bottom-width:1px;
font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif;;
}
TABLE.tabs TD.submenu {
background-color: #000000;
border-spacing: 0px;
border-style: solid;
border-width: 0px;
color: #FFFFFF;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 25px;
font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif;;
font-weight: bold;
}
TABLE.tabs TD.submenu A {
color: #FFFFFF;
font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif;
font-weight: bold;
text-decoration: none;
}
TABLE.note2 {
margin-left:15px;
margin-right:15px;
background-color: #EEF3FB;
border: solid 2px #B6C7E5;
font-size: small;
}
TABLE.err {background-color: #FFDDDD; border: solid 2px #FF3333;}
TABLE.warn {background-color: #FFFFd9; border: solid 2px #a7a772;}
IMG.nowshowing {padding:2px;border:2px solid #ddd;}
table.player img:not(.flag) {padding:1px;border:1px solid #9E9E9E;}
TD {font-size: 8pt;;}
TD.calmonth {background-color: #9bbad6;}
.calcontent {background-color: #FEFEE8;}
TD.field {text-align: left;}
TD.footer {font-size: 10px;text-align: center;}
TD.footer, TD.footer a { color: #808080 }
TD.footer a img {vertical-align:middle;}
.hint {font-size: x-small;}
TD.promptreq {font-weight: bold;text-align: right;}
TD.promptopt {font-weight: normal;text-align: right;}
TD.publicinfo {
background-color: #f2f2f2;
border-collapse: collapse;
border-color: #ddd;
border-spacing: 0px;
border-style: solid;
border-width: 1px;
padding: 0px;
}
TD.row0 {background-color: #e0e0e0;}
TD.row1 {background-color: #cccccc;}
TD.uion {
background-color: #000000;
color: #FFFFFF;
font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif;
font-weight: bold;
border-left: none;
border-top: none;
border-bottom: none;
border-right: 1px solid white;
}
TD.uioff {
background-color: #cccccc;
color: #ffffff;
font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif;
font-weight: bold;
border-left: none;
border-top: none;
border-bottom: none;
border-right: 1px solid white;
}

table.uioff tr td {
    border:none;
}
TD.winner {background-color: #D7FAD7;}
TH {
    background-color:#000000;
    color: #FFFFFF;
    font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif;;
    font-size: 13px;
    line-height: 1.2;
    font-weight: normal;
    border-bottom: 1px solid #dcdee3;
}
TR.row0 {background-color: #e0e0e0;}
TR.row1 {background-color: #cccccc;}
TR.scorecardlight {background-color: #f2f2f2;}
INPUT.statbutton {width: 175px;}
UL {margin-top: 0;margin-bottom: 0;}
TABLE.matchtree TD { font-size:8pt; font-family:Arial,SanSerif; background-color:white; }
.r { border-right: #000 1px solid; }
.l { border-left: #000 1px solid; }
.t { border-top: #000 1px solid; }
.b { border-bottom: #000 1px solid; }
.tr { border-top: #000 1px solid; border-right: #000 1px solid; }
.br { border-bottom: #000 1px solid; border-right: #000 1px solid; }
.tbr { border-top: #000 1px solid; border-bottom: #000 1px solid; border-right: #000 1px solid; }
.tblr { border-top: #000 1px solid; border-bottom: #000 1px solid; border-left: #000 1px solid; border-right: #000 1px solid; }

#tabsmain, #tabsmain2 {
font-size: 8pt;
border-top: 1px solid #ccc;
clear: both;
background-color:#000000;
padding-top: 30px;
font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif;
}
#tabscontents, #tabscontents2 {
padding: 12px;
background: #FAFAFA;
min-height: 200px;
border-top: 1px solid #ccc;
}
#tabs, #tabs2 {
margin-top:1em;
position: relative;
width: 99%;
height: 27px;
font-family: helvetica,Arial,Trebuchet MS,Tahoma,sans-serif;
font-weight:bold;
color: #FFFFFF;
}
#tabs ul#primary, #tabs2 ul#primary2 {
margin-left: 5px;
padding: 0;
position: absolute;
bottom: -1px;	/* IE7 aligns the same way as Mozilla so we took out the IE check */
width: 100%; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}
#tabs ul#primary li, #tabs2 ul#primary2 li  {
display: inline;
list-style: none;
}
#tabs ul#primary a,#tabs ul#primary span,#tabs ul#primary a.current,
#tabs2 ul#primary2 a,#tabs2 ul#primary2 span,#tabs2 ul#primary2 a.current {
display: block;
float: left;
line-height : 13px;
margin: 0 5px 0 0;
padding : 6px;
text-align: center;
text-decoration: none;
color: #333;
}
#tabs ul#primary span,#tabs ul#primary a.current,#tabs ul#primary a.current:hover,
#tabs2 ul#primary2 span,#tabs ul#primary2 a.current,#tabs2 ul#primary2 a.current:hover {
border: 1px solid #ccc;
border-bottom: none;
background: #000000;
padding-bottom: 7px;
margin-top: 0;
color: #FFFFFF;
}
#tabs ul#primary a,
#tabs2 ul#primary2 a {
background: #FFFFFF;
border: 1px solid #ccc;
border-bottom: none;
}
#tabs ul#primary a:hover,
#tabs2 ul#primary2 a:hover {
margin-top: 0;
border-color: #ccc;
background: #E8E8E8;
padding-bottom: 6px;
}
#tabs ul#secondary,
#tabs2 ul#secondary2 {
position: absolute;
margin: 0;
padding: 0;
top: 32px;
left: 1px;
width: 100%; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}
#tabs ul#secondary li a,#tabs ul#secondary li span,
#tabs2 ul#secondary2 li a,#tabs2 ul#secondary2 li span {
width: auto;
display: block;
float: left;
padding: .3em 5px;
margin: 0;
text-align: inherit;
border: none;
border-right: 1px solid #FFFFFF;
background: transparent;
}
#tabs ul#secondary li a,
#tabs2 ul#secondary2 li a {
color: #FFFFFF;
text-decoration: underline;
}
#tabs ul#secondary li a:hover,
#tabs2 ul#secondary2 li a:hover {
background: transparent;
padding: .3em 5px;
border: none;
border-right: 1px solid #FFFFFF;
}
#tabs ul#secondary li a:active,
#tabs2 ul#secondary2 li a:active{
color: #000;
background: transparent;
}
#tabs ul#secondary li:last-child a, #tabs ul#secondary li:last-child span,
#tabs2 ul#secondary2 li:last-child a, #tabs2 ul#secondary2 li:last-child span {
border: none;
}
#tabs ul#secondary li#secondaryform, #tabs ul#secondary li.secondaryform,
#tabs2 ul#secondary2 li#secondaryform2, #tabs ul#secondary2 li.secondaryform {
width: auto;
display: block;
float: right;
text-align: left;
border: none;
background: none;
padding: 0 5px;
margin: 0;
}
#tabs ul#secondary li#secondaryform form, #tabs ul#secondary li.secondaryform form,
#tabs2 ul#secondary2 li#secondaryform2 form, #tabs2 ul#secondary2 li.secondaryform form{
top: -5em;
}
div.tooltip {
background-color: #fff;
border: 1px solid #dcdee3;
color: black;
min-width: 180px;
padding: 3px;
z-index: 2000;
border-radius: 4px;
}
a.hastooltip {
border-bottom: none;
color: #000;
cursor: text;
text-decoration: none;
}
th a.hastooltip { color: #FFFFFF; }
tr.header a.hastooltip { color: #FFFFFF; }
a.dotted { border-bottom: 1px dotted black; }
tr.header a.dotted { border-bottom: 1px dotted #FFFFFF; }
th a.dotted { border-bottom: 1px dotted #FFFFFF; }
.bgprofile a { text-decoration: none }
.bgprofile a:hover { color: #1a0dab; text-decoration: underline;}
th a.edit { font-weight: normal; font-size: 12px; text-decoration: none; }
th a.edit:hover { text-decoration: underline }

div.popupmenu {
position: absolute;
background-color: #fff;
border: solid 1px;
border-color: #999 #000 #000 #999;
display: none;
text-align: left;
white-space: nowrap;
z-index: 1;
}
div.popupmenu a {
color: #000;
text-decoration: none;
}
div.popupmenu div {
padding: 1px 2px 1px 2px;
}
div.mask{-moz-opacity:0.4;opacity:.40;filter:alpha(opacity=40);background-color:#000}
#panel_more {border-width:1px}
#greyboxPanel .bd{padding:0px}
th.calhead {color:#000}
th.calweekdaycell {background-color:#f7f9fb}
#greyboxPanel_c {display:none;}
.nowrap {white-space:nowrap;}
.sf {font-size:smaller;}
.sf_gray {font-size:smaller;color: #333333;}
.sf_ltgray {font-size:smaller;color: #666666;}
div#share ul { margin: 0; padding: 0; list-style: none outside none; display: inline-block; vertical-align: middle; }
div#share ul li { float: left; margin: 3px 0 0 8px; }
div#share ul li.facebook_like { margin-top: 0; width: 90px }
div#feedback {
-moz-box-shadow: 0 0 6px #f2f2f2;
-webkit-box-shadow: 0 0 6px #f2f2f2;
box-shadow: 0 0 6px #f2f2f2;
bottom: -1px;
position: fixed;
right: -1px;
background: #F5F5F5;
border: 1px solid rgba(0, 0, 0, 0.1);
color: #666666;
-moz-border-radius: 2px 2px 2px 2px;
-webkit-border-radius: 2px 2px 2px 2px;
border-radius: 2px 2px 2px 2px;
cursor: default;
font-size: 11px;
font-weight: bold;
height: 27px;
line-height: 27px;
margin-right: 0;
min-width: 54px;
outline: 0 none;
padding: 0 8px;
text-align: center;
}
div#feedback a { color: #666; text-decoration: none; font-weight: bold }
span#userinfo { cursor:pointer }
div#useroptions { padding:.5em 1em; text-align:left; -moz-box-shadow: -1px 1px 1px #CCCCCC; -webkit-box-shadow: -1px 1px 1px #CCCCCC; box-shadow: -1px 1px 1px #CCCCCC; background: #FFF; border: 1px solid #BEBEBE; }
div#useroptions ul { line-height: 2em; margin-top: 5px; display: block; list-style: none outside none; margin: 0; padding: 0; }

.ellipsis { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.bg-dflex { display: flex; }
.bg-align-items-center { align-items: center }
a.bg-back-arrow-link { padding: 5px; }
a.bg-back-arrow-link svg path.bg-background-fill { fill: rgba(0, 0, 0, 0.54) }
a.bg-back-arrow-link:hover svg path.bg-background-fill { fill: #007bff; }

.table-bordered {
    border: 1px solid #ddd;
    border-collapse: separate;
    *border-collapse: collapsed;
    border-left: 0 !important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.table-bordered th,
.table-bordered td {
    border-left: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
}
.table-bordered > tr:last-child td, .table-bordered > tbody > tr:last-child td { border-bottom: 0 !important; }

.table-bordered caption + thead tr:first-child th,
.table-bordered caption + tbody tr:first-child th,
.table-bordered caption + tbody tr:first-child td,
.table-bordered colgroup + thead tr:first-child th,
.table-bordered colgroup + tbody tr:first-child th,
.table-bordered colgroup + tbody tr:first-child td,
.table-bordered thead:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child td {
    border-top: 0;
}
.table-bordered thead:first-child tr:first-child th:first-child,
.table-bordered tbody:first-child tr:first-child td:first-child {
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
}
.table-bordered thead:first-child tr:first-child th:last-child,
.table-bordered tbody:first-child tr:first-child td:last-child {
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
}
.table-bordered thead:last-child tr:last-child th:first-child,
.table-bordered tbody:last-child tr:last-child td:first-child {
    -webkit-border-radius: 0 0 0 4px;
    -moz-border-radius: 0 0 0 4px;
    border-radius: 0 0 0 4px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
}
.table-bordered thead:last-child tr:last-child th:last-child,
.table-bordered tbody:last-child tr:last-child td:last-child {
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
}

.table-bordered.table-tip
{
    margin-bottom: 10px !important;
    box-shadow:none !important;
    border-collapse:collapse !important;
}

.table-bordered.table-tip td, .table-bordered.table-tip th {
    border-top: 1px solid #ddd !important;
    border-left: 1px solid #ddd !important;
}

table.bg-gridlayout { width: 100%; border-spacing: 10px }
table.bg-gridlayout > tr > td, table.bg-gridlayout > tbody > tr > td { background-color: #fff; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border: 1px solid #ccc; }
table.bg-gridlayout table.data { border: none; margin-bottom: 0; }


#registerFooter{margin-top:400px}

img.flag { vertical-align:middle; border:0; }
img.flag16 { width: 16px;height: 16px; }
img.flag24 { width: 24px;height: 24px; }
img.flag32 { width: 32px;height: 32px; }
img.flag48 { width: 48px;height: 48px; }

h1 img.flag { vertical-align: text-top; }

/* photo gallery on TIP in manage (no hover) */
div.photodetail {
    background-color: #FFFFFF;
    border: 1px solid #C0C0C0;
    float: left;
    height: 110px;
    margin: 8px;
    width: 110px;
}
div.photodetail-inner {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid rgba(0, 0, 0, 0.12);
    height: 100px;
    margin: 4px;
    width: 100px;
}
div.photodetail.condensed {
    height: 90px;
    width: 90px;
}
div.photodetail-inner.condensed {
    height: 80px;
    width: 80px;
}

/*for TIP sponsors */
div.sponsordetail {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 110px;
    margin: 8px;
    width: 110px;
    float: left;
}

div.sponsordetail.condensed {
    height:90px;
    width:90px;
}

th.navigate-calendar, td.navigate-calendar { text-align: right }
th.navigate-calendar button, td.navigate-calendar button { padding: 2px 0 1px; vertical-align: top; min-width: 40px; line-height: 1 }
th.navigate-calendar button i, td.navigate-calendar button i { font-size: 20px }
th.navigate-calendar button#today, td.navigate-calendar button#today { padding: 1px 5px 2px; line-height: 20px }

.ta-center { text-align:center !important }
.ta-right { text-align:right !important }
.ta-left { text-align:left !important }
.va-top { vertical-align: top; }
.va-middle { vertical-align: middle; }
.va-bottom { vertical-align: bottom; }
.no-margin { margin: 0 !important }

.bg-mb-0 { margin-bottom: 0 }
.bg-mt-0 { margin-top: 0 }

.justify-content-between { justify-content: space-between }
.justify-content-center { justify-content: center }

.bg-textupper { text-transform: uppercase }



INPUT.sf_placeholder:-moz-placeholder { font-size:7pt; padding: 3px 2px}
input.sf_placeholder::-webkit-input-placeholder  { font-size:7pt; padding: 3px 2px }

a.social_profile i { text-decoration: none; color: #b5b5b5; font-size: 24px; }
a.social_profile i:hover { text-decoration: none; color: #333333; }

input[readonly] { background-color:#ddd; }

/* font-awesome */
[class^="fa-"], [class*=" fa-"], [class^="icon-"], [class*=" icon-"] { color: #777 }
.fa.red,.fa.red,.red[class^="icon-"],.red[class*=" icon-"] { color: #d72a26 }
.fa.white,.fa.white,.white[class^="icon-"],.white[class*=" icon-"] { color: #ffffff }
a [class^="fa-"], a [class*=" fa-"], a [class^="icon-"], a [class*=" icon-"] { text-decoration: none }

/* jQuery UI Styling Overrides */
div.greybox-jq-container.ui-widget-content a {
    color: #1a0dab;
}

div.greybox-jq-container.ui-widget-content a:visited {
    color: #609;
}

div.greybox-jq-container.ui-widget-content {
    padding: 0;
}

.greybox-jq-container #greyboxFrame {
    border: 0;
}

.bg-ui-dialog.ui-dialog {
    border: 1px solid #909090;
    padding: 0;
    font-size: 1em;
}

.bg-ui-dialog.ui-dialog .ui-dialog-titlebar {
    background: #909090;
    color: white;
    border: none;
    border-radius: 0px;
}

.bg-ui-dialog.ui-dialog .ui-resizable-s, .bg-ui-dialog.ui-dialog .ui-resizable-se, .bg-ui-dialog.ui-dialog .ui-resizable-sw {
    background: transparent;
}

.bg-ui-dialog.ui-dialog .ui-widget.ui-state-focus{
    color: #555555;
}

.bg-ui-dialog.ui-dialog .ui-state-focus {
    outline-color: transparent;
}

.bg-ui-dialog.ui-dialog iframe {
    border: 0;
}

.hovertext {
    display: none;
    text-align: left;
}

div.bg-ui-hover div.ui-dialog-titlebar button.ui-dialog-titlebar-close {
    display: none;
}

ul.ui-autocomplete.ui-front {
    border: 1px solid #aaaaaa;
    background-color: white;
}

ul.ui-autocomplete.ui-front > li.ui-menu-item {
    padding: 5px;
    border: 1px solid white;
    margin: 0;
}

ul.ui-autocomplete.ui-front > li.ui-menu-item > a {
    width: 100%;
}

ul.ui-autocomplete.ui-front > li.ui-menu-item.ui-state-focus {
    border: 1px solid #999999;
}

ul.ui-autocomplete.ui-front > li.ui-menu-item.ui-state-focus > a {
    text-decoration: none;
}

/* Hide submenus by default to prevent page load visibility glitch */
li.bgmenubaritem > ul {
    display: none;
}

/* CSS for custom data table */
div.bg-data-table-outer {
    position: relative;
}

div.bg-data-table-outer div.bg-data-table-inner {
    overflow-y: auto;
}

div.bg-data-table-outer thead.bg-data-table-thead {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

div.bg-data-table-inner thead.bg-data-table-thead > tr > th {
    white-space: nowrap;
}

.bg-dialog-notitle .ui-dialog-titlebar { display:none; }
#myaccount-edit iframe { border:none; width:300px; height:140px; overflow:hidden; }
#myaccount-edit { overflow:hidden; }

a.btn-flat,
.btn-flat-disabled {
    white-space: nowrap;
    outline: 0;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    color: #1a0dab;
    padding: 8px;
    margin: 0;
}
a.btn-flat:hover {
    background:rgba(0,0,0,0.08);
    opacity: 1;
}
a.btn-flat:active {
    text-decoration: none;
}

.btn-flat-disabled {
    color: #999;
    display: inline-block;
    cursor: text;
}

table.data tr td a.btn-flat, table.dataentry tr td a.btn-flat { padding: 4px 8px; display: inline-block }

span.bg-tee-icon-small {
    border-style: none;
}

span.bg-tee-icon-reg {
    border-style: none;
}

.bg-tee-dot
{
    display: inline-block;
    vertical-align: middle;
}

.bg-tee-icon-small .bg-tee-dot {
    border-radius: 12px;
    height: 12px;
    width: 12px;
}

.bg-tee-icon-reg .bg-tee-dot {
    border-radius: 12px;
    height: 12px;
    width: 12px;
}

.bg-tee-dot-left
{
    display: inline-block;
    vertical-align: middle;
}

.bg-tee-icon-reg .bg-tee-dot-left {
    border-radius: 12px 0 0 12px;
    height: 12px;
    width: 6px;
}

.bg-tee-icon-small .bg-tee-dot-left {
    border-radius: 12px 0 0 12px;
    height: 12px;
    width: 6px;
}

.bg-tee-dot-right
{
    display: inline-block;
    vertical-align: middle;
}

.bg-tee-icon-reg .bg-tee-dot-right {
    border-radius: 0 12px 12px 0;
    width: 6px;
    height: 12px;
}

.bg-tee-icon-small .bg-tee-dot-right {
    border-radius: 0 12px 12px 0;
    width: 6px;
    height: 12px;
}

.bg-tee-black
{
    background-color: rgb(0,0,0)
}

.bg-tee-blue,.tee-blue2
{
    background-color: rgb(0,0,255)
}

.bg-tee-brown
{
    background-color: rgb(139,69,19)
}

.bg-tee-copper
{
    background-color: rgb(184,115,51)
}

.bg-tee-gold
{
    background-color: rgb(255,215,0)
}

.bg-tee-gray
{
    background-color: rgb(204,204,204)
}

.bg-tee-green,.tee-green2
{
    background-color: rgb(0,204,51)
}

.bg-tee-jade
{
    background-color: rgb(0,100,0)
}

.bg-tee-magenta
{
    background-color: rgb(255,0,255)
}

.bg-tee-orange
{
    background-color: rgb(255,170,37)
}

.bg-tee-pink
{
    background-color: rgb(255,105,180)
}

.bg-tee-purple
{
    background-color: rgb(115,0,115)
}

.bg-tee-red
{
    background-color: rgb(255,0,0)
}

.bg-tee-silver
{
    background-color: rgb(192,192,192)
}

.bg-tee-teal
{
    background-color: rgb(0,150,98)
}

.bg-tee-turquoise
{
    background-color: rgb(0,255,255)
}

.bg-tee-clear,.bg-tee-white
{
    background-color: rgb(255,255,255);
    -webkit-box-shadow: inset 0 0 0 1px #aaa;
    -moz-box-shadow: inset 0 0 0 1px #aaa;
    box-shadow: inset 0 0 0 1px #aaa;
}

.bg-tee-yellow
{
    background-color: rgb(255,255,0)
}

.bg-icon-spacer
{
    width: 20px;
    display: inline-block;
    text-align:center;
}

img.hover-icon {
    height: 14px;
    width: 14px;
    vertical-align: top;
    padding-left: 1px;
    padding-right: 1px;
    cursor: pointer;
}

.bg-title > img.hover-icon {
    vertical-align: middle;
    padding-bottom: 4px;
}

ul.bg-crumb
{
    display: flex;
    padding-left: 0;
    margin-bottom: .25rem;
    list-style: none;
}

ul.bg-crumb li::before {
    content: "\003E";
    color: #6c6d6f;
    padding-left: .25rem;
    padding-right: .25rem;
    font-size: .7rem
}

ul.bg-crumb li:first-child::before
{
    content: "";
    padding: 0;
}

/* cards display */

div.bg-card-container {
    font-size: small;
}

div.bg-card-container div.bg-card {
    margin: 0 10px 20px;
    width:270px;
    display:inline-block;
    border: 1px solid #ccc;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    vertical-align:top;
    background-color: #fdfdfd;
    text-align: left;
    color: #333;
}

div.bg-card-container div.bg-card a:not(.bg-dropdown-toggle):not(.hastooltip) {
    color: #446fc4;
}

div.bg-card-container div.bg-card div.bg-card-header {
    height:3.2em;
    font-size: 16px;
    font-weight: 500; margin: 0;
    padding: 10px 10px;
    border-bottom: 1px solid #dcdee3;
    background: #f6f7f8;
    text-align: center;
}

div.bg-card-container div.bg-card div.bg-card-header a {
    text-decoration: none;
    color: #446fc4;
}

div.bg-card-container div.bg-card div.bg-card-header a.bg-card-title:hover,
div.bg-card-container div.bg-card div.bg-card-header div.bg-card-title a:hover,
div.bg-card-container div.bg-card div.bg-card-header div.bg-card-subtitle a:hover {
    text-decoration: underline;
    color: #5890ff;
}

div.bg-card-container div.bg-card div.bg-card-header div.bg-card-title {
    display:inline-block;
    max-width:180px;
    overflow:hidden;
    text-overflow: "";
    white-space: nowrap;
    vertical-align:middle;
    margin-bottom:2px;
}

div.bg-card-container div.bg-card div.bg-card-header div.bg-card-subtitle {
    font-size:85%;
    color:gray;
    font-weight:normal;
    white-space: nowrap;
}

div.bg-card-container div.bg-card div.bg-card-header div.bg-card-subtitle:not(.bg-withdropdown) {
    overflow: hidden;
    text-overflow: ellipsis;
}

div.bg-card-container div.bg-card div.bg-card-detail {
    height:200px;
}

div.bg-card-container div.bg-card-dataelement {
    margin: 0 1em;
    padding: 10px 0;
    border-bottom: 1px solid #dddedf;
}

div.bg-card-container div.bg-card-dataelement.third-party-btn {
    width: auto;
    float: left;
    text-align: center;
    border: none;
    margin-right: 0px;
}

div.bg-card-container div.bg-card-dataelement:last-child {
    border-bottom: none
}

div.bg-card-container div.bg-card-dataelement span:not(.spinner):not(.editable-container):not(.ui-button-text),
div.bg-card-container div.bg-card-dataelement div.bg-card-value {
    display: inline-block;
    float: right;
    text-align: right;
}

div.bg-card-container div.bg-card-dataelement div.bg-card-notitle span {
    text-align: left;
}

div.bg-card-container div.bg-card-dataelement span.small,
div.bg-card-container div.bg-card-dataelement div.bg-card-value.small {
    font-size: 80%;
    color: grey;
}

div.bg-card-container div.bg-card-dataelement div.bg-card-value > span {
    float: none;
}

div.bg-card-container div.bg-card-dataelement a {
    display: inline-block;
    float: right;
    text-decoration: none;
}

div.bg-card-container div.bg-card-dataelement a.bg-no-style {
    display: inline;
    float: none;
}


div.bg-card-container div.bg-card-dataelement div.bg-card-label-tooltip > a {
    float: left;
}

div.bg-card-container div.bg-card-dataelement:hover > span > a.tourtotal:not(.btn-flat),
div.bg-card-container div.bg-card-dataelement a.tourtotal:not(.btn-flat):hover,
div.bg-card-container div.bg-card-dataelement a.tourtotal:not(.btn-flat) span:hover {
    text-decoration: underline !important;
}

div.bg-card-container div.bg-card-dataelement div.bg-card-label {
    display:inline-block;
    vertical-align: bottom;
}

div.bg-card-container div.bg-card-dataelement div.bg-card-label.bg-card-label-tooltip {
    border-bottom: 1px dashed lightgray;
}

div.bg-card-tooltip.tooltip {
    display:none;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    width:200px;
}

/* caret dropdowns in headers and cards */

.bg-dropdown {
    display: inline-block;
    position: relative;
}

.bg-dropdown > .bg-dropdown-toggle {
    display: block;
    color: inherit;
    text-decoration: none;
}

.bg-dropdown > .bg-dropdown-toggle:hover,
.open > .bg-dropdown-toggle,
.open > .bg-dropdown-toggle * {
    color: black;
}

.bg-dropdown .bg-dropdown-toggle .caret {
    margin-top:6px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: top;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid black;
}

.bg-dropdown > .bg-dropdown-toggle:hover > .caret,
.open > .bg-dropdown-toggle > .caret,
.open > .bg-dropdown-toggle > .caret *  {
    border-top-color: #444;
}

.bg-dropdown > .bg-dropdown-menu {
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    margin: 2px -210px 0;
    padding: 5px 0;
    position: absolute;
    top: 10px;
    z-index: 10;
    display: none;
}

div.bg-card-container div.bg-card div.bg-card-header .bg-card-menu .bg-dropdown-menu {
    padding-bottom:12px;
    font-size: small;
    text-align:left;
    width: 200px;
}

div.bg-card-container div.bg-card div.bg-card-header .bg-card-menu .bg-dropdown-menu .bg-card-dataelement a {
    line-height:20px;
    float: left;
}

.bg-card-menu .bg-dropdown > .bg-dropdown-menu {
    margin: 2px -120px 0;
}

div.bg-card-container div.bg-card div.bg-card-header .bg-card-menu a,
div.bg-card-container div.bg-card div.bg-card-header .bg-card-menu a:hover {
    text-decoration: none;
    color: black;
}

div.bg-card-container div.bg-card div.bg-card-header.bg-card-header-with-menu .bg-card-title {
    max-width:220px;
    margin-right:-15px;
    display:inline-block;
    overflow:hidden;
}

div.bg-card-container div.bg-card div.bg-card-header .bg-card-menu i.fa-ellipsis-v {
    width:16px;
}

.bg-dropdown.open > .bg-dropdown-menu {
    display : block;
}

.bg-dropdown.title {
    float:none;
    padding-left: 0px;
}

.bg-dropdown.title > .bg-dropdown-menu {
    margin: 12px -170px 0;
    text-align: left;
    padding: 10px;
}

.bg-dropdown.title .bg-dropdown-toggle .caret {
    margin-top:8px;
    margin-left: 2px;
}

.bg-dropdown > .bg-dropdown-menu > li {
    line-height: 20px;
}

.bg-dropdown > .bg-dropdown-menu > li > a {
    clear: both;
    color: #333;
    display: block;
    font-weight: normal;
    line-height: 20px;
    padding: 3px 20px;
    white-space: nowrap;
    text-decoration: none;
}

.bg-card .bg-card-dataelement a.tourtotal:not(.btn-flat):hover,
.bg-card .bg-card-title a.tourtotal:hover {
    text-decoration: underline !important;
}

.bg-dropdown > .bg-dropdown-menu > li > a:hover,
.bg-dropdown > .bg-dropdown-menu > li > a:focus,
.bg-dropdown > .bg-dropdown-menu > li:hover > a,
.bg-dropdown > .bg-dropdown-menu > li:focus > a {
    background-color: #bbb;
    background-image: linear-gradient(to bottom, #ddd, #eee);
    text-decoration: none !important;
}

th .bg-dropdown > .bg-dropdown-menu,
.bg-dropdown > .bg-dropdown-menu {
    float: left;
    list-style: outside none none;
    margin: 2px -200px 0;
    min-width: 160px;
}

th .bg-dropdown > .bg-dropdown-menu {
    margin: 2px -20px 0;
}

th .bg-dropdown > a.bg-dropdown-toggle:hover,
th .open > a.dropdown-toggle,
th .open > a.dropdown-toggle * {
    color: #444;
}

th .bg-dropdown a.bg-dropdown-toggle .caret {
    border-top: 4px solid #141823;
}

div.bg-card-container .bg-dropdown {
    float:right;
    padding-left:2px
}

div.bg-card-container .bg-dropdown > .bg-dropdown-toggle {
    border-color:black;
}

div.bg-card-container .bg-dropdown > .bg-dropdown-toggle:hover > .caret,
div.bg-card-container .open > .bg-dropdown-toggle > .caret,
div.bg-card-container .open > .bg-dropdown-toggle > .caret *  {
    border-top-color: black;
}

div.bg-card-container .bg-dropdown > .bg-dropdown-menu {
    width:250px;
}

div.bg-card-container .bg-dropdown.title { float:none; padding-left: 0px; }

.bg-list-options a [class^="fa-"],
.bg-list-options a [class*=" fa-"] {
    color: #ababab;
}

div.carddirectory-list table td, div.carddirectory-list table th {
    vertical-align:top;
}

div.carddirectory-list div.bg-list-title {
    white-space: nowrap;
    margin: 0;
    margin-bottom:3px;
    font-size: 12px;
    font-weight: 500;
}

div.carddirectory-list div.bg-list-subtitle {
    font-size:85%;
    color:gray;
    font-weight:normal;
    white-space: nowrap;
}

div.bg-card-filter .bg-list-subtitle {
    font-size:85%;
    color:gray;
    font-weight:normal;
    white-space: nowrap;
}

div.bg-card .editableform {
    margin-top: -7px;
}

.bg-sort-container {
    border: 1px solid transparent;
    border-radius: 2px;
    box-sizing: border-box;
    margin: -2px 2px;
    outline: medium none;
    padding: 0;
    position: relative;
    vertical-align: top;
    height: 20px;
    width: 21px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.bg-sort-container:hover {
    background-color: #fff;
    border-color: #c2c2c2;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.bg-sort-container.bg-sort-inactive a {
    display:none;
}

th:hover .bg-sort-container.bg-sort-inactive a {
    display:block;
    opacity: 0.4;
}

.bg-sort-container a {
    padding: 4px;
}

.bg-sort-container.bg-sort-up {
    margin-right: 0;
    width: 17px;
}

.bg-sort-container.bg-sort-down {
    margin-left: 0;
    width: 17px;
}

.bg-datepick {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    padding: 5px;
    position: absolute;
    z-index:40;
    font-family:sans-serif;
    font-size:small;
}

.bg-datepick table tr td.bg-datepick-left {
    height:20px;
    width:10px;
    text-align:left;
}

.bg-datepick table tr td.bg-datepick-center {
    height:20px;
    text-align:center;
}

.bg-datepick table tr td.bg-datepick-right {
    height:20px;
    width:20px;
    text-align:right;
}

.bg-datepick table tr:not(.bg-datepick-nav) td {
    height:20px;
    width:22px;
    text-align:center;
}

.bg-datepick table tr:not(.bg-datepick-nav) td a {
    text-decoration:none;
}

.bg-accordion {
    z-index:1;
}

.bg-accordion .ui-widget-header.ui-state-disabled {
    opacity: 1;
    background: #fafafa 50% 50% repeat-x
}

.bg-accordion .ui-widget-header input {
    vertical-align: middle;
    z-index: 99;
}

.bg-accordion .ui-widget-header.ui-state-disabled span.ui-accordion-header-icon {
    display:none;
}
.bg-accordion .ui-widget-content table {
    border:none;
}

.bg-accordion .ui-widget-header.ui-accordion-header.ui-state-default {
    background: #fafafa;
    color: inherit;
}

div.enlarge-photo, div.no-photo {
    background-position: 50% 40%;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid #eee;
    cursor: pointer;
    height: 40px;
    width: 40px;
    margin: auto;
}
div.enlarge-photo {
    cursor: pointer;
}

div.thumbimg.noimg {
    text-align: center;
    line-height: 40px;
}

div.thumbimg.noimg span {
    font-size: 16px;
    color: #999;
    vertical-align: middle;
}

input.bg-text-select
{
    -webkit-user-select: text;
    -moz-user-select: -moz-all;
    -ms-user-select: all;
    user-select: all;
}

ul.bg-inline { margin-left: 0; list-style: none; padding-left: 0; }
ul.bg-inline > li { display: inline-block; padding: 0 5px; }

.bg-clear { clear: both; }
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { font-size: .6em; font-weight: 400; }

td.tag-cell
{
    max-width: 200px;
    white-space: unset!important;
    word-break: break-all;
    width: 10%;
}

span.tag
{
    border: solid 1px gray;
    border-radius: 20px;
    padding: 5px 10px;
    margin: 2px;
    cursor: pointer;
    display: inline-block;
    background: #fff;
    font-size: 11px;
}

span.tag.selected {
    background: rgba(0, 81, 173, 0.4);
}

td.tag-cell span.tag {
    margin-bottom: 4px;
}

.ui-widget-content a { color: #1a0dab; }

@media print {
    a[href]:after {
        content: "";
    }
}