/************ Products banner *************/
.products__banner{
	background: linear-gradient(to right, #20457d, #456aac);
	padding-bottom: 50px;
	padding-top: 150px;
}

.products__banner h1{
	font-weight: normal;
	text-align: center;
}

/************ Products wrapper *************/
.wrapper--products{
	max-width: 1200px;
}

/************ Products headline *************/
.products__description-headline h3{
	color: grey;
    text-align: center;
    font-weight: normal;
    padding: 70px 0;
    line-height: 28px;
    font-size: 20px;
}

/************ Products breadcrumbs *************/
.products__breadcrumbs a, .products__breadcrumbs li{
	color: #f2f2f2;
	font-size: 10px;
}

.products__breadcrumbs-container{
	padding: 22px 0;
    background: slategrey;
}

.products__breadcrumbs  li.active a{
	color: #83CE44;;
	text-decoration: none;
}

.products__breadcrumbs a:hover {
	text-decoration: underline;
}

ul.products__breadcrumbs li {
	font-size: 10px;
}

.products__breadcrumbs{
	display: inline-flex;
}

/************ Products body (TEMPLATE)*************/
.products__body {
	background: #f2f2f2;
}

/************ Products main (TEMPLATE)*************/
.products__main a:hover{
	color: #83ce44;
}

/************ Products sections (TEMPLATE)*************/

.products__section{
	background: white;
	text-align: center;
	margin-bottom: 40px;
	padding: 40px 0;
}

.products__section h3{
	color: #666666;
	margin-bottom: 20px;
	font-weight: 100;	
}

.products__section h3{
	text-align: center;
	font-size: 30px;
	padding-left: 20px;
}
/************ Products list(TEMPLATE)*************/
.products__list {
    font-size: 18px;
    padding-left: 20px;
    line-height: 30px;
}

.products__list a{
    color: lightslategray;
    transition: all .3s;
}

.products__list a:hover{
	text-decoration: underline;
	color: black;
}

.products__pagination p{
	margin-bottom: 0!important;
    padding-top: 45px;
    color: black!important;
    font-size: 14px;
}

.product__list-arrows {
	color:lightgrey;
	font-size:16px; 
	font-weight:bold
}

/************ Products modal(TEMPLATE)*************/

.product__modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 998;
}

.product__modal-window {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1010 !important;
	background: #FFF;
	cursor: default;
	box-shadow: 5px 10px 28px #000;
	overflow: hidden;
	padding-bottom: 100px;
	height: 95vh;
	width: 90%;
	margin: auto;
}

.product__modal-header {
	position: sticky;
	top: -20px;
}

.product__modal-close-btn i {
	cursor: pointer;
}

.product__modal-close-btn:hover{
	color: grey;
}

.product__modal-wrapper::-webkit-scrollbar {
	width: 1.4em;
	height: 0;
}
 
.product__modal-wrapper::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.3);
	background: #f2f2f2;
}
 
.product__modal-wrapper::-webkit-scrollbar-thumb {
  background-color: #98e645;
  outline: 1px solid slategrey;
}



.product__modal.product__modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
}

.product__modal h2{
	margin-right: 40px;
	margin-left: 25px;
	text-align: center;
  	padding-top: 20px;
	font-size: 25px;
}

.product__modal-body{
	line-height: 25px;
	padding: 20px 0px;
}

.product__modal-wrapper{
	margin: 30px;
	padding: 15px;
	text-align: left;
	height:85%;
	background: #f2f2f2;
	overflow-y: scroll; /* has to be scroll, not auto */
  -webkit-overflow-scrolling: touch;
}

.product__modal-wrapper a {
	color:  #456aac;
	font-weight: bold;
}

.product__modal-body h3{
	margin-bottom: 20px;
}

.product__modal-body h4{
	margin: 20px 0;
	font-size: 20px;
}

.product__modal-body li{
	list-style-type:decimal;
	margin-left: 20px;
	padding-bottom: 10px;
}

.product__modal-close-btn {
	position: absolute;
	right: 5px;
	top: 0;
	cursor: pointer;
	font-size: 40px;
	font-weight: bold;
	color: slategray;
}

body.product__opened-modal{
	overflow: hidden;
	position:relative;
}

/******* Product pegination ********/
.product__page-number{
	padding: 5px 10px;
	display: inline-block;
	background: none;
	border-radius: 5px;
	border: 1px solid lightgrey;
	color: grey;
}
.product__page-number--active{
	background: lightslategray;
	border: 1px solid lightslategray;
	color: white;
}

.product__pages{
	color:#8B8F7E;
	margin-top:8px
}

.expand__height{
	min-height: 665px;
}
/************ Product individual template ***************/

/****** Product template navbar background SECTION******/
.product__template-navbar-background{
	background: #456aac;
    height: 83px;
}

.product__body-template .products__breadcrumbs-container{
	margin-top: 82px;
}

/****** Product template header SECTION******/
.product__template-header-description{
	color: grey;
	padding: 0 0 30px 0;
	line-height: 25px;
}

/****** Product template table SECTION******/
.product__template-table {
	display: block;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	margin: 0 0 3em 0;
	padding: 0;
}

.product__template-table-cell {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	-webkit-box-flex: 1;
	    -ms-flex-positive: 1;
	        flex-grow: 1;
	width: 100%;
	overflow: hidden;
	list-style: none;
	border: solid 1px white;
	background: rgba(112, 128, 144, 0.2);
}

.product__template-table {
	position: relative;
	top: 3px;
	left: 3px;
}

.product__template-table-cell {
	margin: -3px 0 0 -3px;
	background-color: white;
	border-color: #e2e6e9;
}

.product__template-table-thead{
	display: none;
 }

 .product__template-table-mobile-thead{
	display: block;
    width: 100%;
    text-align: left;
    font-weight: normal;
    background: #f2f5f7;
    color: slategrey;
    text-align: center;
    font-size: 18px;
 }

 .product__template-table-mobile-thead p{
	padding:10px;
 }

 .product__template-table-column{
	width: 100%;
    display: inline-block;
    color: black;
	padding: 22px;
	font-weight: bold;
 }

 .product__template-table-cell--tfoot{
	margin-bottom: 50px;
 }

 .products__template-qty-btns{
	border: 1px solid lightgrey;
	padding: 4px;
	background: white;
	color: black;
	width: 28px;
	font-weight: bold;
}

.product__template-qty-input-value{
	text-align: center;
    border: none;
    background: #f2f5f7;
    color: slategrey;
    padding: 4px;
    font-weight: bold;
}

.product__template-table-row-white{
	background: white;
}
.product__template-table-row-color{
	background: #f2f2f2;
}

/****** Product template add to cart SECTION******/
.product__template-addCart-btn{
	margin-bottom: 20px;
	display: block;
    font-size: 23px;
}

.button--products{
	color: white;
	-webkit-transition: .3s all;
	-o-transition: .3s all;
	transition: .3s all;
	border: 1px solid #83ce44;
}

.button--products:hover{
	background: white;
	color: #83ce44;
	font-weight: normal;
}

/****** Product template tabs SECTION******/
.product__template-tabs {
  overflow: hidden;
  border-top: 1px solid #ccc;
}

.product__template-tabs button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  font-size: 17px;
  color: grey;
  display: block;
  width: 100%;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.product__template-tabs button:hover {
  	border-top: 4px solid #456aac;
	color: darkslategrey;
}

.product__template-tabs button.active {
  	border-top: 4px solid #456aac;
	color: darkslategrey;
}

.product__template-tabs-content {
	display: none;
	padding: 6px 12px;
	border-top: none;
	min-height: 226px;
}

.product__template-tabs-content p{
	text-align: left;
}

.product__template-tabs-content tr td:nth-child(odd){
	color: grey;
}

.product__template-tabs-content{
	background: #f2f5f7;
	text-align: left;
	line-height: 22px;
}

.product__template-tabs-content img{
	max-width: 450px;
	height: auto;
}

@media only screen and (min-width: 450px){
	ul.products__breadcrumbs li {
		font-size: 19px;
	}

	.products__breadcrumbs a, .products__breadcrumbs li{
		font-size: 19px;
	}
}

@media only screen and (min-width: 768px){

	.products__banner h1{
		text-align: left;
	}

    .products__section h3{
		text-align: left;
	}

	.product__modal-wrapper {
		height: 350px;
		overflow-y: auto; 
	}
	
	body.product__opened-modal{
		overflow:auto;
	}

	.product__modal-body{
		padding: 20px 50px;
	}

	.product__modal-window {
		max-width: 750px;
		margin: 0 auto;
		top: 20%;
		height: 500px
	}

	/***** Product individual template *****/
	.product__template-header-description{
		text-align: left;
	  }
	  
	.product__template-tabs button {
		width: auto;
	  }
	  
  	.product__template-tabs-content tr{
		text-align: left;
	  }
	  
	  .product__template-header-description{
		color: grey;
		padding: 0 0 30px 20px;
		line-height: 25px;
	}
}

@media only screen and (min-width: 1024px){
	.fa .fa-home{
		padding-right: 5px;
	}

	/***** Product individual template *****/
		/* hides the mobile titles of the product template table */
		.product__template-table-mobile-thead{
			display: none
		 }
		 
		 .product__body-template #navbar {
			background: #20457d;
		}

		.product__body-template .products__breadcrumbs-container{
			margin-top: 110px;
		}
	
		.product__body-template .products__breadcrumbs-container.increase_margin-top{
			margin-top: 138px;
		}

		.product__body-template #navbar.navbar-opacity  {
			background: rgb(45, 76, 134, 0.8);
		}

		.product__body-template #navbar.navbar-shadow{
			box-shadow: 0 2px 2px 3px rgba(0,0,0,.2);
		} 
	
		/**** product template table section *****/
		.product__template-table {
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			top: 0;
			left: 0;
			width: 100%;
			border-radius: 0 0 15px 15px;
			border-top: none;
			-webkit-box-shadow: 31px 100px 87px -129px rgba(0,0,0,0.75);
			box-shadow: 31px 100px 87px -129px rgba(0,0,0,0.75);
		}
	
		.product__template-table-thead{
			display: inline-block;
			width: 100%;
			margin: 0 auto;
			border-bottom: none;
			background: #f2f5f7;
			color: slategrey;
			border-radius: 15px 15px 0 0;
		 }  
	
		.product__template-table-thead span{
			display: inline-block;
			width: 15%;
			text-align: center;
			padding: 0.8em 1.2em;
		}
	
		span.product__template-table-thead--product-name{
			width: 38%;
			border: none;
		}
	
		  .product__template-table-cell--tfoot{
			margin-bottom: 0;
			-webkit-box-shadow: none;
			box-shadow: none;
		 }
	  
		.product__template-table > .product__template-table-cell {
			width: 15%;
		}
	
		.product__template-table > .product__template-table-cell--product-name{
			width:40%;
		}
	
		.product__template-table-column{
			width: 100%;
			border-left: none;
			padding: 10px;
		}
	
		.product__template-table-row{
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			width: 100%;
		}
	
		.product__template-table-row:first-child{
			border-top:none;
		}
	
		.product__template-table-cell {
			padding: 0.8em 0.2em;
			-webkit-box-sizing: border-box;
					box-sizing: border-box;
			display: inline-block;
			overflow: hidden;
			list-style: none;
			border:none;
			background: none;
			-webkit-box-flex:unset;
				-ms-flex-positive:unset;
					flex-grow:unset;
			width: 15%;
			margin: 0;
		}
	
		.product__template-table-cell--product-name{
			width: 40%;
		}
	
		/**** product template add to cart section *****/
		.product__template-addCart-btn {
			text-align: right;
		}
	
		.product__template-addCart-btn p{
			display: inline-block;
			margin-bottom: 20px;
			width: 150px;
			cursor: pointer;
		}
}