/* header */

@media (max-width:991px) {

    #header_wrapper #logomagazinfermieri, #header_wrapper .nav-button[data-wrapper='seting'] {
        display: none !important;
    }

    #header_wrapper #logoimgmagazin {
        display: block !important;
        margin-left: 0px !important;
        padding-left: 0px !important;
    }
    
    #header_wrapper #logoimgmagazin a {
        margin-left: 10px !important;
    }

    #header_wrapper #nav-mobile {
        position: absolute !important;
        background-color: #F36E21 !important;
        box-shadow: none !important;
        height: 47px !important;
    }
    
    #header_wrapper .nav-button, #header_wrapper .nav-button-acount {
        color: #fff !important;
        width: auto !important;
    }
    
    #header_wrapper .nav-button {
        padding: 0px !important;
    }
    
    #header_wrapper .nav-button-acount, #header_wrapper .nav-button[data-wrapper='cart'] {
        float: right !important;
        margin-left: 5px !important;
        margin-right: 6px !important;
    }
    
    #header_wrapper #_mobile_logo_new {
    padding-top: 5px !important;
    background: none !important;
    padding-bottom: 1px !important;
    max-width: 50% !important;
    margin-left: 40px !important;
        position: relative !important;
        z-index: 5 !important;
    }
    
    #header_wrapper #logoimgmagazin svg {
        max-height: 35px !important;
    }
    
    
    #header_wrapper #_mobile_cart span#count_cart_mobile {
        background-color: #1a1b4a !important;
    }
    
    #header_wrapper .active.nav-button i:before {
        color: #fff !important;
    }
    
    
    #header_wrapper #_mobile_search {
        position: absolute;
        top: 0px;
        z-index: 5;
        right: 74px;
    }
    
    #header_wrapper #_mobile_search.active {
        position: fixed;
        left: 0px;
        right: 0px;
        width: 100vw;
        height: 100vh;
        background: #fff;
    }
    
    #header_wrapper #_mobile_search form {
        background: none;
        border: none;
        box-shadow: none;
    }
    
    #header_wrapper #_mobile_search.active form {
        border-bottom: solid 1px #f36e22;
        border-radius: 0px;
        margin: 12px 0px;
        padding-bottom: 5px;
        padding-left: 10px;
    }
    
    #header_wrapper #_mobile_search form input {
        display: none;
    }
    
    #header_wrapper #_mobile_search.active form input {
        display: inline-block;
        margin-top: -5px;
        font-size: 16px;
        color: #333;
    }
    
    #header_wrapper #_mobile_search form#searchbox_mobile .button-search {
        color: #fff;
        margin-top: -10px;
        margin-right: 13px;
    }
    
    #header_wrapper #_mobile_search.active form#searchbox_mobile .button-search {
        color: #f36e22;
        top: 2px;
        right: 10px;
        margin-right: 0px;
    } 
    
    #header_wrapper #_mobile_search form#searchbox_mobile .button-search .fa {
        font-size: 17px;
    }
    
    #header_wrapper #_mobile_search.active form#searchbox_mobile .button-search::before {
            content: '\f136';
            font: normal normal normal 14px/1 'Material-Design-Iconic-Font';
            font-size: 24px;
            color: #333;
            right: 40px;
            top: 6px;
            position: absolute;
    }
        
    
    #header_wrapper #_mobile_search.active form#searchbox_mobile .button-search .fa {
        font-size: 20px;
    }
    
    
    body#product #wrapper .breadcrumb .container {
        border: solid 1px #2b87c3;
        padding: 6px;
    }
    
    body#product #wrapper .breadcrumb .container ol {
        margin-bottom: -5px;
    }
    
    body#product #wrapper .breadcrumb li {
        display: none !important;
    }
    
    body#product #wrapper .breadcrumb li.last_visible  {
        display: block !important;
    }
    
    body#product #wrapper .breadcrumb li.last_visible span span {
        color: #fff;
        margin-left: 10px;
    }
    
    body#product #wrapper .breadcrumb li.last_visible span span::before {
        content: '<';
        color: #2b87c3;
        margin-right: -10px;
    }
    
    
    
       
   
    
    
/* menu */
    
    #header_wrapper #wrapper-mobile {
        bottom: 0px !important;
        z-index: 10 !important;
    }
    
    #_mobile_megamenu_vertical li.open {    
    position: fixed;
    top: 0px;
    background: #fff;
    height: 100vh;
    left: 0px;
    padding-left: 10px;
    z-index: 9;   
    }
    
    #_mobile_megamenu_vertical li.open > ul {
    padding: 0px;
    box-shadow: none !important;
    }
    
    #_mobile_megamenu_vertical li.open > ul .meniucustom-coloana-principala {
        width: 100% !important;
        margin: 20px !important;
        padding-left: 0px !important;
    }
    
    #_mobile_megamenu_vertical li.open > ul .meniucustom-coloana-principala .meniucustom-in-coloana {
        margin-left: 10px;
        margin-top: 10px;
    }
    
    #_mobile_megamenu_vertical li.open > ul .meniucustom-coloana-principala .meniucustom-in-coloana-titlu {
        margin-left: 0px;
        margin-top: 0px;
    }
    
    #_mobile_megamenu_vertical li.open .zmdi-minus:before {
        content: '\f136' !important;
    }
    
    
    #_mobile_megamenu_vertical li.open > ul .meniucustom-coloana-principala .meniucustom-in-coloana img {
        width: calc(100% - 50px) !important;
    }
    
    
    

}

/* listing */

@media (max-width:767px) {
    
    #product_list_grid #box-product-grid .item {
        height: 458px !important;
        /*min-width: 163px !important;*/
    }
    
    
    
    #box-product-grid .item article .thumbnail-container {
        width: 100% !important;
    }
    
    
    #product_list_grid #box-product-grid .item .product-thumbnail img {
        /*height: 130px !important;*/
		height: auto;
    }
    
    #product_list_grid #box-product-grid .item .arevariante {
        height: 32px !important;
    }
    
    #product_list_grid #box-product-grid article.product-miniature .reducere {
        margin-top: 15px !important;
    }
    
    #product_list_grid #box-product-grid .item .highlighted-informations {
        margin-top: 0px !important;
        bottom: 30px !important;
    }
    
    #product_list_grid #box-product-grid .item .highlighted-informations a {
        width: calc(100% - 10px) !important;
        left: 5px !important;
        padding-left: 21px !important;
        padding-top: 6px !important;
    }
    
    
    #product_list_grid #box-product-grid .item .highlighted-informations .material-icons, #product_list_grid #product .owl-item .highlighted-informations .material-icons {
        right: 7px !important;
        top: 5px !important;
    }
    
    #product_list_grid #box-product-grid .item .highlighted-informations .material-icons.second, #product_list_grid #product .owl-item .highlighted-informations .material-icons.second {
        right: 1px !important;
        top: 5px !important;
    }
    
    
    #product_list_grid #box-product-list .item {
        height: 325px !important;
    }
    
    
    #product_list_grid #box-product-list .item .left {
        width: 35% !important;
        height: 320px;
        padding-top: 50px;
    }
    
    
    #product_list_grid #box-product-list .item .middle {
        width: 60% !important;
        float: right !important;
        padding-right: 10px !important;
    }
    
     #product_list_grid #box-product-list .item .right {
        width: 60% !important;
        height: auto !important;
        border: none !important;
        padding: 0px !important;
        padding-right: 10px !important;
    }
    
    #product_list_grid #box-product-list .item .left .product-thumbnail img {
        height: auto !important;
        width: 100% !important;
    }
    
    
    #product_list_grid #box-product-list .item .middle .descriere_scurta {
        display: none !important;
    }
    
    #product_list_grid #box-product-list .item .middle .product-description .stelute {
        margin-bottom: 10px !important;
        margin-top: 0px !important;
    }
        

}


@media (max-width:446px) {
    
    #product_list_grid #box-product-grid .item {
        max-width: calc(100% - 30px) !important;
    }
    
    #product_list_grid #box-product-grid .item .highlighted-informations {
        margin-top: 0px !important;
        bottom: 40px !important;
    }
    
    #product_list_grid #box-product-grid .item .highlighted-informations a {
        width: 190px !important;
        left: calc(50% - 94px) !important;
        padding-left: 36px !important;
        padding-top: 8px !important;
    }
    
    #product_list_grid #box-product-grid .item .highlighted-informations .material-icons, #product_list_grid #product .owl-item .highlighted-informations .material-icons {
        right: 12px !important;
        top: 8px !important;
    }
    
    #product_list_grid #box-product-grid .item .highlighted-informations .material-icons.second, #product_list_grid #product .owl-item .highlighted-informations .material-icons.second {
        right: 7px !important;
        top: 8px !important;
    }
    
    
    #prodsperpage a.custom-select.select-title {
        font-size: 12px !important;
    }
    
}

/* footer */
@media (max-width:767px) {
    #footer_wrapper {
        padding-bottom: 0px !important;
    }
}

/* homepage */

@media (max-width:767px) {
    
    #nrtpageeditors #content-hp-157 {
        background-color: #ebebeb !important;
    }
    
    #content-hp-150 > div > div {
        min-width: 40% !important;
    }
    
    #nrtfootereditors {
        text-align: center !important;
    }
    
    
    #nrtpageeditors .box-nav-tab .dropdown-toggle-nav-tab {
        display: none !important;
    }
    
    #nrtpageeditors .box-nav-tab ul.dropdown-menu-nav-tab {
        display: block !important;
        background: none !important;
        position: relative !important;
        width: 100% !important;
        box-shadow: none !important;
    }
    
    #nrtpageeditors .box-nav-tab ul.dropdown-menu-nav-tab li {
        clear: none !important;
        width: auto !important;
        float: left !important;
        position: relative !important;
        margin-bottom: 5px !important;
    }
    
    #nrtpageeditors .box-nav-tab ul.dropdown-menu-nav-tab li a {
        border-bottom: 0px solid #e3e3e3 !important;
        display: block !important;
        line-height: 20px !important;
        padding: 5px 10px !important;
        background: #000 !important;
        border-radius: 5px !important;
        color: #fff !important;
        margin-left: 0px !important;
    }
    
    #nrtpageeditors .box-nav-tab ul.dropdown-menu-nav-tab li a p {
        color: #fff !important;
    }
    
    #nrtpageeditors .box-nav-tab ul.dropdown-menu-nav-tab li a.active {
        background-color: #f36e20 !important;
    }
    
    
    #index .owl-item .highlighted-informations, #product .owl-item .highlighted-informations {
        bottom: 9px !important;
    }
    
    
    #index #content-hp-23 {
        margin-top: 30px;
    }
        
    
}


@media (max-width:446px) {
    
    #content-hp-150 > div > div {
        min-width: 70% !important;
    }
    
    #index #nrtpageeditors .owl-item:nth-of-type(2n) .highlighted-informations {
        left: 5px !important;
    }
}


/* category */

@media (max-width:767px) {
    
    #category .breadcrumb.title_font {
        display: none !important;
    }
    
    
    #category .bottomdesc {
        border: none !important;
    }
    
    #category #product.catcarusel.witharrows .owl-nav.disabled {
        display: none !important;
    }
    
    #category #product.catcarusel {
        width: 100% !important;
        margin-left: 0px !important;
    }
    
    #category #product.catcarusel > section::after {
        visibility: hidden !important;
    }
    
    #category #produse-table-antet > div:nth-child(1) > hr:last-child {
        display: none !important;
    }
    
    #category #produse-table-antet h2 {
        text-align: left !important;
        margin-bottom: 10px !important;
        margin-top: 7px !important;
    }
    
    #category #produse-table-antet > div:nth-child(2) {
        margin-top: 25px !important;
        height: 70px !important;
    }
    
    #category #produse-table-antet > div:nth-child(2) > div:nth-child(1) .products-sort-order {
        margin-right: -11px !important;
    }
    
    #category #produse-table-antet > div:nth-child(2) > div:nth-child(2) .box-sort-by {
        display: inline-block !important;
        float: left !important;
        margin-left: -15px !important;
    }
    
    #category #produse-table-antet > div:nth-child(2) .click-product-list-grid {
        margin-right: 0px !important;
        margin-top: -40px !important;
    }
    
    
    #category #js-product-list .products {
        margin-top: 2px !important;
    }
    
    
    #footer-bar #bar-left-column {
        background: #1a1b4a !important;
        color: #fff;
    }
    
    #footer-bar #bar-left-column p {
        color: #fff;
    }
    
    #footer-bar #bar-left-column.active .zmdi-view-column:before {
        content: '\f136';
    }
    
    
    
    #left-column .PM_ASBlockOutput.PM_ASMobileMode .card-block {
        display: block !important;
    }
    
        

}


/* product */

@media (max-width:767px) {
    
    #product #wrapper nav.breadcrumb {
        margin-top: -5px !important;
        margin-bottom: 25px !important;
    }
    
    #product #main h4.name_detail {
        height: auto !important;
    }
    
    #product #main h4.name_detail span {
        position: relative !important;
    }
    
    
    #product #main .product-reference, #product #main .comment_anchor_content {
        font-size: 10px !important;
    }
    
    #product #main .product-reference {
        margin-bottom: 10px;
    }
    
    #product #main .images-container .product-images li:first-child:nth-last-child(1) {
        display: none !important;
    }
    
    #product #main .content-product-detail.col-lg-3 {
        padding-left: 7px !important;
    }
    
    #product #main .content-product-detail.col-lg-3 {
        padding-left: 5px !important;
        margin-bottom: 40px !important;
        padding-right: 6px !important;
    }
    
    #product .priceDisplay .priceWithoutTax.sticky {
        font-size: 16px !important;
        top: 20px !important;
    }
    
    
    #product #ancore_container {
        height: 65px !important;
    }
    
    #product #ancore_container.shortlist {
        height: 45px !important;
    }
    
    
    #product .accesorii .owl-nav {
        display: none !important;
    }
    
    #product .product-accessories .thumbnail-container {
        height: 375px !important; 
    }

    #product .accesorii article.product-miniature .product-title, #product .accesorii article.product-miniature .product-title a {
        height: auto !important;
    }
    
    
    
    #product .accesorii .owl-item .highlighted-informations {
        background: none !important;
        left: 3px !important;
        height: 34px !important;
        bottom: 4px !important;
        width: calc(100% - 6px) !important;
    }
    
    
    #product .accesorii .owl-theme {
        width: 100% !important;
        margin-left: -13px !important;
        padding-left: 5px !important;
        border-right: none !important;
    }
    
    
    #product .accesorii .owl-stage-outer {
        width: 355px !important;
    
    }
    
    #product .product-accessories .owl-item {
        left: 0px !important; 
        max-width: 42.6vw;
    }
    
    
    
    #product .tab-content #description.has_accesorries_bellow, #product .tab-content #attachments.has_accesorries_bellow {
        margin-top: 60px !important;
    }
    
    #product .accesorii {
        min-height: 466px !important;
    }
    
    
    #product .product-accessories .products {
        height: 430px !important; 
    }
    
    
    #product #lgcomment {
        height: auto !important;
        margin-bottom: 20px !important;
    }
    
    
    #product #lgcomment .content-button.withreviews {
        width: calc(100% - 130px) !important;
        float: right !important;
        margin-top: 30px !important;
        right: 0px !important;
    }
    
    
    #product #lgcomment .content-button.withreviews .notare .stars > p {
        display: none !important;
    }
    
    #product #lgcomment .content-button.withreviews .notare {
        padding-left: 5px !important;
    }
    
    #product #lgcomment .productComment .date, #qasession .date {
        width: auto !important;
    }
    
    #product #lgcomment .productComment .content-block {
        margin-left: 0px !important;
    }
    
    
    #product .fancybox-wrap {
        top: 50px !important;
    }
    
    #product #closeButton {
        display: none !important;
    }
    
    
    /* image gallery */
    
    #product .js-product-images-modal.in aside {
        width: 100% !important;
        position: relative !important;
        float: left !important;
        border-right: none !important;
        height: 80px !important;
        overflow: hidden !important;
    }
    
    
    #product .js-product-images-modal.in figure {
        width: 100% !important;
        position: relative !important;
        float: left !important;
        text-align: center !important;
    }
    
    #product .js-product-images-modal.in aside ul li.thumb-container {
        width: 50px !important;
    }
    
    #product .js-product-images-modal.in figure img.product-cover-modal {
        margin-left: 4% !important;
        max-width: 100% !important;
        width: auto !important;
        height: 50vh !important;
    }
    
    #product .js-product-images-modal figure figcaption.image-caption {
        top: 0px !important;
    }
    
    #product #product-modal .modal-content .modal-body .mask {
        margin-top: 0px !important;
    }
    
    #product figure .owl-next {
        margin-right: 1px !important;
    }
    
    #product figure .owl-prev {
        margin-left: 1px !important;
        left: -6px !important;
    }
    
    
    .js-product-images-modal figure .image_zoomer.in {
        height: 50vh !important;
    }
    
    
    
    #product #block-certificari .stanga, #product #block-certificari .dreapta {
        width: 100% !important;
    }
    
    #product #block-certificari ul li {
        border: none !important;
    }
    
    
    #product .product-header {
        display: none;
        padding: 0px 5px !important;
    }
    
    #product .product-header.moved {
        display: block;
    }
    
    #product section#main > .row:not(.product-top-content) {
        display: none;
    }
    
    #product .product-description-short-detail p {
        color: #000;
    }
    
    #product .images-container .box_thumb {
        padding: 0 40px 0px 40px;
        margin-left: -5px;
    }
    
    #product .images-container .box_thumb .fa-angle-left, #product .images-container .box_thumb .fa-angle-right {
        font-size: 24px;
    } 
    
    
    #product .images-container .box_thumb .js-scrollbox-back, #product .images-container .box_thumb .js-scrollbox-next {
        color: #2b71b9;
        font-size: 35px !important;
        background: rgba(255, 255, 255, 0.7);
        padding: 15px 10px !important;
        top: 16px;
        position: absolute;
        cursor: pointer;
        width: 30px;
        opacity: 0.7;
        height: 73px;
        border-radius: 4px;
        border: 1px solid rgba(0,0,0,.1);
    }
    
    
     #product .images-container .box_thumb .js-scrollbox-back:hover, #product .images-container .box_thumb .js-scrollbox-next:hover {
         opacity: 1;
    }
    
    #product .product-description-short-detail {
        padding: 0px 6px;
    }
    
    #main .comment_anchor_content {
        margin-left: 0px !important;
    }
    
    #product .content-product-detail {
        padding: 5px 6px; 
    }
    
    
    #product .content-product-detail {
        margin-bottom: 5px;
        padding: 0px 6px 0px 5px !important;
    }
    
    #product .product-add-to-cart_alias {
        width: 100% !important;
    }
    
    #product .content-product-detail .add_alias {
        float: left !important;
        width: 100% !important;
        text-align: center !important;
    } 
    
    
    #product .content-product-detail .add_alias button {
        float: none !important;
    } 
    
    #product .wishlist_button_list {
        margin-left: calc(50% - 129px);
    }
    
    #product #block-reassurance {
        width: 100% !important;
        padding: 0px 4px 0px 2px !important;
    }
    
      
    #product #block-certificari {
        margin-left: 8px !important;
        margin-right: 9px !important;
    }
    
    
    #product .tabs {
        width: calc(100% + 16px) !important;
        margin-left: -8px;
    }
    
    #product #tab-content {
        margin-top: 0px;
    }
    
    
    body#product.produs_cu_tabel_marimi .add_alias button.sticky {    
        right: calc(50% - 107px) !important;
    }
       
    
    #product #ancore_container {
        display: none !important;
    }
    
    #product .accesorii, #product .crosseling, #product #ancore_container {
        padding-left: 10px !important;
    }
    
    #product .accesorii .owl-stage-outer {
        width: calc(100% + 20px) !important;
    }
    
    body#product .owl-stage-outer .owl-item .highlighted-informations {
        display: none !important;
    }
    
    
    body#product .add_alias.sticky {
        height: 55px;
        margin-bottom: 55px;
    }
    
    
    
    body#product .product-add-to-cart_alias button.add-to-cart:not(.sticky), body#product.produs_cu_tabel_marimi button.add-to-cart.sticky {
        background-image: url(../img/addtocart_mobile.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: right;
        width: calc(100% + 3px) !important;
        height: 50px !important;
        border: 1px solid #fff;
        background-color: #ef2a09;
        color: #fff;
        text-transform: none;
        font-size: 18px !important;
        text-align: center;
        padding-left: 0px;
        border-radius: 4px;
        margin-left: -2px;
    }
    
   
    
    body#product .product-add-to-cart_alias button.add-to-cart:not(.sticky):hover, body#product .product-add-to-cart_alias button.add-to-cart:not(.sticky):active, body#product.produs_cu_tabel_marimi button.add-to-cart.sticky:hover, body#product.produs_cu_tabel_marimi button.add-to-cart.sticky:active {
        background-image: url(../img/addtocart_mobile_hover.png);
        background-color: #9e1c06;
    }
    
    
     body#product.produs_cu_tabel_marimi button.add-to-cart.sticky {
        margin-left: 0px;
        right: 5px;
        left: 5px;
        top: 5px;
        width: calc(100% - 10px) !important;
    }
    
    
    body#product .wishlist_button_list {
        width: 100%;
        height: 50px;
        margin-left: 0px;
        font-size: 18px;
    }
    
    body#product .wishlist_button_list i {
        display: none;
    }
      
    
    body#product .add_alias button.sticky {
        right: -15px;
    }
    
    body#product .priceDisplay .priceWithoutTax.sticky {
        left: 5px;
    }
    
    
    body#product .product-variants .radio-label {
        height: 30px;
        line-height: 28.5px;
        padding: 0 10px;
    }
    
    
    body#product .product-variants > .product-variants-item ul {
        margin-bottom: 8px;
    }
    
    
    #form-comanda-marimi input[type=radio] {
        transform: scale(1.3) !important;
        margin-right: 5px;
        top: 2px;
        position: relative;
        margin-bottom: 8px;
    }
    
    #form-comanda-marimi td strong {
        margin-left: 5px;
    }
    
        
    
    
}


@media (max-width:446px) {
    
    body#product #wrapper {
        padding-left: 10px;
        padding-right: 10px;    
    }
    
    #product .images-container .box_thumb .js-scrollbox-back, #product .images-container .box_thumb .js-scrollbox-next {
            padding: 7px 10px !important;
            height: 54px;
        }
    
    
    #product .product-accessories .owl-item {
        left: 5px !important; 
        max-width: initial;
    }

}

/* account */

@media (max-width:767px) {

    #header_wrapper #logomagazinfermieri, #header_wrapper .nav-button[data-wrapper='seting'] {
        display: none !important;
    }
    
    
    body#authentication #content-wrapper #main #content {
        padding-left: 10% !important;
        padding-right: 10% !important;
    }
    
    
   body#module-lot_customer-istoriccomenzi li.contul-meu-menu-li.istoriccomenzi {
        background: #000;
        padding-left: 10px;
    }
    
    body#module-lot_customer-istoriccomenzi li.contul-meu-menu-li.istoriccomenzi a {
        color: #fff;
    }
    
    body#module-lot_customer-favorite li.contul-meu-menu-li.favorite {
        background: #000 !important;
        padding-left: 10px !important;
    }
    
    body#module-lot_customer-favorite li.contul-meu-menu-li.favorite a {
        color: #fff;
    }
    
    body#module-lot_customer-vouchere li.contul-meu-menu-li.vouchere {
        background: #000;
        padding-left: 10px;
    }
    
    body#module-lot_customer-vouchere li.contul-meu-menu-li.vouchere a {
        color: #fff;
    }
    
    body#module-lot_customer-reviewuri li.contul-meu-menu-li.reviewuri {
        background: #000;
        padding-left: 10px;
    }
    
    body#module-lot_customer-reviewuri li.contul-meu-menu-li.reviewuri a {
        color: #fff;
    }
    
    body#module-lot_customer-retur li.contul-meu-menu-li.retur {
        background: #000;
        padding-left: 10px;
    }
    
    body#module-lot_customer-retur li.contul-meu-menu-li.retur a {
        color: #fff;
    }
    
    body#module-lot_customer-datepersonale li.contul-meu-menu-li.datepersonale {
        background: #000;
        padding-left: 10px;
        color: #fff;
    }
    
    body#module-lot_customer-datepersonale li.contul-meu-menu-li.datepersonale a {
        color: #fff;
    }
    
    body#module-lot_customer-datepersonale li.contul-meu-menu-li.datepersonale i {
        display: none;
    }
    
    #customer_menu .contul-meu-menu .contul-meu-menu-ul li.delogare a {
        color: #ff4949;
    }
    
    
    
    
    .col-detalii-comanda {
        border: none !important;
    }
    
    .col-detalii-comanda .favorite-vezi-right {
        height: 40px;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    
    .col-detalii-comanda .favorite-vezi-right button {
        margin: 0px;
    }
    
    .col-detalii-comanda .favorite-vezi-detalii {
        font-size: 13px;
        padding-top: 3px;
        padding-left: 21px;
    }
    
    #filtrecomenzi > div, #filtrecomenzi > select {
        margin-bottom: 10px !important;
        margin-top: 10px !important;
    }
    
    
    .lot_modal_inner.withiframe {
        left: 5% !important;
        width: 90% !important;
        max-width: 90% !important;
        top: 5vh !important;
        max-height: 90vh !important;
    }
    
    .lot_modal_inner iframe, .lot_modal_inner .content iframe[src="https://www.agromax.ro/adresa?newAddress=invoice&pj=1&content_only=1"], .pj .lot_modal_inner .content iframe {
        height: 80vh !important;
    }
    
    .pj .js-address-form .company, .pj .form-group.address2 {
        width: 100% !important;
    }
    
    .pj .js-address-form .vat_number, .pj .form-group.other {
        float: left !important;
        width: 100% !important;
    }
    
}


@media (max-width:446px) {
    
    #module-lot_customer-datepersonale #informatii_personale .col-form-datelemele:nth-child(2) {
        top: 18px !important;
        display: block !important;
        position: relative !important;
    }
    
    #module-lot_customer-datepersonale #informatii_personale .col-form-datelemele:nth-child(2) #prenume, #module-lot_customer-datepersonale #informatii_personale .col-form-datelemele:nth-child(2) #nume { 
        margin-top: 17px !important;
    }
    
    
    #module-lot_customer-datepersonale #informatii_personale select {
        padding: 2px !important;
        margin: 3px !important;
        font-size: 12px !important;
    }
    
    
    .js-address-form .form-group.firstname, .js-address-form .form-group.id_state {
        width: 100% !important;
    }
    
    body#address .content-only .js-address-form .form-group.phone_mobile, .js-address-form .form-group.city {
        width: 100% !important;
        float: left !important;
    }
    
    
    body#address .content-only .js-address-form .form-group.address1 {
        width: 100% !important; 
        max-width: 100% !important;
    }
    
    .form-group input[name=company] {
        width: 70% !important;
    }
    
    /*
    body#address .content-only .form-group .col-md-6.jumate {
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    */
    
}



/* checkout */

@media (max-width:767px) {
    
    
    body#checkout .cart-overview .cart-items .cart-item .product-line-grid-left {
        width: 100% !important;
        max-width: 100% !important;
        flex: 100% !important;
        text-align: center !important;
    }

    
    body#checkout .cart-overview .cart-items .cart-item .product-line-grid-body {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    
    body#checkout .cart-overview .cart-items .cart-item .product-line-grid-right {
        width: 100% !important;
        max-width: 100% !important;
        flex: 100% !important;
        float: left !important;
    }
    
    body#checkout .cart-overview .cart-items .cart-item .product-line-grid-right .col-md-10 .row {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
    
    
    body#checkout .cart-overview .cart-items .cart-item .qty {
        min-width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-top: 5% !important;
        flex: none !important;
        text-align: center !important;
    }
    
    body#checkout .cart-overview .cart-items .cart-item .qty .bootstrap-touchspin {
        float: none !important;
    }
    
    body#checkout .cart-overview .cart-items .cart-item .unitmeasure {
        top: -1px !important;
    }
    
    body#checkout .cart-overview .cart-items .cart-item .col-md-6.price {
        width: 100% !important;
        max-width: 100% !important; 
    }
    
    body#checkout .cart-overview .cart-item .product-line-grid .product-line-info.product-price {
        width: 100% !important;
    }
    
    body#checkout .cart-overview .cart-items .cart-item .product-price .pricewithtax {
        float: right !important;
    }
    
    
    body#order-confirmation #finalsummary #sum_total_cart, #sum_total_cart_top {
        width: 100% !important;
    }
    
    
    body#checkout #finalsummary {
        width: 100% !important;
        margin-left: 0px !important;
        margin-top: 40px !important;
    }
    
    body#checkout #finalsummary div.name {
        width: 50% !important;
    }
    
    body#checkout #finalsummary div.price {
        width: 40% !important;
    }
    
    body#checkout #finalsummary #sum_total_cart, #sum_total_cart_top {
        width: 100% !important;
    }
    
    body#checkout #payment-confirmation {
        width: 100% !important;
        margin-left: 0px !important;
        padding: 15px 0px !important;
    }
    
    /*
    body#checkout section#content > .row > .col-xs-12.col-lg-9 {
        float: right;
        margin-top: 380px;
    }
    
    body#checkout section#content > .row > .col-xs-12.col-lg-3 {
        position: absolute;
        top: 60px;
    }
    */
    
    body#checkout .whitespace {
        display: none !important;
    }
    
    
    body#checkout #js-checkout-summary .card-block {
        display: none !important;
    }
    
    body#checkout .block-promo {
        background: #fff none repeat scroll 0 0;
        max-height: 100%;
        height: auto;
        width: 100%;
        max-width: 100%;
        overflow: auto;
        border-radius: 0px;
        padding-top: 15px;
        padding-bottom: 30px;
        position: fixed;
        left: 0;
        top: auto;
        bottom: 20px;
        z-index: 5;
        display: none;
    }
    
    
    body#checkout .block-promo_opener {
        display: block;
        left: 0;
        position: fixed;
        right: 0;
        bottom: 0px;
        text-align: center;
        z-index: 11;
        box-shadow: 1px -1px 5px rgba(0,0,0,0.2);
        background: #f36e21 !important;
        color: #fff;
    }
    
    body#checkout .block-promo_opener p {
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        margin-top: -10px;
        margin-bottom: 10px;
    }
    
    body#checkout .block-promo_opener.active p {
        margin-top: -1px;
        margin-bottom: 5px;
    }
    
    body#checkout .block-promo_opener i {
        font-size: 0px;
    }
    
    body#checkout #footer-bar .block-promo_opener.active i {
        font-size: 20px;
    }
    
    .column-left-open body#checkout .block-promo_opener i {
        font-size: 20px;
    }
    
    .column-left-open body#checkout .block-promo_opener i::before {
        content: '\f136';
    }
    
    
    body#checkout #login-form .form-group {
        width: 100%;
        margin-bottom: 20px;
        margin-left: 0px;
        float: left !important;
    }
    
    body#checkout #login-form {
        height: 200px;
    }
    
    body#checkout #footer-bar {
        z-index: 999 !important;
    }
    
    
    
    
}



@media (max-width:446px) {
    
    
    body#checkout #login-form .forgot-password {
            right: 0px !important;
    }

    #checkout-personal-information-step h1 {
        margin-top: 90px !important;
    }
    
    #checkout-personal-information-step h1 img {
        display: none !important;
    }
    
    body#checkout section.checkout-step#checkout-personal-information-step .content .my-2 {
        margin-top: -210px !important;
    }
    
    body#checkout #customer-form .form-group label.col-md-3 {
        width: 30% !important;
    }
    
    body#checkout section.checkout-step .content #customer-form .form-group .col-md-6 {
        width: 70% !important;
        margin-bottom: 20px !important;
        float: right !important;
    }
    
    
    body#checkout #customer-form .form-group label {
        width: 30% !important;
        max-width: 30% !important;
        clear: none !important;
    }
    
    #checkout-personal-information-step .form-group.firstname {
        position: relative !important;
        display: block !important;
    }
    
    body#checkout #checkout-personal-information-step table.birthpart td {
        padding: 2px !important;
    }
    
    body#checkout #checkout-personal-information-step select.birthpart {
        padding: 4px 1px !important;
    }
    
    body#checkout section.checkout-step#checkout-personal-information-step .content .my-2 li {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    
    body#checkout section.checkout-step .content .form-group .col-md-6.jumate {
        width: 100% !important;
        margin-bottom: 20px !important;
        float: left !important;
    }
    
    
    .js-address-form .form-group.phone_mobile, .js-address-form .form-group.city {
        width: 100% !important;
        float: left !important;
    }
    
    
    body#checkout #checkout-addresses-step .js-address-form section.form-fields {
        height: auto !important;
        display: block !important;
        float: left !important;
    }
        
    body#checkout #checkout-addresses-step .js-address-form section.form-fields .form-group:last-child label {
        float: right !important;
        width: 90% !important;
    }
    
    body#checkout section.checkout-step .address br {
        display: none;
    }
    
    
    body#checkout .address-item .address-footer .delete-address {
        padding-right: 0px !important;
        margin-right: 0px !important;
        width: 20px !important;
        margin-top: 15px !important;
    }
    
    body#checkout ul.pf-pj-selector li {
        margin-right: 10px !important;
    }
    
    
    
    
    
        
        
    
}


