/* Extra small devices (portrait phones, less than 576px)
   No media query since this is the default in Bootstrap
   Defaults also go here (color scheme).
*/

section.header {
    text-align: center;
    padding: 8pt;
}

.title {
    font-size: 3rem;
    color: #333;
    text-align: center;
}

.title:hover {
    text-decoration: none;
}

.subtitle {
    font-size: 2.5rem;
    color: gray;
    text-align: center;
    margin: 15px 0;
}

section.menu ul {
    list-style-type: none;
    padding-left: 8pt;
}

section.menu li a {
    color: #538135;
    text-decoration: none;
}

section.menu li a:hover,
section.menu li a:focus {
    color: #66aa11;
}

section.menu ul.taksonomija1 {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    margin: 30px 0;
}

section.menu ul.taksonomija1>li {
    width: 20%;
    padding: 5pt;
    font-size: 18pt;
    font-variant: small-caps;
    display: inline-block;
    border: 1px solid whitesand;
    color: #538135;
}

section.menu ul.taksonomija1>li li {
    font-variant: normal;
    display: block;
    border: 0;
}

section.menu ul.taksonomija2>li {
    font-size: 14pt;
    color: black;
}

section.menu ul.taksonomija3>li {
    font-size: 12pt;
}

section.menu ul.taksonomija4>li {
    font-size: 10pt;
}

section.menu ul.taksonomija5>li {
    font-size: 8pt;
}

section.menu li.aktiven>a {
    font-weight: bold;
    /* color: orange; */
    color: rgb(166, 86, 0);
}

.vsebina {
    padding: 5pt 10pt;
}

.vsebina .napaka {
    /* color: maroon; */
    color: #538135;
    padding: 5pt 0;
    font-size: 16px;
}

.vsebina .odstavek {
    display: flex;
    /* align-content: space-between; */
    justify-content: space-between;
    padding: 10pt 0;
    /* margin-bottom: 5pt; */
    border-top: 1px solid #eee;
}

.vsebina .odstavek .opis {
    width: calc(100% - 210pt);
    display: flex;
}

.vsebina .odstavek .povezave {
    width: 200pt;
    text-align: center;
}

.vsebina .odstavek .povezave .slovnica {
    width: 50%;
    padding: 0 10pt;
    display: inline-block;
}

.vsebina .odstavek .povezave .slovnica img {
    display: inline-block;
    vertical-align: top;
    margin-right: 5pt;
}

.vsebina .odstavek .povezave .slovnica .links {
    display: inline-block;
    /* width: 48pt; */
    vertical-align: top;
}

.vsebina .odstavek .povezave .slovnica .links .stranlink {
    margin-right: 5pt;
    display: inline-block;
}

.vsebina .slike {
    text-align: center;
}

.vsebina .slike img {
    max-width: 80rem
}

.poudarjeno {
    background-color: #efd;
    border: 1px solid darkgreen;
    box-shadow: 2px 2px 3px darkgreen;
}
.poudarek-napaka {
    font-size: 17px;
    font-weight: bold;
    color: rgb(166,86,0);
}

nav.navbar {
    justify-content: space-between;
}

nav.navbar .btn {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
}

#mainNav .nav-item .nav-link {
    background-color: darkblue;
    color: white;
    text-align: center;
    border-radius: 0;
}

#mainNav .nav-item .nav-link:hover {
    background-color: blue;
    color: white;
}

#mainNav .nav-item .nav-link.active {
    background-color: #e0e0ff;
    color: darkblue;
}

#mainNav .nav-item .nav-link.disabled {
    background-color: white;
    color: #e0e0ff;
}

#content-container {
    background-color: #e0e0ff;
    padding: 0 10pt;
}

#content-container-base {
    background-color: #e0e0ff;
    padding: 0 10pt;
}

#content {
    padding-bottom: 10pt;
}

.modal {
    background-color: rgba(0, 0, 32, 0.5);
}

#content .nav.nav-tabs {
    background-color: white;
    color: darkblue;
    margin: 0 -10pt;
}

#content .nav.nav-tabs .nav-item .nav-link {
    background-color: white;
    color: darkblue;
    border-color: darkblue;
}

#content .nav.nav-tabs .nav-item .nav-link.active {
    background-color: #e0e0ff;
    color: darkblue;
    border-bottom: 0;
}

#content .nav.nav-tabs .nav-item .nav-link.disabled {
    background-color: white;
    color: lightblue;
    border-color: lightblue;
}


.main-title {
    width: 100%;
    text-align: center;
    text-shadow: 4px 4px 4px #000088;
    color: white;
    font-weight: bold;
    font-size: 4rem;
}

a.main-link {
    display: inline-table;
    width: 100pt;
    height: 60pt;
    margin: 4pt;
    padding: 4pt;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    background-color: darkblue;
    color: white;
}

a.main-link:hover {
    background-color: blue;
}

a.main-link div {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}

.base {
    background-color: #e0e0ff;
}

.narrow {
    max-width: 400pt;
}

.classhead {
    display: flex;
    justify-content: space-between;
    padding: 5pt;
}

.classhead .btn {
    margin: 0 1pt;
}

/*bootstrap overrides**************************************************************************************************/
.btn-danger:focus {
    background-color: pink;
}

.btn-success:focus {
    background-color: lightgreen;
}

.btn-primary:focus {
    background-color: lightblue;
}

/*list-box*************************************************************************************************************/
.list-box-modal {
    min-width: 96%;
}

.list-box-modal .btn-link {
    padding: 4pt;
}

.list-box {}

.list-box .list-title {}

.list-box .list-filter {}

.list-box .list-filter .column-controls {
    margin: 0 5pt;
    padding: 0pt 5pt;
}

.list-box .list-filter .filler {
    margin: 0 5pt;
    padding: 2pt 5pt;
    color: transparent;
}

.list-box .list-filter input {}

.list-box .list-filter select {}

.list-box .list-filter button .list-box .list-header {}

.list-box .list-header .column-label {
    font-weight: bold;
    margin: 0 5pt;
    padding: 2pt 5pt;
}

.list-box .list-body {}

.list-box .list-body .column-controls {
    margin: 0 5pt;
    padding: 0pt 5pt;
}

.list-box .list-body .column-data {
    margin: 0 5pt;
    padding: 2pt 5pt;
    overflow: hidden;
}

.list-box .list-body .filler {
    margin: 0 5pt;
    padding: 2pt 5pt;
    color: transparent;
}

/**********************************************************************************************************************/
.coll-ctrls {
    display: flex;
    justify-content: space-between;
    background-color: transparent;
    border: 0;
    padding: 0;
}

.form-control.coll-ctrls,
.form-control.coll-filter,
.form-control.coll-list {
    height: auto;
    margin-bottom: 2pt !important;
}

input.lookup {
    background: #fff url(/images/search-16.png) no-repeat scroll 8px 8px;
    background-position: right;
}

table.subclass {
    width: 100%;
    margin: 5pt;
    background-color: white;
}

.coll-ctrls .btn {
    margin-right: 2pt;
}

.form-group label {
    font-size: small;
}

.form-control {
    margin: 0 5pt;
    padding: 2pt 5pt;
}

.file-container {
    margin: 0;
    padding: 0 6pt;
}

.form-control.coll-list option {
    padding: 2pt 0;
}

.form-control.coll-filter option {
    padding: 4pt 2pt;
}

.file-edit {
    width: 100%;
    margin: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.file-edit-container {
    padding: 2pt 6pt;
    display: none;
}

.file-edit-container.active {
    display: block;
}

.file-edit-container .file-edit {
    margin: 0 -6pt;
    width: inherit;
}

.file-edit .form-control,
.file-edit .form-control-file {
    display: inline-block;
}

.file-edit .btn {
    margin: 0;
    vertical-align: top;
}

.file-edit .file-text {
    flex: 2 2 120pt;
}

.file-edit .file-text.disabled {
    background: transparent;
}

.file-edit .file-date {
    flex: 1 1 80pt;
    /*min-width:140px;*/
}

.file-edit .file-date.disabled {
    background: transparent;
}

.file-edit div.file-date {
    width: 23%;
    margin: 0;
    /*min-width:140px;*/
}

.file-edit .form-control-file {
    width: 30%;
}

.file-monitor {
    display: none;
    width: 100%;
    padding: 2pt 5pt;
    margin: 0;
}

.file-monitor.active {
    display: block;
}

.file-monitor-inline {
    display: inline-block;
    width: 50%;
    padding: 2pt 5pt;
    margin: 0;
}

.file-edit .file-controls {
    display: inline-block;
    align-self: flex-end;
    flex: 0 0 64pt;
    text-align: right;
}

label.btn-file {
    position: relative;
    /*overflow: hidden;*/
    width: 97pt;
    /*max-width: max-content*/
    ;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 10px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.list-group.files {
    background: transparent;
    /*margin-top: 5pt;*/
    margin: 0;
    width: 100%;
}

.list-group.files .list-group-item {
    background-color: transparent;
    padding: 1pt 0pt;
    border: 0
}

.list-group.files .list-group-item .btn {
    margin-right: 2pt;
}

.list-group.files .list-group-item a {
    margin: 0 2pt;
}

span.closebox {
    float: right;
    cursor: pointer;
    font-weight: bold;
}

#validation {
    min-width: 200pt;
    max-width: 70%;
}

.form-row {
    margin: 2pt 0;
}

.form-control.error {
    border-color: red;
    background-color: lightpink;
}

.form-control.stamp-part {
    width: 48%;
    display: inline-block;
    margin: 0;
}

.control-wrap {
    width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    display: flex;
}

.control-wrap.two-part,
.control-wrap.three-part,
.control-wrap.four-part {
    justify-content: space-around;
}

.control-wrap.two-part .form-control {
    width: 48%;
    display: inline-block;
    margin: 0;
}

.control-wrap.three-part .form-control {
    width: 31%;
    display: inline-block;
    margin-left: 0;
}

.control-wrap.four-part .form-control {
    width: 23%;
    display: inline-block;
    margin-left: 0;
}

.control-wrap input[type=checkbox],
.control-wrap input[type=radio] {
    width: 20pt;
}

.show-group {
    padding: 3pt 5pt;
}

.show-item {
    font-weight: bold;
}

.field-view-label {
    font-size: small;
}

.field-view-value {}

.table-head {
    background-color: #aad;
    margin-top: 6pt;
    margin-left: 3pt;
    padding: 3pt 6pt;
    width: calc(100% - 6pt);
}

.table-row {
    background-color: #eef;
    margin-left: 3pt;
    padding: 3pt 6pt;
    width: calc(100% - 6pt);
}

.table-col {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #222244;
}

.table-ctrls {
    display: flex;
    justify-content: space-between;
    background-color: transparent;
    border: 0;
    padding: 0 6pt;
    margin: 2pt 0pt;
}

.static {
    padding: 3pt 5pt;
}

/**********************************************************************************************************************/
#flash {
    position: fixed;
    top: 64px;
    left: 0;
    z-index: 10;
    opacity: 0.7;
    width: 100%;
    background-color: lightgray;
    color: black;
}

#flash ul {
    margin: 0 auto;
    max-width: 1140px;
    /*todo: media*/
}

#flash ul.error {
    color: red;
}

#flash ul.warn {
    color: orange;
}

#flash ul.info {
    color: blue;
}

#flash ul.success {
    color: green;
}

#flash .closer {
    position: fixed;
    top: 64px;
    right: 0;
    padding: 1pt;
    cursor: pointer;
}

/**********************************************************************************************************************/
tr.filter input {
    width: 100%;
}

tr.filter select {
    width: 100%;
    padding: 2pt 2pt;
}

tr.filter button {
    padding: 2pt 4pt;
}

.paginator-current-report,
.paginator-first,
.paginator-previous,
.paginator-last,
.paginator-next {
    padding: 2pt 4pt;
}

button.row-action,
a.row-action {
    padding: 2pt 4pt;
}

/* Small devices (landscape phones, 576px and up) */

@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .field-view-label {
        width: 40%;
        display: inline-block;
    }

    .field-view-value {
        width: 60%;
        display: inline-block;
    }

    #validation {
        min-width: 100pt;
        max-width: 50%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #mainNav {
        position: absolute;
        top: 72pt;
        left: 0px;
        width: 120pt;
        display: block;
    }

    #mainNav .nav-item {
        margin-bottom: 2pt;
    }

    #mainNav .nav-item .nav-link {
        height: 64px;
        vertical-align: middle;
    }

    #content-container {
        margin-left: 120pt;
        margin-right: 10pt;
    }

    #content-container-base {
        margin-left: 10pt;
        margin-right: 10pt;
    }

    .form-control {
        margin: 0 5pt;
        padding: 2pt 5pt;
    }

    .form-group label {
        font-size: medium;
    }

    #validation {
        min-width: 400pt;
        max-width: 30%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    body>section {
        margin: 0 auto;
        width: 90%;
    }
}

/*============================================
=            Custom styles (Luka)            =
============================================*/

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .container .expand {
    flex: 1;
}

.img-fluid-block {
    display: block;
    width: 100%;
    height: auto;
}

.francek-logo-header {
    display: block;
    max-width: 140px;
    max-height: 36px;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #fafafa;
    height: 100%;
}

body>.header {
    width: 100%;
    background-color: #f2f2f2;
    flex: none;
}

.tile-group {
    background-color: #ffffff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 15px;
    font-size: 16px;
}

#vsebina-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

#vsebina-header h3 img,
.napaka img {
    height: 0.8em;
    vertical-align: -7%;
}

.opis img {
    height: 1em;
    margin: 2px 5px 0 0;
}

#naslovnici {
    width: 200pt;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 5px;
}

#naslovnici img {
    /* width: 85px; */
    box-shadow: 0px 2px 6px 3px rgba(0, 0, 0, 0.2);
}

.vsebina .odstavek .opis i {
    padding-top: 2.5px;
    margin-right: 5px;
}

.content {
    flex: 1 0 auto;
    margin-bottom: 50px;
}

#main-footer {
    font-family: "Segoe UI", "Source Sans Pro", Calibri, Candara, Arial, sans-serif;
    background-color: #f2f2f2;
    flex: none;
}

.sponsor-logo-footer {
    display: block;
    max-width: 136px;
    max-height: 61px;
}

#main-footer>.container>div {
    display: flex;
    justify-content: space-between;
}

.text-muted {
    color: #868e96;
}

html {
    height: 100%;
}

section.more {
    margin-top: 50px;
}

section.more .title {
    background-image: url('/img/bg-title.png');
    background-repeat: repeat-x;
    font-size: 22px;
    width: 100%;
    margin-bottom: 20px;
}
section.more .title .text {
    padding:0px 8px;
    margin: 0 auto;
    background-color: #fafafa;
}

section.more .tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: first;
    align-content: first;
}

section.more .tile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 48px;
    padding: 0;
    font-size: 14px;
    margin-bottom: 16px;
}

section.more .tile.active {
    background-color: rgb(255, 131, 0) ;
}

section.more.inpage .tile {
    background-color: rgb(106,200,236) ;
}


section.more.inpage .content {
    margin-top: 20px;
    display: none;
}
section.more.inpage .link-list {
    margin-top: 10pt;
    height: 164pt;
    overflow: auto;
}
section.more.inpage .link {font-size: 14px; margin-bottom: 2pt;}

section.more.inpage .btn-razred {
    display:inline-block;
    padding: 4pt 8pt;
    margin-right: 4pt;
    background-color: #d3eef9;
    cursor: pointer;
}
section.more.inpage .btn-razred.active {
    background-color: rgb(255, 131, 0);
}
section.more.inpage .btn-razred.disabled {
    background-color: lightgray;
    cursor: default;
}

section.more.links  .tile {
    background-color: rgb(255,193,128) ;
}

/*=====  End of Custom styles (Luka)  ======*/