@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Roboto', sans-serif;
    background-color: #F2F2F2;
}

h2 {
    font-family: 'Roboto', sans-serif;
}

a, .btn-link {
    color: #828282;
}

    a:hover, .btn-link:hover {
        color: #A97E23;
    }

    a.classic_href {
        color: #C3993F;
        text-decoration:underline;
    }

label {
    margin-bottom: 1px;
    margin-right: 7px;
}

input {
    margin-bottom: 7px;
}

.btn-primary:disabled {
     background-color:lightgrey;
     border-color:darkgrey;
 }

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


.form-control:focus {
    border-color: #C3993F;
    box-shadow: none;
}

#SFDropArea {
    padding: 50px 25px;
    margin: 30px auto;
    border: 0px solid #c3c3c3;
    text-align: center;
    width: 20%;
    display: none;
}

span.sf-control:focus, span.sf-control:hover {
    border-color: #C3993F !important;
    box-shadow: none !important;
    height: 38px !important;
    font-size: 16px !important;
    padding-top: 3px !important;
}

span.sf-control {
    box-shadow: none !important;
    height: 38px !important;
    font-size: 16px !important;
    padding-top: 3px !important;
}

span.sf-control-def:focus, span.sf-control-def:hover {
    border-color: #C3993F !important;
    box-shadow: none !important;
    height: 32px !important;
    font-size: 16px !important;
    padding-top: 0px !important;
}

span.sf-control-def {
    box-shadow: none !important;
    height: 32px !important;
    font-size: 16px !important;
    padding-top: 0px !important;
}

span.sf-control-def2:focus, span.sf-control-def2:hover {
        border-color: #C3993F !important;
        box-shadow: none !important;
        height: 32px !important;
        font-size: 18px !important;
        padding-top: 0px !important;
    }

span.sf-control-def2 {
    box-shadow: none !important;
    height: 32px !important;
    font-size: 18px !important;
    padding-top: 0px !important;
}


span.sf-control2 {
    box-shadow: none !important;
    height: 38px !important;
    font-size: 18px !important;
    padding-top: 4px !important;
}


span.e-valid-input, span.e-success, span.e-control-container, span.e-control-wrapper {
    border-color: #CCCCCC !important;
}

.sf-upload-w100 button {
    width: 100%;
}

.e-grid .e-headercelldiv {
    font-size: 12px !important;
}

.e-grid .e-rowcell {
    font-size: 13px !important;
}

.e-upload-browse-btn {
    background-color: #C3993F !important;
    font-size: 8px;
    padding: 9px 20px;
}

.e-upload {
    border: 0px !important;
    outline: none;
    background-repeat: no-repeat;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding: 0px;
    cursor: pointer;
}

.e-upload .e-file-select-wrap{
    padding: 0px 1px 0px 1px !important;

}

.form-control-sm {
    height: 25px;
    font-size: 12px;
}

.form-control-def {
    height: 32px;
    font-size: 16px;    
}

.form-control-def2 {
    height: 32px;
    font-size: 18px;
}

.form-control-defp {
    height: 32px;
    font-size: 16px;
    padding: 2px 10px 2px 10px !important;
}

.small-field {
    height: calc(1.0em + .5rem + 2px);
    padding: 0 5px;
}

.display-1 {
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 44px;
}

.display-2 {
    font-style: normal;
    font-weight: 300;
    font-size: 30px;
    line-height: 55px;
}

.display-3 {
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
}

.display-4 {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.display-5 {
    font-style: normal;
    font-weight: 300;
    font-size: 11px;
    line-height: 20px;
}


.btn-primary, .alert-info {
    color: #fff;
    background-color: #A97E23;
    border: 1px solid #A97E23;
    border-radius: 4px;
    box-shadow: none;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:visited, .btn-primary:active {
    color: #fff;
    background-color: #C3993F !important;
    border: 1px solid #C3993F;
    box-shadow: none !important;
}

.btn-secondary {
    color: #C3993F;
    background-color: #FFFFFF !important;
    border: 1px solid #C3993F;
    border-radius: 4px;
    box-shadow: none;
    outline: medium;
}


.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:visited, .btn-secondary:active {
    color: #A97E23;
    background-color: #FFFFFF !important;
    border: 1px solid #A97E23;
    border-radius: 4px;
    box-shadow: none;
    outline: medium;
}
.badge-info {
    background-color: #C3993F !important;
}

nav.navbar .btn-dark {
    color: #fff;
    background-color: #343a40;
    border-color: #c3993f;    
}

nav.navbar .btn-dark::after {
    color: #C3993F;
    margin-left: 0.600em;
}

.btn-group button.btn {
    margin: 0 10px;
}

nav.navbar .btn-group .dropdown-menu {
    margin: 0 10px;
}

.dropdown-menu .item-logout {
    color: #A97E23;
}

a.dropdown-item.item-logout:hover {
    background-color: white;
}

input.spinless[type=number]::-webkit-inner-spin-button,
input.spinless[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}


.full-dark-height {
    height: 100%;
    background-color: #242630;
}

.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: .7s;
    animation-duration: .7s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 4.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
    font-family: 'Roboto', sans-serif;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
      
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 4.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
    margin-top:5px;
}

.valid.modified:not([type=checkbox]) {
    outline: none;   /*   1px solid #C3993F;  */
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.info-message {
    color: #242630;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.topNavbar {
    background-color: #242630;
    border-bottom: 10px solid;
    border-color: #c3993f;
}

.form-signin {
    font-family: 'Roboto', sans-serif;
}

#flags {
    text-align: right;
}

.err-msg {
    color: #721c24;
    position: absolute;
    left: 10%;
    right: 10%;
    background: #F2DEDE;
    border: 1px solid #EBCCCC;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    margin: 5px;
    padding: 7px;
    z-index: 1;
}

.inf-msg {
    color: #0c5460;
    position: absolute;
    left: 10%;
    right: 10%;
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    margin: 5px;
    padding: 7px;
    z-index: 1;
}

.validation-message {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 19px;
    /* identical to box height, or 148% */
    display: flex;
    align-items: flex-end;
    color: #818A91;
}

.btn-link {
    border: none;
    background: none;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
   
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    

}

@media (min-width: 800px) {
    .container {
        max-width: 800px;
    }
}

@media (min-width: 850px) {
    .container {
        max-width: 850px;
    }
}

@media (min-width: 900px) {
    .container {
        max-width: 900px;
    }
}

@media (min-width: 1000px) {
    .container {
        max-width: 1000px;
    }
}

@media (min-width: 1100px) {
    .container {
        max-width: 1100px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1440px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1920px;
    }
}

#logo {
    margin-left: 5px;
    margin-right: 15px;
    margin-top: 5px;
}

#user_status {
    text-align: right;
    margin-right: 10px;
    margin-top: 5px;
}

#navbarNav {
    margin-left: 5px;
}

nav.navbar {
    padding-top: 0px;
}

div.dropdown {
    margin-top: 5px;
}

ul.dropdown-menu-right {
}

    ul.dropdown-menu-right li {
        padding: 0 10px;
    }

        ul.dropdown-menu-right li a {
            padding: .25rem 0;
        }

            ul.dropdown-menu-right li a.lang_hu {
                background: url(/img/flag_hu.jpg) no-repeat;
                background-position: left;
                padding-left: 45px;
                margin: 0;
            }

            ul.dropdown-menu-right li a.lang_en {
                background: url(/img/flag_en.jpg) no-repeat;
                background-position: left;
                padding-left: 45px;
                margin: 0;
            }

            ul.dropdown-menu-right li a.lang_ru {
                background: url(/img/flag_ru.jpg) no-repeat;
                background-position: left;
                padding-left: 45px;
                margin: 0;
            }

            ul.dropdown-menu-right li a.lang_de {
                background: url(/img/flag_de.jpg) no-repeat;
                background-position: left;
                padding-left: 45px;
                margin: 0;
            }

            ul.dropdown-menu-right li a:focus,
            ul.dropdown-menu-right li a:hover {
                color: #16181b;
                text-decoration: none;
                background-color: #f8f9fa;
            }

div.langmenu a.lang_hu {
    background: url(/img/flag_hu.jpg) no-repeat;
    width: 37px;
    height: 25px;
    display: block;
    float:left;
    margin: 0 0 0 6px;
}

div.langmenu a.lang_en {
    background: url(/img/flag_en.jpg) no-repeat;
    width: 37px;
    height: 25px;
    display: block;
    float: left;
    margin: 0 0 0 6px;
}

div.langmenu a.lang_ru {
    background: url(/img/flag_ru.jpg) no-repeat;
    width: 37px;
    height: 25px;
    display: block;
    float: left;
    margin: 0 0 0 6px;
}

div.langmenu a.lang_de {
    background: url(/img/flag_de.jpg) no-repeat;
    width: 37px;
    height: 25px;
    display: block;
    float: left;
    margin: 0 0 0 6px;
}

div.navbar {
    padding: 8px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}
.nav-tabs .zind-tab
{
    position:relative;
    z-index:100;
}

a.nav-link::after {
    display: none;
}

.nav-tabs .nav-link.active {
    color: #495057;
    background-color: #C3993F;
    border-color: #dee2e6 #dee2e6 #fff;
}

ul.nav-tabs.nomenu a:hover {
    background-color: #fcf0d4;
}


ul.nav-tabs {
    background-color: #ffffff;
    border: none;
}

    ul.nav-tabs a {
        color: #373A3C;
    }

        ul.nav-tabs a:hover {
            background-color: #C3993F;
        }

    ul.nav-tabs div.dropdown-menu {
        background-color: #fcf0d4;
        padding: 0;
        border: none;
    }

ul.content-nav-tabs {
    background-color: #F2F2F2;
    border:none;
}

ul.content-nav-tabs li.nav-item{
    border-bottom: 1px solid #dee2e6;
}


    ul.content-nav-tabs a.nav-link {
        color: #C3993F;
        background-color: #F2F2F2;
        border:none;
    }

    ul.content-nav-tabs a.nav-link.active {
        color: #373A3C;
        background-color: #F2F2F2;
        border:none;
    }

    ul.content-nav-tabs li.nav-item.active {
        border-bottom: 1px solid #dee2e6;
        border-top: 1px solid #dee2e6;
        border-left: 1px solid #dee2e6;
        border-right: 1px solid #dee2e6;
        border-bottom: none;
    }

    ul.content-nav-tabs a:hover {
        background-color: #C3993F;
        color: #373A3C;
    }

.topNavbar #current_user {
    color: white;
}

.topNavbar #countdown {
    color: white;
}

span.ver {
    margin-top: 5px;
    font-size: 11px;
}

li.divider {
    height: 1px;
    overflow: hidden;
    border-bottom: 1px solid #cccccc;
    margin: 2px 0;
}

a.settings {
    background: url(/img/settings.png) no-repeat;
    background-position: center;
    width: 24px;
    height: 24px;
    margin: 0 0 0 10px;
    padding: 0;
}

.menu_def_label {
    background-color: #e9ecef;
}

table.napi-beoszt {
    
}
    table.napi-beoszt tr th {
        padding: 0.5em;
    }
    table.napi-beoszt tr td {

        padding: 0.5em;
    }

/*
//hide top menu
div#headercontainer ul.nav-tabs {
    transition: 0.5s;
    opacity:0;
    visibility: hidden;
}
*/

div#headercontainer:hover ul.nav-tabs {
    visibility: visible;
    opacity:1;
}

.mdc-paginator-page-size .mdc-select {
    float: right;
    margin-left: 10px;
}

table.mdc-table
{
    margin-bottom:5px;
}

.odd {
    background-color: rgba(36, 38, 48, 0.05);
}

.div-sor
{
    padding: 5px;
}

.download_button {
    background-image: url(/img/download.png);
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: block;
    margin: 0;
    padding: 0;
}

.edit_button
{
    background-image:url(/img/pencil.png);
    background-repeat:no-repeat;
    width:24px;
    height:24px;
    display:block;
    margin:0;
    padding:0;
}

.delete_button {
    background-image: url(/img/trash.png);
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: block;
    margin: 0;
    padding: 0;
}

.undelete_button {
    background-image: url(/img/retrash.png);
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: block;
    margin: 0;
    padding: 0;
}

.collect_button {
    background-image: url(/img/collection.png);
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: block;
    margin: 0;
    padding: 0;
}

.collected_button {
    background-image: url(/img/collection_black.png);
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: block;
    margin: 0;
    padding: 0;
}

td.sztornozott-1{
    color:darkred;
}

td.modositott-1 {
    color: darkblue;
}

td.tetel-tip-S {
    color: red;
}

td.tetel-tip-M {
    color: Highlight
}

.e-content table.e-table tr.e-row td.sztornozott-1 {
    color: darkred;
}

.e-content table.e-table tr.e-row td.modositott-1 {
    color: darkblue;
}

.e-content table.e-table tr.e-row td.tetel-tip-S {
    color: red;
}

.e-content table.e-table tr.e-row td.tetel-tip-M {
    color: Highlight
}

.container .e-grid .e-content table.e-table tr.e-row td.sztornozott-1 {
    color: darkred;
}

.container .e-grid .e-content table.e-table tr.e-row td.modositott-1 {
    color: darkblue;
}

.container .e-grid .e-content table.e-table tr.e-row td.tetel-tip-S {
    color: red;
}

.container .e-grid .e-content table.e-table tr.e-row td.tetel-tip-M {
    color: Highlight
}

.container.widescreen
{
    padding-left:0px;
    padding-right:0px;
}

/* MatBlazor table style modifications */
.container tr.mdc-table-row {
    height: auto;
}

.container .mat-sort-header-container{
    letter-spacing:normal;
}

.dropdown-def {
    position: relative;
}

    .dropdown-def:after {
        position: absolute;
        content: "";
        top: 14px;
        right: 8px;
        width: 0;
        height: 0;
        border: 5px solid transparent;
        border-color: #495057 transparent transparent transparent;
        pointer-events: none;
    }

/* IE11 hide native button (thanks Matt!) */
select::-ms-expand {
    display: none;
}

.dropdown-def select {
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
    padding: 0;
    padding-left: 10px;
    background-image: none;
    -ms-word-break: normal;
    word-break: normal;
}

.nav .nav-item .submenu {
    display: none;
    position: absolute;
    top: 0;
    margin-left: 100%;
    margin-top: 0px;
}

.nav .nav-item .tosub:hover > .submenu {
    display: block;
}

.nav .nav-item .tosub {
    position:relative;
}

.customRadio input[type="radio"] {
    position: absolute;
    left: -9999px;
}

    .customRadio input[type="radio"] + label {
        position: relative;
        padding-top: 2px;
        padding-right: 0;
        padding-bottom: 2px;
        padding-left: 30px;       
        cursor: pointer
    }

.customRadio input[type="radio"] + label:before {
    content: '';
    background: #fff;
    border: 2px solid #C3993F;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0
}

.customRadio input[type="radio"] + label:after {
    content: '';
    background: #C3993F;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
    opacity: 0;
    transform: scale(2);
    transition: transform 0.3s linear, opacity 0.3s linear
}

.customRadio input[type="radio"]:checked + label:after {
    opacity: 1;
    transform: scale(1)
}


.customCheckbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 8px;
    cursor: pointer;    
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.customCheckbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: solid #CCCCCC;
    border-width: 1px;
}

.customCheckbox:hover input ~ .checkmark {
    background-color: #fff;
}

.customCheckbox input:checked ~ .checkmark {
    background-color: #C3993F;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.customCheckbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.customCheckbox .checkmark:after {
    left: 6px;
    top: 1px;
    width: 7px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

@keyframes blinker {
    50% {
        opacity: 0.4;
    }
}

/* Csak a naptár panelra van szükségünk */
.SfDatePickerOnlyButton input.e-datepicker {
    display: none;
}
.SfDatePickerOnlyButton span.e-date-wrapper
{
    height:100%;
}
.SfDatePickerOnlyButton .e-input-group.e-input-focus:not(.e-success):not(.e-warning).e-error,
.SfDatePickerOnlyButton .e-input-group.e-control-wrapper.e-input-focus:not(.e-success):not(.e-warning).e-error {
    box-shadow: none;
}
.SfDatePickerOnlyButton .e-input.e-error,
.SfDatePickerOnlyButton .e-input.e-error:focus,
.SfDatePickerOnlyButton .e-input-group.e-error input.e-input,
.SfDatePickerOnlyButton .e-input-group.e-control-wrapper.e-error input.e-input,
.SfDatePickerOnlyButton .e-input-group.e-control-wrapper.e-error .e-input-group-icon,
.SfDatePickerOnlyButton .e-input-group.e-error .e-input-group-icon,
.SfDatePickerOnlyButton .e-input-group.e-error textarea.e-input,
.SfDatePickerOnlyButton .e-input-group.e-control-wrapper.e-error textarea.e-input {
    border-color: transparent;
}

.myTooltip {
    
}

    .myTooltip .myTooltiptext {
        visibility: hidden;
        background-color: #c3993f;
        color: #fff;
        text-align: center;
        border-radius: 8px;
        padding: 10px;
        position: absolute;
        z-index: 1;
    }

    .myTooltip:hover .myTooltiptext {
        visibility: visible;
    }

/* SyncFusion SfDatePicker: Hide the input field but keep the button */
.sf-calendar-only {
    
}
.sf-calendar-only .e-input {
    display: none !important;
}

.sf-calendar-only .e-date-icon {
    margin: 0; /* Adjust icon position */
    border-radius: 4px;
}

.sf-calendar-only .e-control-wrapper {
    width: auto !important; /* Make wrapper fit icon size */
}

    .sf-calendar-only .e-input-group,
    .sf-calendar-only .e-input-group .e-control-wrapper {
        width: 60px;
    }

    .sf-calendar-only .e-control-wrapper.e-date-wrapper {
        box-shadow: none !important;
    }