
/*======================================================================================================================
 Common
======================================================================================================================*/
#layout-wrapper{
    position: absolute;
    min-height: 100%;
    width: 100%;
}

.main-content, .page-content{
    min-height: 100%;
}

@media (max-width: 576px) {
    .d-xs-none{
        display: none !important;
    }
}

.preview-page{
    border: 1px dashed #cadefc;
    padding: 2px;
}
.preview-page.miniatureLand{
    width: 120px;

}
.preview-page.miniatureRetr{
    height: 70px;

}
.container-custom {
    padding-right: 12px;
    padding-left: 12px;
    min-height:100%;
    margin: 0 auto !important;
    position:relative;
}

@media (min-width: 576px) {
    .container-custom {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container-custom {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container-custom {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container-custom {
        max-width: 1500px;
    }
}

.bg-orange{
    background-color: #f18416 !important;
}

.border-right{
    border-right: 1px solid #eff2f7 !important;
}

.border-left{
    border-left: 1px solid #eff2f7 !important;
}

.sp-colorize-container {
    width: 40px !important;
}


.required:after {
    content: "*";
    position: relative;
    font-size: inherit;
    color: #f1416c;
    padding-left: 0.25rem;
    font-weight: 700;
}

.form-section-header{
    background: #f1f5f7;
    height: 40px;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 500;
}

.text-muted-2{
    color: #c1c3cb !important;
}


/*======================================================================================================================
 Select2 - height for select with logo or avatar inside option
======================================================================================================================*/
.select2-image-height .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 40px !important;
    padding-top: 10px !important;
}

.select2-container-image .select2-selection--single .select2-selection__arrow{
    top: 7px !important;
}

.select2-container-image .select2-selection {
    height: 50px !important;
    padding-top: 5px;
    border-color: #ced4da !important;
}


/*======================================================================================================================
 Fonts
======================================================================================================================*/
.font-size-6{
    font-size: 6px !important;
}
.font-size-7{
    font-size: 7px !important;
}
.font-size-8{
    font-size: 8px !important;
}
.font-size-9{
    font-size: 9px !important;
}

/*======================================================================================================================
 Hidden and visible
======================================================================================================================*/
/* pure-hidden-xs */
@media screen and (max-width:567px) {
    .visible-sm{display:none}
    .visible-md{display:none}
    .visible-lg{display:none}
    .visible-xl{display:none}
    .hidden-xs{display:none}
}
/* pure-hidden-sm */
@media screen and (min-width:568px) and (max-width:767px) {
    .visible-xs{display:none}
    .visible-md{display:none}
    .visible-lg{display:none}
    .visible-xl{display:none}
    .hidden-sm{display:none}
}
/* pure-hidden-md */
@media screen and (min-width:768px) and (max-width:1023px) {
    .visible-xs{display:none}
    .visible-sm{display:none}
    .visible-lg{display:none}
    .visible-xl{display:none}
    .hidden-md{display:none}
}
/* pure-hidden-lg */
@media screen and (min-width:1024px) and (max-width:1279px) {
    .visible-xs{display:none}
    .visible-sm{display:none}
    .visible-md{display:none}
    .visible-xl{display:none}
    .hidden-lg{display:none}
}
/* pure-hidden-xl */
@media screen and (min-width:1280px) {
    .visible-xs{display:none}
    .visible-sm{display:none}
    .visible-md{display:none}
    .visible-lg{display:none}
    .hidden-xl{display:none}
}


/*======================================================================================================================
 Jquery confirm
======================================================================================================================*/
.jquery-confirm-title{
    font-weight: 500 !important;
    font-size: 16px !important;
}
.jquery-confirm-content{
    font-size: 14px !important;
}

/*======================================================================================================================
 Cursors
======================================================================================================================*/
.cursor-pointer{
    cursor: pointer !important;
}
.cursor-not-allowed{
    cursor: not-allowed !important;
}

/*----------------------------------------------------------------------------------------------------------------------
Custom checkbox
----------------------------------------------------------------------------------------------------------------------*/
input[data-custom-checkbox="true"]{
    display: none !important;
}

.custom-checkbox{
    height: 20px !important;
    width: 20px !important;
    background-color: #e5e5e5;
    color: #cbcbcb;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.custom-checkbox.md{
    height: 40px !important;
    width: 40px !important;
}

.custom-checkbox.lg{
    height: 60px !important;
    width: 60px !important;
}

.custom-checkbox.xl{
    height: 80px !important;
    width: 80px !important;
}

.custom-checkbox.round{
    border-radius: 50% !important;
}

.custom-checkbox input{
    display: none;
}

.custom-checkbox .icon{
    font-size: 10px;
    color: transparent;
}

.custom-checkbox .icon.light{
    color: inherit;
}

.custom-checkbox.md .icon{
    font-size: 20px !important;
}

.custom-checkbox.lg .icon{
    font-size: 35px !important;
}

.custom-checkbox.xl .icon{
    font-size: 40px !important;
}


.custom-checkbox.disabled{
    opacity: 0.5;
    cursor: not-allowed !important;
}
.custom-checkbox.disabled + label[for]{
    opacity: 0.5;
    cursor: not-allowed !important;
}
.custom-checkbox.checked{
    background-color: #2b56b9;
}
.custom-checkbox.muted.checked{
    background-color: #e5e5e5;
}
.custom-checkbox.danger.checked{
    background-color: rgb(217, 74, 74);
}
.custom-checkbox.orange.checked{
    background-color: rgb(255, 131, 54);
}
.custom-checkbox.warning.checked{
    background-color: rgb(255, 197, 54);
}
.custom-checkbox.success.checked{
    background-color: rgb(33, 173, 131);
}
.custom-checkbox.info.checked{
    background-color: rgb(82, 134, 255);
}
.custom-checkbox.primary.checked{
    background-color: #0f348d;
}
.custom-checkbox.purple.checked{
    background-color: #564792;
}
.custom-checkbox.dark.checked{
    background-color: rgb(54, 54, 54);
}


.custom-checkbox.checked .icon{
    color: #fff;
}
.custom-checkbox.muted.danger.checked .icon{
    color: rgb(217, 74, 74) !important;
}
.custom-checkbox.muted.orange.checked .icon{
    color: rgb(255, 131, 54) !important;
}
.custom-checkbox.muted.warning.checked .icon{
    color: rgb(255, 197, 54) !important;
}
.custom-checkbox.muted.success.checked .icon{
    color: rgb(33, 173, 131) !important;
}
.custom-checkbox.muted.info.checked .icon{
    color: rgb(82, 134, 255) !important;
}
.custom-checkbox.muted.primary.checked .icon{
    color: #0f348d !important;
}
.custom-checkbox.muted.purple.checked .icon{
    color: #564792 !important;
}
.custom-checkbox.muted.dark.checked .icon{
    color: rgb(54, 54, 54) !important;
}



/*----------------------------------------------------------------------------------------------------------------------
    Image input
----------------------------------------------------------------------------------------------------------------------*/
.custom-image-input {
    position: relative;
    display: inline-block;
    border-radius: 0.42rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.custom-image-input .custom-image-input-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 0.42rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.custom-image-input.custom-image-input-circle {
    border-radius: 50% !important;
}

.custom-image-input.custom-image-input-circle .custom-image-input-wrapper {
    border-radius: 50% !important;
}

.custom-image-input .custom-image-input-wrapper-130 {
    width: 130px !important;
    height: 130px !important;
}

.custom-image-input .custom-image-input-wrapper-150 {
    width: 150px !important;
    height: 150px !important;
}

.custom-image-input .custom-image-input-wrapper-200 {
    width: 200px !important;
    height: 200px !important;
}


.custom-image-input .custom-image-input-wrapper-main-img {
    width: 949px !important;
    height: 368px !important;
}

.custom-image-input .custom-image-input-wrapper-thumbnail-img {
    width: 346px !important;
    height: 229px !important;
}


.custom-image-input .custom-image-input-wrapper-max {
    width: 100% !important;
    height: 100% !important;
}

.custom-image-input [data-image-trigger=upload] {
    cursor: pointer;
    position: absolute;
    right: -15px;
    background: white;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    top: -15px;
    padding: 5px 10px;
}
.custom-image-input [data-image-trigger=upload] input {
    width: 0 !important;
    height: 0 !important;
    overflow: hidden;
    opacity: 0;
}
.custom-image-input [data-image-trigger=rollback],
.custom-image-input [data-image-trigger=delete] {
    position: absolute;
    background: white;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
    right: -15px;
    width: 30px;
    height: 30px;
    padding: 5px 10px;
}
.custom-image-input [data-image-trigger=upload] i,
.custom-image-input [data-image-trigger=rollback] i,
.custom-image-input [data-image-trigger=delete] i {
    font-size: 12px;
}

.custom-image-input.custom-image-input-circle [data-image-trigger=upload] {
    right: -5px !important;
    top: -20px !important;
}
.custom-image-input.custom-image-input-circle [data-image-trigger=rollback],
.custom-image-input.custom-image-input-circle [data-image-trigger=delete]
{
    right: 5px !important;
}

.custom-image-input [data-image-trigger=rollback] {
    display: none;
}
.custom-image-input.custom-image-input-changed [data-image-trigger=rollback] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.custom-image-input.custom-image-input-changed [data-image-trigger=delete] {
    display: none;
}
.custom-image-input.custom-image-input-empty [data-image-trigger=delete],
.custom-image-input.custom-image-input-empty [data-image-trigger=rollback] {
    display: none;
}
.custom-image-input.custom-image-input-circle {
    border-radius: 50%;
}
.custom-image-input.custom-image-input-circle .custom-image-input-wrapper {
    border-radius: 50%;
}
.custom-image-input.custom-image-input-circle [data-image-trigger=upload] {
    right: 5px;
    top: 5px;
}
.custom-image-input.custom-image-input-circle [data-image-trigger=rollback],
.custom-image-input.custom-image-input-circle [data-image-trigger=delete] {
    right: 5px;
    bottom: 5px;
}
.custom-image-input.custom-image-input-outline .custom-image-input-wrapper {
    border: 3px solid #ffffff;
    -webkit-box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(0, 0, 0, 0.075);
    box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(0, 0, 0, 0.075);
}


/*======================================================================================================================
 Fadein and fadeout effects
======================================================================================================================*/
.fadein-effect{
    opacity: 1;
    transition: opacity 800ms;
}
.fadeout-effect{
    opacity: 0;
    transition: opacity 800ms;
}

/*======================================================================================================================
 Alerts
======================================================================================================================*/
.alert-soft-light{
    background: #f7f9fa;
}

/*======================================================================================================================
 Buttons
======================================================================================================================*/
.btn-block{
    display:block;
    width:100%
}

.btn-card-header-end{
    margin-top: -5px !important;
    cursor: pointer !important;
}

.btn-group-input-attach{
    border-top-left-radius: 0 !important;
    border-left-left-radius: 0 !important;
    border: 1px solid #ced4da;
    border-left: 0 !important;
}

.btn-white{
    background: #fff;
    border-color: #fff;
    transition: 0.2s;
}
.btn-white:hover{
    background: #eeeeee;
    border-color: #eeeeee;
}


