﻿body {
    padding-top: 50px;
    padding-bottom: 0px;
    font-family: Calibri;
    /*padding: 40px 40px 0;*/
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}


.edit-link {
    background-color: orange;
    text-decoration: none;
    color: white !important;
    padding: 5px 20px;
}

.details-link {
    background-color: green;
    text-decoration: none;
    color: white !important;
    padding: 5px 20px;
}

.delete-link {
    background-color: red;
    text-decoration: none;
    color: white !important;
    padding: 5px 20px;
    cursor:pointer;
}

.table {
    max-width: initial;
}

.container {
    width: 100% !important;
}

.logo {
    width: 49%;
    background-color: white;
}

.logo-container {
    display: inline-block;
}

.body-content {
    padding-top: 5%;
}

.custom-container {
    padding-left: 0 !important;
}


.navbar-inverse .navbar-nav > li > a {
    color: white !important;
    font-size: 18px;
    font-weight: 100;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 10px;
}

    .navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
        text-decoration: underline;
    }


.custom-nav {
    padding-top: 20px;
    margin-left: -10%;
}
.min-height{
   min-height:500px;
}

footer {
    /*position: fixed;*/
    padding-top:10px;
    bottom: 0;
    width: 100%;
}

.ui-datepicker-trigger {
    border: none;
    background: none;
}

.f-grid {
    float:left;
}
.s-grid {
    float:right;
}
.data-grid dt, .data-grid dd {
    line-height:30px;
}

input[readonly] {
    background-color: #ECECE5;
    border: 0;
    font-size: 1em;
    text-align:center;
}

.validation-summary-errors{
    color:red;
}

.my-panel {
    border-color: #36406b;
}

    .my-panel > .panel-heading {
        background-color: #36406b;
        border-color: #36406b;
    }

.my-button {
    background-color: #36406b;
    border-color: #36406b;
}

.custom-nav-bar {
    background-color: #36406b;
}

.custom-navbar-inverse {
    background-color: #36406b;
}

.set-custom-min-width {
    min-width:115px !important;
}

.set-custom-max-width {
    max-width:90px;
}

input[readonly] {
color:black;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
color:black !important;
}
.form-control {
    color:black;
}

th, .custom-text-center {
    text-align: center !important;
}

.custom-btn a {
    text-decoration:none;
    color:white;
}

td,input,select {
    font-size:15px !important;
}

th {
    font-size:17px;
}

a,.btn {
    font-size:16px !important;
}
a:hover{
    text-decoration:none;
}
.btn-sm {
    padding: 5px 10px !important;
    line-height: 1.5 !important;
    margin-top:5px;
}
.btn-primary:hover {
    background-color: #337ab7 !important;
    text-decoration: none;
}
.b-all {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
}
/*** Surgery routing form styles  ***/
.routing-form .form-inline .form-control {
    background-color: #fff !important;
    border: none;
    border-bottom: 1px solid #ccc;
    min-width: 23%;
    box-shadow: none;
    height: 25px;
    margin-right: 8px;
}

.page-2 select.form-control{
    height:30px !important;
}

.routing-form .form-group {
    margin-bottom: 15px;
    padding-right: 0;
}

.routing-form input[readonly] {
    text-align: left;
}

.routing-form label {
    /*text-align: right;*/
}

.routing-form-div .routing-form table .checkbox-inline {
    font-size: 13px;
}

.routing-form .radio-in {
    margin-right: 27px;
}

.routing-form form {
    padding: 0 20px;
}

.routing-form .max-width {
    min-width: 50% !important;
}

.routing-form .max-width2 {
    min-width: 85% !important;
}

.routing-form .sm-width {
    min-width: 40% !important;
}

.routing-form hr {
    margin-top: 5px;
    margin-bottom: 10px;
    border-top: 1px solid #DDD;
}

.routing-form table td {
    width: 150px;
}

.routing-form .padd-0 {
    padding: 0;
}

.routing-form .pr-5 {
    padding-right: 5px;
}

.box-shadow {
    box-shadow: 0px 0px 20px -1px rgba(0,0,0,0.3);
}

.font-12{
    font-size: 12px;
}

.text-width {
    min-width: 110px;
    display: inline-block;    
}
/*** Surgery routing form styles ends  ***/
@media (max-width:1024px) {
    .routing-form-div .col-lg-9.col-lg-offset-2.col-md-12 {
        margin-left: 0 !important;
    }

    .routing-form form {
        padding: 0 !important;
    }
    .address-print-width{
        width:83% !important
    }
}

@media screen and (min-width:768px) and (max-width:991px) {
    .routing-form-div .col-lg-9.col-lg-offset-2.col-md-12 {
        margin-left: 0 !important;
    }

    .routing-form form {
        padding: 0 !important;
    }
}
@media screen and (min-width:768px){
    .print-widtth {
        width: 15% !important;
        min-width:20px !important;
    }
}

@media screen and (min-width:320px) and (max-width:480px) {
    .b-all {
        clear: both;
        display: inline-table;
    }

    .routing-form .img-responsive {
        width: 150px;
        float: left;
    }

    .routing-form .form-inline .form-control {
        display: initial;
        min-width: 21% !important;
    }

    .max-width {
        min-width: 44% !important;
    }

    .routing-form input {
        max-width: 140px;
    }

    .p-max-width {
        max-width: 41% !important;
    }

    .p-s-width {
        max-width: 25% !important;
    }

    .sm-width {
        max-width: 38% !important;
    }

    .s-payment-width {
        min-width: 15% !important;
        max-width: 126px;
    }

    .routing-form .form-group {
        margin-bottom: 8px;
    }

    .routing-form h4, .routing-form table tr td label {
        font-size: 14px;
    }
    .print-widtth {
        width: 15% !important;
        min-width: 20px !important;
    }
}

@media print {
    
    body {
        min-width: initial;
    }
    .print-widtth {
        width: 15% !important;
        min-width: 20px !important;
        margin-right:-5px !important;
   }

    .search-pa, .buttons, footer {
        display: none;
    }

    .routing-form {
        clear: both;
        display: inline-table;
    }

    body, .container {
        width: 100%;
        padding: 0;
    }

    .routing-form .form-group, form.form-inline {
        width: 100%;
    }    

    .routing-form .form-inline .form-control {
        display: initial;
        min-width: 21% !important;
    }
    .routing-form-div .routing-form{
        padding-top:5px;
    }
    
     .routing-form-div .routing-form table .checkbox-inline {
            font-size: 10.8px;
        }
        .routing-form-div .routing-form table > tbody > tr > td {
            padding: 3px 5px 5px;
        }
        [class*="col-"] {
            padding: 0;
            width: 100%;
        }

    .img-responsive {
        width: 130px;
        float: left;
    }

    form {
        padding: 0 15px !important;
    }

    .p-padd-0 {
        padding: 0 20px 0 10px !important;
    }

    form.form-inline {
        display: block;
        width: 100%;
    }

    .col-lg-offset-2 {
        margin-left: 0 !important;
    }

    .max-width {
        min-width: 44% !important;
    }

    .routing-form input {
        max-width: 144px;
    }

    .p-max-width {
        max-width: 42% !important;
    }

    .p-s-width {
        max-width: 25% !important;
    }

    .sm-width {
        max-width: 38% !important;
    }

    .s-payment-width {
        min-width: 15% !important;
        max-width: 126px;
    }

    .routing-form .form-group {
        margin-bottom: 6px !important;
    }

    .routing-form h4 {
        font-size: 14px;
    }

    .routing-form table tr td label {
        font-size: 10px;
        font-weight: bold;
    }

    .body-content {
        margin-top: -4%;
    }

    @page {
        size: A4;
       margin: .5in .5in .5in .5in;
        border: transparent;
        orphans: 3;
        widows: 2;
        /*height:500px !important;*/
    }

    .routing-form form {
        padding: 0 15px !important;
    }

    .h-p {
        padding: 0 40px;
    }

        .h-p .b-all {
            border: transparent;
        }

    .pull-left, .left {       
        display: inline-block;
        vertical-align: top;
    }

    .pull-right, .right {       
        display: inline-block;
        vertical-align: top;
    }
    .page-1 {
        /* padding-top: 0%; */
         height: 1020px !important; 
        /* page-break-before: always; */
        overflow:hidden;
    }
    .page-2 {
        /*padding-bottom:16%;*/
        /* page-break-before: always; */
         height:1000px !important; 
        overflow: hidden;
    }
    .page-3 {
        /*padding-bottom: 9%;*/
        /* page-break-before: always; */
         height: 1050px !important; 
        overflow: hidden;
    }
    .page-4 {
        /*padding-bottom: 12%;*/
        /* page-break-before: always; */
         height: 1000px !important; 
        overflow: hidden;
    }
    .page-5 {
        /*padding-bottom: 49%;*/
      /*   page-break-before: always;*/
        height: 1050px !important; 
        overflow: hidden;
    }
    .page-6 {
        /*padding-bottom: 40%;*/
       /*  page-break-before: always;*/
        height: 1010px !important; 
        overflow: hidden;
    }
    .page-7 table tr th{
        font-size:11px ;
    }    
    .h-p .col-lg-9.col-lg-offset-1{
        margin-left:0 !important;
    }
    .fixed, .printbutton {
        display: none;
    }
    .routing-form .page-1 .form-control{
        text-align:left;
    }
    /*.row.h-p {
        margin-right: 0;
        margin-left: 0;
    }*/
    #selectedValue{
        display:none;
    }
    textarea {
        width: 100% !important;
        min-width: 100% !important;
        max-width:100%;
        resize: none !important;
        height: auto !important;
        padding-left:0 !important;
        margin-left:0 !important;
    }
    ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
        color: transparent !important;
    }

    ::-moz-placeholder { /* Firefox 19+ */
        color: transparent !important;
    }

    :-ms-input-placeholder { /* IE 10+ */
        color: transparent !important;
    }

    :-moz-placeholder { /* Firefox 18- */
        color: transparent !important;
    }
    .b-all.routing-form{
        border:none;
    }
    .page-3 .print-width {
        min-width: 250px !important;
        max-width: 80% !important;
        width: 80% !important;
        display: inline-block !important;
    }
    .page-3 .address-print-width {
        min-width: 81% !important;
        max-width: 81% !important;
        width: 82% !important;
    }
    .page-3  .p-width {
        min-width: 25%
    }
    .page-7 .m-width-control {
        min-width: 80px !important;
        max-width: 80px !important;
        width: 100% !important;
    }
    #Diagnosis {
        max-width: 50% !important;
        min-width: 50% !important;
    }
.print-right{float:right;width:48%;}
	.print-left{float:left;width:48%;}
.routing-form .page-1 .print-left .table-bordered > tbody > tr > td, .routing-form .page-1 print-right .table-bordered > tbody > tr > td{padding: 6px 8px !important;}
.routing-form .page-1 .form-control{height: 10px !important;line-height: 5px !important;padding:0 !important;}
}


/** Additional styles ***/
.bg-light-gray {
    background: #f2f2f2;
}

.dropdown {
    display: none;
    background: #fff;
    border-radius: 5px;
    position: absolute;
    box-shadow: 1px 2px 4px 2px rgba(0,0,0,0.5);
    min-width: 155px;
    margin-left: 15px;
    padding-left: 25px;
    /*list-style: none;*/
}

.dropdown :before {
    content: "";
    border-bottom: 10px solid #fff;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    position: absolute;
    top: -10px;
    right: 16px;
    z-index: 10;
}

.dropdown li {
    border-bottom: 2px solid #f1f1f1;
    padding: 6px 20px 0px 0;
}

.dropdown li:last-child {
    border-bottom: transparent;
    padding-bottom: 5px;
}

li:hover ul.dropdown {
    display: block;
}
.float-left {
    float: left;
}

.float-right {
    float: right;
}
.h-p ol, .h-p ul {
    margin-left:-23px;
}
p.MsoNormal{
    margin:0;
}
.page-7 .table > tbody > tr > td{
    padding:0 3px;
}
.routing-form .page-1 .form-control {
    border-bottom: transparent;
    margin-right: 0px;
    padding: 3px 0px;
    text-align: left;
    /*min-width:100%;*/
}
.fixed {
    position: fixed;
    bottom: 10%;
    left: 46%;
}
.languages {
    max-height: 250px;
    position: absolute;
    width:90%;
    /*left:60px;*/
    z-index: 10000;
    background: #fff;
    overflow:auto;
    list-style: none;
    margin-left: 1px;
    /*border: 1px solid #ddd;*/
}
.languages2 {
    width: 23%;
    left: 60px;
}
.languages li:first-child {
    border-top: 1px solid #f1f1f1;
}
.languages li{
   margin-left: -40px;
    padding: 5px 0 5px 8px;
    border-bottom: 1px solid #f1f1f1;
    border-left: 1px solid #ddd;
}
.languages li a{
    font-size:14px !important;
}
.m-width-control {
    min-width: 16% !important;
    max-width: 133px !important
}
.box-shadow h5 span{
    display:inline-block;
    padding-bottom:5px;
}
.menu.active {
    color: #ffb282;
}
.navbar-inverse .navbar-nav > .menu.active > a {
    background-color: #337ab7;
}
.ui-timepicker-standard, .ui-timepicker, .ui-timepicker-viewport{
    width:140px !important;
}