@import 'bootstrap-sass/assets/stylesheets/bootstrap/_variables';
@import '../styles/_enterprise_vars';

.project-details {
    background: white;
    
    .panel-body {
        padding: 0;
    }
    
    .arrow-tabs-content{
        width: 95%;
        margin: 0 auto;
        padding: 1em 0;
        color: color('primary');
        h3, h4{
            text-align:center;
        }
    }
    
    .bids-list {
        margin: 2em 0;
        background: transparent;
    }
    
    .bid-card {
        border: 0 !important;
        .panel-body{
            background-color: color('primary');
            background-image: texture('blue');
            padding: 0 !important;
            .bid-details{
                color: color('primary');
            }
        }
        .bid-status {
            margin: -30px -30px 0 -30px;
            background: color('notification');
            h6 {
                line-height: 16px;
                vertical-align: middle;
                padding: 5px 30px;
                display: inline-block;
                font-family: $font-family-sans-serif-heavy;
                text-transform: uppercase;
                margin: 0;
                color: white;
                
                a {
                    color: white;
                }
                i.fa {
                    padding-right: 5px;
                }
            }
            & > :first-child:not(.ng-hide){
                background: color('notification-dark');
            }
        }
        .bid-withdrawn-overlay {
            position: absolute;
            height: 100%;
            width: 100%;
            z-index: 20;
        
            &.bid-status {
                margin:0;
                background: color('gray-transparent-light');
                
                h6 {
                    display: block;
                    text-align: center;
                    background: color('gray-dark');
                }

                &:first-child :not(.ng-hide){
                    background: color('gray-dark');
                }
            }
        }
        
        &.bid-new {
            border: none;
        }
        &.bid-disabled {
            .detail-group, .milestones, .attachments {
                color: color('gray');
            }
        }
        
        .loading-container {
            position:relative;
            
            .loading {
                position:absolute;
                top: -3em;
                margin-left:-.3em;
            }
        }
        
        .view-more {
            height: auto;
            max-height: 380px;
            &.maximized {
                max-height: none;
            }
        }
        
        .detail-group {
            padding-top: 30px;
            
            .detail {
                background: transparent;
                text-align: center;
                margin-bottom: 20px;
            }
            
            .detail-heading {
                font-family: $font-family-sans-serif-heavy;
                text-transform: uppercase;
                font-size: $font-size-h6;
                margin-bottom: 10px;
            }
            
            .detail-body {
                font-size: $font-size-h3;
            }
        }

        .bid-actions {
            padding-top: 1em;
            
            a {
                color: color('primary');
                text-transform: uppercase;
                padding-right: 1em;
            }
        }
        
        h4 {
            font-family: $font-family-sans-serif-heavy;
            text-transform: uppercase;
            font-size: $font-size-h6;
            text-align: left;
            clear:both;
            
            &.pitch-heading {
                padding-top: 25px;
                border-top: 1px solid color('gray');
            }
        }
        
        .view-more-footer {
            background: transparent;
            border: 0;
            padding: 0;
            width: 95%;
            margin: 0 auto;
            position: absolute;
            
            .btn {
                border: 0;
                border-radius: 15em 15em 0 0;
                padding: 2.5em 2em 1em 2em;
                background-color: color('primary');
                color: white;
                text-transform: uppercase;
                font-family: $font-family-sans-serif-heavy;
                font-size: $font-size-h6;
            }
        }
    }
    
    .bid-nerd {
        padding: 20px 15px 15px 30px;
        font-family: $font-family-sans-serif-heavy;
        text-transform: uppercase;
        .nerd-name {
            font-size: $font-size-h5;
            text-align:center;
            a {
                color: white;
            }
        }
        .star-rating{
            color: color('secondary');
        }
        .btn {
            font-size: $font-size-h6;
            color: color('primary');
            border: 0;
            &.disabled{
                background-color: color('primary-light');
                opacity: 1;
            }
        }
        .btn-primary{
            background: color('secondary');
        }
        .btn-secondary{
            background: color('bg-light');
        }
        
        .user-avatar {
            border: .65em solid color('primary-light');
            border-radius: 5em;
            width: 65%;
            margin: 0 auto;
        }
    
        .credentials {
            margin: -5px auto .5em auto;
        }
    }
    
    .bid-details {
        background: color('bg-light');
        padding: 30px 45px 45px 30px;
        
        .pitch-details{
            font-family: $font-family-sans-serif;
            line-height: $line-height-base;
        }
    }
}
.cancel-interview {
    .modal-dialog {
        width: 450px
    }
    .modal-body{
        margin: 30px;
        
        p {
            margin: 15px auto;
        }
    
        h4 {
            font-family: $font-family-serif;
            text-transform: uppercase;
            margin: 0 auto 15px auto;
        }
    
        .interview-actions {
            text-align: center;
        
            button {
                display:block;
                width: 100%;
                margin-top: 15px;
                font-size: $font-size-h5;
                font-family: $font-family-sans-serif;
                text-transform: uppercase;
                
                &.btn-secondary {
                    background-color: color('gray-light');
                    &:hover {
                        background-color: color('gray');
                    }
                }
            }
        }
    }
}
.cancel-interview {
    .modal-dialog {
        width: 450px
    }
    .modal-body{
        margin: 30px;
        
        p {
            margin: 15px auto;
        }
    
        h4 {
            font-family: $font-family-serif;
            text-transform: uppercase;
            margin: 0 auto 15px auto;
        }
    
        .interview-actions {
            text-align: center;
        
            button {
                display:block;
                width: 100%;
                margin-top: 15px;
                font-size: $font-size-h5;
                font-family: $font-family-sans-serif;
                text-transform: uppercase;
                
                &.btn-secondary {
                    background-color: color('gray-light');
                    &:hover {
                        background-color: color('gray');
                    }
                }
            }
        }
    }
}
