/* 
    Stili generali
*/

body{
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6, p, input{
    font-family: 'Raleway', sans-serif;
}

input[type="text"], .iatk_select, input[type="password"] {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 5px;
    padding: 10px 15px;
    line-height: 1.2;
    color: #000;
    height: auto;
    text-align: left;
}

.iatk_select{
    padding-right: 2rem;
}

.container_search{
    position: relative;
}
.container_submit{
    margin-top: 1.5rem;
}
.container_submit input, .container_submit button{
    margin-right: 5px;
}
.container_search input[type="text"] {
    width: 100%;
    padding-right: 4rem !important; 
    margin-bottom: 1rem;
    border-radius: 5px;
    padding: 10px 15px;
    line-height: 1.2;
    color: #000;
    height: auto;
}
.container_search button {
    position: absolute;
    top: 0;
    right: 0.6rem;
    z-index: 2;
    height: calc(100% - 1rem);
    width: 3rem;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0 5px 5px 0;
    font-size: 1.6rem;
    color: #fff;
    background-color: #AA2119;
    transition: all 0.2s;
    cursor: pointer;
}

.container_search button:hover{
    background-color: #922119;
}

input.advanced_search {

}


/* 
    Layout
*/

.app-dashboard {
    height: 100vh;
    -js-display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.divisorio_title{
    margin-bottom: 1rem;
    margin-top: 1rem;
    border-color: #ccc;
}

.home .divisorio_title:not(.line_title) {
    margin-bottom: 0rem;
    margin-top: 30px;
    max-width: calc(100% - 1.9rem);
}

#news_0{
    margin-top: 15px !important;
}

.container_news{
    padding: 30px;
    background-color: #fff;
    margin-top: 30px;
    border-radius: 5px;
}
.latk_news:last-of-type .divisorio_title{
    display: none;
}

.hide-large{
    display: none;
}

a.navigation_link {
    margin-top: 5px;
    display: inline-block;
    background-color: #767676;
    border-radius: 5px;
    color: #fff !important;
    padding: 5px 15px 5px 5px;
    font-size: 0.8rem;
    transition: all 0.2s;
    white-space: nowrap;
    line-height: 1.4;
}
a.navigation_link.return{
    padding: 5px 5px 5px 15px;
}
a.navigation_link:hover{
    background-color: #922119;
}

/*table.ui-jqgrid-btable, table.ui-jqgrid-htable{
    width: 100% !important;
}*/
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    border: 1px solid #999;
    background: #dadada !important;
    font-weight: normal;
    color: #212121;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background: #f5eeee !important;
    font-weight: 600;
    border-color: #aaa;
}
.ui-jqgrid .ui-jqgrid-htable .ui-th-div {
    margin-top: 0;
    padding: 7px;
}
.iatk_ico_scheda {
    background: none;
}
.iatk_ico_scheda:after{
    font-family: "dorigo_icon";
    content: '\e809';
    font-size: 1.1rem;
    line-height: 1.6;
}
.iatk_ico_track {
    background: none;
}
.iatk_ico_track:after{
    font-family: "dorigo_icon";
    content: '\e812';
    font-size: 1.2rem;
    line-height: 1;
}
.iatk_ico_stato {
    background: none;
}
.iatk_ico_stato:after{
    font-family: "dorigo_icon";
    content: '\e808';
    font-size: 1.1rem;
    line-height: 1.6;
}

.ui-jqgrid .ui-jqgrid-pager, .ui-jqgrid .ui-jqgrid-view {
    max-width: 100%;
    overflow: auto;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    background: #dedede;
    border: 1px solid #aaa;
}

table thead {
    /*     background: #f5eeee !important;*/
}

table tbody tr:nth-child(2n){
    border-bottom: 1px solid #aaa;
}
.ui-jqgrid .ui-jqgrid-toppager .ui-pager-control, .ui-jqgrid .ui-jqgrid-pager .ui-pager-control{
    height: auto;
}
span.s-ico{
    margin-left: 4px;
}
.ui-jqgrid{
    overflow: auto;
    /*width: 100% !important;*/
    margin-top: 0.5rem;
}

.ui-jqgrid .loading{
    background-image: url(../images/spinner.svg) !important;
    background-size: 2rem !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: #fff !important;
    height: 2rem;
    width: 2rem;
    color: transparent !important;
    border-radius: 5px;
    border: 2px solid #aaa;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
}

.button{
    color: #fff !important;
    background-color: #AA2119;
    transition: all 0.2s;
    border-radius: 5px;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}
.button:hover{
    background-color: #922119;
}

.app-dashboard-body {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    -js-display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.app-dashboard-top-nav-bar {
    -js-display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #fff;
    height: auto;
    width: 100%;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    border-bottom: 1px solid #AA2119;
    z-index: 999;
}

.app-dashboard-top-nav-bar:before{
    content:'';
    position: absolute;
    top: 0;
    left: 0;
/*     background: linear-gradient(to right,#0070BA,#0070BA 20%,#EB5C24 20%,#EB5C24 40%,#52AF31 40%,#52AF31 60%,#692383 60%,#692383 80%,#DC0715 80%,#DC0715 100%); */
    background: linear-gradient(to right,#AA2119,#AA2119 100%);
    height: 4px;
    width: 100%;
    z-index: 9;
}

.app-dashboard-top-nav-bar .menu-icon {
    vertical-align: text-bottom;
}

.menu-icon::after {
    background: #6f6f6f;
    box-shadow: 0 7px 0 #6f6f6f,0 14px 0 #6f6f6f;
}

.app-dashboard-logo {
    color: #fefefe;
    text-transform: uppercase;
    font-weight: bold;
}

.app-dashboard-logo img {
    padding: 1rem 0;
    margin-top: 4px;
    max-height: 5.4rem;
    padding-left: 1rem;
    min-width: 7rem;
    height: auto;
}

.container_sponsor{
    width: 10rem;
    position: absolute;
    left: 16rem;
    top: 0;
}

.container_sponsor img{
    max-height: 5.5rem;
    max-width: 100%;
    padding: 0.8rem;
    margin-top: 3px;
}

.app-dashboard-search-bar-container {
    position: relative;
}

.app-dashboard-search {
    background: #41525e;
    border: 0;
    margin-bottom: 0;
    color: #fefefe;
}

.app-dashboard-search:active, .app-dashboard-search:focus {
    background: #222b31;
}

.app-dashboard-search-icon {
    position: absolute;
    color: #fefefe;
    right: 1rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.app-dashboard-top-bar-actions {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -js-display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: flex-end;
}



.iatk_menu{
    margin-right: 1rem;
}

a.iatk_menu_current_ord{
    padding: 2.35rem 1.5rem 2.35rem 0 !important;
}
.client_name{
    position: absolute;
    top: 3.6rem;
    left: 1.75rem;
    font-size: 0.6rem;
    color: #922119;
    line-height: 1.3;
}
.summary_order{
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #ccc;
}

.summary_order ul{
    white-space: nowrap;
    color: #4a4a49;
    display: block;
    position: static;
    border: none;
    margin: 0;
    list-style: none;
    cursor: pointer;
}

.summary_order ul li:first-of-type{
    margin-bottom: 5px;   
}

.summary_order ul li strong{
    margin-right: 5px;
}

.iatk_menu_wish{
    padding-right: 2px !important;
}

ul.iatk_submenu{
    border-color: #AA2119;
    border-top: none;
    left: auto !important;
    right: -1rem !important;
    border-radius: 0 0 5px 5px;
}

ul.iatk_submenu li>a{
    padding: 1rem;
}

ul.iatk_submenu .log_out{
    background-color: #AA2119;
    color: #fff;
}

.app-dashboard-top-bar-actions button {
    margin-bottom: 0;
    margin-right: 2rem;
}

.app-dashboard-top-bar-actions button.hollow {
    border-color: #fefefe;
    color: #fefefe;
}

.app-dashboard-top-bar-actions button.hollow:hover {
    background: #fefefe;
    color: #1779ba;
}

.app-dashboard-top-bar-actions .fa-info-circle {
    color: #fefefe;
    font-size: 1.5rem;
}

.app-dashboard-sidebar {
    background-color: #fff;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s ease;
}

a.is-active{
    font-weight: 600;
    position: relative;
}

a.is-active:after{
    content: '\e806';
    position: absolute;
    right: 0.5rem;
    top: 1.5rem;
    font-family: "dorigo_icon";
    width: auto;
    z-index: 3;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    height: auto;
    font-size: 1rem;
    color: #ababab;
}

a.is-active > i {
    color: #000;
}

.app-dashboard-sidebar .app-dashboard-sidebar-close-button {
    font-size: 14px;
}

.app-dashboard-sidebar .app-dashboard-sidebar-inner {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.app-dashboard-sidebar .app-dashboard-sidebar-inner > ul {
    padding-top: 1.5rem;
}


.app-dashboard-sidebar .app-dashboard-sidebar-inner .menu > li > a {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 1.1rem 1.5rem;
    font-size: 1.1rem;
    position:relative;
}

.app-dashboard-sidebar .app-dashboard-sidebar-inner .menu > li > a i {
    font-size: 105%;
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translate(0,-50%);
    -webkit-transform: translate(0,-50%);
}

.app-dashboard-sidebar .app-dashboard-sidebar-inner .menu > li > a span {
    display: inline-block;
    padding-left: 2.2rem;
}

.app-dashboard-sidebar .app-dashboard-sidebar-inner .menu > li > a i.icon-truck-1 {
    margin-top: -1px;
}

.app-dashboard-sidebar .app-dashboard-sidebar-inner .menu > li > a:hover, .menu > li > ul > li > a:hover:not(.log_out) {
    background-color: #f5eeee;
}

.menu > li > ul > li:last-of-type > a:not(.log_out){
    border-radius: 0 0 5px 5px;
}

h4, h5{
    font-size: 1.5rem !important;
    margin-bottom: 0 !important;
}

h6{
    font-size: 1.2rem !important;
    margin-bottom: 0 !important;
}


li.is-dropdown-submenu-parent:hover > a {
    color: #922119;
}

.app-dashboard-sidebar .fa.large {
    font-size: 1.5rem;
    width: 40px;
}

.reveal-for-medium .app-dashboard-open-sidebar {
    display: none;
}


.app-dashboard-sidebar-footer {
    background: rgba(42, 57, 79, 0.8);
    bottom: 0;
    left: 0;
    padding: 1rem;
    position: absolute;
    width: 100%;
}

.position-left.is-transition-push::after{
    box-shadow: none;
    background-color: #bcbcbc;
}

.app-dashboard-open-sidebar {
    text-align: center;
}

.app-dashboard-body-content {
    transition: all 0.5s ease;
    overflow-y: auto;
    -webkit-flex: 1 1 0;
    -ms-flex: 1 1 0px;
    flex: 1 1 0;
    padding: 1.5rem 20px;
    background-color: #e9e9e9;
}

.iatk_menu>li>a {
    padding-bottom: 2.4rem !important;
    padding-top: 2.4rem !important;
}



footer{
    background-color: #767676;
    position: fixed;
    bottom: 0;
    right: 0;
    text-align: center;
    width: 100%;
    color: #fff;
    padding: 10px 20px;
    z-index: 999;
}
footer p{
    margin: 0;
    font-size: 13px;
}
@media screen and (min-width: 40em) and (max-width: 1200px) {
    .app-dashboard.shrink-medium .app-dashboard-top-nav-bar .menu li a span:not(.is-submenu):not(.user_name) {
        display: none;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }
}
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .app-dashboard.shrink-medium .app-dashboard-close-sidebar, .app-dashboard.shrink-medium .app-dashboard-sidebar-text {
        display: none;
    }
    .app-dashboard.shrink-medium .app-dashboard-open-sidebar {
        display: block;
    }
    .app-dashboard.shrink-medium .app-dashboard-sidebar {
        width: 66px;
    }
    .app-dashboard.shrink-medium .app-dashboard-sidebar .fa.large {
        width: auto;
    }
    .app-dashboard.shrink-medium .off-canvas-content {
        margin-left: 66px;
        width: calc(100% - 66px);
    }
    .app-dashboard.shrink-medium .navigation {
        margin-top: 2rem;
        text-align: center;
    }
    a.is-active i{
        color: #000;
    }
    ul.iatk_submenu {
        right: -1rem !important;
        left: initial !important;
    }
    .app-dashboard.shrink-medium .menu.vertical > li > a {
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .app-dashboard-sidebar .app-dashboard-sidebar-inner .menu > li > a {
        font-size: 1.6rem;
    }
    .app-dashboard.shrink-medium .menu li::after {
        display: none;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }
    a.iatk_menu_utente, a.iatk_menu_setting, .iatk_menu_current_ord{
        padding: 1.7rem 1.2rem !important;
    }
    a.iatk_menu_wish {
        padding: 1.7rem 0 1.7rem 1.2rem !important;   
    }
    .app-dashboard.shrink-medium .menu li a {
        padding: 0.75rem;
    }
    .app-dashboard.shrink-medium .menu li a svg {
        margin: 0;
    }
}

@media screen and (max-width: 40em){
    .app-dashboard.shrink-medium .menu li a span.parent-sub, .app-dashboard.shrink-medium .menu li a span.user_name, .app-dashboard.shrink-medium .menu li a span.current_order {
        display: none;
        opacity: 0;
    }
    .app-dashboard-logo img{
        max-width: 9rem;
    }
    .app-dashboard-top-nav-bar > .medium-2{
        min-width: 12rem;
    }
    a.iatk_menu_utente, a.iatk_menu_setting, .iatk_menu_current_ord {
        padding: 1.7rem 1.2rem !important;
    }
    a.iatk_menu_wish {
        padding: 1.7rem 0 1.7rem 1.2rem !important;   
    }
    .iatk_menu{
        margin-right: 0;
    }
    .iatk_menu>li:first-of-type > a{
        padding-left: 0 !important;
    }
    ul.iatk_submenu {
        right: -0.5rem !important;
        left: initial !important;
    }
}

@media print, screen and (min-width: 64em) {
    .app-dashboard.shrink-large .app-dashboard-close-sidebar, .app-dashboard.shrink-large .app-dashboard-sidebar-text {
        display: none;
    }
    .app-dashboard.shrink-large .app-dashboard-open-sidebar {
        display: block;
    }
    .app-dashboard.shrink-large .app-dashboard-sidebar {
        width: 80px;
    }
    .app-dashboard.shrink-large .app-dashboard-sidebar .fa.large {
        width: auto;
    }
    .app-dashboard.shrink-large .off-canvas-content {
        margin-left: 80px;
        width: calc(100% - 80px);
    }
    .app-dashboard.shrink-large .navigation {
        margin-top: 2rem;
        text-align: center;
    }
    .app-dashboard.shrink-large .menu.vertical > li > a {
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .app-dashboard.shrink-large .menu li::after {
        display: none;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }
    .app-dashboard.shrink-large .menu li a {
        padding: 0.75rem;
    }
    .app-dashboard.shrink-large .menu li a svg {
        margin: 0;
    }
    .app-dashboard.shrink-large .menu li a span {
        display: none;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }
}

@media screen and (max-width: 1130px){
    .ui-pager-table>tbody>tr>td:first-of-type{
        width: 60px;
    }
}

@media screen and (max-width: 1024px){
    .container_submit{
        margin-top: 0;
    }
    a.is-active{
        background-color: #f5eeee;
    }
    a.is-active:after{
        content: '';
    }
    .hide-large{
        display: block;
        width: 100%;
        height: 1rem;
        float: left;
    }
}

@media screen and (max-width: 1200px){

    .client_name {
        top: 2.4rem;
        right: 100%;
        left: initial;
        margin-right: 3px;
    }

}

@media screen and (max-width: 1023px) and (min-width: 640px){

    .app-dashboard-sidebar .app-dashboard-sidebar-inner .menu > li > a i {
        position: static;
        transform: none;
        -webkit-transform: none;
        margin-bottom: 2px;
        margin-right: 0;
    }

    .app-dashboard-sidebar .app-dashboard-sidebar-inner .menu > li > a {
        text-align: center;
    }
    .app-dashboard.shrink-medium #app-dashboard-sidebar .menu li a span{
        font-size: 9px;
        padding: 0;
        text-align: center;
    }

}

@media screen and (max-width: 900px){
    .ui-pager-table>tbody>tr>td:first-of-type{
        width: 30px;
    }
    .ui-pager-table>tbody>tr>td:last-of-type{
        display: none;
    }
}

@media screen and (max-width: 880px){
    .container_sponsor{
        display: none;
    }
}

@media screen and (max-width: 767px){
    a.navigation_link {
        color: transparent !important;
        overflow: hidden;
        width: 1.8rem;
        font-size: 0px;
        padding: 5px !important;
    }
    a.navigation_link i {
        color: #fff !important;
        font-size: 13px;
    }

    a.navigation_link.return i:before {
        padding-bottom: 2px;
    }   
}

@media screen and (max-width: 750px){

    .client_name {
        display: none;
    }

}

@media screen and (max-width: 640px){
    .button_custom{
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 530px){
    .position-left.reveal-for-medium~.off-canvas-content{
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 440px){

    a.iatk_menu_utente, a.iatk_menu_setting, .iatk_menu_current_ord {
        padding: 1.7rem 0.5rem !important;
    }
    a.iatk_menu_wish {
        padding: 1.7rem 0.5rem 1.7rem 0.5rem !important;
    }
    .dropdown.menu > li.is-dropdown-submenu-parent > a::after{
        display: none;
    }
    a.iatk_menu_current_ord {
        padding: 1.7rem 0.5rem 1.7rem 0 !important;
    }
    .menu>li>a i, .menu>li>a img, .menu>li>a svg{
        margin-right: 0 !important;
    }