﻿html {
    font-size: 17px;
}

/* open-sans-300 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('/webfonts/open-sans-v34-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''), url('/webfonts/open-sans-v34-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/webfonts/open-sans-v34-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
    url('/webfonts/open-sans-v34-latin-300.woff') format('woff'), /* Modern Browsers */
    url('/webfonts/open-sans-v34-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/webfonts/open-sans-v34-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-regular - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('/webfonts/open-sans-v34-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''), url('/webfonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/webfonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('/webfonts/open-sans-v34-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('/webfonts/open-sans-v34-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/webfonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-600 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('/webfonts/open-sans-v34-latin-600.eot'); /* IE9 Compat Modes */
    src: local(''), url('/webfonts/open-sans-v34-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('/webfonts/open-sans-v34-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
    url('/webfonts/open-sans-v34-latin-600.woff') format('woff'), /* Modern Browsers */
    url('/webfonts/open-sans-v34-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
    url('/webfonts/open-sans-v34-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}


body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

a.invisible {
    display: none;
}

body {
    background-image: url(../../img/dash-bg-12.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    padding-left: 50px;
    padding-right: 50px;
}

.txt-eng {
    color: #999;
}

.txt-blue {
    color: #0CF;
}


.bg12 {
    background-image: url(../../img/dash-bg-12.jpg);
}


a {
    transition: all 0.3s ease;
}

    a:hover,
    a:focus {
        text-decoration: none;
    }

.navbar-brand {
    display: flex;
    align-items: center;
}

.tm-site-icon {
    color: #656565;
}

.tm-site-title {
    display: inline-block;
    text-transform: uppercase;
    font-size: 2rem;
    margin-left: 1rem;
    color: #656565;
    letter-spacing: 1px;
}

.navbar {
    height: 100px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 50px;
}

.tm-logout-icon {
    font-size: 1.5em;
}

.tm-bg-black {
    background-color: rgba(0, 0, 0, 0.5);
}

.tm-mt-big {
    margin-top: 70px;
}

.tm-mt-small {
    margin-top: 20px;
}

.tm-block {
    padding: 50px 45px;
}

.tm-block-title {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 30px;
}

.navbar-light .navbar-nav .nav-link {
    color: #656565;
}

.navbar-light .navbar-nav .nav-link,
.dropdown-item {
    padding: 15px 20px;
}

    .navbar-light .navbar-nav .active > .nav-link,
    .navbar-light .navbar-nav .nav-link.active,
    .navbar-light .navbar-nav .nav-link.show,
    .navbar-light .navbar-nav .show > .nav-link,
    .navbar-light .navbar-nav a:hover {
        background-color: #e6e6e6;
    }

.nav-item {
    margin-right: 30px;
}

    .nav-item:last-child {
        margin-right: 0;
    }

.tm-content-row {
    justify-content: space-between;
    margin-left: -20px;
    margin-right: -20px; /* To offset col padding */
}

.tm-col {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 50px;
}

.tm-col-big {
    width: 100%;
}

.tm-col-small {
    width: 21.95%;
}

.tm-link-black {
    color: black;
}

    .tm-link-black:hover,
    .tm-link-black:focus {
        color: #0266c4;
    }

ol {
    margin-bottom: 0;
}

.tm-list-group {
    counter-reset: myOrderedListItemsCounter;
    padding-left: 0;
}

    .tm-list-group > li {
        list-style-type: none;
        position: relative;
        transition: all 0.3s ease;
        padding: 8px;
    }

.tm-list-group-pad-big > li {
    padding: 20px;
}

.tm-list-group > li:hover {
    color: #0266c4;
}

.tm-list-group-alternate-color > li:nth-child(odd) {
    background-color: #e6e6e6;
}

.tm-list-group > li:before {
    counter-increment: myOrderedListItemsCounter;
    content: counter(myOrderedListItemsCounter) ".";
    margin-right: 0.5em;
}

.tm-list {
    padding-left: 30px;
}

    .tm-list > li {
        margin-bottom: 20px;
    }

.form-control {
    margin-bottom: 23px;
    padding: 19px 18px;
    border-radius: 0;
    height: 50px;
}

label {
    margin-bottom: 18px;
}

.btn {
    border-radius: 0;
    padding: 13px 28px;
    transition: all 0.2s ease;
    max-width: 100%;
}

.btn-small {
    padding: 10px 24px;
}

.btn-primary {
    background-color: transparent;
    color: black;
    border-color: #999999;
}

    .btn-primary:hover,
    .btn-primary:active,
    .btn-primary:not(:disabled):not(.disabled).active,
    .btn-primary:not(:disabled):not(.disabled):active,
    .show > .btn-primary.dropdown-toggle {
        color: black;
        background-color: #cdd4da;
        border-color: #999999;
    }

.btn-danger {
    color: #9f1321;
    background-color: transparent;
    border-color: #9f1321;
}

    .btn-danger:hover {
        color: #9f1321;
        background-color: rgba(159, 19, 32, 0.27);
        border-color: #9f1321;
    }

.custom-file-input {
    cursor: pointer;
}

.custom-file-label {
    border-radius: 0;
}

.tm-btn-right {
    text-align: right;
}

.table td,
.table th {
    padding: 20px 24px;
}

.table-hover tbody tr:hover {
    background-color: white;
    color: #3aabd0;
}

.tm-bg-gray {
    background-color: rgba(0, 0, 0, 0.05);
}

.tm-table-striped-even.table-striped tbody tr:nth-of-type(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

.tm-table-striped-even.table-striped tbody tr:nth-of-type(odd) {
    background-color: white;
}

.tm-table-mt {
    margin-top: 66px;
}

.page-item:first-child .page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.page-link,
.tm-dots {
    padding: 12px 18px;
}

    .page-link,
    .page-link:hover {
        color: black;
    }

.page-item {
    margin-right: 18px;
}

    .page-item:last-child {
        margin-right: 0;
    }

    .page-item.active .page-link {
        background-color: #e9ecef;
        border-color: #dee2e6;
        color: black;
    }

.tm-pagination {
    justify-content: flex-end;
}

.tm-pagination-label {
    padding-bottom: 15px;
    padding-right: 15px;
    display: inline-block;
}

.tm-table-actions-row {
    display: flex;
    justify-content: space-between;
}

.tm-table-actions-col-right {
    text-align: right;
}

input[type="checkbox"] {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid black;
    box-sizing: border-box;
    position: relative;
    box-sizing: content-box;
    width: 24px;
    height: 24px;
    transition: all 0.1s linear;
}



    input[type="checkbox"]:checked::after {
        content: '✕';
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        color: darkorange;
        font-size: 28px;
        font-weight: bold;
        line-height: 1;
    }

    input[type="checkbox"]:focus {
        outline: 0 none;
        box-shadow: none;
    }

.tm-trash-icon {
    color: #6e6c6c;
    cursor: pointer;
}

    .tm-trash-icon:hover {
        color: #9f1321;
    }

.tm-trash-icon-cell {
    width: 15px;
}

footer {
    margin-bottom: 35px;
}

.custom-select {
    height: 50px;
    border-radius: 0;
}

.tm-product-img-dummy {
    max-width: 100%;
    width: 240px;
    height: 240px;
    border: 1px solid #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8c8c8;
}

.tm-login-col {
    max-width: 600px;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 15px 20px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1630px;
    }
}

@media (max-width: 1275px) and (min-width: 1200px) {
    .nav-item {
        margin-right: 15px;
    }
}

@media (max-width: 1350px) and (min-width: 1200px) {
    .tm-table-actions-row {
        display: block;
    }

    .tm-table-actions-col-right {
        margin-top: 30px;
    }
}

@media (max-width: 1350px) {
    .nav-item {
        margin-right: 1px;
    }
}

@media (max-width: 1199px) {
    .tm-col-big {
        width: 100%;
    }
    .tm-col-small {
        width: 49.65%;
    }

    .navbar-collapse {
        background: white;
        padding: 15px;
        box-shadow: rgba(108, 117, 125, 0.27) 0px 1px 1px 0px;
        position: absolute;
        top: 77px;
        right: 20px;
        width: 245px;
        z-index: 1000;
    }

    .navbar-nav .nav-link {
        padding-right: 15px;
        padding-left: 15px;
    }

    .nav-item {
        margin-right: 0;
    }
}

@media (max-width: 991px) {
    .tm-col-big,
    .tm-col-small {
        width: 100%;
        min-height: 383px;
        height: auto;
    }

    .tm-block {
        padding: 30px;
    }

    .tm-table-actions-row {
        display: block;
    }

    .tm-table-actions-col-right {
        text-align: left;
        margin-top: 30px;
    }

    .tm-edit-product-row {
        flex-direction: column-reverse;
    }
}

@media (max-width: 633px) {
    .pagination {
        flex-wrap: wrap;
    }

    .tm-pagination {
        justify-content: flex-start;
    }

    .tm-pagination-label {
        display: inline-block;
        margin-right: 0;
    }

    .page-item {
        margin-top: 10px;
    }
}

@media (max-width: 574px) {
    .navbar-collapse {
        top: 70px;
    }

    .tm-btn-right {
        text-align: left;
        margin-top: 20px;
    }

    .navbar {
        margin-top: 30px;
        height: auto;
    }

    body {
        padding-left: 15px;
        padding-right: 15px;
    }

    .tm-site-title {
        font-size: 1.4rem;
        margin-left: 7px;
    }

    .tm-site-icon {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .tm-mt-big {
        margin-top: 45px;
    }
}

@media (max-width: 424px) {
    .navbar-collapse {
        top: 107px;
    }
}
