﻿/* DEFAULTS
----------------------------------------------------------*/
/*
    start = 16px
    8px = .5rem
    10px = .63rem
    12px = .75rem
    14px = .88rem
    16px = 1rem
    18px = 1.13rem
    20px = 1.25rem
    24px = 1.5rem
    28px = 1.75rem
    32px = 2rem
*/

:root {
    --cb_html: white;
    --cb_body: white;
    --cb_header: #ced4da;
    --cb_form: white;
    --cb_row: white;
    --cb_altrow: #fffbd6;
    --cb_filter: #ced4da;
    --cb_title_color: #1e90ff !important;
    --cb_title_border_color: #1ea9ff !important;
    --cb_button_color: #008ad1 !important;
    --c_row: black;
    --c_altrow: black;
    --c_text_on_bg: black;
    --c_text_label: black;
    --c_task_link: #990000;
    --c_task_cr: black;
    --c_button_color: white;
    --c_active_link: red;
    --c_header_link: black;
    --c_text_error: red;
    --bgimage: none;
    --title_w_corr: 38rem;
}


/*:root {
    --cb_html: #676767;
    --cb_body: transparent;
    --cb_header: transparent;
    --cb_form: transparent;
    --cb_row: white;
    --cb_altrow: #fffbd6;
    --c_row: black;
    --c_altrow: black;
    --bgimage: url('../images/user_bg.jpg');
    --c_text_on_bg: white;
    --c_text_label: white;
    --title_w_corr: 600px;
    --cb_filter: #676767;
    --c_task_link: #990000;
    --c_task_cr: white;
    --cb_button_color: #d2a200 !important;
    --c_button_color: white;
    --c_active_link: red;
    --c_header_link: white;
    --c_text_error: red;
    --cb_title_color: #d2a200 !important;
    --cb_title_border_color: #d2a230 !important;
}*/

html {
    min-width: 980px;
    box-sizing: border-box;
    font-size: 16px;
    background-image: var(--bgimage);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--cb_html);
}

*, *::before, *::after {
    box-sizing: inherit;
}




body {
    max-width: 90%;
    margin: 0 auto;
    background-color: var(--cb_body);
    padding: 0;
    font-family: 'Helvetica Neue', 'Lucida Grande', 'Segoe UI', Arial, Helvetica, Verdana, sans-serif;
}



/* HEADINGS   
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    padding-bottom: 0;
    margin-bottom: 0;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.38rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.13rem;
}


h6 {
    font-size: 1rem;
}

[type=checkbox] {
    transform: scale(2);
    padding: .63rem;
    margin-left: .63rem;
}

    [type=checkbox] ~ label {
        padding-left: .63rem;
    }


[type=text] {
    height: 1.75rem;
    border: 1px solid #9F9F9F;
    border-radius: 3px;
    margin-left: 0;
}

    [type=text]:focus {
        background-color: #465C82;
        color: #FFF;
        border: #0861A0 1px solid;
    }

    [type=text]:hover {
        border: #4992C4 1px solid;
    }

select {
    height: 2rem;
    min-width: 7rem;
    border: 1px solid #9F9F9F;
    border-radius: 3px;
}

    select:focus {
        background-color: #465C82;
        color: #FFF;
        border: #0861A0 1px solid;
    }



/*Classes*/



.h-login {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 60%;
}

.h-normal {
    max-height: 10rem;
    position: relative;
    overflow: hidden;
    background: var(--cb_header);
    color: var(--c_text_on_bg);
    width: 100%;
}

    .h-normal a:link, .h-normal a:visited {
        color: var(--c_header_link);
        text-decoration: none;
    }

    .h-normal a:hover, .h-normal a:active {
        color: var(--c_active_link);
        text-decoration: none;
    }


.h_title {
    width: calc(100% - var(--title_w_corr));
    padding-top: 2rem;
    text-align: center;
    float: left;
}

.h-user-tvrtka {
    width: 18rem;
    float: right;
}

    .h-user-tvrtka .inline-text {
        display: inline;
        text-align: left;
        font-weight: normal;
        font-size: .75rem;
        width: auto;
    }

    .h-user-tvrtka select {
        height: 1.5rem;
        text-align: left;
        font-weight: normal;
        font-size: .75rem;
    }


.h-logo-left {
    float: left;
    padding-top: 5px;
    padding-bottom: 5px;
}

.h-logo-right {
    float: right;
    padding-top: 5px;
    padding-bottom: 5px;
}

.grid_pregled {
    font-size: .75rem;
}

.grid2 tr.alttr:hover {
    background-color: Highlight;
    color: HighlightText;
    cursor: pointer;
}

.grid2 tr.nortr:hover {
    background-color: Highlight;
    color: HighlightText;
    cursor: pointer;
}



.alttr {
    background-color: var(--cb_altrow);
    color: var(--c_altrow);
}

.nortr {
    background-color: var(--cb_row);
    color: var(--c_row);
}



/*copyright*/
.task-cr {
    color: var(--c_task_cr);
    text-decoration: none;
}

.task-link {
    color: var(--c_task_link);
    text-decoration: none;
}

.form {
    background-color: var(--cb_form);
    width: 100%;
    min-height: 25rem;
}

.main {
    background-color: #fff;
    background-color: transparent;
}

.footer {
    padding: .5rem 0 0 0;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 60%;
}

    .footer > div {
        width: 22rem;
        margin: 0 auto;
        text-align: center;
    }



.filter {
    background-color: var(--cb_filter);
}


.form-group {
    margin-bottom: 1rem;
    display: block;
}

.form-group-slim {
    margin-bottom: .1rem;
    display: block;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

    .form-control:focus {
        color: #495057;
        background-color: #fff;
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
    }

.form-control-text {
    display: inline-block;
    width: 30%;
}

.form-control-text-slim {
    line-height: 1.2;
    height: calc(1.5rem + 2px);
    display: inline-block;
    width: 30%;
}

.form-control-label {
    color: var(--c_text_label);
    height: 100%;
    line-height: 100%;
    display: inline-block;
    width: calc(70% - 4rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-control-icon {
    height: 100%;
    line-height: 100%;
    width: 1rem;
    display: inline-block;
}



/*.form-control::placplaceholder {
        color: #6c757d;
        opacity: 1;
    }*/


.login-form {
    width: 22rem;
    margin: 0 auto;
    padding-top: 2em;
}

    .login-form .div-frame {
        margin-bottom: 1rem;
        background: #f7f7f7;
        box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
        padding: 30px;
    }

    .login-form h2 {
        margin: 0 0 1rem;
    }

    .login-form .form-control, .login-form .login-button, .login-form .half-button {
        min-height: 2.375rem;
        border-radius: .25rem;
    }

    .login-form .half-button {
        width: 49%;
        display: inline-block;
    }

    .login-form .login-button, .login-form .half-button {
        background-color: var(--cb_button_color);
        border: 0;
        color: var(--c_button_color);
    }


        .login-form .login-button:hover, .login-form .half-button:hover {
            cursor: pointer;
            opacity: 0.9;
        }

.form-button {
    margin-left: .2rem;
    width: auto;
    background-color: var(--cb_button_color);
    color: var(--c_button_color);
}

.form-button-slim {
    margin-left: .2rem;
    line-height: .8;
    font-size: 1rem;
    height: calc(1.5rem + 2px);
    display: inline-block;
    width: auto;
    background-color: var(--cb_button_color);
    color: var(--c_button_color);
}

/*tables*/
.ttable {
    display: table;
    table-layout: fixed;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0.2rem;
}


.trow {
    display: table-row;
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
}

.tcell10 {
    display: table-cell;
    width: 10% !important;
}

.tcell20 {
    display: table-cell;
    width: 20% !important;
}

.tcell30 {
    display: table-cell;
    width: 30% !important;
}

.tcell40 {
    display: table-cell;
    width: 40% !important;
}

.tcell50 {
    display: table-cell;
    width: 50% !important;
}

.tcell33 {
    display: table-cell;
    width: 33% !important;
}

.tcell66 {
    display: table-cell;
    width: 66% !important;
}

.tcell100 {
    display: table-cell;
    width: 100% !important;
}


/* MISC  
----------------------------------------------------------*/
.text_color_on_bg {
    color: var(--c_text_on_bg);
}

.p1 {
    padding: .5rem
}

.p1-b {
    padding-bottom: .5rem
}

.p1-l {
    padding-left: .5rem
}


.p2 {
    padding: 1rem
}

.p2-b {
    padding-bottom: 1rem
}

.p2-l {
    padding-left: 1rem
}


.bold {
    font-weight: bold
}

.text-center {
    text-align: center;
}

.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}

.float-none {
    float: none !important;
}

.width100 {
    width: 100%;
}

.width80 {
    width: 80%;
}

.width70 {
    width: 70%;
}

.width60 {
    width: 60%;
}

.width50 {
    width: 50%;
}

.width40 {
    width: 40%;
}

.width30 {
    width: 30%;
}

.width20 {
    width: 20%;
}

.clearfix::after .clear::after {
    display: block;
    clear: both;
    content: "";
}

.failureNotification {
    display: block;
    font-size: 1.0rem;
    color: var(--c_text_error);
}


.ui-datepicker-trigger {
    line-height: 1.2;
    height: calc(1.5rem + 2px);
    margin-left: 2px;
    font-size: 1rem;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    background-color: var(--cb_button_color);
    color: var(--c_button_color);
    vertical-align: top;
}

.ui-widget-header {
    border: 1px solid var(--cb_title_border_color);
    background: var(--cb_title_color) 50% 50% repeat-x;
    color: var(--c_text_on_bg);
    font-weight: bold;
}

/*ajax loader*/
.upgGrid {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 2rem;
    filter: alpha(opacity=50);
    opacity: 0.5;
}


@media only screen and (max-width: 1024px) and (max-height: 768px) {
    html {
        font-size: 14px;
    }
}
