.err {
    font-size: 15px;
    text-transform: inherit;
    color: red;
}

.succ {
    font-size: 15px;
    font-weight: 500;
    text-transform: inherit;
    color: #1e7124;
}

.navbar-dark .navbar-nav .nav-link,.navbar-dark .navbar-nav .nav-link:hover{
    color: white;
}

#wrapper{
    position: relative;
}


/* ************************************************************************************* */


/* Reset Select */

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    position: relative;
}

select option {
    padding: 10px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    background-color: #f9f9f9;
}

.selectBox::after {
    content: "\25BC";
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 1.13rem;
    right: 12px;
    bottom: 0;
    background-color: #e9ecef;
    color: #afb0b1;
    font-size: 10px;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    border-top: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
    cursor: pointer;
    pointer-events: none;
    -webkit-transition: 0.25s all ease;
    -o-transition: 0.25s all ease;
    transition: 0.25s all ease;
}

.subheadline {
    font-size: 18px;
    margin: 20px 0 20px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
    color: #626262;
    font-weight: 500;
    line-height: 35px;
}

.checkbox input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

input:not(:placeholder-shown) {
    /* background-color: #ffffff !important; */
}

input[type="radio"],
input[type="checkbox"] {
    margin-top: 1px 0 0;
    line-height: normal;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.radio label,
.checkbox label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 25px;
    margin-right: 15px;
    min-width: 17px;
    min-height: 17px;
    line-height: 20px;
    margin-bottom: 0;
    transition: border 0.2s linear 0s, color 0.2s linear 0s;
}

.radio label:before,
.checkbox label:before {
    -webkit-box-sizing: inherit;
    box-sizing: border-box;
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-right: 10px;
    position: absolute;
    left: 0px;
    background-color: #fff;
    border: 1px solid #d0d0d0;
}

.checkbox label:before {
    top: 1.4px;
    border-radius: 3px;
    transition: border 0.2s linear 0s, color 0.2s linear 0s;
}

.checkbox label::after {
    display: inline-block;
    width: 11px;
    height: 11px;
    position: absolute;
    left: 3.5px;
    top: 0px;
    font-size: 11px;
    transition: border 0.2s linear 0s, color 0.2s linear 0s;
}

.checkbox input[type="checkbox"]:checked+label::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
}

.checkbox input[type="checkbox"]:checked+label:before {
    border-width: 8.5px;
}


.user-post-table tr td {
    vertical-align: middle;
}

.user-post-table-wrapper .dataTables_wrapper .row:nth-child(1) {
    display: none;
}
.user-post-table img{
    width: 100px;
}


.table thead th {
    border-bottom: none !important;}
    
    .sorting_asc::before,.sorting_asc:after,.sorting::before,.sorting:after{
        display: none!important;
    }
    .user-post-table tr{
        margin-bottom: 10px;
        cursor: pointer;
    }
    .user-post-table button{
        padding: 5px 8px;
        font-weight: 800;
        background: #f0f0f0;
        color: rgb(56, 56, 56);
        font-size: 12px;
        border: 1px solid #f0f0f0;
        border-radius: 5px;
        transition: all .3s ease-in-out;
    }
    .user-post-table button i{
        color: red;
    }
    .user-post-table button:hover{
        background: yellow;
        color: red;
    }
    .user-post-table button:focus{
        background: red;
        color: #fff;
        border: 1px solid #e2e0e0; 
        box-shadow: none;
    }
    .user-post-table button:hover i{
        color: #fff;
    }
    .user-post-table button:focus i{
        color: #fff;
    }
    .card-header{
        display: flex;
        justify-content: center;
        align-items: center;
        background: #fff;
        border: none;
    }
    .card-header h6{
     padding-top: 10px;
    } 
    .card-header h6 a{
        border: 2px solid #358599;
        background-color: transparent;
        border-radius: 8px;
        padding: 8px 18px;
        color: #358599 ; 
        transition: all .3s ease-in-out;
    }
    .card-header h6 a:hover{
        background-color: #358599;
        color: #fff ;
        text-decoration: none;
    }
    .select-category,.select-topic,.select-title,.select-occassion,.select-deal_tag,.para1,.para2{
        position: relative;
    }
    .custom-alert{
        /* position: absolute;
        right: -80px;
        top: 50%;
        transform: translateY(-50%); */
        color: red;
    }


    .post-main-heading {
        text-align: center;
        font-size: 30px;
    }


    .user-post-table button, .user-post-table a {
        background: #fff;
        color: gray;
        font-size: 12px;
        border: 1px solid #e2e0e0;
        transition: all .3s ease-in-out;
    }

    .user-post-table button:hover, .user-post-table a:hover {
        background: red;
        color: #fff;
        border: 1px solid #e2e0e0;
    }
    .user-post-table button:hover i, .user-post-table a:hover i{
        color: #fff;
    }

    .user-post-table button i, .user-post-table a i {
        color: red;
    }
    .custom_edit_link a{
        background: transparent;
        border: none;
        font-size: unset;
    }
    .custom_edit_link a:hover{
        background: transparent;
        border: none;
        color: unset !important;
        text-decoration: none;
    }
    .spinner-border {
        width: 1rem;
        height: 1rem;}
        .alert.alert_success {
            position: fixed;
            z-index: 999;
            width: 600px;
            top: 100px;
            display: none;
            right: 20px;
        }
        .custom_status i{
            color: #42ba96;
            font-size: 22px;
            padding: 5px 5px;
        }
        
        
        
@media only screen and (max-width:  550px){

    .alert.alert_success{
        width: 350px !important;
        right: 0;
    }
    .occassion_checkboxes .col-4{
        flex: 0 0 100%;
        max-width: 100%;
    }
    .sidebarToggle_container{
        /*z-index: 9999;*/
        /*left: 5px;*/
        /*bottom: 0px;*/
        /*position: fixed;*/
        display: none;
    }
    .mega-dropdown{
        display: none;
        z-index: 999;
        background-color: white;
        height: 100%;
        position: absolute;
        top: 70px;
    }
    .sidebar.toggled{
        width: 6.5rem !important;
    }
    #wrapper{
        display: block;
    }
    .sidebar{
        min-height: 100%;
    }
}
@media only screen and (min-width:  551px){
     .mega-dropdown{
        display: block !important;
    }   
}

.create-post-btn{
    color: #28738a;
    border: 2px solid #28738a;
    border-radius: 6px;
    padding: 5px 15px;
    text-decoration: none;
    background: transparent;
}
.create-post-btn:hover{
    color: #fff;
    background: #28738a !important;
    text-decoration: none;
}

.display_loading {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 50%);
}