/* General */
.bl_clearfix{
    clear:both;}

.bl_grid{
    float:left;
    padding-left:6px;
    box-sizing:border-box;
    padding-right:6px;}

.bl_grid_20{width:20%;}
.bl_grid_25{width:25%;}
.bl_grid_33{width:33%;}
.bl_grid_35{width:35%;}
.bl_grid_40{width:40%;}
.bl_grid_50{width:50%;}
.bl_grid_60{width:60%;}
.bl_grid_100{width:100%;}

.bl_grid_first{
    padding-left:0;}
.bl_grid_last{
    padding-right:0;}

.bl_field{
    width:100%;}

/* Headings */
.bl_field_title .bl_field_subtitle{
    padding-top: 8px;
    color: #999;
    font-size: 12px;
    font-style: italic;
    padding-bottom: 2px;}

.bl_sidebar .bl_field_title{ font-size:13px; }
.bl_field_title{
    margin-top: 10px;
    margin-bottom:3px;
    color: #555;
    font-size: 15px;
    padding-left: 2px;
    display: inline-block;
    font-weight: 400;
    line-height: 19px;}

/* Headings. */
.bl_section_title{
    font-size: 20px;
    color:#7a7a78;
    padding-bottom:4px;
    margin: 15px 2px 2px;
    border-bottom:3px dashed #ddd;
    text-align: left;}

.bl_sentry_event{
    float:right;
}


/* Metaboxes. */
.bl_main,
.bl_main_option{ /* Main metabox. */
    margin-top: 10px;}

.bl_main_settings{
    margin-top: 10px;
    margin-right: 15px;}

.bl_main .bl_inner,
.bl_main_option .bl_inner_option{
    background:whitesmoke;
    padding:4px 10px 8px;
    border: 1px solid #ddd;
    border-top:none;}

.bl_main_settings .bl_inner{
    background:white;}

.bl_main .bl_handle,
.bl_main_option .bl_handle_option{
    padding: 8px 12px;
    background: white;
    border: 1px solid #ccd0d4 !important;
    display:block;}

.bl_main .bl_handle.closed,
.bl_main_option .bl_handle_option.closed{
    border-bottom: none;}

.bl_main .bl_handle .bl_handle_title,
.bl_main_option .bl_handle_option .bl_handle_title_option{
    margin-top: 4px;
    float:left;
    color: #23282d;
    font-weight:400;
    font-size: 18px;
    box-sizing: border-box;}

.bl_main select,
.bl_main_option select,
.bl_side_select{
    width:100%;
    margin-bottom:5px;
    max-width: inherit;}


/* Buttons */
.bl_button{
    font-size: 13px;
    line-height: 2;
    padding: 2px 10px 3px;
    display: inline-block;
    text-decoration: none;
    margin: 0;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
    min-height: 30px;
    text-decoration: none;
    text-shadow: none;
    background: whitesmoke;
    border-color: lightgrey;
    color: #23282d;}
.bl_button:hover,
.bl_button:active,
.bl_button:focus{
    background-image: none;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #eceaea;
    color:#23282d;}

/* Sizes */
.bl_button_large .dashicons {
    position: relative; top: 4px;}
.bl_button_large {
    font-size: 13px;
    line-height: 2.15384615;
    padding: 0 12px 2px;}

.bl_button_huge {
    font-size: 16px;
    line-height: 2.28384615;
    padding: 0 15px 3px}

.bl_button_section {
    float:right;
    margin-top:20px;
}

/* i.e. Icon buttons */
.bl_button_compact{
    padding: 0 4px 2px;}

/* Colors */
.bl_button_blue {
    background: #007cba;
    border-color: #007cba;
    color: #fff; }
.bl_button_blue:active,
.bl_button_blue:hover,
.bl_button_blue:focus{
    background: #00669b;
    color:white;}

.bl_button_green {
    background: #81c240;
    border-color: #81c240;
    color: #fff; }
.bl_button_green:active,
.bl_button_green:hover,
.bl_button_green:focus{
    background: #75b03a;
    color:white;}

.bl_button_gold {
    background: #edb50c;
    border-color: #edb50c;
    color: #fff; }
.bl_button_gold:hover,
.bl_button_gold:hover,
.bl_button_gold:focus{
    background: #e3ab02;
    color:white;}


.bl_move_row_up,
.bl_move_row_down,
.bl_move_option_row_up,
.bl_move_option_row_down{
    float:left;
    margin-right:8px;}

/* Responsive admin */
@media only screen and (max-width : 850px) {
    .bl_grid_20,
    .bl_grid_25,
    .bl_grid_33,
    .bl_grid_35,
    .bl_grid_40,
    .bl_grid_50,
    .bl_grid_60,
    .bl_grid_100{
        padding-right:0px;
        padding-left:0px;
        width:100%;}
}

.tooltip-div{
    display: inline-block;
    text-decoration: none;
    position: relative;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    width: 43px;
    height: 43px;
    background-color: #cdcdcd;
    background-size: 65%;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 100%;
}

.tooltip-div.deciplus{
    background-color: #7fb038b8;
}

.tooltip-div.deciplus:hover{
    background-color: #7fb038;
}

.tooltip-div.hogunsoft{
    background-color: #1baacc99;
}

.tooltip-div.hogunsoft:hover{
    background-color: #1baacc;
}

.tooltip-div.assurconnect{
    background-color: #ffc266;
}

.tooltip-div.assurconnect:hover{
    background-color: #ff9900;
}

.tooltip-div span{
    background: #fff;
    color: #222;
    font-size: 14px;
    position:  absolute;
    bottom: 0;
    left: -25px;
    right: -25px;
    padding: 4px 12px 10px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
    border: 1px solid #cdcdcd;
    width: 275px;
    line-height: 30px;
}

.tooltip-div span:before {
    content: '';
    /*   width: 0;
      height: 0; */
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #acacac;
    position: absolute;
    bottom: -5px;
    left: 40px;
}

.tooltip-div:hover span {
    bottom: 50px;
    visibility: visible;
    opacity: 1;
}

table#available-addons {
    clear: both;
}

table#available-addons {
    margin-left: -16px;
}


td.available-addon {
    vertical-align: top;
    border: 1px solid #ccc;
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
    width: 33%;
    min-width: 250px;
    max-width: 340px;
}

.left {
    text-align: left;
}

div.available-addon-inner {
    margin: 20px;
}

img.addon-thumbnail {
    width: 100%;
    max-width: 300px;
}

table.featured-row {
    margin-left: -16px;
    max-width: 1100px;
}

td.featured-addon {
    vertical-align: top;
    border: 1px solid #ccc;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.25);
    box-shadow: 0 0 5px rgba(0,0,0,0.25);
}

div.featured-addon-content {
    overflow: hidden;
}

div.addon-notinstalled {
    background-color: #EEE;
    border: 1px solid #DADADA;
    padding: 6px;
    display: block;
    font-weight: bold;
    color: #424242;
    margin-bottom: 12px;
    background-repeat: repeat-x;
    background-position: 0 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

div.addon-inactive {
    background-color: #FFFBCC;
    padding: 6px;
    font-weight: bold;
    border: 1px solid #E6DB55;
    color: #424242;
    margin-bottom: 12px;
    background-repeat: repeat-x;
    background-position: 0 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

div.addon-active {
    background-color: #CBECA0;
    border: 1px solid #97B48A;
    padding: 6px;
    display: block;
    font-weight: bold;
    color: #2D5312;
    margin-bottom: 12px;
    background-repeat: repeat-x;
    background-position: 0 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}


a.disabled {
    pointer-events: none;
    cursor: default;
}

.overlay-loading{
    position : absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index:999;
}

.loading
{
    pointer-events: all;
    z-index: 99999;
    border: none;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    cursor: wait;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.6);
}

.loader {
    position : absolute;
    top:50%;
    left:50%;
    width:120px;
    background: rgba(0,0,0,0.5);
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

.grant-green{
    color:white;
    background-color: green;
}

.grant-red{
    color: white;
    background-color: red;
}

#TB_window{
    left: 25% !important;
}

@media (max-width: 992px) {
    #TB_window{
        margin-left: -15% !important;
        width: 300px !important;
    }
}

#TB_ajaxContent{
    padding:inherit !important;
}

#display_grants{
    border-spacing: 10px;
    border-collapse: separate;
}

#display_grants td:first-child{
    text-align: right;
    text-transform: capitalize;
}

#display_grants td{
    text-align: center;
    padding: 0 20px;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

