body,
html {
    /*font-family: 'Roboto';*/
    font-family: 'Varta';
    font-weight: 300;
}


.h1, h1 {
    font-size: 1.8rem;
}

.h2, h2 {
    font-size: 1.5rem;
}

.h3, h3 {
    font-size: 1.2rem;
}


.right-button-margin{
    margin: 0 0 1em 0;
    overflow: hidden;
}
 
/* some changes in bootstrap modal */
.modal-body {
    padding: 20px 20px 0px 20px !important;
    text-align: center !important;
}
 
.modal-footer{
    text-align: center !important;
}

.btn {
    padding: 2px 6px !important;
    margin-left: .5rem;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    padding: 2px 6px;
    vertical-align: initial;
}

.countItems {
    margin: 1rem 0;
}

.pagination>li>a, .pagination>li>span {
    border: none;
}

.page-link {
    color: #cccccc;
}

.page-link:hover {
    color: #aaaaaa;
}

.page-header {
    padding-bottom: 9px;
    margin: 90px 0 20px;
    border-bottom: 1px solid #eee;
}


#upload_button {
    display: inline-block;
}
#upload_button input[type=file] {
    display:none;
}

.table tr th a.sort {
    margin-left: 5px;
    color: #ccc;
}


.table tr th a.sort:first-child {
    margin-left: 2rem;
}


.table tr th a.sort.active {
    color: #888;
}


.card-hover {
    height: 60px;
    margin-bottom: 1rem;
}

.card-hover .card-text {
    visibility: hidden;
    opacity: 0;
    height: 0;
    padding: 0;
}

.card-hover .card-body {
    padding: .25rem .5rem;
}

.card-hover .card-title {
    /*margin-bottom: .25rem;*/
    line-height: 1.2rem;
}


.card-hover .card-text {
    padding: 0 0 5px;
    opacity: 0;
    position: relative;
}


.card-hover:hover .card-text {
    background-color: #eaeaea;
    height: 100%;
    visibility: visible;
    opacity: .7;
    transition: opacity 1s ease;
    transform: perspective(500px) rotateX(0) rotateY(0) rotateZ(0);
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
}


.card-hover .card-text a {
    color: #888
}



.card-hover .card-text {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.card-hover .card-text a {
    text-align: center;
    display: inline-block;
    width: 1rem;
    height: 1rem;
    line-height: 1rem;
    margin: 0 5px;
    font-size: 11px
}

.card-hover .card-text a:hover {
    color: #000
}


.btn.btn-action {
    font-size: .7rem;
    line-height: 1rem;
}



.btn.btn-read {
    color: #fff;
    background-color:  #336699;
    border-color: #336699;
}

.btn.btn-edit {
    color: #fff;
    background-color:  #336699;
    border-color: #336699;
}

.btn.btn-delete {
    color: #fff !important;
    background-color:  #336699;
    border-color: #336699;
}


@media (max-width: 576px) {
    #srch-term {
        width: calc(100% - 50px);
    }
}



/*login / register*/


* {
    box-sizing: border-box;
    /*font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;*/
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.body_login {
    background-color: #435165;
    margin: 0;
}
.register {
    width: 400px;
    background-color: #ffffff;
    float: right;

}
.register h1,
.login h1{
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.register form input[type="submit"],
.login form input[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}

.register form input[type="submit"]:hover,
.login form input[type="submit"]:hover {
    background-color: #2868c7;
    transition: background-color 0.2s;
}


* {
    box-sizing: border-box;
    /*font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;*/
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.login {
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    /*margin: 100px auto 20px;*/
    float: left;
}

.d_head { padding: 1rem 0 0 0;
    margin-right: 0;
    margin-left: 0;}
.d_body { height: 170px; padding: 1rem;
    margin-right: 0;
    margin-left: 0;}
.d_footer { padding: 1rem;
    margin-right: 0;
    margin-left: 0;}



::placeholder {
    color: #ccc !important;
    font-style: italic;
}

.highlight {
    font-weight: bold;
    background-color: yellow;
}



.resp_table .sum,
.resp_table .pts {
    text-align: right;
}



@media all and (max-width:767px) {
    .resp_table,
    .resp_table thead,
    .resp_table tbody,
    .resp_table tr,
    .resp_table th,
    .resp_table td {
        display: block;
    }

    .resp_table {
        text-align: right;
    }

    .resp_table thead {
        /*position: absolute;*/
        /*top: -1111px;*/
        /*left: -1111px;*/
        display: none;

    }


    .resp_table tbody tr th,
    .resp_table tbody tr td {
        padding: 1px 6px;
    }

    .resp_table td {
        padding: 0;
        border-top: none;
    }
    .resp_table td:empty {
        content: '&#160;'
    }
    .resp_table td:before {
        float: left;
        padding: 0 10px 0 0;
        content: attr(data-label) "";
        /*font-weight: bold;*/
    }

    .resp_table td:nth-child(1) {
        font-weight: bold;
    }

    .resp_table td:last-child {
        /*border-top: 1px #808080 solid;*/
        /*border-bottom: 2px #555 solid;*/
    }

    /*.resp_table td:last-child:after {*/
    /*    content:' Pkt.';*/
    /*}*/

    .resp_table tr {
        margin-bottom: 1rem;
    }

    .resp_table tr td:first-child {
        border-top: none;
    }

    .resp_table tbody tr th.t_number {
        text-align: left !important;
    }

    .resp_table .t_image {
        display: none;
    }


}

@media all and (min-width:768px) {
    .resp_table .t_title {
        width: 30%;
    }

    .resp_table .t_action {
        width: 165px;
    }
}


.bg-light {
    background-image: url('/img/header.jpg');
    background-repeat:no-repeat;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top center;
    background-size: cover;
    position: relative;
}

@media all and (min-width:768px) {
    .bg-light {
        height:81px;
    }
}

.navbar-light .navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    outline-width: 0;
    outline-color: transparent;
}

.navbar-toggler:focus span {

}



.icon-bar {
    width: 22px;
    height: 2px;
    background-color: #aaa;
    display: block;
    transition: all 0.2s;
    margin-top: 4px
}

.navbar-toggler {
    border: none;
    background: transparent !important;
}

.navbar-toggler .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
    opacity: 0;
}

.navbar-toggler .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
    transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
}

.navbar-toggler.collapsed .bottom-bar {
    transform: rotate(0);
}