.query select, .query input, .query button {
    width: 100px;
    margin: 15px;
}

i.searchpageicon {
    font-size: 23px;
    margin-right: 10px;
}

i.searchpageicon:hover {
    text-decoration: none;
}

html, body { padding: 0px; margin: 0px; font-size: 0.95em; font-family: Helvetica Neue, Arial, Open Sans, sans-serif; }

body{background:whitesmoke; color:#333; font-family: Tahoma,Helvetica,Arial,sans-serif; max-width: 1280px; width: 100%; margin: 0 auto; }

h3 {
    font-weight: normal;
/*     margin-left: 1.6em; */
}

#bc a {
    color: #9b7729;
}
div#main-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    box-shadow: grey 5px 5px 35px;
    height: 100%;
    background: white;
    padding: 1em 0;
    min-height: 100vh;
}
#top { background-color: white; margin: 0px 0px 0px 0px; height: 100px; position: relative; }


#top ul {
    width: 300px;
    text-align: right;
    display: block;
    position: absolute;
    right: 50px;
    top: 30px;
}

#top ul li {
    display: inline;
    color: black;
    list-style-type: none;
    padding-right: 20px;
}
#top ul a {

    color: black;

}

#topbar {
    text-align: right;
    padding: 0.5em 0.5em 0.5em 0;
    font-size: 1.2em;
    background: whitesmoke;
}


#bc {
    text-align: left;
    /* border-bottom: 1px solid #646870 !important; */
    padding: 11px 10px 11px 0;
    color: #000;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    font-weight: normal;
    font-size: 13px;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-align: left;
    border-bottom: 1px solid darkgrey;
    padding-bottom: 10px;
}

#compare_with {
    height: 32px;
    color: #000;
    font-size: 12px;
}

.topbarinner {
    margin-right: 45px;
    font-size: 15px;
    font-family: Arial, sans-serif;
}
#topbar a {     color: #9b7729; margin-right: 10px;}
.topbarinner { margin-right: 45px; }
b,th,.topbarinner a {
    font-weight: normal;
}

input, button {
border: 1px solid #CCCCCC;
padding: 8px 5px;
font-size: 12px;
-webkit-box-shadow: inset 0 0 4px rgba(0,0,0,.15);
-moz-box-shadow: inset 0 0 4px rgba(0,0,0,.15);
box-shadow: inset 0 0 4px rgba(0,0,0,.15);
}

div#tabs {
    background: inherit;
    border: none;
}
#tabs ul {
    background: none;
    border: none;
    border-bottom: 1px solid lightgrey;
    padding: 0 !important;
}

#person-demos {
    background: white-smoke;
    margin-top: 0px;
    padding: 0px;
    height: 500px;
    overflow: auto;
    width: 100%;
    font-size: 0.8em;
}

#email-marketing-history {
    background: inherit;
    margin-top: 20px;
    padding: 0px;
    height: 500px;
    overflow-x: scroll !important;
    max-width: 600px;
    width: 100%;
}

input:focus {
    border: 1px solid #BBBBBB;
    background: white;
    /*
Progressive Enrichment	*/
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
}

table.orderCart.order-details-header {
    width: auto;
}

input:hover {
    border: 1px solid #BBBBBB;
}

select {
/*     width: 315px; */
    padding: 5px;
    color: #646870;
    border: 1px solid #C5C5C5;
}

input[type=button], input[type=submit], button {
    background-color:#9b7729;
    color: white;
}
input[type=submit]:hover, button:hover {
    cursor: pointer;
    opacity: 0.7;
}

table.orderCart.emailstats {
    display: block;
    overflow-x: scroll;
    margin-top: 1em;
}
.emailstats th {
    font-weight: bold;
}

select[name=dbSelect] {
    width: 100%;
}

table#orderItems {
    display: block;
    overflow-x: scroll;
}

#login-box {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

#personAndSiteForm input[type=text],
#personAndSiteForm select,
#personForm input[type=text],
#personForm select,
#siteForm input[type=text],
#siteForm select
{
    width: 200px;
}

#main-content {
   width: 100%;
   padding: 10px 30px 20px;
   border: 1px solid #DCDCDC;
   background: whitesmoke;
   margin-left: auto;
   margin-right: auto;
   margin-top: 40px;
   margin-bottom: 40px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   max-width: 1070px;
   box-shadow: lightgrey 10px 10px 33px;
}

th { text-align: left; font-size: 1.15em; }
td { padding-right: 5px; }
a, a:visited, a:active { text-decoration: none; color: black;  }
a:hover { text-decoration: underline; }
p.flash { color: green; }
p.flasherror { color: red; }
label.error { color: darkred; margin-left: 10px; }
label.valid { color: darkgreen; }

/* Search results */

table.searchResultsReaderAndCompany { -moz-border-radius:5px 5px 5px 5px; background-color: white; width: 100%; border: 1px solid lightsteelblue; margin-bottom: 7px; padding-left: 10px; }
table.searchResultsReaderAndCompany td { width: 120px; -moz-border-radius:5px 5px 5px 5px; background-color: white; }

table.searchResultsReadersOrders { font-size: 0.9em; }
table.searchResultsReadersOrders th { width: 100px; background-color: black; color: white; padding: 5px 5px 3px 10px; -moz-border-radius:5px 5px 5px 5px;}
table.searchResultsReadersOrders td { width: 100px; background: lightgrey; padding: 5px 5px 3px 10px; -moz-border-radius:5px 5px 5px 5px;}


/* Autocomplete */

ul.ui-autocomplete { height: 200px; overflow-y: scroll; overflow-x: hidden; font-size: 0.8em; display: block; width: 300px; border: 1px solid black; background: white; padding: 10px; }
li.ui-menu-item { list-style: none; cursor: pointer; margin-left: 0px; margin-bottom: 5px; }
ul.ui-autocomplete a { font-weight: normal; }

.clear { clear: both; margin: 0px; padding: 0px; border: 0px; }

/* Order cart */

.topbarinner b {
    letter-spacing: 1px;
    margin-left: 10px;
}

table {
    width: 100%;
}

#chart_div, #chart_div2 {
    margin: 30px;
    border: 2px solid #E2E2E2;
    padding: 0 16px 16px 16px;
}

#chart_div g:first-of-type text, #chart_div2 g:first-of-type text {
    font-size: 17px;
    text-decoration: underline;
    margin-bottom: 10px;
}

#chart_div g g:first-of-type text, #chart_div2 g g:first-of-type text {
    font-size: 11px;
}

table.orderCart {border-collapse:collapse;}

table.orderCart tr {
    background: #EFEFEF !important;
    border-bottom: 2px solid #fff;

}

table.orderCart td { width: 120px; -moz-border-radius:5px 5px 5px 5px; }
table.orderCart { font-size: 0.9em; }
table.orderCart th {
    min-width: 120px;
    background-color: lightgrey;
    color: black;
    padding: 7px 5px 7px 10px;
    -moz-border-radius: 5px 5px 5px 5px;
    text-transform: prop;
    font-family: Arial, sans-serif;
    letter-spacing: 1px;
    font-size: 13px;
    line-height: 1.1;
}

table.orderCart td { width: 120px; background: white; padding: 5px 5px 3px 10px;
    -moz-border-radius:5px 5px 5px 5px; }

tr.credited td { background-color: #EDEC90; }
tr.paid td { background-color: #B0FE86; }
tr.unpaid td { background-color: tan; }

table.orderCart td.right { text-align: right;  }

table.orderCart td.noStyle, table.orderCart th.noStyle { background: none; }

a.removeFromCart { color: darkred; font-weight: bold; }
#person-demos h4 {
    margin: 8px 0 !important;
    padding: 0;
}
#tabs li {
    font-size: 0.8em;
}

span.pretendLink, span.pretendLink:visited, span.pretendLink:active { text-decoration: none; color: black; font-weight: bold; }
span.pretendLink:hover { text-decoration: underline; cursor: pointer; }


/* Reports */

table.repTable tr th { background: lightgrey; padding-left: 5px; padding-right: 5px; -moz-border-radius:3px 3px 3px 3px; text-align: center; }
table.repTable tr td { background: #E8E8E8; padding-left: 5px; padding-right: 5px; -moz-border-radius:3px 3px 3px 3px }
.tab button {
    color: black;
}
.niceBg {
-moz-background-clip: border;
-moz-background-inline-policy: continuous;
-moz-background-origin: padding;
-moz-border-radius-bottomleft: 5px;
-moz-border-radius-bottomright: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
background: #FDFCF9 scroll left top;
border: 1px solid lightgrey;
margin: 0px 0px 10px 20px;
padding: 10px;
}

ul.clickmenu {
    height: 300px;
    overflow-y: scroll;
}

table.tablesorter thead tr:hover {
    cursor: pointer;
}
table.tablesorter thead tr td.asc {
    color: red;
}
table.tablesorter thead tr .headerSortUp {
    background-image: url(images/asc.gif);
    background-repeat: no-repeat;
    background-position: center right;
}
table.tablesorter thead tr .headerSortDown {
    background-image: url(images/desc.gif);
    background-repeat: no-repeat;
    background-position: center right;
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
    background-color: #9b7729;
/*     color: black; */
}

#personForm div#tabs-1, #personForm div#tabs-2 {
    background: white;
    border-left: 1px solid #d3d3d3;
    border-right: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
}

.ui-tabs .ui-tabs-nav li {
    list-style: none;
    float: left;
    position: relative;
    top: 5px;
    margin: 0 .2em 1px 0;
    border-bottom: 0 !important;
    padding: 0;
    white-space: nowrap;
}

div#bc a {
    font-weight: bold;
}

.search-icon {
    font-size: 2em;
}

.search-icon {
    font-size: 2em;
    color: black;
    margin: 5px 3px;
}

.search-icon.fa-smaller {
    font-size: 1.9em;
}

.searchResultsReaderAndCompany a.tip:hover {
    background: none;
    text-decoration: none !important;
    border: none;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    border-color: #d3d3d3 !important;
    background: #ffffff/*{bgColorActive}*/ url(images/ui-bg_glass_65_ffffff_1x400.png)/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/;
    font-weight: normal/*{fwDefault}*/;
    color: #212121/*{fcActive}*/;
}

div.growlUI { background: url(images/check48.png) no-repeat 10px 10px }
div.growlUI h1, div.growlUI h2 {
    color: white; padding: 5px 5px 5px 75px; text-align: left



}


#dbLogo {
    margin-left: 70px;
    margin-top: 10px;
    max-width: 200px;
}

.MergeView td {
    height: 30px;
    border-bottom: 1px dotted;
}


.context-menu-list {
    /*max-height: 300px;
    overflow: auto;*/
}

hr.pme-hr            { border: 0px solid; padding: 0px; margin: 0px; border-top-width: 1px; height: 1px; }
table.pme-main       { border: #004d9c 1px solid; border-collapse: collapse; border-spacing: 0px; width: 100%; }
table.pme-navigation { border: #004d9c 0px solid; border-collapse: collapse; border-spacing: 0px; width: 100%; }
td.pme-navigation-0, td.pme-navigation-1 { white-space: nowrap; }
th.pme-header        { border: #004d9c 1px solid; padding: 4px; background: #add8e6; }
td.pme-key-0, td.pme-value-0, td.pme-help-0, td.pme-navigation-0, td.pme-cell-0,
td.pme-key-1, td.pme-value-1, td.pme-help-0, td.pme-navigation-1, td.pme-cell-1,
td.pme-sortinfo, td.pme-filter { border: #004d9c 1px solid; padding: 3px; }
td.pme-buttons { text-align: left;   }
td.pme-message { text-align: center; }
td.pme-stats   { text-align: right;  }

#webPageIntro, #Demo_Routing { width: 400px; height: 200px; }



table#header_table {
    width: 100%;
}
table#header_table .right {
    text-align: right;
}

.question-column .align-questions td.left {
    width: 20px;
}

form#siteForm.edit-site-page {
    width: 440px;
}
.email-page-link {
    border: none;
    padding: 0;
    font-size: 12px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background: none;
    color: #9b7729;
}
.email-page-link:hover {
    text-decoration: underline;
    cursor: pointer;
}

#redtext {
    color:red;
    font-weight:bold;
}
#butspace{
    margin-bottom:2px;
}

/*Mailchimp*/
li.mailchimp-list form {display: flex;}
li.mailchimp-list>form>div {width: 50%;}
.mailchimp-selection-scroller {height: 11em;overflow-y: scroll;margin: 0 0 1em;border: 1px solid lightgrey;padding: 0.5em;}

/*Admin table enhancements*/
.hover-row tr:hover td { background-color: #d6f3ff; }
li.mailchimp-list {margin: 0 0 1em;list-style: none;}
.mailchimp-data .mailchimp-meta strong { width: 10em; display: inline-block;}
img.mailchimp-icon-small {height: 1em;margin: 0 0 0 1.3em;}
