/*
 * Date: Dec 4, 2017
 * Author: Rodney Hise
 * File: content/css/ck/ckforms.css
 * Project: ClasskitV2
 * Description: Stylesheet for forms and associated elements
 */
/* Change the white to any color ;) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px white inset;
}
.ckform {
	clear: both;
	display:block;
	position:relative;
}

.ckform table.ckform-grp {
	clear: both;
	width:100%;
	position: relative;
	border-collapse: collapse;
	border-spacing: 0px;
	border:none;
	margin-bottom:1em;
}

.ckform table.ckform-grp td {
	border-collapse: collapse;
	border:none;
	padding:0px;
	vertical-align: bottom;
}

.ckform table.ckform-grp td.ckform-lbl-search,
.ckform table.ckform-grp td.ckform-lbl,
.ckform table.ckform-grp td.ckform-lbl-reqd {
	padding-left: 0px;
	font-size: 14px;
	font-family: 'Montserrat';
	font-weight: 400;
	position:relative;
	white-space: nowrap;
}

.ckform-lbl-reqd:before {
	content: '\02736';
	color:#ba3e09;
	width:60px;
}
.ckform-lbl:before {
	content: '\02736';
	color:#fff;
}

.ckform table.ckform-grp td.ckform-elm {
	padding-left: 0px;
	position:relative;
	font-weight:normal;
}

.ckform > table.ckform-grp td.ckform-elm .ckhelp {
	position:absolute;
	left:-20px;
	top:6px;
}

.ckform-err {
	display:inline-block;
	position: relative;
	margin-left:0.6em;
	color:#CF000C;
	font-weight: 500;
	font-size: 14px;
}


.ckform-elm > label > span.ckform-rdo-txt {
	line-height: 2em;
	font-weight: normal;
}

.ckform input[type="text"],
.ckform input[type="password"],
.ckform textarea {
	font-size: 16px;
	font-family: 'Muli',Verdana,Arial, Helvetica, sans-serif;
	font-weight: 400;
	color:#333;
	padding:10px;
	line-height: 1em;
	max-width: 70%;
	display: block;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	position: relative;
	margin:0px;
}
.ckform input[type="text"],
.ckform input[type="password"]{
	height:34px;
}
.ckform input[type="text"]:hover,.ckform input[type="text"]:focus,
.ckform input[type="password"]:hover,.ckform input[type="password"]:focus
.ckform textarea:hover, .ckform textarea:focus {
	border-color:#666;
}
.ckform input[type="text"].ckExpMon,
.ckform input[type="text"].ckExpYr {
	float:left;
}
.ckform input[type="text"].ckExpMon {
	width: 50px;
}
.ckform input[type="text"].ckExpYr {
	width: 70px;
}
.ckform input[type="text"].ckExpMon + span {
	float:left;
	font-size: 20px;
	padding:5px;
}
.ckform input[type="text"]:disabled {
	background-color: #f8f8f8;
}
/*
.ckform-file input[type="file"] {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  width:120px;
  height: 100%;
  cursor: pointer;
  z-index:1;
}

.ckform-file table {
	border-collapse: collapse;
	font-family:'Montserrat', Verdana, Arial, sans-serif;
	font-weight: normal;
}
.ckform-file table td {
	border-collapse: collapse;
	vertical-align: middle;
	white-space: nowrap;
}
.ckform-file table td:first-of-type {
	background: #6e7887;
	color: #fff;
	font-size: 14px;
	height:35px;
	padding-left: 4px;
	padding-right: 4px;
	text-align: center;
	cursor: pointer;
	min-width: 150px;
	z-index:2;
	vertical-align: middle;
}
.ckform-file table td.ckform-file-text {
	text-align: left;
	font-weight: 600;
	font-size: 14px;
	padding-left:6px;
}

.ckform-file table.showBords td {
	border:1px solid #ccc;
}

.ckform-file table td.ckform-file-btn {
	text-align: center;
	width:88px;
}
.ckform-file table td.ckform-file-btn > button {
	text-align: center;
	width:88px;
  z-index:100;
}*/


.ckform .ck-input-grp {
	display: inline-block;
	border: 1px solid #ccc;
}

.ckform .ck-input-grp:hover {
	border: 1px solid #666;
}

.ckform .ckform-elm > table.ck-input-grp {
	border-collapse: collapse;
}
.ckform .ckform-elm > table.ck-input-grp td {
	border-collapse: collapse;
	vertical-align: middle;
/*	line-height: 1.85em;*/
	padding:0px;
}
.ckform .ckform-elm > table.ck-input-grp td.ck-input-grp-icon {
	background:#eee;
	color: #777;
	width: 2em;
	text-align: center;
}
.ckform .ckform-elm > table.ck-input-grp td.ck-input-grp-icon.ck-date-input {

	cursor: pointer;
}
.ckform .ckform-elm > table.ck-input-grp td.ck-date-input:hover {
	background:#4C7899;
	color: #fff;
}

 
.ckform .ckform-elm > table.ck-input-grp input {
	border: none;
	max-width: none;
}

::-webkit-input-placeholder {
    color: #999;
	opacity: 0.3;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #999;
	opacity: 0.3;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #999;
	opacity: 0.3;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #999;
	opacity: 0.3;
}
::-ms-input-placeholder { /* Microsoft Edge */
    color: #999;
	opacity: 0.3;
}

::placeholder { /* Most modern browsers support this now. */
    color: #999;
	opacity: 0.3;
}
.badgebox + .badge
{
    /* Move the check mark away when unchecked */
    text-indent: -999999px;
    /* Makes the badge's width stay the same checked and unchecked */
	width: 27px;
}

.badgebox:focus + .badge
{
    /* Set something to make the badge looks focused */
    /* This really depends on the application, in my case it was: */

    /* Adding a light border */
    box-shadow: inset 0px 0px 5px;
    /* Taking the difference out of the padding */
}

.badgebox:checked + .badge
{
    /* Move the check mark back when checked */
	text-indent: 0;
}


.ck-switch {
  position: relative;
/*  margin: 100px auto;*/
  width: 200px;
  height: 36px;
  border: 2px solid #6e7887;
  color: #333;
  font-size: 16px;
  border-radius: 0px;
}

.ck-switch-opt {
  position: relative;
  display: table-cell;
  width: 100px;
  height: 100%;
  line-height: 32px;
}

.ck-switch-opt label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  text-align: center;
  transition: transform 0.4s, color 0.4s, background-color 0.4s;
}
.ck-switch-opt input[type="radio"] {
  appearance: none;
  width: 0;
  height: 0;
  opacity: 0;
}
.ck-switch-opt input[type="radio"]:focus {
  outline: 0;
  outline-offset: 0;
}
.ck-switch-opt input[type="radio"]:checked ~ label {
  background-color: #6e7887;
  color: #fff;
  font-weight: 600;
  border:1px solid #fff;
  height:32px;
}
.ck-switch-opt input[type="radio"]:active ~ label {
  transform: scale(1.05);
}



@media only screen and (max-width: 768px) {
/*	.ckdetl > .ckdetl-grp > .ckdetl-lbl,
	.ckdetl > .ckdetl-grp > .ckdetl-txt	{
		display:block;
		float:left;
		line-height: 1.5em;
		margin-top:0px;
	}

	.ckdetl > .ckdetl-grp > .ckdetl-lbl {
		text-align: left;
		margin-top:1em;
	}*/

	.ckform {
		display:block;
		clear:both;
		float:left;
	}

}