
#datetimepicker {
    display: flex;
    justify-content: center;
    margin: 0;
    min-height: 375px;
}

/*
#datetimepicker .date-part {
    width: 50%;
}

#datetimepicker .time-part {
    width: 50%;
}
*/

#datetimepicker header {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid #ccc;
    font-size: 18px;
}

#datetimepicker .date-part {
}

#datetimepicker .date-part > div,
#datetimepicker .time-part > div {
    height: calc(100% - 56px);
    padding: 25px;
}

#datetimepicker .time-part > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px 50px;
}

#datetimepicker .date-header {
	display: flex;
	/* width: 258px; */
	justify-content: center;
    align-items: center;
	text-align: center;
    padding: 0;
    padding-bottom: 10px;
    margin: auto 5px;
    font-size: 18px;
}

#datetimepicker .date-header .header-button-container {
    width: 20%;
    width: auto;
    display: flex;
    justify-content: center;
}

#datetimepicker .date-header .header-button-container:first-child {
    margin-right: auto;
}

#datetimepicker .date-header .header-button-container:last-child {
    margin-left: auto;
}

#datetimepicker .date-header .header-button-container button {
    outline: 0;
    cursor: pointer;
    border: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    background: #e5f0f5;
    border-radius: 25px;
    height: 20px;
    width: 30px;
}

#datetimepicker .date-header .header-button-container img {
    width: 11px;
    height: 11px;
    vertical-align: middle;
}
#datetimepicker .date-header .month-container,
#datetimepicker .date-header .year-container {
    width: 30%;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
#datetimepicker .date-header .year-container {
    margin-left: 10px;
}

#datetimepicker .date-calendar {
    background: none;
}

#datetimepicker .date-row {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	text-align: center;
}

#datetimepicker .date-row.date-days {
    font-weight: 600;
    padding: 10px 0px;
    background: #eee;
}

#datetimepicker .date-row.date-days > div > span {
    display: inline-block;
    width: 30px;
    font-size: 12px;
}

#datetimepicker .date-row > div {
    padding: 4px;
}

#datetimepicker .date-row > div > button {
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0);
    padding: 0;
    background: none;
    width: 30px;
    height: 30px;
    font-family: inherit;
    font-size: 16px;
    line-height: normal;
    color: rgba(4, 28, 37, 0.5);
    outline: none;
    cursor: pointer;
    background: #f3f3f3;

    background: #e5f0f5;
    color: #6c94a6;
    transition: 0.2s;
}

/*
clair:
bg: #fcfcfc
border: #e5f0f5
text: #c7e0eb

gris:
border: transparent;
bg: #f3f4f5
text: #6c94a6

bleu normal:
border: transparent
bg: #e5f0f5
text: #6c94a6

bleu today:
border: #6c94a6

bleu select:
bg: #00aaff
color: #fff
*/

#datetimepicker .date-row > div > button.date-today {
    border-color: #6c94a6;
}

#datetimepicker .date-row > div > button.date-disabled {
    cursor: not-allowed;
    background: #f3f4f5;
    color: #6c94a6;
}

#datetimepicker .date-row > div > button.date-not-current {
    background: #fcfcfc;
    color: #c7e0eb;
    border-color: #e5f0f5;
}

#datetimepicker .date-calendar .date-row > div > button.date-clicked {
    background: #00aaff;
    color: #fff;
    border-color: #00aaff;
}

#datetimepicker .date-selected-container {
    width: 100%;
    text-align: center;
    padding: 10px 0px;
    font-weight: 600;
}

/*
#datetimepicker .date-clock {
    text-align: center;
}

#datetimepicker .date-clock > span {
    display: inline-block;
    padding: 10px 0px;
}

#datetimepicker .date-clock > div {
    font-size: 50px;
    color: #0CD9E8;
    padding: 10px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#datetimepicker .date-time-separator {
    margin: 0px 10px;
    position: relative;
    bottom: 6px;
}

#datetimepicker #date-hours,
#datetimepicker #date-minutes {
    cursor: pointer;
}

#datetimepicker .date-buttons {
    display: flex;
    justify-content: space-between;
    padding: 15px;
}

#datetimepicker #date-cancel {
    border: none;
    background: none;
    color: #ccc;
    font-size: 16px;
}

#datetimepicker #date-valid {
    border: none;
    background: #00aaff;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 3px;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.2);
}
*/
#datetimepicker .date-time-container {
    position: relative;
}

#datetimepicker .date-time-container:last-child {
    padding-top: 25px;
}

#datetimepicker .date-time-fake-select {
    font-size: 18px;
    font-weight: bold;
    color: #1F4875;
    padding: 5px 25px;
    padding-right: 50px;
    border-radius: 25px;
    
    background: rgb(238,238,238);
    background: -moz-linear-gradient(top, rgba(238,238,238,1) 0%, rgba(204,204,204,1) 100%);
    background: -webkit-linear-gradient(top, rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
    background: linear-gradient(to bottom, rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 );
}

#datetimepicker .date-time-fake-select > div {
    content: '';
    display: inline-block;
    position: absolute;
    height: 100%;
    width: 35px;
    top: 0;
    right: 0;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    z-index: 10;
    
    background: rgb(221,221,221);
    background: -moz-linear-gradient(top, rgba(221,221,221,1) 0%, rgba(187,187,187,1) 100%);
    background: -webkit-linear-gradient(top, rgba(221,221,221,1) 0%,rgba(187,187,187,1) 100%);
    background: linear-gradient(to bottom, rgba(221,221,221,1) 0%,rgba(187,187,187,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dddddd', endColorstr='#bbbbbb',GradientType=0 );
}

#datetimepicker .date-time-fake-select > div img {
    width: 14px;
    height: 100%;
}

#datetimepicker .date-time-container:last-child .date-time-fake-select {
    margin-left: 10px;
}

#datetimepicker .custom-select button {
    min-width: 140px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#datetimepicker .custom-select button > div {
    height: 40px;
}

#datetimepicker .custom-select button > div:first-child {
    padding: 0px 15px;
}

/* Modal */
#datetimepickerModal .modal-dialog {
    width: auto;
}

#datetimepickerModal .modal-body {
    padding: 0;
}

@media (max-width: 768px) {
    /*
    #datetimepicker .custom-select button {min-width: 125px;}
    #datetimepicker .custom-select button > div {height: 30px;}
    */

    #datetimepicker {}
    #datetimepicker .date-header {}
    #datetimepicker .date-header .header-button-container button {}
    #datetimepicker .date-header .header-button-container img {}
    #datetimepicker .date-row > div > button {width: 25px; height: 25px; font-size: 14px;}
    
    #datetimepicker .custom-select button {height: 40px; font-size: 16px;}
    #datetimepicker .custom-select button > div {height: 40px;}
    #datetimepicker .custom-select ul {top: 40px;}
}



