/*LAYOUT STYLES*/
.row-eq-height{
    display: flex;
}
.mob-block{
    display: none;
}

.tab-block{
    display: none;
}

.hidden{
    display: none;
}

.container-fullheight{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


a.ajax-action {
    text-decoration: none;
}

.fa.fa-2 {
    font-size: 2em;
}

.fa.fa-sm {
    font-size: 1.5em;
}

.half-hidden {
    overflow: hidden;
    text-overflow: ellipsis;
}

.half-hidden.w200 {
    max-width: 150px;
    min-width: 150px;
}

.half-hidden.w200:hover {
    position: absolute;
    z-index: 999;
    max-width: 100%;
    background-color: white;
    border: solid 1px;
    padding: 3px;
    opacity: 1;
}

.duplicates-warn {
    cursor: help;
}

#body-overlay {
    position: fixed;
    display: none;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 24px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99999;
}

.main-container{
    padding-top: 80px;
}

.navbar-brand img{
    height: 22px;
}

.dropdown-menu{
    font-size: 15px;
}

/*TYPOGRAPHY STYLES*/

.text-rigth{
    text-align: right;
}

.red{
    color: #e7091f;
}

label .red{
    margin-left: 5px;
}

textarea{
    resize: vertical;
}

/* GRID STYLES */

li[role="presentation"] > a{
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.btn-group-extended{
    display: inline-flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

/*ERROR PAGES STYLES*/

.error-wrapper{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 92vh;
    margin-top: -80px;
}

.error-wrapper img{
    width: 200px;
    height: auto;
}

/*USER PAGES STYLES*/
.user-avatar-top{
    display: inline-block;
    width: 20px;
    height: auto;
    margin-right: 5px;
}

.user-table th, td{
    vertical-align: middle !important;
}


.user-info strong{
    display: inline-block;
    width: 150px;
}

.user-avatar{
    position: relative;
    width: 100%;
}

.user-login-wrapper{
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
}

.user-login-wrapper img{
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.user-avatar img{
    width: 100%;
}

.user-avatar-overlay{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    transition: ease 0.3s;
    background-color: rgba(0,0,0, 0.5);
}

.user-avatar-overlay a{
    color: #fff;
    text-decoration: none !important;
}

.user-avatar-overlay:hover{
    opacity: 1;
}

.panel-title a{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    text-decoration: none !important;
}

#img-upload{
    width: 100%;
}

/*OFFERS PAGES STYLES*/

.offers-tabs li{
    width: 25%;
    text-align: center;
    cursor: pointer;
}

.offers-tabs li.active{
    font-weight: bold;
}

.charts-gallery{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
}

.charts-gallery .thumbnail{
    width: 250px;
    margin: 10px;
}

.charts-gallery .thumbnail img{
    max-height: 135px;
}

/*FORMS STYLES*/

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    display: block;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    z-index: 4;
}

.checkbox-fullwidth-container{
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    justify-content: space-around;
    align-items: center;
}

.file-upload-group:after{
    content: '';
    font-family: 'FontAwesome';
    font-size: 14px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.file-upload-group.success:after{
    content: '\f00c';
    color: #00a74a;
}

.file-upload-group.error:after{
    content: '\f00d';
    color: #cf1d2b;
}

.file-upload-group.pending:after{
    content: '\f017';
    color: rgba(60, 66, 78, 0);
}

.form-control.disabled{
    pointer-events: none;
    cursor: not-allowed;
    background-color: #eee;
    opacity: 1;
}

/*ALERT STYLES*/

.alert{
    position: relative;
    display: none;
    margin-bottom: 15px;
}

.alert a{
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 2%;
    cursor: pointer;
    transform: translateY(-50%);
}

.alert a i{
    color: rgba(0,0,0,0.5) !important;
}

.alert a:hover i{
    color: rgba(0,0,0,0.8) !important;
}

/*DROPZONE STYLES*/

.dropzone {
    border: 2px dashed #0087F7;
    border-radius: 5px;
    cursor: pointer;
    background-color: #fff;
}

.dz-message{
    font-size: 18px;
}

.attachments{
    margin: 10px 0;
}

.attachments i{
    margin: 0 10px;
}

/* SELECT2 STYLES */

.select2-container .select2-selection--single{
    height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b{
    margin-top: 2px;
}

/* BADGE STYLES */

.badge{
    display: inline-block;
    padding: .25em .4em;
    margin-left: 5px;
    font-size: 85%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.badge.badge-success{
    background-color: #3c763d;
}

.badge.badge-danger{
    background-color: #a94442;
}

.badge.badge-warning{
    background-color: #c29b29;
}

.badge.badge-info{
    background-color: #31708f;
}

.badge.badge-success{
    background-color: #3c763d;
}

.badge.badge-dark{
    background-color: #000;
}

.badge.badge-primary{
    background-color: #007bff;
}

.badge.badge-role-1{
    background-color: #6441a4;
}

.badge.badge-role-2{
    background-color: #000;
}

.badge.badge-role-3{
     background-color: #7BBC48;
 }

.badge.badge-role-4{
    background-color: #ec8808;
}
