﻿@import "./Variables.less";

html, body {
    margin: 0;
    padding: 0;
}

html {
    position: relative;
    min-height: 100%;
    overflow-y: hidden;
}

body {
    margin-bottom: 80px;
    font-family: @font-300;
    font-weight: 300;
}

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.inline-block {
    display: inline-block;
}

//Corrige os problemas com o sistema de grids do bootstrap dentro dos tabstrips
.boxFix *,
.boxFix *::before,
.boxFix *::after {
    -moz-box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

/*#region Especifico para o Account */
.sg-account-wrapper {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    height: 100%;
}

.sg-account-header {
    width: 100%;
    max-height: 130px;
    text-align: center;
    background-color: rgba(0,0,0,0.4);
}

/*#region BUTTON COMMONS */
.sg-btn-floating {
    /*border: none;
    padding: 16px;*/
    &:focus {
        outline: none;
    }
}

.sg-button {
    cursor: pointer;
    width: 30px;
    height: 30px;
}
/*#endregion */

/*#region LAYOUT COMMONS */
#preloader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FFF;
    z-index: 10000;
    height: 100%;
}

.sg-clearfix {
    clear: both;
    width: 100%;
    height: 1px;
}

.sg-no-padding {
    padding-left: 0;
    padding-right: 0;
}

.sg-no-padding-left {
    padding-left: 0;
}

.sg-no-padding-right {
    padding-right: 0;
}

.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5000;
}

.affix {
    width: 100%;
}

.swal2-container {
    z-index: 10060 !important;
}
/*#endregion*/

/*#region Containers com borda e imagem no topo centrada */
.sg-container-no-tabstrip {
    margin-top: 61px;
}


/*#region Tabs das páginas */
.k-tabstrip-wrapper {
    .k-widget.k-tabstrip {
        .k-tabstrip-items {
            display: table;
            margin: 0 auto;
            -webkit-box-shadow: 0 0 5px rgba(92,91,95,1);
            -moz-box-shadow: 0 0 5px rgba(92,91,95,1);
            box-shadow: 0 0 5px rgba(92,91,95,1);

            .k-item {
                padding: 10px 15px;
                font-family: @font-500;
                font-size: 12px;
                border: none;
                border-radius: 0;

                .k-loading {
                    border: none;
                }

                .k-link {
                    color: @menu-grey;
                }

                &.k-state-active {
                    .k-link {
                        color: @main-green;
                    }
                }

                &.k-state-hover {
                    background: #FFF;

                    .k-link {
                        color: @main-green;
                    }
                }
            }
        }

        .k-content {
            padding: 15px;
            margin-top: 10px;
            border: none;

            .col-xs-12 {
                padding-left: 0;
                padding-right: 0;
            }
        }
    }
}
/*#endregion */

/*#region Paginação das Grid */
.sg-grid-pager-container {
    height: auto;
    width: 100%;
    text-align: center;
    margin-top: 15px;

    .sg-grid-pager {

        .sg-pager-actions {
            width: 20px;
            height: 20px;
            padding: 5px;
        }

        .sg-pager-info {
            top: -8px;
            position: relative;
            font-family: @font-700;
            font-size: 18px;
            font-weight: 700;
            color: #bdbcbc;

            &.sg-pager-first-counter {
                margin-left: 10px;
            }

            &.sg-pager-total-counter {
                margin-right: 10px;
            }
        }
    }

    &.sg-grid-pager-container-no-tabstrip {

        * {
            -webkit-box-sizing: content-box;
            -moz-box-sizing: content-box;
            box-sizing: content-box;
        }
    }
}
/*#endregion*/

/*#region Windows da Kendo */
.k-overlay {
    background-color: #FFF;
}

.k-widget {
    border: none;

    &.k-window {
        border-radius: 0;
        border: 1px solid @main-green;
        -webkit-box-shadow: 0 0 15px rgba(92,91,95,1);
        -moz-box-shadow: 0 0 15px rgba(92,91,95,1);
        box-shadow: 0 0 15px rgba(92,91,95,1);

        .k-window-titlebar {
            background: #FFF;
            border-bottom: none;
            margin-top: -35px !important;

            .k-window-actions {

                .k-window-action {
                    opacity: 1;

                    &.k-state-hover {
                        border: none;
                        background: none;
                        padding: 2px;
                    }
                }

                .k-window-action:focus {
                    outline-style:none !important;
                }

                .k-icon {
                    opacity: .7;

                    &:hover {
                        opacity: 1;
                    }

                    &.k-i-close {
                        background: url(icons/fechar_portal_sige.svg) no-repeat center center;
                        background-size: 24px 24px;
                        padding: 12px;
                        position: absolute;
                        top: 0;
                        right: -5px;
                    }

                    &.k-i-custom {
                        background: url(icons/seta_portal_sige.svg) no-repeat center center;
                        background-size: 24px 24px;
                        padding: 12px;
                        position: absolute;
                        top: 0;
                        right: 25px;
                    }
                }
            }
        }

        .k-window-content {
            padding: 15px;
        }
    }
}
/*#endregion */

/*#region HEADING COMMONS */
h1, h2, h3, h4 {
    margin-top: 15px;
    margin-bottom: 15px;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 18px;
}
/*#endregion */

.sg-content {
    padding-top: 190px;
    padding-bottom: 15px;
}

.sg-footer {
    -webkit-box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.45);
    -moz-box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.45);
    box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.45);
    //position: fixed;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 5000;

    &.no-shadow {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    &.login-shadow {
        -webkit-box-shadow: 0px 20px 40px 40px rgba(255, 255, 255, 1);
        -moz-box-shadow: 0px 20px 40px 40px rgba(255, 255, 255, 1);
        box-shadow: 0px 20px 40px 40px rgba(255, 255, 255, 1);
    }

    .sg-footer-inner-container {
        background: #FFF;
        //height: @footer-height;
        .sg-footer-widget-brand {
            height: @footer-height;

            &.sg-footer-widget-brand-school {
                float: left;
                margin-left: 15%;
                margin-right: 2%;
            }

            &.sg-footer-widget-brand-company {
                float: right;
                margin-right: 15%;
                padding: 5px;
            }
        }

        address {
            text-transform: uppercase;
            font-family: @font-500;
            font-size: 11px;
            color: #000;
            height: 100%;
            padding-top: 10px;
            margin-bottom: 0;
            margin-left: 90px;
            line-height: 1;

            p {
                margin-bottom: 5px;

                a {
                    color: #000;
                }
            }
        }
    }
}

#loading-screen {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 0.7;
    background-color: #fff;
    z-index: 9999;
    text-align: center;

    .hidden {
        display: none;
    }

    .loading-image {
        position: relative;
        top: 50%;
        text-align: center;
        z-index: 100;
    }
}

/*#endregion */

/*#region Window dos comunicados */
#sg-notice-window {
    font-family: @font-300;
    font-weight: 300;
    font-size: 14px;

    .sg-notice-window-actions {
        margin-top: 15px;

        .sg-notice-window-button {
            width: 100px;
            padding: 10px 20px;
            text-transform: uppercase;
            font-family: @font-500;
            font-weight: 500;
            font-size: 14px;
            border: 1px solid @main-green;
            border-radius: 0;
            background: none;
            color: @main-green;
            margin: 0 25px;

            &:hover {
                background: @main-green;
                color: #FFF;
                border: 1px solid @main-green;
                -moz-transition: all .5s;
                -o-transition: all .5s;
                -webkit-transition: all .5s;
                transition: all .5s;
            }
        }
    }
}
/*#endregion */


/*#region MEALS PAGE */
//SCHEDULER
.k-widget {
    &.k-scheduler {
        border-radius: 0;
        border: none;

        .k-scheduler-toolbar {
            display: none;
        }

        .k-scheduler-layout {
            /*tr:first-child {
                display: none;
            }*/
            font-family: @font-300;
            font-size: 10px;
            color: #000;

            .k-scheduler-times, .k-scheduler-content {
                .k-scheduler-table {
                    th.k-slot-cell, td {
                        border-color: #000;
                        border-right-color: #FFF;
                    }
                }
            }

            &.k-scheduler-dayview {
                //Esconde o dia da semana
                .k-scheduler-header {
                    display: none;
                }
                //Esconde a linha com a hora atual no calendário
                .k-current-time {
                    display: none;
                }
            }

            .k-scheduler-content {
                .k-scheduler-table {

                    .k-middle-row, tr[role="row"] {
                        .k-today {
                            background: none;
                        }
                    }

                    .k-middle-row {
                        td {
                            border-color: @menu-grey;
                        }
                    }

                    tr td {
                        border-left: 0px;
                    }
                }

                .k-event {
                    border-radius: 0;
                    border-color: #b3b3b3;
                    border-width: 1px;
                    background: @main-green;
                    color: #000;
                }

                div.horario-evento {
                    height: inherit;
                    padding: 3px 5px;

                    div {
                        white-space: nowrap;
                        overflow-x: hidden;
                        -ms-text-overflow: ellipsis;
                        -o-text-overflow: ellipsis;
                        text-overflow: ellipsis;
                    }
                }
            }

            .k-scheduler-header {
                .k-scheduler-table {
                    th {
                        border-left: 0px;
                    }
                }
            }
        }

        .k-scheduler-footer {
            display: none;
        }
    }
}


/*#region MESSAGES PAGE */
.sg-new-message {
    color: @main-green;
}

.sg-modal-window {
    .row {
        margin: 0;
    }

    [class*='col-'] {
        padding: 0;
    }

    .sg-message-detail-window-header {
        color: #000;

        .sg-message-detail-window-header-top {
            font-family: @font-300;
            font-weight: 300;
        }

        .sg-message-detail-window-header-bottom {
            font-family: @font-100;
            font-weight: 100;
        }
    }

    .sg-message-detail-window-content {
        font-family: @font-100;
        font-weight: 100;
        color: #000;
    }
}

#sg-new-message-window, #sg-forward-message-window {

    .form-group {
        font-family: @font-300;
        font-weight: 300;
        font-size: 12px;

        .editor-label {
            width: ~'calc(15% - 15px)';
            margin-right: 15px;
            display: inline-block;
        }

        .editor-field {
            width: ~'calc(85% - 15px)';
            margin-left: 15px;
            display: inline-block;

            input,
            textarea,
            .k-textbox {
                width: 100%;
            }

            textarea {
                height: 120px;
                resize: none;
            }

            #Assunto, #Corpo {
                border-radius: 0;
                border: 1px solid @menu-grey;
            }

            .k-widget {
                &.k-multiselect {
                    &.k-header {
                        border-color: @menu-grey;
                        border-radius: 0;

                        .k-multiselect-wrap {
                            min-height: 2.25em;

                            .k-button {
                                background: @main-green;
                                border: none;
                                border-radius: 0;
                                margin: 2px;

                                .sg-multiselect-tag {
                                    margin-right: 5px;
                                }
                            }
                        }
                    }
                }
            }

            &.multiselect {
                width: ~"calc(85% - 16px)";
                margin-left: 12px;
            }
        }
    }

    .no-label-field {
        .form-group {
            .editor-label {
                display: none;
            }

            .editor-field {
                width: 100%;
                margin: 0;
                display: block;
            }
        }
    }
}

.k-widget.k-window {
    .popover {
        border-radius: 0;
        font-family: @font-300;
        font-weight: 300;
        color: #000;

        .popover-content {
            p {
                margin-bottom: 0;

                &:hover {
                    text-decoration: none;
                    color: @main-green;
                }
            }
        }
    }
}

.sg-disabled {
    border-color: #b3b3b3 !important;
    color: #b3b3b3 !important;
}
/*#endregion*/

/*#region HORÁRIO PAGE */
#schedule-page {
    font-family: @font-100;
    font-weight: 100;

    .k-scheduler-table {
        text-transform: uppercase;
    }
}
/*#endregion*/

/*#region MEALS WIDGET*/
#sg-container-meals {

    .sg-container-content {
        padding-top: 0;

        .sg-container-meals-margin-top {
            margin-top: 15px;
            border-right: 1px solid #b3b3b3;

            &:last-child {
                border-right: none;
            }

            .sg-container-meals-weekday {
                color: #000;
                font-family: @font-300;
                font-size: 10px;
                text-align: center;
            }

            .sg-container-meals-img {
                max-width: 75px;
                margin: 10px auto;
            }

            .sg-container-meals-status {
                color: #000;
                font-family: @font-300;
                font-size: 9px;
                margin-bottom: 0;
            }
        }
    }
}

#sg-home-meals-calendar {
    .cal-week-box {
        border: none;
        position: relative;

        .cal-row-head {
            text-transform: uppercase;

            &:hover {
                background: none;
            }

            .cal-cell1 {
                &:hover {
                    background: none;
                }
            }
        }

        .cal-cell1 {
            &.day-highlight {
                background: none;

                .sg-meals-home-margin {
                    margin-top: 15px;
                    margin-bottom: 5px;
                }

                a {
                    display: inline-block;
                    width: 100%;
                }
            }
        }
    }
}
/*#endregion*/

/*#region ATM WIDGET*/
#sg-container-atm {
    font-family: @font-300;
    font-weight: 300;

    .list-group {
        margin-right: 0;
        margin-bottom: 5px;

        .list-group-item {
            border: none;
            padding: 5px 0;

            &.warning {
                margin-top: 20px;
                font-weight: bold;
            }

            &:last-child {
                padding-bottom: 0;
            }

            .badge {
                font-family: @font-700;
                font-weight: 700;
                color: @menu-grey;
                background: none;
            }
        }
    }
}
/*#endregion*/

/*#region ATM WIDGET*/
#sg-container-schedule {
    .sg-container-content-body {
        padding-top: 0;
    }

    #sg-schedule-widget {
        .k-scheduler-layout.k-scheduler-dayview > tbody > tr:first-child {
            display: none;
        }
    }
}
/*#endregion*/
/*#endregion*/

/*#region ACCESS */
#sg-new-specific-auth-window {
    .info {
        margin-bottom: 15px;
    }

    #Obs {
        width: 100%;
        height: 100px;
        margin-bottom: 10px;
        resize: none;
    }
}
/*#endregion*/

@import "Responsive";

#sg-grid-access .obs {
    width: 35px;
    border-left: none;
}

#sg-grid-inbox-messages .sg-grid-row {
    cursor: pointer;
}

.swal2-modal .btn-success {
    //margin-right: 20px;
}


#sg-container-transactions {
    .k-grid-norecords-template {
        line-height: 2em !important;
    }
}


#sg-grid-requested-documents {

    .sg-grid-column-text-left {
        vertical-align: top;
    }
}


.validation-summary-errors {
    ul {
        padding-left: 0;
        font-family: 'MuseoSans-700', sans-serif;
        font-size: 18px;
        list-style-type: none;
        background: white;
        padding: 2px;
        margin-top: 55px;

        li {
            color: #ee3535;
        }
    }
}

/*#region ACESSOS -> AUTORIZAÇÕES GERAIS PAGE */
#sg-general-auth-form {
    .form-group:last-child {
        margin-bottom: 0;
    }

    .checkbox-group {
        .k-checkbox-label {
            padding: 11px 0 0 35px;
        }
    }

    .checkbox-group-inline {
        .k-checkbox-label {
            padding: 11px 0 0 30px;
        }
    }

    .k-checkbox-label {
        font-weight: 300;
        border-style: none;
    }

    .k-checkbox-label:before {
        background: url(icons/checkbox_semcheck_portal_sige.svg) no-repeat center center;
        content: '';
        width: 30px;
        height: 30px;
        border-style: none;
    }

    .k-checkbox:checked + .k-checkbox-label:before {
        background: url(icons/checkbox_comcheck_portal_sige.svg) no-repeat center center;
        content: '';
        border-style: none;
        outline: 0;
    }
}

.checkbox-group {
    border-left: 1px solid #e1e1e1;
    padding: 5px 0 5px 10px;
}

.checkbox-group-inline {
    padding: 5px 0;
}

.sg-general-auth-submit-container {
    margin-bottom: 10px;

    button {
        padding: 0;
        font-family: 'MuseoSans-500', sans-serif;
        font-size: 12px;
        font-weight: 500;
        border: none;
        border-radius: 0;
        color: #000;
        background: #FFF;
        outline: 0;

        img {
            width: 42px;
            height: 42px;
        }
    }
}

/*#endregion*/

/*#region ACESSOS -> AUTORIZAÇÕES ESPECÍFICAS PAGE */
#sg-grid-specific-auth {
    .sg-grid-row {
        .sg-grid-column.sg-grid-column-actions {
            img.sg-button {
                cursor: default;

                &.sg-editable-auth {
                    cursor: pointer;
                }
            }
        }
    }
}
/*#endregion*/


#sg-menu-products-list {
    display: flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    border: none;

    .sg-menu-products-list-product {
        flex: 0 0 16.666666666666666666666666666667%;
        box-sizing: border-box;
        color: #171e42;
        padding: 0 15px;
        margin: 15px 0;
        text-align: center;

        .img-responsive {
            width: 100%;
        }

        .sg-menu-products-list-product-name {
            margin-bottom: 5px;
        }

        .sg-menu-products-list-product-price {
            font-weight: bold;
        }
    }
}

.sg-cart-table {
    thead > tr > th,
    tbody > tr > td {
        border: none;
    }

    .sg-cart-table-item {

        td {
            vertical-align: middle;
        }

        .sg-cart-table-item-remove-btn {
            &,
            &:focus,
            &:active,
            &:hover {
                width: 26px;
                height: 26px;
                background-color: none;
                background-repeat: no-repeat;
                background-size: 26px 26px;
                background-position: center;
                border: none;
                outline: none;
            }
        }

        .sg-cart-table-item-qty {
            text-align: center;
            font-family: @font-700;
            font-weight: 700;
            font-size: 18px;
        }
    }
}

@media only screen and (min-width: 320px) {
    #sg-menu-products-list {
        .sg-menu-products-list-product {
            flex: 2 0 50%;
        }
    }
}

@media only screen and (min-width: 768px) {
    #sg-menu-products-list {
        .sg-menu-products-list-product {
            flex: 3 0 33%;
        }
    }
}

@media only screen and (min-width: 991px) {
    #sg-menu-products-list {
        .sg-menu-products-list-product {
            flex: 0 0 25%;
        }
    }
}

@media only screen and (min-width: 1440px) {
    #sg-menu-products-list {
        .sg-menu-products-list-product {
            flex: 0 0 16.666666666666666666666666666667%;
        }
    }
}

// TO PUT ON PLATFORM COLOR LESS FILE
.sg-color {
    color: lightblue;
}

#take-away {
    .sg-cart-table-item-remove-btn {
        background-color: transparent;
    }

    #submit-container {
        position: absolute;
        bottom: 30px;
        width: 100%;

        #total {
            text-align: center;
            font-weight: bold;
        }

        button {
            display: block;
            margin-left: auto;
            margin-right: auto;
            width: 60px;
            height: 60px;
            background-color: transparent;
            border: none;
        }
    }
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

#SelectAccount_listbox li, #SelectAccount_listbox li:hover {
    background-color: white !important;
    color: black !important;
    padding: 1px,5px,1px,5px !important;
}

#open-door {
    float: right;
}

.sg-grid-column-text-right {
    .sg-grid-column-info-top {
        height: 21px;
    }
}

.sg-account-form-container input {
    border-radius: 0;
}

.navbar {
    .navbar-header {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0;
    }

    .icone-inovar {
        margin: 0 15px;
    }

    .container {
        .collapse {
            margin: 0 auto;
        }
    }
}
#open-carrinho{
    background-image:url(icons/portal/carrinho_portal.svg)
}
@media only screen and (max-width: 768px) {
    .navbar-header {
        display: block !important;

        .sg-header-carrinho {
            display: inline-block;
        }
    }
}

.swal2-popup .swal2-styled:focus {
    box-shadow: none !important;
}

.swal-btn-container {
    padding: 10px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.swal-btn-round {
    border-radius: 80px !important;
    padding: 3px !important;
    margin: 5px;
    font-weight: 900 !important;
    width: 140px !important;
    color: white;
    font-size: 14px;
    background-color: @main-green;
    line-height: 34px;
}

.swal-btn-conta-Normal {
    background-color: @main-green !important;
}

.swal-btn-conta-Suplementos {
    background-color: @main-green !important;
}

.swal-btn-conta-Subsidiada {
    background-color: @contaSubsidiada !important;
}

.swal-btn-conta-Manuais {
    background-color: @contaManuais !important;
}

.swal-btn-conta-Visitas {
    background-color: @contaVisitas !important;
}

.sg-checkout {
    margin: 0;

    .sg-checkout-border {
        border: 3px solid;
        border-radius: 20px;
        text-align: center;
        font-weight: 800;
        padding: 5px;
        margin: 0;

        &.conta-Normal {
            border-color: @main-green;
            color: @main-green;
        }

        &.conta-Subsidiada {
            border-color: @contaSubsidiada;
            color: @contaSubsidiada;
        }

        &.conta-Manuais {
            border-color: @contaManuais;
            color: @contaManuais;
        }

        &.conta-Visitas {
            border-color: @contaVisitas;
            color: @contaVisitas;
        }
    }

    .sg-checkout-items {
        display: flex;
        display: -ms-flexbox;
        align-items: center;
        padding-top: 5px;

        .checkout-descricao {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            width: 100%;
        }

        p {
            font-weight: 800;
        }

        .k-numerictextbox {
            width: 3.8em;
            border: none;
            padding: 0 5px 0 0;
            border-radius: 0 !important;

            .k-select {
                width: 1.2em;
            }

            .k-numeric-wrap {
                height: 30px;
                padding: 0;

                .k-input {
                    padding: 0;
                }
            }
        }
    }

    .sg-checkout-total {
        font-weight: 800;

        p {
            text-align: right;
        }
    }

    table {
        border: none !important;
    }

    td, th {
        border: 0 !important;
        text-align: right;
        font-weight: 800;
        vertical-align: middle !important;
    }

    img {
        width: 100%;
    }

    .k-numerictextbox {
        width: 3.8em;

        .k-select {
            width: 1.2em;
        }

        .k-numeric-wrap {
            border-radius: 0;
        }
    }

    hr {
        border-top: 1px solid @main-green;
    }

    .termos-condicoes {
        p {
            margin-top: 0;
            margin-bottom: 0;
        }
    }

    h3 {
        color: @main-green;
    }

    .aviso-carregamento {
        color: #ee3535;
    }

    .container {
        display: block;
        position: relative;
        padding-left: 35px;
        margin-bottom: 12px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    .container .checkout-label {
        position: relative;
        top: 4px;
    }

    .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 25px;
        width: 25px;
        background-color: #eee;
        border: 1px solid #525252;
    }

    .container:hover input ~ .checkmark {
        background-color: #ccc;
    }

    .container input:checked ~ .checkmark {
        background-color: @main-green;
    }

    .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    .container input:checked ~ .checkmark:after {
        display: block;
    }

    .container .checkmark:after {
        left: 9px;
        top: 5px;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 3px 3px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}

@media only screen and (max-width: 768px) {
    .sg-checkout {
        .sg-checkout-items > * {
            padding: 0 3px 0 3px;
        }

        .col-md-9 {
            width: 76%;
            float: left;
        }
    }
}

@media only screen and (max-width: 991px) {
    .sg-checkout {
        .col-md-9 {
            width: 76%;
            float: left;
        }
    }
}

.sg-product-list {
    overflow: auto;

    .k-widget.k-listview {
        display: flex;
        flex-wrap: wrap;
        justify-content: left;
    }

    .k-numeric-wrap {
        height: 30px;
    }

    .product {
        width: 18%;
        margin: 0 7px 10px 7px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .produto-imagem {
        position: relative;
        width: 130px;
        box-shadow: inset 0px 0px 22px rgba(0,0,0,0.4);
        border: 3px solid white;
    }

    .produto-imagem.selected {
        border: 3px solid @main-green;
    }

    img {
        max-width: 100%;
        height: 130px;
        width: 130px;
    }

    .overlayEstado {
        position: absolute;
        text-align: center;
        margin: auto;
        left: 27px;
        top: 55px;
        color: black;
        font-weight: bold;
        text-transform: uppercase;
    }

    .produto-thumb {
        position: absolute;
        top: 5px;
        right: 5px;
    }

    .produto-info p {
        margin: auto;
        max-width: 140px;
        overflow: hidden;
        //white-space: nowrap;
        line-height: 1.1em;
        text-align: center;
        text-overflow: ellipsis;
        padding: 5px 0 5px 0;
    }

    .produto-descricao {
        font-weight: 900;
    }

    .sg-container-product-add {
        display: flex;
        display: -ms-flexbox;
        justify-content: center;
    }

    .k-numerictextbox {
        width: 3.8em;
        border: none;

        .k-select {
            width: 1.2em;
        }

        .k-numeric-wrap {
            height: 30px;
            padding: 0;

            .k-input {
                padding: 0;
            }
        }
    }

    .produto-inativo, .produto-esgotado, .produto-bloqueado {
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
        opacity: 0.8;
    }
}

@media only screen and (max-width: 411px) {
    .sg-container > div {
        //padding: 8px !important;
    }
}


@media only screen and (max-width: 992px) {
    .sg-product-list {
        .product {
            width: 30%;
        }
    }
}

@media only screen and (max-width: 620px) {
    .sg-product-list {
        .product {
            width: 100%;
            margin: 0 0 10px 0;
            display: flex;
            flex-direction: row;
        }

        .overlayEstado {
            display: none;
        }

        .produto-imagem {
            width: 50px;
        }

        .produto-info {
            width: 50%;
        }

        .produto-add {
            text-align: right;
            width: 33.333%;
        }

        .product img {
            max-width: 50px;
            height: auto;
        }

        .produto-thumb {
            display: none;
        }

        .product p {
            text-align: left;
            margin-left: 10px;
            max-width: 100%;
        }

        .product > * {
            padding: 0 3px 0 3px;
        }

        .k-numerictextbox {
            .k-numeric-wrap {
                .k-input {
                    display: inline-block;
                }
            }
        }
    }
}

.sg-carrinho-container {
    padding: 5px;

    .produto-carrinho {
        display: flex;
        display: -ms-flexbox;
        align-items: center;
        padding-top: 5px;

        .col-xs-1, .col-xs-2 {
            text-align: center;
            padding: 0;
        }
    }

    hr {
        border-top: 1px solid @main-color;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .k-numerictextbox {
        width: 3.8em;
        border: none;
        padding: 0 5px 0 0;
        border-radius: 0 !important;

        .k-select {
            width: 1.2em;
        }

        .k-numeric-wrap {
            height: 30px;
            padding: 0;

            .k-input {
                padding: 0;
                display: inline-block;
            }
        }
    }

    .produto-descricao {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        font-weight: 900;
        margin-bottom: 0;
        padding: 12px 0;
        float: left;
    }

    .produto-artigos {
        max-width: 195px;
        width: 100%;
        font-weight: 900;
    }

    .col-xs-7 {
        padding-right: 0;
    }

    .my-product-total {
        font-weight: normal;
    }

    .carrinho-footer {
        float: right;
        margin-top: 10px;
        font-weight: 900;
    }

    .carrinho-total {
        color: @grey;
        font-weight: 900;

        .total {
            color: @main-color;
        }
    }
}


.k-numerictextbox .k-input {
    //height: 30px !important;
    //padding: 0 !important;
}

.sg-menu-user-header {
    display: flex;
    justify-content: flex-end;
    height: 100%;
    margin-right: 15px;

    .item-container {
        color: white;
        margin: auto 0;
        padding: 10px 10px 10px 0;

        h4 {
            margin: 5px 0;
            font-weight: 900;
        }

        .saldo {
            color: @main-color;
        }

        .saldoSiga {
            color: @main-color;
        }
    }

    .btn-container {
        top: 33px;
        position: relative;
    }
}

#sg-user-menu-window {
    ul {
        margin-bottom: 0;
    }

    a {
        color: #777;
    }

    span {
        color: @main-green;
    }



    .divider {
        height: 1px;
        margin: 5px 0;
        overflow: hidden;
        background-color: #e5e5e5;
    }

    .borderless-li {
        border: none;
    }
}

.swal2-top-end {
    top: 180px !important;
    transform: scale(1.2);
}

.swal2-shown {
    overflow: auto;
    padding-right: 0 !important;
}

.k-numeric-wrap {
    border-radius: 0px !important;
    transform: scale(0.95) !important;
    border-color: #8e8a8a !important;

    .k-state-default {
    }
}

.hidden {
    display: none;
}

#sg-new-specific-auth-form {
    .sg-btn-send {
        width: 50px;
        height: 50px;
        border: none;
       
    }
}
#sg-new-message-form {
    .sg-btn-send {
        background-image: url(icons/enviar_portal_sige.svg) !important
    }
}

#sg-forward-message-window {
    .sg-btn-send {
        background-image: url(icons/enviar_portal_sige.svg) !important
    }
}

#sg-message-detail-inbox-window {
    .sg-btn-send {
        background-image: url(icons/portal/acessos_portal_sige.svg) !important
    }
}

#sg-tabstrip-marcarRefeicao {
    height: 50px;

    ul {
        display: inline-block !important;
        margin: 0 auto !important;
        max-width: 100%;
        text-align: center;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
}

.sg-user-profile {
    margin: 20px 0;

    .profile-header {
        padding: 0;
    }

    .foto {
        width: 140px;
        margin-top: 15px;
        text-align: center;
    }

    .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
        color: @main-color;
        font-weight: 900;
    }

    a {
        color: Grey;
    }

    .qr-container {
        padding: 0;

        .qr-code {
            width: 100%;
        }
    }


    .tab-content .col-md-3 {
        text-align: right;
        padding: 0;
    }

    .row p span {
        margin: 0;
    }

    .row {
        display: flex;
        align-items: center;

        label {
            margin: 5px 0;
        }

        p {
            margin: 5px 0;
        }
    }

    .edit-email {
        margin-top: 10px;
        padding: 0;
    }

    .tab-content {
        padding: 10px 0;
    }

    ol {
        li {
            margin-bottom: 15px;
        }
    }

    ol li::before {
        color: @main-color;
        font-weight: bold;
    }
}

//Esconde Scrollbar mas mantem o scroll
html {
    overflow: auto;
    overflow-x: hidden;
    /*scrollbar-width: none;*/ /* Firefox 64 */
}

.scrollbarElement * {
    scrollbar-width: none; /* Firefox 64 */
}

.hideScrollBarElement *::-webkit-scrollbar {
    width: 0px; /* Remove scrollbar space */
    background: transparent; /* Optional: just make scrollbar invisible */
}

::-webkit-scrollbar {
   // width: 0px; /* Remove scrollbar space */
   // background: transparent; /* Optional: just make scrollbar invisible */
}

/* Works on Firefox */
* {
    /*scrollbar-width: thin;*/
    scrollbar-color: #c5c5c5 white;
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-track {
    background: white;
}

*::-webkit-scrollbar-thumb {
    background-color: #c5c5c5;
    /*border-radius: 20px;*/
    /*border: 3px solid orange;*/
}


.sg-licenca-invalida {
    margin-top: 200px;
    margin-left: 200px;

    #sg-licenca-invalida-img {
        width: 60px;
        height: 60px;
        display: inline;
    }

    #sg-licenca-invalida-message {
        display: inline;
    }
}


// Fix kendo grids mobile scrolling
.k-grid-content {
    height: 100% !important;
}

.k-grid-header {
    display: none;
}
.sg-grid-notas {
    .k-grid-header {
        display: block;
        .k-header{
        background-color: #a3cc00 !important;
        }
    }
}

.sg-container-content .sg-scheduled-meals-container .k-tabstrip-wrapper {
    .k-widget.k-tabstrip {
        .k-tabstrip-items {
            .k-item {
                border: 1px solid #a3cc00;
            }
        }
    }
}

.sg-versao {
    position: absolute;
    bottom: 80px;
    z-index: 100000000000000;
    right: 10px;
}

.filliation-no-color {
    color: black;
}

.sg-mudar-refeicoes {
    label {
        width: 100%;
    }

    h3 {
        text-align: center;
        margin-top: 0;
    }

    .card-input-element {
        display: none;
    }

    .card-input {
        margin: 10px;
        padding: 0;
    }

    .card-input:hover {
        cursor: pointer;
    }

    .card-input-element:checked + .card-input {
        box-shadow: 0 0 1px 1px #2980b9;
    }

    .items {
        overflow: auto;
        height: calc(100% - 75px);
    }

    .window-footer {
        position: absolute;
        bottom: 0;
        display: block;
        width: 95%;
        padding: 15px 0;
        text-align: right;
        border-top: 1px solid #e5e5e5;
    }
}

#mbway {

    .submit-button, .submit-button:focus {
        background-color: transparent;
        border: none;
    }

    .submit-button {
        margin-left: calc(50% - 25px);
    }
}


#sg-container-content-charging {

    #calcular-taxa {
        white-space: normal;
        width: 100%;
        height: initial;
    }
}


.sg-container-nif-checkbox {
    color: #9c9b9f;
    font-size: 12px;
    margin-top: 10px;
}

#login-help {
    background-color: white;
    margin: 25px 0;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sg-btn-check {
    border: none;
}

.dropdown-menu{
    position:relative;
    left:5%;
    width:95%;
    box-shadow:none;
    float:none;
}
.drop-arrow-open{
background: url(/Content/icons/portal/Novos/chevron_in_no_background_portal.svg) no-repeat !important;
position: absolute;
width: 12px;
height: 12px;
right: 0;
}

.login-disabled-message-container {
    position: relative;
    height: 500px;
    width: 100%;
    text-align: center;
}

.login-disabled-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    font-size: 15px;
}