@media only screen and (max-device-width: 640px) and (min-device-width: 480px) and (orientation: landscape){
    
.page-cart .view-search-tires .views-field-title span, .view-commerce-cart-form .views-field-line-item-title span, .view-commerce-cart-summary .views-field-line-item-title span {
    white-space: normal;
}

/*.page-cart .line-item-summary {
    float: left;
    text-align: left;
}*/

/*.page-cart .line-item-summary .line-item-total {
    float: left !important;
    text-align: left !important;
}*/

}


/* General Hide burger menu */
ul.menu.mobile_burger {
    display: none;
}

div#burger_menu {
    display: none;
}

.popup_sticker p {
    margin-top: 27%;
    margin-left: 22%;
}

div#popup-message-window {
    position: absolute !important;
    width: 33% !important;
    height: fit-content !important;
    top: 33% !important;
    left: 33% !important;
    overflow: hidden !important;
}

.popup_sticker {
    background: url(http://b2b.intramoto.gr/modules/popup_message/sticker_popup.png) !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

div#block-block-3 {
    font-size: 13px;
}



.pager li>a, .pager li>span {
    display: inline-block;
    padding: 12px 28px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-size: 13px;
    margin-top: 10px;
}

/* Tablet */
@media only screen and (max-width: 980px) {

.page-tire-front .region.region-sidebar-first.grid_4 .block-facetapi {
    display: none;
}

.page-tire-front .region.region-sidebar-first.grid_4 {
    width: 100%;
    text-align: center;
}

    div#burger_menu {
    display: block;
}

    div#block-tires-tires-block-navigation-menu ul.menu:nth-child(1) {
    display: none;
}

div#burger_menu {
    font-size: 25px;
    float: left;
    margin: 0 auto;
    text-align: center;
    width: 15%;
}

.pull-right .menu {
    display: block !important;
}

ul.menu.mobile_burger {
    width: 100%;
    float: left;
}

ul.menu.mobile_burger li {
    width: 100%;
}

div#burger_menu i {
    color: #bf0000;
}

}

@media screen and (min-width: 980px) and (max-width: 1170px){
.page-tire-front .container_12 .grid_8 {
    width: 65%;
}

.page-tire-front .container_12 .grid_4 {
    width: 150px;
}
}

/* Iphone S5 */
@media screen and (device-aspect-ratio: 40/71) {
    
    .page-tire-front thead tr th:nth-child(5) {
    display: none;
}

.page-tire-front tbody tr td:nth-child(5) {
    display: none;
}

.page-tire-front td.views-field-field-tire-expected-date.views-align-center {
    /*width: 29px !important;
    margin-left: 7px;*/
    white-space: nowrap;
}

.view-search-tires .view-content tbody .views-field-nothing a {
    background-position: center;
}
    
    
}

/* IPAD CSS */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
    
    .page-tire-front td.views-field-title.views-align-left.fixedsys-excelsior-font {
    float: left;
    width: 290px;
}

.page-tire-front .view-search-tires .views-field-title span, .view-commerce-cart-form .views-field-line-item-title span, .view-commerce-cart-summary .views-field-line-item-title span {
    white-space: unset;
}
    
    
    
}


@media screen and (max-width: 750px){

div#popup-message-window {
    left: 8% !important;
}

}

@media screen and (max-width: 1100px){

div#popup-message-window {
    left: 20% !important;
}

}
/* MOBILE */
@media only screen and (max-width: 500px) {
    
    .page-cart table thead tr th:nth-child(5) {
    display: none;
}

.view-search-tires .views-field-title,
.view-commerce-cart-form .views-field-line-item-title,
.view-commerce-cart-summary .views-field-line-item-title {
  font-size: 13px !important;
}

.view-search-tires .views-field-title,
.view-commerce-cart-summary .views-field-line-item-title {
  font-size: 13px !important;
}

.page-cart tbody tr td:nth-child(5) {
    display: none;
}


   .page-tire-front .views-exposed-widget.views-reset-button {
    margin-top: 3px;
}

.page-tire-front .views-exposed-form .views-exposed-widget {
    float: left;
    padding: .5em 0em 0 0;
}

    .page-tire-front .views-exposed-widget.views-reset-button a {
    margin-top: 1.3em !important;
}

    .page-tire-front .front.not-logged-in #sidebar-first {
    background-size: 90%;
    background-position: top;
}

    .page-tire-front table.commerce-price-formatted-components {
    width: 100% !important;
}

/*
.page-cart .line-item-summary .line-item-total {
    width: 100% !important;
    text-align: left !important;
    float: left !important;
}*/

    .page-tire-front form#views-form-commerce-cart-form-default thead th:nth-child(4) {
    display: none;
}

.page-tire-front form#views-form-commerce-cart-form-default tbody td:nth-child(5) {
    display: none;
}

input#edit-cancel {
    width: 100%;
    margin-top: 10px;
}

input#edit-continue {
    width: 100%;
}

    .region.region-sidebar-first.grid_4 {
    margin-left: 0px;
}

div#popup-message-window {
    left: -25% !important;
    transform: scale(0.5,0.5);
}

div#popup-message-background {
    display: none !important;
}

    .page-cart input#edit-checkout {
    float: left !important;
    margin-top: 10px;
    width: 100%;
}

.page-cart input#edit-submit {
    width: 100%;
}

    div#burger_menu {
    display: block;
}

    div#block-tires-tires-block-navigation-menu ul.menu:nth-child(1) {
    display: none;
}

    div#block-block-3 {
    float: left;
    text-align: left !important;
    margin-top: 10px;
}



.pull-right .menu {
    display: block !important;
}

ul.menu.mobile_burger li {
    width: 100%;
}

div#burger_menu {
    font-size: 25px;
    float: left;
    margin: 0 auto;
    text-align: center;
    width: 15%;
    margin-top:10px;
}

.pull-right {
    width: 85%;
}

div#burger_menu i {
    color: #bf0000;
}

div#block-system-main .region.region-sidebar-first.grid_4 .block.block-facetapi {
    display: none;
}

div#block-system-main .grid_8 .view-header {
    margin-top: 20px;
}


.view-search-tires .view-content thead th {
    font-size: 14px;
    /*max-width: 85px !important;*/
}

/*
.page-tire-front table.views-table thead tr {
    float: left;
    width: 100%;
}*/

.page-tire-front table.views-table thead th {
    font-size: 8px !important;
}

.page-tire-front thead tr th:nth-child(2) {
    font-size: 8px !important;
}

.page-tire-front tbody td {
    font-size: 13px !important;
}

#block-system-main > div > div.grid_8 > div > div.view-content {
    overflow-x: scroll;
    width: 100vw;
    margin-left: -20px;
}
/* Fix responsive table */

/*
.page-tire-front tbody td {
    width: 45px !important;
    float: left;
    word-break: break-word;
}*/

/*
.page-tire-front tbody span {
    float: left;
    word-break: break-all;
    width: 60px !important;
}*/


.page-tire-front span.glyphicon.glyphicon-ok {
    width: 10px !important;
}

/*
.page-tire-front td.views-field-title.views-align-left.fixedsys-excelsior-font {
    width: 400px !important;
}*/

#block-system-main > div > div.grid_8 > div > div.view-content > table {
    width: 706px;
}

.page-tire-front td.views-field-nothing.views-align-center {
    width: 10px !important;
}

.page-tire-front th.views-align-center.views-field-nothing {
    width: 40px !important;
}


.page-tire-front tbody tr td:nth-child(5) {
    /*width: 45px !important;
    margin-left: -1%;*/
    white-space: nowrap;
}

.view-search-tires .views-field-title span, .view-commerce-cart-form .views-field-line-item-title span, .view-commerce-cart-summary .views-field-line-item-title span {
    white-space: pre-wrap;
}

/*
.page-tire-front span.glyphicon.glyphicon-remove {
    margin-left: -25px;
}*/

.page-tire-front td.views-field-php.views-align-center {
    width: 23px !important;
    margin-left: -1%;
}

.page-tire-front tbody tr td:nth-child(6) {
    width: 35px !important;
}

.page-tire-front td.views-field-field-tire-expected-date.views-align-center {
    /*width: 29px !important;
    margin-left: 10px;*/
    white-space: nowrap;
}

.page-tire-front tbody tr td:nth-child(7) {
    /*font-size: 10px !important;
    width: 33px !important;
    word-break: inherit;*/
    white-space: nowrap;
}


.page-tire-front td.views-field-php.views-align-center strong {
    font-size: 11px;
}

.view-search-tires .view-content thead th.views-field-nothing {
    background-size: contain;
}

.view-search-tires .view-content tbody .views-field-nothing a {
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: right;
}

/*
.page-tire-front table.views-table {
    margin-left: -4%;
    width: 109% !important;
}*/

.view-commerce-cart-form .views-field-line-item-title {
    font-size: 13px;
}

}



/* POP UP FIX */
.popup_sticker p {
    margin-top: 34% !important;
    margin-left: 18% !important;
}
/*  and( min-width:1400px) */

div#popup-message-window {
min-width: 550px;
}

/* LANDSCAPE MOBILE */

@media only screen and (min-device-width: 480px) 
                   and (max-device-width: 640px) 
                   and (orientation: landscape) {

/*
.page-tire-front .view-search-tires .views-field-title span, .view-commerce-cart-form .views-field-line-item-title span, .view-commerce-cart-summary .views-field-line-item-title span {
    white-space: normal;
}*/

.view-search-tires td {
    white-space: nowrap !important;
}

#block-system-main > div > div.grid_8 > div > div.view-content { 
    overflow-x: scroll;                                          
    width: 100vw;                                                
    margin-left: -20px;                                          
}   

.view-search-tires .view-content thead th:nth-child(2) {
    font-size: 13px;
}                                                             

/*
.page-tire-front table.views-table tr td {
    float: left;
    width: 70px;
    word-break: break-word !important;
}

.page-tire-front thead tr th {
    width: 70px !important;
    float: left;
    font-size: 10px !important;
}

.page-tire-front .views-align-right {
    text-align: left;
}

.page-tire-front td.views-field-field-tire-product-field-tire-dot.views-align-center {
    width: 65px;
}

.page-tire-front td.views-field-php.views-align-center {
    width: 65px;
}

.page-tire-front thead tr th:nth-child(6) {
    width: 50px !important;
}

.page-tire-front thead tr th:nth-child(5) {
    width: 55px !important;
}

.page-tire-front td.views-align-right {
    width: 65px !important;
    margin-left: 10px;
}

.page-tire-front tbody td:nth-child(5) {
    margin-left: -8px;
}

.page-tire-front tbody td:nth-child(7) strong {
    margin-left: -18px !important;
}

.page-tire-front tbody td:nth-child(8) {
    margin-left: -18px;
}

.page-tire-front tbody td:nth-child(9) {
    margin-left: 10px;
    width: 50px !important;
}

.page-tire-front thead tr th {
    min-height: 52px;
    max-height: 50px !important;
}

.page-tire-front .views-exposed-widget.views-reset-button {
    margin-top: -3px;
}*/


}

/* Portrait Ipad ETC */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  { 
    
    .page-tire-front #block-system-main .grid_8 {
    width: 100%;
}

.page-tire-front .views-exposed-widget.views-submit-button {
    padding: 0;
}

.page-tire-front .views-exposed-widget.views-reset-button {
    padding: 0;
    margin-top: -2px;
}

.page-tire-front #block-system-main .view-content {
    margin-left: -3%;
}

.page-tire-front div#edit-search-api-views-fulltext-wrapper {
    padding: 0;
    width: 100%;
}

.page-cart .line-item-summary {
    float: right;
    text-align: right !important;
}

.line-item-total {
    text-align: right !important;
}
    
}
