/**
 * Mijn Rimote CSS overrides
 */
/* Desktop Full HD */
@media all and (min-width: 1880px) {
    .row {
        width: 1660px;
    }

    #article_wrapper {
        width: 1390px;
        margin-top: 15px;
    }

    #menu_wrapper {
        margin-left: -1650px;
    }

    #header1, #header2 {
        width: 1660px;
    }

    div.message {
        margin-left: 600px;
        top: 100px;
    }
}

/* Desktop large */
@media all and (min-width: 1400px) and (max-width: 1880px) {
    .row {
        width: 1385px;
    }

    #article_wrapper {
        width: 1115px;
        margin-top: 15px;
    }

    #menu_wrapper {
        margin-left: -1375px;
    }

    #header1, #header2 {
        width: 1385px;
    }

    div.message {
        margin-left: 450px;
        top: 100px;
    }
    
    #dashboard .left-column {
        width: 57% !important;
    }
    
    #dashboard .right-column {
        width: 40% !important;
    }
}

/* Desktop medium */
@media all and (min-width: 1200px) and (max-width: 1400px) {
    .row {
        width: 1210px;
    }

    #article_wrapper {
        width: 939px;
        margin-top: 15px;
    }

    #menu_wrapper {
        margin-left: -1204px;
    }

    #header1, #header2 {
        width: 1210px;
    }
    
    div.message {
        margin-left: 375px;
        top: 100px;
    }
    
    #dashboard .left-column,
    #dashboard .right-column {
        width: 100% !important;
    }
}

/* Desktop small */
@media all and (max-width: 1200px) {
    .row {
        width: 995px;
    }

    #article_wrapper {
        width: 690px;
        margin-top: 15px;
    }

    #menu_wrapper {
        margin-left: -950px;
    }

    #header_wrapper,
    #header1, 
    #header2,
    #breadcrumbs_wrapper,
    #content_wrapper,
    #footer_wrapper,
    #link_top_wrapper,
    #footer2 {
      width: 100%;
      min-width: auto;
    }

    div.message {
        margin-left: 199px;
        top: 100px;
    }
    
    #dashboard .left-column,
    #dashboard .right-column {
        width: 100% !important;
    }
    
    #login.standard_form {
      width: 100% !important;
    }
    
    .medium.button {
      font-size: 1em;
    }
    
    select {
      width: 100%;
      overflow: hidden;
    }
}

/**
 * Navigation
 */
#leftmenu li {
    list-style: none;
}

#actions {
    float: right;
    margin-bottom: 25px;
}

    #actions a {
        display: inline-block;
    }

    #actions a + a {
        margin-left: 10px;
    }
    
h2.custom-action {
    margin-bottom: 25px;
}

/**
 * Dashboard
 */
#dashboard {
    position: relative;
}

    #dashboard .left-column {
        float: left; 
        width: 58%;
    }

        #dashboard h3{
            font-size: 1.8em;
        }
    
    #dashboard .right-column {
        float: left; 
        width: 40%; 
        margin-left: 25px;
    }
    
    #dashboard table.open_tickets tbody tr td:first-child a{
        text-decoration: none;
        font-weight: bold;
    }
    
/**
 * Revenue
 */
#revenue {
    position: relative;
}

    #revenue .left-column {
        float: left; 
        width: 50%;
    }

        #revenue h3{
            font-size: 1.8em;
        }
        
        #revenue .line-graphs-wrapper {
        }
            #revenue .line-graphs-wrapper h4 {
                font-size: 1.3em;
                font-weight: bold;
                color: #0077B2;
            }
            
            #revenue .line-graphs-wrapper canvas {
                margin-bottom: 25px;
            }
        
        #revenue .pie-chart-wrapper {
            position: relative;
            margin-bottom: 25px;
            clear: both;
            height: 500px;
            font-size: 1.3em;
        }
        
        #revenue .pie-chart{
            float: left;
        }
    
    #revenue .right-column {
        float: left; 
        width: 50%;
    }
    
/* Specific table properties */

td.menu {
  background-color: #49c4e7; 
  border: 1px solid #000000;
}

table.listing {
}

    table.listing a {
        color: black;
    }

    table.listing th {
      font-size: 1.3em;
      font-weight: bold;
      padding: 4px;  
      text-align: left;
      background-color: #037ebb; 
      border: 1px solid #ffffff;
      color: #ffffff;
      cursor: pointer;
    }

    table.listing td.table_heading {
      font-size: 2.2em;
      font-weight: bold;
      padding: 6px 10px 6px 10px;
      text-align: left;
      background-color: #026FA6; 
      color: #ffffff;  
    }

        table.listing td.table_heading a {
          color: white;
        }
        
        table.listing td.table_heading span.modify {
            font-size: 0.6em;
        }

    table.listing td.sub_heading {
      font-size: 1.8em;
      padding: 4px 70% 4px 2px;
      background-color: #0279b5;
      color: white;
      font-weight: bold;
      text-align: right;
      text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.9);
    }

    table.listing thead th {
      background-color: #037ebb;
      color: white;
      font-weight: bold;
    }

    table.listing tbody tr.odd {
      background-color: #d4d4d4;  
    }

    table.listing tbody tr.clicked {
      background-color: #fff87a;  
    }

    table.listing tr {
      background-color: #f1f1f1;
    }
        table.listing tr td span{
            color: black;
        }

    table.listing tr:hover, 
    table.listing tr.odd:hover, 
    table.listing tr.clicked:hover {
      background-color: #fffab0;  
    }

    table.listing td {
      padding: 5px;
      vertical-align: top;
    }

    table.listing td span.small, 
    span.small {
      font-size: 0.9em;
      font-weight: normal;
    }

    table.listing tr.odd td.value_name {
      background-color: #0477B0;
    }

    table.listing td.value_name {
      background-color: #037ebb;
      color: white;
      font-weight: bold;
      padding: 2px;
      text-align: right;
      padding-right: 10px;
      width: 30%;
    }

    table.listing td.value_name a {
        color: white;
    }

span.modify {
  float: right;
  color: white;
  padding: 4px 4px 0 0;
}

span.modify A {
  color: white;
}

.errors {
  font-family: Verdana; 
  font-size: 0.9em; 
  color: #FF0000;
}

/* Standard form template */
.standard_form {
  margin: 0;
  padding: 0;
  border: 1px solid #000000;   
  background-color: #f1f1f1;
  width: 70%;
}

.standard_form h2 {
  font-size: 2em;
  padding: 10px;  
  text-align: left;
  background-color: #037ebb; 
  border: 1px solid #ffffff;
  color: #ffffff;  
  margin-bottom: 0px;
}

    .standard_form h2 span.modify {
        font-size: 0.7em;
    }

.standard_form h3 {
  font-size: 16px;
  padding: 10px;
  background-color: #037ebb;
  color: white;
  border-bottom: 1px solid #666666;  
  font-weight: bold;  
  margin: 0;
}

.standard_form P {
  line-height: 12px;
  margin: 0;
  padding: 5px;
  font-size: 1.3em;
}

.standard_form P span {
  background-color: #037ebb;
  color: white;
  display: inline-block;
  font-weight: bold;
  font-size: 1em;
  margin-right: 2px;
  margin-left: -5px;
  padding: 5px 9px 5px 4px;
  width: 33%;
  text-align: right;
  height: 15px;
}

.standard_form P span.small {
  background: none; 
  font-size: 0.9em; 
  width: auto; 
  margin: 0; 
  padding: 0; 
  color: black; 
  font-weight: normal;
}

.form-title {
  width: 100% -3;
  height: 32px;
  background-color: #0181b2;
  font-size: 18px;
  margin-bottom: 0px;
  padding-left: 3px;
  margin-top: 0px;
  color: #ffffff;
  border: solid 1px #FFFFFF;    
}

.extratext {
  min-height: 18px;
  background-color: #f1f1f1;
  border: solid 1px #FFFFFF;  
}

.errormsg {
  color: #FF0000;
}

.field_and_label {
    clear: both;
    display: block;
    height: auto;
    margin: 0 0 4px;
    min-height: 26px;
    padding: 0;
    width: 100%;
    font-size: 1.3em;
}

span.error {
  background: none;
  margin: 0;
  padding: 0;
  position: inherit;
  float: none;
  display: block;
  width: 100%;
  min-height: 11px;
  height: 11px;
  font-size: 0.9em;
  color: #ff0000;
}

.standard_form P span.error {
  background: none; 
  color: red; 
  width: 60%;
  font-weight: normal;
}

.standard_form span.error {
  display: block;
  width: 100%;
  height: 14px;
  font-size: 0.9em;
  padding-left: 35%;
  color: #ff0000;
}

.standard_form span.extra_info {
  margin-bottom: -10px;
}

label {
    background-color: #037ebb;
    border-bottom: 1px solid #888888;
    color: #FFFFFF;
    float: left;
    font-weight: bold;
    height: 100%;
    padding-right: 10px;
    text-align: right;
    width: 33%;
    height: auto;
    min-height: 28px;
}

label span {
  line-height: 27px;
  margin: 0;
  padding: 0px 2px 2px 4px;   
}

.standard_form input {
    border: 1px solid #CCCCCC;
    float: left;
    height: 100%;
    padding: 0;
    height: 28px;
    width: 63%;
}

    .standard_form input span {
      line-height: 25px;
      margin: 0;
      padding: 0px 2px 2px 2px; 
    }
    
    .standard_form input[type="submit"]  {
        height: 35px;
        font-size: 1.5em;
        color: black;
        margin: 25px 25px 15px 25px;
    }
    
    .standard_form input[type="submit"][disabled] {
        color: #ccc;
    }

.standard_form textarea {
  width: 63%;
  border-bottom: 1px solid #888888;    
}

.standard_form select {
    border: 1px solid #CCCCCC;
    float: left;
    height: 100%;
    padding: 0;
    width: 63%;
    height: 28px;
}

.standard_form input[type="radio"] {
  width: 40px;
  float: none;
  height: 24px;
  border-bottom: 1px solid #888888; 
}

.standard_form span.radio_label {
  line-height: 29px;
  vertical-align: top;
}

input span {
  line-height: 25px;
  margin: 0;
  padding: 0px 2px 2px 2px; 
}

.standard_form textarea.conditions {
  width: 99%;
  height: 150px; 
  font-family: Courier;
  font-size: 0.9em;
}

/* jQuery datepicker */
a.dp-choose-date {
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 5px 3px 0;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background: url('../img/calendar.png') no-repeat; 
}
a.dp-choose-date.dp-disabled {
	background-position: 0 -20px;
	cursor: default;
}
/* makes the input field shorter once the date picker code
 * has run (to allow space for the calendar icon
 */
input.dp-applied {
	width: 140px;
	float: left;
}

input.submit {
  float: right;
  background-color: #d3d3d3;
  width: 25%;    
  color: #000000;
  margin-top: 3px;
}

input[disabled].submit {
	background-color: #ddd;
	color: #aaa;
}

.form-neutral {
  display: block;
  min-height: 18px;
  background-color: #f1f1f1;
  border: solid 1px #FFFFFF;  
}

.greenlink {
  color: #007700;
}

.redlink {
  color: #FF0000;
}

.bottom_of_form {  
  height: 26px;
}

/* Login form */
#login {
  margin-left: 2px;
}

#login.standard_form { 
  width: 35%;
  margin: 0 auto;
  margin-top: 35px;  
}

/* Client */
a.deduct-debtor-balance {
    float: right;
    font-size: 0.9em;
    text-decoration: none;
}

/* Client mail form */
.bubble {
    background-color: blue;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    display: inline-block;
    margin: 4px;
    padding: 4px 6px;
    text-decoration: none;
}

p.loading {
    background: url("../img/loading.gif") no-repeat scroll 0 7px transparent;
    border: medium none;
    display: block;
    height: 24px;
    margin: 0 0 0 271px;
    padding: 5px 0 0;
    width: 16px;
}

p.error {
    color: red;
    font-size: 1.1em;
    margin-top: 14px;
}

/* Client form */
#client_form .initials {
  width: 85px;
}

#client_form .name_prefix {
  width: 85px;
  float: none;
}

#client_form .name_prefix_label {
  font-size: 1em;
  font-weight: bold;
  margin-left: 10px;
  display: inline-table;
  width: 78px;   
  float: none;
  background: none;
  color: #000000;
  border: none; 
}

#client_form .house_number {
  width: 45px;
}

#client_form .house_number_suffix {
  width: 45px;
  float: none;
}

#client_form .house_number_suffix_label {
  font-size: 1em;
  font-weight: bold;
  margin-left: 10px;
  display: inline-table;
  width: 78px;   
  float: none;
  background: none;
  color: #000000;
  border: none; 
}

#client_form .zipcode_left {
  width: 55px;
}

#client_form .zipcode_right {
  margin-left: 5px;
  width: 35px;
  float:none;
}

/* Supplier form */
#supplier_form .house_number {
  width: 45px;
}

#supplier_form .house_number_suffix {
  width: 45px;
  float: none;
}

#supplier_form .house_number_suffix_label {
  font-size: 1em;
  font-weight: bold;
  margin-left: 10px;
  display: inline-table;
  width: 78px;   
  float: none;
  background: none;
  color: #000000;
  border: none; 
}

#supplier_form .zipcode_left {
  width: 55px;
}

#supplier_form .zipcode_right {
  margin-left: 5px;
  width: 35px;
  float:none;
}

/* Order form */
#order_form .order_price {
  width: 140px;
  margin-right: 40%;
}

#order_form .price_type {
  margin-left: 35%;
}

#order_form .tarif_discount_percentage_box {
  position: relative;
}

#order_form .tarif_discount_percentage {
  float:none;
  height:18px;
  margin-left:5px;
  position:absolute;
  top:-13px;
  width:46px;
}

/* Order cancellation */
#order_cancel_form P span.cancel_date {
  color: red;
  font-weight: bold;
  background: none;
}

/* Pending invoices */
#pending_invoices tr.in_a_week,
#pending_invoices  tr.in_a_week td {
    background-color: #B2B155 !important;
    border-bottom-color: #7b7a38;
}

#pending_invoices  tr.in_a_week.odd,
#pending_invoices  tr.in_a_week.odd td {
    background-color: #d2d19b !important;
    border-bottom-color: #7b7a38;
}

#pending_invoices tr.too_late,
#pending_invoices  tr.too_late td {
    background-color: #b25555 !important;
    border-bottom-color: #924242;
}

#pending_invoices  tr.too_late.odd,
#pending_invoices  tr.too_late.odd td {
    background-color: #bd6c6c !important;
    border-bottom-color: #924242;
}

/* Unsent invoices */
#unsent-invoices .sent-all-invoices-submit {
    display: inline;
    float: right;
}

/* Invoice form */
#client_label {
  font-size: 1.8em;
  line-height: 20px;
  margin-left: 3px;
}

#common_info {
  width: 70%;
  margin: 15px 0 15px 3px;
  font-size: 1.3em;
}

#common_info .box {
  width: 45%;
  margin-right: 5px;
  float: left; 
  position: relative;
}

#common_info .box span.value {
  position: absolute;
  left: 140px;
}

#common_info .box span.heading {
  font-weight: bold;
  margin-left: 0px;
}

#invoice_form .price {
  width: 140px;
  margin-right: 40%;
}

#total_prices_box {
  padding: 3px;
  width: 100%;
  position: relative;
  font-size: 16px;
  font-weight: bold;
}

#total_prices_box span.total_price {
  position: absolute;
  right: 33px;
}

/* Add Bookkeeping note form */
#bookkeeping_note_form input.booking_price {
  width: 150px;
}

#bookkeeping_note_form .balanced {
  color: green;
  font-size: 18px;
}

#bookkeeping_note_form .unbalanced {
  color: red;
  font-size: 18px;
}

#bookkeeping_note_form #bookings P {
  padding-top: 0; 
  padding-bottom: 0px;
}

#bookkeeping_note_form #bookings P span {
  background: none;
  color: black;
  font-weight: normal;
  margin: 0;
  padding: 0;
  width: auto;
}

#bookkeeping_note_form #bookings span.value_name, span.value_name {
  background-color: #037ebb;
  color: white;
  display: inline-block;
  font-weight: bold;
  margin: 0 2px 0 -3px;
  padding: 5px 0 5px 4px;
  width: 35%;
}

#bookkeeping_note_form .description, .description {
  display: block;
  width: 100%;
  min-height: 40px;
  margin: 0px;
  padding: 0;
}

#bookkeeping_note_form #bookings .text, .text {
  width: 63%;
  float: left;
  height: 24px;
  border-bottom: 1px solid #888888;  
  height: 28px;
  border: none;
}

/* Invoice form history */
#invoice-form-history {
  
}

  #invoice-form-history ul {
    list-style: none;
  }
  
    #invoice-form-history ul li {
      margin-bottom: 0px;
    }
  
      #invoice-form-history ul li.invoice-number a {
        font-size: 1.3em;
        font-weight: bold;
      }
      
      #invoice-form-history ul li.total-amount {
        font-weight: bold;
        border-bottom: solid 1px #bbb;
        margin-left: 0px;
        padding-left: 13px;
        margin-bottom: 5px;
      }
    
    #invoice-form-history ul > ul {
      margin-left: 10px; 
    }
      
      #invoice-form-history ul > ul span.product-name {
        font-weight: bold;
        font-size: 0.95em;
      }
      
      #invoice-form-history ul > ul span.amount {
        font-family: Courier;
        margin-left: 5px;
      }
      
      #invoice-form-history ul > ul li small {
        font-size: 0.8em;
        font-weight: bold;
        margin-left: 11px;
      }

/* Tabs */
.dynamic-tab {
    display: none;
}


/* Misc */
 
.clearfix {
  clear: both;
}
 
input.input_price {
  width: 150px;
}
 
.flash.success {
  text-align: center;
}

.flash.success p {
  margin: 5px auto;
  padding: 5px;
  width: 800px;
  background: #00ff00;
  font-weight: bold;
  text-align: center;
  color: black;
}

.message_box {
  text-align: left;
  border: solid 1px #000000;
  margin: 0 auto;
  margin-top: 30px;
  width: 610px;
}

.message_box.error h2 {
  font-size: 2em;
  padding: 15px;
  background: #ff2727;
  font-weight: bold;
  text-align: center;
  color: white;
}

.message_box p {
  padding: 15px;
}

.message_box p.link {
  text-align: right;
  padding-right: 25px;
}

.message_box.informational h2 {
  font-size: 2em;
  padding: 15px;
  background: #0181b2;
  font-weight: bold;
  text-align: center;
  color: white;
}
 
/* Pagination */
#pagination {
  text-align: right;
  position: relative;
  height: 29px;
  width: 100%;
  clear: both;
}

#pagination ul {
  padding-left: 0px;
  float: left;
}

#pagination li{
  display: inline;
}

  #pagination li:first-child {
    margin-left: 0;
  }

#pagination li a {  
  background-color: #999;   
  margin-left:0.1em;
  margin-right:0.1em;
  padding:0.2em 0.5em;
  border: solid 1px #ccc;
  color: white;
}

#pagination li.current a {
  background-color: #037ebb;
}

#pagination li a:hover {
  background-color: #0155b2;
}

/* Bookings listing */
#bookings .subtotal {
  font-weight: bold;
  text-align: center;
}

#bookings .total {
  font-weight: bold;
  font-size: 20px;
  text-align: center;  
}

#bookings TR.shadow {
  background-color: black;
  color: white;
} 

#bookings .shadow TD A {
  color: white;
}

#bookings .link_img {
  height: 16px;
  width: 16px;
  border: none;
  padding-top: 3px;
}

/**
 * Tickets
 */
.ticket_message {
    font-size: 1em;
    margin-bottom: 25px;
    width: 70%;
}

    .ticket_message h3{
        font-size: 1.8em;
    }
    
    .ticket_message p.author-post-time {
        margin-bottom: 0;
    }
    
    .ticket_message .special {
        padding-top: 10px;
    }
    
table.display tr.open {
    background-color: #DBFAB1 !important;
}

/**
 * Batch form
 */
#batch_form blockquote {
    padding: 25px 50px 25px 50px;
    font-size: 1.2em;
}

/* Data tables */
.display {
   width: 100%;
   margin: 0;
}

.display th {
    text-align: left;
}

.display tr.inactive td {
    background-color: #FFBBBB !important;
}

/* To Do's */
#todos tr td span {
    display: block !important;
}

/* User logs */
table.user-logs tr.week {
    background-color: #777 !important; 
    color: white; 
    font-weight: bold;
}

    table.user-logs tr.week td span
        {
        color: white !important; 
        font-weight: bold !important;
    }
    
/* Projects */
#team-members-phase-form .start_time_left,
#team-members-phase-form .end_time_right {
  width: 75px;
}

#team-members-phase-form .end_time_right {
  margin-left: 5px;
  float:none;
}

table.user-projectphases td.table_heading {
    line-height: 1.3em;
}

table.user-projectphases td.table_heading em {
  font-size: 0.7em !important;
  font-weight: normal !important;
}

table.user-projectphases tfoot td {
  background-color: #878484;
  color: white;
  font-weight: bold;
}

/* Stats */
.stats-wrapper {
  margin-bottom: 0;
  margin-top: 30px;
  position: relative;
}

.stat {
  min-height: 20px;
  padding: 19px;
  width: 23%;
  float: left;
  margin-right: 2%;
  margin-bottom: 10px;
}

  .stat h3 {
    font-size: 1.7em;
  }
  
  .stat span {
    font-size: 2.2em;
    font-weight: bold;
  }
  
    .stat span.help {
      font-size: 1em;
      color: #999;
      font-weight: normal;
      display: block;
    }
    
    .stat span > span {
      font-size: 1em; 
    }

.stat-blue {
  background-color: #d5e9fa;
}

.stat-light-blue {
  background-color: #eff8ff;
}

/**
 * Important notice
 */
#important-notice-bar {
  height: 20px;
  font-size: 1.2em;
  padding: 10px;
  background-color: #FFF5B6;
  border-bottom: solid 1px #FF99B6;
}

  #important-notice-bar span {
    padding: 1px 4px;
    color: #d14;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
  }
