/*
    Custom CSS
*/

#header {
    background-image: none;
    background-color: #19203b;
}

#logo img {
    transform: scale(2);
    margin-left: 15px; 
}

body,
#side-menu,
#setup-menu-wrapper {
    /*background-color: #20294c;*/
}

#side-menu li a,
#setup-menu>li>a {
    text-transform: none;
}

#setup-menu li:first-child {
    border-bottom-color: transparent;
}

#side-menu li.dashboard_user {
    padding-left: 15px;
}

table.items .input-transparent {
    cursor: default;
    background: transparent !important;
    border: none !important;
    color: #494949 !important;
    resize: none;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

table.items .amount {
    padding-top: 18px !important;
}

.text-prefix:before {
    content: attr(data-symbol);
}

.label-tag {
    display: inline-block;
}

table .label-tag ~ .label-tag {
    margin-top: 5px;
}

.hidden-option {
    display: none !important;
}

.proposal-form .dz-preview {
    position: relative;
    display: inline-block;
    width: 120px;
    margin: 0.5em;
    vertical-align: top;
    min-height: 100px;
}

.proposal-form .dz-details, .proposal-form .dz-details:hover {
    background: #03a9f4;
    opacity: 1;
    color: #fff;
    height: 120px;
}

.proposal-form .dz-details {
    z-index: 20;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    font-size: 13px;
    min-width: 100%;
    max-width: 100%;
    padding: 2em 1em;
    text-align: center;
    color: rgba(0,0,0,.9);
    line-height: 150%;
}

.proposal-form .dz-error-mark {
    position: absolute;
    display: none;
    top: 30px;
    width: 54px;
    height: 58px;
    left: 50%;
    margin-left: -27px;
    pointer-events: none;
    opacity: 0;
    margin-top: -27px;
    z-index: 500;
}

.proposal-form .dz-success-mark {
    position: absolute;
    display: none;
    top: 30px;
    width: 54px;
    height: 58px;
    left: 50%;
    margin-left: -27px;
    pointer-events: none;
    opacity: 0;
    z-index: 500;
    margin-top: -27px;
}

.proposal-form .dz-error-message {
    pointer-events: none;
    z-index: 1000;
    position: absolute;
    display: block;
    display: none;
    opacity: 0;
    -webkit-transition: opacity .3s ease;
    -moz-transition: opacity .3s ease;
    -ms-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
    border-radius: 8px;
    font-size: 13px;
    top: 130px;
    left: -10px;
    width: 140px;
    background: #be2626;
    background: linear-gradient(to bottom,#be2626,#a92222);
    padding: 0.5em 1.2em;
    color: #fff;
}

.proposal-form .dz-progress {
    opacity: 1;
    z-index: 1000;
    pointer-events: none;
    position: absolute;
    height: 16px;
    left: 50%;
    top: 50%;
    margin-top: -8px;
    width: 80px;
    margin-left: -40px;
    background: rgba(255,255,255,.9);
    -webkit-transform: scale(1);
    border-radius: 8px;
    overflow: hidden;
}

.proposal-form .dz-remove {
    font-size: 14px;
    text-align: center;
    display: block;
    cursor: pointer;
    border: none;
}

.proposal-form .dropzone-previews {
    box-sizing: border-box;
}

.proposal-form #images_old_preview {
    box-sizing: border-box;
    margin-top: 15px;
}

.proposal-form img.image-w-h {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.proposal-form .remove_file {
    position: absolute;
    top: -12px;
    right: -10px;
    border: 1px solid red;
    width: 18px;
    height: 18px;
    text-align: center;
    border-radius: 50%;
    line-height: 1;
}

.proposal-form .custom-field-inline-edit-link {
    display: none;
}

.images_w_table {
    object-fit: contain;
}

#proposal-galery {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr));
}

#proposal-galery img {
    object-fit: contain;
    max-width: 100%;
}

.lightbox {
    /* Default to hidden */
    display: none;
  
    /* Overlay entire screen */
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* A bit of padding around image */
    padding: 1em;
  
    /* Translucent background */
    background: rgba(0, 0, 0, 0.8);
  }
  
  /* Unhide the lightbox when it's the target */
  .lightbox:target {
    display: block;
  }
  
  .lightbox span {
    /* Full width and height */
    display: block;
    width: 100%;
    height: 100%;
  
    /* Size and position background image */
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
  }

  .commission-calc-summary .badge {
    background-color: #fc2d42;
    font-size: 16px;
    padding: 4px 10px;
  }