﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 5px;
    padding-right: 5px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
/*input,
select,
textarea {
    max-width: 280px;
}*/

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

[type=text] {
    height: 25px;
    font-size: small;
}

select {
    height: 25px !important;
    font-size: small;
}

/*grids*/
.mydatagrid {
    width: 130%;
    border: solid 2px silver;
    /*min-width: 80%;*/
}

.header {
    background-color: #0070e0;
    font-family: Arial;
    color: White;
    /*border: none 0px transparent;*/
    height: 20px;
    text-align: center;
    font-size: 12px;
}

.rows {
    background-color: #fff;
    font-family: Arial;
    font-size: 11px;
    color: #000;
    min-height: 15px;
    text-align: left;
    /*border: none 0px transparent;*/
}

.footergrid {
    border: none 0px transparent;
}

/*ao passar object mouse sobre aside rows*/
/*.rows:hover {
    background-color: navajowhite;
    font-family: Arial;
    color: black;
    text-align: left;
}*/

.selectedrow td {
    background-color: #A1DCF2 !important;
    border: none 0px transparent;
}

.mydatagrid a /** FOR THE PAGING ICONS  **/ {
    background-color: Transparent;
    padding: 5px 5px 5px 5px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/*.mydatagrid a:hover  {
        background-color: #000;
        color: #fff;
    }*/

.mydatagrid span /** FOR THE PAGING ICONS CURRENT PAGE INDICATOR **/ {
    /* background-color: White;*/
    color: #000;
    padding: 5px 5px 5px 5px;
}

.pagerMercattum {
    background-color: #0070e0;
    font-family: Arial;
    color: #0070e0;
    height: 30px;
    text-align: left;
    font-size: 12px;
}

.mydatagrid td {
    padding: 5px;
    /*border: none 0px transparent;*/
}

.mydatagrid th {
    padding: 5px;
}

/*update progress class*/
/*.CenterPB {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -30px; 
    margin-left: -30px;
}*/

.CenterPB {
    /*position: relative;*/
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;
    margin: 0 0 6px;
    padding: 15px 15px 15px 50px;
    width: 300px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    background-position: 15px center;
    background-repeat: no-repeat;
    -moz-box-shadow: 0 0 12px #999999;
    -webkit-box-shadow: 0 0 12px #999999;
    box-shadow: 0 0 12px #999999;
    color: #ffffff;
    opacity: 0.9;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    filter: alpha(opacity=80);
}

.mercattumdropdown {
    color: cornflowerblue;
    font-size: 10pt;
    padding: 2px 2px;
    border-radius: 5px;
    background-color: white;
}

/*PARA GERAR SCROOL NO AUTOCOMPLETE J QUERY UI*/

/* IE 6 doesn't support max-height
	 * we use height instead, but this forces the menu to always be this tall
	 */
* html .ui-autocomplete {
    height: 250px;
}

.ui-autocomplete {
    max-height: 250px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    z-index: 99999 !important;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;
    padding: 4px 0;
    margin: 0 0 10px 25px;
    list-style: none;
    background-color: #0070e0;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}

.ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #0070e0;
    white-space: nowrap;
    text-decoration: none;
}

.ui-state-hover, .ui-state-active {
    color: #0070e0;
    text-decoration: none;
    background-color: #0070e0;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-image: none;
}

/* AutoComplete highlighted item */
.autocomplete_completionListElement {
    margin: 0px !important;
    z-index: 99999 !important;
    background-color: ivory;
    color: windowtext;
    border: buttonshadow;
    border-width: 1px;
    border-style: solid;
    cursor: default;
    overflow: auto;
    height: 200px;
    text-align: left;
    left: 0px;
    list-style-type: none;
}
/* AutoComplete highlighted item */
.autocomplete_highlightedListItem {
    z-index: 99999 !important;
    background-color: #ffff99;
    color: black;
    padding: 1px;
    cursor: pointer;
}
/* AutoComplete item */
.autocomplete_listItem {
    z-index: 99999 !important;
    background-color: window;
    color: windowtext;
    padding: 1px;
    cursor: pointer;
}