
/* Large desktop */
@media (min-width: 1200px) {
	.birthdate #days,
	.birthdate #s2id_days { width: 85px; }
	.birthdate #months,
	.birthdate #s2id_months { width: 140px; }
	.birthdate #years,
	.birthdate #s2id_years { width: 100px; }
	.tunnel #email,
	.tunnel #passwd,
	.tunnel #email_create { width: 390px; }
	#authentication_choices .block_content { height: 150px; }
	#authentication_choices .expanded .block_content { height: 180px; }
	#authentication_forms form .controls .alert { width: 80%; }
	#authentication_forms form .controls .input-prepend { width: 100%; }
	#authentication_forms form .controls .input-prepend .input-lg { width: 83%; }
	/* Guest checkout activé : adapter les blocs */
	.guest_checkout_enabled #email,
	.guest_checkout_enabled #passwd,
	.guest_checkout_enabled #email_create { width: 213px; }
}


/* medium */
/* correspond à la classe .visible-md */
@media (min-width: 992px) and (max-width: 1199px) {
	.product_list li {
		height: 180px;
	}
	
    div .title.title1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    div .title.title2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    div .title.title3 {
        font-size: 1rem;
    }
    
    div .custom_category .custom_category_title {
        font-size: 1.4rem;
    }
    
    .blog_articles .article_item .article_content {
        max-width: 180px;
    }
    
    #cart_block_summary .ajax_cart_quantity,
    #cart_block_summary .ajax_cart_product_txt,
    #cart_block_summary .ajax_cart_product_txt_s {
        font-size: 1rem;
        line-height: 1rem;
    }
    
    #header_top_menu ul li a {
        padding: 0 8px;
    }
    
	#header_center #header_contact,
	#header_center #header_cart {
	    width: 130px;
	}
	
	#blocktopmenu .navbar .nav > li > a {
	    padding: 15px 10px;
	    font-size: 12px;
	}

	div .title.title1.h-custo {
		min-height: 40px;
	}

}


@media (max-width: 991px) {
	#cart_summary .cart_product,
	#cart_summary .cart_availability,
	#cart_summary .cart_unit { display: none; }
	#order #compare_shipping_form .col-sm-6 { width: 100%; margin: 0; float: none; }
	#order #sous_le_tableau .cart_free_shipping { float: none; margin-top: 10px; }
	#order #order-detail-content #sous_le_tableau .cart_delivery_icon i,
	#order #order-detail-content #sous_le_tableau .cart_discount_icon i { margin-right: 20px }
	
	body {
        font-size: 1.2rem;
    }
    
    div .title.title1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    div .title.title2 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    div .title.title3 {
        font-size: 1rem;
        margin-bottom: 5px
    }
    
    div .custom_category .custom_category_title {
        font-size: 1rem;
    }
    
    .blog_articles .article_item .article_thumb {
        max-width: 70px;
    }
    
    .blog_articles .article_item .article_thumb img {
        display: block;
        max-width: 100%;
    }
    
    .blog_articles .article_item .article_content {
        max-width: 140px;
    }
    
    div #blog_list {
    	margin: 0;
    }
    
    div #blog_list > li {
    	width: 100%;
    	float: none;
    }
    
    .product_list > li .product_item .product_name {
        margin-bottom: 5px;
    }
    
    .product_list > li .product_item .product_name a {
        font-size: 1.4rem;
    }
    
    #header_center {
        padding-bottom: 10px;
    }
    
    #header_center .block_content  {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    
    #blocktopmenu .navbar .nav > li > a {
        padding: 15px 8px;
		font-size: 9px;
    }
    
    #blocktopmenu .navbar-header {
        display: none !important;
    }
    
    .custom_category > a .custom_category_description,
    .custom_category > a .btn {
        display: none;
    }
    
    #cart_block_summary .ajax_cart_quantity,
    #cart_block_summary .ajax_cart_product_txt,
    #cart_block_summary .ajax_cart_product_txt_s {
        font-size: 1rem;
        line-height: 1rem;
    }
    
    #main #sidebar .nav-list .nav-header {
        font-size: 1.6rem;
        line-height: 2rem;
    }
    
    #index div .divided_block .divided_side .divided_side_text .title3 {
        margin-bottom: 5px;
    }
    
    #index div .divided_block .divided_side img {
        display: block;
        max-width: 100%;
    }
    
    #category_info .category_name {
        font-size: 2rem;
        line-height: 2rem;
    }
    
    #product #product-name {
        font-size: 3.4rem;
        line-height: 4rem;
    }
    
    #product #primary_block .content_prices .price .our_price_display {
        font-size: 2rem;
        margin: 0 15px;
    }
    
    #product .more_info_block .nav-tabs > li.active > a,
    #product .more_info_block .nav-tabs > li.active > a:hover {
        font-size: 1.8rem;
        line-height: 1.8rem;
    }
    
    #primary_block .exclusive,
    #primary_block .exclusive_disabled {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    #product #thumbs_list li a {
        margin: 0 5px;
    }
}

/* Portrait tablet to landscape and desktop */
/* correspond à la classe .visible-sm */
@media (min-width: 768px) and (max-width: 991px) {
	/* Pour afficher le menu classique sur tablet */
	#categories_block_top .nav-collapse, #categories_block_top .nav-collapse.collapse { height:auto; }
	#categories_block_top .btn-navbar { display:none; }
	#categories_block_top .navbar-inner ul.nav > li { float:left; }
	/* auth */
	#authentication_choices .account_input { width: 93%; }
	#authentication_choice_login .controls { position: relative; }
	#authentication_choice_login .control-group .control-label { width: 100px; }
	#authentication_choice_login .toggle-password { position: absolute; left: 100%; }
	#authentication_forms form { padding: 0 0 1px 0; }
	#authentication_forms form .toggle-password { left: 91%; }
	#authentication_forms .form-horizontal .control-label { float: none; width: 100%; text-align: left; }
	#authentication_forms .form-horizontal .controls { margin-left: 0; }
	
	.product_list li {
		height: 200px;
	}
	
	body {
        font-size: 1.1rem;
    }
    
    #header_top_menu ul li a {
        padding: 0 5px;
        padding-top: 1px;
        font-size: .9rem;
    }
    
    #header_center #header_contact,
    #header_center #header_cart {
        max-width: 100px;
    }
    
    #header_center .block_title:before {
        display: none;
    }
    
    #header_center .block_content:before,
    #header_cart .block_content:before {
        display: none;
    }
}

/* Landscape phone to portrait tablet */
/* correspond à la classe .visible-xs */
@media (max-width: 767px) {
	
	/* body */
	body { padding-left: 5px; padding-right: 5px; }
	
	/* blocks */
	.block { margin: 0 0 15px 0; }
	.block_content { padding: 7px 10px; }
	
	/* product_list */
	.product_list_sort { text-align: center; }
	.product_list_sort .all_products { display: inline-block; padding: 10px 10px 0 10px; }
	.product_list_sort .pagination-nb-pages { float: none; padding: 0 0 1em 0; }
	.product_list_sort .pagination-nb-pages .controls { display: inline-block; line-height: 2em; }
	.product_list_sort .pagination-nb-pages .control-label { display: inline-block; line-height: 2em; padding: 0 5px 0 0; }
	.product_list_sort .pagination { text-align: center; }
	
	.product_list li {
		height: auto;
	}
	
	/* breadcrumb */
	#breadcrumb ul { padding: 0; }
	#breadcrumb a { display: inline-block; padding: 5px 7px; }
	#breadcrumb .littleH1 { padding: 5px 7px; }
	/* Masqué sur mobile puisque le bloc "product_nav_mobile" prend le relais */
	#product #breadcrumb { display: none; }
	
	#header_cart { width: 100%; position: static; float: none; clear: both; }
	#header_cart .block_content { display: none; }
	#header_cart #cart_block { background: none; padding: 0; min-height: 1px; }
	#header_cart #cart_block_wrapper { position: static; }
	#header_cart #cart_block_list { display: none !important; }
	#header_cart .block_title,
	.tunnel #header_cart .block_title { background: none; float: left; clear: none; padding: 8px 0; }
	#header_top_user { float: right; text-align: right; }
	
	/* produit */
	#product #paginationMood { margin: 15px 0 }
	#product #paginationMood ul { width: 100%; text-align: center; margin: 0 }
	#product #paginationMood li { display: inline-block; zoom: 1; *display: inline; }
	#product #paginationMood li a { display: inline-block; zoom: 1; *display: inline; width: 40px; height: 40px; line-height: 40px; margin: 0 10px; background: #666; -webkit-border-radius: 50px; -moz-border-radius: 50px; border-radius: 50px; -webkit-box-shadow: 1px 2px 5px rgba(0,0,0,.25); -moz-box-shadow: 1px 2px 5px rgba(0,0,0,.25); -ms-box-shadow: 1px 2px 5px rgba(0,0,0,.25); box-shadow: 1px 2px 5px rgba(0,0,0,.25); color: #fff; font-size: 14px; font-weight: bold; text-shadow: 0 1px #999; }
	#product #paginationMood li a:hover { text-decoration: none; }
	#product #paginationMood li.active a { background: #333; text-decoration: none; }
	#more_info_block { margin-top: 25px; }
	#more_info_block .nav-tabs li.inactive { display: none; }
	#tags_block_left { display: none; }
	.thumbnails > li { float: left; }
	
	/* auth */
	#authentication_choices .block_content { height: auto; }
	#authentication_choices .controls { margin: 0 !important; }
	#authentication_choices .controls input { width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 0 10px; height: 30px; line-height: 30px; }
	#authentication_choices .btn.btn-primary { float: none !important; display: block; width: 100%; }
	#authentication_choice_login.block { margin-top: 20px; }
	#authentication_choice_login .lost_password { margin-top: 10px; font-size: 0.95em; }
	
	/* tunnel */
	.tunnel .cart_navigation,
	#authentication_forms form .cart_navigation { padding: 20px 0 40px 0; position: relative; }
	.tunnel .cart_navigation .btn-primary,
	#authentication_forms form .cart_navigation .btn-primary { float: none; clear: both; display: block; width: 100%; }
	.tunnel .cart_navigation .btn-sm,
	#authentication_forms form .cart_navigation .btn-sm { float: none; clear: both; display: block; width: 100%; margin: 10px 0 }
	
	#total { margin-top: -40px; }
	
	#order_step { margin: 0; margin-bottom: 15px; height: 50px;  padding: 5px 0 25px 0; background: none; }
	#order_step li,
	#order_step li.first_step,
	#order_step li#step_end { width: 20%; margin: 0; padding: 0; border: 0; background: none; text-align: center; }
	#order_step li a { display: inline-block; margin: 0; padding: 0; border: 0; text-align: center; text-decoration: none; border: 1px solid #ddd; width: 50px; height: 50px; font-size: 18px; -webkit-border-radius: 25px; border-radius: 25px; }
	#order_step li a span { display: none; }
	#order_step li a span.order-step-number { float: none; display: block; line-height: 50px; }
	#order_step li a:hover,
	#order_step li.step_current a,
	#order_step li.step_current a:hover { color: #fff; background: #80ba26; border: 1px solid #80ba26; }
	
	#order #order-detail-content .cart_description,
	#order #order-detail-content .cart_total { padding-left: 0; padding-right: 0; }
	#order #order-detail-content .cart_quantity i { vertical-align: middle; }
	#order #order-detail-content .cart_quantity,
	#order #order-detail-content .cart_total { text-align: center; }
	#order #order-detail-content .cart_quantity a.btn { padding: 0; line-height: 16px; }
	#order #order-detail-content .cart_quantity input { padding: 0; }
	
	/* Delivery step */
	.step_delivery .delivery_option { padding: 20px 0 5px 0; }
	.step_delivery .delivery_option input { margin: 0; }
	.step_delivery .delivery_option label { margin: 0; display: block; padding: 0; text-align: center }
	.step_delivery .delivery_option_logo { margin: 0; padding: 0 0 10px 0; display: none; }
	.step_delivery .delivery_option_logo img { max-width: 100%; }
	.step_delivery .delivery_option_price { text-align: left; margin: 0; padding: 5px 0 0 0; }
	.step_delivery .order_carrier_content input[type=radio] { left: 50%; top: 20px; }
	
	/* Payment step */
	.step_payment .payment_module > .col-sm-2:first-of-type { display: none; }
	.step_payment .payment_module .payment_btn { margin-top: 10px }
	
	#main #sidebar {
		float: none !important;
	}
	
	div .title {
	    margin-top: 10px;
	}
	
	div .block .block_title {
	    font-size: 1.6rem;
	    margin: 1px 0;
	}
	
	.picture_btn {
	    margin-bottom: 15px;
	}
	
	.custom_category {
		margin-bottom: 20px;
	}
	
	.custom_category .custom_category_title {
	    text-align: center;
	}
	
	.custom_category > a {
		max-height: 300px;
		overflow: hidden;
	}
	
	.custom_category > a > img {
		margin-top: -100px;
		width: 100%;
	}
	
	.custom_category .custom_category_title > span {
	    padding-right: 0;
	}
	
	.custom_category .custom_category_title:after {
        display: none !important;
    }
    
    .blog_articles .article_item {
        margin-bottom: 20px;
    }
    
    .blog_articles .article_item .article_content {
        max-width: 250px;
    }
    
    #mobilenav_cart_link .badge {
        background: #80ba26;
        color: #fff;
    }
    
    #mobilenav_header #header_logo img {
        max-height: 40px;
        margin-top: 5px;
    }
    
    #product #product-name {
        font-size: 2.4rem;
    }
    
    #product .quantity_and_price .clearfix > p,
    #product .quantity_and_price .clearfix > div {
        display: block;
    }
    
    #product #primary_block .content_prices .price .our_price_display {
        margin: 0
    }
    
    #stores #center_column .store-small {
    	float: none;
    	width: 100%;
    	margin: 0;
    	margin-bottom: 20px;
    }

	div .title.title1.h-custo {
		font-size: 1.8rem;
	}
}

/* Landscape phones and down */
@media (max-width: 480px) {
	#order #order-detail-content #sous_le_tableau .cart_delivery_icon i,
	#order #order-detail-content #sous_le_tableau .cart_discount_icon i { display: none; }
	#order .cart_total_delivery td { display: none; }
}
