html {
    margin: 0;
    padding: 0;
    background: #F2F2F2 url('../img/bg.jpg') repeat-x;
}

body {
    font-size: .85em;
    font-size: 13px;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    color: #232323;
    margin: 0;
}

header, footer, nav, section {
    display: block;
}

h1 {
    font-size: 2em;
}
h2 {
    font-size: 1.75em;
}
h3 {
    font-size: 1.2em;
}
h4 {
    font-size: 1.1em;
}
h5, h6 {
    font-size: 1em;
}

button {
    cursor: pointer;
    padding: 5px;
    width: 170px;
}

fieldset {
    position: relative;
    border: 0;
}
    fieldset legend {
        font-weight: bold;
        font-style: italic;
        font-size: 18px;
        border-bottom: 1px solid silver;
        width: 400px;
    }

#col-xls {
    vertical-align: top; 
    text-align: right;
}
#btn-xls {
    position: absolute;
    top: 120px;
    right: 27px;
    width: 50px;
}
    #btn-xls > img {
        width: 30px;
        height: 30px;
    }

/* Styles for standard operation
-----------------------------------------------------------*/
.Hidden {
    display: none;
}

.SuccessMsg {
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 5px;
    background-color: #DFF0D8;
    color: #468847;
}

.floatRight {
    float: right;
    margin-top: -40px;
}

/* Styles for header
-----------------------------------------------------------*/
#header {
    display: table;
    width: 100%;
    height: 106px;
}

#logo {
    display: table-cell;
    width: 470px;
    height: 102px;
}

    #logo > img {
	margin-left: 10px;
	margin-top: 5px;
	width: 110px;
    }
	
    #logo > h1 {
	font: 16px 'Comic Sans MS', Sans-serif;
	color: white;
	margin-left: 10px;
	margin-top: 0px;
	margin-bottom: 0px;
    }
	
    #logo > h2 {
	font: 20px 'Comic Sans MS', Sans-serif;
	color: white;
	position: absolute;
	top: 5px;
	left: 130px;
    }

#header-content {
    display: table-cell;
    position: relative;
}

    #header-content nav {
        position: absolute;
        top: 52px;
        _top: 53px;
        right: 50px;
    }
    
    #header-content #menu {
        position: absolute;
        top: 67px;
        border-color: transparent;
        background-color: transparent;
        color: white;
    }
    
    #header-content #menu > li > a {
        color: white;
    }
    
.k-menu li.k-item,
.k-widget.k-menu-horizontal > li.k-first
{
    border-left-width: 1px;
    border-left-color: white;
}

/* Styles for detail view
-----------------------------------------------------------*/
.details-container {
    display: table;
    margin-bottom: 20px;
}
.details-container-margin {
    padding: 10px;
}
.details-container-row {
    display: table-row;
}
.details-container-row-labelcell {
    display: table-cell;
    width: 200px;
    padding: 2px; margin: 0px;
    vertical-align: top;
}
.details-container-row-valuecell {
    padding: 0px; margin: 0px;
}
    
/* Styles for search box
-----------------------------------------------------------*/
#search {
    margin: 10px;
}
    #search .k-datepicker {
        vertical-align: middle;
    }
    #search div {
        margin: 4px;
    }
    #search label {
        display: inline-block;
        width: 200px;
    }
    #search input {
        /*display: block;*/
    }
    #frmSearch {
        width: 450px;
    }
    
    .search-big > #frmSearch {
        width: 500px;
    }
    
    .search-big .k-dropdown, .search-big .k-datepicker {
        width: 200px;
    }
    
    .search-big .k-button {
        width: 210px;
    }

/* Styles for grid and popup window
-----------------------------------------------------------*/
.k-grid-detailView, .k-grid-edit, .k-grid-cancel, .k-grid-update, .k-grid-delete {
    min-width: 30px !important;
}
.k-edit, .k-update, .k-cancel, .k-delete {
    background-position: 0 0 ;
    width: 0px !important;
}
.k-edit-form-container {
    width: auto;
}