body{
    font-size: 13px;
    /*color: #717171;*/
    color:#494949;

    background-color: #f3f5f9;
    -webkit-font-smoothing: antialiased;
    font-weight: normal;
    padding-top:60px;
}
.media{
    overflow: hidden;
    zoom: 1;
    margin:0px;
}
.carousel, .carousel-inner .item, .carousel-inner{
	height:100% !important;
}

.panel{
    margin-bottom:10px;
}
.navbar > .container .navbar-brand, .navbar-inverse .navbar-nav > li > a{
    color: #fff;
}
.navbar-inverse .navbar-nav > .dropdown > a .caret{
    border-top-color: #fff;
    border-bottom-color: #fff;
}
.navbar-toggle{
    margin-top: 10px;
    margin-bottom: 5px;
}
.brand-icon{
    font-size:20px;
}
.form-group{
    margin-bottom: 10px;
}
a.star-link{
    color: #000;
}
a.star-link:hover{
    text-decoration: none;
    color: #f1c40f;
}
a.star-link.active{
    color:#f1c40f;
}
.blue-icon{
    color:#236C9C;
}
.progress{
    background-color: #E6E6E6;
   
}
.icons-display .muted{
    display:none;
}
/*LOGIN*/
body#login{
    background-color: #2980B9;
    color: #fff;
}
body#login h1{
    text-align: center;
    margin-bottom: 20px;
}
.table thead > tr > th{
    background: #8D8D8D;
    color: #fff;
    border-bottom: none;
}
.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;
}
#list-songs li{
    height: 40px;
    list-style: none;
    cursor: move;
}
/* Stats panels */
.panel-stats .stat-icon{
    float: left;
    font-size: 25px;
    color:#ABC7DA;
    margin-right: 10px;
    margin-top: 0px;
}
.panel-stats h3{
    margin: 0;
    font-weight: bold;
    font-size: 20px;
}
.panel-stats h3 span{
    font-size:13px;

}
.panel hr{
    margin: 10px 0;
}
.panel-body .panel-subtitle{
    margin: -15px;
    padding: 10px;
    background-color: #8D8D8D;
    color: #FFF; 
}
.panel-footer .pagination{
    margin:0;
}
.stat-row h5{
    margin:0px;
}
.stat-row{
    margin:5px 0px;
    border-bottom: 1px solid #f5f5f5;
}
hr{
    border-top-color: #D8D8D8;
}
/* Appointments list */
.list-group-appointment:hover, #patients-list .patient-data:hover{
    background-color: #EDF5FA;
    cursor: pointer;
}
.list-group-appointment, #patients-list .list-group-item{
    padding:5px 10px;
}
.list-group-appointment .big-label{
    font-size: 13px;
    line-height: 25px;
}
.list-group-appointment .patient-data{
    margin-top: 5px;
}
.list-group-appointment .appointment-first{
    width:3px;
    background-color: #93C0DD;
    position: absolute;
    left: 0px;
    height:100%;
    top:0px;
}
.list-group-appointment .appointment-hour{
    width:60px;
}
.list-group-appointment .appointment-patient{
    width:200px;
	padding-left:35px;
}
.list-group-appointment .appointment-care{
    width:50px;
}
.list-group-appointment .appointment-actions{
    width:110px;
}
.list-group-appointment .appointment-treatment{
    font-weight: bold;
}
.list-group-appointment .appointment-status{
    float:left;
}
.list-group-appointment .week-badge {
    margin-top: 2px;
    position:absolute;
    right: 60px;
    background-color: #fff;
    color: #494949;
}
.list-group .patient-link{
    background-color: #f5f5f5;
    font-weight: bold;
}
.list-group-item .patient-name{
    padding-left:40px;
}
.actions-btn .icon{
    display:none;
}
.item-header .btn-xs{
    float: right;
    margin-top:-2px;
    margin-right: -2px;
}
#patient-links .list-group-item{
    padding: 4px 10px;
    text-align: center;
}
.patient-lastname{
    font-weight: bold;
    text-transform: uppercase;
}

.patient-buttons{
    text-align: right;
    margin-top:-3px;
}

.t-table{
    display:table;
    width:100%;
}
.t-table .t-row{
    display:table-row;
}
.t-table .t-cell{
    display:table-cell;
    vertical-align: middle;
}

.mobile-top-nav{
    background-color: #F5F5F5;
    margin-bottom: -10px;
    padding: 5px;
    border-top: 1px solid #DDD;
}

.page-title-header{

}
.page-title-header h2{
    padding: 0px 0px 10px;
    margin: 0px 0px 10px;
    border-bottom: 1px solid #DDD;
}
h5.patient-date{
    margin: 0px;
    margin-left: -19px;
    font-weight: bold;
    color: #2980B9;
    margin-bottom: 10px;
}
.list-group-item.item-header{
    background-color: #f5f5f5;
    font-weight: bold;
}

.navbar-form {
    width: auto;
    border: 0;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.navbar-form{
    position: absolute;
    top:0px;
    right:0px;
    margin-right:80px;
    width:250px;
}
.navbar .container{
    position: relative;
}
#jqstooltip{
    width:auto !important;
    height:auto !important;
}
@media (min-height: 33.875em){
    .picker--opened .picker__frame {
        top: 55px;
    }
}
.form-control[readonly].picker__input{
    cursor:pointer;
    background-color: #fff;
}

#add-photo-form{
    background-color: #FCFCFC;
    color:#A0A0A0;
    text-align: center;
}
#patient-details-btn{
    display: none;
}
.appointment-mobile-desc .t-cell{
    padding-top:2px;
    margin-top:2px;
    border-top: 1px solid #eee;
}
.appointments-table-row .appointment-infos{
    padding-right: 30px;
}
.patient-appointment.active{
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
#patient-appointment-top{
    position: fixed;
    height:40px;
    overflow: hidden;
    margin-top: -9px;
    left:0px;
    right:0px;
    z-index: 200;
}
.page-title-header.appointment-top{
    margin-top: 40px;
}
a.app-link:hover{
    text-decoration: none;
    color:#5E5E5E;
}
.app-link{
    height: 40px;
    display: block;
    padding:10px;
    border:1px solid #ddd;
    background-color: #F3F5F9;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color:#A0A0A0;
}
.app-link #app-music{
    position: absolute;
    margin-top: -3px;
    margin-right: auto;
    font-size: 25px;
    margin-left: -30px;
}
#app-music-link{
    text-align: center;
    padding-left: 50px;
    background-color: #2ECC71;
    border: 1px solid #27AE60;
    color: #FFF;
    text-transform: uppercase;
}
/*
 * Media Queries
 * --------------------------------------------------
*/
@media (max-width: 1199px) {
    .actions-btn .icon{
        display:inline;
    }
    .actions-btn .detail-text, .actions-btn .caret{
        display:none;
    }
}

@media (max-width: 991px) {
    .panel-stats .stat-icon{
        display:none;
    }
    .list-group-appointment .appointment-description{
        display:none;
    }
    #appointments-panel{
        margin-left: -15px;
        margin-right: -15px;
    }
    .appointments-table-row .appointment-infos{
        padding-right: 0px;
    }

}
@media (min-width: 768px) {
    #top-search-input{

        margin-top:2px;
    }
}
@media (max-width: 767px) {
    #dashboard-panel{

    }
    .list-group-appointment .appointment-mobile-desc{
        display: table-row !important;
    }
    .list-group-item .patient-name{
        padding-left: 15px;
    }
    .list-group-item .set_display_special{
        display:none;
    }
	.list-group-appointment .appointment-patient{
		padding-left:0px;
	}
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #fff;
    }
    .list-group-appointment .appointment-treatment, .list-group-appointment .appointment-actions, .list-group-appointment .appointment-status{
        display:none;
    }
    .list-group-appointment .appointment-patient{
        width:auto !important;
    }
    .list-group-appointment .appointment-care{
        text-align: right;
    }
    .navbar-form{
        width:150px;
        margin-top:10px;
        margin-right: 50px;
    }
    #patient-links .list-group-item{
        padding:2px 5px;
        font-size:11px;
        line-height: 12px;
    }
    #index-patient-panel{
        margin-left: -15px;
    }
    .patient-buttons{
        text-align: left;
        margin-top: 5px;
        margin-bottom: -10px;
        padding-bottom: 5px;
        border-top: 1px solid #DDD;
    }
    #patient-details-btn{
        display: inline-block;
    }
    .app-link .app-link-detail{
        display:none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .nav-text{
        display:none;
    }
    .list-group-item .patient-detail-info{
        padding-left: 40px;
    }
}
@media screen and (max-width: 767px) {
    .row-offcanvas {
        position: relative;
        -webkit-transition: all 0.25s ease-out;
        -moz-transition: all 0.25s ease-out;
        transition: all 0.25s ease-out;
    }
    .row-offcanvas.active .sidebar-offcanvas{
        display: block;
    }

    .row-offcanvas-right
    .sidebar-offcanvas {
        right: -50%; /* 6 columns */
        margin-right:15px;
    }

    .row-offcanvas-left
    .sidebar-offcanvas {
        left: -60%; /* 6 columns */
        width: 60% !important;
    }

    .row-offcanvas-right.active {
        right: 50%; /* 6 columns */

    }

    .row-offcanvas-left.active {
        left: 60%; /* 6 columns */

    }

    .sidebar-offcanvas {
        position: absolute;
        top: 0;
        width: 50%; /* 6 columns */
        display:none;
    }
}

/** PLUGINS **/

/* WYSIHTML5 */
ul.wysihtml5-toolbar {
    margin: 10px 0 5px;
    padding: 0;
    display: block;
}

ul.wysihtml5-toolbar::after {
    clear: both;
    display: table;
    content: "";
}

ul.wysihtml5-toolbar > li {
    float: left;
    display: list-item;
    list-style: none;
    margin: 0 5px 0 0;
}

ul.wysihtml5-toolbar a[data-wysihtml5-command=bold] {
    font-weight: bold;
}

ul.wysihtml5-toolbar a[data-wysihtml5-command=italic] {
    font-style: italic;
}

ul.wysihtml5-toolbar a[data-wysihtml5-command=underline] {
    text-decoration: underline;
}

ul.wysihtml5-toolbar a.btn.wysihtml5-command-active {
    background-image: none;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
    background-color: #E6E6E6;
    background-color: #D9D9D9;
    outline: 0;
}

ul.wysihtml5-commands-disabled .dropdown-menu {
    display: none !important;
}

ul.wysihtml5-toolbar div.wysihtml5-colors {
    display:block;
    width: 50px;
    height: 20px;
    margin-top: 2px;
    margin-left: 5px;
    position: absolute;
    pointer-events: none;
}

ul.wysihtml5-toolbar a.wysihtml5-colors-title {
    padding-left: 70px;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="black"] {
    background: black !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="silver"] {
    background: silver !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="gray"] {
    background: gray !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="maroon"] {
    background: maroon !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="red"] {
    background: red !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="purple"] {
    background: purple !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="green"] {
    background: green !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="olive"] {
    background: olive !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="navy"] {
    background: navy !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="blue"] {
    background: blue !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="orange"] {
    background: orange !important;
}

/* SHADOWBOX */
#sb-title-inner,#sb-info-inner,#sb-loading-inner,div.sb-message{font-family:"HelveticaNeue-Light","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:200;color:#fff;}
#sb-container{position:fixed;margin:0;padding:0;top:0;left:0;z-index:999;text-align:left;visibility:hidden;display:none;}
#sb-overlay{position:relative;height:100%;width:100%;}
#sb-wrapper{position:absolute;visibility:hidden;width:100px;}
#sb-wrapper-inner{position:relative;border:1px solid #303030;overflow:hidden;height:100px;}
#sb-body{position:relative;height:100%;}
#sb-body-inner{position:absolute;height:100%;width:100%;}
#sb-player.html{height:100%;overflow:auto;}
#sb-body img{border:none;}
#sb-loading{position:relative;height:100%;}
#sb-loading-inner{position:absolute;font-size:14px;line-height:24px;height:24px;top:50%;margin-top:-12px;width:100%;text-align:center;}
#sb-loading-inner span{background:url(loading.gif) no-repeat;padding-left:34px;display:inline-block;}
#sb-body,#sb-loading{background-color:#060606;}
#sb-title,#sb-info{position:relative;margin:0;padding:0;overflow:hidden;}
#sb-title,#sb-title-inner{height:26px;line-height:26px;}
#sb-title-inner{font-size:16px;}
#sb-info,#sb-info-inner{height:20px;line-height:20px;}
#sb-info-inner{font-size:12px;}
#sb-nav{float:right;height:16px;padding:2px 0;width:45%;}
#sb-nav a{display:block;float:right;height:16px;width:16px;margin-left:3px;cursor:pointer;background-repeat:no-repeat;}
#sb-nav-close{background-image:url(close.png);}
#sb-nav-next{background-image:url(next.png);}
#sb-nav-previous{background-image:url(previous.png);}
#sb-nav-play{background-image:url(play.png);}
#sb-nav-pause{background-image:url(pause.png);}
#sb-counter{float:left;width:45%;}
#sb-counter a{padding:0 4px 0 0;text-decoration:none;cursor:pointer;color:#fff;}
#sb-counter a.sb-counter-current{text-decoration:underline;}
div.sb-message{font-size:12px;padding:10px;text-align:center;}
div.sb-message a:link,div.sb-message a:visited{color:#fff;text-decoration:underline;}

/* Typeahead bootstrap3 fixes */
.twitter-typeahead .tt-query,
.twitter-typeahead .tt-hint {
    margin-bottom: 0;
    background: #fff !important;
}

.tt-dropdown-menu {
    
    padding: 0px;
    
    left: auto !important;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.2);
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}
.navbar .tt-dropdown-menu{
    min-width: 275px;
    margin-top: 7px;
    right:-43px !important;
}
.tt-suggestion {
    display: block;
    padding: 5px 10px;
    padding-top:10px;
    border-bottom: 1px solid #ddd;
}
.tt-suggestion:last-child{
    border-bottom: none;
}

.tt-suggestion .sub{
    color: #6D6D6D;
    font-size: 11px;

}
.tt-suggestion .patient-address{
    color: #494949;
}

.tt-suggestion.tt-is-under-cursor .sub{
    color: #fff;
}
.tt-suggestion .additional-info{
    background-color: #F5F5F5;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: -10px;
    margin-top: 5px;
    padding: 5px;
    border-bottom: 1px solid #DDD;
    border-top: 1px solid #DDD;
}


.tt-suggestion.tt-is-under-cursor {
    color: #fff;
    background-color: #0081c2;
    background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
    background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
    background-image: -o-linear-gradient(top, #0088cc, #0077b3);
    background-image: linear-gradient(to bottom, #0088cc, #0077b3);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0)
}
.tt-suggestion.tt-is-under-cursor .additional-info{
    background-color: #236C9C;
}

.tt-suggestion.tt-is-under-cursor a {
    color: #fff;
}

.tt-suggestion p {
    margin: 0;
}
.twitter-typeahead .tt-hint
{
    display: block;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0);
}

.twitter-typeahead .hint-small
{
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
    line-height: 1.5;
}

.twitter-typeahead .hint-large
{
    height: 45px;
    padding: 10px 16px;
    font-size: 18px;
    border-radius: 6px;
    line-height: 1.33;
}
#choose-patient-box .twitter-typeahead{
    display: block !important;
}
#choose-patient-box .tt-dropdown-menu {
    width: 100% !important;
    left: 0px !important;
    right: 0px !important;
    text-align: left;
    margin-top: 0px;
}

.dd-select a, .dd-select a:hover, .dd-options a, .dd-options a:hover{
    text-decoration: none;
}

/*WYSIHTML5*/
ul.wysihtml5-toolbar {
    margin: 0;
    padding: 0;
    display: block;
}

ul.wysihtml5-toolbar::after {
    clear: both;
    display: table;
    content: "";
}

ul.wysihtml5-toolbar > li {
    float: left;
    display: list-item;
    list-style: none;
    margin: 0 5px 10px 0;
}

ul.wysihtml5-toolbar a[data-wysihtml5-command=bold] {
    font-weight: bold;
}

ul.wysihtml5-toolbar a[data-wysihtml5-command=italic] {
    font-style: italic;
}

ul.wysihtml5-toolbar a[data-wysihtml5-command=underline] {
    text-decoration: underline;
}

ul.wysihtml5-toolbar a.btn.wysihtml5-command-active {
    background-image: none;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
    background-color: #E6E6E6;
    background-color: #D9D9D9;
    outline: 0;
}

ul.wysihtml5-commands-disabled .dropdown-menu {
    display: none !important;
}

ul.wysihtml5-toolbar div.wysihtml5-colors {
    display:block;
    width: 50px;
    height: 20px;
    margin-top: 2px;
    margin-left: 5px;
    position: absolute;
    pointer-events: none;
}

ul.wysihtml5-toolbar a.wysihtml5-colors-title {
    padding-left: 70px;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="black"] {
    background: black !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="silver"] {
    background: silver !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="gray"] {
    background: gray !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="maroon"] {
    background: maroon !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="red"] {
    background: red !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="purple"] {
    background: purple !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="green"] {
    background: green !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="olive"] {
    background: olive !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="navy"] {
    background: navy !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="blue"] {
    background: blue !important;
}

ul.wysihtml5-toolbar div[data-wysihtml5-command-value="orange"] {
    background: orange !important;
}

.playa  .btn-group  {
	text-align:center;
}

@media (max-width: 979px) and (min-width: 768px){
	.span4 .playa, .playa.span4{
		padding:0;
	}
}
@media (min-width: 768px){
	.playa .btn-group .btn {
		padding:4px 3px;
		margin:auto;
		display:inline-block;
		float:none;
	}
	.playa .btn-group .span1 {
		width:8%;
	}
	.playa .btn-group .span2 {
		width:16%;
	}
	.playa .btn-group .span3 {
		width:25%;
	}
	.playa .btn-group .span4{
		width:33%;
	}
	.playa.span2 .btn-group .btn, .playa.span1 .btn-group .btn, .span2 .playa .btn-group .btn, .span1 .playa .btn-group .btn{
		width:100%;
		display:block;
	}
	.span4.playa, .span3 .playa, .span2 .playa, .span1 .playa, .playa.span4, .playa.span3, .playa.span2, .playa.span1{
		padding:0;
		overflow:hidden;
	}
}
