﻿@charset "UTF-8";

/* @START : BASE */
@media (min-width:0px) {
    html {
        font-smooth: always;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        -webkit-text-size-adjust: none;
        -ms-text-size-adjust: 100%;
        height: 100%;
        /*font-size: 12px*/
    }

    body {
        color: #495057;
        /*font-family: "Open Sans", Arial, sans-serif;*/
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        line-height: 1.2;
    }

    * {
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: -moz-none;
        -o-user-select: none;
        user-select: none;
    }
}
/* @END : BASE */

/* @START : MAIN CONTAINERS */
@media (min-width:0px) {
    header, nav, .content, footer {
        background: #FFF;
        margin: 0 auto;
        max-width: 1200px;
        width: 100%;
    }

    #main-content {
        z-index: auto;
        overflow-y: auto;
        background: #FFF;
        padding: 2rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
        height: 100%;
    }

    .page-container {
        /*padding-top: 10px;*/
        height: 100%;
        display: flex;
        flex-direction: column;
    }

        .page-container .page-header {
            border-bottom: 1px dotted #adb5bd;
            padding: 0 0 0.5rem 0;
            display: inline-flex;
            align-items: center;
        }

    .page-header i.page-icon {
        color: #007bff;
        /*min-width: 40px;
        max-width: 40px;
        width: 40px;*/
    }

    .page-header i {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .page-container .subpage-header {
        padding: 0 0 0.5rem 0;
        padding-left: 1rem;
    }

    .site-footer {
        height: 40px;
        width: 100%;
    }

        .site-footer > * {
            margin: 0 !important;
            padding: 0 !important;
        }
}
/* @END : MAIN CONTAINERS */

/* @START : NAV */
@media (min-width:0px) {

    nav .navbar-brand {
        padding: 0;
    }

    nav .dropdown-menu {
        padding: 0.5rem;
    }

        nav .dropdown-menu .dropdown-item:nth-child(even) {
            margin-top: 0.125rem;
        }

    nav .dropdown-item {
        display: inline-flex;
        align-items: center;
        padding-right: 0.25rem;
        padding-left: 0.25rem;
    }

        nav .dropdown-item i {
            text-align: center;
            margin-left: 0.25rem;
            margin-right: 0.25rem;
            min-width: 20px;
        }

    nav .nav-link i {
        margin-left: 0.25rem;
        margin-right: 0.25rem;
    }

    nav .nav-link.active, .nav-link:active, nav .nav-item.dropdown.active > a:first-child, nav .nav-item.dropdown:active > a:first-child {
        text-decoration: none;
        color: #007bff !important;
    }

    /* OVERRIDED BY FLAVOUR */
    @media (min-width:0px) {
        nav .bootstrap-nav-wrap {
            border-bottom: 6px solid #2e83e8;
        }

        .brand-logo {
            content: url(../../img/logos/VETMETRICS.svg);
            height: 25px;
            width: 150px;
        }
    }
}
/* @END : NAV */

/* @START : USEFUL */
@media (min-width:0px) {
    .selectable, .selectable * {
        -webkit-touch-callout: inherit; /* iOS Safari */
        -webkit-user-select: text; /* Safari */
        -khtml-user-select: text; /* Konqueror HTML */
        -moz-user-select: -moz-all; /* Old versions of Firefox */
        -ms-user-select: text; /* Internet Explorer/Edge */
        user-select: text; /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
    }
}
/* @END : USEFUL */

/* @START : TEXT */
@media (min-width:0px) {
    .text-italic {
        font-style: italic;
    }
}
/* @START : TEXT */

/* @START : IMAGES & RELATED */
@media (min-width:0px) {
    .cover {
        object-fit: contain;
    }
}
/* @END : IMAGES & RELATED */

/* @START : BOOTSTRAP OVERRIDE */
@media (min-width:0px) {
}
/* @END : BOOTSTRAP OVERRIDE */

/* @START : SELECT2 OVERRIDE */
@media (min-width:0px) {

    .select2-selection__clear {
        padding: initial !important;
        padding-left: 3px !important;
    }

    div[class*="select-multiple"] .select2-results__option[aria-selected=true] {
        display: none;
    }

    .select2-container--bootstrap4 .select2-selection {
        /*border: none !important;*/
        /*1px solid #ced4da*/
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
    }

    .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
        width: 100%;
    }

    .select2-selection__rendered {
        font-size: 1rem;
    }

    .select2-search__field {
        width: 100% !important;
    }
}
/* @END : SELECT2 OVERRIDE */

/* @START : CURSORS */
@media (min-width:0px) {
    .cursor-help {
        cursor: help;
    }
}
/* @END : CURSORS */
