*,
*:after,
*:before
{
    -webkit-box-sizing: border-box; /* Safari 3.0 - 5.0, Chrome 1 - 9, Android 2.1 - 3.x */
    -moz-box-sizing: border-box;    /* Firefox 1 - 28 */
    box-sizing: border-box;         /* Safari 5.1+, Chrome 10+, Firefox 29+, Opera 7+, IE 8+, Android 4.0+, iOS any */
}


#gridSubViewWrapper {margin-bottom:15px;}

.mondoInGridView{
    width: 100%;
}

.mondoInGridView-header{
    margin: 0 10px 10px 10px;
    background-color: #DBDBDB;
    border: solid #CACACA 1px;
}


.mondoInGridView-header .display_tableCell{
    width: 26%;
    padding: 5px 0;
}

.mondoInGridView-header .mondoInGridView-itemsPerPageCol{
    text-align: center;
    width: 44%;
}

.mondoInGridView-nbItemsCol{
    text-align: right;
    padding-left: 15px;
}

.mondoInGridView-nbItemsCol ul {
    text-align: center;
}

.mondoInGridView-header .display_tableCell{
    padding-left: 15px;
    padding-right: 15px;
}


.mondoInGridView-sortCol{
    text-align: right;
    padding-right: 15px;
}

/* TEMP */
.mondoInGridView-sortCol *{
    display: none;
}



.mondoInGridView-header .dropdown-menu li > a{
    padding: 6px 0;
}

.mondoInGridView-header .btn-default{
    padding: 2px 10px;
}

.mondoInGridView-headerLabel{
    padding-right: 10px;
}


.gridItem{
    position: relative;
    float: left;
    padding: 10px;
    -webkit-touch-callout: none;
    -webkit-user-select:   none;
    -khtml-user-select:    none;
    -moz-user-select:      none;
    -ms-user-select:       none;
    user-select:           none;
}

.gridItem a{
    text-decoration: none !important;
}

.gridItem-baseContent{
    position: relative;
    padding: 0 15px;
    width: 100%;
}

.gridItem-imgContainer{
    position: relative;
    text-align: center;
    vertical-align: middle;
}

.gridItem-top{
    height: 70px;
}

.gridItem-bottom{
    position: relative;
}


.gridItem-bottom,
.gridItem-imgContainer
{
    height: 210px;
}

.gridItem-title{
    /*text-transform: uppercase;*/
    color: #3A3A3A;
    text-shadow: 0px 0px #9b9b9b;
    margin: 0;
    padding: 0;
    font-size: 14px;
    /*font-size: 1.4rem;*/
    line-height: 18px;
    font-weight: 600 !important;
    height: 57px;
}

.gridItem-contentType{
    display: inline-block;
    color: #EEEEEE;
    font-size: 10px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 10px;
    padding: 3px 5px 4px;
    background-color: #909090;
    letter-spacing: 1px;
    filter: alpha(opacity=70);
    /*box-shadow: 0 0 3px 0 rgba(0,0,0,0.4);*/
}


.gridItem-img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    margin: auto;
    width: auto;
    height: auto;
    max-width: 95%;
    max-width: calc(100% - 20px);
    max-height: 95%;
    max-height: calc(100% - 20px);


}

.gridItem-main{
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border: solid #CACACA 1px;
    background-color: #EEEEEE;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.2) inset;
    -moz-box-shadow:    0px 0px 20px 0px rgba(50, 50, 50, 0.2) inset;
    box-shadow:         0px 0px 20px 0px rgba(50, 50, 50, 0.2) inset;
    height: 280px;
}


.gridItem-overlay{
    position: absolute;
    top: 0;
    left: 110%;
    width: 100%;
    height: 100%;
    opacity: 0;
    padding: 15px;
    background-color: #292929;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;

    display: none;
}

.gridItem a:hover .gridItem-overlay{
    left: 0;
    opacity: 1;
}

.gridItem-label{
    font-style: italic;
    display: block;
}

.gridItem-overlay-data{
    margin-bottom: 5px;
}

.gridItem-value{
    font-size: 15px;
    font-size: 1.5rem;
}


.mondoInGridView-gridWrapper{
    position: relative;
    overflow: hidden;
}


/*.mondoInGridView-gridWrapper:after{*/
    /*position: absolute;*/
    /*content: "";*/
    /*top: 0;*/
    /*left: 0;*/
    /*width: 0%;*/
    /*height: 0%;*/
    /*background-color: #3c3c3c;*/
    /*background-color: rgba(0, 0, 0, 0.8);*/
    /*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";*/
    /*filter: alpha(opacity=0);*/
    /*-moz-opacity: 0;*/
    /*-khtml-opacity: 0;*/
    /*opacity: 0;*/

    /*-webkit-transition: opacity ease-out 0.4s;*/
    /*-moz-transition:    opacity ease-out 0.4s;*/
    /*-ms-transition:     opacity ease-out 0.4s;*/
    /*-o-transition:      opacity ease-out 0.4s;*/
    /*transition:         opacity ease-out 0.4s;*/
/*}*/

/*.mondoInGridView-gridWrapper.isLoading:after{*/
    /*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";*/
    /*filter: alpha(opacity=1);*/
    /*-moz-opacity: 1;*/
    /*-khtml-opacity: 1;*/
    /*opacity: 1;*/
    /*height: 100%;*/
    /*width: 100%;*/
/*}*/

.mondoInGridView-gridWrapper{
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;


    -webkit-transition: opacity ease-out 0.4s;
    -moz-transition:    opacity ease-out 0.4s;
    -ms-transition:     opacity ease-out 0.4s;
    -o-transition:      opacity ease-out 0.4s;
    transition:         opacity ease-out 0.4s;
}

.mondoInGridView-gridWrapper.isLoading{
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    opacity: 0.7;
}

.mondoInGridView-loaderWrapper{
    position: absolute;
    top: 100px;
    left: 0;
    z-index: 1;
    width: 100%;
}

.mondoInGridView-loader{
    background-image: url(loader.gif);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-color: white;
    border: solid #9A9A9A 2px;
    width: 75px;
    height: 75px;
    margin: auto;
}


/* Transitions */

.gridItem-overlay{
    -webkit-transition: all ease-out 0.4s 0.5s;
    -moz-transition:    all ease-out 0.4s 0.5s;
    -ms-transition:     all ease-out 0.4s 0.5s;
    -o-transition:      all ease-out 0.4s 0.5s;
    transition:         all ease-out 0.4s 0.5s;
}




.mondoInGridView .pagination{
    padding: 0 10px;
    margin: 10px 0 0 0;
}



.mondoInGridView .pagination li.disabled{
    display: none;
}

/* Temporary overwites, until we use switch over to base_bs3.css */



.mondoInGridView .pagination>li:first-child>a,
.mondoInGridView .pagination>li:first-child>span
{
    border-bottom-left-radius: 4px !important;
    border-top-left-radius: 4px !important;
}

.mondoInGridView .pagination>li:last-child>a,
.mondoInGridView .pagination>li:last-child>span
{
    border-bottom-right-radius: 4px !important;
    border-top-right-radius: 4px !important;
}


.mondoInGridView .pagination>li>a i,
.mondoInGridView .pagination>li>span i
{
    width: auto !important;
    height: auto !important;
    line-height: 1.3;
    display: inline;
}

.pagination .hideExtraPages.isVisible {
    display: inline;
}
.pagination .hideExtraPages {
    display: none;
}

.pagination>li.active>a,
.pagination>li.active>span,
.pagination>li.active>a:hover,
.pagination>li.active>span:hover,
.pagination>li.active>a:focus,
.pagination>li.active>span:focus
{
    z-index: 2;
    color: #fff !important;
    background-color: #428bca !important;
    border-color: #428bca !important;
    cursor: default;
}



/* Media Queries */

/* XS only */
@media (max-width: 768px) {
    .gridItem{
        width: 100%;
    }

    /*.gridItem-main > .display_table{*/
        /*height: 280px; *//* 10px padding */
    /*}*/

    /*.gridItem-baseContent{*/
        /*height: 70px;*/
    /*}*/

    /*.gridItem-imgContainer{*/
        /*height: 240px;*/
    /*}*/
}

/* XM only */
@media (min-width: 767px) and (max-width: 991px) {
    .gridItem{
        width: 50%;

    }

    /*.gridItem-main > .display_table{*/
        /*height: 280px; *//* 10px padding */
    /*}*/

    /*.gridItem-baseContent{*/
        /*height: 70px;*/
    /*}*/

    /*.gridItem-imgContainer{*/
        /*height: 240px;*/
    /*}*/
}

/* MD only */
@media (min-width: 992px) and (max-width: 1199px) {
    .gridItem{
        width: 50%;
        /*height: 250px;*/
    }

    /*.gridItem-main > .display_table{*/
        /*height: 230px; *//* 10px padding */
    /*}*/

    /*.gridItem-baseContent{*/
        /*height: 70px;*/
    /*}*/

    /*.gridItem-imgContainer{*/
        /*height: 190px;*/
    /*}*/
}

/* LG only */
@media (min-width: 1199px) {
    .gridItem{
        width: 33.3333333333%;
        /*height: 300px;*/
    }

    /*.gridItem-main > .display_table{*/
        /*height: 230px; *//* 10px padding */
    /*}*/

    /*.gridItem-baseContent{*/
        /*height: 70px;*/
    /*}*/

    /*.gridItem-imgContainer{*/
        /*height: 190px;*/
    /*}*/
}


/* XL only */
@media (min-width: 1600px) {
    .gridItem{
        width: 33.3333333333%;
    }
}