// dashblock with icon 

//html
        /*--
        <aside>
            <header>
                <h1>My Unaudited Volume</h1>
                <div class="header-block icon">
                    <i class="icon-x-x-x-x"></i>
                </div>
            </header>
            <div class="top-content">
            </div>
            <div class="content">
            </div>
        </aside>
        */

.module-block-icon {
    margin-bottom: 20px;
    background-color: $white;
    position: relative;
    overflow: hidden;
    @include box-shadow(rgba($lightgrey, .3) 0 0 40px inset, rgba(black, .03) 0px 4px 3px);

    // Header styles : adds gradient and responsive hight 
    
    > header {
        position: relative;
        height: 60px;
        @include breakpoint($desktop) {
            height: 40px;
        }
        border-bottom: 1px solid darken($brightgreen,20%);
        box-shadow: inset 0 1px rgba(255,255,255,0.15);
        border-left: 1px solid lighten($brightgreen,10%);
        border-right: 1px solid darken($brightgreen,5%);
        @include background-image(linear-gradient(to bottom right,
        lighten($brightgreen,5%),
        darken($brightgreen,10%)));
        
        // block for icon image or text 
        
        .header-block {
            background-color: $black;
            display: block;
            position: absolute;
            top: 20px;
            left: 20px;
            height: 60px;
            width: 60px;
            @include breakpoint($desktop) {
                height: 40px;
                width: 40px;
            }
            @include border-radius(2px);
            @include box-shadow(rgba($lightgrey,.3) 0 0 40px inset, rgba(black,.03) 0px 4px 3px);
            
            // Stying for icon
            
            &.icon {
                text-align: center;
                padding: 10px;
                i {
                    font-size: 42px;
                    @include breakpoint($desktop) {
                        font-size: 22px;
                    }
                    color: #fff;
                    text-shadow: z;
                }
            }
            
            // Stying for date
            
            &.date {
                text-align: center;
                padding: 20px 0 0 0;
                @include breakpoint($desktop) {
                    padding: 10px 0 0 0 !important;
                }
                font-size: 18px;
                color: #fff;
            }
            &.image {
                background-image: url(../../shared-assets/images/member-user.png);
                background-size: 110%;
                border: 1px solid rgba(255, 255, 255, 0.2);
            }
        }
        h1 {
            font-size: 16px;
            margin-top: 20px;
            @include breakpoint($tablet) {
                font-size: 22px;
            }
            float: left;
            padding-top:3px;
            @include breakpoint($tablet) {
                padding-top: 0px;
            }
            margin-left: 105px;
            @include breakpoint($desktop) {
                margin-left: 80px;
                margin-top: 10px !important;
            }
            color: $white;
            text-shadow: $text-shadow;
        }
    }
    .content {
        padding: 40px 20px 15px 20px;
        @include breakpoint($desktop) {
            padding: 20px 20px 15px 20px;
        }
    }
} 

// dashblock without icon
.module-block {
    margin-bottom: 20px;
    background-color: $white;
    position: relative;
    display: block;
    overflow: hidden;
    @include box-shadow(rgba($lightgrey, .3) 0 0 40px inset, rgba(black, .03) 0px 4px 3px);
    > header {
        position: relative;
        @include background-image(linear-gradient(to bottom right, lighten($brightgreen, 5%), darken($brightgreen, 10%)));
        height: 40px;
        border-bottom: 1px solid darken($brightgreen, 20%);
        box-shadow: inset 0 1px rgba(255, 255, 255, 0.15);
        border-left: 1px solid lighten($brightgreen, 10%);
        border-right: 1px solid darken($brightgreen, 5%);
        h1 {
            font-size: 16px;
            margin-top: 12px;
            margin-left: 20px;
            margin-bottom: 0px;
            float: left;
            color: $white;
            text-shadow: $text-shadow;
        }
    }
    .content {
        padding: 40px 20px 5px 20px;
        @include breakpoint($desktop) {
            padding: 20px 20px 5px 20px;
        }
    }
}