.dp-custom .input-group {
    position:relative;
}

.datetimepicker input{
    height: 39px !important;
}

.dp-custom .form-control {
    padding-right: 45px;
    z-index: 1;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: solid 2px #e6e6e6;
    line-height: 35px;
    height: 39px !important;
}
.dp-custom .input-group-addon {
    display: block;
    width: 45px;
    position: absolute;
    top: 0px;
    z-index: 2;
    right: 0px;
    background: var(--main-color-50);
    height: 39px;
    text-align: center;
    line-height: 39px;
}

.register-page-container-v2 .dp-custom .input-group-addon,
.new-my-account-container .dp-custom .input-group-addon {
    top: 1.5rem;
    height: 2.5rem;
}

.dp-custom .input-group-addon:hover {
    background: var(--main-hover-color-50);
}
.dp-custom .fa-calendar {
    line-height: 39px;
}
.dp-custom .fa-calendar:before {
    color: #fff;
    font-size: 22px;
}
.dp-custom .dropdown-menu.bottom {
    display: block !important;
}
.dp-custom .bootstrap-datetimepicker-widget.dropdown-menu {
    margin: 2px 0;
    padding: 1px;
    width: 420px;
    position: absolute;
    left: 0 !important;
    top: 100% !important;
    height: 100%;
    inset: inherit !important;
    background: #fff;
    z-index: 3;
}
.dp-custom ul.list-unstyled {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    z-index: 1;
    background: #fff;
    flex-wrap: wrap;
    border: solid 1px #ddd !important;
    width: 420px;
}
.dp-custom ul.list-unstyled li {
    width: 270px;
}
.dp-custom ul.list-unstyled > li:nth-child(1) {
    order: 1;
    border-right: solid 1px #ddd;
    padding: 0 5px;
}
.dp-custom ul.list-unstyled > li:nth-child(2) {
    order: 3;
    border-right: solid 1px #ddd;
    padding: 0 5px;
}
.dp-custom ul.list-unstyled > li:nth-child(3) {
    order: 2;
    width: 145px;
}
.dp-custom .bootstrap-datetimepicker-widget .datepicker table,
.dp-custom .bootstrap-datetimepicker-widget .datepicker table thead,
.dp-custom .bootstrap-datetimepicker-widget .datepicker table tbody,
.dp-custom .bootstrap-datetimepicker-widget .datepicker table tr,
.dp-custom .bootstrap-datetimepicker-widget .datepicker table td,
.dp-custom .bootstrap-datetimepicker-widget .datepicker table th {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.dp-custom .bootstrap-datetimepicker-widget .datepicker table,
.dp-custom .bootstrap-datetimepicker-widget .datepicker table thead,
.dp-custom .bootstrap-datetimepicker-widget .datepicker table tbody,
.dp-custom .bootstrap-datetimepicker-widget .datepicker table tr {
    width: 100% !important;
    margin: 0 !important;
    padding: initial 0 !important;
}
.dp-custom .bootstrap-datetimepicker-widget .datepicker table th,
.dp-custom .bootstrap-datetimepicker-widget .datepicker table td {
    padding: 0 2px !important;
    width: 14.28% !important;
    height: 35px !important;
    line-height: 35px !important;
    margin: 0 !important;
    justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -msjustify-content: center;
}
.dp-custom .bootstrap-datetimepicker-widget .datepicker table th.picker-switch {
    width: 71.44% !important;
}
.dp-custom .bootstrap-datetimepicker-widget .datepicker table td.active:before {
    display: none !important;
}

.dp-custom .bootstrap-datetimepicker-widget table td.active {
    color: #fff;
    background-color: var(--main-color-50);
}
.dp-custom .bootstrap-datetimepicker-widget table td span.active {
    color: #fff;
    background-color: var(--main-color-50);
}
.dp-custom .picker-switch .table-condensed,
.dp-custom .picker-switch .table-condensed tbody,
.dp-custom .picker-switch .table-condensed tr,
.dp-custom .picker-switch .table-condensed td {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -msjustify-content: center;
    width: 100%;
}
.dp-custom .picker-switch .table-condensed td {
    margin: 3px !important;
    padding: 0 2px !important;
    width: calc(100% - 6px);
    color: #fff;
}
.dp-custom .picker-switch .table-condensed tr > td:first-child {
    display: none !important;
}
    .dp-custom .picker-switch .table-condensed td a {
        display: block;
        margin: 0 !important;
        padding: 7px 2px !important;
        line-height: 1.2 !important;
        height: auto !important;
        background: var(--main-color-50);
        border-radius: 4px;
        color: #fff;
        width: 100%;
        transition: all .3s;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        -ms-transition: all .3s;
        -o-transition: all .3s;
    }
        .dp-custom .picker-switch .table-condensed td a:hover {
            background: var(--main-hover-color-50);
        }
.dp-custom .picker-switch .table-condensed td a span {
    line-height: 1 !important;
    height: auto !important;
    display: block;
    color: #fff;
    width: 100%;
    background: transparent !important;
}
.dp-custom .prev .glyphicon-chevron-left,
.dp-custom .next .glyphicon-chevron-right {
    display: inline-block;
    font: normal normal normal 14px/35px FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.dp-custom .prev .glyphicon-chevron-left:before {
    content: "\f053";
}
.dp-custom .next .glyphicon-chevron-right:before {
    content: "\f054";
}
.dp-custom .bootstrap-datetimepicker-widget .datepicker .datepicker-years table td {
    width: 100% !important;
    height: auto !important;
    line-height: 54px !important;
}
.dp-custom .bootstrap-datetimepicker-widget .datepicker .datepicker-years table td .year {
    width: 25% !important;
    margin: 2px 0 !important;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -msjustify-content: center;
}
.dp-custom .bootstrap-datetimepicker-widget .datepicker .datepicker-months table td {
    height: auto !important;
    width: 100% !important;
}
.dp-custom .bootstrap-datetimepicker-widget .datepicker .datepicker-months table td .month {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -msjustify-content: center;
    width: 25% !important;
    margin: 2px 0 !important;
}
.dp-custom .bootstrap-datetimepicker-widget .datepicker .datepicker-decades table td {
    width: 100% !important;
}
.dp-custom .bootstrap-datetimepicker-widget .datepicker .datepicker-decades table td .decade {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -msjustify-content: center;
    width: 50% !important;
    margin: 2px 0 !important;
    line-height: 40px !important;
    height: 40px !important;
}
.dp-custom .bootstrap-datetimepicker-widget .datepicker .datepicker-decades table td span:empty {
    display: none !important;
}

.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed,
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed tbody,
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed tr,
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed td {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -msjustify-content: center;
    width: 100%;
}
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed td {
    height: auto;
    padding: 0;
}
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed td:nth-child(1),
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed td:nth-child(3) {
    width: 30%;
    margin: 2px 0 !important;
}
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed td:nth-child(2) {
    width: 10%;
    margin: 2px 0 !important;
}
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed td:nth-child(4) {
    width: 30%;
    margin: 2px 0 !important;
}
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed td .btn {
    background: none;
    color: #000;
    height: auto;
}
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed td .btn:after {
    display: none;
}
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed td .glyphicon {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: auto;
}
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed td .glyphicon-chevron-up:before {
    content: "\f077";
}
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed td .glyphicon-chevron-down:before {
    content: "\f078";
}
    .dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed td:nth-child(4) .btn {
        background: var(--main-color-50);
        color: #fff;
    }
        .dp-custom .bootstrap-datetimepicker-widget .timepicker-picker .table-condensed td:nth-child(4) .btn:hover {
            background: var(--main-hover-color-50);
            color: #fff;
        }
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker:before {
    content: attr(data-before);
    font-size: 20px;
    color: #000;
}
.dp-custom .bootstrap-datetimepicker-widget .timepicker-picker {
    text-align: center;
    margin-top: 60px;
}

.dp-custom .no-hour ul.list-unstyled {
    width: 270px;
}

.dp-custom .no-hour .bootstrap-datetimepicker-widget.dropdown-menu {
    width: 270px;
}

@media (max-width: 1100px) {
    .csm-input {
        width: 25% !important;
    }

    .csm-btn {
        width: 25% !important;
    }
}

@media (max-width: 992px) {
    .csm-input {
        width: calc(50% - 200px) !important;
    }

    .csm-input.csm-calendar {
        width: 250px !important;
    }

    .csm-btn {
        width: 150px !important;
    }
}

@media (max-width: 767px) {
    .csm-input {
        width: 50% !important;
    }

    .csm-input.csm-calendar {
        padding: 0 !important;
    }

    .online-nutritionist .csm-calendar {
        padding: 0 0.75rem !important;
    }

    .csm-btn {
        clear: both;
        padding: 0 !important;
    }

    .online-nutritionist .csm-btn {
        clear: none;
        padding: 0 0.75rem !important;
    }
}

@media (max-width: 600px) {
    .csm-input,
    .csm-input.csm-calendar {
        width: 100% !important;
    }
}

@media (max-width: 600px) {
    .online-nutritionist .csm-btn {
        clear: both !important;
        width: 100% !important;
    }
}

@media (min-width: 600px) {
    .online-nutritionist .csm-btn {
        clear: none !important;
    }
}

@media (max-width: 480px) {
    .dp-custom .bootstrap-datetimepicker-widget.dropdown-menu {
        width: 100%;
    }

    .dp-custom ul.list-unstyled {
        width: 100%;
    }

    .dp-custom ul.list-unstyled li {
        width: calc(100% - 105px);
    }

    .dp-custom ul.list-unstyled > li:nth-child(3) {
        width: 100px;
    }
}

@media (max-width: 400px) {

    .dp-custom ul.list-unstyled li,
    .dp-custom ul.list-unstyled > li:nth-child(3) {
        width: 100%;
    }
    .dp-custom .bootstrap-datetimepicker-widget .timepicker-picker {
        margin-top: 20px;
    }
}