/* Write your custom CSS here */

.btn-primary {
    background-color: #f84b4a;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus,.btn-primary:active:focus, .btn-primary:active:hover, .btn-primary:focus, .btn-primary:hover {
    background-color: #f96363;
}

.btn-secondary {
    background-color: #34425A;
    color: white;
}

.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus,.btn-secondary:active:focus, .btn-secondary:active:hover, .btn-secondary:focus, .btn-secondary:hover {
    background-color: #2b384e;
    color: white;
}

.form-right-side-button {
    float: right;
    margin-top: -32px;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background: #f84b4a;
    border-color: #f84b4a;
}

body.datepicker-week .datepicker.dropdown-menu tr:hover, .datepicker.dropdown-menu table tr td.day:hover, .datepicker table tr td.day.focused {
    background-color: #f84b4a;
}

.login-background {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    left: -100%;
    right: -100%;
    margin: auto;
    filter: blur(8px);
}

.login-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    font-size: 15px; }
.login-form form {
    border-radius: 12px;
    margin-bottom: 15px;
    background: #f7f7f7;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    padding: 30px; }

table tbody tr td .btn {
    width: 35px;
    height: 35px;
    border-radius: 3px;
}

table {
    width: 100%;
    cellspacing: 0;
    font-size: 12px;
}

.register-form {
    margin-top: 35%;
}

.profile-image-container > img {
    display: block;
    margin: 0 auto;
    width: 200px;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 5px #fff;
    -moz-box-shadow: 0 0 0 5px #fff;
    -o-box-shadow: 0 0 0 5px #fff;
    box-shadow: 0 0 0 5px #fff;
}

.nav-tabs.distribution-stepscalendar
    height: 150px;
    border: 2px solid black;
    float: left;
    padding: 10px;
    margin-right: 10px;
    position: relative;
    font-weight: 600;
}
.clickable-tile.size-select {
    width: 100%;
    padding: 20px;
    height: auto;
}

.clickable-tile:hover {
    cursor: pointer;
    background-color: #f3f3f3;
}

.clickable-tile .fa {
    position: absolute;
    font-size: 50px;
    bottom: 15px;
    right: 50px;
}

.clickable-tile.selected {
    border: 2px solid #f84b4a;
    background-color: #f3f3f3;
}

.btn .fa {
    color: white;
}



/* Complains */
#postcode_list {
    display: flex;
    margin-top: 10px;
}
#postcode_list .postcode {
    background-color: #e9edf2;
    padding: 5px 10px;
    border: 1px solid black;
    border-radius: 3px;
    display: inline-block;
    margin: 0px 10px 10px 0px;
    display: flex;
}

#postcode_list .postcode div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
#postcode_list .postcode .text {
    position: relative;
    top: 2px;
}
#postcode_list .postcode .close {
    padding-left: 5px;
}

.form-control.invalid {
    border: 1px solid red;
}
.m-b-sm {
    margin-bottom: 0px;
}

.clickable-tile .newspaper {
    max-width: 100%;
    max-height: 100%;
}

.search {
    position: relative;
}
.search .suggestion {
    position: absolute;
    top: 30px;
    width: 100%;
    z-index: 999;
    background-color: white;
    border: 1px solid #ddd;
    margin-left: 0px;
    margin-right: 0px;
    overflow: hidden;
    display: none;
}
.search .suggestion .row {
    width: 100%;
    line-height: 30px;
    border-bottom: 1px solid #ddd;
    position: relative;
    margin-left: 0px;
    margin-right: 0px;
}
.search .suggestion .row:last-child {
    border-bottom: 0px solid #ddd;
}
.search .suggestion .row:hover {
    cursor: pointer;
    background-color: #ddd;
}
.undoredo {
    padding-top: 20px;
}
.round {
    width: 12px;
    height: 12px;
    border-radius: 12px;
    overflow: hidden;
    padding-right: 10px;
    position:relative;
    top: 2px;
    left: -2px;
}
.round.black { background-color: black; }
.round.green { background-color: green; }
.round.purple { background-color: purple; }
.round.red { background-color: red; }
.round.orange { background-color: orange; }
.round.blue { background-color: blue; }
.round.gray { background-color: gray; }

.dictonary-index {
    padding: 0px 0px;
}
.dictonary-index ul {
    list-style-type: none;
    display: flex;
    width: 100%;
    padding-left: 0px;
    margin: 0px;
}

.dictonary-index ul li {
    display: flex;
    font-size: 11px;
    padding-right: 10px;
    line-height: 22px;
    align-items: center;
    flex-direction: row;
}
.dictonary-index ul li .round {
    top: 0px;
}

.disabled-block {
    position: relative;
    z-index: 0;
    opacity: 0.5;
}

.disabled-block input, .disabled-block select {
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
    color: grey;
    opacity: 1;
}

.disabled-block::before {
    display: block;
    width: 100%;
    height: 100%;
    content : "disabled";
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
    opacity: 0;
}


/** Theme corrections **/
.top-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.navbar-nav {
    flex-direction: row;
}

.navbar-inner {
    width: 100%;
}

/** Datatables **/
.table-responsive {
    padding-top: 15px;
}

/** Form **/
.form-group {
    display: flex;
    padding: 4px 0px;
    align-items: center;
}

.navbar .dropdown .dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    margin-top: 0px !important;
}

.breadcrumb>li+li:before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0";
}

.no-decoration
{
    text-decoration: none !important;
}

#title-table td
{
    line-height: 36px;
}


/** Media **/

.media-block {
    padding: 15px;
    text-align: center;
    width: 11%;
    border: 1px solid rgb(233, 233, 233);
    border-radius: 3px;
    margin: 0.75%;
}

.media-block img {
    width: 100%;
    margin-bottom: 10px;
    max-width: 60px;
}

.media-block a {
    color: black;
    text-decoration: none;
}

.media-block strong {
    font-size: 14px;
    display: block;
    word-wrap: break-word;
}

.table .profile-image-container {
    width: 40px;
    height: 40px;
}

.table .profile-image-container img {
    width: 100%;
    height: 100%;
}

.align-start {
    align-items: flex-start;
}


.nav-round {
    width: 20px;
    height:20px;
    border-radius: 20px;
    overflow:hidden;
    position:absolute;
    background-color: rgba(255, 0, 0, 0.74);
    right: 45px;
    top: 5px;
    color: white;
    font-size: 11px;
    font-weight: bold;
    line-height: 20px;
}


.calendar {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid black;
    margin-top: 20px;
}
.calendar-block {
    width: calc(100% / 7);
    border: 1px solid black;
    height: auto;
}
.calendar-block.inactive {
    border: 1px solid #000000;
    background-color: #f1f1f1;
    color: #a7a7a7;
}
.calendar-block-list {
    width: 100%;
    height: 86px;
    display: flex;
    flex-wrap: wrap;
    padding: 2px;
    box-sizing: border-box;
}
.calendar-block-list-item {
    width: 30px;
    height: 30px;
    margin: 2px;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

.calendar-block-list-item img {
    width: 100%;
    height: 100%;
}

.calendar-block-list-item .info-overlay {
    position: absolute;
    max-width: 100%;
    min-width: 400px;
    top: -134px;
    left: -185px;
    height: 130px;
    background-color:white;
    border: 0px solid rgb(146, 146, 146);
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    box-shadow: 2px 2px 11px rgb(187, 187, 187);
}

.calendar-block-list-item .info-overlay img {
    width: 30px;
    height: 30px;
}

.nav-tabs {
    display: flex;
}

.nav-tabs li {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border: 1px solid #DDDDDD;
}

.nav-tabs li  a{
    display: block;
    padding: 10px;
    text-decoration: none;
    border: 0px solid #DDDDDD;

    
}
.nav-tabs li.active a {
    font-weight: bold;
    background-color: #dee2e6;
}

.tag {
    border: 1px solid #dee2e6;
    padding: 4px 10px;
    border-radius: 16px;
    display: inline-block;
    margin: 5px;
}


/* Loading popup */

#loading {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    z-index: 1080;
    display: none;
    text-align: center;
}
#loading img {
    margin-top: 39vh;
}
#loading .title {
    font-size: 22px;
    display: block;
    width: 100%;
    text-align: center;
}
#loading .subtitle {
    font-size: 16px;
    display: block;
    width: 100%;
    text-align: center;
}
#loading.active {
    display: block;
}



.dataTables_wrapper .dataTables_length {
    display: none;
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .dataTables_filter {
        width: 100%;
        padding: 0px;
   }
   .table-responsive {
        overflow: visible;
   }
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .dataTables_filter label {
        width: 100%;
        display: block;
        box-sizing: border-box;
   }
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .dataTables_filter label input {
        width: 100% !important;
        margin-left: 0px !important;
   }
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: transparent;
    border: 0px;
    color: white;
    display: inline-block;
    padding: 4px 8px;
    border-radius: .3rem;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    height: 26px;
    position: relative;
    vertical-align: top;
    margin-left: 6px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    margin-right: 6px;
}
.dataTables_wrapper .dataTables_paginate .ellipsis {
    margin-left: 6px;
}
.dataTables_wrapper .dataTables_info {
    font-size: 13px;
    line-height: 24px;
    padding: 10px 0px;
}
.dataTables_wrapper .table {
    width: 100% !important;
    /* display: inline; */
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .table .no-mobile {
        display: none;
   }
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .table thead {
        display: flex;
        flex-direction: column;
        width: 100%;
   }
   .dataTables_wrapper .table tfoot {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .table thead tr {
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
   }
   .dataTables_wrapper .table tfoot tr {
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .table thead tr th {
        width: 100%;
        display: none;
   }
   .dataTables_wrapper .table tfoot tr th {
        width: 100%;
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .table thead tr th.main {
        width: 100% !important;
        display: table-cell;
   }

   .dataTables_wrapper .table tfoot tr th.main {
    width: 100% !important;
    display: table-cell;
    border-top: 0px;
}
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .table tbody {
        display: flex;
        flex-direction: column;
        width: 100%;
   }
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .table tbody tr {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
   }
}
.dataTables_wrapper .table tbody tr td {
    line-height: inherit;
    vertical-align: middle;
    border-top: 0px;
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .table tbody tr td {
        padding: 5px;
        display: none;
   }
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .table tbody tr td.main {
        width: 100%;
        order: 1;
        font-weight: bold;
        display: table-cell;
        border-top: 0px solid #ddd;
        height: 35px;
        white-space: nowrap;
        overflow: hidden;
   }
   .dataTables_wrapper .table tbody tr td.main.action-one {
        width: calc( 100% - 85px );
    }
   .dataTables_wrapper .table tbody tr td.main.action-two {
        width: calc( 100% - 135px );
   }
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .table tbody tr td.main.main-100-mobile {
        width: 100%;
   }
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .table tbody tr td.main img {
        max-width: 100%;
   }
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .table tbody tr td.sub {
        width: auto;
        order: 6;
        margin-top: -30px;
        line-height: 16px;
        font-size: 12px;
        height: 24px;
        padding: 5px 0px 0px 15px !important;
        display: table-cell;
        border: 0px;
   }
   .dataTables_wrapper .table tbody tr td.sub[mobile-label]:before {
        content: attr( mobile-label)":";
        padding-right: 5px;
    }
}

.dataTables_wrapper .table tbody tr td.action {
    text-align: right;
}
@media only screen and (max-width: 768px) {
    .dataTables_wrapper .table tbody tr td.action {
        width: 55px;
        order: 2;
        display: table-cell;
        min-height: 47px;
        box-sizing: border-box;
        border-top: 0px solid #ddd;
   }
   .dataTables_wrapper .table tbody tr td.action.two {
        width: 105px;
    }
}


@media only screen and (max-width: 768px) {
    .hide-for-mobile {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .mobile-on-top-flex-1 {
        order: -1;
    }
    
}

@media only screen and (max-width: 768px) {
    .form-control {
        margin-bottom: 5px;
    }
    
    .dataTables_empty {
        display: block !important;
        width: 100% !important;
    }
}


l
