:root {
    --mateZold: #007548;
    --mateVZold: #38ac55;
    --mateKek: #005f92;
    --mateVKek: #008cc7;
    --mateKoral: #f08681;
    --matePiros: #f44336;
    --mateSarga: #fdc500;
    --mateTurkiz: #00afa9;
    --mateVBarna: #a1772b;
    --mateVSzurke: #888888;
    --mateSzurke: #353535;
    --mateSSzurke: #0f0f0f;
    --shadow: #bbbbbb;
}

#login-box {
    display: none;
}

#log-out {
    background-color: transparent;
    border: none;
}

.keret {
    max-width: 50%;
}

.message {
    -webkit-animation: seconds 1.0s forwards;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-delay: 3s;
    animation: seconds 1.0s forwards;
    animation-iteration-count: 1;
    animation-delay: 3s;
    color: black;
    margin: auto;
    max-width: 60%;
    font-size: 1.5rem;
    text-align: center;
}

.success {
    background: var(--mateVZold);/*rgb(156, 253, 165);*/
    color: white;
}

.error {
    background: var(--mateKoral);/*rgb(255, 75, 75);*/
    color: white;
}

.err {
    color: var(--matePiros);
}

.suc {
    color: var(--mateVZold);
}

@-webkit-keyframes seconds {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      left: -9999px; 
    }
}

@keyframes seconds {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      left: -9999px; 
    }
}

.tableDiv {
    display: flex;
    max-width: 100%;
    /*padding-top: 10px;
    padding-bottom: 10px;*/
}

.border-pad {
    /*border: 1px solid #999999;*/
    padding: 3px 10px;
}

.center {
    margin: auto;
    /*text-align: center;*/
}

.txtCenter {
    text-align: center;
}

.centerInDiv {
    justify-content: center;
}

.flRight {
    float: right;
}

.fit {
    width: 100%;
}

.hide {
    display: none;
}

.containerDiv {
    display: flex;
    max-width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.rightInDiv {
    justify-content: right;
}

.cellHead {
    background-color: #EEE;
	font-weight: bold;  
    font-size: larger;
}

.cellDiv {
    display: inline-block;
}

.iconSize {
    height: 24px;
}
.iconSizeUp {
    height: 30px;
}

img:hover {
    cursor: pointer;   
}

.w-0 {
    width: 0%;
}
.w-10 {
    width: 10%;
}
.w-20 {
    width: 20%;
}
.w-33 {
    width: 33%
}
.w-40 {
    width: 40%;
}
.w-45 {
    width: 45%;
}
.w-50 {
    width: 50%;
}
.w-70 {
    width: 70%;
}
.w-80 {
    width: 80%;
}
.w-90 {
    width: 90%;
}

.w-95 {
    width: 95%;
}

details {
    border: 1px solid #999999;
    margin: auto;
}

details > summary {
    background-color: var(--mateKek);
    border-bottom: 1px solid #999999;
    box-shadow: 1px 1px 2px #bbbbbb;
    color: #ffffff;
    cursor: pointer;
    font-weight: bold;  
    font-size: larger;
    padding: 4px;
    /*list-style: none;*/
    margin: auto;
}

details[open]>summary{
    background:var(--mateZold);
}

details > div {
    margin: auto;
    background-color: #ffffff;
    padding: 4px;
    /*margin: 0;*/
    box-shadow: 1px 1px 2px var(--shadow);
}

.mate-container a.mbtn {
    color: #535353;
}

.mbtn {
    background-color: #ffffff;
    border: 2px solid;
    border-color: #535353;
    color: #535353;
    cursor: pointer;
    display: inline-block;
    font-family: "Poppins Semi Bold";
    font-size: 1rem;
    line-height: 1;
    margin: 4px 2px;    
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: .5s;
}

.mbtn-disabled {
    background-color: var(--mateVSzurke);
    border: 2px solid;
    border-color: #535353;
    color: #535353;
    cursor: pointer;
    display: inline-block;
    font-family: "Poppins Semi Bold";
    font-size: 1rem;
    line-height: 1;
    margin: 4px 2px;    
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.mbtn-right {
    padding: 18.5px 54px 18.5px 36px;
}

.mbtn-left, .mbtn-plus {
    padding: 18.5px 36px 18.5px 54px;
}

.mbtn-right::after {
    right: -10px;
    top: 35%;
    position: relative;
    content: "\e906";
    font-family: 'mate-icons';
    font-size: 1rem;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    width: 0;
    display: inline-block;
}

.mbtn-left::before {
    left: -25px;
    position: relative;
    top: 35%;
    content: "\e905";
    font-family: 'mate-icons';
    font-size: 1rem;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    width: 0;
    display: inline-block;
}

.mbtn-plus::before {
    left: -24px;
    position: relative;
    /*top: 35%;*/
    content: "\271a";
    font-family: 'mate-icons';
    font-size: 1rem;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    width: 0;
    display: inline-block;
}

.mbtn:hover, a.mbtn:hover {
    background-color: var(--mateZold);
    border-color: var(--mateZold);
    color: #ffffff;
    text-decoration: none;
}

.mbtn-del:hover, a.mbtn-del:hover {
    background-color: var(--matePiros);
    border-color: var(--matePiros);
}

.btnPic {
    border: none;
    background: rgba(0, 0, 0, 0);
}

#qrCode:hover {
    cursor: pointer;
}

.qr-code {
    width: 100px;
}

.visible {
    visibility: visible;
    height: calc(auto);
    opacity: 1;
    overflow: auto;
    transition: all 0.5s linear;
}

.hidden {
    visibility: hidden;
    height: 0;
    opacity: 0;
    overflow: auto;
    transition: all 0.5s linear;
}

.timeline-elem {
    display: inline-block;
}
.timeline-elem a:hover {
    text-decoration: none;
}
.timeline-circle {
    border-radius: 50%;
    color: #FFFFFF;
    display: inline-block;
    margin-left: -4px;
    line-height: 40px;
    height: 40px;
    width: 40px;
}
.timeline-hr {
    display: inline-block;
    margin-bottom: 0.2rem;
    margin-left: -5px;
    height: 0.175rem;
    width: 70px;
}
.timeline-s-bck {
    background-color: var(--mateZold);
}
.timeline-s-txt {
    color: var(--mateZold);
}
.timeline-k-bck {
    background-color: var(--mateVKek);
}
.timeline-k-txt {
    color: var(--mateVKek);
}
.timeline-r-bck {
    background-color: var(--mateSarga);/*var(--mateVZold);*/
}
.timeline-r-txt {
    color: var(--mateSarga);/*var(--mateVZold);*/
}
.timeline-l-bck {
    background-color: var(--mateKoral);
}
.timeline-l-txt {
    color: var(--mateKoral);
}
.timeline-f-bck {
    background-color: var(--mateVBarna);
}
.timeline-f-txt {
    color: var(--mateVBarna);
}

.navbar-fixed {
    top: 0;
    z-index: 100;
    position: fixed;
    width: 100%;
}
.toTop::after {
    font-family: 'mate-icons' !important;
    color: #FFFF;
    content: '\e907';
    float:right;
}

input[type="file"] {
    display: none;
}

/* Modal box*/
.modal-container, .approval-modal-container {
    padding: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
}  
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(15, 15, 15, 0.75);
    padding-top: 50px;
}
.modal-content, .approval-modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */
}
.close-modal {
    position: absolute;
    right: 35px;
    top: 15px;
    font-size: 40px;
    font-weight: bold;
    color: #f1f1f1;
}
.close-modal:hover, .close-modal:focus {
    color: var(--matePiros);
    cursor: pointer;
}

.jelmD {
    border: none;
}
.jelmD[open] .jelmS ~ * {
    animation: open 0.3s ease-in-out;
}
  
@keyframes open {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
}
.jelmD .jelmS::-webkit-details-marker {
    display: none;
}
  
.jelmD .jelmS {
    width: 100%;
    padding: 0.5rem 0;
    background-color: transparent;
    border: none;
    box-shadow: none;
    position: relative;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 300;
    color: inherit;
    list-style: none;
    margin-left: 1.5rem;
}
  
.jelmD .jelmS:before {
    content: "+";
    position: absolute;
    font-size: 1.75rem;
    line-height: 0;
    margin-top: 0.75rem;
    left: -1.5rem;
    top: 0.7rem;
    font-weight: 200;
    transform-origin: center;
    transition: 200ms linear;
}
.jelmD[open] .jelmS:before {
    transform: rotate(45deg);
    font-size: 2rem;
}
.jelmD .jelmS {
    outline: 0;
}
.jelmD > div {
    box-shadow: none;
}

.mail-addr {
    border: none;
}

.mail-addr:focus {
    outline: none;
}

.fl-vert-center {
    /*display: flex;*/
    align-items: center;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.blinking-text {
    animation: blink 1.5s infinite; 
}

@media only screen and (max-width: 1200px) {
    .keret, .td {
        max-width: 75%;
    }
}

@media only screen and (max-width: 800px) {
    #login-box {
        display: block;
    } 
    .keret, .td {
        max-width: 90%;
    }
    .iconSize {
        height: 18px;
    }
    .iconSizeUp {
        height: 24px;
    }
    .containerDiv {        
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .tableDiv {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .mbtn {
        border: 1.5px solid;
    }
    .mbtn, .mbtn-right::after, .mbtn-left::before, .mbtn-plus::before {
        font-size: 0.75rem;
    }
    .mbtn-right {
        padding: 13.5px 44px 13.5px 26px;
    }    
    .mbtn-left {
        padding: 13.5px 26px 13.5px 44px;
    }
    .mbtn-plus {
        padding: 8.5px 15px 8.5px 22px;
    }
    .mbtn-plus::before {
        left: -14px;
    }
    .materialName {
        width: 60%;
    }
    .materialPerc {
        width: 30%;
    }
    .message, .del-modal-container {
        font-size: 1rem;
    }
    .qr-code {
        width: 75px;
    }
    .timeline-circle {
        line-height: 30px;
        height: 30px;
        width: 30px;
    }
    .timeline-hr {
        width: 40px;
    }
    .del-modal-content {
        width: 90%;
    }
    .jelmD .jelmS {
        font-size: 0.75rem;
        margin-left: 1rem;
    }
    .jelmD .jelmS:before {
        font-size: 1rem;
        top: 0.3rem;
        left: -1rem;
    }
    .jelmD[open] .jelmS:before {
        font-size: 1.25rem;
    }
}

@media only screen and (max-width: 375px) {
    .iconSize {
        height: 14px;
    }
    .iconSizeUp {
        height: 20px;
    }
    .mbtn, .mbtn-right::after, .mbtn-left::before, .mbtn-plus::before {
        font-size: 0.5rem;
    }
    .mbtn-right {
        padding: 10.5px 34px 10.5px 21px;
    }    
    .mbtn-left {
        padding: 10.5px 21px 10.5px 34px;
    }
    .mbtn-plus {
        padding: 8.5px 15px 8.5px 22px;
    }
    .mbtn-plus::before {
        left: -14px;
    }
    .message, .del-modal-container {
        font-size: 0.75rem;
    }
    .del-modal-content {
        width: 95%;
    }
}
