.upload-kit .upload-kit-item .remove {
    top:unset;
    left:unset;
    width:unset;
    height:unset;
    margin:0px;
    padding:8px;
    background-color:#203D4C;
}

.upload-kit .upload-kit-input, .upload-kit .upload-kit-item {
    margin:0px;
    border:0px;
    width:100%;
}

.progress-bar {
    --bs-progress-bar-bg: var(--accent-color);
}

.file-preview div {
    flex:1;
}

.upload-kit {
    display:flex;
    justify-content: center;
    flex:1;
}

ul.files {
    flex:1;
}

.fa-times-circle:before {
    margin: auto;
    vertical-align: middle;
}

.empty {
    text-align:center;
    margin:10px;
}

/* Switch styling */
.switch-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.daterangepicker .calendar-table .next span, .daterangepicker .calendar-table .prev span {
    border-radius: 0 !important;
    margin: 0px;
}

.pagination {
    justify-content: center;
}

.table tr:nth-child(even){
    background-color: #F4F8FB;
}
.table tr:nth-child(odd){
    background-color: white;
}
.table tr:hover {
    background-color: #D6E2EC;
    cursor:pointer;
}
.table tr td {
    background-color:inherit !important;
}

.table th {
    font-weight:normal;
}
.table th a {
    text-decoration:none;
}
input[type=date] {
    -moz-appearance: none; -webkit-appearance: none; appearance: none;
}


.table {
    border-radius: 8px;
    border: 1px solid #dddee4;
    box-shadow: 0px 1px 4px rgba(19,126,199,0.2);
    border-spacing: 0;
    border-collapse: inherit;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

.table th {
    background-color: #152b4b;
    padding:15px 15px 15px 0.5rem;
}

.table th a, .table th {
    color:white;
}

.table tr th:last-child {
    border-top-right-radius: 8px;
}

.table tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.table tr th:first-child {
    border-top-left-radius: 8px;
}

.table tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.table tr td:first-child, .table tr th:first-child {
    padding-left:20px;
}

.table tr td:last-child, .table tr th:last-child {
    padding-right:25px;
}

.table td {
    vertical-align:middle;
}

.alert {
    width:100%;
}


.select2-container .select2-selection--multiple .select2-selection__rendered {
    white-space: normal;
}

h4.page-title {
    margin-bottom:20px;
}

.table tr:nth-child(even) td {
    background-color: #F4F8FB;
}
.table th {
    font-weight:normal;
}
.table th a {
    text-decoration:none;
}

#w1-cols.button, #w3-button.button {
    /*border-radius:0px;*/
    /*margin:0px;*/
    /*margin-top:5px;*/
}

.form-check {
    padding-left: 2em;
}

.form-group {
    vertical-align:top;
}
/*.form-check .form-check-input  {*/
/*    margin-top: 0.7em;*/
/*}*/

#menu {
    /*position: fixed;*/
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    width: 250px;
    white-space: nowrap;
    background-color:#152b4b;
    /*background-color: white;*/
    box-shadow: 2px 1px 4px -2px rgba(19,126,199,0.4);
    color: #203D4C;
    font-size: 18px;
    line-height: 22px;
    color:inherit;
}

#main {
    /*grid-area: main;*/
    /*position: relative;*/
    /*padding: 24px;
    margin: 0px;*/
}

@media (min-width: 600px) {
    body {
        overflow:hidden;
        height:100vh;
    }
    #menu {
        position:fixed;
    }
    #main {
        margin-left:250px;
    }
}

@media (max-width: 600px) {
    .wrapper {
        flex-direction: column-reverse;
    }
    .wrapper-regular {
        flex-direction: column;
    }
    #main {
        margin-left:0px;
    }
    ul {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    #menu {
        width:100%;
    }
    .wrap_vertical {
        display:flex !important;
        flex-direction:column;
    }

    .campaign_form_column {
        width:100% !important;
        height:100% !important;
    }
    .loginBox {
        width:100% !important;
        padding:25px !important;
    }
}

body {
    /*max-width: 1600px;*/
    /*display: grid;*/
    grid-template-areas:
        'sidenav main';
    grid-template-columns: 250px 1fr;
    background-color: #F7F7F8;
    margin:0px;
    grid-template-columns: 250px auto;
}

.block {
    background-color: #FFFFFF;
    color: #111928;
    box-shadow: 0px 1px 3px rgba(0,0,0,0.2);
    border: 1px solid #dddee4;

    border-radius: 8px;
    /*order: 2;*/
    padding: 32px 40px;
}

#menu .submenu {
    margin: 0px;
    padding: 0px;
    padding-top: 50px;
    list-style-type: none;
}

#menu .submenu a {
    display: flex;
    align-items: center;
    flex-direction: row;
    font-size: 14px;
    text-decoration: none;
    padding: 12px 36px;
    color:inherit;
}

#menu .submenu a:hover {
    text-decoration: underline;
}

#menu .submenu a svg {
    margin-right: 6px;
}

li.active a.button {
    border: 2px solid #CBDAE2;
}

/*label {*/
/*    font-weight:bold;*/
/*}*/

a.button, button.button, .prev span, .next span {
    padding: 5px 10px;
    /*background: white;*/
    background-color: transparent;
    box-shadow: none;
    color: var(--accent-color);
    /*border: 1px solid #CBDAE2;*/
    text-decoration: none;
    margin: 0px 6px 6px 0px;
    position:relative;
    display: inline-block;
    cursor:pointer;
    border-radius:8px !important;
    font-size:1rem;
    border:0px;
}

a.button:hover, button.button:hover {
    /*outline: 1px solid #CBDAE2;*/
    background-color:var(--accent-color);
    /*border: 1px solid #CBDAE2;*/
    color: white;

    font-size:1rem;
    /*background: white;*/

}



.btn-group {
    vertical-align:top;
}
.menu_item a {
    /*color: #203D4C;*/
    color:white !important;
    padding: 10px 0px;
    padding-left: 20px;
    text-decoration: none;
    width: 100%;
    display: block;
    font-size:18px;
}

.menu_item a:hover {
    text-decoration:underline !important;

    /*background-color:#F4F8FB;*/
}

.sub_menu_item a {
    color: white;
    padding: 7px 0px;
    padding-left: 30px;
    text-decoration: none;
    width: 100%;
    display: block;
    font-size:13px;
}

.sub_menu_item a:hover {
    text-decoration:underline;
}

.sub_menu_item .logout {
    /*position:absolute;*/
    bottom:0;
    text-align:center;
    padding-left:0px;
    padding-bottom:30px;
    margin-top:20px;
}

.current a {
    /*color: #1E7FC6;*/
    color:white;
    text-decoration: underline;

    /*background-color: #F4F8FB;*/
}

.btn-primary {
    color: white;
    text-align: center;
    background: var(--accent-color);
    border: 0;
    border-radius: 8px;
    /*padding: 12px 24px;*/
    box-sizing: border-box;
    cursor: pointer;
    text-decoration:none;
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

.btn-primary:focus {
    background-color: var(--accent-color);
}

.btn-secondary {
    padding: 6px 12px;
    border-radius: 8px;
    border:0px;
}

.btn:disabled {
    background-color:#C3C2C2;
    color:black;
}

.block {
    margin-bottom:30px;
    background: white;
    /*border: 0px;*/
    border-radius: 8px;
    padding: 20px;
    padding-bottom: 16px;
    box-shadow: 0px 1px 4px rgba(19,126,199,0.2);
    /*margin-bottom: 15px;*/
    font-size:14px;
}

h4 {
    margin-top: 3px;
}

input[type=text], input[type=number], input[type=date], input[type=password], select.form-control, textarea.form-control {
    color: #203D4C;
    /*width: 400px;*/
    border-radius: 5px;
    box-sizing: border-box;
    padding: 7px;
    border: 1px solid #CBDAE2;
    font-family: avenirnext;
    font-size: 1rem;
    margin-bottom: 5px;
    /* height:35px; */
    padding-bottom:3px;
}

select.form-control {
    /*text-align:center;*/
    background: url("data:image/svg+xml,%3Csvg viewBox='-10 -8 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='SVGRepo_bgCarrier' stroke-width='0'%3E%3C/g%3E%3Cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'%3E%3C/g%3E%3Cg id='SVGRepo_iconCarrier'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/g%3E%3C/svg%3E") no-repeat 100% 50%;
}

.dropdown-menu {
    font-size:14px;
}

.campaign-block {
    width: 100%;
    background: white;
    /*padding: 14px 18px 7px 18px;*/
    padding: 18px;
    margin-bottom: 15px;
    box-shadow: 0px 1px 4px rgba(19,126,199,0.2);
    border-color: #CBDAE2;
    box-sizing: border-box;
    position: relative;
}

.campaign-name>a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #1E7FC6;
    font-weight:bold;
    font-size:17px;
    text-decoration:none;
}

.campaign-name>a:hover {
    text-decoration:underline;
}

.campaign_form_column {
    grid-area: side;
    resize: horizontal;
    float: left;
    width: 400px;
    height: 100vh;
    scroll-padding-top: 360px;
    scroll-behavior: smooth;
    background: #f4f8fb;
    box-shadow: 2px 1px 4px -2px rgba(19,126,199,0.4);
    padding: 16px;
    box-sizing: border-box;
    z-index:20;
    overflow-y: auto;
    padding-top:0px;
}

.main {
    grid-area: main;
}

.campaign_form_column header {
    position: sticky;
    top: -16px;
    background: var(--accent-color);
    /*width: 100%;*/
    margin-top: -16px;
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: 24px;
    padding: 16px;
    padding-bottom: 16px;
    z-index: 10;
}

.campaign_form_column header h1 {
    color: white;
    height: 24px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-left: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: normal;
    font-size: 1.5em;
}

#editForm .block {
    background: white;
    border: 0px;
    border-radius: 3px;
    padding: 12px;
    padding-bottom: 16px;
    box-shadow: 0px 1px 4px rgba(19,126,199,0.2);
    margin-bottom: 15px;
}

#editForm h4 {
    font-weight:bold;
    margin-top:3px;

}

#editForm img {
    cursor:pointer;
}

#editForm input[type=textbox], #editForm input[type=text], #editForm input[type=number], #editForm select {
    color: #203D4C;
    width: 90%;
    border-radius: 3px;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #CBDAE2;
    font-family: avenirnext;
    font-size: 14px;
    margin-bottom: 5px;
}

#editForm input[type=checkbox] {
    margin-right: 15px;
    margin-left: 10px;
    margin-bottom: 10px;
}

#editForm h4 {
    font-size:1em;
}

a, a.nav-link {
    color: #1E7FC6;
    cursor:pointer;
}
* {
    font-family:avenirnext;
    color:#203D4C;
}

:root {
    --accent-color: #b91b3b;
}