<?php

// This will be trimmed down to only include the color options and/or user specified CSS

header('Content-type: text/css');
$color_options = array(
    'blue' => array(
        'main' => '#d7eafd',
        'secondary' => '#336699',
        'header' => '#003366',
        'links' => '#003366',
    ),
    'green' => array(
        'main' => '#ccffcc',					
        'secondary' => '#339933',
        'header' => '#006600',
        'links' => '#006600',
    ),
    'orange' => array(
        'main' => '#ffffcc',					
        'secondary' => '#ff9933',
        'header' => '#FF6600',
        'links' => '#FF6600',
    ),
    'gray' => array(
        'main' => '#eee',					
        'secondary' => '#666',
        'header' => '#333',
        'links' => '#666',
    ),
);
// Set a default
$colors = $color_options['blue'];
// Set a color scheme if chosen
if (@array_key_exists(strtolower(@$_GET['color']), $color_options))
{
    $colors = $color_options[strtolower(@$_GET['color'])];
}
// Or, set custom colors if chosen
if (@$_GET['color'] == 'custom')
{
    if (array_key_exists('main', $_GET) && !empty($_GET['main']))
    {
        $colors['main'] = '#' . $_GET['main'];
    }
    if (array_key_exists('secondary', $_GET) && !empty($_GET['secondary']))
    {
        $colors['secondary'] = '#' . $_GET['secondary'];
    }
    if (array_key_exists('header', $_GET) && !empty($_GET['header']))
    {
        $colors['header'] = '#' . $_GET['header'];
    }
    if (array_key_exists('links', $_GET) && !empty($_GET['links']))
    {
        $colors['links'] = '#' . $_GET['links'];
    }
}

?>

/********************************/
/* BASIC CONTENT STYLES 		*/
/********************************/
body {
    background: white;
    color: black; 
    font: 12px "Lucida Grande", Verdana, Arial, sans-serif;
    margin: 0;
}

#containerTable {
    min-width: 960px;
    _width: 960px;
}

h1 { 
    color: <?php echo $colors['header']; ?>;
    font: bold 21px "Trebuchet MS", Arial;
    text-transform: none;
    font-size: 18px;  
    margin: 10px 0px;
    text-shadow:0 -1px 0 rgba(0,0,0,0.15), 0 1px 0 rgba(255,255,255,0.8)  
}

h2, .headerImitation, legend {
    color: <?php echo $colors['secondary']; ?>;
    font: bold 16px "Trebuchet MS", Arial; 
    margin: 20px 0 5px 0;
       text-shadow:0 -1px 0 rgba(0,0,0,0.15),  
    0 1px 0 rgba(255,255,255,0.8)  
}

h3 {
    color: <?php echo $colors['header']; ?>;
    font: bold 14px "Trebuchet MS", Arial;
    margin: 0 0 2px 0; 	
}
  
h4 {
    font: bold 12px Arial;
    margin: 0;
}

p {
    font-size: 100%;
    margin: 0px 0px 20px 0px;
}

img {
    border: none;
    display: inline;
}

a, a:link, a:visited {
    color: <?php echo $colors['links']; ?>;
}

a:hover {
    color: <?php echo $colors['secondary']; ?>;
}

dt {
    font-weight: bold;
    margin-top: 10px;
}

fieldset {
    border: 1px solid #cccccc;
    margin-bottom: 15px; 
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px; 
    background: #ffffff url(/public/img/bg_fieldset.gif) repeat-x;
}

fieldset p {
    margin-bottom: 10px;
}

legend {
    margin: 10px 0 5px 0;
}

<?php 
/* Fieldset/Legend Hack for IE */
 
if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
{
    echo '
        legend {
            position:absolute;
            top: -.5em;
            left: .5em;
        }
        
        fieldset {
            position: relative;
            margin-top: 5px;
            padding-top: 30px;
            padding-left: 10px; 
            background: url(http://www.minute7.com/public/img/bg_fieldset.gif) repeat-x 0 12px;
        }
    ';
}
  
if (isset($_SERVER['HTTP_USER_AGENT']) && 
    ((strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 9')) || (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 10'))))
{
    echo '
		fieldset {
			position: relative;
			margin-top: 5px;
			padding-top: 30px;
			padding-left: 10px; 
			background: url(http://www.minute7.com/public/img/bg_fieldset.gif) repeat-x 0 0;
        }
    ';
} 

?>

.error_message {
    color: #FF0000;
    margin-left: 15px;
}

#footer {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px;
    color: #666666; 
    margin: 0px;
    padding: 10px;
}

/********************************/
/* HEADER and NAV 					*/
/********************************/
#header {  
    margin: 0;
    padding: 0; 
    height: 100px;
    width: 100%; 
}
     
.headerLogo { 
    width: 250px; 
    vertical-align: middle;
    padding-left: 20px; 
}

.secondaryNavigation {
    font: normal 10px Verdana; 
    text-align:right; 
    padding: 10px 10px 0 0;
    border: 0;
    height: 65px;
}

.navigation { 
    height: 25px; 
    padding: 0 10px 0 0; 
    text-align:right;
    vertical-align: bottom; 
}

.navigation a { 
    text-decoration: none;
    color: #333;  
    width: 90px;
    display: block;
    text-align: center;
    float: right;
    height: 20px;
    margin: 0 0 0 5px;
    padding: 5px 0 0 0; 
    background:  #f5f5f5;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-left-radius: 5px; 
    -webkit-border-top-right-radius: 5px;
    border-top-right-radius: 5px; 
    border-top-left-radius: 5px; 
}

.navigation a.appActiveTab  {  
    color: #333;
    background: #eee;   
}

.mainColumn {
    background: url(/public/img/bg_main_column.jpg) repeat-x;
    margin: 0; 
    padding: 10px 20px;  
}

#toggleBar {
    text-align: center;
    width: 100%;
    padding: 10px;
}
 
/********************************/
/* TABLES 						*/
/********************************/
table 
{ 
    border-collapse: collapse;  
    margin: 0 0 10px 0;
}

td, th 
{ 
    font-size: 11px;
    font-weight: normal;
    line-height: 13px;  
    vertical-align: top; 
    padding: 5px; 
    font-family: "Lucida Grande", Verdana, Arial, sans-serif; 
}

th
{
    background-color: #F5F5F5;
    border-top: 1px solid #CCCCCC;
    text-align: left;
}

.trOdd 
{ 
    background: <?php echo $colors['main']; ?>; 
}

.trEven 
{ 
    background: white; 
}

tr.disapproved
{ 
    color: red;
    
}
 
.linkColor 
{ 
    color: <?php echo $colors['links']; ?>; 
}

.secondaryColor 
{ 
    color: <?php echo $colors['secondary']; ?>; 
}

#bill_search_form
{
    margin: 0;
}

table.empDateHolder td.searchbarHolder {
    text-align: right;
    width: 50%;
}

div.searchbarHolder {
    text-align: right; 
}

table.weekDisplay {
    width: 100%;
}

table.weekDisplay td.weekNav {
    width: 40%; 
    text-align: right;
    padding: 0;
    vertical-align: bottom;
    border-bottom: 2px solid #ccc 
}
        
table.weekDisplay td.weekNav a  {
    background: #ccc;
    color: #666666;
    padding: 2px 5px;
    text-decoration: none; 
} 
    
table.weekDisplay td.weekShown {
    width: 60%;
    text-align: left;
    border-bottom: 2px solid #ccc 
}

table.weekDisplay td.weekShown input {
    font: 12px Arial;
}

table.timeEntry td, table.timeEntry th, table.expenseEntry td, table.expenseEntry th 
{
    vertical-align:middle;
}

/* Bill/Expense Grouping Styles */
table.expenseGroupingEntry td, table.expenseGroupingVendorSelector td
{
    vertical-align:middle;
    margin: 0;
    padding: 0 0 0 5px;
    border: none;
}

table.expenseGroupingEntry, table.expenseGroupingVendorSelector, #expenseGroupingForm
{
    margin: 0;
}

.week_entry_table {
    margin: 0px;
    padding: 0px;
}

.fa-chevron-right {
    cursor: pointer !important;
}

.fa-chevron-left {
    cursor: pointer !important;
}

.week_entry {
    width: 400px;
    display: flex-box;
    justify-content: center;
    align-items: center;
}

.week_entry_week_row {
    border: 1px solid grey;
    text-align: center;
}

.week_entry_week_input_row {
    align-items: center;
}

.week_entry_input {
    width: 37px;
    text-align:center;
}

.day_entry_button_cell {
    padding-right: 0px;
    margin-right: 0px;
}

#day_entry_button {
    display: block;
    float: right;
}

#week_entry_button {
    display: block;
}

.week_entry_button_cell {
    padding-left: 0px;
    margin-left: 0px;
}

.mileage_calculator_cell {
    color: #369; 
    font-size: 15px; 
    font-weight: bold;
    text-align: left;
}

.mileage_calculator_input {
    font-size: 14px;
    width: 190px;
}

.timerInvalidInput {
    background-color: pink !important;
    border: solid 0px !important;
       border-bottom: solid 2px !important;
    border-color: red !important;
    outline: none !important;
}

.speech_bubble_container {
    visibility: hidden;
    position: absolute;
    z-index: 1;
}

.start_time_speech_bubble {
    right: 10%;	
    top: 27%;
}

.end_time_speech_bubble {
    right: 10%;
    top: 36%;
}

.hours_off_duty_speech_bubble {
    display: inline-block;
    width: 150px;
    overflow: visible;	
    top: 44%;
    right: 1%;
}

.speech_bubble {
    position: relative;
    background: #336699;
    color: white;
    padding: 3px;
    margin-bottom: 15px;
    top: 0%;
    border-radius: .4em;
}

.speech_bubble:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-top-color: #336699;
    border-bottom: 0;
    margin-left: -7px;
    margin-bottom: -7px;
}

.timer_table {
    text-align: center;
}

.timer_modal_cell {
    color: #369; 
    font-size: 15px; 
    font-weight: bold;
    text-align: left;
}

.close_timer {
    color: #369; 
    font-size: 15px; 
    font-weight: bold;
    text-align: left;
    text-align: center;
}

.timer_modal_heading {
    color: #369; 
    font-size: 12px; 
    font-weight: bold;
    padding: 5px 0px 0px 5px;
}

.timer_time {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 10px;
    font-size: 22px;
    font-weight: bold;
}

.timer_description {
    width: 265px;
    overflow:auto;
    resize: none
}

.timer_input {
    text-align: center;
    display: inline-block;
    width: 60px;
}

.ampm_select {
    display: inline-block;
    height: 20px;
    padding: 0px;
    margin: 0px;
}

/********************************/
/* BILL APP STYLES	 			*/
/********************************/
 
.login .impresarioForm label {
     width: 55px;
    padding-top: 5px;
}


.login .impresarioForm  #email,
.login .impresarioForm  #password
{
    width: 120px;
    padding-top: 5px;
    margin: 2px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #666;
    border-right: 1px solid #999;
    
}


div#extraColorOptions
{
    margin: 10px;
}

div.billNextWeekLinks
{
    margin: 10px 0px;
}

div.rightHelpLink
{
    display: inline;
    float: right;
    padding-right: 50px;
}

div.leftHelpLink
{
    display: inline;
    padding-left: 20px;
}

a.helpLink
{
    font-size: 10px;
    line-height: 15px;
    background: transparent url('/public/img/help_link.gif') center left no-repeat;
    padding: 2px 0px 2px 17px;
}

a.cancelLink
{
    font-size: 10px;
    line-height: 15px;
    background: transparent url('/public/img/impresarioIMG/icons/carbon/close_16.png') center left no-repeat;
    padding: 2px 0px 2px 17px;
}

a.addLink
{
    background: transparent url('/public/img/add_link.gif') center left no-repeat;
    padding: 2px 0px 2px 17px;
}


p.short { 
    margin: 0 0 10px 0;
}

.notice, #notice
{
    margin: 15px 0px;
    padding: 10px 40px; 
    background: #ffffcc url(/public/img/app_icon_notice.gif) no-repeat 5px 5px;
    border: 1px solid #ffCC33;
    border-radius: 5px; 
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.hide {
    display:none;
}

.show {
    display:block;
}

.notice p { 
    font: normal 12px "Trebuchet MS", Arial; 
    margin: 0; 
}

.notice p a {
    color: #ff6600;
}
 
.billingNotice
{
    margin: 7px 0px;
    padding: 5px;
    display: block;
    float: right;
    text-align: left;
    background: #ffffcc;
}

.helpTips
{
    margin: 0;
    padding: 10px 20px;
    border: 1px solid #ccc;
    background: #eee;
}

#accountTools {
    text-align: left;
    width: 360px;
    background: #eee;
    border: 1px solid #ccc;
    padding: 20px;
    float: right;
}

.accountViewHolder {
    text-align: center; 
}

.accountViewHeader, .accountViewContent {
    width: 80%;
    margin: 0 auto;
    text-align: left;
}

#dateChooser
{
    padding: 7px;
}

#dateChooser a, #dateChooser a:link, #dateChooser a:visited
{
    color: <?php echo $colors['links']; ?>;
    background: transparent;
    text-decoration: underline;
}

#dateChooser a:hover
{
    color: <?php echo $colors['secondary']; ?>;
}

.actionLinkContainer
{
    display: inline;
    margin: 0px;
    padding: 0px;
}

.hiddenVendor
{
    display:none;
}
 
/* Javascript-based improved-select boxes (with filtering, etc) */
select.improved_select { width: 160px; }

input.improved_select_text {
    width:160px;
    vertical-align:middle;
}

input#employee_id_text_input, input#vendor_id_text_input
{
    width: 100px;
}

img.improved_select_spacer {
    background: url(/public/img/btn_improved_select_picker.png) no-repeat transparent top left;
    height: 20px;
    width: 20px;
    text-decoration: none;
    display: inline;
    vertical-align: middle;
}

img.active_picker {
    background-position: bottom left;
}

div.improved_select_container
{
    display: inline;
    white-space: nowrap;
}

div.improved_select {
    white-space: nowrap;
    position: absolute;
    min-width: 160px;
    background-color:white;
    border:1px solid #ccc;
    margin:0px;
    padding:2px;
    font-size:0.9em;
    text-align:left;
    /* sets max-height for IE6 */
    _height: expression( this.scrollHeight > 299 ? "300px" : "auto" ); 
    max-height:300px;
    overflow:auto;
}

div.improved_select ul {
    background-color:white;
    list-style-type:none;
    margin:0px;
    padding:0px;
}

div.improved_select ul li.selected { 
    background-color: #EAF2FB;
}

div.improved_select ul li {
    list-style-type:none;
    display:block;
    margin:0;
    padding:2px;
    padding-right: 20px;
    cursor:pointer;
}

/* jQuery MultiSelect Custom Styles */
.ms-container {
    width: 95%;
    padding: 5px;
}

/* Improved multi-selects */
div.improved_multi_select_container {
    white-space: nowrap;
}

select.improved_multi_select {
    min-width: 200px;
    _width: 40%;
    width: 40%;
    float: left;
}

div.improved_multi_select_link_container {
    float: left;
    width: 30px;
    height: 100px;
    padding-top: 70px;
    text-align: center;
}

a.improved_multi_select_move_right_link img, a.improved_multi_select_move_left_link img {
    background: url(/public/img/impresarioIMG/admin/selector-add.gif) no-repeat transparent top center;
    height: 16px;
    width: 16px;
    text-decoration: none;
    display: inline;
    vertical-align: middle;
    padding-bottom: 5px;
}

a.improved_multi_select_move_left_link img {
    background-image: url(/public/img/impresarioIMG/admin/selector-remove.gif);
}

/* Notification windows for entries */
div.notification_window_container
{
    display: inline;
    white-space: nowrap;
}

div.notification_window {
    white-space: nowrap;
    position: absolute;
    width: 300px;
    background-color:white;
    border:1px solid #ccc;
    margin:0px;
    padding:2px;
}

.notification_window form
{
    padding: 3px;
}

.notification_window .label
{
    display: block;
    width: 40px;
    float: left;
}

.notification_window .cancelLink
{
    float: right;
    margin-right: 4px;
}

.notificationCaption
{
    display: block;
    padding: 3px;
    font-weight: bold;
    color: #FFFFFF;
    background: #7CA0C7 url(/public/img/impresarioIMG/admin/default-bg.gif) repeat-x scroll left top;
}

/********************************/
/* ACTIVITY LOG STYLES 			*/
/********************************/

/*  DATE DRILLDOWN  */
#activityLogContainer ul.toplinks
{
    display:block;
    background:white url(/public/img/impresarioIMG/admin/nav-bg-reverse.gif) 0 -10px repeat-x;
    border-top:1px solid white;
    float:left;
    padding:0 !important;
    margin:0 !important;
    width:100%;
    font-size: 11px;
}

#activityLogContainer ul.toplinks li
{
    float: left;
    width: 9em;
    padding:3px 6px;
    font-weight: bold;
    list-style-type:none;
    list-style-image: none;
}

#activityLogContainer ul.toplinks .date-back a
{ 
    color:#999;
}

#activityLogContainer ul.toplinks .date-back a:hover
{ 
    color:#036;
}

#activityLogContainer div.xfull
{
    margin-right:160px !important; 
    width:auto !important; 
}

/* SORTABLE TABLES */
#activityLogContainer table thead th.sorted a { padding-right:13px; }
#activityLogContainer table thead th.ascending a { background:url(/public/img/impresarioIMG/admin/arrow-up.gif) right .4em no-repeat; }
#activityLogContainer table thead th.descending a { background:url(/public/img/impresarioIMG/admin/arrow-down.gif) right .4em no-repeat; }

/********************************/
/* REPORTS STYLES				*/
/********************************/
#reportsForm td.step { background: white url(/public/img/bg_step_.gif) no-repeat center right; padding: 0 0 0 10px; width: 33%; height: 50px}
#reportsForm td.step h2 { margin: 15px; }
#reportsForm td.column { padding: 10px; width: 33%}
#reportsForm td.column ul { margin-left: 0px; padding-left: 20px; list-style-type: none }
#reportsForm td.column ul ul, 
#reportsForm td.column ul ul ul {
    list-style-image:url(/public/img/bg_ul_list_segment.gif); 
    list-style-type:square;}
#reportsForm td.column ul { margin: 3px }    
#reportsForm fieldset { margin-bottom: 10px; }
#reportsForm div.selectHolder { }

.reportsAttachmentDownloading {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.reportsAttachmentDownloaded {
    display: none;
    flex-direction: row;
    align-items: center;
}

.reportsDownloadingImage {
    margin-left: 25px;
}

.exportButtonsContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.reportButton {
    border: 0px;
    background-color: #529C52;
    margin-right: 5px;
    width: 100px;
    height: 25px;
    color: #EEF6EE;
    display: flex;
    font-weight: 550;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    font-size: 10.5px;
    cursor: pointer;
}

/********************************/
/* SUPPORTING STYLES 			*/
/********************************/
#clearBoth, .clearBoth
{
    clear:both;
}

.description, .disclaimer 
{ 
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px;
    line-height: 12px;
    font-weight: normal;
    color: #666666;
    margin: 0px 0px 5px 0px
 
}

br .clear 
{ 
    clear: both; 
}

.nowrap 
{ 
    white-space:nowrap; 
}
 
.absmiddle 
{ 
    vertical-align:middle; 
}

/* Search term highlighting */
.highlight
{
    background: #ffffcc;
    font-weight: bold;
}

.highlighted
{
    background: #ffffcc;
}

.unhighlighted
{
    background: none;
}

/* Removes default top margin from left/right column paragraphs in Mozilla */
div > p 
{
  margin-top: 0;
}

.impresarioForm .wideLabel label, .impresarioForm label.wideLabel 
{
    width: 85%;
}

#filterCustomerListOptions label, 
#filterInventoryItemListOptions label, 
#filterQbAccountListOptions label,
#filterQbClassListOptions label {
    width: 85%;
}

.impresarioForm .midLabel label, .impresarioForm label.midLabel 
{
    width: 65%;
}

.midWidth
{
    width: 600px;
}

.fullWidth
{
    width: 100%;
}

#expensesPermissionsTable, #timePermissionsTable
{
    max-height: 300px;
    overflow: auto;
    #max-height: 100%; /* IE can't handle overflow very well; nix max-height and display full height instead; @todo: find a better solution for IE */
}

#restrictions
{
    min-width: 600px;
    _width: 600px;
}

#restrictions p
{
    width: 600px;
    margin-bottom: 5px;
}

#restrictions label
{
    width: 360px;
}

/********************************/
/* DATE AND TIME 				*/
/********************************/
p.datetime, div.datetime
{
    line-height:20px; 
    margin:0; 
    padding:0; 
    color:#666; 
    font-size:11px; 
    font-weight:bold; 
}

p.datetime img, div.datetime img
{ 
    display: inline; 
}

.datetime span 
{ 
    font-size:11px; 
    color:#ccc; 
    font-weight:normal; 
    white-space:nowrap; 
}

.vDateField 
{ 
}

table p.datetime, table div.datetime
{ 
    font-size:10px; margin-left:0; padding-left:0; 
}

/********************************/
/* CALENDARS AND CLOCKS			*/
/********************************/
.calendarbox h2, .clockbox h2 { margin:0; padding:2px 5px 3px 5px; font-size:11px; text-align:left; font-weight:bold; background:#7CA0C7 url(/public/img/impresarioIMG/admin/default-bg.gif) top left repeat-x; color:white; }
.calendarbox caption, .clockbox caption { margin:0; padding:2px 5px 3px 5px; font-size:11px; text-align:left; font-weight:bold; background:#7CA0C7 url(/public/img/impresarioIMG/admin/default-bg.gif) top left repeat-x; color:white; }

.calendarbox, .clockbox { margin:5px 0px 5px -25px; font-size:11px; width:16em; text-align:center; background:white; position:relative; }
.clockbox { width:9em; }
.calendar { margin:0; padding: 0; }
.calendar table { margin:0; padding:0; border-collapse:collapse; background:white; width:99%; }
.calendar caption, .calendarbox h2 { margin: 0; font-size:11px; text-align:center; border-top:none; }
.calendar th { font-size:10px; color:#666; padding:2px 3px; text-align:center; background:#e1e1e1 url(/public/img/impresarioIMG/admin/nav-bg.gif) 0 50% repeat-x; border-bottom:1px solid #ddd; }
.calendar td { font-size:11px; text-align: center; padding: 0; border-top:1px solid #eee; border-bottom:none; }
.calendar td.selected a { background: #C9DBED; }
.calendar td.nonday { background:#efefef; }
.calendar td.today a { background:#ffc; }
.calendar td a, .timelist a { display: block; font-weight:bold; padding:4px; text-decoration: none; color:#444; }
.calendar td a:hover, .timelist a:hover { background: #5b80b2; color:white; }
.calendar td a:active, .timelist a:active { background: #036; color:white; }
.calendarnav { font-size:10px; text-align: center; color:#ccc; margin:0; padding:1px 3px; }
.calendarnav a:link, #calendarnav a:visited, #calendarnav a:hover { color: #999; }
.calendar-shortcuts { background:white; font-size:10px; line-height:11px; border-top:1px solid #eee; padding:3px 0 4px; color:#ccc; }
.calendarbox .calendarnav-previous, .calendarbox .calendarnav-next { display:block; position:absolute; font-weight:bold; font-size:12px; background:#C9DBED url(/public/img/impresarioIMG/admin/default-bg.gif) bottom left repeat-x; padding:1px 4px 2px 4px; color:white; }
.calendarnav-previous:hover, .calendarnav-next:hover { background:#036; }
.calendarnav-previous { top:0; left:0; }
.calendarnav-next { top:0; right:0; }
.calendar-cancel { margin:0 !important; padding:0; font-size:10px; background:#e1e1e1 url(/public/img/impresarioIMG/admin/nav-bg.gif) 0 50% repeat-x;  border-top:1px solid #ddd; }
.calendar-cancel a { padding:2px; color:#999; }
ul.timelist, .timelist li { list-style-type:none; margin:0; padding:0; }
.timelist a { padding:2px; }

/********************************/
/* IMPRESARIO FORMS 			*/
/********************************/

/*.impresarioForm fieldset 
{
    padding: 10px;
    border:1px solid #F5F5F5;
}

.impresarioForm legend
{
    font-family: "Arial", Helvetica, Arial, sans-serif;
    font-size: 18px; 
    color: #999999;
}

*/

.impresarioForm label 
{
    float:left;
    width:150px;
    margin: 0 10px 3px 0;
    padding: 0; 
    clear: both;
}

.adminFormRow
{
    padding: 2px;
    text-align: left;
    background-color: #F0F0EE;
    margin: 0 0 2px 0;
}

.formRow
{
    display: block; 
    margin: 2px 0;
}

.required label
{
    border-right: 3px solid #FFCC75;
    margin-right: 5px;
    padding-right: 2px;
}

/********************************/
/* IMPRESARIO STYLES 			*/
/********************************/
#breadcrumbs 
{
    font: 10px Verdana, Helvetica, sans-serif;
}

.cmsButton
{
    padding: 10px 0px 10px 0px;
    display: inline;
}

.cmsIcon
{
    padding: 1px;
    display: inline;
}

.cmsToolTip
{
    padding: 1px;
    display: inline;
    vertical-align: middle;
}

.textButtonAdmin
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #FFFFFF;
    text-decoration: none;
    border: 1px solid #FF9933;
    padding: 2px;
    background-color: #FF0000;
}

.textButtonAdmin:hover
{
    color: #FFFFFF; 
    border: 1px solid #FF0000;
    background-color: #FF9933;
}

.message 
{
    border: 1px solid #ccc;
    padding: 5px;
    background:#e1e1e1 url(/public/img/impresarioIMG/admin/nav-bg.gif) top left repeat-x;
}

.message .success 
{
    font-weight: bold;
    font-size: 110%;
}

.message .error 
{
    font-weight: bold;
    font-size: 110%;
}

/* impresario admin bar ****************************************/
#impresarioBar{
    background-color: #333;
    background-image: url(/public/img/impresarioIMG/impresariobar_bg.gif);
    background-repeat: repeat-x;
    text-align: left;
    padding: 0 10px 0 0;
}

#impresarioBar select{
    font: 10px Verdana, Arial, Helvetica, sans-serif;
    background: #333;
    color: white;
    border: 1px solid #ccc;
}

#impresarioBarLinks{ 
    padding: 8px;
    color: #ccc
}

#impresarioBarLinks a{
    color: #ccc
} 

/* accordion  ****************************************/
.accordion_toggle {
    display: block;
    height: 30px;
    width: 100%;
    background: #ccc;
    padding: 0 10px 0 10px;
    line-height: 30px;
    color: #ffffff;
    font-weight: normal;
    text-decoration: none;
    outline: none;
    font-size: 12px;
    color: #000000;
    border-bottom: 1px solid #fff;
    cursor: pointer;
    margin: 0 0 0 0;
}

.accordion_toggle_active {
    background:  #666;
    color: #ffffff;
    border-bottom: 1px solid #f68263;
}

.accordion_content {
    background-color: #ffffff;
    color: #444444;
    overflow: hidden;
}
    
.accordion_content h2 {
    margin: 15px 0 5px 10px;
    color: #0099FF;
}

.accordion_content p {
    line-height: 150%;
    padding: 5px 10px 15px 10px;
}
    
.vertical_accordion_toggle {
    display: block;
    height: 30px;
    width: 600px;
    background: url(/public/img/accordion_toggle.jpg) no-repeat top right #a9d06a;
    padding: 0 10px 0 10px;
    line-height: 30px;
    color: #ffffff;
    font-weight: normal;
    text-decoration: none;
    outline: none;
    font-size: 12px;
    color: #000000;
    border-bottom: 1px solid #cde99f;
    cursor: pointer;
    margin: 0 0 0 0;
}

.vertical_accordion_toggle_active {
    background: url(/public/img/accordion_toggle_active.jpg) no-repeat top right #e0542f;
    color: #ffffff;
    border-bottom: 1px solid #f68263;
}

.vertical_accordion_content {
    background-color: #ffffff;
    color: #444444;
    overflow: hidden;
}

.vertical_accordion_content h2 {
    margin: 15px 0 5px 10px;
    color: #0099FF;
}

.vertical_accordion_content p {
    line-height: 150%;
    padding: 5px 10px 15px 10px;
}

.searchAndExpandAll {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.expandAll {
    margin-left: 25px;
    cursor: pointer;
    width: 150px;
    background-color: #EAEAEA;
    border-radius: 4px;
    border: 1px solid lightgrey;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expandAll:hover {
	filter: brightness(90%);
}

.redirect_to_frontend_banner {
	width: 100%;
	background-color: lightyellow;
	text-align: center;
	padding: 8px 5px;
	font-size: 14px;
    line-height: 18px;
}

.companySettingsContainer {
    display: flex;
    flex-direction: row;
}

.companySettingsLabel {
    display: flex;
    flex-direction: column;
}

[data-tip] {
    position:relative;

}

[data-tip]:before {
    content: '';
    display: none;
    content: '';
    display: none;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #336699;
    position: absolute;
    top: 30px;
    left: 35px;
    z-index: 8;
    font-size: 0;
    line-height: 0;
    width: 0;
    height: 0;
    position: absolute;
    top: 30px;
    left: 35px;
    z-index: 8;
    font-size: 0;
    line-height: 0;
    width: 0;
    height: 0;
}

[data-tip]:after {
    display: none;
    content: attr(data-tip);
    position: absolute;
    top: 15px;
    left: -100px;
    padding: 5px 8px;
    background: #336699;
    color: #fff;
    z-index: 9;
    font-size:  12px;
    height: 18px;
    line-height: 18px;
    -webkit-border-radius:  3px;
    -moz-border-radius:  3px;
    border-radius:  3px;
    white-space: nowrap;
    word-wrap: normal;
}

[data-tip]:hover:before,
[data-tip]:hover:after {
    display:block;
}

.memo_container {
    width: 700px;
    padding: 10px;
    height: auto;
}

.memo_date_header {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.memo_date {
    width: 50%;
}

.memo_caption {
    width: 50%;
    text-align: right;
}

.memo {
    width: 100%;
    border: 1.5px solid lightgrey;
    padding: 5px;
}

.memo_title {
    color: #3768AA;
    font-size: 18px;
}

.memo_section_label {
    color: grey;
    margin-top: 5px;
    margin-bottom: 5px;
}

.memo_section {
    padding: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid grey;
}

.memo_label_and_value {
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
}

.memo_label {
    width: 200px;
}

.memo_value {
    width: 500px;
}

.memo_no_border {
    border: 0px !important;
}

.memo_download_button {
    border-radius: 4px;
    text-align: center;
    height: 40px;
    background-color:
    color: white;
}

.memo_button_container {
    display: flex;
    width: 700px;
    justify-content: center;
    align-items: center;
}

.memo_download_button {
    white-space: nowrap;
    color: #fff;
    background: #0db165;
    font-weight: bold;
    border: 1px solid #0db165;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    line-height: 42px;
    padding: 0 24px;
    cursor: pointer;
    transition: 0.3s all;
}

.memo_download_button:hover {
    background-color: #00c267;
    border-color: #00c267;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.memo_download_button:active {
    border-color: #009952;
    background-color: #009952;
}

@media print
{
    .noprint {
        display:none;
    }
}
