/* ===[ Responsive Media Queries ]===
   ==================================================
   ================================================== */

@media (min-width: 1200px) { 
    body.boxed {
        width: 1230px;
        -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
        box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
        background: url(../img/patterns/whitey.png) repeat;
        margin: 0 auto;
    }

    body.boxed #header .main-header {
        width: 1230px;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) { 
    .app-service h3 { padding-top: 50px }
}

@media (max-width: 979px) { 
    #cn-tabs .service {
        border-bottom-color: #ddd;
        border-bottom-width: 1px;
    }
}

@media (min-width: 768px) and (max-width: 979px) { 
    body.boxed { width: 100% }

    .navbar-toggle {
        position: relative;
        float: none;
        padding: 9px 10px;
        margin-top: 8px;
        margin-bottom: 8px;
        background-color: transparent;
        border: 1px solid #dddddd;
        border-radius: 4px;
        display: block;
    }

    .navbar-header,
    .navbar-nav { float: none }

    .navbar-collapse.collapse {
        display: none !important;
        height: auto !important;
        overflow: visible !important;
        padding-bottom: 0;
    }

    .navbar-collapse.collapse.in { display: block !important }

    .recentworks,
    .our-clients { overflow: hidden }

    .portfolio-desc { margin-bottom: 40px }

    .portfolio.two-column .view h3 { margin-top: 50px }

    .nivo-directionNav a { top: 30% }

    #cn-tabs .service { margin-bottom: 40px }

    #cn-tabs .service:before {
        content: "";
        position: absolute;
        left: 46%;
        top: auto !important;
        right: auto !important;
        bottom: 23px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        border-bottom: 1px solid #ddd;
        border-top: 0;
    }

    .phone-login a { margin-right: 15px }

    #flickrfeed li { margin: 3px 3px 0 0 }

    .team .item { margin-top: 25px }
}

@media (min-width: 980px) { 
    nav.menu { float: right !important }

    .menu > ul li { float: left }

    .menu ul>li>a { padding: 34px 18px 31px 18px }
}

@media (max-width: 767px) { 
    body.boxed { width: 100% }

    .top-bar .pull-left,
    .top-bar .pull-right,
    .logo.pull-left,
    .get-started .pull-right,
    .learnmore { float: none !important }

    .logo.pull-left {
        display: block;
        text-align: center;
        margin: 25px 0 10px;
    }

    .navbar-fixed-top {
        position: relative !important;
        top: auto;
    }

    header .top-bar {
        min-height: 0;
        padding: 3px 0;
    }

    .navbar-toggle {
        float: none;
        text-align: center;
        padding: 0;
        display: block;
    }

    .mobile.navbar-header { margin-bottom: 30px }

    .topnav a.navbar-toggle {
        padding: 0;
        line-height: 18px;
        margin-top: -1px;
    }

    .navbar-toggle:hover,
    .navbar-toggle:focus { background-color: transparent }

    .mobile .navbar-toggle i {
        padding: 9px 12px;
        border-radius: 3px !important;
    }

    .topnav .navbar-toggle {
        display: block;
        float: none;
        margin: 0 auto;
        border: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 2px;
        border-bottom-right-radius: 2px;
    }

    .topnav .navbar-toggle i {
        border-radius: 0 0 2px 2px !important;
        padding: 0 8px;
        font-size: 19px;
        cursor: pointer;
    }

    .top-bar {
        text-align: center;
        padding: 0px 15px 10px !important;
    }

    .slidedown .social { padding-bottom: 10px }

    header .social li,
    footer .social li {
        display: inline-block;
        border: none !important;
        margin-right: 0;
    }

    header .social i,
    footer .social i { line-height: 40px }

    .phone-login { padding: 12px 0 3px }

    .top-bar #search-form { display: none }

    .phone-login a {
        display: block;
        margin: 0 0 10px;
        text-align: center;
    }

    div.content-box.big.bottom-pad-small { margin-bottom: 80px }

    .portfolio-item { margin-bottom: 20px }

    .portfolio-wrap .item { width: 100% }

    .tp-caption h3 {
        font-size: 14px !important;
        line-height: 25px !important;
    }

    .tp-caption h5 {
        font-size: 11px !important;
        line-height: 24px;
        margin: 10px 0 0 10px;
    }

    .tp-caption i {
        background: none !important;
        font-size: 11px !important;
        margin-right: 0 !important;
        color: #666;
        line-height: 34px !important;
        margin-right: 5px !important;
        width: 11px !important;
    }

    .list-slide { margin-bottom: 5px }

    .slogan h2 {
        text-align: center;
        line-height: 44px;
        margin-top: 0;
    }

    .slogan h3 {
        text-align: center;
        line-height: 32px;
    }

    .slogan-content p { text-align: center }

    .app-service { text-align: center }

    .app-service h3 {
        text-align: center;
        padding-top: 5px;
    }

    .app-service h4 { line-height: 26px }

    .get-started,
    .learnmore {
        text-align: center;
        margin-bottom: 15px;
    }

    .breadcrumb-wrapper { text-align: center }

    .breadcrumbs.pull-right { float: none !important }

    .blog-small article .post-image { width: 99.7% }

    .blog-small article .post-content-wrap {
        float: left;
        margin: 0;
        padding: 0;
        width: 95%;
    }

    .main-content .bottom-pad { margin-bottom: 0px }

    .main-content .content-box {
        margin-bottom: 40px;
        display: inline-block;
    }

    .features .bottom-pad-small { margin-bottom: 0 }

    .services .bottom-pad-small { margin-bottom: 0 }

    .img-content {
        float: none;
        margin: 0 0 15px;
    }

    .portfolio-desc { margin-bottom: 40px }

    .portfolio.two-column .view h3 { margin-top: 50px }

    .portfolio.three-column .view h3 { margin-top: 30px }

    #cn-tabs .service { margin-bottom: 40px }

    #cn-tabs .service:before {
        content: "";
        position: absolute;
        left: 44%;
        top: auto !important;
        right: auto !important;
        bottom: 23px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        border-bottom: 1px solid #ddd;
        border-top: 0;
    }

    .latest-posts .post-item { margin-bottom: 30px }

    .col-xs-12 .btn { font-size: 11px }

    .our-clients .item { text-align: center }

    footer section { margin-bottom: 35px }

    .footer-bottom { text-align: center }

    .social-icons-footer-bottom {
        display: inline-block;
        float: none;
    }

    div.p_table div.column_1,
    div.p_table div.column_2,
    div.p_table div.column_3,
    div.p_table div.column_4,
    div.p_table.three-col div.column_1,
    div.p_table.three-col div.column_2,
    div.p_table.three-col div.column_3 {
        width: 100%;
        margin-bottom: 25px;
    }

    .testimonial.item { margin-bottom: 25px }

    .team .item { margin-top: 25px }

    .about .testimonials.widget { margin-top: 30px }

    .nivo-directionNav a { top: 30% }
}

@media (min-width: 980px) { 
    .top-bar .collapse {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
        padding-bottom: 0;
    }
}

@media (min-width: 980px) and (max-width: 1199px) { 
    body.boxed { width: 100% }

    .slogan h2 {
        display: inline-block;
        font-size: 24px;
        line-height: 36px;
        margin: 10px 0;
    }

    .get-started { padding-top: 1px }

    .tp-caption .btn-special {
        padding: 10px 15px;
        font-size: 14px;
    }

    .view p {
        padding: 10px 20px 0;
        font-size: 14px;
    }

    .portfolio.two-column .view h3 { margin-top: 100px }

    .portfolio.three-column .view h3 { margin-top: 50px }

    #horizontal-tabs ul.tabs li {
        text-align: center;
        width: 90%;
    }
}

@media (min-width: 768px) and (max-width: 979px) { 
    .get-started .pull-right { float: none !important }

    .app-service { text-align: center }

    .app-service h3 {
        text-align: center;
        padding-top: 5px;
    }

    .app-service h4 { line-height: 26px }

    .logo.pull-left { margin: 0px 0 20px }

    .portfolio-wrap .view h3 {
        font-size: 14px;
        margin: 10px 0 0;
        padding: 5px 0;
    }

    .portfolio-wrap .view p {
        font-size: 11px;
        padding: 0 20px;
    }

    .portfolio-wrap .view a.info { padding: 2px 8px }

    .portfolio.three-column .view h3 { margin-top: 7px }

    header .top-bar {
        min-height: 0;
        padding: 3px 0;
    }

    .navbar-toggle {
        float: none;
        text-align: center;
        padding: 0;
        display: block;
        border: none;
        border-radius: 0;
    }

    .mobile.navbar-header {
        float: none;
        margin: 20px 0 0 92.5%;
        padding: 0;
    }

    .topnav a.navbar-toggle {
        line-height: 18px;
        margin-top: -1px;
        padding: 0;
    }

    .navbar-toggle:hover,
    .navbar-toggle:focus { background-color: transparent }

    .mobile .navbar-toggle i {
        padding: 9px 12px;
        border-radius: 3px !important;
    }

    .topnav .navbar-toggle {
        display: block;
        float: none;
        margin: 0 auto;
        border: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 2px;
        border-bottom-right-radius: 2px;
    }

    .topnav .navbar-toggle i {
        border-radius: 0 0 2px 2px !important;
        padding: 0 8px;
        font-size: 19px;
        cursor: pointer;
    }

    .top-bar {
        text-align: center;
        padding: 0 !important;
    }

    .phone-login { padding: 12px 0 3px }

    .top-bar #search-form { display: none }

    #horizontal-tabs ul.tabs li {
        text-align: center;
        width: 80%;
    }

    .tp-caption h3 { font-size: 28px !important }

    .tp-caption h5 { font-size: 15px !important }

    .tp-caption i {
        font-size: 13px !important;
        color: #fff;
        line-height: 25px !important;
        margin-right: 5px !important;
        margin-top: -5px !important;
        width: 25px !important;
        height: 25px !important;
    }

    .tp-caption .btn-special {
        padding: 9px 10px;
        font-size: 11px;
    }

    .list-slide { margin-bottom: 5px }

    .slogan h2 {
        text-align: center;
        line-height: 44px;
        margin-top: 0;
    }

    .get-started {
        text-align: center;
        margin-bottom: 15px;
    }

    .main-content .bottom-pad { margin-bottom: 0px }

    .main-content .content-box {
        margin-bottom: 40px;
        display: inline-block;
    }

    .features .bottom-pad-small { margin-bottom: 0 }

    .features .feature-box {
        margin-bottom: 30px;
        display: inline-block;
    }

    .features .feature-box-info h4 { margin-top: 0 }

    .latest-posts .post-item { margin-bottom: 30px }

    .blog-showcase li { margin-bottom: 20px }

    .blog-showcase-thumb { width: 375px }

    .blog-showcase-extra-info {
        left: 375px;
        width: 375px;
    }

    footer section { margin-bottom: 35px }

    .social-icons-footer-bottom { display: inline-block }
}

@media (max-width:768px) { 
    .services.big .content-box { margin-bottom: 30px }

    .services .bottom-pad { margin-bottom: 0 }

    .services .content-box {
        display: inline-block;
        margin-bottom: 30px;
    }

    .services .feature-box {
        margin-bottom: 20px;
        display: inline-block;
    }

    .services .bottom-pad-small { margin-bottom: 0 }

    #not-found h2 { font-size: 180px }
}

/* ===[ Coming soon page Small devices (tablets, 768px and less) ]===
   ==================================================
   ================================================== */

@media (max-width: 768px) { 
    .coming-soon-copyright { margin-top: 40px }

    .coming-soon-copyright p { text-align: left }
}

@media (min-width:1024px) { 
    .portfolio-full-width .grid figure,
    .portfolio-four-column .grid figure { width: 25% }

    .portfolio-two-column .grid figure { width: 50% }
}

@media screen and (max-width: 69.5em) { 
    .grid figure { width: 50% !important }
}

@media screen and (max-width: 41.5em) { 
    .grid figure { width: 100% !important }
}

/* ===[ Mobile portrait (320x480) ]===
   ================================================== */

@media screen and (max-width:320px) { 
    .grid figure { height: 190px }

    .grid figure figcaption h2 { font-size: 14px }

    figure.effect-zoe figcaption > span {
        font-size: 12px;
        padding: 2px 5px;
        line-height: normal;
    }

    figure.effect-zoe p {
        bottom: 6em;
        font-size: 12px;
    }

    .portfolio-full-width .grid figure { height: 250px }

    .portfolio-full-width .grid figure figcaption h2 { font-size: 14px }

    .portfolio-full-width figure.effect-zoe figcaption > span {
        font-size: 12px;
        padding: 0px 7px;
    }
}


/* ===[ Mobile landscape (480x320) ]===
   ==================================================
   ================================================== */

@media screen and (min-width:320px) and (orientation:landscape) { 
    .grid figure { height: 332px }

    .grid figure figcaption h2 { font-size: 18px }

    figure.effect-zoe figcaption > span {
        font-size: 18px;
        padding: 0px 10px;
    }

    figure.effect-zoe p {
        bottom: 5em;
        font-size: 85%;
    }
}


/* ===[ Mobile portrait (360x640) ]===
   ================================================== */

@media screen and (max-width:360px) { 
    .grid figure { height: 190px }

    .grid figure figcaption h2 { font-size: 14px }

    figure.effect-zoe figcaption > span {
        font-size: 12px;
        padding: 2px 5px;
        line-height: normal;
    }

    figure.effect-zoe p {
        bottom: 6em;
        font-size: 12px;
    }

    .portfolio-full-width .grid figure { height: 250px }

    .portfolio-full-width .grid figure figcaption h2 { font-size: 14px }

    .portfolio-full-width figure.effect-zoe figcaption > span {
        font-size: 12px;
        padding: 0px 7px;
    }
}

/* ===[ Mobile landscape (640x360) ]===
   ==================================================
   ================================================== */

@media screen and (min-width:360px) and (orientation:landscape) { 
    .grid figure { height: 332px }

    .grid figure figcaption h2 { font-size: 18px }

    figure.effect-zoe figcaption > span {
        font-size: 18px;
        padding: 0px 10px;
    }

    figure.effect-zoe p {
        bottom: 5em;
        font-size: 85%;
    }
}

/* ===[ Small tablet portrait (600x800) ]===
   ==================================================
   ================================================== */

@media screen and (min-width:600px) and (orientation:portrait) { 
    .grid figure { height: 420px }
}

/* ===[ Small tablet landscape (800x600) ]===
   ==================================================
   ================================================== */

@media screen and (min-width:800px) and (orientation:landscape) { 
    .grid figure { height: 265px }

    .grid figure figcaption h2 { font-size: 18px }

    figure.effect-zoe figcaption > span {
        font-size: 18px;
        padding: 0px 10px;
    }

    figure.effect-zoe p {
        bottom: 5em;
        font-size: 85%;
    }
}

/* ===[ Tablet portrait (768x1024) ]===
   ==================================================
   ================================================== */

@media screen and (min-width:768px) and (orientation:portrait) { 
    .grid figure { height: 265px }

    .grid figure figcaption h2 { font-size: 20px }

    figure.effect-zoe figcaption > span {
        font-size: 20px;
        padding: 0px 10px;
    }

    figure.effect-zoe p {
        bottom: 5em;
        font-size: 85%;
    }
}

/* ===[ Tablet landscape (1024x768) ]===
   ==================================================
   ================================================== */

@media screen and (min-width:1024px) and (orientation:landscape) { 
    .grid figure { height: 346px }
}

/* ===[ Ipad ]===
   ================================================== */

/* iPads (landscape) -----------    */

@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:landscape) { 
    
}

/* iPads (portrait) -----------    */

@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:portrait) { 
    
}

/* screen>1100    */

@media screen and (min-width:1100px) { 
    .grid figure { height: 420px }

    .grid figure figcaption h2 { font-size: 24px }

    figure.effect-zoe figcaption > span {
        font-size: 22px;
        padding: 1px 10px;
    }

    figure.effect-zoe p { bottom: 10em }

    .portfolio-three-column .grid figure { height: 280px }

    .portfolio-three-column .grid figure figcaption h2 { font-size: 20px }

    .portfolio-three-column figure.effect-zoe figcaption > span {
        font-size: 20px;
        padding: 0px 10px;
    }

    .portfolio-three-column figure.effect-zoe p { bottom: 5em }

    .portfolio-full-width .grid figure { height: 248px }

    .portfolio-four-column .grid figure { height: 210px }
}

/* screen>1900    */

@media screen and (min-width:1900px) { 
    .portfolio-full-width .grid figure { height: 360px }
}

@media only screen and (min-width: 320px) and (max-width: 480px) { 
    .related-product .col-lg-4 { max-width: 290px !important }
}

@media only screen and (min-width: 600px) and (max-width: 800px) { 
    .related-product .col-lg-4 { max-width: 270px !important }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) { 
    .related-product .col-lg-4 { max-width: 240px !important }
}

@media screen and (min-width: 1024px) and (orientation: landscape) { 
    .related-product .col-lg-4 { max-width: 325px !important }
}

@media screen and (min-width: 1100px) and (orientation: landscape) { 
    .related-product .col-lg-4 { max-width: 390px !important }
}
/* ================================================================== */
/* CSS Style Switcher By FIFO THEMES
====================================================================== */

	#style-switcher h3 {  
		color: #888888;
		font-family: "Open Sans",Helvetica,Arial,sans-serif;
		font-size: 14px;
		font-weight: 600;
		margin: 10px 0 10px 1px;
	}
	
	#style-switcher {
		background-color: #fff;
		width: 205px;
		position:fixed;
		top: 140px;
		z-index: 999;
		border-radius: 0 0 3px 0;
		left: -206px;
		border: 1px solid #e4e4e4;
		border-left: 0;
		border-top: 0;
		box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.08);
	}
	
	#style-switcher div {
		padding: 3px 18px 5px 18px;
	}
	
	#style-switcher h2 {
		background-color: #555;
		color: #fff;
		font-weight: bold;
		font-size: 14px;
		padding: 0 0 0 20px;
		margin:0;
		line-height:40px;
		font-family: "Open Sans",Helvetica,Arial,sans-serif;
	}
	
	
	#style-switcher h2 a {
		
		background-color: #555;
		display: block;
		height: 40px;
		position: absolute;
		right: -43px;
		font-size:20px;
		text-align:center;
		color:#fff;
		top: 0;
		width: 43px;
		text-decoration:none;
		border-radius: 0 3px 3px 0;
	}	
	.colors {
		list-style:none;
		margin: 0 0px 10px 0;
		overflow: hidden;
	}
	
	.colors li {
		float:left;
		margin: 4px 2px 0 2px;
	}
	
	.colors li a {
		display: block;
		width: 29px;
		height: 29px;
		cursor: pointer;
		border-radius: 1px;
	} 
	
	.layout-style select, .header-style select, 
	.footer-style select, .header-color input {
		width: 164px;
		padding: 2px 5px;
		color: #888;
		cursor: pointer;
		border-radius: 2px;
		font-size: 13px;
		margin: 2px 0 2px 2px;
	}
	
	.header-color .sp-replacer  {
		padding:4px 6px !important;
	}
	
	.header-color .sp-replacer .sp-dd, .header-color .sp-replacer .sp-preview, div.header-color {
		padding:0px 1px !important;
	}
	
	.layout-style, .header-style, .header-color
	.footer-style { padding: 0 !important; }
	
	.blue { background: #00bbf3; }
	.green { background: #59ab02; }
	.orange {background: #FA6900; }
	.purple { background: #800080; }
	.red { background: #9e0b0f; }
	.magenta { background: #ec008c; }
	.brown { background: #c69c6d; }
	a.gray { background: #555555; }
	.golden { background: #DAA520; }
	.teal { background: #008080; }

	.bg1 { background-image: url("../img/patterns/whitey.png"); }
	.bg2 { background-image: url("../img/patterns/retina_wood.png"); }
	.bg3 { background-image: url("../img/patterns/subtle_grunge.png"); }
	.bg4 { background-image: url("../img/patterns/denim.png"); }
	.bg5 { background-image: url("../img/patterns/lghtmesh.png"); }
	.bg6 { background-image: url("../img/patterns/fabrics_gray.png"); }
	.bg7 { background-image: url("../img/patterns/tileable_wood.png"); }
	.bg8 { background-image: url("../img/patterns/dark_wood.png"); }
	.bg9 { background-image: url("../img/patterns/wall.png"); }
	.bg10 { background-image: url("../img/patterns/grey_wash.png"); }
	
	
	@media only screen and (max-width: 1023px) { #style-switcher { display: none; } }
	   
/***
Spectrum Colorpicker v1.1.1
https://github.com/bgrins/spectrum
Author: Brian Grinstead
License: MIT
***/

.sp-container {
    position:absolute;
    top:0;
    left:0;
    display:inline-block;
    *display: inline;
    *zoom: 1;
    z-index: 2147483647;
    overflow: hidden;
}
.sp-container.sp-flat {
    position: relative;
}

/* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
.sp-top {
  position:relative;
  width: 100%;
  display:inline-block;
}
.sp-top-inner {
   position:absolute;
   top:0;
   left:0;
   bottom:0;
   right:0;
}
.sp-color {
    position: absolute;
    top:0;
    left:0;
    bottom:0;
    right:20%;
}
.sp-hue {
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left:84%;
    height: 100%;
}
.sp-fill {
    padding-top: 80%;
}
.sp-sat, .sp-val {
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.sp-alpha-enabled .sp-top
{
    margin-bottom: 18px;
}
.sp-alpha-enabled .sp-alpha
{
    display: block;
}

.sp-alpha-handle
{
    position:absolute;
    top:-4px;
    bottom: -4px;
    width: 6px;
    left: 50%;
    cursor: pointer;
    border: 1px solid black;
    background: white;
    opacity: .8;
}

.sp-alpha
{
    display: none;
    position: absolute;
    bottom: -14px;
    right: 0;
    left: 0;
    height: 8px;
}
.sp-alpha-inner{
    border: solid 1px #333;
}

/* Don't allow text selection */
.sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button  {
    -webkit-user-select:none;
    -moz-user-select: -moz-none;
    -o-user-select:none;
    user-select: none;
}

.sp-container.sp-input-disabled .sp-input-container {
    display: none;
}
.sp-container.sp-buttons-disabled .sp-button-container {
    display: none;
}
.sp-palette-only .sp-picker-container {
    display: none;
}
.sp-palette-disabled .sp-palette-container {
    display: none;
}

.sp-initial-disabled .sp-initial {
    display: none;
}


/* Gradients for hue, saturation and value instead of images.  Not pretty... but it works */
.sp-sat {
    background-image: -webkit-gradient(linear,  0 0, 100% 0, from(#FFF), to(rgba(204, 154, 129, 0)));
    background-image: -webkit-linear-gradient(left, #FFF, rgba(204, 154, 129, 0));
    background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
    filter : progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
}
.sp-val {
    background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#000000), to(rgba(204, 154, 129, 0)));
    background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0));
    background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
    filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
}

.sp-hue {
    background: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -ms-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -o-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(0.17, #ffff00), color-stop(0.33, #00ff00), color-stop(0.5, #00ffff), color-stop(0.67, #0000ff), color-stop(0.83, #ff00ff), to(#ff0000));
    background: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
}

/* IE filters do not support multiple color stops.
   Generate 6 divs, line them up, and do two color gradients for each.
   Yes, really.
 */

.sp-1 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
}
.sp-2 {
    height:16%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
}
.sp-3 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
}
.sp-4 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
}
.sp-5 {
    height:16%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
}
.sp-6 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
}

.sp-hidden {
    display: none !important;
}

/* Clearfix hack */
.sp-cf:before, .sp-cf:after { content: ""; display: table; }
.sp-cf:after { clear: both; }
.sp-cf { *zoom: 1; }

/* Mobile devices, make hue slider bigger so it is easier to slide */
@media (max-device-width: 480px) {
    .sp-color { right: 40%; }
    .sp-hue { left: 63%; }
    .sp-fill { padding-top: 60%; }
}

.sp-dragger {
   border-radius: 5px;
   height: 5px;
   width: 5px;
   border: 1px solid #fff;
   background: #000;
   cursor: pointer;
   position:absolute;
   top:0;
   left: 0;
}
.sp-slider {
    position: absolute;
    top:0;
    cursor:pointer;
    height: 3px;
    left: -1px;
    right: -1px;
    border: 1px solid #000;
    background: white;
    opacity: .8;
}

/* Basic display options (colors, fonts, global widths) */
.sp-container {
    border-radius: 0;
    background-color: #ECECEC;
    border: solid 1px #f0c49B;
    padding: 0;
}
.sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue
{
    font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.sp-top
{
    margin-bottom: 3px;
}
.sp-color, .sp-hue
{
    border: solid 1px #666;
}

/* Input */
.sp-input-container {
    float:right;
    width: 100px;
    margin-bottom: 4px;
}
.sp-initial-disabled  .sp-input-container {
    width: 100%;
}
.sp-input {
   font-size: 12px !important;
   border: 1px inset;
   padding: 4px 5px;
   margin: 0;
   width: 100%;
   background:transparent;
   border-radius: 3px;
   color: #222;
}
.sp-input:focus  {
    border: 1px solid orange;
}
.sp-input.sp-validation-error
{
    border: 1px solid red;
    background: #fdd;
}
.sp-picker-container , .sp-palette-container
{
    float:left;
    position: relative;
    padding: 10px;
    padding-bottom: 300px;
    margin-bottom: -290px;
}
.sp-picker-container
{
    width: 172px;
    border-left: solid 1px #fff;
}

/* Palettes */
.sp-palette-container
{
    border-right: solid 1px #ccc;
}

.sp-palette .sp-thumb-el {
    display: block;
    position:relative;
    float:left;
    width: 24px;
    height: 15px;
    margin: 3px;
    cursor: pointer;
    border:solid 2px transparent;
}
.sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
    border-color: orange;
}
.sp-thumb-el
{
    position:relative;
}

/* Initial */
.sp-initial
{
    float: left;
    border: solid 1px #333;
}
.sp-initial span {
    width: 30px;
    height: 25px;
    border:none;
    display:block;
    float:left;
    margin:0;
}

/* Buttons */
.sp-button-container {
    float: right;
}

/* Replacer (the little preview div that shows up instead of the <input>) */
.sp-replacer {
    margin:0;
    overflow:hidden;
    cursor:pointer;
    padding: 4px;
    display:inline-block;
    *zoom: 1;
    *display: inline;
    border: solid 1px #cccccc;
    background: #fff;
	border-radius:2px;
    color: #333;
    vertical-align: middle;
	width: 150px;
}
.sp-replacer:hover, .sp-replacer.sp-active {
    border-color: #F0C49B;
    color: #111;
}
.sp-replacer.sp-disabled {
    cursor:default;
    border-color: silver;
    color: silver;
	
}
.sp-dd {
    padding: 2px 0;
    height: 16px;
    line-height: 16px;
    float:left;
    font-size:10px;
}
.sp-preview
{
    position:relative;
    width:118px;
    height: 20px;
    border: solid 1px #222;
    margin-right: 5px;
    float:left;
    z-index: 0;
}

.sp-palette
{
    *width: 220px;
    max-width: 220px;
}
.sp-palette .sp-thumb-el
{
    width:16px;
    height: 16px;
    margin:2px 1px;
    border: solid 1px #d0d0d0;
}

.sp-container
{
    padding-bottom:0;
}


/* Buttons: http://hellohappy.org/css3-buttons/ */
.sp-container button {
  background-color: #eeeeee;
  background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
  background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
  border: 1px solid #ccc;
  border-bottom: 1px solid #bbb;
  border-radius: 3px;
  color: #333;
  font-size: 14px;
  line-height: 1;
  padding: 5px 4px;
  text-align: center;
  text-shadow: 0 1px 0 #eee;
  vertical-align: middle;
}
.sp-container button:hover {
    background-color: #dddddd;
    background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
    border: 1px solid #bbb;
    border-bottom: 1px solid #999;
    cursor: pointer;
    text-shadow: 0 1px 0 #ddd;
}
.sp-container button:active {
    border: 1px solid #aaa;
    border-bottom: 1px solid #888;
    -webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
}
.sp-cancel
{
    font-size: 11px;
    color: #d93f3f !important;
    margin:0;
    padding:2px;
    margin-right: 5px;
    vertical-align: middle;
    text-decoration:none;

}
.sp-cancel:hover
{
    color: #d93f3f !important;
    text-decoration: underline;
}


.sp-palette span:hover, .sp-palette span.sp-thumb-active
{
    border-color: #000;
}

.sp-preview, .sp-alpha, .sp-thumb-el
{
    position:relative;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
}
.sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner
{
    display:block;
    position:absolute;
    top:0;left:0;bottom:0;right:0;
}

.sp-palette .sp-thumb-inner
{
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner
{
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
}

.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner
{
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
}