/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */
















 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #28a745;
}

input:focus + .slider {
    box-shadow: 0 0 1px #28a745;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
/*************************************************************/
/*************************************************************/
/*************************************************************/

@font-face {
    font-family: 'Gotham-Light';
    src: url('fonts/Gotham-Light.eot');
    src: url('fonts/Gotham-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/Gotham-Light.woff2') format('woff2'),
        url('fonts/Gotham-Light.woff') format('woff'),
        url('fonts/Gotham-Light.ttf') format('truetype'),
        url('fonts/Gotham-Light.svg#Gotham-Light') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham-LightItalic';
    src: url('fonts/Gotham-LightItalic.eot');
    src: url('fonts/Gotham-LightItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/Gotham-LightItalic.woff2') format('woff2'),
        url('fonts/Gotham-LightItalic.woff') format('woff'),
        url('fonts/Gotham-LightItalic.ttf') format('truetype'),
        url('fonts/Gotham-LightItalic.svg#Gotham-LightItalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham-Book';
    src: url('fonts/Gotham-Book.eot');
    src: url('fonts/Gotham-Book.eot?#iefix') format('embedded-opentype'),
        url('fonts/Gotham-Book.woff2') format('woff2'),
        url('fonts/Gotham-Book.woff') format('woff'),
        url('fonts/Gotham-Book.ttf') format('truetype'),
        url('fonts/Gotham-Book.svg#Gotham-Book') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham-Black';
    src: url('fonts/Gotham-Black.eot');
    src: url('fonts/Gotham-Black.eot?#iefix') format('embedded-opentype'),
        url('fonts/Gotham-Black.woff2') format('woff2'),
        url('fonts/Gotham-Black.woff') format('woff'),
        url('fonts/Gotham-Black.ttf') format('truetype'),
        url('fonts/Gotham-Black.svg#Gotham-Black') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham-Bold';
    src: url('fonts/Gotham-Bold.eot');
    src: url('fonts/Gotham-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Gotham-Bold.woff2') format('woff2'),
        url('fonts/Gotham-Bold.woff') format('woff'),
        url('fonts/Gotham-Bold.ttf') format('truetype'),
        url('fonts/Gotham-Bold.svg#Gotham-Bold') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*************************************************************/
/*************************************************************/
/*************************************************************/




.page-container {
    min-height: 100vh;
    padding-left: 0;
    transition: all 0.2s ease;
}
.header.navbar {
    padding: 0;
    width: 100%;
        background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.0625);
    position: fixed;
    z-index: 999999999999999999;
}
.header-container {
    width: 100%;
}
.navbar {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}
.header .header-container .nav-left {
    float: left;
    margin-left: 15px;
}
.header .header-container .nav-left, .header .header-container .nav-right {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    position: relative;
}
.header .header-container .nav-right {
    float: right;
}
.header .header-container .nav-left > li, .header .header-container .nav-right > li {
    float: left;
    color: #72777a;
    display: block;
    line-height: 65px;
    min-height: 65px;
    padding: 0 15px;
    transition: all 0.2s ease-in-out;
}
.header {
    background-color: #efefeff6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.0625);
    height: 65px;
    margin-bottom: 0;
    padding: 0;
    transition: all 0.2s ease;
    z-index: 800;
}
.sidebar-logo{
    flex-wrap: nowrap;
    align-items: center;
    display: flex;
    padding: 0 20px;
}
.sidebar-menu{
    margin-top: 30px;
}
.sidebar-menu > li > a .icon-holder {
    border-radius: 6px;
    display: inline-block;
    font-size: 17px;
    height: 35px;
    left: 0;
    line-height: 35px;
    margin-right: 14px;
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
    width: 35px;
}
.sidebar-logo .mobile-toggle {
    /*display: none;*/
    float: right;
    font-size: 18px;
    line-height: calc(65px - 1px);
}
.dashboard {
    background-image: linear-gradient(#ffffff00, #ffffff00), url(../img/background-dashboard-krh.jpg);
    background-size: cover;
    padding: 100px 50px 50px;
    min-height: calc(100vh);
}
.dashboard #mainContent {
    background-color: #ffffffe1;
    min-height: 740px;
    padding: 20px;
    border-radius: 10px;
}
#formModifyPwd input{
    width: 30%;
    margin: auto;
}

.justify-content-center{
    -ms-flex-pack: center !important;
    justify-content: center !important;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
}
.justify-content{
    -ms-flex-pack: center !important;
    justify-content: center !important;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
}
.grey {
background-color: #f4f4f4 !important;
    margin-bottom: 5px;
    padding: 20px;
    opacity: .9;
    border-radius: 10px !important;
}
.center{
    text-align: center;
}
.btn.btn-primary{
    border-color: #28a745;
    background-color: #28a745;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    cursor: pointer !important;
        font-family: Gotham-Book !important;
    letter-spacing: .5px !important;
}
.btn-primary:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}
hr{
    width: 90%;
    margin: auto;
}
.filtres #button{
    float: right;
}

#planningTable
{
    background-color: #f3f3f3 !important;
}

.btn.btn-unconnect {
    border-color: #dc3545;
    background-color: #dc3545;
    color:#ffffff;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
     font-family: Gotham-Book !important;
    letter-spacing: .5px !important;
    margin-top: 5px !important;

}
.btn.btn-unconnect:hover {
    border-color: #a52929;
    background-color: #a52929;
    cursor: pointer;
}
.btn.btn-unconnect:focus {
    border-color: #dc3545;
    background-color: #dc3545;
    cursor: pointer;
}

.btn.btn-connect {
    border-color: #35dc7b;
    background-color: #35dc7b;
    color:#ffffff;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
     font-family: Gotham-Book !important;
    letter-spacing: .5px !important;
    margin-top: 5px !important;

}
.btn.btn-connect:hover {
    border-color: #29a569;
    background-color: #29a569;
    cursor: pointer;
}
.btn.btn-connect:focus {
    border-color: #35dc7b;
    background-color: #35dc7b;
    cursor: pointer;
}

.col-auto {
    text-align: center !important;
}

.ui-datepicker tbody  {
    background-color: #ffffff !important;
        border-radius: 5px !important;
}

.ui-datepicker {
    width: 316px !important;
    font: 15px Arial, sans-serif !important;
     border-top-left-radius: 5px;
    border-top-right-radius: 5px;
        border-radius: 5px !important;
}

.ui-datepicker td span, .ui-datepicker td a {
    width: 100% !important;

}

.ui-datepicker-header {
    background: #28a745 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    line-height: 53px !important;
    border-width: 0 0 0 0 !important;
    border-style: none !important;
    border-color: none !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-transform: uppercase ;
}
.ui-datepicker th {
    font-size: 13px !important;
    color: #222222 !important;
    text-shadow: 1px 0px 0px #fff;
    filter: dropshadow(color=#fff, offx=1, offy=0);
    text-align: center !important;
    background: #f8f8f8 !important;
        padding-top: 7px !important;
}

.ui-datepicker-calendar .ui-state-default {
    background: #dede !important;
    background: -moz-linear-gradient(none) !important;
    background: -webkit-gradient(none) !important;
    background: -webkit-linear-gradient(none) !important;
    background: -o-linear-gradient(none) !important;
    background: -ms-linear-gradient(none) !important;
    background: linear-gradient(none) !important;
    filter: progid:DXImageTransform.Microsoft.gradient( none ) !important;
        color: #999999 !important;
    font-weight: 100 !important;


}

.ui-datepicker-calendar .ui-state-active {

    color: #ffffff !important;
        background: #28a745 !important;
font-weight: 500 !important;

}

.ui-datepicker-next {
    background-position: center 5px !important;
    background-size: 110% !important;
        margin-right: 20px;
    margin-top: 3px;
}

.ui-datepicker-prev {
    background-position: center -33.6px !important;
    background-size: 110% !important;
            margin-left: 20px;
    margin-top: 2px;
}

.ui-datepicker td span, .ui-datepicker td a {

    text-shadow: none !important;

}

.ui-datepicker-calendar .ui-state-active {
    -webkit-box-shadow: none !important;
    -moz-box-shadow:  none !important;
    box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, .1);
    text-shadow:  none !important;
    filter: dropshadow( none !important);
    border:  none !important;
    position: relative;
    margin: 0 !important;
}

.form-control {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #28a745 !important;
    background-color: #ffffff !important;
    border: 1px solid #28a745 !important;
    border-radius: 5px !important;
    letter-spacing: 1px !important;
    font-family: Gotham-Bold !important;
    cursor: pointer !important;
}

label {
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: .5px !important;
    font-family: Gotham-Light;
}

label[for="appt1"] {
      font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: .5px !important;
    font-family: Gotham-Light;
}
label[for="appt2"] {
      font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: .5px !important;
    font-family: Gotham-Light;
}

select#appt1 {
        color: #28a745 !important;
      font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: .5px !important;
        font-family: Gotham-Bold;

}
select#appt2 {
        color: #28a745 !important;
      font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: .5px !important;
        font-family: Gotham-Bold;

}

label[for="dated"] {
      margin-top:10px !important;
        font-family: Gotham-Book;

}
label[for="datepickerf"] {
      margin-top:10px !important;
        font-family: Gotham-Light;
        font-family: Gotham-Book;
}
label[for="comment"] {
      margin-top:10px !important;
        font-family: Gotham-Book;

}

::placeholder {
       font-size: 15px !important;
        color: #28a745 !important;
font-weight: 100 !important;
        font-family: Gotham-Light;

}

.suppr {
        margin-top: 7px !important;
}

button.btn.btn-primary.mb-2.log {
    margin-top: 11px !important;
    height: 40px !important;
    border: 1px solid #28a745 !important;
    cursor: pointer !important;
}

a.btn.btn-primary.mb-2.logfailed {
    background: none;
    color:#222222;
    cursor: pointer !important;
    border:none;
    font-size: 12px;
}
a.btn.btn-primary.mb-2.logfailed:hover {
    background: none;
text-decoration:underline;
        border:none;

}
a.btn.btn-primary.mb-2.logfailed:focus {
    background: none;
text-decoration:underline;
    border:none;

}

button#buttonsbmt {
        margin-top: 11px !important;
    height: 40px !important;
    border: 1px solid #28a745 !important;
    cursor: pointer !important;
}

.h1, h1 {
        font-size: 30px;
    font-family: Gotham-Book;
    color: #28a745;
}

span.hello {
    font-family: Gotham-Light;
    letter-spacing: .5 !important;
    color:#222222 !important;
        font-size: 12px;
}
p2 {
    font-family: Gotham-Bold;
    letter-spacing: .5 !important;
        color:#222222 !important;
    font-size: 12px;

}

.table thead th {
    border-bottom: none !important;
    /*width: 20%;*/
}

.table td, .table th {

    border-top: none !important;
}

.btn-filters {
    background-color: #35DC7B !important;
    transition: 1s;
}

.sidebar {
    background-color: #fff;
    bottom: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    transition: all 0.2s ease;
    width: 260px;
    z-index: 1000;
    display:none ;
}

#sidebar {display:none}
#hide {display:block;}
#sidebar:target {display: block; }
#hide:target {display: none; }


@media only screen and (max-device-width : 480px) {

    .header .header-container .nav-left > li, .header .header-container .nav-right > li {

    display: none;
}
    .h1, h1 {
    text-align: center;
}
form#conges {
    padding-left: 0% !important;
    padding-right: 0% !important;
}
    .dashboard {
    padding: 100px 5px 0px;
}
}
    form#conges {
    padding-left: 25%;
    padding-right: 25%;
}

.sidebar-menu li a {
    color: #222222;
    text-decoration: none
}

button, input, optgroup, select, textarea {
    text-align: center;
}

.btn-add {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

textarea#comment.form-control {
    text-align: left
}

.table td, .table th {
    padding-left: 1px !important;
    padding-right: 1px !important;
    vertical-align: inherit;
}
.table {
    margin-top: 1rem;
}

.oldDate:first-child {
    background-color: red;
}

.oldDates {
    border-top: 2px solid #898989;
}

.oldDates ~ .oldDates {
    border: none;
}

.underline--magical {
    background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.2em;
    background-position: 0 88%;
    transition: background-size 0.25s ease-in;

}

.underline--magical2 {
    border: #84fab0 solid 4px;
    border-radius: 50px;
}


