﻿/* Proflyer CSS */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800&display=swap');


/* Main CSS */

body {
    font-family: 'Open Sans', Helvetica, sans-serif;
    color: #727c8e;
}

a, .btn.btn-link {
    color: #1a7b8f;
}

    a:hover,
    a:focus,
    a:active {
        color: #145c6b;
    }


/* Backgrounds */

.bg-gradient-primary {
    background-color: #1a7b8f;
    background-image: linear-gradient(180deg,#1a7b8f 10%,#145c6b 100%);
    background-size: cover;
}

.bg-gradient-secondary {
    background-image: linear-gradient(to bottom, #415464 0%, #ffffff 50%, #ffffff 51%, #405462 100%);
    background-size: cover;
}


/* Buttons */

.btn-primary {
    background-color: #1a7b8f;
    border-color: #1a7b8f;
}

    .btn-primary:hover {
        background-color: #145c6b !important;
    }

    .btn-primary:focus,
    .btn-primary:active {
        background-color: #145c6b !important;
    }

/* Text colors*/

.text-primary {
    color: #1a7b8f !important;
}

/* Forms */

.form-group {
    margin-bottom: 1.5rem;
}

.field-validation-error {
    margin-top: .2rem;
    font-size: .85rem;
    display: block;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #1a7b8f;
    border-color: #1a7b8f;
}


/* Leaflet Relations row */

.leafletRelationsRow ul.list-group {
    height: 500px;
    overflow-y: auto;
}

.leafletRelationsRow ul.list-group li .form-group {
    overflow-x: auto;
}


.ui-autocomplete {
    z-index: 999999;
}

.productModal-dialog {
    min-width: 1000px;
}

.productModal-content {
    padding: 35px 35px 20px 35px;
    border-radius: 15px;
    background-color: #f5f6f8;
    font-size: 15px;
}

    .productModal-content .modal-footer {
        padding: 0;
        border: 0;
        margin-top: 65px;
    }

        .productModal-content .modal-footer .btn {
            font-size: 15px;
            padding: 10px 20px;
            width: 140px;
        }

.productModal-image {
    width: 220px;
    height: 220px;
}

.row-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.productModal-ui-menu-item {
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 13px;
    width: 100%;
    padding: 5px !important;
    display: inline-block;
}

    .productModal-ui-menu-item.ui-state-active {
        background-color: #1a7b8f;
        border-color: #1a7b8f;
    }

.btn.disabled {
    cursor: initial;
}


.slide-images {
    overflow-x: auto;
}

.slide-images li {
    width: 25%;
    border-radius: .25rem !important;
    border: 1px solid rgba(0,0,0,.125) !important;
    margin: 0 5px;
}

.slide-images li:first-child {
    margin-left: 0;
}

.slide-images li:last-child {
    margin-right: 0;
}

.slide-images .form-check-label {
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 140px;
    display: inline-block;
    overflow: hidden;
}

.slide-container {
    width: 100%;
    position: relative;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.slide-container:after {
    padding-bottom: 140%;
    content: '';
    display: block
}

.image-slide-preview {
    width: 100%;
}

.square {
    display: block;
    float: left;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}


/* DataTables */

table.dataTable {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.table-top {
    margin-bottom: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center;
}

    .table-top:after {
        content: '';
        clear: both;
        display: block;
    }

    .table-top .dataTables_filter,
    .table-top .dataTables_info,
    .table-top .dataTables_length {
        margin: 0 !important;
        padding: 0 !important;
        float: left;
    }

    .table-top .dataTables_filter {
        position: relative;
    }

    .table-top label {
        margin-bottom: 0;
    }

    .table-top .dataTables_filter .form-control {
        width: 400px;
        height: auto;
        margin-left: 0;
        padding: 8px 20px;
        padding-left: 50px;
        border: 1px solid #292e46;
    }

    .table-top .dataTables_filter:after {
        content: '\f002';
        font-family: 'Font Awesome 5 Free';
        font-weight: bold;
        position: absolute;
        left: 24px;
        top: 50%;
        margin-top: -12px;
        text-align: center;
        color: #dddddd;
        display: inline-block;
    }

    .table-top .dataTables_info {
        font-weight: bold;
    }

    .table-top .dataTables_length .form-control {
        height: auto;
        padding: 6px 20px;
    }

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin-top: 20px;
}

    div.dataTables_wrapper div.dataTables_paginate ul.pagination li {
        margin: 0 4px;
        font-size: .8rem;
        padding: 0;
    }

        div.dataTables_wrapper div.dataTables_paginate ul.pagination li:hover {
            border: 0;
        }

        div.dataTables_wrapper div.dataTables_paginate ul.pagination li.next {
            margin-right: 0;
        }

        div.dataTables_wrapper div.dataTables_paginate ul.pagination li a {
            height: 34px;
            color: #292e46;
        }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-item.active .page-link {
        background-color: #186d7e;
        color: #ffffff;
        border: 1px solid #186d7e;
    }

@media only screen and (min-width: 768px) {
    .table-top .dataTables_info {
        margin-left: 40px !important;
    }

    .table-top .dataTables_length {
        margin-left: 40px !important;
    }
}

.dataTables_wrapper .dataTables_paginate {
    float: left !important;
}

table.dataTable thead th, table.dataTable thead td {
    border-bottom: none !important;
    background: #156474;
    color: #ffffff;
    vertical-align: middle;
}

table.dataTable.no-footer {
    border-bottom: none !important;
}

/*.table.dataTable tbody tr {
    background-color: #f8f9fc;
}*/

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #156273;
}


/* Disabled */

a.disabled {
    color: #858796;
}

/* Bootstrap select */

.dropdown.bootstrap-select {
    width: 100% !important;
}

.bootstrap-select > .dropdown-menu {
    max-width: 100%;
}

.bootstrap-select > .btn.dropdown-toggle {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d1d3e2;
}

.bootstrap-select .dropdown-item.selected {
    background-color: #166778;
    color: #ffffff;
}

.dropdown-item.active, .dropdown-item:active {
    color: #ffffff;
    text-decoration: none;
    background-color: #292e46;
}

.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    color: #ffffff;
}
/* Sidebar */
.sidebar .nav-item .collapse .collapse-inner .collapse-item.active {
    color: #1a7b8f;
    font-weight: 700;
}


/* Bootstrap Toggle */

.btn.toggle {
    min-height: 38px;
}

.btn.toggle .toggle-group .btn.active {
    border: 1px solid #d1d3e2;
}