.arv_fader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(25,25,25,0.3);
	z-index: 999999;
	display: none;
}

.arv_dialog {
	position: fixed;
	z-index: 1000000;
	background: white;
	box-shadow: 0 0 15px rgba(50,50,50,0.7);
	width: 400px;
	height: 500px;
	top: 50%;
	left: 50%;
	margin-top: -250px;
	margin-left: -200px;
	display: none;
}

/* RESPONSIVE */
@media screen and ( max-width: 420px ) { /* DIALOG MAX WIDTH + Something */
	
	.arv_dialog {
		width: 98%;
		left: 1%;
		margin-left: 0;
	}
	
}

@media screen and ( max-height : 520px ) { /* DIALOG MAX HEIGHT + Something */
	
	.arv_dialog {
		height: 98%;
		top: 1%;
		margin-top: 0;
	}
	
}

.arv_dialog_title {
	background: #ededed;
	height: 40px;
	position: relative;
}

.arv_dialog_title h2 {
	margin: 0;
	line-height: 40px;
	vertical-align: middle;
	margin-left: 10px;
	font-weight: bold;
	font-size: 100%;
}

.arv_dialog_close {
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 40px;
	text-align: center;
	vertical-align: middle;
	line-height: 40px;
	display: block;
	transition: all .6s;
	background: transparent;
}

.arv_dialog_close:hover {
	background: rgba(185,185,185,0.4);
}

.arv_dialog_content {
	position: relative;
	width: 100%;
	height: calc( 100% - 40px );
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.arv_dialog_loader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	background: rgba(125,125,125,0.1) url('loader.gif') no-repeat center center;
	display: none;
}

/* FORM */
.arv_dialog_form_element {
    margin: 20px;
}

.arv_dialog_form_element label {
    display: block;
    margin-bottom: 5px;
}

.arv_dialog_form_element input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border-top: none;
    border-left: none;
    border-right: none;
}

.arv_dialog_form_element p {
    font-size: 80%;
    margin-top: 5px;
    opacity: 0.6;
}

.arv_dialog_infobar {
	margin-top: 10px;
	border: 1px solid #27d62c;
	padding: 7px;
	font-weight: bold;
	background: #daf4d0;
	display: none;
}

.arv_dialog_infobar.error {
	border-color: #d72626;
	background: #f5cfcf;
}

.arv_longform .arv_small_line {
	width: 100% !important;
}

.arv_small_input_full {
	width: 98% !important;
	margin-bottom: 12px !important;
}


/* COMPACT SEARCH */
.arv_compactsearch {
	padding: 15px 30px;
	margin: 0 auto;
	background: white;
	max-width: 300px;
}

.arv_compactsearch .arv_company_logo {
	display: none !important;
}

.arv_compactsearch .arv_lead_capturing {
	display: none !important;
}

.arv_compactsearch .arv_button {
	width: 100%;
}

@media screen and (max-width : 500px) {
	
	.arv_compactsearch .arv_datepicker_line .arv_calendar {
		width: calc(100% - 100px) !important;
	}
	
	.arv_compactsearch .arv_datepicker_line .arv_time {
		width: 90px !important;
	}
	
	.arv_compactsearch .arv_datepicker_line .ui-datepicker-trigger {
		left: calc(100% - 130px) !important;
		top: 7px !important;
	}
	
	.arv_compactsearch .arv_datepicker_line select {
		float: right !important;
	}
	
}