﻿.thumbnails-view, .smart-search-extend, .smart-search-text {
    margin: 0;
    padding: 0;
    font-family: 'segoeui',sans-serif;
    color: #333;
}

.thumbnails-view ul, .smart-search-extend ul, .smart-search-text ul{
    list-style: none;
    padding: 0;
}  

.smart-search-text {



}

.powered-by{

    position:fixed;
    top:0;
    right:20px;
    width:142px;
    height:23px;
    z-index:102;

}



.clearfix:before,
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  overflow: hidden;
}
.clearfix:after {
    clear: both;
}

/*
ul, ol, li {
    list-style: none;
    padding: 0;
}*/
 
table {
    border-spacing: 10px;
    border-collapse: separate;
}

td {
    padding: 0;
    margin: 0;
}

.loader {
    background-image: url(../images/loader.gif);
    background-position: center center;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.not-found {
    text-align: center;
    height: 200px;
    line-height: 200px;

    text-align: center;
    position: absolute;
    top: 30%;
    left: 50%;
    height: 200px;
    line-height: 200px;


}

.ui-dialog-titlebar-close{
    display: none;
}


.logo {
            background-color: #93C90F;

            img {
                width: auto;
                height: 30px;
                margin: 5px 30px 5px 80px;
                float: left;
            }
        }



.thumbnails-view {

    header {
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        padding: 0;
        margin: 0;
        z-index: 101;

        

        hgroup {
            padding: 15px 10px 15px 30px;
            background-color: #fff;

            h1 {
                font-size: 24px;
                font-weight: bold;
                padding: 5px 0;
                margin: 0;
                float: left;
            }

            h2 {
                float: left;
                font-size: 14px;
                font-weight: normal;
                margin-left: 15px;
            }
        }

        .search-container {
            float: right;
            margin: 5px 170px !important;
            position:relative;

            input {
                border: 1px solid #bababa;
                height: 30px;
                width: 150px;
                border-radius: 5px;
                font-size: 14px;
                padding: 0 10px;
                color: #666;
                cursor: pointer;
                background-color: transparent;
                outline: none;
            }

            .search-icon{        
                position:absolute;
                right:0;
                background: url(../Images/search.png) no-repeat left;
                width: 19px;
                height: 19px;
                display:inline-block;
                /*margin: 8px -167px 0 0;*/
                cursor: pointer;
                top: 7px;
                right: 6px;

            }
        }
    }

    main {
        position: relative;
        margin-top:75px;

        .thumbnails {
            margin-left: 290px;
            
            z-index: 91;

            .ul-catalog {
                margin-top: 0;
                min-height:600px;

                > li {
                    text-align: center;
                    width: 170px;
                    color: #888;
                    font-size: 12px;
                    border: solid 0 #ccc;
                    margin: 0 21px 30px 21px;
                    float: left;
                    position: relative;
                    min-height: 230px;
                    height: 250px;
                    overflow: hidden;
                }


                ul > li {

                    &.image {
                        width: 170px;
                        height: 170px;
                        overflow: hidden;
                        border: 0;
                        display: table-cell;
                        vertical-align: middle;

                        a {
                            display: inline-block;
                            cursor:default;

                            img {
                                border: 0;
                            }
                        }
                    }

                    width: 170px;
                    padding: 0;
                    margin: 0;
                    margin-bottom: 5px;
                    font-size: 12px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;

                    label {
                        float: left;
                    }

                    span {
                        color: #333;
                    }
                }
            }
        }

        aside {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            width: 240px;
            background-color: #fff;
            padding-left: 30px;
            border-right: solid 1px #ccc;
            overflow: auto;

            h2 {
                padding: 0;
                margin: 0;
                font-size: 14px;
            }

            #dvMainCategory {
                border-bottom: solid 1px #ccc;

                > ul > li {
                    font-weight: bold;
                    cursor:pointer;
                    margin-bottom: 10px;
                }

                .ul-filter {

                    li {
                        color: #333;
                        font-size: 13px;
                        font-weight: normal;
                        margin: 8px 0;
                        padding-left: 20px;
                        cursor: pointer;    
                        font-weight: normal;
                        padding-left: 24px;       
                    }
                }

                [data-maincategory].selected {
                    font-weight: bold;
                    color: #88be23;
                }

                [data-filter].selected {
                    color: #88be23;                    
                    padding-left: 20px;
                    border-left: 3px solid #88be23;
                }
            }

            #dvSmartSearch {
                margin-top: 15px;

                h2{
                    a.clear{
                        float:right;
                        color:#fe5000;
                        font-weight:normal;
                        text-decoration:none;
                        margin-right:10px;
                    }
                }


                .selected {
                    color: #88be23;
                    font-weight: bold;
                }

                li {
                    padding: 3px 0;
                    cursor: pointer;
                }
            }
        }
    }

    .smart-search-menu {
        position: fixed;
        top: 0;
        left: 250px;
        background-color: #fff;
        border: solid 1px #93c90e;
        width: 280px;
        height: auto;
        min-height: 50px;
        overflow:auto;
        z-index:9999;

        a {
            color: #fe5000;
            text-decoration: none;
            margin: 10px 15px;
        }

        .done {
            float: right;
        }

        .clear {
            float: left;
        }

        .selected {
            font-weight: bold;
        }

        ul {
            margin: 0;
            padding: 0 10px 10px;
            max-height:300px;

            li {
                padding: 5px;
                cursor: pointer;
            }

            li.sm-loader{
                height:150px;
                background-image: url(../images/loader.gif);
                background-position: center center;
                background-repeat: no-repeat;
            }
        }

        label {
            font-size: 12px;
            vertical-align: 3px;
        }

        input[type=text] {
            float: right;
            width: 118px;
            margin: 0 5px 0 0;
            padding: 4px 4px;
            border: solid 1px #DDDDDD;
            border-radius: 3px;

            &.date-icon {
                background-image: url(../images/calendar.png);
                background-position: 104px 3px;
                background-repeat: no-repeat;
            }
        }

        &:after, &:before {
            right: 100%;
            top: 30px;
            border: solid transparent;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none;
        }

        &:after {
            border-color: rgba(147, 201, 14, 0);
            border-right-color: #93c90e;
            border-width: 15px;
            margin-top: -15px;
        }

        &:before {
            border-color: rgba(147, 201, 14, 0);
            border-right-color: #93c90e;
            border-width: 15px;
            margin-top: -15px;
        }
    }
}

