﻿/* ----------------------------------- //
//      Custom Mixins
// ----------------------------------- //*/
/*Cover Background Mixin*/

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500&display=swap');
a {
    color: #009C8A;
}

    a:hover {
        color: #8cc34b;
        text-decoration: none;
    }

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 70px;
    /*padding-top: 70px;*/
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f2f3f8;
    height: 70px;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    font-family: 'Raleway', sans-serif;
    z-index: 999;
}

    .navbar .cms-logo {
        display: block;
        float: left;
        margin: -10px 10px 10px 10px;
        padding: 5px;
    }

    .navbar .cms-version {
        list-style-type: none;
        color: #17436a;
        position: absolute;
        top: -16px;
        left: 315px;
    }

        .navbar .cms-version h3 {
            font-weight: 900;
        }

        .navbar .cms-version h4 {
            font-weight: 600;
        }

    .navbar .nav {
        float: right;
        margin-top: 15px;
    }

        .navbar .nav > li {
            display: inline-block;
        }

            .navbar .nav > li.active {
                background-color: #000;
            }

                .navbar .nav > li.active > a {
                    color: #fff !important;
                }

                    .navbar .nav > li.active > a:hover {
                        color: #fff;
                    }

            .navbar .nav > li > a {
                font-size: 14px;
                font-weight: 700;
                color: #17436a;
                letter-spacing: 1px;
            }

                .navbar .nav > li > a .fa-user-circle-o {
                    font-size: 26px;
                    font-weight: 400;
                    margin-right: 8px;
                    margin-left: 8px;
                    vertical-align: middle;
                    margin-top: -2px;
                }

                .navbar .nav > li > a .fa-caret-down {
                    font-size: 12px;
                    font-weight: 400;
                    vertical-align: middle;
                }

                .navbar .nav > li > a:hover, .navbar .nav > li > a:active, .navbar .nav > li > a:focus, .navbar .nav > li > a.selected {
                    color: #17436a;
                    background-color: transparent;
                }

    .navbar .sub-nav {
        list-style-type: none;
        margin: 0;
        padding: 15px;
        background-color: #131314;
        display: none;
    }

        .navbar .sub-nav > li {
            margin-bottom: 12px;
        }

            .navbar .sub-nav > li:last-child {
                margin-bottom: 0;
            }

                .navbar .sub-nav > li:last-child > a {
                    color: #f54337;
                }

            .navbar .sub-nav > li > a {
                color: #fff;
                font-size: 14px;
                font-weight: 500;
            }

                .navbar .sub-nav > li > a:hover, .navbar .sub-nav > li > a:focus {
                    text-decoration: none;
                }

.footer {
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(100% - 240px);
    height: 70px;
    background-color: #f2f3f8;
    padding-left: 15px;
}

    .footer .copyright {
        margin-top: 18px;
        font-family: 'Raleway', sans-serif;
        font-size: 13px;
        color: #676767;
        font-weight: 500;
    }

        .footer .copyright a {
            color: #222c60;
        }

.sidebar {
    position: fixed;
    top: 70px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden!important;
    overflow-y: auto!important;
    background-color: #131314;
    width: 240px;
    font-family: 'Raleway', sans-serif;
}
.sidebar::-webkit-scrollbar {
  width: 10px;
}
.sidebar::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
.sidebar::-webkit-scrollbar-thumb {
  background: #888; 
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

    .sidebar .sidenav {
        margin: 0 -20px;
    }

        .sidebar .sidenav > li.active > a.dropdown:after {
            content: '\f068';
        }

        .sidebar .sidenav > li.active > a {
            color: #009C8A;
            background-color: #1b1b1c;
        }

            .sidebar .sidenav > li.active > a.dropdown {
                color: #fff;
            }

        .sidebar .sidenav li.active .sidenav-second-level, .sidebar .sidenav > li.active > .sidenav-third-level {
            /*display: block !important;*/
        }

        .sidebar .sidenav > li > a {
            padding: 13px 15px;
            color: #fff;
            font-weight: 800;
            font-size: 12px;
            letter-spacing: 1px;
            position: relative;
        }

            .sidebar .sidenav > li > a .fa {
                font-size: 14px;
                margin-right: 7px;
            }

            .sidebar .sidenav li a.dropdown:after {
                content: '\f067';
                font-family: FontAwesome;
                font-size: 12px;
                font-weight: 400;
                position: absolute;
                display: block;
                right: 15px;
                position: absolute;
                top: 50%;
                -moz-transform: translateY(-50%);
                -o-transform: translateY(-50%);
                -ms-transform: translateY(-50%);
                -webkit-transform: translateY(-50%);
                transform: translateY(-50%);
            }

            .sidebar .sidenav > li > a:hover, .sidebar .sidenav > li > a:focus, .sidebar .sidenav > li > a:active {
                color: #fff;
                background-color: #1b1b1c;
            }

    .sidebar .sidenav-second-level, .sidebar .sidenav-third-level {
        display: none;
        margin: 0;
        padding: 0;
    }
    .sidebar .second-level {
        background: #272727
    }
    .sidebar .sidenav-third-level {
        background: #333;
    }

        .sidebar .sidenav-second-level > li, .sidebar .sidenav-third-level > li {
            display: block;
            margin: 0;
            padding: 0;
        }
        .sidebar .sidenav-third-level > li > a {
            padding-left: 45px !important;
        }

            .sidebar .sidenav-second-level > li.active > a, .sidebar .sidenav-third-level > li.active > a {
                color: #8cc34b;
            }

            .sidebar .sidenav-second-level > li > a, .sidebar .sidenav-third-level > li > a {
                display: block;
                padding: 8px 30px;
                color: #fff;
                font-size: 13px;
                font-weight: 300;
                letter-spacing: 1px;
            }

                .sidebar .sidenav-second-level > li > a:hover, .sidebar .sidenav-second-level > li > a:focus, .sidebar .sidenav-second-level > li > a:active, .sidebar .sidenav-third-level > li > a:hover, .sidebar .sidenav-third-level > li > a:focus, .sidebar .sidenav-third-level > li > a:active {
                    color: #fff;
                    background-color: #1b1b1c;
                    text-decoration: none;
                }

@media (max-width: 767px) {
    .sidebar {
        display: none;
    }
}

.page-wrapper {
    margin-left: 230px;
    width: calc(100% - 230px);
    position: relative;
    min-height: calc(100vh - 140px);
    padding: 15px 0 20px 15px;
}

    .page-wrapper .page-content {
        -webkit-box-shadow: 0px 0px 20px -2px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0px 0px 20px -2px rgba(0, 0, 0, 0.2);
        box-shadow: 0px 0px 20px -2px rgba(0, 0, 0, 0.2);
        padding: 30px;
        border-radius: 2px;
        min-height: 400px;
    }

    .page-wrapper .page-header {
        margin-top: 5px;
        padding-bottom: 15px;
    }

        .page-wrapper .page-header h1 {
            margin-top: 0;
            font-size: 36px;
            font-weight: bold;
            color: #131314;
            letter-spacing: 2px;
        }

    .page-wrapper .page-header-2 {
        margin-bottom: 20px;
    }

        .page-wrapper .page-header-2 h2 {
            color: #009C8A;
            font-size: 24px;
            font-weight: bold;
            letter-spacing: 1px;
            margin: 0;
        }

        .page-wrapper .page-header-2 .options-menu {
            text-align: right;
            margin-top: 4px;
        }

            .page-wrapper .page-header-2 .options-menu a {
                vertical-align: middle;
                color: #009C8A;
                display: inline-block;
                font-size: 14px;
                font-weight: bold;
                letter-spacing: 1px;
                border-radius: 3px;
            }

                .page-wrapper .page-header-2 .options-menu a .fa-plus-circle {
                    font-size: 20px;
                    vertical-align: middle;
                }

                .page-wrapper .page-header-2 .options-menu a:hover, .page-wrapper .page-header-2 .options-menu a:focus {
                    text-decoration: none;
                    color: #8cc34b;
                }

    .page-wrapper .panel .panel-heading .panel-title {
        font-size: 18px;
    }

    .page-wrapper .panel .panel-body h3 {
        margin: 0 0 15px 0;
        background-color: #f2f3f8;
        border-radius: 4px;
        padding: 10px 15px;
        font-size: 22px;
    }

        .page-wrapper .panel .panel-body h3 .btn {
            margin-left: 7px;
        }

.nav-tabs {
    margin-bottom: 15px;
}

    .nav-tabs > li > a {
        border-top-left-radius: 2px;
        border-top-right-radius: 2px;
        padding: 12px 24px;
    }

.well {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 2px;
}

.page-list {
    padding-top: 20px;
    margin-bottom: 40px;
}

    .page-list.page-list-single {
        margin-bottom: 0;
    }

        .page-list.page-list-single .page-list-item {
            margin-bottom: 0;
        }

            .page-list.page-list-single .page-list-item .page-properties:hover {
                background-color: transparent;
            }

    .page-list .page-list-item {
        height: 48px;
        border: 1px solid #efefef;
        border-radius: 2px;
        padding: 0;
        margin-bottom: 8px;
        background-color: #fff;
        cursor: default;
    }

        .page-list .page-list-item.hidden-page {
            background-color: #f7f7f7;
        }

        .page-list .page-list-item.ui-sortable-helper {
            -webkit-box-shadow: 0px 8px 8px -2px rgba(0, 0, 0, 0.2);
            -moz-box-shadow: 0px 8px 8px -2px rgba(0, 0, 0, 0.2);
            box-shadow: 0px 8px 8px -2px rgba(0, 0, 0, 0.2);
        }

        .page-list .page-list-item .handle {
            height: 47px;
            display: block;
            float: left;
            width: 38px;
            font-size: 16px;
            text-align: center;
            padding-top: 13px;
            color: #dcdcdc;
        }

        .page-list .page-list-item .level-up {
            height: 46px;
            display: block;
            float: left;
            width: 38px;
            font-size: 16px;
            text-align: center;
            padding-top: 13px;
            background-color: #f0f0f0;
            color: #000;
        }

        .page-list .page-list-item .page-properties {
            width: calc(100% - 148px);
            float: left;
            height: 46px;
            padding-top: 13px;
            padding-left: 10px;
        }

            .page-list .page-list-item .page-properties:hover, .page-list .page-list-item .page-properties:active, .page-list .page-list-item .page-properties:focus {
                text-decoration: none;
                background-color: #f7f7f7;
                -moz-transition: all 0.3s ease-out;
                -o-transition: all 0.3s ease-out;
                -webkit-transition: all 0.3s ease-out;
                transition: all 0.3s ease-out;
            }

            .page-list .page-list-item .page-properties .page-name {
                font-size: 16px;
                color: #131314;
                display: inline-block;
                margin-right: 5px;
            }

            .page-list .page-list-item .page-properties .page-status {
                font-size: 12px;
            }

                .page-list .page-list-item .page-properties .page-status.published {
                    color: #8cc34b;
                }

                .page-list .page-list-item .page-properties .page-status.draft {
                    color: #c3c3c3;
                }

            .page-list .page-list-item .page-properties > .fa {
                margin-right: 3px;
                color: #000;
                font-size: 16px;
                width: 20px;
            }

                .page-list .page-list-item .page-properties > .fa.fa-home {
                    font-size: 18px;
                }

        .page-list .page-list-item .action-menu {
            width: 110px;
            float: right;
            text-align: right;
            height: 48px;
        }

            .page-list .page-list-item .action-menu > a {
                padding-top: 14px;
                padding-right: 20px;
                display: block;
                height: 46px;
                font-size: 14px;
                margin-right: 15px;
                color: #131314;
            }

                .page-list .page-list-item .action-menu > a:last-child {
                    margin-right: 0;
                }

                .page-list .page-list-item .action-menu > a:hover, .page-list .page-list-item .action-menu > a:focus {
                    text-decoration: none;
                    background-color: #f7f7f7;
                    -moz-transition: all 0.3s ease-out;
                    -o-transition: all 0.3s ease-out;
                    -webkit-transition: all 0.3s ease-out;
                    transition: all 0.3s ease-out;
                }

.image-gallery .col-md-2 {
    padding-bottom: 20px;
}

    .image-gallery .col-md-2 .thumbnail {
        margin-bottom: 10px;
    }

        .image-gallery .col-md-2 .thumbnail img {
            image-orientation: from-image;
        }

    .image-gallery .col-md-2 .btn-sm {
        padding: 9px 12px;
        font-size: 12px;
        height: 32px;
        margin-right: 5px;
    }

.parsley-form {
    border-top: 1px solid #ececec;
    padding-top: 20px;
}

    .parsley-form.no-border {
        border-top: none;
        padding-top: 10px;
    }

    .parsley-form .file-upload-container {
        padding-top: 7px;
        height: 40px;
    }

        .parsley-form .file-upload-container .parsley-errors-list {
            margin-top: 12px;
        }

    .parsley-form [class*="col-"] {
        margin-bottom: 20px;
    }

    .parsley-form .checkbox-col {
        margin-bottom: 4px;
    }

        .parsley-form .checkbox-col .control-label {
            margin-top: 2px;
            margin-bottom: 0;
            color: #545454;
        }

    .parsley-form .form-group {
        margin-bottom: 18px;
    }

        .parsley-form .form-group.button-group {
            padding-top: 18px;
        }

            .parsley-form .form-group.button-group .message-text {
                margin-left: 5px;
                display: inline-block;
            }

    .parsley-form .radio, .parsley-form .checkbox {
        margin-top: 16px;
    }

.form-control {
    height: 38px;
    border-color: #131314;
    box-shadow: none;
    border-radius: 2px;
    color: #131314;
    padding: 5px 10px;
}

    .form-control.parsley-error {
        border-color: rgba(220, 53, 69, 0.6);
        -webkit-box-shadow: none;
        box-shadow: none;
        background-color: rgba(220, 53, 69, 0.1);
    }

.control-label {
    font-size: 14px;
    color: #131314;
    font-weight: normal;
    margin-bottom: 8px;
}

.form-panel {
    background-color: #f7f7f7;
    margin-top: -16px;
    padding: 15px 15px 5px;
    border: 1px solid #efefef;
}

.form-panel--transparent {
    border: none;
    margin-top: 0;
    padding: 0;
    background-color: #fff;
}

.form-panel--create {
    margin-top: 0;
}

.btn {
    height: 44px;
    border-radius: 2px;
    padding: 14px 30px;
    font-size: 14px;
    line-height: 100%;
    box-shadow: none;
    border: 1px solid #ccc;
    outline: none;
}

    .btn i {
        margin-right: 3px;
    }

    .btn.btn-danger {
        border-color: transparent;
    }

    .btn.btn-primary {
        background-color: #009C8A;
        border-color: transparent;
    }

        .btn.btn-primary:focus, .btn.btn-primary:hover {
            opacity: .9;
            background-color: #8cc34b;
            outline: none;
        }

    .btn.btn-sm {
        height: 40px;
        padding: 12px 22px;
        font-size: 14px;
    }

.parsley-errors-list {
    list-style-type: none;
    margin: 4px 0 0 0;
    padding: 0;
}

    .parsley-errors-list li {
        font-size: 12px;
        color: #dc3545;
    }

.note-editor .btn {
    height: auto;
    padding: 5px 10px;
    font-size: 13px;
}

.pagination {
    margin: 0 0 30px;
}

tr.ui-sortable-helper {
    width: 100%;
}

.dashboard-menu .dashboard-menu__item {
    height: 120px;
    border: 1px solid #efefef;
    border-radius: 5px;
    text-align: center;
    display: block;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    font-family: Raleway;
    position: relative;
}

    .dashboard-menu .dashboard-menu__item:hover {
        background-color: #f7f7f7;
        -moz-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        -webkit-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
        text-decoration: none;
    }

    .dashboard-menu .dashboard-menu__item span {
        position: absolute;
        top: 50%;
        -moz-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        left: 0;
        right: 0;
        margin: 0 auto;
        padding: 0 10px;
    }

@-ms-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

.display-block {
    display: block !important;
}

.switch {
    --uiSwitchSize: var(--switchSize, 44px);
    --uiSwitchBgColor: var(--switchBgColor, #7d7d7d);
    --uiSwitchBgColorActive: var(--switchBgColorActive, #8cc34b);
    --uiSwitchBorderColorActive: var(--switchBorderColorActive, #fff);
    --uiSwitchBorderColorFocus: var(--switchBgColorFocus, #fff);
    --uiSwitchButtonBgColor: var(--switchButtonBgColor, #fff);
    display: inline-block;
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.switch__label {
    display: block;
    width: 100%;
    height: 100%;
}

.switch__toggle {
    width: 0;
    height: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

    .switch__toggle:focus ~ .switch__label {
        box-shadow: 0 0 0 var(--uiSwitchThickFocus, 1px) var(--uiSwitchBorderColorFocus);
    }

    .switch__toggle:checked:focus ~ .switch__label {
        box-shadow: 0 0 0 var(--uiSwitchThickFocus, 1px) var(--uiSwitchBorderColorActive);
    }

.switch__label:before, .switch__label:after {
    content: "";
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
}

.switch__label:before {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: var(--uiSwitchBgColor);
}

.switch__label:after {
    top: 50%;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.44, -0.12, 0.07, 1.15);
}

/* type 1 */
.switch_type1 {
    --uiSwitchBorderRadius: var(--switchBorderRadius, 60px);
    width: var(--uiSwitchSize);
    height: calc((var(--uiSwitchSize) / 2));
    border-radius: var(--uiSwitchBorderRadius);
    background-color: var(--uiSwitchBgColorActive);
}

    .switch_type1 .switch__label {
        border-radius: var(--uiSwitchBorderRadius);
    }

        .switch_type1 .switch__label:before {
            border-radius: var(--uiSwitchBorderRadius);
            transition: opacity .2s ease-out .1s, transform .2s ease-out .1s;
            transform: scale(1);
            opacity: 1;
        }

    .switch_type1 .switch__toggle:checked ~ .switch__label:before {
        transform: scale(0);
        opacity: .7;
    }

    .switch_type1 .switch__label:after {
        width: calc(var(--uiSwitchSize) / 2);
        height: calc(var(--uiSwitchSize) / 2);
        transform: translate3d(0, -50%, 0);
        background-color: var(--uiSwitchButtonBgColor);
        border-radius: 100%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

    .switch_type1 .switch__toggle:checked ~ .switch__label:after {
        transform: translate3d(100%, -50%, 0);
    }

.rsCnt {display:flex; flex-wrap:wrap; max-height:480px; overflow:auto;}
div.gallery {
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    width: calc(100% / 3 - 10px);
    display:flex;
    flex-wrap:wrap;
    align-items:flex-end;
}

    div.gallery:hover {
        border: 1px solid #777;
    }

    div.gallery img {
        width: 100%;
        height: auto;
    }

div.desc {
    padding: 15px;
    text-align: center;
    text-overflow:ellipsis;
    overflow:hidden;
    white-space:nowrap;
}
