@media all and (max-width: 1265px) {
    .tk-responsive-grid {
        justify-content: center;
    }
    .small-card {
        margin-left: 21px !important;
        margin-right: 21px !important;
    }
}

@media all and (max-width: 1100px) {
    .tk-carregamento-panel .panel-left-title {
        padding-right: 21px;
        padding-left: 21px;
    }
    .tk-carregamento-panel .panel-left-options {
        margin-left: 21px;
    }
    .tk-carregamento-panel .small-panel {
        margin-left: 20px;
    }
}

@media all and (max-width: 1024px) {
    .tk-menu {
        display: none;
    }
    #main {
        padding-left: 0;
        margin-top: 110px;
    }
    /* header mobile */
    .tk-header {
        padding-left: 15px;
    }
    .tk-top-actions {
        margin-right: 10px;
    }
    .tk-header svg.tk-notifications-svg {
        order: 3;
    }
    .tk-header .select2-hidden-accessible {
        order: 1;
    }
    .tk-header .select2-container {
        order: 2;
    }
    .tk-header .tk-log {
        display: none;
    }
    .tk-header svg.tk-notifications-svg {
        width: 29px;
    }
    .tk-mobile-menu-button {
        display: flex;
    }
    .tk-mobile-menu-button.tk-menu-item.tk-head.title {
        order: 4;
        position: absolute;
        right: 0;
        background-color: #0052A1;
        padding-left: 20px;
        padding-right: 20px;
        box-shadow: none;
    }
    .tk-mobile-menu-button.tk-menu-item.tk-head.title svg {
        width: 28px;
        height: 28px;
    }
    .tk-menu-item svg {
        width: 28px;
        height: 28px;
        opacity: 0.5;
    }
    .tk-menu-item svg .cls-1,
    .tk-menu-item svg .cls-2 {
        opacity: 1;
    }
    .tk-menu-item:hover svg, .tk-menu-item.active svg {
        opacity: 1;
    }
    .tk-menu-item:hover a, .tk-menu-item.active a {
        opacity: 1;
    }
    .tk-mobile-menu-button.tk-menu-item.tk-head.title svg {
        opacity: 1 !important;
    }
    .tk-menu-item.active:after {
        width: 8px;
    }

    .tk-carregamento-panel .panel-left {
        -ms-flex-preferred-size: 60%;
        flex-basis: 60%;
        max-width: 60%;
    }
    .tk-carregamento-panel .panel-left-title {
        padding-right: 42px !important;
        padding-left: 42px !important;
    }
    .tk-carregamento-panel .panel-left-options {
        margin-left: 42px !important;
    }
    .tk-pedido-emissao-options-list .panel {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }
    .tk-pedido-emissao-panel .inner-panel {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }
    .tk-menu-right {
        display: none;
    }
    .tk-prod-image-left-block .col-9,
    .tk-prod-image-right-block .col-9,
    .tk-prod-two-images-block .col-10,
    .tk-prod-text-on-text-block .col-10,
    .tk-prod-video,
    .tk-prod-downloads {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
        margin: 0;
    }
    .tk-prod-image-left-block,
    .tk-prod-image-right-block,
    .tk-prod-two-images-block,
    .tk-prod-text-on-text-block {
        margin-bottom: 80px;
    }
    .tk-prod-image-left,
    .tk-prod-image-right,
    .tk-prod-two-images,
    .tk-prod-text-on-text {
        flex-direction: column;
    }
    .tk-prod-image-left .prod-img,
    .tk-prod-image-right .prod-img,
    .tk-prod-two-images .image-left,
    .tk-prod-two-images .image-right {
        margin: 0 auto;
    }
    .tk-prod-image-left .prod-text,
    .tk-prod-image-right .prod-text,
    .tk-prod-two-images .prod-text,
    .tk-prod-text-on-text .prod-text-right {
        max-width: 100%;
        position: relative;
        top: 0; left: 0;
        padding: 25px;
        margin-top: 40px;
    }
    .tk-prod-two-images .prod-text {
        margin-bottom: 40px;
    }
    .tk-prod-text-on-text .prod-text-left {
        width: 100%;
        text-align: center;
    }
    .tk-prod-video-block {
        margin-bottom: 80px;
    }
    .tk-prod-video .video-container {
        margin: 0 auto;
    }
    .tk-prod-downloads .red-block {
        width: 280px;
        height: auto;
        margin: 0;
    }
    .tk-prod-downloads .title {
        margin: 25px;
    }
    .tk-prod-downloads ul {
        width: calc(100% - 280px);
        padding: 25px;
        position: relative;
        left: 0; right: 0; top: 0;
    }
    .tk-prod-image-left-block,
    .tk-prod-image-right-block,
    .tk-prod-two-images-block,
    .tk-prod-text-on-text-block,
    .tk-prod-video-block,
    .tk-prod-downloads-block {
        padding: 0 !important;
    }
    .tk-prod-image-left-block .col-9,
    .tk-prod-image-right-block .col-9,
    .tk-prod-two-images-block .col-10,
    .tk-prod-text-on-text-block .col-10,
    .tk-prod-video-block .col-9,
    .tk-prod-downloads-block .col-10 {
        padding: 0 15px !important;
    }
}

@media all and (max-width: 960px) {
    .tk-carregamento-panel .panel-left.col-6 {
        -ms-flex-preferred-size: 100% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
    }
    .tk-carregamento-panel .small-panel {
        margin-top: 30px;
        margin-left: 0;
    }
    .tk-carregamento-panel .small-panel + .small-panel {
        margin-left: 30px;
    }
    .tk-carregamento-ficheiros .tk-form .tk-file-upload-wrapper {
        -ms-flex-preferred-size: 100% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
        margin: 0;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    .tk-file-info-wrapper {
        -ms-flex-preferred-size: 100% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
    }
    .tk-progress-bar-group,
    .tk-progress-file-info {
        max-width: none;
    }
    .tk-progress {
        max-width: 94%;
    }
    .tk-carregamento-panel .panel-left-options {
        width: calc(100% - 210px);
    }

    .tk-sign-in {
        flex-direction: column;
    }

    .tk-sign-in-right {
        width: 100%;
    }

    .tk-sign-in-left .logo {
        left: 0;
        right: 0;
        margin: 0 auto;
        display: none;
    }
}
@media all and (max-width: 768px) {
    .tk-breadcrumbs {
        display: none;
    }
    #tk-to-top {
        bottom: 30px;
        right: 30px;
    }
    .tk-sign-in {
        flex-direction: column;
    }
    .tk-sign-in-left .logo {
        left: 0; right: 0;
        margin: 0 auto;
        display:none;
    }
    .tk-sign-in-left {
        width: 100%;
    }
    .tk-sign-in-right {
        width: 100%;
    }
    .tk-sign-in .tk-sign-in-inner-wrapper {
        padding: 30px 15px;
        margin-top: unset;
        background-color:white;
    }

    .tk-sign-up-right {
        width: 100%;
        height: 65%;
        min-height: 540px;
    }
    
    .tk-flex-row-end {
        margin-top: 30px;
    }
    .tk-listagem-pedido-emissao-panel .inner-panel {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }
    .tk-filter-form {
        flex-wrap: wrap;
    }
    .tk-filter-form .tk-filter-group {
        -ms-flex-preferred-size: 33.33333333%;
        flex-basis: 33.33333333%;
        max-width: 33.33333333%;
        margin-top: 20px;
    }
    .tk-pedido-emissao-panel .col-9.inner-panel {
        -ms-flex-preferred-size: 100% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding-top: 30px;
        padding-bottom: 40px;
    }
    .tk-pedido-emissao-panel .inner-panel .small-panel {
        margin: 0;
        margin-left: 21px;
        margin-right: 21px;
    }
    .tk-pedido-emissao-panel .inner-panel .panel-left-title {
        width: 100%;
        display: flex;
        align-items: center;
    }
    .tk-pedido-emissao-options-list .panel {
        height: auto;
    }
    .tk-pedido-emissao-options-list ul {
        flex-direction: column;
    }
    .tk-pedido-emissao-options-list ul li {
        height: 60px;
    }
    .tk-pedido-emissao-options-list .panel {
        -ms-flex-preferred-size: 100% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
    }
    .tk-pedido-emissao-options-list ul li:not(:last-of-type)::after {
        display: none;
    }
    .tk-pedido-emissao-options-list .panel {
        background-color: transparent;
        box-shadow: none;
    }
    .tk-pedido-emissao-options-list ul li {
        border-radius: 8px;
        background-color: #ffffff;
        margin-bottom: 20px;
        box-shadow: 0px 0px 16px rgba(0,0,0,0.15);
    }
    .tk-pedido-emissao-panel-bottom .small-panel {
        width: 33.333%;
        margin: 0;
    }
    .tk-carregamento-panel .small-panel {
        /* display: none; */
    }
    .tk-carregamento-panel .panel-left-options {
        /* display: none; */
    }
    .tk-carregamento-panel .panel-left-options .radio-button {
        /* display: none; */
        margin-bottom: 15px !important;
    }
    .tk-carregamento-panel .panel-left-title > div {
        flex-direction: row;
    }
    .tk-carregamento-panel .panel-left-title::after {
        display: none;
    }
    .tk-carregamento-panel .panel-left-title {
        width: 100%;
        margin-top: 15px;
        margin-bottom: 15px;
        padding-left: 0px !important;
    }
    .tk-carregamento-panel .panel-left-title > div span {
        margin-left: 21px;
        text-align: left;
    }
    .tk-carregamento-panel .panel-left-title > div img {
        margin-bottom: 0;
    }
    .tk-title-and-subtitle {
        display: none;
    }
    .tk-carregamento-form {
        margin-top: 10px;
    }
    .tk-carregamento-form .tk-form .col-6 {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }
    .tk-dependent-wrapper {
        padding-bottom: 80px;
    }
    .tk-remove-dependent button {
        bottom: -60px;
    }
    .tk-flex-row-end {
        justify-content: center;
    }
    .tk-listagem-pedido-emissao-panel .inner-panel {
        min-height: 0;
        padding: 0;
    }
    .tk-listagem-pedido-emissao-panel .tk-first-panel {
        -ms-flex-preferred-size: 100% !important;
        flex-basis: 100% !important;
        max-width: 100% !important;
        padding-top: 14px;
        padding-bottom: 14px;
        margin: 0;
    }
    .tk-listagem-pedido-emissao-panel .small-panel {
        margin-bottom: 0px;
        padding-left: 0px !important;
        padding-right: 0px !important;
        width: 100%;
    }
    .tk-listagem-pedido-emissao-panel .small-panel > div {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        height: auto;
    }
    .tk-listagem-pedido-emissao-panel .small-panel > div span {
        text-align: left;
        width: 100%;
        margin-left: 21px;
    }
    .tk-listagem-pedido-emissao-panel .small-panel > div svg {
        margin-bottom: 0;
    }
    .tk-listagem-pedido-emissao-panel .small-panel:first-of-type > div {
        display: flex;
        flex-direction: row;
        width: 100%;
    }
    .tk-listagem-pedido-emissao-filtros .tk-filter-form .tk-filter-group {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
        padding-right: 0;
    }
    .tk-listagem-pedido-emissao-filtros .contrb-filter,
    .tk-listagem-pedido-emissao-filtros .card-status-filter {
        display: none;
    }
    .tk-listagem-pedido-emissao-lista .li-01,
    .tk-listagem-pedido-emissao-lista .li-03,
    .tk-listagem-pedido-emissao-lista .li-05,
    .tk-listagem-pedido-emissao-lista .li-06,
    .tk-listagem-pedido-emissao-lista .li-07,
    .tk-listagem-pedido-emissao-lista .li-08,
    .tk-listagem-pedido-emissao-lista .li-09 {
        /*fiz para mostrar as colunas no historico de e lisagem de encomendas
            /display: none;
            */
    }

    .tk-listagem-detalhe .li-01,
    .tk-listagem-detalhe .li-03,
    .tk-listagem-detalhe .li-05,
    .tk-listagem-detalhe .li-06,
    .tk-listagem-detalhe .li-07,
    .tk-listagem-detalhe .li-08,
    .tk-listagem-detalhe .li-09 {
        /*fix mobile
            display: none;
            */
    }

    .tk-lista-column ul li,
    .tk-lista-title ul li {
        min-width: 0 !important;
    }
    .tk-lista-title ul li.li-10,
    .tk-lista-column ul li.li-10 {
        max-width: 80px;
    }
    .tk-lista-title ul li.li-04,
    .tk-lista-column ul li.li-04 {
        max-width: 100px;
    }
    .tk-lista-column ul {
        padding-top: 0;
        padding-bottom: 0;
        align-items: center;
    }
    .tk-lista-column ul li.li-11 {
        height: 40px;
        max-width: 25px;
    }
    .tk-lista-options-menu ul {
        align-items: flex-start;
    }
    .tk-lista-options-menu ul li {
        opacity: 1;
    }
    .tk-reg-status-inactive span,
    .tk-reg-status-active span {
        max-width: 50px;
        margin: 0 auto;
    }
    .tk-lista-title ul li.li-04,
    .tk-lista-column ul li.li-04 {
        text-align: center;
    }
    .tk-lista-title ul li.li-10,
    .tk-lista-column ul li.li-10 {
        text-align: center;
    }
    .tk-lista-column ul .li-10 span::after {
        display: none !important;
    }
    .tk-lista-column ul li:not(:last-of-type) span::after {
        height: 20px;
    }
    .tk-listagem-pedido-emissao-panel .tk-aux-panel {
        display: none;
    }
}

@media all and (max-width: 640px) {
    .tk-prod-video-block {
        margin-bottom: 40px;
    }
    .tk-prod-downloads-block {
        margin-bottom: 80px;
    }
    .tk-prod-downloads {
        flex-direction: column;
    }
    .tk-prod-downloads .red-block {
        width: 100%;
        background-color: transparent;
    }
    .tk-prod-downloads .title {
        margin: 25px 0px;
        color: #3B3B3B;
    }
    .tk-prod-downloads .title::before {
        background-color: #ED1C24;
    }
    .tk-prod-downloads ul {
        width: 100%;
    }
}

@media all and (max-width: 600px) {
    #main > .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .tk-pedido-emissao-panel-bottom {
        margin-top: 0;
    }
    .tk-pedido-emissao-panel-bottom .small-panel > div {
        padding-left: 0px;
        padding-right: 0px;
        width: calc(100% - 20px);
        height: 230px;
    }
    .tk-pedido-emissao-panel-bottom .small-panel {
        width: 50%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 20px;
    }
    .tk-carregamento-form .tk-form {
        padding-right: 10px;
        padding-left: 10px;
    }
    .tk-newsletter-form .tk-form {
        padding-right: 10px;
        padding-left: 10px;
    }
    .tk-noticias-grid .small-card {
        margin-bottom: 30px !important;
    }

}
@media all and (max-width: 556px) {
    .small-card {
        margin-left: 0px !important;
        margin-right: 10px !important;
        max-width: none;
    }
    .small-card:nth-child(2n) {
        margin-right: 0 !important;
    }
    .col-3.small-card {
        -ms-flex-preferred-size: calc(50% - 10px);
        flex-basis: calc(50% - 10px);
        max-width: calc(50% - 10px);
        margin-bottom: 10px;
    }
    .tk-small-card {
        width: inherit;
        height: 272px;
    }
    .tk-products-grid .card-products-logo {
        width: 90px;
    }
    .tk-products-simple-grid .card-products-logo {
        width: 90px;
    }

    .tk-homepage-grid {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .tk-homepage-grid .tk-client {
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 30px !important;
    }
    .tk-homepage-grid .tk-client .tk-small-card {
        margin: 0;
    }
    .tk-homepage-btn .btn {
        margin: 20px auto 0 auto;
    }
}

@media all and (max-width: 502px) {
    .tk-header {
        height: 66px;
    }
    .tk-menu-item.title {
        height: 100%;
    }
    .tk-header .select2-container {
        margin-right: 5px;
    }
    .tk-header .select2.select2-container.select2-container--default {
        width: 84px !important;
    }
    .tk-header svg.tk-notifications-svg {
        width: 24px;
        height: 24px;
    }
    .tk-mobile-menu {
        margin-top: 66px;
        height: calc(100vh - 66px);
    }
    .tk-mobile-menu-button.tk-menu-item.tk-head.title {
        padding-left: 18px;
        padding-right: 18px;
    }
    .tk-mobile-menu-button.tk-menu-item.tk-head.title svg {
        width: 24px;
        height: 24px;
    }
    .tk-pedido-emissao-panel .inner-panel .small-panel:not(:last-of-type) {
        /* margin-bottom: 30px; */
    }
    .tk-pedido-emissao-panel-bottom .small-panel > div {
        /* width: 160px; */
        width: calc(100% - 20px);
        height: 230px;
    }
    .tk-carregamento-form .tk-button-group{
        flex-direction: column;
    }
    .tk-alert {
        width: 100%;
    }
    .tk-alert .tk-button-group {
        justify-content: center;
    }
    .tk-alert .tk-button-group .btn,
    .tk-remove-confirmation .btn  {
        font-size: 13px;
        min-width: 100px;
    }
    .tk-remove-confirmation {
        width: 100%;
        padding: 20px 15px 10px 25px !important;
    }
    .tk-remove-confirmation span {
        font-size: 16px;
    }
    .tk-pedido-emissao-panel-bottom .small-panel {
        width: 50%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 20px;
    }
    .tk-pedido-emissao-panel .inner-panel .small-panel {
        margin-left: 0;
        margin-right: 0px;
        width: calc(50% - 10px);
    }
    .tk-pedido-emissao-panel .inner-panel .small-panel:nth-of-type(even) {
        margin-right: 10px;
    }
}

@media all and (max-width: 450px) {
    .tk-top-actions {
        font-size: 13px;
    }
    .tk-small-card {
        height: 232px;
    }
    .bottom-half-circle {
        bottom: -75%;
    }
    .tk-products-grid .card-products-logo {
        width: 70px;
    }
    
    .tk-header {
        padding: 0px 10px;
    }
    .tk-header a, .tk-header svg.tk-logo {
        width: 95px;
        height: 34px;
    }
    #tk-personal-area-content {
        margin-right: 5px;
    }
    #tk-personal-area-content .tk-hello-text-select {
        max-width: 80px;
    }
    
    .tk-prod-top img {
        float: none;
        display: block;
        margin: 0px auto 40px auto;
    }
    .tk-prod-top button {
        float: none;
        display: block;
        margin: 20px auto;
    }
    .tk-prod-video-block {
        margin-bottom: 0px;
    }
    .tk-prod-video {
        flex-direction: column;
    }
    .tk-prod-video .logo {
        width: 100%;
        position: relative;
        right: 0;
        bottom: 0;
        margin: 0 auto;
    }
    .tk-prod-slider .slick-slide:not(:last-of-type) {
        margin-right: 0;
    }
}

@media all and (max-width: 375px) {
    #main {
        margin-top: 86px;
    }
    #main > .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .small-card {
        max-width: none !important;
        margin-right: 10px !important;
        margin-left: 0px !important;
        margin-bottom: 15px !important;
        width: 165px;
    }
    .small-card:nth-child(2n) {
        margin-right: 0 !important;
    }
    .small-card.col-3 {
        -ms-flex-preferred-size: calc(50% - 10px);
        flex-basis: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    .tk-small-card {
        width: 165px;
        height: 189px;
    }
    .bottom-half-circle {
        width: 120%;
        height: 100%;
        bottom: -72%;
    }
    .bottom-half-circle::before {
        width: 120%;
        height: 128%;
        bottom: -43px;
    }
    .tk-products-simple-grid .card-svg.t-restaurant-svg {
        background-size: 145px;
    }
    .tk-products-simple-grid .card-svg.t-educacao-svg {
        background-size: 125px;
    }
    .tk-products-simple-grid .card-svg.t-ensino-svg {
        background-size: 135px;
    }
    .tk-products-simple-grid .card-svg.t-car-svg {
        background-size: 145px;
    }
    .tk-products-simple-grid .card-products-logo {
        width: 60px;
    }
    .tk-products-grid .card-products-logo {
        width: 60px;
    }
    .tk-products-grid .card-svg {
        background-size: 145px;
    }
    .tk-pedido-emissao-panel-bottom .small-panel {
        width: calc(50% - 10px);
        margin-right: 20px;
        margin-left: 0;
        margin-top: 20px;
        height: 180px;
    }
    .tk-pedido-emissao-panel-bottom .small-panel > div {
        width: 100%;
    }
    .tk-pedido-emissao-panel .inner-panel .small-panel {
        width: calc(50% - 10px);
        margin-right: 10px;
        margin-left: 0;
    }
    .tk-pedido-emissao-panel-bottom .small-panel:nth-child(2n),
    .tk-pedido-emissao-panel .small-panel:nth-of-type(odd) {
        margin-right: 0 !important;
    }
    
    .tk-pedido-emissao-panel .inner-panel .small-panel:not(:last-of-type) {
        margin-bottom: 0;
    }
}

@media all and (max-width: 374px) {
    .small-card.col-3 {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
        margin-right: 0 !important;
    }
    .tk-small-card {
        width: 100%;
        height: 390px;
    }
    .tk-products-grid .card-products-logo {
        width: 110px;
    }
    .bottom-half-circle {
        bottom: -72%;
    }
    .bottom-half-circle::before {
        bottom: -93px;
    }
    .tk-products-simple-grid .card-products-logo {
        width: 110px;
    }
    .tk-products-simple-grid .card-svg.t-restaurant-svg {
        background-size: 325px;
    }
    .tk-products-simple-grid .card-svg.t-educacao-svg {
        background-size: 325px;
    }
    .tk-products-simple-grid .card-svg.t-ensino-svg {
        background-size: 325px;
    }
    .tk-products-simple-grid .card-svg.t-car-svg {
        background-size: 325px;
    }
    .tk-products-simple-grid .card-products-logo {
        width: 110px;
        bottom: 30px;
    }
}

@media all and (max-width: 320px) {
    .small-card.col-3 {
        margin-right: 0 !important;
    }
    .tk-small-card {
        height: 310px;
    }
    .bottom-half-circle::before {
        bottom: -70px;
    }
    .tk-small-card.prod-info:hover .bottom-half-circle {
        width: 200%;
    }
    .tk-products-simple-grid .card-products-logo {
        bottom: 14px;
    }
    .tk-products-simple-grid .card-svg.t-restaurant-svg {
        background-size: 235px;
    }
    .tk-products-simple-grid .card-svg.t-educacao-svg {
        background-size: 235px;
    }
    .tk-products-simple-grid .card-svg.t-ensino-svg {
        background-size: 235px;
    }
    .tk-products-simple-grid .card-svg.t-car-svg {
        background-size: 235px;
    }
}
