.fs-11 {
    font-size: 11px;
}

@media only screen and (max-width: 768px) {
    .remote-doctor h1 {
        font-size: 1.5rem!important;
    }
    .remote-doctor h3 {
        font-size: 1.25rem!important;
    }
    .remote-doctor .table-diagnostic-card {
        font-size: 54%!important;
    }
    .remote-doctor .table td, .table th {
        padding: 0.25rem!important;
    }
    .remote-doctor .page-link {
        padding: 0.25rem 0.25rem;
    }
}
/* odstęp navbar */
body {
    padding-bottom: 60px;
    padding-top: 70px;
}
.max-label label {
    max-width: 100%;
    text-align: left!important;
}
#visit_visitTime .custom-radio input[class="break-time"] + div, #visit_visitTime .custom-radio input[class="break-time"] + div:hover {
    border-left: 2px solid #b99f48!important;
    color: #b99f48!important;
    background: rgb(154 185 72 / 10%)!important;
}

.leaflet-container {
    height: 600px;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
}
#term-hospitals-devices {
    margin-top: 20px;
    width: 100%;
}

.project-not-crm,
.table-striped tbody tr.project-not-crm:nth-of-type(odd) {
    background: #fff9a5;
}

legend.required::before,
label.required::before {
    color: #dc3545!important;
    content: "* ";
}
#form-diagnostic-card-action label.required::before,
#form-visit_offset label.required::before,
#form-actual_number_examination label.required::before,
.time-slots-col .required::before,
.form-check-label.required::before {
    content: "";
}

/* schemat bootstrap Cerulean nadipisał to na niebiesko, przywrócenie na szaro */
.badge:not([class*="badge-"]) {
    background-color: #777;
}
.table-calendar .badge,
.calendar-legend .badge {
    color: #ffffff;
    font-weight: 600;
}
/* ekran logowania */
#form-signin {
    padding: 100px 0;
}
#form-signin {
    width: 100%;
    max-width: 400px;
    padding: 20px 40px 40px 40px;
    margin: 0 auto;
    background: linear-gradient(45deg, #093354, rgba(1, 115, 232, 0.6));
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    border: none;
}
#form-signin .btn {
    border-radius: 15px 5px;
}
#form-signin .form-control {
    border: none;
    margin-bottom: 5px;
    text-align: center;
}
#form-signin #subtitle {
	color: white;
	font-size: 18px;
	margin-bottom: 20px;
	margin-top: 20px;
}
#form-signin .btn-primary {
    color: #fff;
    background-color: #007bff!important;
    border-color: #007bff;
    background-image:none;
}
#form-signin .btn-primary:hover {
    color: #fff;
    background-color: #0069d9!important;
    border-color: #0062cc;
}
/* modyfikacja navbara aby nie rozciągał się podkładem na całą szerokość ekranu tylko na środku */
/* czyli przeniesienie tła na container który jest w nav */
.navbar {
    background-image: none;
    background-repeat: no-repeat;
    border-bottom: 0;
    box-shadow: 0px 0px rgba(0, 0, 0, 0);
    filter: none;
    padding: 0;
}

.navbar-default {
    background-color: inherit;
}

.navbar .container,
.navbar .container-fluid {
    background-image: linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
    background-repeat: no-repeat;
    border-bottom: 1px solid #178acc;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    filter: none;
    padding: 0;
}

.navbar .container,
.navbar .container-fluid
{
    padding: 0 10px;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .navbar-text 
{
    color: #ffffff;
}

.navbar-nav .navbar-text 
{
    font-weight: bold;
    padding-left: .5rem;
    padding-right: .5rem;
}

.navbar-light .navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus
{
    color: #ffffff;
    background-color: #178acc;
}

/*.navbar-light .navbar-toggler
{
    color: rgba(255,255,255,.5);
    border-color: rgba(255,255,255,.1);
}*/

@media (min-width: 992px)
{
    .navbar-expand-lg .navbar-nav .nav-link,
    .navbar-expand-lg .navbar-nav .navbar-text
    {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

div:not(.navbar-collapse) > .navbar-nav .nav-link,
.navbar-expand-lg .navbar-nav .navbar-text
{
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* scroll do dropdawn */
.scrollable-menu {
    height: auto;
    max-height: 300px;
    overflow-x: hidden;
}

input:not(.btn),
textarea ,
select
{
	background-color : #EEE !important;
}

.popover-content {
    font-size: 12px;
}

/* ---------- */

.only-print
{
	display: none;
}

.badge-danger 
{
	background-color: #d43f3a;
}

.badge-warning 
{
	background-color: #d58512;
}

.badge-success {
	background-color: #398439;
}

.badge-info {
	background-color: #269abc;
}

.badge-inverse {
	background-color: #333333;
}

.new-page-print 
{
    page-break-before: always;
}

.footer 
{
    bottom: 0;
    height: 60px;
    line-height: 60px;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.footer > .container,
.footer > .container-fluid
{
    background-color: #2fa4e7;
    background-image: linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
    background-repeat: no-repeat;
    min-height: 60px;
}

.paginate-container
{
	text-align: center; 
}

.color-blue {
	color: #2fa4e7;
}

.table-bordered-color > thead > tr > th, 
.table-bordered-color > tbody > tr > th, 
.table-bordered-color > tfoot > tr > th, 
.table-bordered-color > thead > tr > td, 
.table-bordered-color > tbody > tr > td, 
.table-bordered-color > tfoot > tr > td 
{
    border-color: #2fa4e7;
}

.table-no-bordered th, .table-no-bordered td
{
    border: none !important;
}

#small-logo
{
    margin: 5px 15px;
}

#calendar-header h1
{
	margin: 0 0 5px 0;
}

.table-calendar
{
	table-layout: fixed;
    word-wrap: break-word;
}

.table-calendar td
{
	height: 80px;
}

.table-calendar .day-of-week-6, .table-calendar .day-of-week-7
{
	background-color: #f5f5f5;
}

.table-calendar .badge
{
	word-break: break-all;
	word-wrap: break-word;
	white-space: normal;
}

.table-calendar .calendar-td-header .badge
{
    background-color: #2fa4e7;
}

.table-calendar .calendar-td-header > a
{
    color: #6c757d;
}

.table-calendar .calendar-td-header > a:hover
{
    color: #5a6268;
}

.table-calendar .calendar-td-header .far
{
    font-size: 20px;
}

.table-calendar .calendar-td-header .badge-7
{
	background-color: #b94a48;
}

.table-calendar .confirm-checkbox
{
	margin: 0 -3px 0 -6px;
}

.table-diagnostic-card
{
	table-layout: fixed;
    word-wrap: break-word;
	font-size: 79%;
}

.table-diagnostic-card label
{
	text-transform: uppercase;
	font-weight: normal;
	display: inline;
}

.table-diagnostic-card .radio-inline 
{
	text-transform: none;
}

.table-diagnostic-card .result
{
	font-weight: bold;
}

.table-diagnostic-card .background
{
	background-color: #EEE;
}

.table-diagnostic-card-show .result
{
	background-color: #EEE;	
}

.table-diagnostic-card-show label
{
	background-color: white;
	margin: 0;
	display: inline-block;
}

.table-diagnostic-card-show .address label
{
	display: table-cell; 
	white-space: nowrap
}

.table-diagnostic-card-show .address .result
{
	display: table-cell;
}

.table-diagnostic-card .control-group label
{
	text-transform: none;
}

.table-diagnostic-card .input-group-unit .title
{
	font-size: 80%;
}

.table-diagnostic-card .input-group-unit .value
{
	width: 41%;
	float: left;
}

.table-diagnostic-card .input-group-unit .unit
{
	width: 56%;
	float: right;
}

.calculator .input-group-unit input
{
	display: inline;
	width: 53%;
}

.calculator .input-group-unit select
{
	display: inline;
	width: 45%;
}

.table-show th
{
	font-weight: normal;
}

.table-show td
{
	font-weight: bold;
}

.calculator-result
{
	font-size: 160%;
}

.calculator-lsm-color-F0
{
	color: #006E23;
	text-shadow: 0 0 1px black;
}

.calculator-lsm-color-F0F1
{
	color: #92c6ec;
	text-shadow: 0 0 1px black;
}

.calculator-lsm-color-F1
{
	color: #d2e27d;
	text-shadow: 0 0 1px black;
}

.calculator-lsm-color-F1F2
{
	color: #cbdb2b;
	text-shadow: 0 0 1px black;
}

.calculator-lsm-color-F2
{
	color: #fdba4b;
	text-shadow: 0 0 1px black;
}

.calculator-lsm-color-F2F3
{
	color: #f7943d;
	text-shadow: 0 0 1px black;
}

.calculator-lsm-color-F3
{
	color: #e75d63;
	text-shadow: 0 0 1px black;
}

.calculator-lsm-color-F3F4
{
	color: #c92350;
	text-shadow: 0 0 1px black;
}

.calculator-lsm-color-F4
{
	color: #882990;
	text-shadow: 0 0 1px black;
}

.diagnostic-card-big-result
{
	font-size: 170%;
	font-weight: bold;
}

.text-bigger
{
	font-size: 135%;
}

.table-diagnostic-card .checkbox,
#form-diagnostic-card-report .checkbox,
.table-diagnostic-card .radio:not(.radio-inline),
#form-diagnostic-card-report .radio:not(.radio-inline)
{
	min-height: 0;
	padding-top: 0;
	font-size: 96%;
	/*padding-right: 7px;*/
	/*padding-top: 5px;*/
	/*display: inline;*/
}

.table-diagnostic-card .checkbox label,
#form-diagnostic-card-report .checkbox label,
.table-diagnostic-card .radio label:not(.radio-inline),
#form-diagnostic-card-report .radio label:not(.radio-inline)
{
	text-transform: none;
	height: 0;
	/*display: inline;*/
}

.table-diagnostic-card .checkboxes
{
	padding-bottom: 4px;
}

.visit-data ul 
{
    padding-left: 20px;
}
.visit-data .form-check {
    padding-top: 0; 
}

#actions .buttons {
    margin-top: 27px;
}

table>tbody>tr>td.border-top-none {
    border-top: 1px solid transparent;
}
table>tbody>tr>td>ul {
    margin-bottom: 0;
    padding-left: 20px;
}
.table tr.visit-barcode td, .table tr.visit-barcode td {
    border-bottom: 1px solid #dee2e6;
    border-top: none;
}
.table tr.visit-note td {
    border-bottom: none;
    border-top: none;
}

.select2-container--default .select2-selection--single {
	height: 38px;
	padding: 4px;
	background-color: #eee;
	border: 1px solid #ccc;
}

input[type="date"].form-control {
	line-height: normal;
}

/* New Visit - Time Slots */
#visit_visitTime .time-slots-col {
    display: inline-block;
    margin-top: 15px;
    min-width: 55px;
    width: 7%;
}
#visit_visitTime .custom-radio {
    display: block;
    margin-right: 6px;
    margin-bottom: 6px;
}
#visit_visitTime .custom-radio label {
    display: block;
    text-align: center;
}
#visit_visitTime .custom-radio input {
    position: absolute;
    opacity: 0;
}
#visit_visitTime .custom-radio input + div {
    border: 1px dotted #ccc;
    border-left: 2px solid #ccc;
    cursor: pointer;
    font-weight: 400;
    min-width: 50px;
    padding: 5px;
}
#visit_visitTime .custom-radio input:checked + div,
#visit_visitTime .custom-radio input[checked="checked"] + div {
    background: rgba(3,60,115,0.1);
    border-left: 2px solid #033c73;
    color: #033c73;
}
#visit_visitTime .custom-radio input + div:hover {
    border-left: 2px solid #033c73;
    color: #033c73;
}
#visit_visitTime .custom-radio input:disabled + div,
#visit_visitTime .custom-radio input:disabled + div:hover {
    background: rgba(185,74,72,0.1);
    border-left: 2px solid #b94a48;
    color: #b94a48;
    cursor: not-allowed;
}

.bootstrap-datetimepicker-widget.dropdown-menu
{
    width: 16rem; 
}

.patient-new-visit {
    position: relative;
    height: 40px;
    min-width: 43px;
}
.patient-new-visit > span {
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 20px!important;
}
.patient-new-visit > i {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 14px;
    line-height: 40px;
}

#term-show-filter input {
    background-color: transparent !important;
    box-sizing: initial;
    height: calc(1.5em + .75rem + 2px)
}

.card-header-filter {
    padding: 0;
}

#filter .select2-container {
    width: 100% !important;
}

@media screen and (min-width: 992px) {
    .three-label label {
        max-width: 100px;
    }
}
