html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #263e60;
}

body {
    background-color: #FFFFFF;
    color: #333333;
    font-family: "Segoe UI",Verdana,Helvetica,Sans-Serif;
    font-size: 0.85em;
    margin: 0;
    padding: 0;
    height: 100%;
}

.header,
.header a,
.footer,
.footer a{
    color: white;
}

.ui-layout-unit {
    overflow: visible;
}

.header {
    background-color: #263e60;
    height: 85px;
    width: 100%;
    -moz-box-shadow: 5px 5px 5px #888;
    -webkit-box-shadow: 5px 5px 5px #888;
    box-shadow: 5px 5px 5px #888;
}

.header img#amssLogo {
    height: 75px;
    padding-top: 5px;
    padding-left: 10px;
    float: left;
}

.header img#amssLogoDesni {
    height: 60px;
    padding-top: 5px;
    padding-left: 10px;
    float: right;
}

.header #amssHeaderTitle {
    float: right;
    height: 15px;
    padding-top: 5px;
    font-size: 1.2em;
    font-weight: 600;
    padding-right: 10px;
    text-align: right;
}

#logoutForm {
    float: right;
    text-align: right;
    padding-top: 20px;
}

.logoutButton {
    margin-right: 20px;
}

.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* margin: 0 auto -5em; */
    background-color: #FFFFFF;
}

.content {
    border: none;
    padding: 10px;
    margin-top: 10px;
}

.footer {
    background-color: #263e60;
    clear: both;
    font-size: 0.8em;
    height: 5em;
    padding: 10px;
}

.footer p {
    padding-top: 20px;
}

.footer #copyright{
    float: left;
}

.footer #externalLinks {
    float: right;
}

.content-wrapper {
    margin: 0 auto;
    max-width: 960px;
}

/* Login */

#loginPanel {
    width: 350px; 
    margin-top: 20px;
}

.loginForm label {
    float: left;
    width: 100%;
    text-align: left;
    padding-top: 10px;
    font-size: 1.2em;
    font-weight: 600;    
}

.loginForm input {
    float: left;
    width: 100%;
}

.loginForm button {
    margin-top: 10px;
}

/* Search select lists */
#pretragaForm .ui-autocomplete {
    float: left;
    margin-left: 5px;
    margin-top: 3px;   
}


#pretragaForm .ui-selectonemenu {
   width: 150px !important;
   margin-left: 5px;
   margin-top: 3px;
   float: left;
}

#pretragaForm button {
    margin-left: 30px;
    float: left;
}

#pretragaForm .title {
    float: left;
    padding-left: 20px;
    padding-top: 7px;
}

.hide
{
    display:none;
    visibility:hidden;
    width:0px !important;
    height:0px !important;
}

/* DataTable */

.vozilaTable th {
    vertical-align: top;
}

.vozilaTable thead {
    font-size: 12px;
}

#vozilaForm .ui-datatable-empty-message, .administracija form .ui-datatable-empty-message{
    height: 100px;
}

.ui-datatable-even td,
.ui-datatable-odd td {
    white-space: normal !important;
}

.ui-selectonemenu-panel.hideDisabled .ui-selectonemenu-item.ui-state-disabled {
    display: none; /* Sakriva disabled opcije iz select menu-a */
}

#brojRezultata {
    float: right;
    margin-right: 10px;
    margin-top: -25px;
    margin-bottom: 20px;
}

@media (min-width: 750px) {
    #vozilaForm .ui-paginator-top, .administracija form .ui-paginator-top{
        display: block;
        float: left;
        margin-top: -35px;
        border: none;
        margin-left: 2px;
    }

    #vozilaForm .ui-paginator-bottom, .administracija form .ui-paginator-bottom {
        display: block;
        text-align: left;
        border: none;
    }
    
    #vozilaForm .ui-datatable-header, .administracija form .ui-datatable-header {
        text-align: right;
    }
    
    #vozilaForm .ui-datatable-footer, .administracija form .ui-datatable-footer {
        border: none;
        float: right;
        margin-top: -28px;
    }
}

/* Administarcija */
div.administartionpage_title {
    padding-right: 30px;
}

.administrationPanel {
    margin-right: 30px;
    margin-bottom: 20px;
    min-width: 450px;
}

.administracija .ui-panel {
    margin-top: 10px;
}

.administracija .lbl {
    font-weight: bold;
}

.administracija .inp, .administracija .otp {
    width: 250px;
    margin-left: 3px;
    margin-right: 3px;
    display: block;
}

.administracija .ui-menubar {
    margin-bottom: 20px;
}

.administartionpage_title {
    font-size: large;
    padding-top: 10px;
    padding-right: 20px;
    text-align: right;
}

.administrationPanelFooterButtonHolder {
    float: right;
}

.administrationPanelColumns {
    height: 20px;
    vertical-align: middle;
    min-width: 105px;
}

#administracijaForm .generalCommandButtons {
    text-align: right; 
    margin-top: 5px;
}

/* Cena display */
.cenaDisplay button {
    margin-left: 5px;
}

.cenaDisplayActionButton {
    float: right;
}

.cenaDisplayActionLink {
    padding:7px;
    margin: 0 3px 0 15px;
    float: right;
}

.dokumentPrintLink {
    margin-top: 10px; 
    float: right
}

a.dokumentPrintLink {
    color: #4F4F4F; 
}

a.dokumentPrintLink:hover {
    color: #3F3F3F; 
}

span.dokumentPrintLink {
    color: #CCCCCC;
}

/* Not enough permissions message page */
.notEnoughPermissions {
    width: 300px;
    margin: auto;
    margin-top: 50px;
}
