﻿
/*
    TILES - Inicio
*/

.wi-tile {
    display: inline-block;
    margin-bottom: 5px;
    margin-right: 5px;
    position: relative;
    color: #333;
    border: 1px solid #f2f2f2;
    background-color: #f2f2f2;
    -webkit-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    -moz-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
    vertical-align: middle;
}

    .wi-tile:focus, .wi-tile:hover {
        border: 1px solid gray;
        color: #333;
        text-decoration: none;
    }

    .wi-tile .fa {
        margin-top: 20px;
    }



/* 
    TILE SMALL - Inicio ------------------
*/

.wi-tile-small {
    width: 135px;
    height: 110px;
    text-align: center;
}

@media all and (min-width:360px) {
    .wi-tile-small {
        width: 150px;
    }
}

@media all and (min-width:500px) {
    .wi-tile-small {
        width: 110px;
    }
}

.wi-tile-small > .icon, .wi-tile-small > .icon32, .wi-tile-small > .icon48 {
    display: block;
    margin: 15px auto;
}

.wi-tile-small .wi-tile-text {
    position: absolute;
    left: 0;
    bottom: 15px;
    width: 100%;
}

    .wi-tile-small .wi-tile-text:first-letter {
        text-transform: uppercase;
    }





/*
    WIDGETS - Inicio -----------------------------------------
*/

.wi-widget-sample-group {
    padding: 10px;
    padding-left: 10px !important;
    background-color: #f2f2f2;
    margin-bottom: 10px;
    width: 98%;
    vertical-align:top;
}

.wi-widget-sample-container {
    height: 290px;
    width: 250px;
    position: relative;
    vertical-align:top;
}

.wi-widget-sample {
    height: 260px;
    cursor: pointer;
    overflow: hidden;
}

    .wi-widget-sample:hover, wi-wiget-sample:focus {
        background-color: #f2f2f2;
    }

    .wi-widget-sample .widget-img-container {
        border-bottom: 1px solid #f2f2f2;
    }

    .wi-widget-sample .widget-size-sample {
        margin-top: 97px;
        margin-right: 7px;
        border-radius: 50%;
        padding: 6px;
        font-size: 0.9em;
        background-color: #f2f2f2;
        color: #333;
    }

    .wi-widget-sample.selected {
        border: 2px solid #007acc;
    }

        .wi-widget-sample.selected > span:first-child {
            display: block;
            position: absolute;
            right: 5px;
            margin-top: -5px;
            border-bottom: 32px solid transparent;
            border-right: 32px solid #007acc;
        }


            .wi-widget-sample.selected > span:first-child::after {
                content: "\00a0";
                display: block;
                width: 5px;
                height: 9px;
                border: solid #fff;
                border-width: 0 4px 4px 0;
                position: absolute;
                left: 17px;
                top: 30%;
                -webkit-transform: rotate(45deg);
                -moz-transform: translateZ(1px) rotate(45deg);
                -o-transform: rotate(45deg);
                -ms-transform: rotate(45deg);
                transform: rotate(45deg);
            }




.wi-widget {
    padding: 0;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

    .wi-widget abbr {
        text-transform:none;
    }

    .wi-widget .widget-titlebar {
        min-height: 30px;
    }

        .wi-widget .widget-titlebar .fa {
            color: #666;
            width: 32px;
            height: 36px;
            cursor: pointer;
            text-align: center;
            vertical-align: middle;
            line-height: 34px;
            padding-left:4px;
            padding-right:4px;
        }

        .wi-widget .widget-titlebar .icon {
            cursor: pointer;
            margin-top:0 !important;
            margin-left:4px;
            margin-right:6px;
        }

        .wi-widget .widget-titlebar .selected {
            background-color: #ddd;
        }

        .wi-widget .widget-titlebar .disabled {
            color: #e2e2e2 !important;
            cursor: default;
        }

    .wi-widget .wi-bg-purple .fa, .wi-widget .wi-bg-red1 .fa, .wi-widget .wi-bg-red2 .fa,
    .wi-widget .wi-bg-red3 .fa, .wi-widget .wi-bg-orange1 .fa, .wi-widget .wi-bg-green1 .fa,
    .wi-widget .wi-bg-green2 .fa, .wi-widget .wi-bg-green3 .fa, .wi-widget .wi-bg-green4 .fa,
    .wi-widget .wi-bg-appblue .fa, .wi-widget .wi-bg-blue1 .fa, .wi-widget .wi-bg-blue2 .fa,
    .wi-widget .wi-bg-blue3 .fa, .wi-widget .wi-bg-blue4 .fa, .wi-widget .wi-bg-blue5 .fa,
    .wi-widget .wi-bg-blue6 .fa {
        color: #fff;
    }

    .wi-widget .widget-titlebar .list-unstyled,
    .wi-widget .widget-titlebar .widget-icon {
        display: none;
        margin-top: -5px;
        position: absolute;
        z-index: 1000;
        right: 15px;
    }

    .wi-widget .widget-titlebar .title {
        float: left;
        text-transform: uppercase;
        white-space: nowrap;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        overflow: hidden;
        width: 78%;
    }

    .wi-widget .widget-toolbar {
        display: none;
        color: darkgray;
        background-color: #fff;
        height:80%;
    }

    .wi-widget .widget-toolbar .list-inline {
        margin-bottom:0;
    }

        .wi-widget .widget-toolbar .list-inline > li {
            padding: 8px;
            border: 1px solid #f2f2f2;
            cursor: pointer;
            width: 24px;
            height: 18px;
            text-align: center;
            margin-bottom: 3px;
        }

        .wi-widget .widget-toolbar .list-inline > li:hover, 
        .wi-widget .widget-toolbar .list-inline > li:active, 
        .wi-widget .widget-toolbar .list-inline > li:focus {
            background-color:#f2f2f2;
        }

    .wi-widget .wi-bg-purple .widget-toolbar, .wi-widget .wi-bg-red1 .widget-toolbar, .wi-widget .wi-bg-red2 .widget-toolbar,
    .wi-widget .wi-bg-red3 .widget-toolbar, .wi-widget .wi-bg-orange1 .widget-toolbar, .wi-widget .wi-bg-green1 .widget-toolbar,
    .wi-widget .wi-bg-green2 .widget-toolbar, .wi-widget .wi-bg-green3 .widget-toolbar, .wi-widget .wi-bg-green4 .widget-toolbar,
    .wi-widget .wi-bg-appblue .widget-toolbar, .wi-widget .wi-bg-blue1 .widget-toolbar, .wi-widget .wi-bg-blue2 .widget-toolbar,
    .wi-widget .wi-bg-blue3 .widget-toolbar, .wi-widget .wi-bg-blue4 .widget-toolbar, .wi-widget .wi-bg-blue5 .widget-toolbar,
    .wi-widget .wi-bg-blue6 .widget-toolbar {
        color: inherit;
        background-color: inherit;
    }


.wi-widget-height05x, .wi-widget-height1x, .wi-widget-height2x, .wi-widget-height4x {
    margin: 10px 10px 0 0;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #e3e3e3;
}

.wi-widget-height05x {
    height: 33px;
}

.wi-widget-height1x {
    height: 98px;
}

    .wi-widget-height1x .widget-content {
        height: 70px;
    }

.wi-widget-height2x {
    height: 228px;
}

    .wi-widget-height2x .widget-content {
        height: 196px;
        overflow: auto;
    }

.wi-widget-height4x {
    height: 488px;
}

    .wi-widget-height4x .widget-content {
        height: 450px;
        overflow: auto;
    }

.wi-widget-overlay {
    display: none;
    position: absolute;
    top: 0;
    opacity: 0.4;
    filter: alpha(opacity=40);
    margin: 7px 0 0 0;
    background-color: #fff;
    z-index: 1028;
    height: 100%;
    width: 100%;
}

.wi-widget-loading {
    display: none;
    z-index: 1029;
    position: absolute;
    top: 40%;
    left: -30px;
    height: 35px;
    width: 100%;
}
