@font-face {
    font-family: 'Swatchbookiconfa';
    font-style: normal;
    font-weight: 900;
    font-display: auto;
    src: url("../fonts/fa-solid-900.eot");
    src: url("../fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../fonts/fa-solid-900.woff2") format("woff2"), url("../fonts/fa-solid-900.woff") format("woff"), url("../fonts/fa-solid-900.ttf") format("truetype"), url("../fonts/fa-solid-900.svg#fontawesome") format("svg");
}

@font-face {
    font-family: 'Swatchbookiconfab';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url("../fonts/fa-brands-400.eot");
    src: url("../fonts/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("../fonts/fa-brands-400.woff2") format("woff2"), url("../fonts/fa-brands-400.woff") format("woff"), url("../fonts/fa-brands-400.ttf") format("truetype"), url("../fonts/fa-brands-400.svg#fontawesome") format("svg");
}

.swatchcontainer{
	width: 100%;
	position: relative;
}

.swatchcontainer > header{
	margin: 10px;
	padding: 20px 10px 10px 10px;
	position: relative;
	display: block;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    text-align: center;
}
.swatchcontainer > header h1{
	font-size: 36px;
	line-height: 36px;
	margin: 0;
	position: relative;
	font-weight: 300;
	color: #524f4e;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.7);
}
.swatchcontainer > header h1 span{
	font-weight: 700;
}
.swatchcontainer > header h2{
	font-size: 14px;
	font-weight: 300;
	margin: 0;
	padding: 15px 0 5px 0;
	color: #888;
	font-family: Cambria, Georgia, serif;
	font-style: italic;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.9);
}
/* Header Style */
.codrops-top{
	line-height: 24px;
	font-size: 11px;
	background: #fff;
	background: rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
	z-index: 9999;
	position: relative;
	font-family: Cambria, Georgia, serif;
	box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
}
.codrops-top a{
	padding: 0px 10px;
	letter-spacing: 1px;
	color: #333;
	display: inline-block;
}
.codrops-top a:hover{
	background: rgba(255,255,255,0.3);
}
.codrops-top span.right{
	float: right;
}
.codrops-top span.right a{
	float: left;
	display: block;
}
/* Demo Buttons Style */
.codrops-demos{
    text-align:center;
	display: block;
	line-height: 30px;
	padding: 5px 0px;
}
.codrops-demos a{
    display: inline-block;
	margin: 0px 4px;
	padding: 0px 6px;
	color: #aaa;
	line-height: 20px;	
	font-size: 13px;
	text-shadow: 1px 1px 1px #fff;
	border: 1px solid #fff;
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
	background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.codrops-demos a:hover{
	color: #333;
	background: #fff;
}
.codrops-demos a:active{
	background: #fff;
}
.codrops-demos a.current-demo,
.codrops-demos a.current-demo:hover{
	background: #f0f0f0;
	border-color: #d9d9d9;
	color: #aaa;
	box-shadow: 0 1px 1px rgba(255,255,255,0.7);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
}
.support-note span{
	color: #ac375d;
	font-size: 16px;
	display: none;
	font-weight: bold;
	text-align: center;
	padding: 5px 0;
}
.no-cssanimations .support-note span.no-cssanimations,
.no-csstransforms .support-note span.no-csstransforms,
.no-csstransforms3d .support-note span.no-csstransforms3d,
.no-csstransitions .support-note span.no-csstransitions{
	display: block;
}

/* swatchbook.css */
.sb-container {
	position: relative;
	width: 245px;
	height: 500px;
	margin: 30px auto 0 auto;
}

.sb-container div {
    position: absolute;
	top: 0;
	left: 0; 
	width: 130px;
	background: #fff;
	height: 400px;
	border-radius: 5px;
	cursor: pointer;
	text-align: center;
	background-image: url(../common/other-image/fabric.png);
	
	-webkit-transform-origin: 25% 90%;
	-moz-transform-origin: 25% 90%;
	-o-transform-origin: 25% 90%;
	-ms-transform-origin: 25% 90%;
	transform-origin: 25% 90%;
	
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;
	
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

.sb-container div:nth-child(1){
	background-color: #ea2a29;
	box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 1px 1px 1px rgba(0,0,0,0.1);
}

.sb-container div:nth-child(2){
	background-color: #f16729;
	box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 2px 2px 1px rgba(0,0,0,0.1);
}

.sb-container div:nth-child(3){
	background-color: #f89322;
	box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 3px 3px 2px rgba(0,0,0,0.2);
}

.sb-container div:nth-child(4){
	background-color: #ffcf14;
	box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 4px 4px 4px rgba(0,0,0,0.2);
}

.sb-container div:nth-child(5){
	background-color: #ffea0d;
	box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 5px 5px 6px rgba(0,0,0,0.3);
}

.sb-container div:nth-child(6){
	background-color: #87b11d;
	box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 6px 6px 8px rgba(0,0,0,0.3);
}

.sb-container div:nth-child(7){
	background-color: #008253;
	box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 7px 7px 10px rgba(0,0,0,0.4);
}

.sb-container div:nth-child(8){
	background-color: #3277b5;
	box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 8px 8px 12px rgba(0,0,0,0.4);
}

.sb-container div:nth-child(9){
	background-color: #4c549f;
	box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 9px 9px 14px rgba(0,0,0,0.4);
}

.sb-container div:nth-child(10){
	background-color: #764394;
	box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 10px 10px 16px rgba(0,0,0,0.4);
}

.sb-container div:nth-child(11){
	background-color: #ca0d86;
	box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 11px 11px 18px rgba(0,0,0,0.4);
}

.sb-container div:last-child{
	background: #645b5c url(../common/other-image/cover.jpg) repeat center center;
	box-shadow: 
		-1px -1px 3px rgba(0,0,0,0.2),
		12px 12px 20px rgba(0,0,0,0.6),
		inset 2px 2px 0 rgba(255, 255, 255, 0.1);
}

.sb-container div:last-child:after{
	content: '';
	position: absolute;
	bottom: 15px;
	left: 15px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #dddddd;
	background: -moz-linear-gradient(-45deg, #dddddd 0%, #58535e 48%, #889396 100%);
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#dddddd), color-stop(48%,#58535e), color-stop(100%,#889396));
	background: -webkit-linear-gradient(-45deg, #dddddd 0%,#58535e 48%,#889396 100%);
	background: -o-linear-gradient(-45deg, #dddddd 0%,#58535e 48%,#889396 100%);
	background: -ms-linear-gradient(-45deg, #dddddd 0%,#58535e 48%,#889396 100%);
	background: linear-gradient(135deg, #dddddd 0%,#58535e 48%,#889396 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dddddd', endColorstr='#889396',GradientType=1 );
	box-shadow: -1px -1px 1px rgba(0,0,0,0.5), 1px 1px 1px rgba(255,255,255,0.1);
}

.sb-container div h4{
	color: rgba(255,255,255,0.9);
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	border-top: 1px dashed rgba(0,0,0,0.1);
	border-bottom: 1px dashed rgba(0,0,0,0.1);
	margin: 5px;
	padding: 5px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.sb-container div:last-child h4{
	background: rgba(0,0,0,0.2);
	box-shadow: 0 1px 1px rgba(255,255,255,0.1);
}

.sb-container div h4 a{
	color: rgba(0,0,0,0.9);
	text-shadow: 0 1px 1px rgba(255,255,255,0.4);
}

.sb-container div h4 a:hover{
	color: rgba(255,255,255,0.9);
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.sb-container div:last-child h5{
	font-size: 50px;
	white-space: nowrap;
	text-align: left;
	margin: 0;
	padding: 0;
	position: absolute;
	line-height: 50px;
	top: 0px;
	left: 0px;
	color: #111;
	text-shadow: -1px -1px 1px rgba(255,255,255,0.1);
	text-transform: uppercase;
	
	-webkit-transform: rotate(-90deg) translateX(-157%) translateY(73px);
	-moz-transform: rotate(-90deg) translateX(-157%) translateY(73px);
	-o-transform: rotate(-90deg) translateX(-157%) translateY(73px);
	-ms-transform: rotate(-90deg) translateX(-157%) translateY(73px);
	transform: rotate(-90deg) translateX(-157%) translateY(73px);
	
	-webkit-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	-o-transform-origin: 0 0;
	-ms-transform-origin: 0 0;
	transform-origin: 0 0;
	
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/*Alternate*/
.sb-alternative {
    position: relative;
    width: 245px;
    height: 500px;
    margin: 30px auto 0 auto;
}

    .sb-alternative div {
        position: absolute;
        top: 0;
        left: 0;
        width: 130px;
        background: #fff;
        height: 400px;
        border-radius: 5px;
        cursor: pointer;
        text-align: center;
        background-image: url(../common/other-image/fabric.png);
        -webkit-transform-origin: 25% 90%;
        -moz-transform-origin: 25% 90%;
        -o-transform-origin: 25% 90%;
        -ms-transform-origin: 25% 90%;
        transform-origin: 25% 90%;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        -o-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }

        .sb-alternative div:nth-child(1) {
            background-color: #ffea0d;
            box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 5px 5px 6px rgba(0,0,0,0.3);
        }

        .sb-alternative div:nth-child(2) {
            background-color: #87b11d;
            box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 6px 6px 8px rgba(0,0,0,0.3);
        }

        .sb-alternative div:nth-child(3) {
            background-color: #008253;
            box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 7px 7px 10px rgba(0,0,0,0.4);
        }

        .sb-alternative div:nth-child(4) {
            background-color: #3277b5;
            box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 8px 8px 12px rgba(0,0,0,0.4);
        }

        .sb-alternative div:nth-child(5) {
            background-color: #4c549f;
            box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 9px 9px 14px rgba(0,0,0,0.4);
        }

        .sb-alternative div:nth-child(6) {
            background-color: #764394;
            box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 10px 10px 16px rgba(0,0,0,0.4);
        }

        .sb-alternative div:nth-child(7) {
            background-color: #ca0d86;
            box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 11px 11px 18px rgba(0,0,0,0.4);
        }

        .sb-alternative div:nth-child(8) {
            background-color: #ea2a29;
            box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 1px 1px 1px rgba(0,0,0,0.1);
        }

        .sb-alternative div:nth-child(9) {
            background-color: #f16729;
            box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 2px 2px 1px rgba(0,0,0,0.1);
        }

        .sb-alternative div:nth-child(10) {
            background-color: #f89322;
            box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 3px 3px 2px rgba(0,0,0,0.2);
        }

        .sb-alternative div:nth-child(11) {
            background-color: #ffcf14;
            box-shadow: -1px -1px 3px rgba(0,0,0,0.1), 4px 4px 4px rgba(0,0,0,0.2);
        }

        .sb-alternative div:last-child {
            background: #645b5c url(../common/other-image/cover.jpg) repeat center center;
            box-shadow: -1px -1px 3px rgba(0,0,0,0.2), 12px 12px 20px rgba(0,0,0,0.6), inset 2px 2px 0 rgba(255, 255, 255, 0.1);
        }

            .sb-alternative div:last-child:after {
                content: '';
                position: absolute;
                bottom: 15px;
                left: 15px;
                width: 20px;
                height: 20px;
                border-radius: 50%;
                background: #dddddd;
                background: -moz-linear-gradient(-45deg, #dddddd 0%, #58535e 48%, #889396 100%);
                background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#dddddd), color-stop(48%,#58535e), color-stop(100%,#889396));
                background: -webkit-linear-gradient(-45deg, #dddddd 0%,#58535e 48%,#889396 100%);
                background: -o-linear-gradient(-45deg, #dddddd 0%,#58535e 48%,#889396 100%);
                background: -ms-linear-gradient(-45deg, #dddddd 0%,#58535e 48%,#889396 100%);
                background: linear-gradient(135deg, #dddddd 0%,#58535e 48%,#889396 100%);
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dddddd', endColorstr='#889396',GradientType=1 );
                box-shadow: -1px -1px 1px rgba(0,0,0,0.5), 1px 1px 1px rgba(255,255,255,0.1);
            }

        .sb-alternative div h4 {
            color: rgba(255,255,255,0.9);
            text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
            font-weight: 700;
            font-size: 12px;
            text-transform: uppercase;
            border-top: 1px dashed rgba(0,0,0,0.1);
            border-bottom: 1px dashed rgba(0,0,0,0.1);
            margin: 5px;
            padding: 5px;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        .sb-alternative div:last-child h4 {
            background: rgba(0,0,0,0.2);
            box-shadow: 0 1px 1px rgba(255,255,255,0.1);
        }

        .sb-alternative div h4 a {
            color: rgba(0,0,0,0.9);
            text-shadow: 0 1px 1px rgba(255,255,255,0.4);
        }

            .sb-alternative div h4 a:hover {
                color: rgba(255,255,255,0.9);
                text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
            }

        .sb-alternative div:last-child h5 {
            font-size: 50px;
            white-space: nowrap;
            text-align: left;
            margin: 0;
            padding: 0;
            position: absolute;
            line-height: 50px;
            top: 0px;
            left: 0px;
            color: #111;
            text-shadow: -1px -1px 1px rgba(255,255,255,0.1);
            text-transform: uppercase;
            -webkit-transform: rotate(-90deg) translateX(-157%) translateY(73px);
            -moz-transform: rotate(-90deg) translateX(-157%) translateY(73px);
            -o-transform: rotate(-90deg) translateX(-157%) translateY(73px);
            -ms-transform: rotate(-90deg) translateX(-157%) translateY(73px);
            transform: rotate(-90deg) translateX(-157%) translateY(73px);
            -webkit-transform-origin: 0 0;
            -moz-transform-origin: 0 0;
            -o-transform-origin: 0 0;
            -ms-transform-origin: 0 0;
            transform-origin: 0 0;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

/*Alternate End*/

span.fa{
	display: block;
	height: 70px;
	width: 70px;
	margin: 20px auto;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

span.fa:before {
	font-family: 'Swatchbookiconfa';
	font-style: normal;
	font-weight: normal;
	speak: none;
	display: block;
	text-decoration: inherit;
	text-align: center;
	text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); 
	line-height: 64px;
	width: 100%;
	font-size: 55px;
	color: #fff;
	text-shadow: 0 0 1px #000;
}

span.fab {
    display: block;
    height: 70px;
    width: 70px;
    margin: 20px auto;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    span.fab:before {
        font-family: 'Swatchbookiconfab';
        font-style: normal;
        font-weight: normal;
        speak: none;
        display: block;
        text-decoration: inherit;
        text-align: center;
        text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
        line-height: 64px;
        width: 100%;
        font-size: 55px;
        color: #fff;
        text-shadow: 0 0 1px #000;
    }

.fa-ticket-alt:before {
    content: "\f3ff";
}

.fa-algolia:before {
    content: "\f36c";
}

.fa-diagnoses:before {
    content: "\f470";
}

.fa-hands-helping:before {
    content: "\f4c4";
}

.fa-robot:before {
    content: "\f544";
}

.fa-binoculars:before {
  content: "\f1e5"; }

.fa-mobile-alt:before {
    content: "\f3cd";
}

.fa-servicestack:before {
    content: "\f3ec";
}

.fa-briefcase:before {
    content: "\f0b1";
}

.fa-puzzle-piece:before {
    content: "\f12e";
}

.fa-shipping-fast:before {
    content: "\f48b";
}

.fa-credit-card:before {
    content: "\f09d";
}

.fa-receipt:before {
    content: "\f543";
}

.fa-brain:before {
    content: "\f5dc";
}

.fa-shoe-prints:before {
    content: "\f54b";
}
.fa-tools:before {
    content: "\f7d9";
}

.fa-bug:before {
    content: "\f188";
}

/* MOBILE Compatibility */
/* =====================================
   MOBILE RESPONSIVE ENHANCEMENTS
   ===================================== */

@media (max-width: 1024px) {
    .sb-container,
    .sb-alternative {
        transform: scale(0.9);
        transform-origin: top center;
    }
}

@media (max-width: 768px) {

    /* General container */
    .swatchcontainer {
        padding: 0px 100px 0px 0px;
    }

    /* Header scaling */
    .swatchcontainer > header h1 {
        font-size: 26px;
        line-height: 30px;
    }

    .swatchcontainer > header h2 {
        font-size: 13px;
    }

    .swatchcontainer span {
        margin:0px !important;
    }

    /* Codrops top bar */
    .codrops-top {
        text-align: center;
        font-size: 10px;
    }

    .codrops-top span.right {
        float: none;
        display: block;
        margin-top: 5px;
    }

    /* Demo buttons – touch friendly */
    .codrops-demos a {
        padding: 8px 12px;
        margin: 5px;
        font-size: 14px;
        line-height: 24px;
    }

    /* Swatchbook container */
    .sb-container,
    .sb-alternative {
        width: 100%;
        max-width: 260px;
        height: 420px;
        margin: 20px auto;
        transform: scale(0.8);
        transform-origin: top center;
    }

    /* Swatch pages */
    .sb-container div,
    .sb-alternative div {
        width: 110px;
        height: 340px;
    }

    /* Titles inside swatches */
    .sb-container div h4,
    .sb-alternative div h4 {
        font-size: 11px;
        padding: 4px;
    }

    /* Cover text */
    .sb-container div:last-child h5,
    .sb-alternative div:last-child h5 {
        font-size: 36px;
        line-height: 36px;
    }

    /* Icons */
    span.fa,
    span.fab {
        width: 56px;
        height: 56px;
        margin: 15px auto;
    }

    span.fa:before,
    span.fab:before {
        font-size: 42px;
        line-height: 56px;
    }
}

/* =====================================
   SMALL PHONES
   ===================================== */

@media (max-width: 480px) {

    .sb-container,
    .sb-alternative {
        transform: scale(0.7);
        height: 380px;
    }

    .sb-container div,
    .sb-alternative div {
        width: 100px;
        height: 300px;
    }

    .swatchcontainer > header h1 {
        font-size: 22px;
        line-height: 26px;
    }

    .codrops-demos a {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}
