/* - - - - - - - - - - - - - - - - 
*   Common 
*- - - - - - - - - - - - - - - - -*/ 
.usa{
	margin-right: 0;
} 

.shipping img {
	width: 100%;
}

.searchform input {
	width: 160px;
}

.detailprice span {
	width: 100%;
}

#similar-product .carousel-inner .item img {
	width: 65px;
}

#cart_items .cart_info .cart_description h4, 
#cart_items .cart_info .cart_description p {
	text-align: center;
}
/*
.footer-widget .col-sm-2 {
	width: 16.666666666666664%;
	display: inline-block;
	margin-bottom: 8px;
    float: left;
}

.footer-widget .col-sm-3 {
	display: inline-block;
	width: 25%;
}
.col-sm-offset-1 {
    margin-left: 8.333333333333332%;
}
.col-sm-6 {
    width: 50%;
    float: left;    
} */

/* - - - - - - - - - - - - - - - - 
*   definizione grid-areas 
*- - - - - - - - - - - - - - - - -*/ 

.header { grid-area: header; }
.header_A { grid-area: headerA; } 
.header_B { grid-area: headerB; } 
.header_C { grid-area: headerC; } 
.header_D { grid-area: headerD; }

.header_A1 { 
	grid-area: headerA1; 
	/*justify-content: flex-start; */
}
.header_search { 
	grid-area: search
}
.slider {
    grid-area: slider;
}

.sidebar1 {
    grid-area: sidebar1;
    margin-left: 100px; 
	margin-top: 10px;    
}
.sidebar2 {
    grid-area: sidebar2;
    margin-left: 100px;     
}
.content {
    grid-area: content;
    margin-right: 12%;    
}
#detcontentLeft {
    grid-area: detcontentLeft;
    border: 1px solid #ccc;
    margin-top: 9px;    
}
#detcontentRight {
    grid-area: detcontentRight;
    margin-top: 8px;      
    /*margin-right: 6%; */     
}
#detbottom {
    grid-area: detbottom;
}
#checkoutside {
    grid-area: checkoutSide;   
}
#cartchange {
	grid-area: cartchange;
	margin-bottom: 25px;	
}
.footer {
    grid-area: footer;
}

.wrapper {
    background-color: #fff;
    color: #444;
}


/* - - - - - - - - - - - - - - - - 
*   CSS-grid : mobile first
*- - - - - - - - - - - - - - - - -*/ 
.wrapper {
    display: grid;
    grid-gap: 1em;
    grid-template-areas:
     "headerA1 headerA1" 
     "headerA headerB"
     "headerC headerD" 
	 "search search"     
     "slider"
     "sidebar1"
     "sidebar2"     
     "content"
     "footer"
     
  }
.wrapperDetail {
    display: grid;
	grid-template-columns:  1.0fr ;    
    grid-gap: 0px;
    grid-template-areas:
    "headerA1" 
     "headerA"
     "headerB"  
     "headerC"  
     "headerD" 
	 "search"       
     "sidebar1"
     "detcontentLeft"
     "detcontentRight"
     "detbottom";
     /*"footer"*/
}
.wrapperCheckout {
	display: grid;
    grid-gap: 1em;
    grid-template-areas:
    "header" 
    "cartchange";
    /*"footer"*/
}

.footer-widget { 
	/*grid-area: footerT; */
	/*justify-content: flex-start; */
}
.footer-bottom { 
	/*grid-area: footerB; */
	/*justify-content: flex-start; */
}
.footerItems {
  display: grid;
  grid-template-columns: 1.5fr repeat( 3, 1fr );
  grid-template-rows: auto auto;
  grid-gap: 0.3em;
  /*padding: 5px 15px;  */
}
.footer .single-widget {
	padding-top: 5px;
}
.foot1 { grid-column: 1; grid-row: 1;padding-left: 15px}
.foot2 { grid-column: 2; grid-row: 1;}
.foot3 { grid-column: 3; grid-row: 1;}
.foot4 { grid-column: 4; grid-row: 1;}
.footer-bottom  { grid-column: 1 /5; grid-row: 2;}
/* - - - - - - - - - - - - - - - - 
*   CSS-grid : media devices  480
*- - - - - - - - - - - - - - - - -*/ 
@media only screen and (min-width: 480px) {
    .wrapper {
        grid-gap: 0px; 
        grid-template-columns: minmax(220px, 1fr) 1.0fr ;
        grid-template-rows: 37px 75px 75px 37px auto auto;
        grid-template-areas:
        "headerA1 headerA1"
        "headerA headerB"
        "headerC headerD"            
        "search search"
        "slider slider"
        "sidebar1 content "
        "sidebar2 content ";            
        /*"footer footer "; */
    }
	.wrapperDetail { 
        grid-gap: 0px; 
        grid-template-columns: minmax(220px, 1fr) 1.0fr ;
        grid-template-rows: 37px 75px 75px 37px auto auto auto;
        grid-template-areas:
        "headerA1 headerA1"
        "headerA headerB"
        "headerC headerD"
		"search  search"        
        "sidebar1 detcontentLeft"
        "sidebar1 detcontentRight"            
        "sidebar1 detbottom ";            
        /*"footer footer "; */	
	}	
	.wrapperCheckout {
        grid-gap: 0px; 
        grid-template-columns: minmax(220px, 1fr) 1.0fr ;	
        grid-template-rows: 37px 75px 75px auto ; 
        grid-template-areas:
        "headerA1 headerA1"
        "headerA headerB"
        "headerC headerD"            
        "cartchange cartchange";          
        /*"footer footer "; */	
	}		
}
/* - - - - - - - - - - - - - - - - 
*   CSS-grid : media devices  768
*- - - - - - - - - - - - - - - - -*/ 
@media only screen and (min-width: 768px) {

	.container {
	    width: 750px;
	}
	.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
	    float: left;
	}
	.col-sm-12 {
	    width: 100%;
	}	
	.col-sm-3 {
	    width: 25%;
	}
	.col-sm-4 {
	    width: 33.33333333333333%;
	}
    footer {
        display: grid;
        align-self: end; /* The trick */
    }		
    .wrapper {
        grid-gap: 0px; 
        grid-template-columns: minmax(220px, 1fr) 1.0fr 1.0fr 1.0fr;
        grid-template-rows: 37px 75px 37px auto auto auto;
        grid-template-areas:
        "headerA1 headerA1 headerA1 headerA1"
        "headerA headerB headerC headerD"
        "search search search search"
        "slider slider slider slider"
        "sidebar1 content content content"
        "sidebar2 content content content"           
        "footer footer footer footer";
       height: 100vh;
    }
   .wrapperDetail {
        grid-gap: 0px;
        grid-template-columns: minmax(220px, 1fr) 1.5fr 1.0fr 1.0fr;
        grid-template-areas:
        "headerA1 headerA1 headerA1 headerA1"
        "headerA headerB headerC headerD" 
        "search search search search"
        "sidebar1 detcontentLeft detcontentRight detcontentRight"
        "sidebar2 detbottom detbottom detbottom"
         "footer footer footer footer";
        grid-template-rows:  37px auto 37px 475px 1fr auto;
        height: 100vh;
   }
   .wrapperCheckout {
        grid-gap: 0px;
        grid-template-columns: minmax(220px, 1fr) 1.5fr 1.0fr 1.0fr;
        grid-template-areas:
        "headerA1 headerA1 headerA1 headerA1"
        "headerA headerB headerC headerD" 
        "checkoutSide cartchange cartchange cartchange"
        "footer footer footer footer";
        grid-template-rows:  37px 75px 1fr auto;
        height: 100vh;
   }
   .bodycontent {
    display: grid;
    grid-gap: 0px;
    grid-template-columns: 225px 1.0fr;
    grid-template-areas:
    "header header "
    "leftcontent rightcontent"
    "leftcontent rightsubcontent"
    "footer footer";
    grid-template-rows:  90px 1fr 1fr 82px;
    height: 100vh;
}
}

/* - - - - - - - - - - - - - - - - 
*   CSS-grid : media devices  992
*- - - - - - - - - - - - - - - - -*/ 

@media (min-width: 992px)  {
	.container {
	    width: 970px;
	} 
}
/* - - - - - - - - - - - - - - - - 
*   CSS-grid : media devices  1200
*- - - - - - - - - - - - - - - - -*/ 
@media (min-width: 1200px) {
	.container {
	    width: 1170px;
	}
}

/* - - - - - - - - - - - - - - - - 
*   CSS-grid : media devices  768 -991
*- - - - - - - - - - - - - - - - -*/ 
@media (min-width: 768px) and (max-width: 991px) {

    .container {
        width: 750px;
    }   
    .shop-menu ul li a {
    	padding-left: 0;
    }
    
    #slider-carousel .item {
    	padding-left: 30px;
    }
    
    .item h2{
    	font-size: 24px;
    }
    
    .girl{
    	margin-left: 0;
    }
    
    .pricing {
    	width: 100px;
    }
    
    .shipping img {
    	width: 100%;
    }
    
    .slider.slider-horizontal {
    	width: 100% !important;
    }
    .tab-pane .col-sm-3, .features_items .col-sm-4{
    	width: 50%;
    }
    
    .footer-widget .col-sm-2 {
    	width: 33%;
    	display: inline-block;
    	margin-bottom: 50px;
    }
    
    .footer-widget .col-sm-3 {
    	display: inline-block;
    	width: 40%;
    }
    
    #similar-product .carousel-inner .item img {
    	width: 60px;
    	margin-left: 0;
    }
    
    .product-information span span {
    	display: block;
    	width: 100%;
    }
    
    .product-information .cart {
    	margin-left: 0;
    	margin-top: 15px;
    }
    
    .item-control i {
    	font-size: 12px;
    	padding: 5px 6px;
    }
    
    #cart_items .cart_info .cart_description h4, #cart_items .cart_info .cart_description p {
    	text-align: center;
    }
    
    .companyinfo h2{
    	font-size: 20px;
    }
    
    .address {
    	margin-top: 48px;
    	margin-left: 20px;
    }
    
    .address p {
    	font-size: 12px;
    	top: 5px;
    }

}  /* close sm */

/* xs smartphone*/
@media (max-width: 767px) {
    .wrapper {
        grid-gap: 0px; 
        grid-template-columns: minmax(220px, 1fr) 1.0fr ;
        grid-template-rows: 37px 75px 75px 37px auto auto 251px;
        grid-template-areas:
        "headerA1 headerA1"
        "headerA headerB"
        "headerC headerD" 
		"search search"            
        "slider slider"
        "sidebar1 content"
        "sidebar2 content"            
        "footer footer";
        /*max-width: 600px;*/
    }
    .logo {
        margin-left: 10%;
    }
    .header_B .header_top, .header_C .header_top {
      display: none;
    }
    .header-middle ul.pull-right {
    	float: left !important;
    }
    
    .sidebar1 {
    	margin-left: 10px; */
    	margin-top: 10px;   	
    }
    .sidebar2 {
    	margin-left: 10px; */
    }
    .social-icons ul li a i {
    	padding: 8px 10px;
    }
    
    .shop-menu.pull-right{
    	float: none !important;
    }
    
    .header-bottom .col-sm-9{
    	display: inline-block;
    	width: 100%;
    }
    
    .mainmenu{
    	width: 100%;
    }
    
    .mainmenu ul li{
    	background: rgba(0, 0, 0, 0.5);
        padding-top: 15px;
    	padding-bottom: 0;
    }
    
    .mainmenu ul li:last-child{
    	padding-bottom: 15px;
    }
    
    .mainmenu ul li  a{
    	color: #fff;
    }
    
    .navbar-collapse.in{
    	overflow: inherit;
    }
    
    .mainmenu ul li a.active{
    	padding-left: 15px;
    }
    
    .dropdown .fa-angle-down{
    	display: none;
    }
    
    ul.sub-menu{
      position: relative;
      width: auto;
      display: block;
      background: transparent;
      box-shadow: none;
      top: 0;
    }
    
    .sub-menu li{
    	background: transparent;
    }
    
    .mainmenu .navbar-nav li ul.sub-menu li{
    	background: transparent;
    	padding-bottom:0;
    }
    
    .nav.navbar-nav > li:hover > ul.sub-menu{
      -webkit-animation: none;
      -moz-animation: none;
      -ms-animation: none;
      -o-animation: none;
      animation: none;
      box-shadow: none;
    }
    
    .header-bottom{
    	position: relative;
    }
    
    .header-bottom .col-sm-3 {
    	display: inline-block;
    	position: absolute;
    	left: 0;
    	top: 38px;
    }
    
    #slider-carousel .item{
    	padding-left: 0;
    }
    
    .shipping{
    	margin-bottom: 25px;
    }
    
    .pricing{
    	width: 100px;
    }
    
    .footer-top .col-sm-7 .col-sm-3{
    	width: 50%;
    	float: left;
    }
    
    .footer-widget .col-sm-2 {
    	width: 28%;
    	display: flex;
    	margin-bottom: 50px;
    	margin-top: 0;
    	float: left;
    }
    
    .companyinfo{
    	text-align: center;
    }
    
    .footer-widget .col-sm-3{
    	display: inline-block;
    }
    
    .single-widget{
    
    }
    
    .product-information span {
    	display: block;
    }
    
    #similar-product {
    	margin-bottom: 40px;
    }
    
    .well{
    	display: inline-block;
    }

} /* close  xs smartphone */ 

/* XS Portrait */
@media (max-width: 480px) {

    .contactinfo{
    	text-align: center;
    }
    
    .contactinfo ul li a {
    	padding-right: 15px;
    	padding-left: 0;
    }
    
    .social-icons.pull-right {
    	float: none !important;
    	text-align: center;
    }
    .sidebar1 {
    	margin-left: 10px; */
    	margin-top: 10px;   
    }
    .sidebar2 {
    	margin-left: 10px; */
    }
    .btn-group.pull-right, 
    .footer-bottom .pull-left, 
    .footer-bottom .pull-right, 
    .mainmenu.pull-left,
    .media.commnets .pull-left,
    .media-list .pull-left{
    	float: none !important;
    }
    
    .header_top .col-sm-6:first-child {
    	display: block;
    	float: none;
    }
    
    .header_top .col-sm-6:last-child {
    	display: block;
    	float: none;
    }
    
    .contactinfo .nav.nav-pills, .social-icons .nav.navbar-nav {
    	display: inline-block;
    }
    
    .logo {
    	text-align: center;
    	width: 100%;
    }
    
    .shop-menu ul li {
    	padding: 0;
    }
    
    .header-middle .col-sm-4 {
    	text-align: center;
    	overflow: inherit;
    }
    
    .shop-menu .nav.navbar-nav {
    	margin-left: 0;
    }
    
    .btn-group>.btn-group:last-child>.btn:first-child {
    	margin-right: 0;
    }
    
    .header-bottom .col-sm-9 {
    	display: inline-block;
    	width: 100%;
    }
    
    .mainmenu {
    	width: 100%;
    }
    
    .mainmenu ul li {
    	background: rgba(0, 0, 0, 0.5);
        padding-top: 15px;
    	padding-bottom: 0;
    }
    
    .mainmenu ul li:last-child {
    	padding-bottom: 15px;
    }
    
    .mainmenu ul li a {
    	color: #FFF;
    	padding-bottom: 0;
    }
    
    .navbar-collapse.in {
    	overflow: inherit;
    }
    
    .mainmenu ul li a.active {
    	padding-left: 15px;
    }
    
    .dropdown .fa-angle-down {
    	display: none;
    }
    
    ul.sub-menu {
      position: relative;
      width: auto;
      display: block;
      background: transparent;
      box-shadow: none;
      top: 0;
    }
    
    .mainmenu .navbar-nav li ul.sub-menu li {
    	background: transparent;
    	padding-bottom:0;
    }
    
    .nav.navbar-nav > li:hover > ul.sub-menu {
      -webkit-animation: none;
      -moz-animation: none;
      -ms-animation: none;
      -o-animation: none;
      animation: none;
      box-shadow: none;
    }
     
    .item{
    	padding-left: 0;
    }
    
    .item h1{
    	font-size: 30px;
    	margin-top: 0;
    }
    
    .item h2{
    	font-size: 20px;
    }
    
    .pricing{
    	width: 70px;
    }
    
    .category-tab ul li a {
    	font-size: 12px;
    }
    
    .companyinfo h2, .companyinfo p {
    	text-align: center;
    }
    
    .video-gallery {
    	margin-top: 30px;
    }
    /* questa è na pezza perchè senza di essa il div footer si rompe , ovvero
       non viene visualizzato con la larghezza che si estende fino a fine della view.
       non si è riuscito a capire il motivo..per ora
    */
	.footer {
	    width: 140%;    
	}
    .footer-bottom p {
    	font-size: 13px;
    	text-align: center;
    }
    
    .footer-widget .col-sm-2 {
    	width: 50%;
    	display: flex;
    	margin-bottom: 50px;
    	margin-top: 0;
    	float: left;
    	padding-right: 0;
    /*	padding-left: 30px;*/
    	margin-left: 0;
    }
    
    /*.single-widget {
    	padding-left: 0; 
    }*/
    
    .features_items{
    	margin-top: 30px;
    }
    
    .category-tab .nav-tabs li{
    	float: none;
    }
    
    #similar-product .carousel-inner .item img{
    	margin-left: 4px;
    }
    
    .product-information{
    	margin-top: 40px;
    }
    
    #reviews p, .blog-post-area .single-blog-post p{
    	text-align: justify;
    }
    
    #reviews form span input{
    	width: 100%;
    	margin-bottom: 20px;
    }
    
    #reviews form span input:last-child{
    	margin-left: 0;
    }
    
    .blog-post-area .single-blog-post h3{
    	font-size: 14px;
    }
    
    .blog-post-area .post-meta ul li{
    	margin-right: 7px;
    }
    
    .shipping{
    	margin-bottom: 20px;
    }
    
    .commnets{
    	padding: 0;
    }
    
    .content-404 h1{
    	font-size: 30px;
    }
    
    .content-404 h2 a{
    	font-size: 20px;
    }
    
    .order-message{
    	display: inline-block;
    }
    
    .response-area .media img{
    	width: auto;
    }
    
    .sinlge-post-meta li{
    	margin-bottom: 10px;
    }
    
    .product-information{
    	padding-left: 0;
    	text-align: center;
    }
    
    .product-information span span{
    	float: none;
    }

} /* close XS Portrait  */