.SFX_no_padding {
    padding: 0;
}

.calender_year_list_center {
    display: -webkit-flex;
    justify-content: center;
    text-align: center;
}

.SFX_Pointer {
    cursor: pointer;
    display: flex;
}

.calender_year_list {
    display: -webkit-flex;
    overflow-x: auto;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.calender_year_list .nav-link {
    background-color: #f2f2f2;
    color: #ababab;
    padding: 15px 40px;
    font-size: 12px;
    font-weight: 600;
    min-width: 100px;
    border-radius: 0;
    border-right: 1px solid #dcdcdc; 
}

.calender_year_list .nav-item:first-child .nav-link {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

.calender_year_list .nav-item:last-child .nav-link {
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    border-right: none; 
}

.calender_year_list .nav-link:hover {
    background-color: #dcdcdc;
    color: #000000;
}

.calender_year_list .nav-link.active,
.calender_year_list .nav-link.currentYear {
    background-color: #377dff !important;
    color: #fff !important;
    border-color: transparent;
}

.calender_year_list div {
    background-color: #f2f2f2;
    padding: 15px 40px;
    /*width: 14%;*/
    border-radius: 25px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: #ababab;
    min-width: 100px;
}

.calender_year_list div:not(:first-child) {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.calender_year_list div:not(:last-child) {
    border-right: 1px solid #dcdcdc;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    display: ruby;
}

.calender_year_list div:hover {
    background-color: #dcdcdc;
}

.calender_month_title {
    height: 80px;
    background-color: #f2f2f2;
    padding: 30px 30px;
    color: #ababab;
}

.calender_month_content {
    width: 100%;
    border-top: 1px solid #e5e5e5;
}

.currentYear {
    color: #ffffff !important;
    background-color: #377dff !important;
}

.panel-default {
    border: none;
}

.panel {
    border: 1px solid #e5e5e5;
    border-radius: 25px !important;
    padding: 0px;
    overflow: hidden;
}

.panel:not(:first-child) {
    margin-top: 40px !important;
}

.calender_day_item {
    padding: 30px;
}

.calender_day_item a div:empty {
    display: none;
}

.calender_day_item:not(:nth-child(4)) {
    border-right: 1px solid #e5e5e5;
}

.calender_quarter_time {
    font-size: 12px;
    color: #959595;
    padding-bottom: 10px;
}

.calender_quarter_desc {
    color: #333333;
    padding-top: 15px !important;
    font-size: 16px;
    font-weight: 500;
}

.calender_day_item_list {
    display: -webkit-flex;
    flex-wrap: wrap;
    width: 100%;
}

.BTN_button_block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.BTN_Show_button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: solid 2px #377dff;
    text-align: center;
    margin: 25px 0px;
    color: #377dff;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media(max-width: 1040px) {
    .calender_day_item {
        flex: 0 50%;
    }

    .calender_day_item:nth-child(2), .calender_day_item:nth-child(4) {
        border-right: none;
    }

    .calender_day_item:first-child, .calender_day_item:nth-child(3) {
        border-right: 1px solid #e5e5e5;
    }

    .calender_day_item:nth-child(3), .calender_day_item:nth-child(4) {
        border-top: 1px solid #e5e5e5;
    }
}

@media(max-width: 767px) {
    .calender_day_item {
        flex: 0 100%;
    }

    .calender_day_item:first-child, .calender_day_item:nth-child(3) {
        border-right: none;
    }

    .calender_day_item:nth-child(2) {
        border-top: 1px solid #e5e5e5;
    }

    .container_margin {
        margin-left: 15px;
        margin-right: 15px;
        width: auto;
    }
}

@media (min-width: 576px) {
    .SFX_Calendar.container, .SFX_Calendar.container-sm {
        max-width: inherit;
        width: inherit;
    }
}

@media (min-width:768px) {
    .SFX_Calendar.container {
        width: 750px;
        max-width: 750px;
    }
}

@media (min-width: 992px) {
    .SFX_Calendar.container {
        width: 970px;
        max-width: 970px;
    }
}

@media (min-width:1200px) {
    .SFX_Calendar.container {
        max-width: 1170px;
        width: 1170px;
    }
}

@media (min-width:1400px) {
    .SFX_Calendar.container {
        max-width: 1170px;
        width: 1170px;
    }
}
