@import "~bootstrap-less-port/less/bootstrap";
@import "admin/variables.less";

/*
 * HTML Tag
 */

html {
    font-size: @base_font_size + 0px;

    &:before {
        content: 'tablet: @{wrapper_width}, mobile: @{mobile_width}';
        position: absolute;
        top: 0;
        visibility: hidden;
    }
}
@import 'font_awesome/fontawesome.less';
@import '../../core/css/loadify.less';
@import '../../core/css/mixins.less';
@import '../../core/css/overlay.less';
@import '../../core/css/perfect_scroll.less';
@import '../../core/css/reset.less';
@import '../../core/css/responsive_tables.less';
@import '../../core/css/slick.less';
@import '../../core/css/tabs.less';
@import '../../core/admin/css/plugins/dropzone.min.css';
@import '../../core/admin/css/plugins/jcrop.css';
@import '../../core/admin/css/plugins/shadow.css';
@import '../../core/admin/css/plugins/uploadifive.css';
@import '../../core/admin/css/colorpicker.css';
@import '../../core/admin/css/datatable.css';
@import '../../core/admin/css/jquery.ui.smoothness.css';
@import '../../core/admin/css/jcrop.less';
@import "admin/form.less";
@import "admin/chosen.less";
@import "admin/tables.less";

/*
 * Typography
 */

body {
    margin: 0;
    font-size: (@base_font_size + 0px);
    line-height: 1.462;
    font-family: @body_font;
    color: @text_color;
    background: #f5f5f5;
}

a {
    color: #0a50c0;
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 20px 0;
    color: @mtc_blue;
    font-family: @primary_font;
    line-height: 1;
    font-weight: 600;
}

.headingStyle(@selector: h1) {

    & when (@selector = h1) {
        .rems(26);
    }

    & when (@selector = h2) {
        .rems(23);
    }

    & when (@selector = h3) {
        .rems(18);
    }

    & when (@selector = h4) {
        .rems(15);
    }

    & when (@selector = h5) {
        .rems(13);
    }

    & when (@selector = h6) {
        .rems(13);
    }
}

h1 {
    .headingStyle(h1);
}

h2 {
    .headingStyle(h2);
}

h3 {
    .headingStyle(h3);
}

h4 {
    .headingStyle(h4);
}

h5 {
    .headingStyle(h5);
}

h6 {
    .headingStyle(h6);
}

input[type="radio"] {
    -webkit-appearance: radio;
}

input[type="checkbox"] {
    -webkit-appearance: checkbox;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
    *overflow: visible;
}

fieldset {
    margin-bottom: 10px;
}

.shellResult {
    clear: both;
}

.validationMessage {
    .clearfix();
    clear: both;
    font-family: @body_font;
    padding: 10px 0;
    z-index: 5;
    border-radius: @border_radius;
    .ems(14);
    font-weight: 400;
    line-height: 22px;
    color: @alert_color;
    width: 70%;
    float: left;
    padding-left: 16%;
}

/*
 * Populate scripts list styles
 */

.populateList, .populateList ul {
    margin: 1em 0;
    padding: 0 0 0 40px;
    display: block;
}

.populateList {

    li {
        display: list-item;
        list-style-type: disc;
    }

    ul li {
        list-style-type: circle;
    }
}

/*
 * Alert fixes
 */

.alert, .success, .error {
    background: 0;
    font-size: 13px;
    margin: 0;

    a {
        color: @text_color;
        text-decoration: underline;
    }

    &:after {
        content: none;
    }
}

.alert {
    color: #0a50c0;
}

.success {
    clear: none;
}

.black {
    color: #323234;
}

/*
 * Layout styles
 */

.el {
    float: left;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
    clear: both;
}

.msg {
    padding: 20px;
    background: #e5f4bb;
    border: 1px solid #d1e792;
    color: #52a61a;
    font-weight: 600;
    border-radius: @border_radius;
    margin-bottom: 20px;

    &.error {
        background: #fce3e3;
        border: 1px solid #f4c9c9;
        color: #ce2b2b;
    }

    ul {
        margin: 0;
        padding: 0;
        border: none;

        li {
            list-style-type: none;
        }
    }

    > i, > .picto {
        position: absolute;
        top: 50%;
        right: 20px;
        font-size: 2.1em;
        line-height: 1;
        transform: translateY(-50%);
    }
}

.error {
    color: #ce2b2b !important;

    a {
        color: #ce2b2b !important;
    }
}

.logo {
    float: left;
    padding: 16px 20px 16px;

    #Layer_1 {
        width: 61px;
        height: 24px;
    }
}

#header {
    .clearfix();
    background: @mtc_blue;
    color: #fff;
    float: left;
    width: 100%;
    position: relative;

    a {
        color: #fff;
    }

    span {
        font-weight: bold;
    }

    .headerMenuSections, .headerTitleSection {

        @media @mobile {
            display: none;
        }

        li {
            display: inline-block;
            margin: 20px 0;
            padding: 0 20px 0 40px;
            position: relative;

            @media @tablet {
                &:first-child {
                    display: none;
                }
            }

            i {
                position: absolute;
                left: 15px;
                top: 50%;
                transform: translateY(-50%);
            }
        }
    }

    .headerMenuSections {
        float: right;
        text-align: right;

        li {
            border-right: 1px solid #3f77d1;

            &:last-child {
                border-right: 0;
            }
        }

        i {
            .rems(16);
        }
    }

    .headerTitleSection {
        float: left;

        @media @tablet {
            display: none;
        }

        li {
            border-left: 1px solid #3f77d1;
            padding: 0 20px;

            &:last-child {
                border-left: 0;
            }

            &:first-child {
                border-left: 1px solid #3f77d1;
            }
        }
    }

    .flyoutButton {
        cursor: pointer;
        display: none;
        text-decoration: none;
        color: #fff;
        text-transform: uppercase;
        .rems(14);
        font-family: @primary_font;
        position: absolute;
        top: 50%;
        right: 20px;
        margin-right: 20px;
        transform: translateY(-50%);

        i {
            position: absolute;
            top: 50%;
            left: 100%;
            margin-left: 5px;
            transform: translateY(-50%);
        }

        @media @mobile {
            display: block;
        }
    }
}

/*
 * Content
 */

#content {
    .clearfix();
    clear: both;
    display: flex;
    min-height: ~"calc(100% - 61px)";
}

/*
 * Sidebar
 */

.sidebar {
    .clearfix();
    background: #262d3b;
    width: 250px;
    float: left;
    padding: 20px 0 0;
    position: relative;
    height: calc(100vh ~"-" 61px);

    &.ps-container > .ps-scrollbar-y-rail, &.ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y {
        width: 5px;
    }

    @media @mobile {
        width: 100%;
        z-index: 100;
        position: absolute;
        top: 61px;
        left: -100%;
    }

    @media @mobile {
        transition: transform 0.5s ease-in-out;

        &.active {
            transform: translateX(100%);
        }
    }
}

/*
 * Right Column (Main content area)
 */

.rightcol {
    width:  ~"calc(100% - 250px)";
    padding: 40px;
    float: left;
    max-height: calc(100vh ~"-" 61px);
    overflow-y: scroll;

    @media @tablet, @mobile {
        padding: 20px;
        width: 100%;
    }

    img {
        max-width: 100%;
    }

    i {
        .rems(20);
    }
}

/*
 * Sidebar Navigation
 */

.topnav {
    width: 100%;
    .clearfix();

    li {
        position: relative;
        float: left;
        width: 100%;

        &.active {
            background: lighten(#262d3b, 10%);
        }

        a {
            display: block;
            color: #dedede;
            padding: 6px 20px 6px 40px;

            &:hover {
                background: lighten(#262d3b, 10%);
            }
        }

        i {
            position: absolute;
            left: 20px;
            top: 20px;
            transform: translateY(-50%);
            .rems(16);
        }

        ul {
            padding-bottom: 20px;
            width: 100%;
            overflow: hidden;
            height: auto;
            display: none;
        }
    }

    /*
     * Site navigation is used here to make this part of the menu on
     * mobile only.
     */
    .siteNavigation {
        display: none;

        @media @mobile {
            display: block;
        }
    }

    .sectionHeader {
        .rems(13);
        padding: 10px 20px 10px 50px;
        text-transform: uppercase;
        color: #fff;
        display: block;
        cursor: pointer;

        &:hover {
            background: lighten(#262d3b, 10%);

            &:after {
                .fa(@fa-var-angle-down);
                position: absolute;
                right: 10px;
            }
        }
    }

    li.open {
        .sectionHeader:hover {
            &:after {
                .fa(@fa-var-angle-up);
            }
        }

        ul {
            display: block;
        }
    }
}

/*
 * Style guide section
 */

.styleGuideWrap {
    max-width: initial;

    .styleGuideSectionMainTitle {
        padding: 0 0 40px;
    }
}

/*
 * Breadcrumbs
 */

ul.breadcrumbs {
    padding: 0;
    margin: 0 0 10px 0;
}

ul.breadcrumbs li, ul.breadcrumbs li a {
    display: inline;
    color: #595b63;
}

ul.breadcrumbs li.end {
    font-weight: bold;
}

ul.breadcrumbs li {
    font-size: 0.9em;
}

ul.breadcrumbs li:last-child {
    font-weight: bold;
}

/*
 * Table styles
 */

table {
    width: 100%;
    text-align: left;
}

table.half, div.half {
    width: 50%;
}

table.manage-items {
    margin-bottom: 20px;

    tr td {
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;

        a.show {
            color: #5aaa23;
        }

        a.hide {
            color: #ce2b2b;
        }
    }

    tr td, tr th {
        padding: 0.4em;
        vertical-align: middle;
        text-align: left;

        &.center {
            text-align: center;

            i {
                .rems(20);
            }
        }
    }
}

.customerdetails {

    input {
        margin: 1px;
    }
}

.tabular {

    tr {

        &:nth-child(odd) {
            background: #f1f4f8;
        }

        &:nth-child(even) {
            background: #fff;
        }

        &:hover {
            background: #dfe5ed;
        }
    }
}

table .order .picto {
    cursor: move;
}

table .tabular td img {
    max-height: 30px;
}

/*
 * Form styles
 */

form p input[type="submit"] {
    float: right;
}

form {
    margin: 0;
    float: left;
    width: 100%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-bottom: 20px;

    .row {
        display: block;
        float: left;
        width: 100%;
        margin: 0.6em 0;

        label {
            display: block;
            float: left;
            width: 16%;
            font-weight: bold;

            @media @mobile {
                width: 100%;
            }
        }
    }
}

.style {
    clear: both;
    width: 100%;
    padding: 20px;
    background: @light_color;
    border: 1px solid @border_color;
}

form fieldset .row label {
    margin-top: 7px;
}

form .checkboxes input + label, form .checkboxes select + label {
    display: inline;
    width: auto;
    padding: 0 20px 0 10px;
}

form .row input, form .row textarea, form .row select, td input[type="text"] {
    float: left;
    display: block;
    border: 1px solid #d7dce4;
    border-radius: @border_radius;
    padding: 8px;
    width: 40%;
    font-family: @body_font;
    text-align: left;
}

form .row .chosen-container {
    width: 40%;
    float: left;
    display: block;
}

form .row .mce-tinymce {
    float: left;
}

input[readonly], select[readonly], select[disabled], textarea[readonly] {
    background-color: #F3F3F3;
    color: #5E5E5E;
}

table td input {
    border: 1px solid #d7dce4;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 8px;
    font-family: Verdana;
}

form .row input.short {
    width: 12%;
}

form .row input[type="file"] {
    border: none;
}

form .row input[type="radio"], form .row input[type="checkbox"] {
    border: none;
    padding: 0;
    margin-top: 3px;
    width: auto;
}

input[type="checkbox"], input[type="radio"] {
    border: none;
}

form fieldset .row input[type="radio"], form fieldset .row input[type="checkbox"] {
    margin-top: 10px;
}

form .row select {
    min-width: 200px;
    width: auto;
    padding-top: 7px;
    padding-bottom: 7px;
}

form fieldset h1 {
    margin: 0.6em 0;
    font-size: 1.4em;
    border-bottom: 1px solid #d7dce4;
    width: 100%;
    float: left;
    height: 29px;
}

form fieldset > h1:first-child {
    margin-top: 0;
}

form fieldset > h1 a {
    height: 29px;
}

form fieldset > h1 a i {
    float: right;
    font-size: 1.6em;
    line-height: 1;
    width: 30%;
    text-align: right;
    position: absolute;
    top: 0;
    right: 0;
}

form input[type="submit"], form .submit {
    .btn();
    .btn-primary();
    width: auto;
    text-align: center;
    min-width: 100px;
}

.btn.cancel {
    .btn-outline-dark();
}

.manageAdminMenu {

    ol {

        li {
            float: left;
            width: 100%;
            border-top: 1px solid @border_color;

            i {
                margin-top: 7px;
            }

            a {
                padding: 5px 0;
            }

            .right {
                padding-top: 0;
                padding-bottom: 0;
            }
        }
    }
}

/* hint styles */

.row .hint {
    width: 50px;
    clear: none;
    margin-left: 10px;
    height: 33px;
}

.row .hint i {
    position: relative;
    z-index: 1;
}

.row .hint .picto {
    font-size: 2.2em;
    line-height: 1.462;
    color: #ccc;
    cursor: help;
    height: 20px;
    line-height: 33px;
}

.row .hint .text {
    width: 300px;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    z-index: 100;
    background: #0F55C4;
    color: #fff;
    float: left;
    padding: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.row .hint .text h1 {
    color: #fff;
    margin: 0;
    line-height: 1;
    margin-bottom: 0;
    font-size: 1.3em;
    height: 15px;
    border: none;
}

.row .hint .text p {
    margin: 0;
    font-size: 0.9em;
}

.tabnav {
    margin-bottom: 20px;
    border-bottom: 2px solid #054bbb;

    li {
        display: block;
        float: left;
        padding: 7px 20px;
        background: #dddfe3;
        background: -webkit-linear-gradient(top, #e8ebef, #cdd0d2);
        background: -moz-linear-gradient(top, #e8ebef, #cdd0d2);
        margin-right: 1px;
        font-weight: 600;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        color: #595b63;

        a {
            color: @text_color;

            &:hover {
                text-decoration: none;
            }
        }

        &.selected {
            background: #0a50c0;
            background: -webkit-linear-gradient(top, #0f55c5, #054bbb);
            background: -moz-linear-gradient(top, #0f55c5, #054bbb);

            a {
                color: #fff;
            }
        }
    }
}

.miniselector {
    margin-bottom: 20px;
}

/*
 * Map Styles
 */

.map {
    font-size: 2em;
    margin: 0px auto;
    padding: 0;
    float: left;
    width: 33%;

    li {
        list-style: none;
        padding: 0;

        .picto {
            display: block;
            width: 80px;
            float: left;
        }

        pre {
            font-size: 0.6em;
        }
    }
}

/*
 * Pagination Styles
 */
ul.pagination {
    padding: 0;
    float: left;
    clear: both;
    margin-bottom: 10px;
}

ul.pagination li {
    display: inline;
    margin-right: 4px;
}

ul.pagination li a, ul.pagination li span, ul.pagination li.dots {
    padding: 8px 12px;
    background: #efefef;
    border-radius: 5px;
    color: @text_color;
}

ul.pagination li.active a, ul.pagination li.active span, ul.pagination li a:hover {
    background: #0a50c0;
    background: -webkit-linear-gradient(top, #0f55c5, #054bbb);
    background: -moz-linear-gradient(top, #0f55c5, #054bbb);
    color: #fff;
}

ul.pagination li .picto {
    font-size: 1.6em;
}

tr.ui-state-highlight {
    height: 42px;
}

.area {
    margin-bottom: 30px;
}

/*
 * Order page styles
 */

.divider {
    height: 1px;
    background: #ccc;
    margin: 20px 0;
    width: 70%;
}

.ordersection {
    width: 70%;
}

.orderdetails div.purchasedate, .orderdetails div.actions {
    width: 50%;
    float: left;
    clear: none;
}

form .purchasedate input {
    width: 200px;
}

.orderdetails div.actions a {
    clear: both;
    float: left;
    margin-bottom: 10px;
}

#dashboardStats {
    .js_dashboardStat {
        height: 200px;

    }

    #dashboard-dates {
        margin-top: 40px;
    }

    .col {
        margin-top: 2%;
        background: #fff;
        border: none;

        &.numeric_stats {
            min-height: 255px;
        }
    }

    .tabular {
        border: none;

        th, td {
            padding: 5px;
        }

        th {
            width: 90%;
        }
    }

    .dashboardIcon {
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -10px 0 0 -10px;
    }
}

#dashboard-stats table {
    width: 30%;
    float: left;
    margin: 0 1% 20px 1%;
    padding: 1%;
}

#dashboard-stats table.center-table {
    background: #E9ECF0;
}

#dashboard-dates {
    margin: 10px 0 0 0;
}

.rightcol .items {
    position: relative;
}

.rightcol .items .block {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    top: 0;
    left: 0;
    z-index: 10;
}

/* column layouts */

.cols2 .col {
    width: 46%;
    clear: none;
    margin-left: 2%;
    margin-top: 1%;
    border: 1px solid #eaeaea;
    padding: 1%;
    background: #fff;
}

.touch .cols2 .col {
    width: 98%;
    margin: 0 0 3% 0;
}

.cols3 .col {
    width: 31%;
    padding: 1%;
    clear: none;
    margin: 0 0 1% 3%;
}

.cols3 .first, .cols2 .first {
    margin-left: 0;
}

#dashboard-dates .between-dates {
    float: left;
    margin: 0 10px;
    line-height: 35px;
}

#dashboard-dates #filter-dates {
    margin: 0 0 0 10px;
}

/*
 * Admin menu sortable
 */

ol#menuSortable, ol#menuSortable ol, .cms-right ul, .cms-right ol {
    list-style: none;
    margin: 0px;
    margin-left: 5px;
    padding: 0px;
    line-height: 1.75em;
}

ol#menuSortable {
    margin-top: 15px;
    margin-left: 0px;
    max-width: 600px
}

ol#menuSortable span {
    float: left;
    margin-right: 10px;
    font-size: 10px;
}

ol#menuSortable li {
    padding-left: 10px;
    position: relative;
    clear: both;
}

ol#menuSortable li .ui-sortable-handle {
    cursor: pointer;
}

ol#menuSortable li i.left {
    float: left;
    margin-right: 10px;
}

ol#menuSortable li .right {
    position: absolute;
    right: 10px;
    top: 0px;
    z-index: 100;
    text-decoration: none;
}

ol#menuSortable li .right:hover {
    text-decoration: none;
    background: none;
}

ol#menuSortable ol li .right {
    right: 15px;
}

ol#menuSortable a {
    color: #666666;
    display: block;
    text-decoration: none;
}

ol#menuSortable a:hover {
    background-color: #eeeeee;
    text-decoration: underline;
}

ol#menuSortable .active a {
    background-color: #eeeeee;
}

ol#menuSortable .active li a {
    background-color: #ffffff;
}

ol#menuSortable .menu-placeholder {
    background-color: #aaa;
    height: 19px;
    display: block;
}

ol#menuSortable .ui-nestedSortable-error {
    background: #fbe3e4;
    color: #8a1f11;
    padding-left: 10px;
}

ol#menuSortable li span a {
    cursor: move;
}

.ir {
    display: block;
    border: 0;
    text-indent: -999em;
    overflow: hidden;
    background-color: transparent;
    background-repeat: no-repeat;
    text-align: left;
    direction: ltr;
    *line-height: 0;
}

.ir br {
    display: none;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.ui-dialog .hidden {
    display: block !important;
    visibility: visible;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

.ui-sortable {
    overflow-x: hidden;
    overflow-y: auto;
}

#wrapper {
    .clearfix();
    height: 100%;
    width: 100%;
}

/*
 * Button Section
 */

.btn-section {
    float: left;
    margin-right: 15px;
}

.btn-section input {
    margin-right: 5px;
}

.btn-section #btn_cancel {
    background: #333;
    background: -webkit-linear-gradient(top, #575757, #333);
    background: -moz-linear-gradient(top, #575757, #333);
}

.cms-delete-btns input[type="submit"] {
    background: #942929;
    background: -webkit-linear-gradient(top, #942929, #7E0E0E);
    background: -moz-linear-gradient(top, #942929, #7E0E0E);
}

.btn-section #btn_save {
    background: #297E01;
    background: -webkit-linear-gradient(top, #349E3C, #297E01);
    background: -moz-linear-gradient(top, #349E3C, #297E01);
}

/*
 * Combobox
 */

.custom-combobox .custom-combobox-toggle {
    background: #fff;
    border: 1px solid #D7DCE4;
}

.custom-combobox {
    position: relative;
    display: inline-block;
    width: 42%;
}

.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
}

.custom-combobox-input {
    margin: 0;
    padding: 0.3em;
    background: #FFF;
}

form input.custom-combobox-input {
    width: 90%;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.ui-tooltip {
    white-space: pre;
    display: block;
    unicode-bidi: embed;
    font-size: 11px !important;
    border-width: 2px;
    box-shadow: 5px 5px 4px rgba(60, 81, 114, 0.67);
    background: #F0F4FA;
    border: 1px solid #B9C2D1 !important;
    font-family: courier;
    max-width: 900px;
}

#cropAdjust form .row label {
    width: 65px;
}

#cropAdjust .form-box {
    border-radius: 3px;
    text-align: center;
}

#cropAdjust form .original, #cropAdjust form .result {
    width: 47%;
    text-align: center;
    padding: 20px 0;

    @media all and (max-width: 1024px) {
        width: 100%;
    }
}

.cropImage {
    width: 434px;
}

.cropOverlay {

    .overlayAjax {
        padding: 20px 0;
    }
}

#cropAdjust form .original {
    float: left;
}

#cropAdjust form .result {
    float: right;
}

#cropAdjust .btn-section {
    padding-top: 10px;
    clear: both;
}
#cropAdjust {

    .original {

        .container {
            height: 390px;

            > img {
                display: none;
            }
        }
    }
}

#cropAdjust .jcrop-holder {
    margin: 0 auto;
}

.row .hint:hover .text {
    display: block;
}

.msg.alert {
    background: #fcf8e3;
    border: 1px solid #E0CBA2;
    color: #c09853;
}

#iframeMoxieManager {
    width: 100%;
    height: 590px;
    border: thin solid #999;
    border-radius: 5px;
}

form input.seo-settings-input {
    width: 90%;
}

.previewTextIframe {
    width: 750px;
    height: 1500px;
    border: 0;
}

form input[type="submit"],
form .submit,
.button {
    margin-right: 1em;
}

form .bottomSeparator {
    border-bottom: 1px solid #d7dce4;
    padding-bottom: 10px;
}

/*
 * Customer Contact History
 */

.customerContactHistory {
    margin: 0;
    padding: 0;
}

.customerContactHistory li {
    list-style-type: none;
    margin: 0 0 20px;
}

.customerContactDate {
    margin: 0 0 10px;
    font-style: italic;
    font-size: 11px;
}

.customerContactSubject {
    font-weight: bold;
}

.customerContactMessage {
    clear: both;
}

.relative {
    position: relative;
}

.sizeHover {
    position: absolute;
    top: 50%;
    left: 100%;
    background: #fff;
    border-radius: 3px;
    z-index: 100;
    width: 250px;
    display: none;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border: 1px solid #0a50c0;
}

.relative:hover .sizeHover {
    display: block;
}

.sizeHover table, .sizeHover table tr, .sizeHover table tr:hover {
    background: #fff;
}

/*
 * Page Content Class
 */

.pageContent {
    .clearfix();

    blockquote {
        .rems(20);
        font-weight: 700;
        margin: 0 0 15px;
        padding: 0;
        line-height: 26px;
        position: relative;

        p {
            margin: 0 0 5px;
            line-height: 26px;

            &:first-child {
                &:before {
                    content: '\201C';
                    display: inline;
                }
            }

            &:last-of-type {
                margin: 0;

                &:after {
                    content: '\201D';
                    display: inline;
                }
            }
        }

        cite {
            .rems(16);
            line-height: 1;
            font-style: italic;

            a {
                color: @text_color;
                text-decoration: none;
                &:hover {
                    text-decoration: none;
                }

            }
        }
    }

    /*
     * Tiny mce produces left and right images with these attributes
     */
    img[style="float: left;"] {
        margin: 5px 25px 25px 0;
    }

    img[style="float: right;"] {
        margin: 5px 0 25px 25px;
    }

    img[style="float: right;"], img[style="float: left;"] {

        @media @mobile {
            float: none !important;
            display: block;
            margin: 0 auto 25px;
        }

    }

    ul {
        margin: 0 0 0 30px;
        padding: 0 0 20px;

        li {
            list-style-type: disc;
        }
    }
}

.roleGroup {
    h4 {
        margin: 20px 0 0;
    }

    .permission {
        width: 24%;
        display: inline-block;
    }
}

/*
 * Sticky Save Button in CORE Admin Settings
 */

.settingsStickyRowWrap {
    float: left;
    width: 100%;
    position: relative;
    padding: 22.5px 0;

    .settingsFixedTitle {
        float: left;
        color: @mtc_blue;
        margin: 0 0 0 10px;
        .rems(20);
        font-family: @primary_font;
        font-weight: 600;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    input[type="submit"] {
        margin-bottom: 0;
    }

    &.fixed {

        .settingsFixed {
            position: fixed;
            top: 0;
            background: #f5f5f5;
            box-shadow: 0px 10px 15px -5px rgba(0, 0, 0, 0.15);
            width: ~"calc(100% - 330px)";
            padding: 22.5px 10px;
        }

        .settingsFixedTitle {
            opacity: 1;
        }
    }
}

/*
 * Component Manager
 */

.installedComponentWrap {
    padding: 20px;
    .clearfix();
    background: #fff;
    margin: 20px 0 30px;
    width: 100%;

    @media all and (min-width: (@mobile_width + 1)) {
        display: flex;
    }

    h3 {
        margin-bottom: 15px;
    }

    .installedComponent {
        background: #f5f5f5;
        padding: 20px;
        border-radius: 4px;

        @media all and (min-width: (@mobile_width + 1)) {
            .grid(2, 20px);
            margin-bottom: 0;
        }

        @media @mobile {
            width: 100%;

            + .installedComponent {
                margin: 20px 0 0;
            }
        }
    }

    ul {
        .clearfix();
        width: 100%;

        li {
            line-height: 25px;

            @media all and (min-width: 1500px) {
                .grid(2, 10px);
                margin-bottom: 0;
            }
        }
    }
}

@import 'dynamic_admin';
