@import url(http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css);

/* CSS настройки формы */

div.joomly-callback-main, div.special-alert{
	display: none;
    position:absolute;
    background:white;
    z-index:1000000;
	padding:0px 0px;
	top:-400px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}	
.dimmer{
	z-index:999995;
	position:fixed;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background:black no-repeat scroll center center;
	opacity: 0.5;
}
div.joomly-callback-main input{
	border: 1px solid #ccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	-webkit-border-radius: 3px;
    -moz-border-radius: 3px;
	border-radius: 3px;
    vertical-align: middle;
	color: #555;
	background-color: #fff;
}
div.joomly-callback-main select{
	visibility: hidden;
	margin-bottom: 0px;	
	height: 0px;
}
#reg_form{
	margin-bottom: 0px;	
}	
div.joomly-callback-div, button.button-joomly-callback-lightbox{
	margin-top: 15px;	
}	
div.joomly-callback-div > input{
	margin-bottom:0px;
}
div.tel > a.fontsize8{
	font-size:8px;
	margin-right: 3%;
}
div.tel{
	text-align: right;
}
div.joomly-callback-body{
	padding:20px 15px 15px 15px;
	background-color: #fff;
}
div.joomly-alert-body{
	padding: 20px;
}
div.joomly-callback-caption{
	border-bottom: 1px solid #E0D8D8;
}
div.joomly-callback-caption > div{
	display:inline-block;
}
#joomly-callback-cap{
	margin-left:10%;
	width:80%;
}	
div.joomly-callback-caption{
	background-color: #21ad33;
	color:white;
}

/* CSS настройки кнопки */

button.button-joomly-callback-form, button.button-joomly-callback-lightbox {
   padding: 14px 18px;
   border: 0 none;
   font-weight: 700;
   letter-spacing: 1px;
   display:block;
   margin-left:auto;
   margin-right:auto;
   text-transform: uppercase;
   height:auto;
   width: auto;
   background-color: #21ad33;
   color: #ffffff;
   box-sizing: border-box;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
button.button-joomly-callback-lightbox{
	width: 100%;
}
button.button-joomly-callback-form:hover,button.button-joomly-callback-lightbox:hover{
	opacity: 0.8;
	outline: 0 none;
}
button.button-joomly-callback-form.sliding{
	padding: 5px 24px;
	z-index:999994;
	position:fixed;
	bottom: 80%;
	right: 64%;
	-webkit-border-radius: 0px;
	-moz-border-radius:0px;
	border-radius: 0px;
	-moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
	overflow-y: hidden;
	transition-property: all;
	transition-duration: .5s;
	transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
button.button-joomly-callback-form.sliding.closed {
	bottom:-46px;
}
/* CSS настройки элементов */

p.callback-text-center{
	text-align:center;
	margin: 0px;
}
img.img-joomly-callback,button.button-joomly-callback-lightbox{
	-webkit-transition: all 0s ease;
    -moz-transition: all 0s ease;
    -o-transition: all 0s ease;	
}	
#name-joomly-callback, #phone-joomly-callback{
	width:100%;
}	
#name-joomly-callback, #phone-joomly-callback, #captcha-joomly-callback{
	height:40px;
	padding: 4px 6px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	font-size: 13px;
    line-height: 18px;
}	
#joomly-callback-cap > h4{
	margin-top:10px;
	margin-bottom:10px;
	font-size: 14px;
    line-height: 16px;
	text-align:center;
	color:white;
}
#joomly-callback-closer{
	width:10%;
}
#joomly-callback-closer > i{
	float:right;
	cursor: pointer;
	margin-right:10px;
	color:white;
}
img.img-joomly-callback{
	min-width:50px;
	width:30%;
	margin-right:3%;
	display:inline-block;
	vertical-align:bottom;
}
#captcha-joomly-callback{
	display:inline-block;
	width:66.5%;
}

/* Сообщение об отправке */

div.special-alert > p{
	margin: 20px 0px 30px 0px;
	text-align:center;	
	font-size: 16px;
}