/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
   
   
#visit_notes_field_box
{
    display:block;
}

#visit_notes_input_box div.visit_notes div>label
{
    width:auto;
    
}
#visit_notes_input_box div.visit_notes div
{
    display:inline-block;
    vertical-align: top;
    width:75%;
}

#visit_notes_input_box div.visit_notes div.div_input input
{
	width:99%;
}

#visit_notes_input_box div.visit_notes .div_label
{
    width:195px;
}
#visit_notes_display_as_box, #visit_notes_input_box
{
    display:block;
    width:100%;
}

.table td>a
{
    white-space:nowrap;
}   
   
.ui-dialog.ui-widget 
{
    position: relative;
    z-index:10000;
}

table td span.money
{
	display:block;
	text-align:right;
} 

textarea.form-control    
{
	white-space: pre-wrap;
}
   
.usedAuth
{
	color:red;
}

.availAuth
{
	color:green;
}

.oldAuth
{
	color:blue;
}

.fewAuth
{
	color:orange;
}

.crud-form .input-append .add-on
{
	height:22px;
}

table input.search
{
    border:1px solid gray;
    padding-top:2px;padding-bottom:2px;border-right:0px;line-height:22px;white-space:nowrap;border-top-right-radius:0px;border-bottom-right-radius:0px;width:28px;
}

button.clear_button
{
    border:1px solid gray;
    border-left:0px;line-height:20px;white-space:nowrap;border-top-right-radius:5px;border-bottom-right-radius:5px;width:26px;
}

button.search_button, button.clear_all_search
{
    border:1px solid gray;
    line-height:20px;border-radius:5px;width:50px;
    margin-left:5px;
    font-size:10px;
    white-space:nowrap;
}

.auth_group label, .auth_group select, .auth_group input
{
	display: inline-block;
	max-width: 100%;
	margin-bottom: 5px;
	font-weight: 700;
}
   
#crudForm #report-success
{
    top:32px;
}

.row  a.resources
{
	width:250px;
	display:inline-block;
	height:230px;
}  


.row a.resources img:hover
{
    max-width: 91%;
    width:91%;
    opacity:1;
}

.row a.resources img
{
    max-width: 90%;
    height: auto;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    display: block;
    opacity:0.9;
}

@media (min-width: 1200px)
{
    .row  a.resources
    {
        float:left;
        width:23%;
    }
}

@media (min-width: 640px) and (max-width:1200px)
{
    .row  a.resources
    {
        float:left;
        width:45%;
    }
}
@media (max-width: 640px)
{
    .row  a.resources
    {
        float:left;
        width:90%;
    }
}

#report-success
{
    clear: both;
    display: block;
    position: fixed;
    top: 0;
    z-index: 5000;
    width: 90%;
    left: 0;
    background-color: green;
    color: white;
    margin-left: 5%;
}
@media (min-width: 1200px)
{
    .form-field-box
    {
        clear:both;
        display: grid;
        grid-template-columns: 200px auto 0px;
    }
}

@media (max-width: 640px)
{
    .flexigrid form div.form-div input[type="text"], .flexigrid form div.form-div input[type="password"] 
    {
        width: 100%;
    }
}

table td .btn ,table td input 
{
	margin-left:2px;
	margin-right:2px;
}

div.radio {
  width: 18px;
  height: 22px;
  display:inline-block;
  vertical-align:middle;
  position:relative;
}

div.radio input {
  /*opacity: 0;
  filter: alpha(opacity=0);
  -moz-opacity: 0;*/
  text-align: center;
  display: inline-block;
  background: none;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

.flexigrid div.form-div input[type="text"]
{
    height:16px;
}

.crud-form .form-div .form-control.datepicker-input, .crud-form .form-div .form-control.datetimepicker-input, .crud-form .form-div .readonly_label
{
    font-size:14px;
    min-width:150px;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

.table-bordered td:first-child
{
    white-space:nowrap;
}

#trackingTable th.sort i.fa,
#claimTable th.sort i.fa, #CrackingTable th a.sort i.fa,
#ClaimTable th a.sort i.fa

{
    float:right;
}

#TrackingTable th a.sort,
#ClaimTable th a.sort
{
    display:block;
    width:100%;
}

span.older_3yr
{
    white-space:nowrap;
}

#trackingTable th,
#claimTable th
{
    max-width:80px;
}

#trackingTable th input,
#claimTable th input
{
    max-width:60px;
}

#trackingTable th:nth-child(2),
#claimTable th:nth-child(2)
{
    max-width:80px;
}

#trackingTable th:nth-child(3), #claimTable th:nth-child(4),
#claimTable th:nth-child(3), #claimTable th:nth-child(4)
{
    max-width:100px;
}


#exportTrackings #processed_counter
{
    margin-left:10px;
}

#trackingTable th:nth-child(3) input, #claimTable th:nth-child(4) input,
#claimTable th:nth-child(3) input, #claimTable th:nth-child(4) input
{
    max-width:80px;
}

#trackingTable th.sort:hover
{

    background-color:#EEEEEE;

}

a.btn-default
{
    white-space:nowrap;
}

#patient_search input.main_patient_search
{
    line-height: 2.5em;
    height: 2.5em;
    display: inline;
    vertical-align: middle;
    margin-bottom: 0px;
}

#patient_search input[type="submit"]
{
    line-height: 2.0em;
    display: inline;
    vertical-align: middle;
    margin-bottom: 0px;
}

#claimTable th.sort:hover
{
    background-color:#EEEEEE;
}
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */
 
.diffcalc
{
	cursor: pointer;
} 

#field-service_auth1,#field-service_auth2,#field-service_auth3,#field-service_auth4,#field-auth1_service_category_id,#field-auth2_service_category_id,#field-auth3_service_category_id,#field-auth4_service_category_id
{
    display:inline-block;
    width:30%;
    margin-right:10px;
}

#auth1_service_category_id,#auth2_service_category_id,#auth3_service_category_id,#auth4_service_category_id
{
    display:inline-block;
    width:20%;
    
}

#field_auth1_service_category_id_chosen, #field_auth2_service_category_id_chosen, #field_auth3_service_category_id_chosen, #field_auth4_service_category_id_chosen
{
    margin-right:10px;
}

#field-service_auth1
{
    width:30%;
}


div.form-group.service_auth1_form_group,
div.form-group.service_auth2_form_group,
div.form-group.service_auth3_form_group,
div.form-group.service_auth4_form_group
{
/*	display:inline-block;
	width:40%;*/
} 

div.form-group.service_auth1_form_group div.col-sm-9,
div.form-group.service_auth2_form_group div.col-sm-9,
div.form-group.service_auth3_form_group div.col-sm-9,
div.form-group.service_auth4_form_group div.col-sm-9
{
/*	width:60%;*/
} 


div.form-group.auth1_service_category_id_form_group,
div.form-group.auth2_service_category_id_form_group,
div.form-group.auth3_service_category_id_form_group,
div.form-group.auth4_service_category_id_form_group
{
/*	display:inline-block;
	width:40%;*/
} 

div.form-group.auth1_service_direct_form_group,
div.form-group.auth2_service_direct_form_group,
div.form-group.auth3_service_direct_form_group,
div.form-group.auth4_service_direct_form_group
{
	/*display:inline-block;
	width:20%;*/
} 

/*
div.form-group.auth1_service_direct_form_group .control-label, 
div.form-group.auth2_service_direct_form_group .control-label,
div.form-group.auth3_service_direct_form_group .control-label,
div.form-group.auth4_service_direct_form_group .control-label
{
	display:none;
}

div.form-group.auth1_service_category_id_form_group .control-label, 
div.form-group.auth2_service_category_id_form_group .control-label,
div.form-group.auth3_service_category_id_form_group .control-label,
div.form-group.auth4_service_category_id_form_group .control-label
{
	display:none;
}
*/

.diffcalc > span
{
	display:none;
}

.diffcalc:hover > span
{
	display:block;
	font-size:20px;
	position:fixed;
	top:0px;
	left:45%;
	z-index:2000;
	background-color:rgb(34, 136, 255);
	color:white;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	padding-left:10px;
	padding-right:10px;
	padding-top:5px;
	padding-bottom:10px;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

.hover_visible i
{
	display:none;
}

.hover_visible:hover i
{
	display:inline;
}


/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}


/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

div#infoMessage p { color:#ff0000; padding-left: 30px; padding-right: 30px; margin-top:20px;}
.required { color:#C43B1D; font-weight:400; }

div.required { text-align:right; }

div.user_message
{
   padding: 10px;
   border-style: solid;
   border-width: 2px;
   /*margin-bottom: 10px;
   margin-top: 10px;*/
   font-family: Arial,Helvetica,sans-serif;
   font-weight: bold;
   width: 95%;
   min-width: 50px;
   margin-left: 0px;
   border-top-left-radius:0px;
   border-top-right-radius:0px;
   border-bottom-left-radius:10px;
   border-bottom-right-radius:10px;
   display:inline-block;
   
}
.user_message.critical 
{
   border-color: #F00;
   background-color:rgba(255,0,0,0.7);
}

.user_message.critical p 
{
   background: transparent url("../images/critical.png") no-repeat scroll left center;
   margin: 0px !important;
   padding: 10px 0px 10px 18px !important;
   color: #FFF;
   text-align: left;
}

.user_message.remind 
{
   border-color: #FF0;
   background-color:rgba(150,150,0,0.7);
}

.user_message.remind p 
{
   background: transparent url("../images/remind.png") no-repeat scroll left center;
   margin: 0px !important;
   padding: 10px 0px 10px 18px !important;
   color: #FFF;
   text-align: left;
}

.user_message.info 
{
   border-color: #0F0;
   background-color:rgba(0,255,0,0.7);
}

.user_message.info p 
{
   background: transparent url("../images/info.png") no-repeat scroll left center;
   margin: 0px !important;
   padding: 10px 0px 10px 18px !important;
   color: #FFF;
   text-align: left;
}

.close.dismiss_critical
{
   background: transparent url("../images/dismiss.png") no-repeat scroll left center;
}

.close.dismiss_remind
{
   background: transparent url("../images/dismiss.png") no-repeat scroll left center;
}

.close.dismiss_info
{
   background: transparent url("../images/dismiss.png") no-repeat scroll left center;
}

div.user_message button
{
   width: 16px;
   height: 16px;
   opacity:0.8;
   margin-left:8px;
}

div.user_message button:hover
{
   opacity: 1.0;
}

#claims_status_revert_container .fa.fa-refresh
{
  vertical-align: middle;
  line-height: 10px;
  font-size: 18px;
  color:red;
}

#update_history_button
{
  vertical-align: top;
  background-color: transparent;
  border: 0px solid aliceblue;
  display:none;
}

#update_history_button.active
{
  display:inline;
}

div.user_message_container
{
	display: block;
	text-align: center;
   position: fixed;
   z-index: 1050;
   width: 100%;
   top:0px;
}

div.user_message.remind
{
   border-color: #1A6BB0;
   background-color: rgba(21, 97, 153, 0.7);
}

div.user_message.info
{
   border-color: #057D05;
   background-color: rgba(6, 147, 12, 0.7);
}

#user_id_creator_field_box
{
	display:none;
}
div.required { text-align:right; }

div.readonly_label
{
   border-radius: 5px;
   background-color:#EEEEEE;
   line-height: 1.8em;
   text-indent: 5px;
   padding-right:10px;   
}

#crudForm label.control-label
{
   width: 150px;
   text-align: left;
}

#crudForm input.form-control
{
   height: 2.2em;
}

#crudForm #service_start_time,#crudForm #service_end_time
{
   height:2.2em;
}

#crudForm span.add-on,.bootstrap-timepicker-hour,.bootstrap-timepicker-minute,.bootstrap-timepicker-second
{
   height:2.2em;
}

#crudForm #field-service_date,#crudForm #field-payment_date, #crudForm #field-start_date, 
#crudForm #field-end_date, #crudForm #field-provider_id_div, #crudForm #field-date
{
   width:300px;
   height:2em;
}

#crudForm #field-category
{
   width:400px;
   height:2em;
}


.container 
{
    width: 100% !important;
    padding-left: 10px;
    font-size: 12px;
}

.btn
{
    font-size: 12px;
}

#update_service_id_table td, #field-details td, #field-details th
{
   padding-left: 5px;
   padding-right: 5px;
}

#field-details tr
{
   border: 1px solid gray;
}


#field-details td:not(:first-child), #field-details th:not(:first-child)
{
   border-left:1px solid gray;
}

body.modal-open .modal-backdrop.fade
{
   display:block;
}

body .modal-backdrop.fade
{
   display:none;
}

div.modal-dialog
{
   width:auto;
}

div.item_container
{
     background:#DDD;
     padding-left:20px;
     border-bottom-left-radius:10px;
     border-bottom-right-radius:10px;
}

div.item_label_container
{
    border:1px solid #DDD;
    
}

div.item_label_container label
{
    margin-bottom:0px;
    display: inline;
    font-weight: bold;
}

#collection_container
{
    margin-top:50px;
}

#collection_container #collection_title
{
    font-weight:bold;
}

#collection_container .form-field-box
{
    background-color:#DDD;
}

div.item_label_container a.action
{
    background: rgb(221, 221, 221) none repeat scroll 0% 0%;
    padding-right: 10px;
    padding-left: 15px;
    border-top-left-radius: 5px;
    display: block;
    margin-bottom: 0px;
   /* line-height: 20px;*/
    width:40px;
    border-left:1px solid #888;
    border-top:1px solid #888;
    border-right:1px solid #888;
}


tr.filter-row a.btn.btn-default.gc-refresh
{
   display:block;
}

a.datepicker-input-clear
{
   cursor: pointer;
}

#crudForm
{
   position:relative;
   z-index:1029;
}


div.form-group
{
   margin-bottom:5px;
}

div.currency,
.table td.currency
{
   width:80px;
   text-align:right;
}

td.total
{
   text-align:right;
}

.table th.currency_head
{
   width:80px;
   text-align:center;
}

div.bootstrap-timepicker-widget
{
   z-index:3000;
}

#report-error
{
    margin-left: auto;margin-right: auto;
    width: 80%;
    text-align: center;
    padding-bottom:10px;
    padding-top: 40px;
    position: fixed;top: 0px;
    z-index: 1200;
    background-color: rgb(34, 136, 255);
    left: 10%;
    color: white;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    font-size:16px;
}

.flashMsg.flashInfo, .flashMsg.flashWarning, .flashMsg.flashError
{
    margin-left: auto;margin-right: auto;width: 70%;
    text-align: center;
    padding-bottom:10px;
    position: fixed;top: 0px;
    z-index: 1200;
    left: 15%;
    color: white;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.flashMsg.flashInfo
{
    background-color: rgb(34, 200, 34);
}

.flashMsg.flashWarning
{
    background-color: rgb(34, 136, 255);
}

.flashMsg.flashError
{
    background-color: rgb(255, 100, 100);
}


#report-error p
{
    background: none;
}

div.row_div
{
   white-space:nowrap;
   padding-left:10px;
}

div.row_div label
{
   width:100px;
   display:inline-block;
}

div.row_div.total
{
   border-top:2px solid black;
   background-color:lightblue;
}

div#payment_summary
{
   width:230px;
}

td.highlighted
{
   color:blue;
}

div.error_message_header
{
   margin-top:2px;
   background-color:rgb(64, 180, 255); 
   border: 2px solid rgb(64, 180, 255);
   border-radius:4px;
}

div.error_message_header:hover
{
   border: 2px solid #DDDDDD;
   cursor:pointer;
}

div.error_message_body
{
   margin-left: auto;
   margin-right: auto;
   display: inline-block;
   border-bottom-left-radius:10px;
   border-bottom-right-radius:10px;
   border-left:1px solid rgb(64, 180, 255); 
   border-right:1px solid rgb(64, 180, 255); 
   border-bottom:1px solid rgb(64, 180, 255); 
   margin-bottom:5px;
   padding-left:5px;
   padding-right:5px;
   padding-bottom:5px;
}

a.error_collapse_button
{  
   padding-left:4px;
   padding-top:3px;
   display:block;
   text-decoration:none;
}

div.input-readonly
{
   display:inline-block;
}

.red_for_deduct
{
   color:red;
}


#admin_switch_form
{
   position:fixed;
   top:0px;
   right:0px;
   opacity:0.6;
   z-index:1000;
}

#claims_status_revert_button
{
    height: 1.5em;
    line-height: 1.5em;
    padding-top: 0px;
    padding-bottom: 0px;
}

div#claims_status_revert_container
{
   margin-left:10px;
}

.automatic_generate
{
   min-width: 200px;
   display: inline-block;
   margin-right:20px;
   border:1px solid #DDDDDD;
   border-radius:5px;
   padding:5px 5px 5px 5px;
   vertical-align:top;
}

.automatic_generate a
{
   text-align:left;
}

div.col-sm-9
{
   line-height:2em;
   vertical-align:middle;
}

#processed_counter_container
{
   margin-top:10px;
}

#worked_hours_container
{
   margin-left:5px;
   margin-right:5px;
}

#worked_hours th div
{
   text-align: center;
}

form.upload label, form.upload input, form.upload select, form.upload textarea
{
   display:inline-block;
   margin-bottom:10px;
}

form.upload label
{
   width:100px;
}

div.mce-tinymce, p.help-inline, #character_count_outcome, #character_count_treatment, #character_count_progress
{
   margin-left:30px;
}


@media (min-width: 738px)
{
    .navbar ul.nav.pull-right
    {
        margin-right:55px;
    }
}
.report-generator-field {
    width:95%;
}
textarea.report-generator-field {
    width: auto;
}
.header-row {
    height: 50px;
    vertical-align: bottom !important;
    font-size: 25px;
    background-color: aliceblue;
}
.report-generator-table td {
    vertical-align: middle;
}
.report-generator-field.multi-field {
    width:90%;
}
