/** CSS CK Framework **/
/*
* February 2016
* Cédric KEIFLIN
* http://www.joomlack.fr - http://www.template-creator.com - https://www.ceikay.com
*/

/* ===========================================================
 * CK Button
 * ========================================================== */

 .ckinterface label {
	width: 150px;
	display: inline-block;
}
 
.ckbutton {
	display: inline-block;
	background: #f9f9f9;
	border: #bbb 1px solid;
	border-color: #bbb #bbb #a2a2a2;
	border-radius: 2px;
	color: #333;
	font-size: 13px;
	cursor: pointer;
	text-align: center;
	line-height: 18px;
	margin: 0px 5px 3px 5px;
	vertical-align: middle;
	padding: 4px 12px;
	text-decoration: none;
}

.ckbutton:hover {
	background: #f1f1f1;
	text-decoration: none;
	color: #333;
}

/*.ckbutton:empty {
	display: none !important;
}
*/
.ckbutton [class^="icon-"], .ckbutton [class*=" icon-"] {
	margin: 0;
}

.ckbutton:active,
.ckinterface :checked + label.ckbutton,
.ckbutton.active {
	color: #333;
	background: #e6e6e6;
	outline: 0;
	-webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
	-moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
	box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
}

.ckbutton-group {
	display: inline-block;
	font-size: 0;
	position: relative;
	vertical-align: middle;
	white-space: nowrap;
}

.ckbutton-group {
	display: inline-block;
	font-size: 0;
	position: relative;
	vertical-align: middle;
	white-space: nowrap;
}

.ckbutton-group > .ckbutton {
	margin-left: 0;
	margin-right: 0;
	border-radius: 0;
}

.ckbutton-group > label.ckbutton {
	width: auto;
}

.ckbutton-group > input[type="radio"] {
	display: none !important;
}

.ckbutton-group > .ckbutton + .ckbutton,
.ckbutton-group > input + .ckbutton {
	margin-left: -1px;
}

.ckbutton-primary.active,
.ckbutton-warning.active,
.ckbutton-danger.active,
.ckbutton-success.active,
.ckbutton-info.active,
.ckbutton-inverse.active {
	color: rgba(255,255,255,0.75);
}
.ckbutton-primary {
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	background-color: #1d6cb0;
	border-color: #15497c #15497c #0a223b;
}
.ckbutton-primary:hover,
.ckbutton-primary:focus,
.ckbutton-primary:active,
.ckbutton-primary.active,
.ckbutton-primary.disabled,
.ckbutton-primary[disabled] {
	color: #fff;
	background-color: #15497c;
}

.ckbutton-warning {
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	background-color: #faa732;
	border-color: #f89406 #f89406 #ad6704;
}

.ckbutton-warning:hover,
.ckbutton-warning:focus,
.ckbutton-warning:active,
.ckbutton-warning.active,
.ckbutton-warning.disabled,
.ckbutton-warning[disabled] {
	color: #fff;
	background-color: #f89406;
}

.ckbutton-danger {
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	background-color: #da4f49;
	border-color: #bd362f #bd362f #802420;
}

.ckbutton-danger:hover,
.ckbutton-danger:focus,
.ckbutton-danger:active,
.ckbutton-danger.active,
.ckbutton-danger.disabled,
.ckbutton-danger[disabled] {
	color: #fff;
	background-color: #bd362f;
}

.ckbutton-success {
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	background-color: #5bb75b;
	border-color: #51a351 #51a351 #387038;
}
.ckbutton-success:hover,
.ckbutton-success:focus,
.ckbutton-success:active,
.ckbutton-success.active,
.ckbutton-success.disabled,
.ckbutton-success[disabled] {
	color: #fff;
	background-color: #51a351;
}
.ckbutton-success:active,
.ckbutton-success.active {
	background-color: #408140 \9;
}
.ckbutton-info {
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	background-color: #49afcd;
	border-color: #2f96b4 #2f96b4 #1f6377;
}
.ckbutton-info:hover,
.ckbutton-info:focus,
.ckbutton-info:active,
.ckbutton-info.active,
.ckbutton-info.disabled,
.ckbutton-info[disabled] {
	color: #fff;
	background-color: #2f96b4;
}

.ckbutton-inverse {
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	background-color: #363636;
	border-color: #222 #222 #000000;
}
.ckbutton-inverse:hover,
.ckbutton-inverse:focus,
.ckbutton-inverse:active,
.ckbutton-inverse.active,
.ckbutton-inverse.disabled,
.ckbutton-inverse[disabled] {
	color: #fff;
	background-color: #222;
}


/* ===========================================================
 * CK Forms
 * ========================================================== */

.ckinterface textarea,
.ckinterface select,
.ckinterface input[type="text"], 
.ckinterface input[type="password"], 
.ckinterface input[type="datetime"], 
.ckinterface input[type="datetime-local"], 
.ckinterface input[type="date"], 
.ckinterface input[type="month"], 
.ckinterface input[type="time"], 
.ckinterface input[type="week"], 
.ckinterface input[type="number"], 
.ckinterface input[type="email"], 
.ckinterface input[type="url"], 
.ckinterface input[type="search"], 
.ckinterface input[type="tel"], 
.ckinterface input[type="color"], 
.ckinterface .uneditable-input {
	border-radius: 0;
	margin: 0px 0px 3px 0px;
	padding: 4px 6px;
	vertical-align: middle;
	display: inline-block;
	font-size: 13px;
	min-height: 18px;
	line-height: 18px;
	color: #555;
}
/*
.ckinterface textarea,.ckinterface select {
	height: auto;
	border-radius: 0;
	margin: 0;
}*/

.ckinterface textarea:focus, .ckinterface  input[type="text"]:focus, .ckinterface  input[type="password"]:focus, .ckinterface  input[type="datetime"]:focus, .ckinterface  input[type="datetime-local"]:focus, .ckinterface  input[type="date"]:focus, .ckinterface  input[type="month"]:focus, .ckinterface  input[type="time"]:focus, .ckinterface  input[type="week"]:focus, .ckinterface  input[type="number"]:focus, .ckinterface  input[type="email"]:focus, .ckinterface  input[type="url"]:focus, .ckinterface  input[type="search"]:focus, .ckinterface  input[type="tel"]:focus, .ckinterface  input[type="color"]:focus, .ckinterface  .uneditable-input:focus {
	border-color: rgba(82, 168, 236, 0.8);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(82, 168, 236, 0.6);
}

.ckinterface select {
	padding-right: 20px;
}

/* ===========================================================
 * CK Tooltip
 * ========================================================== */

.cktooltip {
	position: relative;
	background: rgba(0,0,0,0.7);
	padding: 4px 7px;
	color: #f3f3f3;
	border-radius: 3px;
	float: left;
	font-size: 12px;
	max-width: 250px;
}

.cktooltip:after {
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	bottom: -8px;
	left: 10px;
	border-style: solid;
	border-width: 8px 4px 0 4px;
	border-color: rgba(0,0,0,0.7) transparent transparent transparent;
}
/* ===========================================================
 * CK General settings
 * ========================================================== */
 
.ckrow {
	margin-top: 0;
	margin-bottom: 5px;	
}

.ckinterface .ckicon {
	vertical-align: -3px;
}


/* ===========================================================
 * Table
 * ========================================================== */

.cktable {
	width: 100%;
	margin-bottom: 18px;
	max-width: 100%;
	background-color: transparent;
	border-collapse: collapse;
	border-spacing: 0;
}
.cktable th,
.cktable td {
	padding: 8px;
	line-height: 18px;
	text-align: left;
	vertical-align: top;
	/*border-top: 1px solid #ddd;*/
}
.cktable th {
	font-weight: bold;
}
.cktable thead th {
	vertical-align: bottom;
}
.cktable caption + thead tr:first-child th,
.cktable caption + thead tr:first-child td,
.cktable colgroup + thead tr:first-child th,
.cktable colgroup + thead tr:first-child td,
.cktable thead:first-child tr:first-child th,
.cktable thead:first-child tr:first-child td {
	border-top: 0;
}
.cktable tbody + tbody {
	border-top: 2px solid #ddd;
}
.cktable .cktable {
	/*background-color: #fff;*/
}
.cktable-condensed th,
.cktable-condensed td {
	padding: 4px 5px;
}
.cktable-bordered {
	border: 1px solid #ddd;
	border-collapse: separate;
	*border-collapse: collapse;
	border-left: 0;
	/*-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;*/
}
.cktable-bordered th,
.cktable-bordered td {
	border-left: 1px solid #ddd;
}
.cktable-bordered caption + thead tr:first-child th,
.cktable-bordered caption + tbody tr:first-child th,
.cktable-bordered caption + tbody tr:first-child td,
.cktable-bordered colgroup + thead tr:first-child th,
.cktable-bordered colgroup + tbody tr:first-child th,
.cktable-bordered colgroup + tbody tr:first-child td,
.cktable-bordered thead:first-child tr:first-child th,
.cktable-bordered tbody:first-child tr:first-child th,
.cktable-bordered tbody:first-child tr:first-child td {
	border-top: 0;
}
.cktable-striped tbody > tr:nth-child(odd) > td,
.cktable-striped tbody > tr:nth-child(odd) > th {
	background-color: #f9f9f9;
}
.cktable-hover tbody tr:hover > td,
.cktable-hover tbody tr:hover > th {
	background-color: #f5f5f5;
}

/* ===========================================================
 * Messages
 * ========================================================== */

[class^="ckalert"] {
	padding: 8px 35px 8px 14px;
	margin-bottom: 18px;
	text-shadow: 0 1px 0 rgba(255,255,255,0.5);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.ckalert {
	background-color: #fcf8e3;
	border: 1px solid #faebcc;
}
.ckalert,
.ckalert h4 {
	color: #8a6d3b;
}
.ckalert h4 {
	margin: 0 0 .5em;
}
.ckalert .ckclose {
	position: relative;
	top: -2px;
	right: -21px;
	line-height: 18px;
	float: right;
	font-size: 20px;
	line-height: 20px;
	padding: 5px;
	cursor: pointer;
}
.ckalert-success {
	background-color: #dff0d8;
	border-color: #d6e9c6;
	color: #3c763d;
}
.ckalert-success h4 {
	color: #3c763d;
}
.ckalert-danger,
.ckalert-error {
	background-color: #f2dede;
	border-color: #ebccd1;
	color: #a94442;
}
.ckalert-danger h4,
.ckalert-error h4 {
	color: #a94442;
}
.ckalert-info {
	background-color: #d9edf7;
	border-color: #bce8f1;
	color: #31708f;
}
.ckalert-info h4 {
	color: #31708f;
}

