h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0px;
  margin-bottom: 0px;
  line-height: 100%;
}

a:hover {
  text-decoration: none;
}
.heading {
	font-family: "Playfair Display";
    margin-bottom: 10px;
    margin-left: 20px;
    /*margin-top: 15px;*/
}
body {
  background: url(../img/paper_fibers.png);
}
.btn-default {
    background-color: #660000;
    border-color: #660000;
    color: #ffffff;
}
.btn-default:hover {
    color: #ffffff;
	border-color: #290000;
	background: #941414;
}
.error-message {
	border: 1px solid transparent;
    border-radius: 4px;
	margin: 5px 0;
    padding: 5px 10px;
	background-color: #f2dede;
    border-color: #ebccd1;
    color: #b94a48;
}

.alert {
	margin-top: 5px;
}

.header-wrapper {
	background: #444;
	border-bottom: 2px solid #555;
	.header {
		padding-top: 20px;
		.search-wrapper {
			.top-menu {
				text-align: right;
			}

			a {
				color: #ffffff;
				font-family: "PT Sans";
				margin: 0px 8px 0px 0px;
				font-size: 15px;
				line-height: 25px;
			}
			a:last-child {
				margin-right: 2px;
			}

			input {
				font-size: 12px;
				width: 100%;
				padding: 4px 0px;
				padding-left: 6px;
				background-position: right 2px center;
				background-position-x: 97%;
				background-position-y: 44%;
				background-repeat: no-repeat;
				background-color: white;
				color: #333;
				border-radius: 3px;
				border: 1px solid #aaa; 
			}

			input::-webkit-input-placeholder {
				color: #aaa; 
			}

			input:-moz-placeholder {
				/* Firefox 18- */
				color: #aaa; 
			}

			input::-moz-placeholder {
				/* Firefox 19+ */
				color: #aaa; 
			}

			input:focus {
				border: 1px solid #336699;
			}

			input:hover {
				border: 1px solid #336699;
			}


			#outer {
				width:auto;
				position:relative;
			}
		}

		.extranet {
			button {
				padding: 10px;
				font-family: "PT Sans";
				font-size: 17px;
				font-weight: 700;
			}
		}
		
		.nav-wrapper {
			.nav {
				margin: 10px 0px;
				a {
					padding: 3px 20px;
					display: inline-block;
					font-family: "PT Sans";
					font-size: 16px;
					color: #ffffff;
					border-right: 1px solid #7f7f7f;
					background: #777;
					float: left;
					font-weight: 600;
					margin-top: 1px;
				}
				
				a:hover {
					border-right: 1px solid #898989;
					background: #aaa;
				}
				
				a:active {
					border-right: 1px solid #7c7c7c;
					background: #333;
				}
				
				a:first-child {
					border-radius: 3px 0px 0px 3px;
				}
				
				a:last-child {
					border-radius: 0px 3px 3px 0px;
					border-right: 0px;
				}
				
				a.active {
					border-right: 1px solid #7c7c7c;
					background: #333;
				}
			}
		}
	}
}

.content {
  background: url(../img/paper_fibers.png);
  padding:0 0 60px 0;
}

.breadcrumbs {
	padding-top: 10px;
	font-family: "Playfair Display";
	font-size: 14px;
	line-height: 14px;
	a {
		line-height: 14px;
		display: inline-block;
		vertical-align: top;
		color: #333;
	}
	a:after {
		content: url(../img/FF_UI_breadcrumb-separator.png);
		padding-left: 5px;
	}
}

.carousel {
	margin:20px 0 0 0;
	.carousel-indicators {
		top: 5px;
		bottom: auto;
		left: auto;
		width: auto;
		right: 19px;
		li {
			width: 8px;
			height: 8px;
			margin: 0px;
			margin-left: 3px;
			border: none;
			background: #777;
		}
		li.active {
			background: white;
		}
	}
	
	.carousel-inner {
		img {
			border-radius: 4px;
		}
		
		.description {
			position: absolute;
			bottom: 0px;
			width: 100%;
			background: rgba(0, 0, 0, 0.5);
			padding-left: 24px;
			
			h3 {
				margin-bottom: 4px;
				color: white;
				font-family: "PT Sans";
				margin-top: 19px;
			}
			
			p {
				margin-bottom: 22px;
				font-family: "PT Sans";
				color: white;
				letter-spacing: 0px;
			}
		}
	}
	
	.carousel-control {
		overflow: hidden;
		width: 40px;
		height: 40px;
		opacity: 1;
	}
	
	.carousel-control:focus {
		outline: 0px;
	}
	
	.carousel-control.left {
		background: none;
		margin-top: 160px;
		margin-left: 20px;
		
		.icon-prev {
			width: 40px;
			height: 40px;
			background-image: url(../img/FF_UI_Carousel-Nav.png);
			background-position: left 0px top 40px;
			background-position-y: 100%;
			left: 0px;
			top: 0px;
			margin: 0px;
		}
		
		.icon-prev:before {
			content: "";
		}
		
		.icon-prev:hover {
			background-position: left 0px top 0px;
		}
	}
	
	.carousel-control.right {
		background: none;
		margin-top: 160px;
		margin-right: 20px;
		
		.icon-next {
			width: 40px;
			height: 40px;
			background-image: url(../img/FF_UI_Carousel-Nav.png);
			background-position: left 40px top 40px;
			right: 0px;
			background-position-x: 100%;
			background-position-y: 100%;
			top: 0px;
			margin: 0px;
			opacity: 1;
		}
		
		.icon-next:before {
			content: "";
		}
		
		.icon-next:hover {
			background-position: left 40px top 0px;
			background-position-x: 100%;
		}
	}

}

.text-content {
  padding-left: 20px;
  margin-top:50px;
}
.home-text-content h2 {
	font-family: "Playfair Display";
	font-size: 24px;
	color: #333;
	margin: 20px 0 10px 0; }

.text-content h2 {
  font-family: "Playfair Display";
  font-size: 24px;
  color: #333;
  margin: 0 0 20px 0;
  
}
.text-content h4, .home-text-content h4 {
  font-family: "PT Sans";
  margin-top: 0px;
  line-height: 24px;
}
.module {
	width: 228px;
	border: 2px solid #777;
	border-radius: 5px;
	margin: 20px 0; 
	h4 {
		margin-bottom: 10px;
	}
	.header  {
		img {
			margin: 2px;
			border-radius: 5px;
		}
	}
	.body {
		padding: 10px;
	}
}

.collections {
	padding-bottom: 20px;
	h2 {
		margin-top: 30px;
		font-family: "Playfair Display";
		margin-bottom: 10px;
	}
	
	p {
		line-height: 30px;
		border-radius: 4px;
		font-family: "Playfair Display";
		margin-bottom: 0px;
		margin-left: -10px;
		color: #777;
		padding: 0 10px;
	}
	
	p.active, p:hover {
		background: #d7d2cb;
		color: #333;
	}
	
	p:hover {
		cursor: pointer;
	}
}

.categories {
	h2 {
		border-top: 1px solid #aaa;
		padding-top: 20px;
		font-family: "Playfair Display";
		margin: 0 0 10px 0;
	}
	
	p {
		line-height: 30px;
		border-radius: 4px;
		padding-left: 10px;
		font-family: "Playfair Display";
		margin-bottom: 0px;
		color: #777;
	}
	
	p.active {
		background: #d7d2cb;
		color: #333;
	}
	
	p:hover {
		cursor: pointer;
	}
} 

.collection-content {
	margin-top: 50px;
	img {
		margin-bottom: 7px;
		border-radius: 6px;
	}
	p {
		line-height: 1.5;
		font-family: "Open Sans";
		span {
			font-weight: 700;
			font-style: italic;
		}
	}
	p.title {
		font-style: italic;
		line-height: 1.3;
	}
	
}

.result {
	margin-top: 20px;
	img {
		border-radius: 6px;
	}
	
	h4 {
		min-height: 50px;
		padding: 15px 0;
		font-family: "Playfair Display";
		color: #333;
		text-align: left;
	}
	
}

.product {
	.left {
		margin-top: 30px;
		img {
			border-radius: 6px;
		}
		.thum {
			margin-top: 30px;
			img {
				border-radius: 6px;
				margin: 0 20px 20px 0;
			}
		}
	}
	
	.right {
		margin-top: 30px;
		h2 {
			font-family: "Playfair Display";
		}
		h5 {
			font-family: "Playfair Display";
			margin-top: 8px;
		}
		h4 {
			font-family: "PT Sans";
			margin-top: 20px;
			line-height: 1.5;
		}
		.dimension {
			margin-top: 10px;
			h4 {
				margin-top: 0px;
				font-family: "PT Sans";
				line-height: 1.5;
			}
		}
		a {
			font-family: "PT Sans";
			font-size: 17px;
			padding: 4px 17px;
			margin-top: 26px;
			background: #660000;
			font-weight: 700;
		}
		a:hover {
			background: #941414;
		}
		a:active {
			background: #490000;
		}
	}
}

.request-header {
	padding-left: 20px;
	h2 {
		margin-top: 50px;
		margin-bottom: 10px;
		font-family: "Playfair Display";
	}
}
.request-form {
  margin-top: 30px;
  margin-bottom: 60px;
	.form-control {
		border: 1px solid #bbb;
		background: white;
	}
	.form-control:focus {
		border: 1px solid #660000;
		background: white;
	}
	.form-group {
		margin-bottom: 10px;
		.control-label {
			height: 30px;
			font-family: "PT Sans";
			color: #333;
			font-weight: 400;
		}
		.form-control {
			height: 30px;
			padding: 5px 10px;
			margin-bottom: 10px;
		}
		.select-wrapper {
			position: relative;
			select.form-control {
				-moz-appearance: none;
				text-overflow: "";
				text-indent: 0.01px;
				position: absolute;
				background-image: url(../img/FF_UI_dropdown-ICN.png);
				background-repeat: no-repeat;
				background-position: right 10px center;
				background-position-x: 97%;
				background-position-y: 44%;
				color: #333;
			}
			select.form-control.empty {
				color: #aaa;
			}
		}
	}
	textarea.form-control {
		height: 160px;
	}
	button {
		margin-top: 10px;
		padding: 5px 35px;
		font-family: "PT Sans";
		font-size: 17px;
		background: #660000;
		border: none;
		float: right;
		font-weight: 700;
	}
	button:hover {
		background: #941414;
	}
	button:active {
		background: #490000;
	}
}
.country {
  margin-bottom: 20px;
}
.map {
  margin-top: 50px;
}
.map-description {
	margin-top: 50px;
	input {
		width: 280px;
		height: 30px;
		border: 1px solid #777;
		background-image: url("../img/FF_UI-magnify-ICN.png");
		background-position: right 10px center;
		background-position-x: 97%;
		background-position-y: 44%;
		background-repeat: no-repeat;
		border-radius: 4px;
		padding-left: 10px;
	}
	p {
		margin-top: 15px;
		line-height: 25px;
	}
}

footer {
	padding-bottom: 60px;
	background: #444;
	.footer-wrapper {
		.logo {
			margin-top:30px;
			h2 {
				color: white;
				font-size: 34px;
				font-family: "Playfair Display";
				margin-top: 23px;
				margin-left: 14px;
			}
			h5 {
				color: white;
				font-family: "Playfair Display";
				margin-left: 14px;
			}
		}
	
		.nav {
			padding-top: 30px;
			padding-right: 0px;
			h5 {
				color: white;
				font-family: "PT Sans";
				margin-bottom: 20px;
			}
			a {
				display: block;
				line-height: 18px;
				color: white;
				font-family: "PT Sans";
			}
			.about {
				padding-left: 12px;
			}
			.extranet {
				padding-left: 14px;
			}
		}
	}
}

div.input {
	margin:0 0 14px 0;
}
.fabrics {
	.checkbox {
		padding-left: 0px;
	}
	label {
		font-family: "Mate SC";
		display: block;
	}
	h5 {
		font-family: "Mate SC";
	}
	label.active:before {
		display: inline-block;
		float: left;
		margin-left: 3px;
		margin-right: 10px;
		content: "";
		background-image: url(../img/checked.png);
		background-repeat: no-repeat;
		visibility: visible;
		background-position: 0px 0px;
		width: 20px;
		height: 20px;
	}
	label:before {
		display: inline-block;
		float: left;
		margin-left: 3px;
		margin-right: 10px;
		content: "";
		background-image: url(../img/unchecked.png);
		background-repeat: no-repeat;
		visibility: visible;
		background-position: 0px 0px;
		width: 20px;
		height: 20px;
	}
	input[type="checkbox"] {
		visibility: hidden;
	}
	.color {
		.pallet:before {
			display: inline-block;
			content: "";
			background-repeat: no-repeat;
			visibility: visible;
			width: 20px;
			height: 20px;
			background-image:none;
		}
		.pallet.active:before {
			background-image: url(../img/tick-mark.png);
		}
		label:before {
			margin: 0px;
		}
		.color1:before {
			display: inline-block;
			content: "";
			background-image: url(../img/SSR_UI-checkboxes.png);
			background-repeat: no-repeat;
			visibility: visible;
			background-position: 0px 0px;
			width: 20px;
			height: 20px;
		}
		.color1.active:before {
			background-position: 0px -20px;
		}
		.color2:before {
			display: inline-block;
			content: "";
			background-image: url(../img/SSR_UI-checkboxes.png);
			background-repeat: no-repeat;
			visibility: visible;
			background-position: -20px 0px;
			width: 20px;
			height: 20px;
		}
		.color2.active:before {
			background-position: -20px -20px;
		}
		.color3:before {
			display: inline-block;
			content: "";
			background-image: url(../img/SSR_UI-checkboxes.png);
			background-repeat: no-repeat;
			visibility: visible;
			background-position: -40px 0px;
			width: 20px;
			height: 20px;
		}
		.color3.active:before {
			background-position: -40px -20px;
		}
		.color4:before {
			display: inline-block;
			content: "";
			background-image: url(../img/SSR_UI-checkboxes.png);
			background-repeat: no-repeat;
			visibility: visible;
			background-position: -60px 0px;
			width: 20px;
			height: 20px;
		}
		.color4.active:before {
			background-position: -60px -20px;
		}
		.color5:before {
			display: inline-block;
			content: "";
			background-image: url(../img/SSR_UI-checkboxes.png);
			background-repeat: no-repeat;
			visibility: visible;
			background-position: -80px 0px;
			width: 20px;
			height: 20px;
		}
		.color5.active:before {
			background-position: -80px -20px;
		}
		.color6:before {
			display: inline-block;
			content: "";
			background-image: url(../img/SSR_UI-checkboxes.png);
			background-repeat: no-repeat;
			visibility: visible;
			background-position: -100px 0px;
			width: 20px;
			height: 20px;
		}
		.color6.active:before {
			background-position: -100px -20px;
		}
		.color7:before {
			display: inline-block;
			content: "";
			background-image: url(../img/SSR_UI-checkboxes.png);
			background-repeat: no-repeat;
			visibility: visible;
			background-position: -120px 0px;
			width: 20px;
			height: 20px;
		}
		.color7.active:before {
			background-position: -120px -20px;
		}
		h5 {
			font-family: "Mate SC";
			margin:10px 0 20px 0;
			font-weight: bold;
		}
	}
	.filters {
		margin: 0 0 10px 0;
		h2 {
			font-family: "Mate SC";
			margin:30px 0 10px 13px;
		}
	}
	.pattern {
		margin: 0 0 10px 0;
		h5 {
			font-family: "Mate SC";
			margin:10px 0 10px 14px;
			font-weight:700;
		}
	}
	.checkbox-inline + .checkbox-inline {
		margin-top: 0px;
		margin-left: 5px;
	}
	.checkbox + .checkbox {
		margin-top: 0px;
	}
	.checkbox-inline {
		padding-left: 0px;
		display: block;
		float: left;
	}
	.checkbox {
		margin: 10px 0 0 0;
	}
	.material h5 {
		margin:20px 0 10px 14px;
		font-weight: bold;
	}
	.fabric-wrapper {
		margin-top: 30px;
		.fabric {
			margin-bottom: 20px;
			position:relative;
		}
		.fabric > img {
			width: 100%;
			border:3px solid #ffffff;
		}
		.fabric > img:hover {
			cursor: pointer;
		}
		.magnifyer {
			position:absolute;
			right:15px;
			bottom:4px;
			z-index:100;
		}
	}
}
.modal-open {
	overflow: auto;
}
.modal-backdrop {
	opacity: 0!important;
}
.modal {
	overflow-y: auto;
	.modal-dialog {
		padding-top: 180px;
		.modal-content {
			background: rgba(0, 0, 0, 0.5);
			padding: 20px;
			position: absolute;
			right: -109px;
			left: 129px;
			.modal-body {
				position: relative;
				border: 2px solid #336699;
				padding: 10px;
				border-radius: 6px;
				background: white;
				.close {
					background: url(../img/SSR_UI_close-ICN.png) no-repeat;
					width: 12px;
					height: 12px;
					opacity: 1;
				}
				.right {
					.description {
						padding-left: 10px;
						margin-top: 10px;
						p {
							font-family: "Mate SC";
							line-height: 1;
						}
					}
					
					a {
						position: absolute;
						bottom: 20px;
						right: 20px;
						font-family: "PT Sans";
						font-size: 17px;
						padding: 4px 9px;
						margin-top: 19px;
						background: #336699;
						border: medium none;
						font-weight: 700;
					}
					a:hover {
						background: #477aad;
					}
					a:active {
						background: #1f5285;
					}
				}
			}
		}
	}
}

.search {
	h2 {
		margin: 30px 0 15px 0;
	}
	.tab {
		background-color: #ffffff;
		padding: 15px;
		margin: 0;
		border: 1px solid #cccccc;
		border-top: 0;
	}
	.nav-tabs {
		border: 0;
	}
	.nav-tabs > li > a {
		color: #000000;
		border: 1px solid #cccccc;
		border-bottom: 0;
	}
	.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
		background-color: #ffffff;
		border-bottom: 0;
	}
	.fabric-img {
		cursor: pointer;
	}
}
#q, #submit_search { 
	margin: 0 
}
#submit_search { 
	text-indent: -99999px; 
	width: 14px; 
	height: 14px; 
	display: block;
    position:absolute;
	border:0;
    top:5px;
    right:2px;
	background: url(../img/search.png) 0 0 no-repeat;
	cursor: pointer;
}
#submit_search:hover {
	background-image: url(../img/search-hover.png);
}
#search_dealers {
	padding:4px 15px;
}


/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

/* Portrait phones and smaller */
@media (max-width: 480px) {
	.header-wrapper {
		.header {
			.search-wrapper {
				.top-menu {
					margin-top: 5px;
					text-align: left;
				}
			}
		}
	}
}


/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.result h4 {
		text-align: center;
	}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.header-wrapper {
		.header {
			.extranet {
				button {
					padding: 12px 32px;
					font-size: 17px;
					font-weight: 700;
				}
			}
		}
	}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.container {
		width: 960px;
	}
}