﻿/*  
Theme Name: MOM2016
Theme URI: http://mom2016.medinet.it/css
Description: Custom Theme for MOM2016 web application
Version: 1.0.0
Creation date: 03/12/2014
Revision date: 07/10/2016
Note:
in bootstrap.css modificare @media (min-width: 1200px - o dimensione massima selezionata) per evitare 
che si passi alla modalità colonna singola troppo presto (vedi commenti nel file bootstrap.css.

/* >>> riga 1899 bootstrap.css
 * Cambiare min-width: 1200px in min-width: 800px per evitare che si passi troppo presto
 * alla modalità singola colonna
 * /
@media (min-width: 800px)

*/

@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Cabin+Condensed|Fjalla+One");

.xred {
    background-color: #cc0000 !important;
}
.xorange {
    background-color: #ea9505 !important;
}
.xgreen {
    background-color: #68c703 !important;
}
.xbrown {
    background-color: #157700 !important;
}

/* Usato da HtmlHelper DateTime */
.float-left
{
    float:left;
}

.multiple
{
    padding: 5px 10px;
    overflow: auto;
}

.improvement
{
    background: #2fa4e7 none;
    color: white;
    text-align: center;
}

.email-notifier
{
    color: #fff; 
    font-weight: bold;
    background-color: #f00;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    padding: 2px 6px 3px 6px;
    cursor: default;
}

::selection
{
    background: #ccff00; /* WebKit/Blink Browsers */
}
::-moz-selection 
{
    background: #ccff00; /* Gecko Browsers */
}

img.wait-icon
{
   width: 16px;
   height: 16px;
}

.green
{
    color: #00aa55;
    font-size: 150%;
}

a
{
	color: #157ab5;
}

h2.info
{
    color: #317eac;
}
label.info
{
    color: #3BC30C;
}
label.warning
{
    color: #FFa30C;
}

.tooltip {
  z-index: 990;
}

.counter
{
    margin-left: -10px;
    margin-top: -10px;
    padding: 3px;
    background: red none;
    float: left;
    position: absolute;
    font-size:10px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    min-height: 20px;
    min-width: 20px;
    max-height: 20px;
    line-height: 12px;
}

.successful-message
{
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #38A32C;
    background: #E2F2DE none;
    border: 1px solid #ACE2A7;
    padding: 10px;
    margin-bottom: 10px;
}
.successful-message ul
{
    margin-bottom: 0px;
    padding: 0px;
}
.successful-message ul li
{
    list-style-type: none;
}

fieldset
{
    width: 100%;
}
fieldset .highlighter
{
    background-color: Red;
    padding: 10px;
}
fieldset .highlighter label
{
    color: White;
}
fieldset .row
{
    border-bottom: 1px dotted #ccc;
    margin-bottom: 10px;
}
fieldset .title
{
    border-bottom: 3px solid #157ab5;
}
fieldset .title h3
{
    color: #157ab5;
}

/* ATC search drug helpers */
#searchdrug
{
    background: #eee none;
    border: 3px solid #ccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.75);
    z-index: 99999;
    position: fixed;
    top: 10px;
}
.searchdrugsbox
{
    
}
.searchdrugsbox:hover
{
    -webkit-box-shadow: 0px 0px 9px 0px rgba(255, 0, 0, 0.44);
    -moz-box-shadow: 0px 0px 9px 0px rgba(255, 0, 0, 0.44);
    box-shadow: 0px 0px 9px 0px rgba(255, 0, 0, 0.44);
}




html 
{
    background-color: #dae7ef;
    margin: 0;
    padding: 0;
}

body
{
    background-color: #dae7ef;
}

body, td, th, a, .basefont
{
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td
{
    vertical-align: middle;
}
table th
{
    vertical-align: bottom !important;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 
{
    font-family: 'Fjalla One', sans-serif;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.3;
}

h1 i, h2 i, h3 i, h4 i, h5 i, h6 i
{
    vertical-align: middle;
}

label {
    color: #317eac;
}

.fa-female
{
    color: #f99d94;
}
.fa-male
{
    color: #157ab5;
}

.field-validation-error
{
    color: #ff0000;
}

.bold 
{
    font-weight: bold;
}

.on
{
    background: #00cc00;
    width: 30px;
    height: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    margin: 5px;
    cursor: pointer;
    border: 3px solid #fff;
    text-align: center;
    color: White;
    line-height: 24px;
    display: inline-block;
}
.on:hover
{
    border: 3px solid #2fa4e7;
}

.off
{
    background: #cc0000;
    width: 30px;
    height: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    margin: 5px;
    cursor: pointer;
    border: 3px solid #fff;
    text-align: center;
    color: White;
    line-height: 24px;
    display: inline-block;
}
.off:hover
{
    border: 3px solid #2fa4e7;
}
.query .on
{
    border: 3px solid red;
}
.query .on:hover
{
    border: 3px solid yellow;
}

.null
{
    background: #dbdbdb;
    width: 30px;
    height: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    margin: 5px;
    cursor: pointer;
    border: 3px solid #fff;
    text-align: center;
    color: White;
    line-height: 24px;
    display: inline-block;
}
.null:hover
{
    border: 3px solid #2fa4e7;
}
.null.none
{
    background: white;
}
.null.none:hover
{
   border: 3px solid #fff;
   cursor: default;
}
.grid-title
{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 40px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

input[type="radio"], input[type="checkbox"] 
{
    margin-left: 10px;
    vertical-align: top;
}

label.RadioButtons
{
    margin-left: 5px;
    vertical-align: middle;
    color: inherit;
    font-weight: normal;
    width: 70%;
}

label.Checkboxes
{
    margin-left: 5px;
    vertical-align: middle;
    color: inherit;
    font-weight: normal;
    width: 70%;
}

.exit
{
    margin-top: 80px;
}

.unselectable
{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.group-title td
{
    background: #dae7ef !important;
    font-weight: bold;
}

.first-letter
{
  font-weight: bold;
  color: #ff0;
}

div.profile-image 
{
    background: #dcdcff url("/Assets/Images/ph-man.png") no-repeat scroll center center;
    padding: 0px;
    -webkit-border-radius: 130px;
    -moz-border-radius: 130px;
    border-radius: 130px;
    border: 1px solid #656565;
    width: 205px;
    height: 205px;
    margin-left: 645px;
    vertical-align: middle;
    text-align: center;
    color: #ffff00;
    font-weight: bold;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    line-height: 215px;
    display: table-cell;
}
img.micro-profile-image 
{
    -webkit-border-radius: 80px;
    -moz-border-radius: 80px;
    border-radius: 80px;
    border: 1px solid #aaaaaa;
    width: 80px;
    height: 80px;
    vertical-align: middle;
}
img.mini-profile-image 
{
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    border: 1px solid #aaaaaa;
    width: 100px;
    height: 100px;
    vertical-align: middle;
}
img.maxi-profile-image {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid white;
    margin-top: 10px;
    width: 93%;
}
img.default-profile-image {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid white;
    margin-top: 10px;
    width: 100px;
}

.state-icon
{
    font-size: 20px;
    vertical-align: middle;
    text-align: right;
}
.state-icon i
{
    margin-left: 5px;
}





/* action */
.actions
{
    font-size: 150%;
}
.actions a
{
    text-align: center;
    margin-bottom: 5px;
    margin-top: 5px;
    display: inline-block;
    background: #ffffff none;
    -webkit-border-radius: 130px;
    -moz-border-radius: 130px;
    border-radius: 130px;
    width: 36px;
    height: 36px;
    padding: 5px;
    border: 1px solid #157ab5;
    color: #157ab5;
}
.actions a.query
{
    border: 3px solid red;
}
.actions a:hover
{
    background: #157ab5 none;
    color: #ffffff;
    text-decoration: none;
}


.actionsbar
{
    padding: 10px 0px;
    text-align: right;
}

.form-group div[class*="col-"]
{
    padding-left: 0px;
    padding-right: 0px;
}







/* header */
header
{
    display: block;
}



/* content */
content
{
    display: block;
    margin-top: 51px;
}

content .row.top
{
    background: rgba(201, 226, 240, 0.9) none;
    border-left: 1px solid #97ccea;
    border-right: 1px solid #97ccea;
    position: fixed;
    z-index: 999;
}

content .row.middle
{
    /* rivedere _Layout/jQuery(window).on("resize") se viene modificato questo parametro */
    padding-top: 120px;
    
    background: white none;
    border-left: 1px solid #97ccea;
    border-right: 1px solid #97ccea;
}
    content .row.xmiddle {
        /* rivedere _Layout/jQuery(window).on("resize") se viene modificato questo parametro */
        background: white none;
        border-left: 1px solid #97ccea;
        border-right: 1px solid #97ccea;
    }
content .row.bottom
{
    /* rivedere _Layout/jQuery(window).on("resize") se viene modificato questo parametro */
    padding-top: 120px;
    
    background: white none;
    border-left: 1px solid #97ccea;
    border-right: 1px solid #97ccea;
    border-bottom: 1px solid #97ccea;
}


/* Bootstrap popover */
.popover
{
    max-width: 400px;
}
.popover img
{
    max-width: 400px;
    max-height: 400px;
    width: 100%;
}
.popover-content
{
    margin: 2px;
    box-sizing: content-box;  
    width: auto;
    overflow: hidden;
    padding: 0px;
    text-align: center;
}


/* footer */
footer
{
    display: block;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 70%;
}

footer.container
{
    padding-left: 0px;
    padding-right: 0px;
}

footer .copyright
{
	margin-bottom: 20px;
}

footer .copyright img
{
    float: left;
    vertical-align: middle;
    height: 42px;
    border: 0px;
    margin-right: 5px;
    background: white;
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #97ccea;
}

footer .version
{
    text-align: right;
}




/* FlexSlider */
.flex-direction-nav
{
    display: none;
}
.flexslider
{
    border: 0px;
    padding: 0px;
    margin: 0px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}
.flex-control-nav 
{
    bottom: 0px;
}
.flex-control-paging li a
{
    background: rgba(255,255,255,0.5)
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    height: 6px;
    width: 15px;
    border: 1px solid gray;
}
.flex-control-paging li a:hover
{
    background: #ffff00;
}
.flex-control-paging li a.flex-active
{
    background: rgba(255,255,255,1)
}
.flex-viewport
{
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #a0857a;
}
.flex-control-paging
{
    display: none;
}
.flex-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    max-width: 100%;
}
.flex-caption h3 {
    margin: 0px; 
    padding: 0px;
    color: White;
    font-size: 8px;
}





/* Bootstrap abbr */
abbr[title], abbr[data-original-title]
{
    border-bottom: 0px;
    text-decoration: none;
}


/* Toolsbar */

.toolsbar
{
    float: right;
    margin-top: -20px;
    width: auto;
}
.toolsbar.normal
{
    margin-top: 0px;
}
.toolsbar.normal i
{
    background: transparent !important;
    color: White;
}
.toolsbar button
{
    margin-left: 2px;
    border: 1px solid #3494cb;
    background-image: linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff54b4eb', endColorstr='#ff1d9ce5', GradientType=0);
    filter: none;
    color: #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-image: linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
    line-height: 25px;
    min-width: 30px;
    min-height: 30px;
    background-color: #2FA4E7;
}
.toolsbar button:hover
{
    background-image: linear-gradient(#54ebb4, #2fe7a4 60%, #1de59c);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff54ebb4', endColorstr='#ff1de59c', GradientType=0);
    background-image: linear-gradient(#54ebb4, #2fe7a4 60%, #1de59c);
}

/* DateTime htmlHelper */
.datetime .input-group-btn {
    display: inline-block;
}
.datetime .input-group-addon:first-child
{
    padding-left: 5px;
    padding-right: 5px;
}
.datetime .input-group-addon, .datetime .input-group-btn
{
    width: auto;
}
.datetime input
{
    padding-left: 5px;
    padding-right: 5px;
}
.datetime select
{
    padding-left: 5px;
    padding-right: 5px;
}
.datetime .day
{
    width: 30px !important;
    border-right: 0px;
    text-align: center;
}
.datetime .month
{
    width: auto !important;
}
.datetime .year
{
    width: 50px !important;
    border-left: 0px;
    text-align: center;
    margin-right: 5px; /* Necessario per PickTime */
}
.datetime .dayofweek
{
    font-weight: bold;
    font-style: normal;
    font-size: 80%;
}

.datetime .hours
{
    width: 40px !important;
    border-right: 0px;
    text-align: center;
}
.datetime .minutes
{
    width: 40px !important;
    text-align: center;
}




/* Custom jQuery.validation */

.validation-summary-errors
{ 
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #b94a48;
    background: #f2dede none;
    border: 1px solid #eed3d7;
    padding: 10px;
    margin-bottom: 10px;
}
.validation-summary-errors.success
{
    color: #53b948;
    background: #e2f2de none;
    border: 1px solid #a7eca3;
}
.validation-summary-errors ul
{
    margin: 0px;
    padding: 0px;
}
.validation-summary-errors li
{
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

input.input-validation-error,
textarea.input-validation-error,
select.input-validation-error
{
    background: #FEF1EC;
    border: 1px solid #CD0A0A;
}

/* per evitare che questo elemento venga allargato oltre lo spazio disponibile */
.form-group 
{
    overflow: hidden;
}




/* sidebar */
.sidebar 
{
    background: #2fa4e7 none;
    padding: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    overflow: hidden;
    -webkit-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.75);
    margin-bottom: 40px;
}
.sidebar .top
{
    background-color: #1995dc;
    width: auto;
}
.sidebar .top h5, .sidebar .top h4
{
    background-color: #1995dc;
    margin: 0px;
}
.sidebar .top h5
{
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 6px;
    margin-bottom: 3px;
    color: #ffffff;
}
.sidebar .top h4
{
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    color: #ffff00;
    font-size: 110%;
    border-bottom: 1px solid #2fa4e7;
}
.sidebar .top h4 i
{
    background: white;
    padding: 3px 5px;
    border-radius: 40px;
    font-size: 70%;
}
.sidebar .id-box
{
    border-bottom: 1px dotted white;
    display: block;
    font-size: 90%;
    margin-bottom: 5px;
}
.sidebar .vid-box
{
    border-bottom: 1px dotted white;
    display: block;
    font-size: 80%;
    margin-bottom: 5px;
}
.sidebar a
{
    color: #ffffff;
}
.sidebar .nav-sidebar li.active a
{
    font-weight: bold;
    background-color: #1995dc;
}
.sidebar .nav-sidebar li a:hover, .sidebar .nav-sidebar li a:focus
{
    background-color: #1995dc;
}
.sidebar .fa 
{
    display: block;
    vertical-align: middle;
    float: left;
    margin-right: 5px;
    font-size: 103%;
}




/* nav-bar */
.navbar-toggle {
  margin-right: 0px;
}
.navbar-nav {
    margin: 0px -15px;
}
.navbar-nav > li > .dropdown-menu {
  overflow: hidden;
  min-width: 220px;
}
.navbar-nav > li > .dropdown-menu li.userprofile p
{
    cursor: default;
    padding: 3px 20px;
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
}
.navbar-nav > li > .dropdown-menu li.userprofile img {
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border-radius: 24px;
    border: 1px solid #aaaaaa;
    width: 40px;
    vertical-align: middle;
    display: inline-block;
    float: left;
}
.navbar-nav > li > .dropdown-menu li.userprofile div {
    display: inline-block;
    margin-left: 10px;
    color: #fff;
}

.navbar {
    background-image: linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff54b4eb', endColorstr='#ff1d9ce5', GradientType=0);
    filter: none;
    -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
}

.btn-primary {
    background-image: linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff54b4eb', endColorstr='#ff1d9ce5', GradientType=0);
    filter: none;
    background-image: linear-gradient(#54b4eb, #2fa4e7 60%, #1d9ce5);
}
.btn-warning {
    background-image: linear-gradient(#ff6707, #dd5600 60%, #c94e00);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff6707', endColorstr='#ffc94e00', GradientType=0);
    filter: none;
    background-image: linear-gradient(#ff6707, #dd5600 60%, #c94e00);
}
.btn-info {
    background-image: linear-gradient(#04519b, #033c73 60%, #02325f);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff04519b', endColorstr='#ff02325f', GradientType=0);
    filter: none;
    background-image: linear-gradient(#04519b, #033c73 60%, #02325f);
}
.btn-default {
    background-image: linear-gradient(#cccccc, #ffffff 10%, #f5f5f5);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcccccc', endColorstr='#fff5f5f5', GradientType=0);
    filter: none;
    background-image: linear-gradient(#cccccc, #ffffff 10%, #f5f5f5);
}
.btn-danger {
    background-image: linear-gradient(#e12b31, #c71c22 60%, #b5191f);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe12b31', endColorstr='#ffb5191f', GradientType=0);
    filter: none;
    background-image: linear-gradient(#e12b31, #c71c22 60%, #b5191f);
}
.btn-success {
    background-image: linear-gradient(#88c149, #73a839 60%, #699934);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff88c149', endColorstr='#ff699934', GradientType=0);
    filter: none;
    background-image: linear-gradient(#88c149, #73a839 60%, #699934);
}


/* CRF side bar item status */
.completed
{
    border-left: 3px solid #00ee22;
    margin-bottom: 2px;
}
.blank
{
    border-left: 3px solid #2fa4e7;
    margin-bottom: 2px;
}
.partial
{
    border-left: 3px solid #eeee00;
    margin-bottom: 2px;
}
.init
{
    border-left: 3px solid #cc0000;
    margin-bottom: 2px;
}
.present {
    border-left: 15px solid #f5e410;
    margin-bottom: 2px;
}
 
.row {
    margin-left: -15px;
    margin-right: -15px;
}
.container, .row.top {
    width: 100%;
}

.h3_title
{
    margin-top: 60px;
    margin-bottom: 30px;
}

/* Aggiunge a bootstrap.css altri livelli di ridimensionamento 
 * forzato degli elementi .container 
 */
.grid-titles
{
    display: none;
}
.mini-screen-label
{
    display: inline-block;
}
/*
 * Classi usate in index.cshtml per gestire la visualizzazione 
 * delle etichette in colonna o riga in base allo spazio disponibile
 */
.show-in-single-column
{
    display: inline-block;
}
.hide-in-single-column
{
    display: none;
}


@media (min-width: 500px) 
{
    .sidebar {
        margin-bottom: 20px;
        font-size: 88%;
    }
    .flex-caption h3 {
        font-size: 13px;
    }
    .navbar-nav {
        margin-left: -15px;
    }
    .container, .row.top {
        width: 480px;
    }
   
    .navbar-nav > li > .dropdown-menu li.userprofile p
    {
        color: inherit;
    }
}
@media (min-width: 600px) 
{
    .flex-caption h3 {
        font-size: 15px;
    }
    
    .container, .row.top {
        width: 580px;
    }
    
    .navbar-nav > li > .dropdown-menu li.userprofile div {
        color: #333;
    }
}
@media (min-width: 700px) 
{
    .sidebar
    {
        font-size: 100%;
    }
    .container, .row.top {
        width: 680px;
    }
}
@media (min-width: 800px) 
{
    .flex-caption h3 {
        font-size: 22px;
    }
    
    .container, .row.top {
        width: 780px;
    }
    
    .grid-titles
    {
        display: block;
    }
    .grid-title
    {
        font-weight: normal;
    }
    .mini-screen-label
    {
        display: none;
    }

    .show-in-single-column
    {
        display: none;
    }
    .hide-in-single-column
    {
        display: table-row;
    }
}
@media (min-width: 900px) {
    .container, .row.top {
        width: 880px;
    }
}
@media (min-width: 1000px) {
    .container, .row.top {
        width: 980px;
    }
}
@media (min-width: 1100px) {
    .container, .row.top {
        width: 1080px;
    }
}
@media (min-width: 1200px) 
{
    .form-group div[class*="col-"]
    {
        padding-right: 15px;
    }
    
    .form-group div[class*="col-"]:last-child
    {
        padding-right: 0px;
    }
    
    .container, .row.top {
        width: 1180px;
    }
}




/* JSON formatter */
pre  
{
    padding: 5px; 
    margin: 10px 0px; 
}
.string 
{ 
    color: Green; 
}
.number 
{ 
    color: DarkOrange; 
}
.boolean 
{ 
    color: Blue; 
}
.null 
{ 
    color: Magenta; 
}
.key 
{ 
    color: #317eac; 
}




/* Email client */

.email-client
{
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}
.email-client div.recipients
{
    min-height: 50px;
}
.email-client div.box
{
    max-height: 500px; 
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    margin-bottom: 5px;
    padding: 10px;
    overflow: auto;
}
.email-client div.box .from
{
    border: 1px solid #EFDFDF;
    padding: 0px 10px 10px 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #FFEFEF none;
    width: 80%;
    float: right;
    margin: 15px 0px;
    cursor: default;
    overflow: auto;
    max-height: 300px; 
}
.email-client div.box .from.querymode
{
    border: 1px solid #FFE69F;
    background: #FFFED2 none;
}
.email-client div.box .from h6
{
    color: #AE0D38;
}
.email-client div.box .to
{
    border: 1px solid #D5EFD5;
    padding: 0px 10px 10px 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #E5FFE5 none;
    width: 80%;
    margin: 15px 0px;
    cursor: default;
    overflow: auto;
    max-height: 300px; 
}
.email-client div.box .to.querymode
{
    border: 1px solid #97CCEA;
    background: #E6F2FD none;
}
.email-client div.box .to h6
{
    color: #02833A;
}
.email-client span
{
    color: #757575;
}
.email-client
{
    background: #eeeeee none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.75);
}
.email-client div.all_query_message_box
{
    margin-top: 10px;
    border-top: 1px dotted #aaa;
}
.email-editor
{
    padding-bottom: 10px;
}
.email-editor textarea
{
    background: #ffffff none;
    border: 1px solid #e0e0e0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    width: 100%;
    resize: none;
}
.email-editor button
{
    width: 100%;
    float: right;
    border: 1px solid #f5f5f5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-weight: bold;
}
.email-client .recipients-box 
{
    overflow: hidden;
    min-height: 60px;
}
.email-client select
{
    border: 0px;
}
.email-client .recipients-box .sel-recipients
{
    display: inline-block;
    white-space: nowrap;
    padding: 3px;
    background: #f9f9f9 none;
    border: 1px solid #f3f3f3;
    margin: 2px 2px 0px 0px;
}
.email-client  .error
{
    color: #f96666;
}
.email-client div.box .unread 
{
    border: 2px solid #65cF65;
}
.email-client div.box .querymode.unread 
{
    border: 2px solid #97CCEA;
}
.email-client .from.querymode .marker
{
    font-size: 120%;
    background: #EEEEEE none;
    color: #B50D38;
    width: 25px;
    text-align: center;
    height: 25px;
    line-height: 25px;
    border: 1px solid #FFE69F;
}
.email-client .to.querymode .marker
{
    font-size: 120%;
    background: #EEEEEE none;
    color: #02833A;
    width: 25px;
    text-align: center;
    height: 25px;
    line-height: 25px;
    border: 1px solid #97CCEA;
}


.email-client .from .marker
{
    font-size: 120%;
    background: #EEEEEE none;
    color: #B50D38;
    width: 25px;
    text-align: center;
    height: 25px;
    line-height: 25px;
    border: 1px solid #EFDFDF;
}
.email-client .to .marker
{
    font-size: 120%;
    background: #EEEEEE none;
    color: #02833A;
    width: 25px;
    text-align: center;
    height: 25px;
    line-height: 25px;
    border: 1px solid #D5EFD5;
}


.email-client i.hidden
{
    display: none;
}


/* Bootstrap-slider */
.tooltip.top .tooltip-arrow
{
    border-top-color: #0D8FD0;
}
.tooltip-inner
{
    background-color: #0D8FD0;
    -webkit-box-shadow: 1px 1px 2px 0px rgba(148,148,148,1);
    -moz-box-shadow: 1px 1px 2px 0px rgba(148,148,148,1);
    box-shadow: 1px 1px 2px 0px rgba(148,148,148,1);
}
.slider-handle.round
{
    -webkit-border-radius: 30% !important;
    -moz-border-radius: 30% !important;
    border-radius: 30% !important;
}
.slider.slider-horizontal .slider-tick-label-container .slider-tick-label
{
    font-size: 80% !important;
    color: #0D8FD0;
}

div.ImageRadioButton {
    width: unset;
    float: left;
    margin-bottom: 20px;
}
    div.ImageRadioButton label.RadioButtons
    {
        display: inline-block;
        width: -moz-fit-content;
        text-align: center;
    }

    div.ImageRadioButton input[type=radio] {
        width: 100%;
        margin: 0px !important;
    }

    div.ImageRadioButton input[type=radio] + img {
        border: 3px solid #ffffff;
        border-radius: 200px;
    }
    div.ImageRadioButton input[type=radio]:checked + img {
        border: 3px solid #1995dc;
        border-radius: 200px;
    }

    div.ImageRadioButton label {
        width: 100%;
        margin: 0px !important;
    }


div.autoclose_popup
{
    display: none;
    position: absolute;
    width: 50px;
    height: 50px;
    background: #2fa4e7 none;
    color: #ffffff;
    font-weight: bold;
    line-height: 50px;
    text-align: center;
    padding: 5px;
    font-size: 180%;
    left: 80%;
    top: 50%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5);  
    -moz-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5); 
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5); 
    border: 3px solid #00ee22;
}
div.autoclose_popup div.selected
{
    font-size: 50%;
    line-height: 10px;
}
div.autoclose_popup div.value
{
    line-height: 26px;
}



/* Usato in calendar */
table.calendar th {
    padding: 2px;
    font-size: 70%;
    color: #999;
}
table.calendar td {
    padding: 2px;
    min-height: 100px;
    min-width: 14%;
    height: auto;
    overflow: auto;
    vertical-align: top !important;
    font-size: 70%;
    color: #aaa;
    text-align: center;
}
table.calendar p {
    display: block;
    padding: 3px;
    background-color: #eee;
    text-align: left;
}
    table.calendar p.now {
        font-weight: bold;
        background-color: #157ab5;
        color: #fff;
    }

    table.calendar a.hour {
        text-align: center;
        margin: 1%;
        width: 23%;
        float: left;
        background-color: transparent;
    }
    table.calendar a.hour:hover {
        background-color: #157ab5;
        color: white;
    }
    table.calendar a.used-confirmed {
        background-color: green;
        color: white;
    }
    table.calendar a.used-refused {
        background-color: red;
        color: white;
    }
    table.calendar a.used {
        background-color: gray;
        color: white;
    }
table.calendar p {
    text-align: left;
}
table.appointments tr.expired td {
    color: #777;
}


/* Daily */
div.daily {

}
    div.daily i.confirmed {
        color: rgba(69, 219, 0, 1);
    }

    div.daily div.expired i.confirmed {
        color: gray;
    }

    div.daily i.refused {
        color: red;
    }

    div.daily div.expired i.refused {
        color: gray;
    }


/* Home */
div.appuntamenti {
    margin-bottom: 30px;
    max-height: 800px;
    overflow: auto;
}
    div.appuntamenti h4 {
        border-bottom: 2px solid #157ab5;
    }
    div.appuntamenti a div {
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        padding: 0px 5px;
        background: #157ab5 none;
        color: white;
        margin-bottom: 2px;
    }
    div.appuntamenti a div.expired {
        background: lightgray none;
        color: #777;
    }
    div.appuntamenti a:hover div {
        background: #0000aa none;
        color: white;
    }
    div.appuntamenti a:hover {
        text-decoration: none;
    }
    div.appuntamenti i {
        float: right;
        margin-right: 3px;
    }
    div.appuntamenti i.clock {
        float: left;
        font-size: 20px;
    }
    div.appuntamenti i.confirmed {
        color: greenyellow;
    }
        div.appuntamenti div.expired i.confirmed {
            color: gray;
        }
    div.appuntamenti i.refused {
        color: red;
    }
        div.appuntamenti div.expired i.refused {
            color: gray;
        }
    div.appuntamenti span {
        color: cornflowerblue;
        font-style: italic;
    }
    div.appuntamenti span.today {
        color: #cc0000;
        font-style: italic;
    }

div.pazienticritici {
    margin-bottom: 30px;
    max-height: 800px;
    overflow: auto;
}
    div.pazienticritici h4 {
        border-bottom: 2px solid #157ab5;
    }
    div.pazienticritici a div {
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        padding: 0px 5px;
        background: #810b0b none;
        color: white;
        margin-bottom: 2px;
    }
    div.pazienticritici a.other div {
        background: #cd8c8c none;
    }
    div.pazienticritici a:hover div {
        background: #cc0000 none;
        color: white;
    }
    div.pazienticritici a:hover {
        text-decoration: none;
    }
    div.pazienticritici i {
        float: right;
        margin-right: 3px;
    }


div.pazientirichiamo {
    margin-bottom: 30px;
    max-height: 800px;
    overflow: auto;
}
    div.pazientirichiamo h4 {
        border-bottom: 2px solid #157ab5;
    }
    div.pazientirichiamo a div {
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        padding: 0px 5px;
        background: #02833A none;
        color: white;
        margin-bottom: 2px;
    }
    div.pazientirichiamo a.other div {
        background: #8add90 none;
    }
    div.pazientirichiamo a:hover div {
        background: #cc0000 none;
        color: white;
    }
    div.pazientirichiamo a:hover {
        text-decoration: none;
    }
    div.pazientirichiamo i {
        float: right;
        margin-right: 3px;
    }


div.documenti {
    margin-bottom: 10px;
}
    div.documenti h4 {
        border-bottom: 2px solid #157ab5;
    }
    div.documenti a div {
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        padding: 3px 5px 2px 5px;
        background: #157ab5 none;
        color: white;
    }
    div.documenti a:hover div {
        background: gray none;
        color: white;
    }
    div.documenti a:hover {
        text-decoration: none;
    }
    div.documenti i {
        float: right;
        margin-right: 3px;
    }
	
	
@page  
{ 
    size: auto;   /* auto is the initial value */ 

    /* this affects the margin in the printer settings */ 
    margin: 20mm 20mm 20mm 20mm;  
} 

@media print {
    td.actions * {
        display: none;
    }
	
	.container, .row.top {
		width: 100%;
	}

	body {
		margin: 0px;
	}
	
    a[href]:after,
    abbr[title]:after,
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: none !important;
    }
}



/*
    Paginazione in UserProfile/Index - sovrascrive Bootstrap
*/
.pager li > a, .pager li > span {
    display: inline-block;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    width: 30px;
    text-align: center;
    margin-bottom: 4px;
    padding: 1px;
    border-radius: 0px;
}

.pager {
    text-align: left;
}

i.button {
    padding: 2px 5px;
    border: 1px solid transparent;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
i.button:hover {
    border-color: white;
    background-color: white;
    color: red;
}


@media print {
    #title_tools_bar {
        display: none;
    }

    footer {
        display: none;
    }

    .row {
        padding-top: 0px !important;
    }

    div {
        font-size: 90% !important;
    }

    .col-sm-12 {
        margin-left: 0px;
        margin-right: 0px;
    }

    .filer-buttons-bar {
        display: none;
    }
} 