/* 
comment out import rows if you want to use different stylesheets for different screens,
otherwise it's recommended to use this file only for responsive rules
*/

/*
@import url(./screen-lg.css) (min-width:1200px);
@import url(./screen-md.css) (min-width: 992px) and (max-width: 1199px);
@import url(./screen-sm.css) (min-width: 768px) and (max-width: 991px);
@import url(./screen-xs.css) (max-width: 767px);
@import url(./screen-xxs.css) (max-width: 479px);
*/


/* full view: md, lg */
@media (min-width: 992px) {
	#nav {
		/* background: #eee; */
	}
    
    #footer .block.first {
        padding-left: 0px;
    }
    
    #footer .block.second {
        padding-left: 110px;
        padding-right: 110px;
    }
    
    #footer .block.third {
        padding-right: 0px;
    }
    
    #main {
        padding-top: 155px;
    }
    
    #product_view {
        height: auto;
    }
    
    #product_view {
        padding: 40px 30px;
    }
    
    .products .product-box h3.name,
    .product-box a.image {
        text-align: left;
    }
    
    .category-wrapper.position-2 {
        text-align: right;
    }
    
    body#page-CONTACT #feedback-form .field:nth-child(2) {
        /* padding: 0px; */
    }
    
    body#page-FIRSTPAGE .page-content > p > a {
        width: 25%;
    }
}

/* responsive view: xxs, xs, sm */
@media (max-width: 992px) {
	#footer .block.third {
	   text-align: center;
	}
	
    #footer .block.second {
	   border-left: none;
       border-right: none;
	}
    
	h1 {
		font-size: 30px;
	}
	h2, h3 {
		font-size: 25px;
	}
	
	.pagination {
		text-align: center;
	}
	
	.pagination li a {
		font-size: 1.6em !important;
		margin: 5px;
		padding: 0.5em 0.8em !important;
	}
	
	ul#main-menu > li {
		display: block !important;
		border-top: solid 1px #CBEA93 !important;
	}
	
	ul#main-menu > li > a {
		text-align: left !important;
	}
	
	#modal-login .row > div,
	#modal-join .row > div {
		margin: 10px 0px;
	}
	
	#modal-login .btn,
	#modal-join .btn {
		width: 100%;
	}
	
	#footer {
		text-align: center;
	}
	
	#footer ul {
		text-align: left !important;
	}
	
	.sidebar .banners {
		 text-align: center;
	}
	
	.sidebar .banner {
		display: inline-block;
		margin: 10px;
	}
    
    #product_view {
        width: 90%;
        margin-left: 5%;
    }
    
    .category-wrapper.position-2 {
        text-align: center;
    }
    
    a.content-link {
        text-align: left;
    }
}

/* lg only */
@media (min-width:1200px) {
	#product_view {
        width: 52%;
        margin-left: 24%;
    }
    
    div#product_images {
        position: absolute;
        bottom: -291px;
        max-width: calc(100% - 20px);
    }
    
    .worktop-wrapper, 
    .background-wrapper {
        width: 20% !important;
        padding: 0px 10px;
    }
    
    .worktop-input-titles,
    .background-input-titles {
        width: 16% !important;
        padding: 0px 10px;
    }
    
    .col-lg-20 {
        width: 20%;
    }
    
    .caption h2 {
        font-size: 45px;
    }
    
    .caption p {
        font-size: 23px;
    }
}

/* md only */
@media (min-width: 992px) and (max-width: 1199px) {
	#product_view {
        width: 55%;
        margin-left: 22.5%;
    }
    
    .caption h2 {
        font-size: 40px;
    }
    
    .caption p {
        font-size: 21px;
    }
}

/* over laptop screen */
@media (min-width:1367px) {
	#product_view {
        width: 50%;
        margin-left: 25%;
    }
}

/* sm only */
@media (min-width: 768px) and (max-width: 991px) {
    #product_view {
        padding: 40px 30px;
    }
    
    .products .product-box h3.name,
    .product-box a.image {
        text-align: left;
    }
    
    body#page-FIRSTPAGE .page-content > p > a {
        width: 50%;
    }
    
    .caption h2 {
        font-size: 40px;
    }
    
    .caption p {
        font-size: 18px;
    }
}

/* xs+xxs only */
@media (max-width: 767px) { 
	h1 {
		text-align: center;
		font-size: 28px;
	}
	h2, h3 {
		font-size: 22px;
	}
    
    #product_view.container {
        width: 100%;
    }
    
    #product_view {
        padding: 70px 30px;
    }
    
    .category-wrapper {
        text-align: center;
    }
    
    .product-box h2.product-name {
        margin-top: 20px !important;
    }
    
    .products .product-box h3.name,
    .product-box a.image {
        text-align: center;
    }
    
    .caption h2 {
        font-size: 36px;
    }
    
    .caption p {
        font-size: 18px;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    body#page-FIRSTPAGE .page-content > p > a {
        width: 50%;
    }
}

/* xxs only */
@media (max-width: 479px) { 
    .product-box .image,
    .product-box .info {
        width: 100%;
    }
    
    .button-wrapper {
        margin-top: 10px;
        display: flex;
    }
    
    body#page-FIRSTPAGE .page-content > p > a {
        width: 100%;
    }
}