:root {
    --primarydark: #0d112e;
    --secondary: #337ab7;
    --success: #029669;
    --error: #D41856;
    --gray: #686868;
    --darkgray: #444444;
    --mediumgray: #B7B7B7;
    --lightgray: #EEEEEE;
    --white: #FFFFFF;
}

h3 {
    margin: 0;
    font-size: 21px;
}

.flex {
    display: flex !important;
}
.flex-col {
    flex-direction: column;
}
.flex-wrap {
    flex-wrap: wrap;
}
.flex-1 {
    flex: 1
}
.flex-3 {
    flex: 3
}

.grid {
    display: grid;
}

.justify-center {
    justify-content: center;
}
.items-center {
    align-items: center;
}
.main-content {
    width: 100%;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
}

.page-title {
    padding: 20px 0;
    background: var(--lightgray);
    margin-bottom: 30px;
}

.ml-auto {
    margin-left: auto;
}
.mr-auto {
    margin-right: auto;
}
.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.ml-5 {
    margin-left: 5px;
}
.mt-15 {
    margin-top: 15px;
}
.mt-30 {
    margin-top: 30px;
}
.pb-15 {
    padding-bottom: 15px;
}

.text-white {
    color: white;
}

.form-control {
    height: 47px;
    font-size: 16px;
}
.main-card {
    max-width: 850px;
    margin: 0 auto;
    font-size: 14px;
    padding: 0 32px
}
.main-card button {
    padding: 10px 15px;
    font-size: 16px;
}

.panel-heading-lg-padding {
    padding: 20px 15px;
}

.main-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
}

.grid-col-1, .grid-col-2, .grid-col-3 {
    grid-column: span 6 / span 6;
}
@media only screen and (min-width: 640px) {
    .grid-col-2 {
        grid-column: span 3 / span 3;
    }
    .grid-col-3 {
        grid-column: span 2 / span 2;
    }
}

/*** Buttons ***/
.btn-rct {
    width: 200px;
    height: 50px;
    border-radius: 6px;
    font-size: larger;
    border: none;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn-main {
    background-color: var(--secondary);
    color: white;
}
.btn-light {
    border: 2px solid var(--secondary);
    color: white;
    background-color: transparent;
}
.btn-light:hover {
    background-color: var(--secondary);
}

.btn-gray {
    background-color: rgba(100, 100, 100, 0.8);
    color: white;
    transition: 0.3s ease
}

/*** Stari stilovi ***/

.pocetna{
    width: 60%;
    /*left: 20%;
    right: 20%;*/
    margin: auto;
    background-color: white;
    border-left: solid 1px #416E99;
    border-right: solid 1px #416E99;
    padding: 5px;
    border-radius: 15px 15px 15px 15px;
}
.header{
    text-align: center;
}


body{
    font-size: 10pt;
    /*background-color: #EFFFFD;*/
}
.header1{
    width: 100%;
}
#slikaBIOICT{
    margin: auto;
    max-width: 40%;
}
.centar{
    text-align: center !important;
}
#noviKorisnik{
    width: 60%;
    margin: auto;
    margin-top: 10%;
    margin-bottom: 10%;
}
.btn1{
    background-color: #416E99;
}
.out{
    float: right;
    margin-top: 1%;
    background-color: #416E99;
    opacity: 0.9;
}
.meni{
    padding-left: 5px;
}
.levi{
    position: fixed;
    left: 0px;
    top: 5%;
    width: 15%;
    height: 90%;
    /* border: solid black;*/
}
.desni{
    position: fixed;
    right: 0px;
    top: 5%;
    width: 15%;
    height: 90%;
    /*border: solid black;*/
}
#strD,#strDL,#strL,#strLD{
    max-height: 100%;
}
#strLD{
    float: right;
}
.strelicaDesna{
    position: fixed;/*gleda od ekrana*/
    left: 0px;
    top: 10%;
    width: 3%;
    height: 6%;
}
.strelicaDesnaL{
    position: fixed;/*gleda od ekrana*/
    left: 15%;
    top: 10%;
    width: 3%;
    height: 6%;
}
.strelicaLeva{
    position: fixed;/*gleda od ekrana*/
    right: 0px;
    top: 10%;
    width: 3%;
    height: 6%;
}
.strelicaLevaD{
    position: fixed;/*gleda od ekrana*/
    right: 15%;
    top: 10%;
    width: 3%;
    height: 6%;
}
.container1{
    width: 67%;
}
#modifikacijaKanali{
    padding-top: 30px;
    margin: auto;
}
#kreirajKanal1{
    padding-top: 30px;
    width: 80%;
    margin: auto;
}
#pogledKanali{
    padding-top: 30px;
    margin: auto;
}
#pocetna{
    padding-top: 30px;
    margin: auto;
}
#admin{
    padding-top: 30px;
    margin: auto;
}
.textP{
    padding-right: 3px;
}
.textPI{
    padding-left: 3px;
}
.poslednji{
    padding-bottom: 30px;
}
#dugmeModifikacija{
    float: right;
    padding: 10px;
    margin: auto;
}
/*.prvi{
    width: 500px;
    height: 300px;
    float: left;
    border: solid;
}*/
.drugi{
    margin: auto;
    padding: 0px;
    height: 300px;
    /*width: 51%;/*moras ga 51% da ti ne bi sledeci uletio kad ima vise ovih polja*/
    float: left;
}
#fiksiraniGrafik{
    position: relative;
    width: 75vh;
    left: 17vh;
    height: 80vw;
    top: 10vw;
    bottom: 10vw;
    border: solid;
    background-color: #306D55;
    /*visibility: hidden;*/
}
.tabovi{
    padding-top: 10px;
}
.tab-content{
    padding-top: 5%;
}
#resultRK{
    padding: 10px;
}
.material-switch > input[type="checkbox"] {
    display: none;
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}
.material-switch > label::after {
    background: #c9302c ;
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}
.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}
.material-switch > input[type="checkbox"]:checked + label::after {
    background: #398439;
    left: 20px;
}