/**
 * @package 	WordPress
 * @subpackage 	Dental Clinic
 * @version 	1.0.3
 * 
 * Responsive Lightbox Styles
 * Created by CMSMasters
 * 
 */


.cmsmsLightBoxOut {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	overflow: hidden;
	z-index: 99999;
}

.cmsmsLightBoxBack {
	background-color: rgba(0, 0, 0, .6);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
}

.cmsmsLightBoxCont {
	background-color: #fdfdfd;
	width: 70%;
	height: 90%;
	position: absolute;
	top: 5%;
	left: 15%;
	-webkit-box-shadow: 0 0 50px #333333;
	-moz-box-shadow: 0 0 50px #333333;
	box-shadow: 0 0 50px #333333;
}

.cmsmsLightBoxBack, 
.cmsmsLightBoxCont {
	opacity: 0;
}

.showBox .cmsmsLightBoxBack, 
.showBox .cmsmsLightBoxCont {
	opacity: 1;
}

.cmsmsLightBoxContIn {
	height: 100%;
	padding: 0 30px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cmsmsLightBoxContIn:before {
	font-size: 24px;
	margin-top: 100px;
	opacity: 0;
	-webkit-transition: opacity .2s ease-in-out;
	-moz-transition: opacity .2s ease-in-out;
	-ms-transition: opacity .2s ease-in-out;
	-o-transition: opacity .2s ease-in-out;
	transition: opacity .2s ease-in-out;
}

.preloadBox .cmsmsLightBoxContIn:before {
	opacity: 1;
}

.cmsmsLightBoxContIn > div {
	text-align: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.cmsmsLightBoxContInTop {
	background-color: #f9f9f9;
	border-bottom: 1px solid #cccccc;
	padding: 2px 20px 0;
	margin: 0;
	height: 50px;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.cmsmsLightBoxContInMid {
	position: absolute;
	top: 50px;
	bottom: 50px;
	left: 0;
	right: 0;
	overflow: auto;
	opacity: 1;
	-webkit-transition: opacity .3s ease-in-out;
	-moz-transition: opacity .3s ease-in-out;
	-ms-transition: opacity .3s ease-in-out;
	-o-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
}

.preloadBox  .cmsmsLightBoxContInMid {
	opacity: 0;
}

.cmsmsLightBoxContInBot {
	background-color: #e9e9e9;
	border-top: 1px solid #cccccc;
	padding: 10px 20px;
	height: 50px;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
}

.cmsmsLightBoxClose {
	color: #cccccc;
	display: block;
	float: right;
	width: 20px;
	height: 20px;
	font-size: 20px;
	margin-top: 12px;
	text-decoration: none;
	-webkit-transition: color .2s ease-in-out;
	-moz-transition: color .2s ease-in-out;
	-ms-transition: color .2s ease-in-out;
	-o-transition: color .2s ease-in-out;
	transition: color .2s ease-in-out;
}

.cmsmsLightBoxClose:hover {
	color: #e75e5a;
}

.cmsmsLightBoxContInMid .cmsms_content_box {
	border: 0;
	padding: 20px;
	position: relative;
	overflow: hidden;
}

.cmsmsLightBoxContInMid .cmsms_field {
	position: relative;
	overflow: hidden;
}

.cmsmsLightBoxContInMid .cmsms_content_box.full_width .cmsms_field {
	margin-top: auto;
}

.cmsmsLightBoxContInMid .cmsms_field input[type=text], 
.cmsmsLightBoxContInMid .cmsms_field textarea, 
.cmsmsLightBoxContInMid .cmsms_field select {
	width: 95%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.cmsmsLightBoxContInMid .cmsms_field textarea {
	min-height: 100px;
	resize: vertical;
}

.cmsmsLightBoxContInMid .cmsms_field select {
	height: 40px;
	padding: 8px 10px;
}

.cmsmsLightBoxContInMid .cmsms_field select[multiple] {
	height: auto;
	padding: 0;
}

.cmsmsLightBoxContInMid .cmsms_field input[type=text], 
.cmsmsLightBoxContInMid .cmsms_field textarea {
	padding: 10px;
}

.cmsmsLightBoxContInMid .cmsms_field select option {
	padding: 3px 10px;
}

.cmsmsLightBoxContInMid .cmsms_field select[multiple] option {
	padding: 5px 10px;
}

.cmsmsLightBoxContInMid .icons_list_parent {
	border: 1px solid #999999;
	background-color: #fafafa;
	height: auto;
	padding: 10px 21px 10px 20px;
	margin-top: auto;
	position: relative;
	overflow-x: hidden;
	overflow-y: auto;
}

.cmsmsLightBoxContInMid .icons_list_parent .cmsms_icon_cancel {
	border-bottom: 1px solid #dd0000;
	color: #dd0000;
	display: inline-block;
	text-decoration: none;
	padding: 2px 5px 0 0;
	margin: 20px 0;
	-webkit-transition: color .2s ease-in-out, background-color .2s ease-in-out;
	-moz-transition: color .2s ease-in-out, background-color .2s ease-in-out;
	-ms-transition: color .2s ease-in-out, background-color .2s ease-in-out;
	-o-transition: color .2s ease-in-out, background-color .2s ease-in-out;
	transition: color .2s ease-in-out, background-color .2s ease-in-out;
}


.cmsmsLightBoxContInMid .icons_list_parent .cmsms_icon_cancel:hover {
	color: #ffffff;
	background-color: #dd0000;
}

.cmsmsLightBoxContInMid .cmsms_field .icons_list_parent .cmsms_icon_search {
	width: 40%;
	float: right;
}

.cmsmsLightBoxContInMid .cmsms_field .icons_list_parent .cmsms_icon_search label {
	font-weight: bold;
	line-height: 35px;
	display: block;
	position: relative;
	overflow: hidden;
}

.cmsmsLightBoxContInMid .cmsms_field .icons_list_parent .cmsms_icon_search label > span {
	font-weight: normal;
	font-style: italic;
	float: right;
}

.cmsmsLightBoxContInMid .cmsms_field .icons_list_parent .cmsms_icon_search input {
	width: 100%;
}

.cmsmsLightBoxContInMid .icons_list_parent label.cmsms_icon_font_label {
	font-weight: bold;
	line-height: 35px;
	display: block;
}

.cmsmsLightBoxContInMid .icons_list_parent select.cmsms_icon_font_select {
	max-width: 400px;
	margin-bottom: 30px;
}

.cmsmsLightBoxContInMid .icons_list_parent .cmsms_icon_font {
	display: none;
}

.cmsmsLightBoxContInMid .icons_list_parent ul {
	border: 1px solid #bbbbbb;
	background-color: #fcfcfc;
	margin: 0 0 30px;
	position: relative;
	overflow: hidden;
}

.cmsmsLightBoxContInMid .icons_list_parent ul > li {
	border-bottom: 1px solid #dddddd;
	border-right: 1px solid #dddddd;
	background-color: #ffffff;
	font-size: 20px;
	line-height: 36px;
	text-align: center;
	display: block;
	width: 36px;
	height: 36px;
	float: left;
	margin: 0;
	position: relative;
	overflow: hidden;
}

.cmsmsLightBoxContInMid .icons_list_parent ul > li > span {
	color: #333333;
	display: block;
	width: 36px;
	height: 36px;
	position: relative;
	cursor: pointer;
}

.cmsmsLightBoxContInMid .icons_list_parent ul > li > span:before {
	line-height: 36px;
}

.cmsmsLightBoxContInMid .icons_list_parent ul > li > span:hover {
	color: #21759b;
}

.cmsmsLightBoxContInMid .icons_list_parent ul > li.active {
	background-color: #fcfcfc;
}

.cmsmsLightBoxContInMid .icons_list_parent ul > li.active > span, 
.cmsmsLightBoxContInMid .icons_list_parent ul > li.active > span:hover {
	color: #d54e21;
}

.cmsmsLightBoxSave.button, 
.cmsmsLightBoxCancel.button {
	margin-top: -1px;
}

.cmsmsLightBoxSave {
	float: right;
}

.cmsmsLightBoxCancel {
	float: left;
}


@media only screen and (max-width: 750px) {
	.cmsmsLightBoxContInMid .cmsms_field .icons_list_parent .cmsms_icon_search {
		width: 100%;
	}
}

