/* THEMES */
/* LOADMON GREEN #8cd036 */

@font-face {
    font-family: "Open Sans";
    font-weight: normal;
    font-style: normal;
    src: url("../fonts/OpenSans-Regular.eot");
    src: url("../fonts/OpenSans-Regular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/OpenSans-Regular.woff") format("woff"),
    url("../fonts/OpenSans-Regular.ttf") format("truetype"),
    url("../fonts/OpenSans-Regular.svg") format("svg");
}

@font-face {
    font-family: "Open Sans";
    font-weight: 300;
    font-style: normal;
    src: url("../fonts/OpenSans-Light.ttf") format("truetype");
}

@font-face {
    font-family: "Open Sans Semibold";
    font-style: normal;
    src: url("../fonts/OpenSans-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: "Open Sans";
    font-weight: 700;
    font-style: normal;
    src: url("../fonts/OpenSans-Semibold.eot");
    src: url("../fonts/OpenSans-Semibold.eot?#iefix") format("embedded-opentype"),
    url("../fonts/OpenSans-Semibold.woff") format("woff"),
    url("../fonts/OpenSans-Semibold.ttf") format("truetype"),
    url("../fonts/OpenSans-Semibold.svg#Semibold") format("svg");
}

/*
 * MAIN COLOR: #fff234
 */

/* PROJECT RESET RULES */
body {
    height: 100%;
    /*overflow: hidden;*/
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: #ececec;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 18px;
}

.btn, select, textarea, input[type=mail], input[type=text], input[type=number] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

a {
    color: #05924f;
    text-decoration: none;
}

select {
    background: none;
}

.hide {
    display: none !important;
}

small {
    font-size: 10px;
    color: gray;
}

button {
    border: none;
}

.clear {
    clear: both;
}

.no-margin {
    margin: 0;
}

.invisible {
    opacity: 0;
}

.inline-block {
    display: inline-block;
}

.invisible-disabled:disabled {
    background: #fff;
    cursor: not-allowed;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.td-reset {
    padding: 0 !important;
    margin: 0 !important;
}

.select2-container--kiiusoon {
    width: 100% !important;
}

.select2-container--open {
    z-index: 9999999 !important;
}

.borderless {
    border: none;
}

.new-line {
    display: block;
}

.pcep-image {
    display: flex;
    justify-content: space-between;
}

.pcep-image .icon {
    cursor: pointer;
    transition: .2s;
}

.pcep-image .icon:hover {
    color: #da2929;
}

.row.highlighted {
    background: #ffffff;
}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.width-auto {
    width: 100%;
    max-width: 100% !important;
}

.pos-relative {
    position: relative;
}

.rounded-borders {
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid #e7e7e7;
}

.fraction-pdf .pcep-image {
    padding: 12px;
}

/* --- FONT SIZES --- */

.font-18 {
    font-size: 18px;
}

/* --- FLEXBOX CLASSES --- */
.space-around {
    display: flex;
    justify-content: space-around;
}

.flex-block {
    display: flex;
}

.flex-space {
    justify-content: space-between;
}

.flex-center {
    align-items: center;
}

.flex-middle {
    justify-content: center;
}

.flex-end {
    align-items: end;
}


.flex-wrap {
    flex-wrap: wrap;
}

.flex-margins > div:not(:last-child) {
    margin-right: 20px;
}

/* --- NO TEXT SELECT --- */

.no-text-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                     supported by Chrome, Edge, Opera and Firefox */
}

/* --- STYLE CLASSES RESET --- */

.bold {
    font-weight: bold;
}

.color-red {
    color: red !important;
}

.color-blue {
    color: #00bbff !important;
}

.color-green {
    color: #70bd23;
}

.color-yellow {
    color: #fda300;
}

.color-gray {
    color: #ababab;
}

.bg-gray {
    background: #d8d8d8;
}

.bg-lightgray {
    background: #e4e4e4;
}

.Rtable .Rtable-row.bg-lightred .Rtable-cell,
.bg-lightred {
    background: #ffbcbc !important;
}

.Rtable .Rtable-row.bg-lightblue .Rtable-cell,
.bg-lightblue {
    background: #81D4FA !important;
}

.border-red {
    border: 1px solid red;
}

.error-bg {
    background: #EF5350;
    color: white;
    transition: .2s;
}

.error-bg:hover {
    background: rgb(226, 43, 40) !important;
    color: white;
}

.signal-green {
    background: #8cd036;
    padding: 8px;
    border-radius: 18px;
    color: #ffffff;
    cursor: pointer;
}

.pointer {
    cursor: pointer;
}

.overflow-auto {
    width: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch
}

table {
    width: 100%;
}

.check-list li {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: .2s;
}

.check-list li:hover {
    background: #a1ef40;
}

.check-list li.active {
    background: #8bce37;
}

.check-list li.active:hover {
    background: #e10000;
}

.modal-list {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 6px;
}

.modal-list li:not(:last-child) {
    margin-bottom: 10px;
}

/* --- BUTTONS CLASSES RESET --- */
.btn {
    cursor: pointer;
    text-transform: uppercase;
    display: block;
    border: none;
    transition: .2s;
}

.btn i {
    margin-right: 10px;
}

.btn-edit {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #414243;
    padding: 0 7px;
    transition: .3s;
    border-radius: 40px;
    text-transform: capitalize;
}

.btn-edit:hover {
    background: #2c2c2c;
}

.add-new-btn {
    background: #71bd10;
    color: white;
    padding: 13px;
    display: flex;
    max-width: 300px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 8px;
    transition: .3s;
    margin-right: 20px;
    align-items: center;
    cursor: pointer;
}

.add-new-btn:hover {
    box-shadow: 0 0 #d4d4d4;
}

.add-new-btn i {
    margin-right: 9px;
}

.small-add-btn {
    display: flex;
    background: #8cd036;
    justify-content: center;
    width: 50px;
    color: white;
    border-radius: 8px;
    border: 2px solid white;
    cursor: pointer;
    transition: .3s;
}

.small-add-btn i {
    align-self: center;
}

.small-add-btn:hover {
    background: #77af2d;
}


.submit-btn {
    background: #8cd036;
    padding: 10px 35px;
    color: #fff;
    border-radius: 8px;
}

.submit-btn:hover {
    background: #7bb72f;
    box-shadow: 0 0 #d4d4d4;
}

.edit-btn {
    background: #0178ff;
    padding: 10px 35px;
    color: #fff;
    border-radius: 2px;
    box-shadow: 3px 3px #d4d4d4;
}

.edit-btn:hover {
    background: #0066db;
    box-shadow: 0 0 #d4d4d4;
}

.back-btn {
    color: #8cd036;
    padding: 18px;
    background: #e4e4e4;
    display: flex;
}

.back-btn:hover {
    color: #6aa026;
}

.back-btn i {
    align-self: center;
}

.delete-btn {
    color: black;
}

.delete-btn:hover {
    color: #da2929;
}

.blue-btn {
    background: #2196f3;
}

/* --- GENERAL TABLES --- */

.im-table tr.head > th {
    background: #252525;
    color: #ffffff;
    padding: 10px 15px;
}

.im-table tr.head > th:first-child {
    border-top-left-radius: 8px;
}

.im-table tr.head > th:last-child {
    border-top-right-radius: 8px;
}

.sub-table-container .im-table tr.head > th:first-child,
.sub-table-container .im-table tr.head > th:last-child {
    border-radius: 0;
}

.sub-table-container .im-table tr.head > th {
    background: gray;
}

.im-table tr.row {
    background: #ffffff;
}

.im-table tr.row.inactive {
    opacity: .3;
}

.im-table tr.row > td:first-child {
    border-left: 4px solid white;
}

.im-table tr.row > td:last-child {
    border-right: 4px solid white;
}

.im-table tr.row > td {
    border-top: 4px solid white;
    border-bottom: 4px solid white;
    padding: 6px 15px !important;
    height: 45px;
}

.im-table tr.row:nth-child(even) > td {
    background: #f4f4f4;
}

.im-table tr.row:hover > td {
    background: #d7d7d7 !important;
}

.fully-certified {
    background: #8cd036 !important;
}

/* --- TOOLTIP --- */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 160px;
    background-color: #444444;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 6px 0;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    line-height: 24px;
    margin-left: -80px;
    font-weight: 100;
    font-family: 'Open Sans';
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #444444 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* --- ICONS CLASSES RESET --- */

.green-check {
    border: 1px solid #73b323;
    padding: 4px;
    border-radius: 20px;
    color: #73b323;
}

.yellow-check {
    border: 1px solid #FF5722;
    padding: 4px 6px;
    border-radius: 78px;
    color: #FF5722;
}

.red-check {
    border: 1px solid #b32323;
    padding: 4px 6px;
    border-radius: 78px;
    color: #b32323;
}

.error-icon {
    margin-left: 6px;
    position: relative;
    bottom: 3px;
    font-size: 16px;
}


/* --- LOADER --- */
.loader-wrapper {
    z-index: 99;
    top: 1px;
    position: relative;
    margin: 0 1px;
}

/* --- STATUS --- */
.status-level.initiated {
    color: gray;
    background: #e3e3e3;
}

.status-level.tare,
.status-level.gross,
.status-level.awaiting,
.status-level.pending {
    color: orange;
    background: #ffe8cc;
}

.status-level.loaded {
    color: #8f8fff;
    background: #e2e2ff;
}

.status-level.completed {
    color: #8cd036;
    background: #e4f9e7;
}

.status-level.cancelled {
    color: red;
    background: #ff6161;
}

.status-level.archived {
    color: #00b8ff;
    background: #93e0ff;
}

/* --- ANIMATION OVERWRIDES --- */

.swing-center {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-animation-name: swing;
    animation-name: swing;
}

/* --- TABLE FILTER SELECT --- */
.select-container select {
    padding: 10px;
    height: 44px;
    font-size: 22px;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    color: black;
    cursor: pointer;
    transition: .2s;
    margin-right: 15px;
    border-radius: 8px;
    min-width: 190px;
}

.select-container select:hover {
    box-shadow: none;
}


/* iPad portraid view */
@media (max-width: 900px) {

    .add-new-btn {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

}

/* --- AUTOCOMPLETE LIST --- */
.external-autocomplete-list {
    margin-top: 20px;
    max-height: 200px;
    overflow: auto;
}

.external-autocomplete-list li {
    background: #e2e2e2;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.external-autocomplete-list li:last-child {
    margin-bottom: 0px;
}


/* --- SMALL LOADER --- */
.lds-ellipsis {
    display: inline-block;
    position: relative;
    /* width: 20px; */
    /* height: 20px; */
    left: -38px;
    margin-left: 30px;
    margin-right: 40px;
}

.lds-ellipsis div {
    position: absolute;
    top: -8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #34353a;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}


/* Beautiful checkbox */
.smooth-checkbox * {
    box-sizing: border-box;
}

.smooth-checkbox .cbx {
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    padding: 6px 8px;
    overflow: hidden;
    transition: all 0.2s ease;
    display: inline-block;
}

.smooth-checkbox .cbx:not(:last-child) {
    margin-right: 6px;
}

.smooth-checkbox .cbx:hover {
    background: #ffffff;
    border-radius: 8px;
}

.smooth-checkbox .cbx span {
    float: left;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
}

.smooth-checkbox .cbx span:first-child {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    transform: scale(1);
    border: 1px solid #cccfdb;
    transition: all 0.2s ease;
    box-shadow: 0 1px 1px rgba(0, 16, 75, 0.05);
}

.smooth-checkbox .cbx span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}

.smooth-checkbox .cbx span:last-child {
    padding-left: 8px;
    line-height: 18px;
}

.smooth-checkbox .cbx:hover span:first-child {
    border-color: #000000;
}

.smooth-checkbox .inp-cbx {
    position: absolute;
    visibility: hidden;
}

.smooth-checkbox .inp-cbx:checked + .cbx span:first-child {
    background: #8cd036;
    border-color: #8cd036;
    animation: wave-4 0.4s ease;
}

.smooth-checkbox .inp-cbx:checked + .cbx span:first-child svg {
    stroke-dashoffset: 0;
}

.smooth-checkbox .inline-svg {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    user-select: none;
}

@media screen and (max-width: 640px) {
    .smooth-checkbox .cbx {
        width: 100%;
        display: inline-block;
    }
}

@-moz-keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

@-webkit-keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

@-o-keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

@keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}
