/* ----------------------------------------------------------------------------
 | Custom styles
 | -------------------------------------------------------------------------- */

/* Admin Porto */

.userbox .name {
    min-width: 72px !important;
}

/* buttons */

.app-span-border {
    padding: 2px 8px;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    background-color: #ffffff;
    color: #a3a3a3;
}

.app-span-border-primary:hover {
    background-color: #006699 !important;
    color: #ffffff !important;
}

.app-span-border-success:hover {
    background-color: #47a447 !important;
    color: #ffffff !important;
}

.app-span-border-warning:hover {
    background-color: #ed9c28 !important;
    color: #ffffff !important;
}

.app-span-border-danger:hover {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

/* Input icons */

.app-input-sm-icon {
    z-index: 999;
    position: absolute;
    top: 4px;
    right: 16px;
    font-size: 14px;
    color: #495057;
}

.app-input-md-icon {
    z-index: 999;
    position: absolute;
    top: 8px;
    right: 18px;
    font-size: 14px;
    color: #495057;
}

.app-input-lg-icon {
    z-index: 999;
    position: absolute;
    top: 11px;
    right: 12px;
    font-size: 18px;
    color: #495057;
}

/* search */

.app-search-item-box {
    display: flex;
    align-items: center;
    justify-content: space-between;    
    margin: 5px 0 5px;
}

.app-search-item-col-one {  
    display: flex;
    align-items: center;
    min-height: 86px;
    padding: 6px 8px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
}

.app-search-item-box .name {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #171717;
}

.app-search-item-box .phone {    
    display: block;
    font-size: 0.7rem;
    line-height: 1.5;
    color: #171717;
}

.app-search-item-box .address {
    display: block;
    font-size: 0.7rem;
    line-height: 1.5;
}

.app-search-item-box .map {
    display: block;
    font-size: 0.7rem;
    line-height: 1.5;
    word-break: break-all;
}

.app-search-item-box .map > a {
    text-decoration: none;
}

.app-search-item-box:hover {
    background-color: #f6f6f6;
}

.app-search-item-col-one {
    width: 100%;
}

.app-search-item-col-two {
    width: 50px;
    margin-left: 5px;
}

/* cards */

.app-card-options {
    top: 12px !important;
}

.app-card-option-menu {
    display: inline-block !important;
}

.app-card-option-menu-item {
    width: 100% !important;
    text-align: left !important;
    color: #212529 !important;
}


/* request */

.request-header-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 7px 0;
}

.request-object-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 10px 10px;
    border: 2px dotted #e5e5e5;
    border-radius: 7px;
}

.request-object-col-one {
    width: 100%;    
    border-radius: 5px;
}

.request-object-col-two {
    width: 50px;
    margin-left: 8px;
}

/* -------------------------------------------------- */

.request-object-summary-box {
    text-align: left;
}

.request-object-summary .name {
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    color: #171717 !important;
}

.request-object-summary .phone {
    color: #000011 !important;
    line-height: 1.4 !important;
}

.request-object-summary .address {
    font-size: 0.7rem !important;
    line-height: 1.4 !important;
}

/* -------------------------------------------------- */

.request-object-plus-box {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;    
    justify-content: center;
    cursor: pointer;
    color: #a3a3a3;
}

/* -------------------------------------------------- */

.request-object-template-text {
    position: absolute;
    top: 0;
    right: -9000px;
    font-size: 1px;
    line-height: 1px;
    color: #fff;
}

.request-object-template-hide {
    margin: 0;
    padding: 0;
    font-size: 1px;
    line-height: 1px;
    color: #fff;
}

.request-object-template-uppercase {
    text-transform: uppercase;
}

.request-object-template-box {
    width: 100%;
    padding: 8px;
    border: 2px dotted #e5e5e5;
    border-radius: 7px;
}

.request-object-template-title {
    margin: 0;
    font-weight: 700;
    line-height: 20px;
}

.request-object-template-subtitle {
    margin: 0;
    line-height: 20px;
}

.request-object-template-subtitle > a {
    text-decoration: none;
    word-break: break-all;
    font-size: 12px;
}

/* active */

.app-active-item-box {
    display: flex;
    align-items: center;
    justify-content: space-between;    
    margin: 5px 0 5px;
}

.app-active-item-col-one {  
    min-height: 86px;
    padding: 6px 8px 4px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
}

.app-active-item-footer {  
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e5e5e5;
}

.app-active-item-box .name {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #171717;
}

.app-active-item-box .subname {
    display: block;
    font-weight: 600;
    font-size: 0.7rem;
    line-height: 1.5;
    color: #000011;    
}

.app-active-item-box .phone {    
    display: block;
    font-size: 0.7rem;
    line-height: 1.5;
    color: #171717;
}

.app-active-item-box .address {
    display: block;
    font-size: 0.7rem;
    line-height: 1.5;
}

.app-active-item-box .map {
    display: block;
    font-size: 0.7rem;
    line-height: 1.5;
    word-break: break-all;
}

.app-active-item-box .map > a {
    text-decoration: none;
}

.app-active-item-box:hover {
    background-color: #f6f6f6;
}

.app-active-item-col-one {
    width: 100%;
}

.app-active-item-col-two {
    width: 50px;
    margin-left: 5px;
}

/* datatable item */

.datatable-item-header {
    display: flex;
    align-items: center;
    margin: 0 0 5px;
}

.datatable-item-text-1 {    
    display: block;
    padding: 0; 
    font-size: 0.8rem;
    line-height: 1.1rem;    
    color: #000011;
}

.datatable-item-text-2 {
    display: block;
    padding: 0; 
    margin: 0 0 7px 21px;
    font-size: 0.7rem;
    line-height: 1.5;    
}

.datatable-item-text-2 > a {
    color: #acacac; 
}

.datatable-item-text-3 {
    padding: 0; 
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.5;    
}

.datatable-item-text-3 > a {
    text-decoration: none;
    color: #acacac; 
}

/* Custom Filter */

.fil-v1-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px;
}

.fil-v1-col-inputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.fil-v1-col-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 110px;
    margin-left: 7px;    
}

@media (min-width: 992px) and (max-width: 1187px) {
    .fil-v1-row {
        margin-bottom: 10px;
    }
    .fil-v1-col-inputs {
        flex-wrap: wrap;
    }
    .fil-v1-col-inputs .flex-col-md-2 {
        width: 100%;
        margin-bottom: 5px;
    }
    .fil-v1-col-controls {
        flex-wrap: wrap;
    }
    .fil-v1-col-controls .flex-col-xs-2 {
        width: 100%;
        margin-bottom: 5px;
    }
}

@media (min-width: 426px) and (max-width: 832px) {
    .fil-v1-row {
        margin-bottom: 10px;
    }
    .fil-v1-col-inputs {
        flex-wrap: wrap;
    }
    .fil-v1-col-inputs .flex-col-md-2 {
        width: 100%;
        margin-bottom: 5px;
    }
    .fil-v1-col-controls {
        flex-wrap: wrap;
    }
    .fil-v1-col-controls .flex-col-xs-2 {
        width: 100%;
        margin-bottom: 5px;
    }
}

@media (max-width: 425px) {
    .fil-v1-row {
        margin-bottom: 15px;
    }
    .fil-v1-row {
        flex-wrap: wrap;
    }
    .fil-v1-col-controls {
        width: 100%;
        margin-left: 0;
    }
    .fil-v1-col-inputs {
        flex-wrap: wrap;
    }
    .fil-v1-col-inputs .flex-col-md-2 {
        width: 100%;        
        flex-wrap: wrap;
    }
    .fil-v1-col-inputs .flex-col-md-2 .flex-col-sm-2 {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* --------------------------------------------------------- */

.fil-v2-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px;
}

.fil-v2-col-1 {
    width: 66%;
}

@media (min-width: 992px) and (max-width: 1384px) {
    .fil-v2-row {
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    .fil-v2-row .flex-col-md-2 {
        width: 100%;
        margin-bottom: 5px;
    }
}

@media (min-width: 463px) and (max-width: 957px) {
    .fil-v2-row {
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    .fil-v2-row .flex-col-md-2 {
        width: 100%;
        margin-bottom: 5px;
    }
}

@media (max-width: 462px) {
    .fil-v2-row {
        margin-bottom: 15px;
    }
    .fil-v2-row {
        flex-wrap: wrap;
    }
    .fil-v2-row .flex-col-md-2 {
        width: 100%;        
        flex-wrap: wrap;
    }
    .fil-v2-row .flex-col-md-2 .flex-col-sm-3 {
        width: 100%;
        margin-bottom: 5px;
    }
    .fil-v2-col-1 {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* Request Components */

.package-box-input {
    width: 220px;
    margin-right: 8px;
}

.package-box-options {
    width: 100%;
}

@media (min-width: 992px) and (max-width: 1197px) {
    .package-box {
        flex-wrap: wrap;
    }
    .package-box-input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 527px) {
    .package-box {
        flex-wrap: wrap;
    }
    .package-box-input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* --------------------------------------------------------- */

@media (min-width: 992px) and (max-width: 1067px) {
    .request-actions-box {
        flex-wrap: wrap;
    }
    .request-actions-box .flex-col-md-3 {
        width: 100%;
        margin-bottom: 5px;
    }
}

@media (max-width: 527px) {
    .request-actions-box {
        flex-wrap: wrap;
    }
    .request-actions-box .flex-col-md-3 {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* --------------------------------------------------------- */

@media (max-width: 593px) {
    .request-object-template-row {
        flex-wrap: wrap;
    }
    .request-object-template-row .flex-col-md-3 {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* Main sumary cards */

@media (min-width: 992px) and (max-width: 1197px) {
    .main-summary-card {
        flex-wrap: wrap;
    }
    .main-summary-card .flex-col-md-2 {
        width: 100%;
    }
}

@media (min-width: 448px) and (max-width: 819px) {
    .main-summary-card {
        flex-wrap: wrap;
    }
    .main-summary-card .flex-col-md-2 {
        width: 100%;
    }
}

@media (max-width: 447px) {
    .main-summary-card {
        flex-wrap: wrap;
    }
    .main-summary-card .flex-col-md-2 {
        width: 100%;
        flex-wrap: wrap;
    }
    .main-summary-card .flex-col-md-2 .flex-col-sm-2 {
        width: 100%;
    }
    .main-summary-filter {
        flex-wrap: wrap;
    }
    .main-summary-filter .flex-col-sm-3 {
        width: 100%;
        margin-bottom: 10px;
    }
}

.main-summary-gauge {
    flex-wrap: wrap;
}
.main-summary-gauge .flex-col-sm-2 {
    width: 100%;
    justify-content: center;
}

@media (min-width: 575px) and (max-width: 1199px) {
    .main-summary-gauge {
        flex-wrap: nowrap;
    }
    .main-summary-gauge .flex-col-sm-2 {
        width: 50%;
        padding: 0 3px;
    }
}

/* Brand Components */

.brand-investment-col-one {
    width: 60%;
}
.brand-investment-col-two {
    width: 40%;
    margin-right: 5%;
}

@media (min-width: 992px) and (max-width: 1251px) {
    .brand-investment-box {
        flex-wrap: wrap;
    }
    .brand-investment-box .brand-investment-col-one {
        width: 100%;
    }
    .brand-investment-box .brand-investment-col-two {
        width: 100%;
        margin: 0 20%;
    }
}

@media (max-width: 491px) {
    .brand-investment-box {
        flex-wrap: wrap;
    }
    .brand-investment-box .brand-investment-col-one {
        width: 100%;
    }
    .brand-investment-box .brand-investment-col-two {
        width: 100%;
        margin: 0 10%;
    }
}

.brand-summary-item-percentage {
    padding: 10px 4px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 10px;
}