body{background: #ebeff2;}
body.admin{background: #36404a;}
body.admin .container{width: 95%;}
.container{background: #FFF;}
.container.bordered{border-radius: 4px;border:1px solid #e7e7e7;}
.container.main{padding-top:15px;padding-bottom: 15px;}
.container.rec{padding-top:10px;}
.container.alert-success{background: #dff0d8;}
.container.alert-info{background: #d9edf7;}
.container.alert-warning{background: #fcf8e3;}
.container.alert-danger{background: #f2dede;}
.alert.alert-danger{color:#e42625;border-color: #e42625;}

a:hover{color:#5fbeaa;}
.space-sub{margin-bottom: 40px;}
.sep-bot{margin-bottom: 10px;}
.badge.badge-custom, .panel-default > .panel-heading .badge.badge-custom{background: #40A497;}
.pointer{cursor: pointer;}
ul.spaced li{margin-bottom: 5px;}
.badge.badge-custom{min-width: 40px;text-align: center;}


header#header{background: #fff;margin-bottom: 20px;text-align: center;border-bottom:1px solid #e7e7e7;}
header#header h1{color:#5fbeaa;text-transform: uppercase;font-size: 34px;margin: 0px;}
header#header h1 img{max-width: 100%;}
header#header .container{}

/*menu nav*/
.navbar-nav{float:none;}
.container.sticky-nav{padding:0;background: none;}
#menu-sticky{z-index: 100;}
.sub-sticky{margin-bottom: 20px;}

/*breadcrumb*/
.breadcrumb.container{background: none;}

/*couleurs*/
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover{background: #5fbeaa;color:#FFF;}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover{background: #5fbeaa;}
.navbar-default .navbar-nav > .light > a{font-weight: 700;color:#000;}


/*.btn-primary{background: #5fbeaa;border:#40A497;}
.btn-primary:hover{background: #40A497;}*/
.btn-custom{background-color: #5fbeaa;border-color: #40A497;color: #fff;}
.btn-custom:hover{background: #40A497;color: #fff;}
.btn-top .btn{margin-top:10px;}
.toggle-target{cursor: pointer;}
.btn select{color:#000;}

.alert-warning.change-manager{padding: 5px;margin-left: 15px;}
.alert-warning.change-manager.no-rec{margin-left: 0;}
.list-group-item.alert-danger, .list-group-item.alert-danger:hover {background-color: #f2dede;border-color: #ebccd1;color: #a94442;}
.list-group-item.bck-color{color:#fff;background: #ccc;}
.alert.msg-custom{color:#000;background-color: #f4fffd;border-color: #40A497;text-align: justify;}

/*timetable / calendar */
.glob-table{overflow-x:auto;}
table.table-timetable{border-spacing: 2px;border-collapse: separate;margin-bottom: 0;}
table.table-timetable .multiple-same-time{border:1px solid #888;padding: 1px;}
table.table-timetable .multiple-same-time select.select-same-time{}
table.table-timetable th{text-align: center;background: #f0f0f0;min-width: 160px;}
table.table-timetable th.col-hours{min-width: 0px;}
table.table-timetable th.day-close{color:#ccc;width: 8%;}
table.table-timetable th.day-active{background: #d9edf7;}
table.table-timetable tr td{border: none;/*height: 58px;*/padding: 0;padding-bottom: 20px;}
table.table-timetable tr td.time-hour{text-align: center;/*vertical-align: middle;*/}
table.table-timetable td .session{background: #5fbeaa;padding:5px;color:#fff;font-size: 12px;width:100%;border:1px solid #888;overflow: hidden;}
table.table-timetable td .multiple-same-time .session{display:none;}
table.table-timetable td .session.locked{background: #ccc;}
table.table-timetable td .session.restricted.currently-restricted{opacity: 0.5;}
table.table-timetable td .session a{color:#fff;}
table.table-timetable td .session ul{margin-bottom: 0;}
table.table-timetable td .session ul li .important{background: #ccc;border-radius: 5px;color: #000;padding: 2px;}
table.table-timetable td .session ul li.highlight{background: #fff;color:#000;border-radius: 3px;}
table.table-timetable td .session ul li.highlight a{color:#000;}
.cal-loader{text-align: center;font-size: 48px;}

.legend-activity-color{display:inline-block;background: #5fbeaa;border-radius: 10px;height: 15px;vertical-align: middle;width: 15px;}

/*form*/
fieldset {border-bottom: 1px solid #DDD;padding: 0 1.4em 1.4em 1.4em;margin: 0 0 1.5em 0;}
textarea.longtext{min-height: 200px;}
/*input:invalid, input:out-of-range {border-color:#FF1800;}*/
input:required, select:required, textarea:required {border-color: #e42625;box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;}
input:required:valid, select:required:valid, textarea:required:valid{border: 1px solid #ccc;}
table tr.vaccine-form, .legend.vaccine-form{background: #e7e7e7;}
table tr.mandatory, .legend.mandatory{background: #DEFED0;}
/*child form*/
#child_add_illness .checkbox{width: 33%;display:inline-block;}

/*détails*/
tr.sep-table{background: #f5f5f5;}

/*legend child*/
.custom-legend-color{color:#333;display: inline-block;padding: 2px;background: #ccc;border-radius: 10px;min-width: 40px;text-align: center;font-size: 0.8em;border:1px solid #ddd;margin-left:5px;margin-right: 5px;}
/*first*/
.custom-legend-color.color-1{background: #FEE099;}
.custom-legend-color.color-2{background: #DEFED0;}
.custom-legend-color.color-3{background: #C4D2E3;}
.custom-legend-color.color-4{background: #CFC9FA;}
.custom-legend-color.color-5{background: #FEC6AE;}
.custom-legend-color.color-6{background : #E3C2DA;}
.custom-legend-color.color-7{background : #F7FEB4;}
.custom-legend-color.color-8{background : #D1E6D9;}
.custom-legend-color.color-9{background : #E5FAAA;}
.custom-legend-color.color-10{background : #FEDDC9;}
.custom-legend-color.color-11{background: #D1C7DE;}
.checkox.custom-legend-color{padding-right: 5px;}
.checkox.custom-legend-color input{margin-right: 3px;margin-left:5px;vertical-align: sub;}

/*table error line*/
table tr.alert-danger{background: #f2dede !important;}

.panel-togglable{}
.panel-togglable .toggle-button{cursor: pointer;margin-left: 10px;}
.panel-togglable .panel-body{display:none;}

/*datatable*/
table tr td .button-action-4{width: 150px;}
table tr td .button-action-3{width: 110px;}
table tr td .button-action-2{width: 75px;}

/*loader*/
#hideAll{position: fixed;left: 0px; right: 0px; top: 0px; bottom: 0px; background-color: white;z-index: 999;}
#hideAll .loader{text-align: center;padding-top: 50px;}

/*cart*/
#cart-menu-value .cart-positive{background: #DEFED0;color:#333;}
#cart-menu-value .cart-negative{background: #e42625;}

/**/
.mailbox-col{border:1px solid #ccc;border-radius: 6px;padding-top:5px;margin-bottom: 10px;}

/**/
.navbar-header .navbar-brand{padding: 0;}
#glob-search{margin-left: -25px;background: transparent;border:1px solid #ccc;padding: 3px;padding-left: 25px;width: 25px;height:100%;}

#glob-search:focus {width: 100%;}
#glob-search-result{position: absolute;top:50px;background: #fff;border:2px solid #36404a;width: 100%;padding:10px;z-index: 110;left:0;display:none;}
#glob-search-result .close{float: right;}


#glob-result-error{min-height: 20px;text-align:center;}
table.table-planning-day th{font-size: 11px;}
table.table-planning-day tr td.reserved{background: #dff0d8;}
table.table-planning-day tr td.reserved.contract{background: #5fbeaa;}
table.table-planning-day tr td.reserved.canceled{background: #ebccd1}
table.table-planning-day tr td.reserved.multi{border-bottom: 3px solid #67b168;}
table.table-planning-day tr td.reserved.adaptation{border-top: 3px solid #86ff95;}

table.table-planning-day tr td.single-time, table.table-planning-day tr td.single-time-locked{text-align: center;cursor: pointer;}
table.table-planning-day tr td.single-time:hover{opacity: 0.7;}
table.table-planning-day tr td.single-time:hover i.fa{color:#000;}
table.table-planning-day tr td i.fa{color:#777;}

td.oktime-contract-v2{background: #5fbeaa;}
td.oktime-contract-v2 a{color:#fff;}

td .oktime-contract-v2{background: #5fbeaa;padding: 5px;margin:-5px;}
td .noktime-contract-v2{background: #ebccd1;padding: 5px;margin:-5px;}
td.single-realtime-cell{}

.important-form-label{color:#e42625;text-transform: uppercase;font-weight: 700;font-size: 1.2em;}

body.admin .dropdown-submenu{ position: relative; }
body.admin .dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
body.admin .dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
body.admin .dropdown-submenu:hover>a:after{border-left-color:#555;}
body.admin .dropdown-submenu.pull-left{ float: none; }
body.admin .dropdown-submenu.pull-left>.dropdown-menu{left: -100%;margin-left: 10px;-webkit-border-radius: 6px 0 6px 6px;-moz-border-radius: 6px 0 6px 6px;border-radius: 6px 0 6px 6px;}

@media screen and (min-width:768px) {
    .container.nursery{width: 650px}
}