/*
Egyedi CSS keretrendszer // Netmetro
*/

* {box-sizing: border-box;}
body {
    margin: 0;
    font-family: 'Spartan', sans-serif;
}
img {
    max-width: 100%;
    display: block;
}

a,a:visited,a:hover,a:active,a:focus {
    text-decoration: none !important;
}

ul {
    padding: 0;
    margin: 0
}

li {
    list-style-type: none;
}

.input[type='text'],
.input[type='number'],
.input[type='date'] {
    border: 0;
    outline: 0;
    height: 38px;
    line-height: 38px;
    background-color: #fff;
    padding: 10px 15px;
    margin: 5px;
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.204);
}

.input[type='text']:focus,
.input[type='number']:focus,
.input[type='date']:focus {
    outline: 1px solid #0F9D48
}

.input[type='number'] {
    padding-right: 0;
    width:80px
}

.input[type='checkbox'],
.input[type='radio'] {
    width:20px;
    height: 20px
}

button[type='submit'] {
    border: 0;
    outline: 0;
    font-family: 'Spartan', sans-serif;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.flex-c {
    align-items: center;
}

.text-right {
    text-align: right;
}

.box {
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.014);
    border: 1px solid #ebebeb
}

/* LAYOUT SECTION */
/*
.w-A-B-C
A => 1200px+ ennyi lesz egymás mellett,
B => 1199px - 768px ennyi lesz egymás mellett,
C => 767px- ennyi lesz egymás mellett,
ahol csak 'A' érték szerepel, az minden nézeten érvényes
*/
.w-1 {width: 8.33%}
.w-2 {width: 16.66%}
.w-3 {width: 25%}
.w-4 {width: 33.33%}
.w-5 {width: 41.66%}
.w-6 {width: 50%}
.w-7 {width: 58.33%}
.w-8 {width: 66.66%}
.w-9 {width: 75%}
.w-10 {width: 83.33%}
.w-11 {width: 91.66%}
.w-12 {width: 100%}

@media(max-width: 767px) {
    .w-sm-1 {width: 8.33%}
    .w-sm-2 {width: 16.66%}
    .w-sm-3 {width: 25%}
    .w-sm-4 {width: 33.33%}
    .w-sm-5 {width: 41.66%}
    .w-sm-6 {width: 50%}
    .w-sm-7 {width: 58.33%}
    .w-sm-8 {width: 66.66%}
    .w-sm-9 {width: 75%}
    .w-sm-10 {width: 83.33%}
    .w-sm-11 {width: 91.66%}
    .w-sm-12 {width: 100%}
}

/* BUTTON SECTION */
.btn {
    background-color: rgb(51 118 135);
    color: #fff;
    font-size: 20px;
    padding: 0px 24px;
    margin: 5px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
}

.btn.btn-lg {
    font-size: 22px;
    padding: 0px 32px;
    height: 50px;
    line-height: 50px;
}

.btn.btn-md {
    font-size: 14px;
    padding: 0px 24px;
    height: 30px;
    line-height: 30px;
}

.bg-red {background-color: #DB4337}
.bg-green {background-color:#0F9D48}
.bg-blue {background-color:#4285F5}
.bg-yellow {background-color: #F4B400;}

.br {
    border-radius: 100px;
}

.pagination {
    justify-content: center;
}

.pagination div {
    height: 40px;
    line-height: 40px;
    margin: 0 5px;
    display: block;
    text-align: center;
    padding: 0;
    border: 1px solid #e4e4e4;
}

.pagination div.nr {
    width: 40px;
    
}

.pagination a {
    color: #4285F5;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0 5px
}

.pagination a:hover {
    color: #fff;
    background-color: #4285F5;
}

.pagination a.active {
    color: #fff;
    background-color: #4285F5;
    cursor: not-allowed;
}

/* LISTA */
.fw700 {
    font-weight: 700;
}

ul.box li {
    padding: 0px 0
}
ul.box li:hover {
    background-color: #e4e4e4;
}

ul.box a {
    display: block;
    padding:  12px;
    color: #4285F5
}

ul.box a:hover {
    color: #fff ;
    background-color: #4285F5;
}

.list-item-element {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;  
    align-items: center;
    border-bottom: 1px solid #e4e4e4
}

.list-item-element.head {
    font-weight: 700;
    padding: 20px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #e4e4e4
}

.item-id {
    width: 100px;
}

.item-img {
    width: 200px;
    padding: 4px 0;
}

.item-name {
    width: 300px;
}

.item-info {
    width: 700px;
}

a.item-modify {
    width: 150px;
    text-align: center;
    background-color: #F4B400 !important;
    color: #fff !important
}

.item-delete {
    width: 150px;
    text-align: center;
    background-color: #DB4337;
}

/* Elem//item nézet */
.input-row {
    margin: 10px 0
}

.input-row input[type="text"] {
    width: 100%
}

.file-input-wrapper {
    position: relative;
    height: 40px;
    width: 200px;
}

.file-input-wrapper input {
    height: 40px;
    width: 100%;
    opacity: 0;
}

.file-input-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #0F9D48;
    color: #fff;
    text-align: center;
    height: 40px;
    line-height: 40px;
    pointer-events: none;
}

.dropdown-select-wrapper {
    position: relative;
    width: 290px;
}

.dropdown-selected {
    height: 40px;
    line-height: 40px;
    padding:0 15px 0 6px;
    background-color: #0F9D48;
    color: #fff;
    position: relative;
    cursor: pointer;
}

.dropdown-selected::before {
    position: absolute;
    top: 50%;
    right: 10px;
    content: "";
    border-top: 6px solid #fff;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.dropdown-select-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: pointer;
    display: none
}

.dropdown-select-list.active {
    display: block
}

.dropdown-select-list li {
    height: 40px;
    line-height: 40px;
    padding:0 15px 0 6px;
    background-color: #0F9D48;
    color: #fff;
    position: relative;
    cursor: pointer;
    border-top: 1px solid rgba(255, 255, 255, 0.077)
}

.dropdown-select-list li:hover {
    background-color: #fff;
    color: #0F9D48;
}