body, p, span, div, a, h1, h2, h3, h4, h5, h6, label, input, select, textarea {
    font-family: 'montserrat';
}

a { text-decoration: none;}

a:visited, a:link {color:unset;}


::-webkit-input-placeholder {
    color: blue;
}

:-moz-placeholder { /* Firefox 18- */
    color: blue;
}

::-moz-placeholder { /* Firefox 19+ */
    color: blue;
}

:-ms-input-placeholder {
    color: blue;
}

textarea {
    width: 100%;
    height: 90px;
    border: 1px solid #C0C0C0;
}

body {
    margin:0;
    padding:0;
}

hr { opacity: 0.5 ;}

p {
    color:#4B4B4B;
    font-size:16px;
    line-height: 19px;
}

h1 {
    font-size: 20px;
    line-height: 22px;
    margin-bottom: 30px;
    color:#4B4B4B;
}

h2 {
    font-size: 20px;
    line-height: 22px;
    margin-bottom: 30px;
    color:#4B4B4B;
}

h2 {
    font-size: 20px;
    line-height: 22px;
    margin-bottom: 30px;
    color:#4B4B4B;
}

.copyright-light {
    display:block;
    margin:20px auto;
    text-align: center;
    color:#fff;
    font-size:14px;
}

.inline {
    display:inline-block; margin-right:5px;
}

.copyright-dark {
    display:block;
    margin:20px auto;
    text-align: center;
    color:#333;
    font-size:14px;
}

.breadcrumb {
    margin-top:30px;
    display: flex;
    align-items:center;
    font-size:14px;
    color:#ED1B24;
}

.breadcrumb span {
    color:#333;
    margin-left:8px;
    margin-right:8px;
}

.breadcrumb a {
    color:#ED1B24;
    text-decoration: none;
}

.breadcrumb img {
    width:14px;
}

.allshadows {
    box-shadow: 5px 5px 8px -10px;
}

.filters {
    background-color: #fff;
    box-sizing: border-box;
    padding:9px;
    border-radius: 4px;
}

.filters div {
    
}

.filters span {
    margin-right:10px;
    font-weight: 500;
}

.page { margin:5px 10px }

.page.selected {
    font-weight:bold;
}

.table, .mainbox {
    background-color: #fff;
    box-sizing: border-box;
    padding:9px;
    width:100%;
    margin-top:20px;
    border-radius: 4px;
}
.table-header {
   display:none;
}
.table-body {
}
.table-header-row {
}
.table-row {
    cursor:pointer;
    border-bottom: 1px solid #c0c0c0;
    margin-bottom:10px;
}
.table-row:hover{
    background-color: #FFF5F5;
}
.hd-col {
    
}
.r-col {
    font-size:12px;
    vertical-align: middle;
    padding: 9px;
    display:flex;
}

.r-col>*:nth-child(1){
    flex-grow:1;
}

.r-col span {
    font-weight: 500;
}

.mt-20 {
    margin-top:20px;
}

.mt-40 {
    margin-top:40px;
}

.mt-60 {
    margin-top:60px;
}

.mt-80 {
    margin-top:80px;
}

.mb-20 {
    margin-bottom:20px;
}

.mb-40 {
    margin-bottom:40px;
}

.mb-60 {
    margin-bottom:60px;
}

.mb-80 {
    margin-bottom:80px;
}

.warning {
    color: #ED1B24;
    padding-left:15px;
    border-left: 6px solid #ED1B24;
}

.sidebar {
    position: absolute;
    top:0;
    left:0;
    width: 290px;
    background: #000;    
    overflow-y:hidden;
    min-height: 100vh;
    z-index:1000;
}
.content {
    left: 290px;
    box-sizing: border-box;
    top:0;
    width: auto;
    position: absolute;
    background: rgb(247, 247, 247);
    /*overflow: auto;*/
    min-height: 100vh;
    z-index: 1;
}
.sidebar-bg {
    position: absolute;
    left:0;
    top:0;
}
.sidebar-logo {
    position: absolute;
    left:70px;
    top:35px;
}
.sidebar-menu {
    position: absolute;
    left:20px;
    top:163px;
}

.anchor-bottom {
    top:unset;
    bottom:30px;
}

.sidebar-menu .option {
    text-decoration: none;
    color: #FFF;
    display: flex;
    align-items:center;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
}

.sidebar-menu .option img {
    width:16px;
    margin-right: 10px;
}

.sidebar-menu .option.selected ::after {
    left:-20px;
    background-color:#FFF;
    opacity: 0.4;
    width:290px;
    height:40px;
    position: absolute;
    content:"";
}

.sidebar-close {
    display: none;
}

.hamburguer {
    display: none;
}

.mobile-header {
    display:none;
}

.main {
    margin:15px;
    margin-top:100px;
}

.login {
    background: url(../img/login-bg.jpg) no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.login a {
    color: rgba(237,27,36,1);
}

.login-box {
    display: flex;
    width:620px;
    max-width:96%;
    margin:100px auto;
    background-color: #fff;
    border-radius:10px;
}

.login-gradient {
    display:none;
}

.login-content {
    box-sizing: border-box;
    padding: 10px 10px 10px 10px;
    width:100%;
}

.login-content-column {
    box-sizing: border-box;
    padding: 20px 20px;
}

.login-logo {
    margin:40px auto;
}

.ajaxloader {
    width: 60px;
    margin: 0 auto;
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.ajaxloader img {
    width: 30px;
    height: 30px;
    display: none;
}

.swal2-styled.swal2-confirm  {
    box-shadow: none;
    border-radius: unset;
    cursor: pointer;
    text-decoration: none;
    /*font-family: 'Poppins', sans-serif;*/
    font-style: normal;
    font-weight: 700;
    font-size: 1.12rem;
    text-transform: uppercase;
    color: #ffffff;
    border: none;
    padding: 16px;
    background: rgba(237,27,36,1) !important;
}

.swal2-title {
    font-size: 1.2em !important;
}

.swal2-styled.swal2-confirm:hover {
    background-color: rgba(237,27,36,1) !important;
    color: #fff !important;
}
.swal2-styled.swal2-confirm:focus {
    border: none !important;
}

fieldset {
    margin-top:15px;
    margin-bottom: 15px;
    padding:0;
    border:none;
}

label {
    display: block;
    text-align: left;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 30px;
    color: rgba(75,75,75,1);
}

input {
    margin:0;
    display: block;
    box-sizing: border-box;
    border: 1px solid #AAA;
    padding: 5px;
    font-family: Montserrat;
    font-style: normal;
    font-size: 16px;
    height: 40px;
    border-radius: 3px;
    max-width:95%;
}

select {
    margin:0;
    display: block;
    box-sizing: border-box;
    border: 1px solid #AAA;
    padding: 5px;
    font-family: Montserrat;
    font-style: normal;
    font-size: 16px;
    height: 40px;
    border-radius: 3px;
    /*width:220px;*/
    max-width:95%;
}

.btn-row {
    display:flex;
    align-items: center;
}

.btn-row > .btn {
    margin-right:20px;
}

.btn {
    box-sizing: border-box;
    min-width: 130px;
    text-align: center;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
    height: 35px;
    vertical-align: middle;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    
}

.btn.primary {
    background-color: rgba(237,27,36,1);
    color:#fff;
}

.btn.secondary {
    background-color: #000;
    color:#fff;
}

.delete {
    background-color: #ff6a00;
    color: #FFF !important;
    font-size: 10px;
    padding:5px;
}


.tab {

}

.tab-options {
    display:flex;
    align-items: center;
}

.tab-options a {
    background-color:#ED1B24;
    box-sizing: border-box;
    height: 60px;
    line-height: 60px;
    width: 300px;
    color:#fff;
    text-align: center;
    vertical-align: middle;
    font-weight: 600;
    margin-right:5px;
    border-radius: 5px 5px 0px 0px;
    cursor:pointer;
}

.tab-options a.selected {
    background-color:#FFF;
    color:#000;

    box-shadow: -3px -3px 15px -10px lightgray, /*left and bottom*/
    3px -3px 15px -10px lightgray
}

.tab-options a.disabled {
    background-color:lightgray;
}

.tab-panel {
    display: none;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    min-height: 300px;
    border-radius: 0px 5px 5px 5px;
    box-shadow: -3px 3px 15px -10px lightgray, /*left and bottom*/
    3px 3px 15px -10px lightgray; /*right and bottom*/
}

.tab-panel.selected {
    display:inherit;
}

.fields-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
    box-sizing: border-box;
    padding: 10px;
}

.fields-panel .field {
    display:grid;
    grid-template-columns: 1fr 2fr;
    min-height: 45px;
    align-items: baseline;
}

.field-panel .field label {
    font-weight: normal;
    margin:0;
    line-height: normal;
}

.field-panel .field span {
    font-weight: bold;
    margin:0;
    line-height: normal;
}

input[type=file] {
    font-size: 12px;
    max-width: 220px;
    display:inline-block;
}

.message-images div {
    padding:10px;
}

@media (min-width:1024px) {
    .content {
        width:calc(100vw - 290px);
    }

    .main {
        margin-top:15px;
        padding:3px;
    }

    .breadcrumb {
        margin-top:20px;
    }

    .filters {
        flex-direction: row;
        align-items: center;
        display: flex;
        border-radius: 4px;
        flex-wrap: wrap;
    }
    
    .filters div {
        display: flex;
        flex-grow: 1;
        align-items: center;
        margin:4px;
    }
    
    .filters span {
        margin-right:10px;
        font-weight: 500;
        min-width: 120px;
    }
    
    .table {
        display: table;
    }
    .table-header {
        display: table-header-group;
    }
    .table-body {
        display: table-row-group;
    }
    .table-header-row {
        display: table-row;
        height:40px;
        background-color:#F7F7F7;
    }
    .table-row {
        display: table-row;
        height:40px;
        cursor:pointer;
    }
    .table-row:hover{
        background-color: #FFF5F5;
    }
    .hd-col {
        display: table-cell;
        font-weight: 500;
        font-size:14px;
        vertical-align: middle;
        padding: 9px;
    }
    .r-col {
        display: table-cell;
        font-size:14px;
        vertical-align: top;
        padding: 9px;
        border-bottom: 1px solid #F7F7F7;
    }
    .r-col span {
        display: none;
    }

    .r-col input, .r-col select { margin-bottom: 3px;}

    .login-gradient {
        display: unset;
        width: 300px;
        height: 600px;
        overflow: hidden;
        background-color: black;
        text-align: center;
        background-image: linear-gradient(#000, #bf161d);
        border-radius: 10px 0px 0px 10px;
    }

    .login-content {
        padding: 20px 50px 20px 50px;
        /*display:grid;
        grid-template-columns: repeat(2, 1fr);*/
    }

    .login-content>div:nth-child(2) {
        border-left: 1px solid #AAA;
    }
}

@media (max-width:1024px) {
    .filters div {
        margin-bottom:20px;
    }
    input[type="text"], input[type="password"], select {width:100%;}
    .sidebar {
        display:none;
        box-shadow: 10px 0 9px -5px #888;
    }
    .sidebar-close {
        display: block;
        position: absolute;
        left: 250px;
        top:10px;
        width:22px;
        height: 22px;
        text-decoration: none;
    }
    .content {
        left: 0px;
        /*width:85%;*/
        width:100%;
    }
    .hamburguer {
        display:block;
        width:28px; 
        height: 28px;
        text-decoration: none;
        color:#FFF;
        float:right;
        margin-top:30px;
        margin-right: 20px;
    }
    .mobile-header {
        display:block;
        top:0;
        width:100%;
        position: fixed;
        background-color:#000;
        height: 90px;
    }
    .mobile-header-logo {
        margin-top:20px;
        margin-left:50px;
        width: 90px;
    }
}