/* ------------ Touch styles ------------ */
.touch_device #top_menu .menu ul {
    display: none !important;
}

/* ------------ Responsivity styles ------------ */
@media only screen and (max-width: 1350px) {
    .front #footer .copyright {	
        text-align: left;
        margin-top: 20px;
        line-height: 1.4em;
    }
    .front #footer .footer_menu {
        float: left;
        margin-left: 50px;
    }
    .front #footer .social_apps {
        float: left;
        margin-left: 20px;
    }
}

@media only screen and (max-width: 1040px) {
    .front #footer .footer_menu {
        width: 300px;
        padding-top: 20px; 
        line-height: 1.6em;
    }	
    .rollup {
        display: none !important;
    }
    #fb_side_plugin {
        display: none !important;
    }
}

@media only screen and (max-width: 979px) {
    #main_container {
        width: 96%;
        max-width: 960px;
        margin: 0 2%;
    }
    #main_content {
        margin-bottom: 10px;
    }
    .front #header {
        width: 100%;
    }
    .front #header .auth {
        margin-right: 10px;
    }
    .front #top_menu {
        width: 100%;
        height: auto;
    }
    .front #top_menu .border_div {
        display: block;
        width: 100%;
        height: 1px;
        position: absolute;
        left: 0;
        top: 65px;
        border-top: 1px solid #CCC;
    }
    ._slider {
        width: 100%;
        max-width: 960px;
        height: auto;
    }
    #slider_welcome .start_button {
        right: 20px;
    }
    .three_steps li {
        margin-bottom: 15px;
        width: 48%;
    }
    .catalogue .three_steps li {
        width: 31.8%;
        margin-right: 1.5%;
    }
    .catalogue .three_steps li img {
        display: none;
    }  
    .catalogue .engravings_controls .first_step_shape_filter {
        float: left;
        margin-bottom: 17px;
        margin-left: 5px;
    } 
    .stamp_design_form .discounted_price {
        display: block;
    }
    .front #stamp_widget .control_buttons {
        width: 96%;
        padding: 10px 2% 0;
        margin: 0 0 15px;
    }
    #stamp_widget .control_buttons ul {
        float: left;
        overflow: auto;
    }
    .front #stamp_widget { 
        padding-bottom: 60px;
    }	
    .front #stamp_widget .add_to_cart_in_design { 
        bottom: -35px;
    }
    .front #stamp_widget .control_buttons li {
        float: left;
        margin: 0 10px 10px 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    .front #stamp_widget #submit_preview {
        float: right;
        margin: 0 10px 10px;
    }
    #stamp_widget .stamp_form { 
        margin: 0;
        width: 96%;
        max-width: 96%;
        padding: 20px 2%;
    }
    #heurekaTableft {
        display: none !important;
    }
    .category_list > ul > li:nth-child(4n) {
        margin-right: 13px;
    }
    .footer-pillar {
        display: none;
    }
}

@media only screen and (max-width: 880px) {
    body.front {
        width: 100%;
    }
    .front #header .logo img {
        height: 50px;
        margin-bottom: 0;
    }
    .front #header .auth.fixed {
        position: absolute;
        top: 0;
        right: 0;
    }
    .front #header .header_menu {
        position: relative;
        top: auto;
        right: auto;
        overflow: auto;
        margin-bottom: 8px;
    }
    .front #header .header_menu ul {
        float: right;
    }
    .front #footer .footer_menu {
        width: 250px;
    }
    .front #footer .footer_menu {
        display: none;
    }
    .front #footer .social_apps {
        float: right;
        margin-right: 360px;
    }
    .front .category_list > ul > li {
        width: 47%;
        margin: 0 1.3% 17px;
    }
    .three_steps {
        display: none !important;
    }
    .welcome_article {
        margin-top: 0;
        padding: 0 15px;
    }
    .front .article {
        padding-top: 0;
    }
    .front .article .left_column {
        float: none;
        width: 99%;
        padding: 0;
        overflow: auto; 
        margin-bottom: 30px;
    }
    .front .article .left_column li {
        float: left;
    }	
    .front .article .main_column {
        margin: 0 10px;
    }
    .front .product_list .add_to_cart {
        float: none;
        clear: both;
        max-width: 100%;
        margin: 15px 0 0;
    }
    .front .product_list .product_desc,
    .front .product_list .thumb,
    .front .product_list .engraving_detail .engraving_thumb {
        margin-bottom: 15px; 
    }
    .front .product_list .product_desc,
    .front .product_list h3 {
        margin-left: 7px;
    }
    .front .product_list .add_to_cart {
        overflow: auto;
    }
    .front .product_list .prices {
        float: left;
    }
    .front .product_list .amounts {
        float: right;
    }
    .cart_summary .left_column {
        width: 300px;
    }	
    .content_area .register_form {
        max-width: 360px;
    }
    #stamp_widget #arrows {
        display: none;
    }
    #stamp_widget .template_controls {
        right: 20px;
    }
    .front #text_form .text_input {
        margin-right: 20px;
    }
    .front #text_form .font-styling {
        float: left;
    }
    .front #text_form table {
        margin-bottom: 15px;
    }
    #stamp_templates .note {
        width: 260px;
        text-align: right;
    }
    .footer-payments img {
        height: 35px;
        margin: 14px;
    }
    .footer-bank img {
        height: 15px;
        margin: 14px;
    }
    .footer_menu_mobil {
        display: block;
        height: 80px;
        background-color: #e2e2e2;
        border-top: 1px solid #d2d2d2;
        padding: 10px;
    }
    .footer_menu_mobil li {
        float: left;
        margin: 0 8px 0 0;
        padding: 0 8px 0 0;
        border-right: 1px solid #555;
        list-style: none;
    }

}

/* ---------- 760 px ---------- */
@media only screen and (max-width: 760px) {
    .footer_menu_mobil {
        height: 100px;
        font-size: 1.2em;
        line-height: 1.8em;
    }
    .ingrediencie {
        width: 80%;
    }

    .recept-postup {
        margin-left: 0px; 
        clear: both;
    }

    .front #header .auth {
        padding-left: 10px;
        padding-right: 10px;
    }
    .front #header .auth_actions {
        float: none;
        clear: both;
        padding: 6px 0 0;
        overflow: auto;
    }
    .front #footer .footer_container {
        width: 100%;
    }
    .front #footer .copyright {
        margin-top: 6px; 
        margin-bottom: 8px;
    }
    .front #footer .social_apps {
        clear: both;
        float: none;
        margin: 5px 0 0 10px;
    }
    .three_steps li {
        width: 100%;
    }
    #slider_welcome .start_button {
        bottom: 10px;
        width: auto;
        height: 40px;
        padding-left: 10px;
        padding-right: 55px;
        font-size: 13px;
        line-height: 40px;
        text-align: right;
    }
    .catalogue .category_filter {
        float: none;
        clear: both;
    }
    .first_step_filter #subcategories_select {
        display: block;
    }
    .cart .cart_content th {
        padding: 7px 8px;
    }
    .cart .cart_content td {
        padding: 5px 8px;
    }
    .cart .cart_content .without_vat_price {
        display: none;
    }
    .cart .cart_content .action {
        width: 36px;
    }
    .cart_summary .left_column,
    .cart_summary .right_column {
        float: none;
        width: 400px;
        max-width: 100%;
    }
    .content_area .logo_register {
        width: 25%;
        max-width: 217px;
    }
    .content_area .register_form .error {
        display: block;
        padding-left: 0;
    }
    .front .orders_list .items,
    .front .orders_list .tracking {
        display: none;
    }
    .front .order_summary .thumb,
    .front .order_summary .without_vat_price {
        display: none;
    }
    .stamp_design_form .right_block {
        width: 180px;
        margin-top: 0;
        margin-right: 0;
    }
    .stamp_design_form input, 
    .stamp_design_form .input, 
    .stamp_design_form select,
    .stamp_design_form .stamp_preview {
        margin-left: 150px;
    }
    .stamp_design_form .stamp_thumb {
        margin-top: 15px;
    }
}

/* ---------- 730 px ---------- */
@media only screen and (max-width: 730px) {
    .product_list .product_desc {
        clear: both;
    }
    .product_list .free_delivery_wrapper .free_delivery_thumb {
        bottom: 5px;
        right: -20px;
    }	
}

/* ---------- 680 px ---------- */
@media only screen and (max-width: 680px) {
    .stamp_design_form .right_block {
        float: none;
        width: 100%;
        margin: 0 0 30px
    }
    .stamp_design_form .socials {
        float: none;
        overflow: auto;
        margin-top: -20px;
    }
    .stamp_design_form .socials iframe {
        float: right;
    }
    .stamp_design_form div.title {
        margin: 15px 0 20px 10px;
    }
    .stamp_design_form .stamp_preview img {
        max-width: 100%;
        height: auto !important;
    }
    .front #stamp_templates .note {
        display: none;
    }
    .front .cart_summary .verified_logos {
        display: none;
    }
    .front .verified_logos_bottom {
        display: block;
    }
}

/* ---------- 560 px ---------- */
@media only screen and (max-width: 560px) {
    .front #header .auth .user_menu {
        width: 280px;
    }
    .front #header .user_menu li,
    .front #header .user_menu li:first-child {
        padding: 0 20px 0 0; 
    }
    .catalogue .three_steps li {
        width: 100%;
        margin: 0 0 12px;
        float: none;
        height: auto;
        overflow: auto;
        padding: 0 0 12px;
    }
    .cart .cart_content .thumb {
        display: none;
    }
    .cart .cart_summary .notice {
        line-height: 18px;
    }
    .content_area .logo_register {
        display: none;
    }
    .content_area .profile_detail,
    .content_area .register_form {
        margin-left: 10px;
    }
    .front .orders_list .invoice,
    .front .orders_list .action {
        display: none;
    }
    .front .order_summary .desc {
        display: none;
    }
    .front .order_summary .head th,
    .front .order_summary .head td {
        padding: 7px 6px;
    }
    .stamp_design_form .design_switcher {
        width: 92%;
        padding: 4%;
    }
    .stamp_design_form .design_switcher .or {
        display: block;
        margin: 4px 0 4px 6px;
    }
    .front #stamp_widget .control_buttons ul li .button,
    .front #stamp_widget .control_buttons ul li .button.active {
        padding: 0 11px;
        background-image: none;
    }
    .front #stamp_widget .font-styling .font_styling_col {
        margin-right: 10px;
    }
}

@media only screen and (max-width: 510px) {
    #top_menu .menu > li a {
        padding: 0 18px;
    }	
}

/* ---------- 480 px ---------- */
@media only screen and (max-width: 480px) {
    .front h1 {
        line-height: 1.2em;
    }
    .front #header .auth_inputs {
        width: 190px;
    }
    .front #header .login_box input.credentials {
        float: right;
    }
    .front #top_menu {
        height: auto; 
        padding: 0;
    }
    #slider_welcome {
        display: none !important;
    }
    #header .auth.fixed {
        position: absolute;
        right: 0;
        top: 0;
    }
    #header  .header_menu ul li.static_link {
        display: none;
    }
    .front #top_menu .border_div {
        display: none;
    }
    .front #menu_back_link {
        display: block;
        width: 50px;
        height: 29px;
        line-height: 29px;
        padding: 0 10px 0 16px;
        margin: -5px 0 5px 10px;
        color: #fff;
        background: url(../images/mobile_back_button.png) 0 0 no-repeat transparent;
        text-decoration: none;
        text-align: center;
    }
    .front #menu_back_link:hover {
        background-position: 0 bottom;
    }
    .front #top_menu .menu.selected_category > li {
        display: none;
    }
    .front #top_menu .menu.selected_category > li.active {
        display: block;
        height: auto;
    }
    .front #top_menu .menu.selected_category > li.active ul {
        display: block !important;
        visibility: visible !important;
        position: relative;
        top: 0;
        left: auto;
        width: 100%;
        background: #1f4b5a;
        list-style: none outside;
    }
    .front #top_menu .menu.selected_category > li.active.selected_subcategory > a {
        display: none;
    }
    .front #top_menu .menu.selected_category > li.active.selected_subcategory li {
        display: none;
    }
    .front #top_menu .menu.selected_category > li.active.selected_subcategory li.active {
        display: block;
        background: url(../images/top_menu_shadow.png) 0 0 repeat-x #A32821 !important;
    }
    .front #top_menu .menu.selected_category > li.active.selected_subcategory li.active:hover a {
        background: url(../images/top_menu_shadow.png) 0 0 repeat-x #A32821 !important;
        cursor: default;
    }
    .front #top_menu .menu.selected_category > li.active ul li a {
        padding-left: 21px;
    }
    .front #top_menu .menu.selected_category > li.active .shapes {
        margin-right: 21px;
    }
    .front #top_menu .menu.selected_category > li.active .shapes a {
        padding-left: 0;
    }
    .front #top_menu .menu.selected_category > li.active:hover > a{
        cursor: default;
        background: url(../images/top_menu_shadow.png) 0 0 repeat-x #A32821;
    }
    .front #top_menu .menu.selected_category > li.active ul li,
    .front #top_menu .menu > li {
        float: none;
        width: 100%;
        max-width: 100%;
        height: 28px;
        line-height: 28px;
        border-right: none;
    }
    .front #top_menu .menu > li .design_color {
        left: auto;
        right: 10px;
        margin-left: 0;
    }
    .front #top_menu .menu li > a {
        display: block;
        padding-bottom: 0;
    }
    .front #top_menu .menu > li:last-child {
        border-bottom: none;
    }
    .front #top_menu .menu > li:hover {
        background-color: #09647A;
    }
    .front #top_menu .menu > li a {
        height: 28px;
        line-height: 28px !important;
        text-align: left;
        font-size: 11px;
    }
    .front #top_menu .menu > li span {
        float: right;
        margin-top: 10px !important;
    }
    .front #top_menu .menu ul {
        display: none !important;
    }
    .front #header .auth .user_menu {
        width: 205px;
    }
    .front #header .auth .notification {
        display: none !important;
    }
    .front #header .user_menu li,
    .front #header .user_menu li:first-child {
        padding: 0 10px 0 0; 
    }
    #slider_welcome .start_button {
        display: none;
    } 
    .front .category_list > ul > li {
        width: 99%;
        height: auto;
        margin: 0 0 17px;
    }
    .front .product_list .prices {
        float: none;
    }
    .front .product_list .amounts {
        float: none;
    }
    .front #main_container {
        padding-bottom: 120px;
    }
    .front #footer_static_links {
        display: block;
        position: relative;
        left: 0;
        width: 100%;
        padding: 0 0 15px;
    }
    .front #footer_static_links ul {
        list-style: none outside;
    }
    .front #footer_static_links li {
        float: left;
        padding-left: 12px;
        text-align: center;
        line-height: 30px;
        font-size: 12px;
    }
    .front #footer_static_links li:first-child {
        padding-left: 20px;
    }
    .front #footer_static_links li .icon_fb {	
        display: block;
        width: 30px;
        height: 30px;
        padding: 0 0 0 32px;
        background: url(../images/icons_top_menu.png) 0 0 no-repeat transparent;
        background-position: 0px -97px;
    }
    .cart .cart_content .tb_list,
    .cart .cart_content .cart_items h2 {
        font-size: 11px;
    }
    .cart .cart_content th {
        padding: 7px 4px;
    }
    .cart .cart_content td {
        padding: 5px 4px;
    }
    .cart_summary .left_column,
    .cart_summary .right_column {
        width: 100%;
    }
    .cart_summary #order_form .label_column {
        width: 180px;
    }
    .cart_summary .leave_note .label_column {
        width: 80px !important;
    }
    .cart_summary textarea {
        width: 96%;
        padding: 2%;
    }
    .cart .error {
        padding-left: 0;
    }
    .front .orders_list th,
    .front .orders_list td {
        padding: 7px 6px;
    }
    .front .order_summary .head th,
    .front .order_summary .head td {
        font-size: 11px;
    }
    .stamp_design_form div.title > * {
        display: block;
    }
    .front #stamp_widget .add_to_cart_in_design {
        right: 15px;
    }
    #stamp_desgin_form .loading_file {
        clear: both;
        margin: 10px 0 15px;
    }
    .front .stamp_form td label {
        display: block;
        width: 80px;
    }
    .front .stamp_form #image_file {
        max-width: 175px;
    }
    .front #text_form .font-styling {
        width: 100%;
        max-width: 430px;
    }
    .front #text_form #text {
        width: 93%;
        padding: 2%;
    }
    .front .template_controls a {
        font-size: 12px;
    }
    #stamp_widget #controls {
        position: relative;
    }
    #stamp_widget #controls.text_form_shown .control_buttons {
        position: absolute;
        left: 0;
        top: 160px;
        z-index: 10;
    }
    #stamp_widget #controls.text_form_shown #text_form .font-styling {
        margin-top: 110px;
    }
    .stamp_form #button_insert_text {
        margin: 0;
    }
    .stamp_design_form label[for=stamp_unit_price] {
        clear: both;
        float: none;
        padding-bottom: 5px;
        display: block;
    }
    .stamp_design_form label[for=stamp_unit_price] + .input {
        margin-left: 0;
    }
    .stamp_design_form .stamp_size_container .label {
        float: none;
    }
}

/* ---------- 360 px ---------- */
@media only screen and (max-width: 360px) {
    .front #header .auth {
        margin-right: 2px;
        padding-left: 4px;
        padding-right: 4px;
    }
    .front #header .auth_inputs {
        width: 180px;
    }
    .front #header .auth .user_menu {
        width: 175px;
    }
    .front #header .auth .user_menu ul {
        margin: 0 5px;
    }
    .front #header .user_menu li, 
    .front #header .user_menu li:first-child {
        float: right;
        margin-right: 8px;
        padding-right: 0;
    }
    .front #header .user_menu li a {
        font-size: 11px;
    }
    .stamp_design_form input, 
    .stamp_design_form .input, 
    .stamp_design_form select,
    .stamp_design_form .stamp_preview {
        margin-left: 130px;
    }
    .stamp_design_form .upload_stamp_image label {
        width: 120px;
    }
    .front #stamp_widget #overlap_warning {
        width: 280px;
        margin-left: -140px;
        font-size: 11px;
    }
    .breadcrumbs {
        margin-top: -10px;
        margin-bottom: 15px;
    }
    .front h1 {
        font-size: 16px;
    }
    .breadcrumbs h1,
    .breadcrumbs h2 {
        font-size: 16px;
    }
    .product_list h3 {
        font-size: 16px;
    }
    .stamp_design_form .total_price {
        font-size: 15px;
    }
    .catalogue .shapes_filter,
    .catalogue .sort {
        float: none;
    }
    .catalogue .shapes_filter .shape {
        margin-top: 7px;
    }
    .catalogue .sort {
        margin-bottom: 15px;
    }
    .catalogue .shapes_filter span {
        display: none;
        float: none;
        line-height: 18px;
        font-size: 14px;
    }

    .shape.normal {height: 18px; margin: 0 2px; background: url(../images/sprites_shapes_mobile.png) 0 0 no-repeat transparent;}

    .shape.normal.square {width: 18px; background-position: 0 -19px;}
    .shape.normal.rectangle {width: 31px; background-position: -26px -19px;}
    .shape.normal.ellipse {width: 31px; background-position: -64px -19px;}
    .shape.normal.circle {width:19px; background-position: -101px -19px;}

    .inactive .shape.normal.square {width: 18px; background-position: 0 0;}
    .inactive .shape.normal.rectangle {width: 31px; background-position: -26px 0;}
    .inactive .shape.normal.ellipse {width: 31px; background-position: -64px 0;}
    .inactive .shape.normal.circle {width: 19px; background-position: -101px 0;}

    #stamp_widget #controls.text_form_shown #text_form .font-styling {
        margin-top: 140px;
    }

    .stamp_design_form label[for=stamp_unit_price] + .input .vat_excl {
        display: none;
    }
}