﻿

/*---------------------  Širina i pozicija kontrole ------------------------*/
/* ova duz klasa je da bi stavio pored osnovne klase i ove koja definiše osobinu*/
.sirina_80proc {
    width: 80%;
}

.sirina_50proc {
    width: 50%;
}

.sirina_30proc {
    width: 30%;
}

.td-50-desno {
    width: 50%;
    text-align: right;
}

.td-50-levo {
    width: 50%;
    text-align: left;
}

._centar {
    text-align: center;
}



/********   ŠIRINA U PIKSELIMA  ***************/

.sirina_550px {
    width: 540px;
}

.sirina_300px {
    width: 300px;
}

.sirina_250px {
    width: 240px;
}

.sirina_200px {
    width: 200px;
}

.sirina_150px {
    width: 150px;
}

.sirina_100px {
    width: 100px;
}

.sirina_50px {
    width: 50px;
}


.txt-levo {
    text-align: left
}

.txt-desno {
    text-align: right
}

.txt-centar {
    text-align: center
}

.td-50px-levo {
    width: 50px;
    text-align: left;
}

.td-50px-desno {
    width: 50px;
    text-align: right;
}

.td-50px-centar {
    width: 50px;
    text-align: center;
}


/*-------------------------------   TEXTBOX  ------------------------*/
.form-txt {
    /*  POZICIJA IZA LABELE */
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    vertical-align: middle;
    margin-left: 5px;
    /*  SLOVA   */
    color: black;
    padding: 2px 8px;
    /*font-weight: bold;*/
    /*-------------*/
    font-size: 14px;
    line-height: 1.42857143;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    /*box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    /*-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);*/
    /*-moz-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;*/
    /*-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;*/
}

    .form-txt:focus {
        box-shadow: 0 0 1em green;
    }

.lblPolja {
    text-align: right;
    width: 200px;
    color: steelblue;
}

/*------------------------   DROPBOX  -------------------------*/

.divDrop {
    cursor: pointer;
    line-height: 1;
    border: 0;
    padding: 2px;
    border-radius: 0;
    width: 540px;
    border-bottom: 2px solid #8d8c8c;
}

.cmbBox {
    font-size: xx-large;
    cursor: pointer;
    border: 0;
    /*outline: 0px;*/
    background: transparent;
    width: 540px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    overflow: hidden;
}

.cmbBox1 {
    cursor: pointer;
    background: transparent;
    line-height: 1;
    border: 0;
    outline: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
    vertical-align: middle;
    margin-left: 5px;
    padding: 2px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    border-collapse: collapse;
}

    .cmbBox1:focus {
        box-shadow: 0 0 1em green;
    }

    .cmbBox1::after {
        background-color: red;
    }

.cmbBox2 {
    cursor: pointer;
    font-family: Arial;
    font-size: large;
    padding: 2px;
    border: 0;
    outline: 0px;
    background: transparent;
    width: 540px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    overflow: hidden;
}

/*-------------------------------   TABELA  ------------------------*/

.NaslTab {
    font-size: 20pt;
    font-weight: bold;
    padding-bottom: 5px;
}

.Tabela {
    font-family: Arial;
    background: transparent;
    color: #033b08;
    font-size: 16px;
    border-collapse: collapse;
    margin: 0 auto; /*   Postavlja tabelu na sredinu div-a ili već nečega */
}

.TabelaIvica {
    font-family: Arial;
    background: transparent;
    color: #033b08;
    font-size: 16px;
    border-collapse: collapse;
}

.Zaglavlje {
    text-align: center;
    background: transparent;
    color: black;
    border: 0px;
}

    .Zaglavlje td {
        border: 1px solid #3c802d;
    }

.NaslovRow {
    background-color: black;
    text-align: center;
    color: white;
    height: 30px;
}

.Kolona5 {
    background: #eaf8e8;
    border: 3px solid #3c802d;
}

.CellRedBr {
    text-align: center;
    width: 5%;
}

.CellDugme {
    text-align: center; /* Postavlja i kontrole na sredinu */
}

.Dugme,
.DugmePromena,
.DugmeUpis,
.DugmeOdust,
.DugmeDodaj,
.DugmeBrisi {
    border: 0;
    height: 35px;
    width: 100px;
    background: none;
    box-shadow: none;
    border-radius: 0px;
    font-size: 16px;
}

    .Dugme:hover,
    .DugmePromena:hover,
    .DugmeUpis:hover,
    .DugmeDodaj:hover,
    .DugmeOdust:hover,
    .DugmeBrisi:hover {
        color: white;
        cursor: pointer;
        border: 2px solid white;
    }

    .Dugme:active,
    .DugmePromena:active {
        background-color: green;
        color: white;
    }

.Button { /*    Samosatalno dugme     */
    /*display: inline;*/
    height: 30px;
    width: 100px;
    background: rgb(205, 252, 208);
    border: 0; /* rgb(27, 101, 2);*/
    border-style: solid;
    background-image: radial-gradient(rgb(205, 252, 208), white);
    padding: 0,7em 2em;
    color: rgb(21, 81, 1);
    border-radius: 10px;
}

    .Button:hover {
        cursor: pointer;
        background-image: radial-gradient(rgb(27, 101, 2), rgb(205, 252, 208));
        font-weight: bold; /* Boldiranje */
        color: white;
    }


.CellCentar {
    text-align: center;
}

.CellDesno {
    text-align: right;
}

.Red {
    height: 40px;
}

.bodyTabele tr:hover {
    border: 1.5px solid #176205;
    cursor: pointer;
    background: rgb(206, 7, 147);
    color: white;
}

.bodyTabele tr:nth-child(odd) {
    background-color: #eaf8e8;
}

    .bodyTabele tr:nth-child(odd):hover {
        background-color: rgb(206, 7, 147);
    }

.Futer {
    background-color: #82d082;
    color: #04086c
}
