/*
 * IVORY Framework - http://weice.in/ivory
 * 
 * Developed by Lakshmikanth Vallampati - kanth.vallampati@gmail.com
 * Licensed under GPLv2 
 * 
 */


/* ---- Clearfixes ---- */
.row:before,.row:after,.clearfix:before,.clearfix:after{content:'';display:table}
.row:after,.clearfix:after{clear:both}
.row,.clearfix{zoom:1}

/* ---- GRID Layout ---- */
*{box-sizing:border-box; -ms-box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;}
body{margin:0 auto; }
.grid{margin:0 auto; max-width:1200px; width:100%;} /* You can choose the grid 1200 or 1140 or 1024 or 960 as per your requirement */
.g1140{margin:0 auto; max-width:1140px; width:100%;}
.g1024{margin:0 auto; max-width:1024px; width:100%;}
.g960{margin:0 auto; max-width:960px; width:100%;}
.row{width:100%; margin:0 auto;}
.c1{width:8.33%;}
.c2{width:16.66%;}
.c3{width:25%;}
.c4{width:33.33%;}
.c5{width:41.66%;}
.c6{width:50%;}
.c7{width:58.33%;}
.c8{width:66.66%;}
.c9{width:75%;}
.c10{width:83.33%;}
.c11{width:91.66%;}
.c12{width:100%; min-height:1px; float:left; position:relative;}
.c1-5{width:20%;}/* This column can be used as a one fifth of the row */
.c1-8{width:12.5%;}/* This column can be used as a one eigth of the row */ 
.c1,.c2,.c3,.c4,.c5,.c6,.c7,.c8,.c9,.c10,.c11,.c1-5,.c1-8 {min-height:1px; float:left; padding-left:10px; padding-right:10px; position:relative;}
.c1.first,.c2.first,.c3.first,.c4.first,.c5.first,.c6.first,.c7.first,.c8.first,.c9.first,.c10.first,.c11.first,.c1-5.first,.c1-8.first {
	padding-left: 0; position:relative;
}
.c1.last,.c2.last,.c3.last,.c4.last,.c5.last,.c6.last,.c7.last,.c8.last,.c9.last,.c10.last,.c11.last,.c1-5.last,.c1-8.last {
	padding-right: 0; position:relative;
}



sub, sup {font-size: 60%; line-height: 0; position: relative; vertical-align: baseline;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* ---- Misc ---- */
.left {float: left;}
.right {float: right;}
.text-left {text-align: left;}
.text-right {text-align: right;}
.text-center {text-align: center;}
.text-justify {text-align: justify;}/*两端对齐*/
.space-top {margin-top: 20px;}
.space-bot {margin-bottom: 20px;}
.space-htop {margin-top: 10px;}
.space-hbot {margin-bottom: 10px;}

/* ---- Typography ---- */


.note {background-color: #888; padding: 15px 10px 20px; color: #fff; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;}

hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 20px 0 20px; height: 0; }

/* ---- Lists ---- */
ul, ol, dl {  
	
}
ul li ul, ul li ol {  }
ul.square { list-style-type: square; }
ul.square li ul { list-style: inherit; }
ul.circle { list-style-type: circle; }
ul.circle li ul { list-style: inherit; }
ul.disc { list-style-type: disc; }
ul.disc li ul { list-style: inherit; }
ul.no-bullet { list-style: none; }

/* ---- Forms ---- */
.vform {width: 100%;}
.hform {width: 100%;}

.vform label {width: 100%;}
.hform label {width: 60%;}
.vform label, .hform  label {font-size:12px; line-height:22px;  vertical-align: middle; display: block; float: left; text-align: left;}

.vform textarea, .vform input[type="text"], .vform input[type="password"], .vform input[type="datetime"], .vform input[type="datetime-local"], .vform input[type="date"], 
.vform input[type="month"], .vform input[type="time"], .vform input[type="week"], .vform input[type="number"], .vform input[type="email"], .vform input[type="url"], 
.vform input[type="tel"], .vform input[type="color"], .vform select{
	width: 60%;
}

.hform textarea, .hform input[type="text"], .hform input[type="password"], .hform input[type="datetime"], .hform input[type="datetime-local"], .hform input[type="date"], 
.hform input[type="month"], .hform input[type="time"], .hform input[type="week"], .hform input[type="number"], .hform input[type="email"], .hform input[type="url"], 
.hform input[type="tel"], .hform input[type="color"], .hform select {
	width: 60%;
}

.vform textarea, .vform input[type="text"], .vform input[type="password"], .vform input[type="datetime"], .vform input[type="datetime-local"], .vform input[type="date"], 
.vform input[type="month"], .vform input[type="time"], .vform input[type="week"], .vform input[type="number"], .vform input[type="email"], .vform input[type="url"], 
.vform input[type="tel"], .vform input[type="color"], .vform select, 
.hform textarea, .hform input[type="text"], .hform input[type="password"], .hform input[type="datetime"], .hform input[type="datetime-local"], .hform input[type="date"], 
.hform input[type="month"], .hform input[type="time"], .hform input[type="week"], .hform input[type="number"], .hform input[type="email"], .hform input[type="url"], 
.hform input[type="tel"], .hform input[type="color"], .hform select {
  display: inline;
  background: #ffffff;
  border: 1px solid #cccccc;
  padding: 5px 8px;
  vertical-align: middle;
  outline: none;	
          border-radius: 4px;
     -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
          transition: border linear 0.4s, box-shadow linear 0.4s;
       -o-transition: border linear 0.4s, box-shadow linear 0.4s;
     -moz-transition: border linear 0.4s, box-shadow linear 0.4s;
  -webkit-transition: border linear 0.4s, box-shadow linear 0.4s;
  margin: 0;
} 

.vform input[type="text"]:focus, .vform input[type="password"]:focus, .vform input[type="datetime"]:focus, .vform input[type="email"]:focus, 
.vform input[type="datetime-local"]:focus, .vform input[type="date"]:focus, .vform input[type="month"]:focus, .vform input[type="time"]:focus, 
.vform input[type="week"]:focus, .vform input[type="url"]:focus, .vform input[type="number"]:focus, .vform input[type="search"]:focus, .vform input[type="tel"]:focus, 
.vform textarea:focus, .vform select:focus, 
.hform textarea:focus, .hform input[type="text"]:focus, .hform input[type="password"]:focus, .hform input[type="datetime"]:focus, 
.hform input[type="datetime-local"]:focus, .hform input[type="date"]:focus, .hform input[type="month"]:focus, .hform input[type="time"]:focus, 
.hform input[type="week"]:focus, .hform input[type="number"]:focus, .hform input[type="email"]:focus, .hform input[type="url"]:focus, .hform input[type="search"]:focus, 
.hform input[type="tel"]:focus, .hform input[type="color"]:focus, .hform select:focus{
  border: 1px solid;
  border-color: rgba(82, 168, 236, 0.8);
  color: #444;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(81, 168, 236, 0.5);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(81, 168, 236, 0.5);
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(81, 168, 236, 0.5);
}

.vform textarea, .hform textarea{min-height:120px; }
.vform fieldset, .hform fieldset {margin-bottom: 20px; }


/* ---- Buttons ---- */
button{
	display:inline-block;*display:inline;
	padding:7px 20px;
	margin-bottom:3px;
	font-size:14px;
	line-height:20px;*line-height:20px;
	color:#fff !important;
	text-align:center;
	vertical-align:middle;
	cursor:pointer;
	background-color:#c2c2c2;*background-color:#c2c2c2;
	background:-webkit-gradient(linear, left top, left bottom, from(#c2c2c2), to(#c2c2c2));
	background:-moz-linear-gradient(top, #c2c2c2, #c2c2c2);
	border:0px solid #f8f8f8;*border:0;
	border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
	border-color:#c2c2c2,#c2c2c2,#d4d4d4;
	        border-radius:4px;
	     -o-border-radius:4px;
	    -ms-border-radius:4px;
	   -moz-border-radius:4px;
	-webkit-border-radius:4px;
}
button:hover, button:active{
	background:#d4d4d4;
	background:-webkit-gradient(linear, left top, left bottom, from(#d4d4d4), to(#d4d4d4));
	background:-moz-linear-gradient(top, #d4d4d4, #d4d4d4);
}
button.large{padding:10px 35px; font-size:14px;}
button.small{padding:3px 10px; font-size:12px;}
button.skyblue{ /* --- skyblue color button --- */
	color:#fff !important;
	background-color:#26a2b6;
	background: -moz-linear-gradient(#34bac9, #26a2b6);
	background: -webkit-gradient(linear, left top, left bottom, from(#34bac9), to(#26a2b6));
	background: -webkit-linear-gradient(#34bac9, #26a2b6);
	background: -o-linear-gradient(#34bac9, #26a2b6);
	background: -ms-linear-gradient(#34bac9, #26a2b6);
	background: linear-gradient(#34bac9, #26a2b6);
}
button.skyblue:hover, button.black:active{
	background:#a9016b;
	background:-webkit-gradient(linear, left top, left bottom, from(#26a2b6), to(#34bac9));
	background:-moz-linear-gradient(top, #26a2b6, #34bac9);
}
button.blue{ /* --- blue color button --- */
	color:#fff !important;
	background-color:#008fd5;
	background:-webkit-gradient(linear, left top, left bottom, from(#008fd5), to(#0085c6));
	background:-moz-linear-gradient(top, #008fd5, #0085c6);
	filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffe6e6e6', GradientType=0);
	filter:progid:dximagetransform.microsoft.gradient(enabled=false);*zoom:1;
}
button.blue:hover, button.blue:active{
	background:#008fd5;
	background:-webkit-gradient(linear, left top, left bottom, from(#008fd5), to(#009de9));
	background:-moz-linear-gradient(top, #008fd5, #009de9);
}
button.green{ /* --- green color button --- */
	color:#fff !important;
	background-color:#46a546;
	background:-webkit-gradient(linear, left top, left bottom, from(#46a546), to(#419a41));
	background:-moz-linear-gradient(top, #46a546, #419a41);
	filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
	filter:progid:dximagetransform.microsoft.gradient(enabled=false);*zoom:1;
}
button.green:hover, button.green:active{
	background:#46a546;
	background:-webkit-gradient(linear, left top, left bottom, from(#46a546), to(#4cb34c));
	background:-moz-linear-gradient(top, #46a546, #4cb34c);
}
button.yellow{ /* --- yellow color button --- */
	color:#fff !important;
	background-color:#f0bf4a;
	background: -moz-linear-gradient(#f0c930, #f0bf4a);
	background: -webkit-gradient(linear, left top, left bottom, from(#f0c930), to(#f0bf4a));
	background: -webkit-linear-gradient(#f0c930, #f0bf4a);
	background: -o-linear-gradient(#f0c930, #f0bf4a);
	background: -ms-linear-gradient(#f0c930, #f0bf4a);
	background: linear-gradient(#f0c930, #f0bf4a);
}
button.yellow:hover, button.black:active{
	background:#f0bf4a;
	background:-webkit-gradient(linear, left top, left bottom, from(#f0bf4a), to(#f0c930));
	background:-moz-linear-gradient(top, #f0bf4a, #f0c930);
}
button.orange{ /* --- orange color button --- */
	color:#fff !important;
	background-color:#ff5c00;
	background: -moz-linear-gradient(#ff6f40, #ff5c00);
	background: -webkit-gradient(linear, left top, left bottom, from(#ff6f40), to(#ff5c00));
	background: -webkit-linear-gradient(#ff6f40, #ff5c00);
	background: -o-linear-gradient(#ff6f40, #ff5c00);
	background: -ms-linear-gradient(#ff6f40, #ff5c00);
	background: linear-gradient(#ff6f40, #ff5c00);
}
button.orange:hover, button.black:active{
	background:#d798d1;
	background:-webkit-gradient(linear, left top, left bottom, from(#ff5c00), to(#ff6f40));
	background:-moz-linear-gradient(top, #ff5c00, #ff6f40);
}
button.red{ /* --- red color button --- */
  color:#fff !important;
  background-color:#c7000b;
  background:-webkit-gradient(linear, left top, left bottom, from(#c7000b), to(#c7000b));
  background:-moz-linear-gradient(top, #c7000b, #c7000b);
  filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  filter:progid:dximagetransform.microsoft.gradient(enabled=false);*zoom:1;
}
button.red:hover, button-red:active{
  background:#de222c;
  background:-webkit-gradient(linear, left top, left bottom, from(#de222c), to(#de222c));
  background:-moz-linear-gradient(top, #de222c, #de222c);
}
button.magenta{	/* --- magenta color button --- */
	color:#fff !important;
	background-color:#b9298f;
	background: -moz-linear-gradient(#b93180, #b9298f);
	background: -webkit-gradient(linear, left top, left bottom, from(#b93180), to(#b9298f));
	background: -webkit-linear-gradient(#b93180, #b9298f);
	background: -o-linear-gradient(#b93180, #b9298f);
	background: -ms-linear-gradient(#b93180, #b9298f);
	background: linear-gradient(#b93180, #b9298f);
}
button.magenta:hover, button.black:active{
	background:#b9298f;
	background:-webkit-gradient(linear, left top, left bottom, from(#b9298f), to(#b9358f));
	background:-moz-linear-gradient(top, #b9298f, #b9358f);
}
button.black{ /* --- black color button --- */
	color:#fff !important;
	background-color:#111;
	background: -moz-linear-gradient(#222, #111);
	background: -webkit-gradient(linear, left top, left bottom, from(#222), to(#111));
	background: -webkit-linear-gradient(#222, #111);
	background: -o-linear-gradient(#222, #111);
	background: -ms-linear-gradient(#222, #111);
	background: linear-gradient(#222, #111);
}
button.black:hover, button.black:active{
	background:#222;
	background:-webkit-gradient(linear, left top, left bottom, from(#222), to(#333));
	background:-moz-linear-gradient(top, #222, #333);
}

/* ---- Alerts ---- */
.alert {
padding: 10px;
margin-bottom: 18px;
color: #c09853;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
font: 14px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
background-color: #fcf8e3;
border: 1px solid #fbeee0;
        border-radius: 4px;
   -moz-border-radius: 4px;
-webkit-border-radius: 4px;
}
.success {color: #468847; background-color: #dff0d8; border-color: #d6e9c6;}
.error {color: #b94a48; background-color: #f2dede; border-color: #eed3d7;}
.info {color: #3a87ad; background-color: #d9edf7; border-color: #bce8f1;}

/* ---- Table ---- 
table {
	width: 100%; 
	font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
	border: solid #ccc 1px;
	border-left: none;
	        border-radius: 5px;
	   -moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	        box-shadow: 0 1px 2px #d1d1d1;
	   -moz-box-shadow: 0 1px 2px #d1d1d1;
	-webkit-box-shadow: 0 1px 2px #d1d1d1;
}   
td, th {border-top: 1px solid #ccc; border-left: 1px solid #ccc; padding: 0px 5px; }
th {
	background-color: #f0f0f0;
	        box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
	   -moz-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;  
	-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;        
	border-top: none;
	text-shadow: 0 1px 0 rgba(255,255,255,.5);
	text-align: center;
}
table tr:first-child th:first-child{
 	        border-top-left-radius: 5px;
	    -moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
}
table tr:first-child th:last-child{
	        border-top-right-radius: 5px;
	    -moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
}
table tr:last-child td:first-child{
	        border-bottom-left-radius: 5px;
	    -moz-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
}
table tr:last-child td:last-child{
	        border-bottom-right-radius: 5px;
	    -moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
}
table tr.even td{background-color: #fafafa;}
*/

/* ---- Pagination ---- */
.pagin ul {list-style: none; margin: 0; padding: 0;}
.pagin li {display: inline;}
.pagin a {
	        border-radius: 3px;
		-ms-border-radius: 3px;
	   -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	margin: 1px 2px;
	padding: 5px 10px 5px 5px;
	display: inline-block;
	border-top: 1px solid #fff;
	text-decoration: none !important;
	color: #333 !important;
	font-size: 12px;
	font-family: "Helvetica Neueu", Helvetica, Arial, sans-serif;
	text-shadow: white 0 1px 0;
	background-color: #f5f5f5;
	background-image: linear-gradient(top, #f9f9f9, #eaeaea);
	background-image: -ms-linear-gradient(top, #f9f9f9, #eaeaea);
	background-image: -moz-linear-gradient(top, #f9f9f9, #eaeaea);  
	background-image: -webkit-linear-gradient(top, #f9f9f9, #eaeaea);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f9f9f9', EndColorStr='#eaeaea');
}
.pagin a:hover, .pagin a:focus {
	border-color: #fff;
	background-color: #fdfdfd;
	background-image: linear-gradient(top, #fefefe, #fafafa);
	background-image: -ms-linear-gradient(top, #fefefe, #fafafa);
	background-image: -moz-linear-gradient(top, #fefefe, #fafafa);
	background-image: -webkit-linear-gradient(top, #fefefe, #fafafa);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#fefefe', EndColorStr='#fafafa');  
}
.pagin a.more {
	        box-shadow: none;
	   -moz-box-shadow: none;
	-webkit-box-shadow: none;
	border: 0 none !important;
	background: transparent !important;
	margin-left: 0;
	margin-right: 0;
}
.pagin-dark a {
	border-top: 1px solid #575e63;
	text-shadow: rgba(0, 0, 0, 0.75) 0 1px 0;
	color: #fff !important;
	background-color: #4e5458;
	background-image: linear-gradient(top, #575e63, #3f4347);
	background-image: -ms-linear-gradient(top, #575e63, #3f4347);
	background-image: -moz-linear-gradient(top, #575e63, #3f4347);
	background-image: -webkit-linear-gradient(top, #575e63, #3f4347);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#575e63', EndColorStr='#3f4347');
}
.pagin-dark a:hover, .pagin-dark a:focus {
	border-color: #575e63;
	background-color: #4d6374;
	background-image: linear-gradient(top, #567062, #3e505e);
	background-image: -ms-linear-gradient(top, #567062, #3e505e);
	background-image: -moz-linear-gradient(top, #567062, #3e505e);
	background-image: -webkit-linear-gradient(top, #567062, #3e505e);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#567062', EndColorStr='#3e505e');
}
.pagin a, .pagin-dark a {
		    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
	   -moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.pagin a.active, .pagin-dark a.active {
	        box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0.75);
	   -moz-box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0.75);
	-webkit-box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0.75);
	border-color: #2d3035 !important;
	color: #fff !important;
	text-shadow: black 0 1px 0;
	background-color: #303338;
	background-image: linear-gradient(top, #303338, #2d3034);
	background-image: -ms-linear-gradient(top, #303338, #2d3034);
	background-image: -moz-linear-gradient(top, #303338, #2d3034);
	background-image: -webkit-linear-gradient(top, #303338, #2d3034);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#303338', EndColorStr='#2d3034');
}

/* ---- Tooltip ---- */
.tooltip{display: inline; position: relative; color: #2ba6cb;}
.tooltip:hover:before
{
	border: solid;
	border-color: #333 transparent;
	border-width: 6px 6px 0 6px;
	bottom: 21px;
	content: "";
	left: 50%;
	position: absolute;
	z-index: 97;
}
.tooltip:hover:after
{
	background: #333;
	background: rgba(0,0,0,.8);
	        border-radius: 5px;
	   -moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	bottom: 27px;
	font-size: 12px;
	color: #fff;
	content: attr(title);
	padding: 5px;
	position: absolute;
	z-index: 98;
	width: 180px;
	margin-left: -50px;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
	padding: 10px;
	font: 14px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: #f5f5f5;
	background-image: linear-gradient(top, #f9f9f9, #eaeaea);
	background-image: -ms-linear-gradient(top, #f9f9f9, #eaeaea);
	background-image: -moz-linear-gradient(top, #f9f9f9, #eaeaea);  
	background-image: -webkit-linear-gradient(top, #f9f9f9, #eaeaea);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f9f9f9', EndColorStr='#eaeaea');
	border: 1px solid #ddd;
		    border-radius: 3px;
	   -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
		    box-shadow: inset 0 1px 0 #ffffff;
	   -moz-box-shadow: inset 0 1px 0 #ffffff;
	-webkit-box-shadow: inset 0 1px 0 #ffffff;
}
.breadcrumb li {display: inline-block; text-shadow: 0 1px 0 #ffffff;}
.breadcrumb .divider {padding: 0 5px; color: #777;}

/* ---- Toggle Switches ---- */
.switch {
	position: relative;
	margin: 20px auto;
	height: 34px;
	width: 100%;
	max-width: 320px;
	background: rgba(0, 0, 0, 0.6);
		    border-radius: 3px;
	   -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
			box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(0, 0, 0, 0.1);
	   -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0.3), 0 1px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(0, 0, 0, 0.1);
}
.switch-label {
	position: relative;
	z-index: 2;
	float: left;
	color: #fff;
	width: 49%;
	text-align: center;
	cursor: pointer;
	font: 12px/32px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.switch-input {display: none;}
.switch-input:checked + .switch-label {
	font-weight: bold;
	color: rgba(0, 0, 0, 0.65);
	text-shadow: 0 1px rgba(255, 255, 255, 0.25);
	        transition: 0.15s ease-out;
	   -moz-transition: 0.15s ease-out;
	-webkit-transition: 0.15s ease-out;
}
.switch-input:checked + .switch-label-on ~ .switch-selection {left: 50%;}
.switch-selection {
	display: block;
	position: absolute;
	z-index: 1;
	top: 2px;
	left: 2px;
	width: 49.5%;
	height: 30px;
	background: #65bd63;
	background-image: -webkit-linear-gradient(top, #9dd993, #65bd63);
	background-image: -moz-linear-gradient(top, #9dd993, #65bd63);
	background-image: -o-linear-gradient(top, #9dd993, #65bd63);
	background-image: linear-gradient(to bottom, #9dd993, #65bd63);
			border-radius: 3px;
	   -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
		    transition: left 0.15s ease-out;
	   -moz-transition: left 0.15s ease-out;
	-webkit-transition: left 0.15s ease-out;
	        box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2);
	   -moz-box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2);
}
.switch-blue .switch-selection {
	background: #3aa2d0;
	background-image: -webkit-linear-gradient(top, #4fc9ee, #3aa2d0);
	background-image: -moz-linear-gradient(top, #4fc9ee, #3aa2d0);
	background-image: -o-linear-gradient(top, #4fc9ee, #3aa2d0);
	background-image: linear-gradient(to bottom, #4fc9ee, #3aa2d0);
}
.switch-yellow .switch-selection {
	background: #c4bb61;
	background-image: -webkit-linear-gradient(top, #e0dd94, #c4bb61);
	background-image: -moz-linear-gradient(top, #e0dd94, #c4bb61);
	background-image: -o-linear-gradient(top, #e0dd94, #c4bb61);	
	background-image: linear-gradient(to bottom, #e0dd94, #c4bb61);
}                                 

/* ---- Tabs ---- */
.tab-container{ position: relative; height:auto;} 
.tab-container .tab-radio{ display: none;}
.tab-container .tab{
	display: block;
	float: left;
	position: relative;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border: 1px solid #cfd2d7;
	color: #888;
	margin-top: -11px;
	margin-right: 1.0%;
	padding: 10px 20px;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	background-color: #eee;
}
.tab-container .tab-radio:checked ~ .tab, .tab-container .tab-radio:active ~ .tab
{
	background-color: #fff;
	z-index: 100;
	border-bottom: 1px solid #fff;
}
.tab-container .tab-radio:checked ~ .tab {background-color:#fff; color:#333;}
.tab-container .tab-page
{
	visibility: hidden;
	background-color: #fff;
	color: #888;
	display:block;
	position: absolute;
	top: 22px;
	height: auto;
	width: 100%;
	float: left;
	padding: 5px;
	border: 1px solid #cfd2d7;
	   border-top-right-radius: 5px;
	 border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	        box-shadow: 0 1px 3px rgba(0,0,0,.3);
	   -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.tab-container .tab-radio:checked ~ .tab-page { visibility: visible; }

/* ---- Accordion ---- */
.accordion {
    width: 100%;
    background: #fff;
	font-size: 14px;
	font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
            border-radius: 5px;
	   -moz-border-radius: 5px;
	-webkit-border-radius: 5px;
            box-shadow: 0 1px 3px rgba(0,0,0,.3);
	   -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3);
 }
.accordion p{height:0; margin-bottom:0px; padding:0; color: #888; overflow:hidden;}
.accordion a{
    display:block;
    height:auto;
	padding:5px;
    line-height:24px;
	background-color: #eee;
    color:#333;
    text-decoration:none;
    text-align:center;
    border-bottom:1px solid #aaa;
}
.accordion a:hover, .accordion a:focus {opacity:.9; color:#ooo;}
.accordion a:active {color:#000;}
.accordion :target + p{padding:10px 15px; border-bottom:1px solid #ccc; height:auto;}	

/* =Media query for 960 Screens - sets nested grids to 100%
-------------------------------------------------------------- */
@media only screen and (max-width:960px){
.row .row .c1,.row .row .c2,.row .row .c3,.row .row .c4,.row .row .c5,.row .row .c6,.row .row .c7,.row .row .c8,.row .row .c9,.row .row .c10,.row .row .c11,.row .row .c12,.row .row .c1-5,.row .row .c1-8{width:100%;margin-bottom:20px;margin-left:0px;margin-right:0px; }
.row .row > div:last-child{margin-bottom:0 !important}
}

/* =Media query for iPad and tablets
-------------------------------------------------------------- */
@media handheld, only screen and (max-width: 768px), only screen and (max-device-width: 768px) and (orientation:portrait){
.row{margin-bottom:0!important}
.c1,.c2,.c3,.c4,.c5,.c6,.c7,.c8,.c9,.c10,.c11,.c12,.c1-5,.c1-8{width:100%;margin-right:0;margin-left:0;margin-bottom:20px}
}
