/*ютф8*/
* {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

*:focus {
    outline: none;
}

@font-face {
	font-family: "Events";
	src: url("/events/web/.css/fonts/roboto/Roboto-Bold.ttf") format("truetype");
}

.main_header{
	font-family: Events;
	position: absolute;
	width: 100%;
	height:172px;
	top: 0;
	left: 0;
	color: #612536;
	background-image: url('/events/web/.css/images/header_bg.png');
	background-position-y: bottom;
	background-repeat: repeat-x;
	/*padding-top: 25px;*/
}
.main_header .line{
	width: 100%;
	height: 40px;
	background-color: #612536;	
}

.main_title{
	font-size: 50pt;
	text-transform: uppercase;
	/*line-height: 120px;*/
	vertical-align: middle;
	text-align: center;
	margin: 0;
}
.today_element{
	width:auto;
	height:40px;
    color: white;
	font-size: 24pt;
	text-transform: uppercase;
	
}
#today{
	float: left;
	padding-left: 20px;
}
#clock{
	float: right;
	text-align: right;
	padding-right: 20px;
}

body{
	background-image: url('/events/web/.css/images/fon1.jpg');
	background-size: cover;
	padding-top: 130px;
}
#ajax{
    width: 100%;
    height: 100%;
    background-color: #ffffff;
	background-image: url('/events/web/.css/images/load-loading.gif');
	background-position: center;
	background-repeat: no-repeat;
    opacity: 0.8;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
	display: none;
}
.popup{
    width: 100%;
    background-color: rgba(255,255,255,1);
    position: absolute;
    top: 50%;
	transform: translate(0, -40%);
    left: 0;
    z-index: 9;
	display: none;
	text-align: center;
	margin:auto;
}
.confirmation_title{
	font-family: Events;
	font-size: 25pt;
    margin: 50px 0;
    line-height: 60px;
    background-color: #612536;
    color: white;
}

#event_type .confirmation_title{
	margin: 20px 0;
}

#event_list{
	margin: auto;
	width: 100%;
	height: 790px;
	overflow: auto;

}

#event_list::-webkit-scrollbar {
    width: 30px;
}

#event_list::-webkit-scrollbar-track {
    background-color: white;
	border-radius: 100px;
}
#event_list::-webkit-scrollbar-thumb {
    /*box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);*/
	background-color: #612536;
	border-radius: 100px;
}


.event_thumb{
	width: 850px;
	height: 200px;
	background-color: rgba(255,255,255,0.7);
	margin: 10px auto 20px auto;
	/*cursor: pointer;*/
	position: relative;
	/*display: flex;*/
}

.event_thumb img, .event_thumb .nophoto {
	width: 250px;
	height: 141px;
    position: absolute;
    top: 0;
	object-fit: contain;
	background-color: #ffffff;
}
.event_thumb .nophoto {
	background-image: url('/events/web/.css/images/no_image.png');
	background-position: center;
	background-repeat: no-repeat;	
}

.event_thumb .title{
	font-size: 20pt;
}

.buttons{
	width:100%;
	display: flex;
	justify-content: center;
	margin: 50px 0;
	
}

#event_type .buttons{
		margin: 0;
}


.button, #ui-datepicker-div button{
	font-family: 'Events';
	width:200px;
	height:100px;
	line-height: 100px;
	text-align: center;
	vertical-align: middle;
	font-size: 25pt;
	border-radius: 25px;
	color: #ffffff;
	margin:0 20px;
	display: block;
	float: left;
	opacity:1;
	border: 2px solid #612536 !important;
    margin: 5px 50px !important;
	pointer: none;
}




#event_type .button{
	width:150px;
	height:50px;
	font-size: 15pt;
	border-radius: 10px;
	line-height: 50px;
}

.ui-datepicker-buttonpane{
    height: 110px !important;
    background-color: #ffffff !important;
    margin-bottom: 5px !important;
}

.yes, .in_building, .away, .selected, .bg{
	background-color: #612536;
}

.unselected{
	color: #612536 !important;
	background-color: #ffffff !important;
}

.no {
	background-color: white;
	border: solid 2px #612536;
	color: #612536;
}


#applay, #reset{
	margin: 5px 10px !important;
}



.margin-top{
	margin: 50px;
}
#confirmation label, #event_type label{
    font-size: 26pt;
    font-weight: bold;
    border-bottom: solid 2px #612536;
    color: #612536;
    display: block;
    width: 800px;
    margin: 30px auto 0 auto;
}
#event_type label{
	    margin: 15px auto 0 auto;
}


.data {
	font-size: 26pt;
	font-weight: bold;
	width: 800px;
    margin: auto;
}
.title {
	font-family: 'Events';
	font-size: 16pt;
	color: #612536;
    width: 580px;
    height: 80px;
    margin: 30px 10px 0 10px;
    border-top: solid 2px #ffffff;
    border-bottom: solid 2px #ffffff;
    text-align: center;
    position: absolute;
}
.place{
    font-family: 'Events';
    position: absolute;
    bottom: 0;
    height: 60px;
    width: 85%;
    background-color: #612536;
    line-height: 60px;
    text-align: center;
    font-size: 16pt;
    color: white;
}

.time{
    font-family: 'Events';
    position: absolute;
    bottom: 0;
    height: 60px;
    width: 15%;
    background-color: white;
    line-height: 60px;
    text-align: center;
    font-size: 30pt;
    color: #612536;
}
.count{
    font-family: 'Events';
    position: absolute;
    bottom: 0;
    height: 25px;
    width: 60px;
    background-color: white;
    line-height: 25px;
    text-align: center;
    font-size: 20pt;
    color: #612536;
}
#event_id{
	display: none;
}
.printing_image{
    background-image: url(/events/web/.css/images/receipt.jpg);
    height: 256px;
    background-repeat: no-repeat;
    background-position: center center;
    margin-bottom: 50px;
}
.hasKeypad{
	width: 80px;
	height: 40px;
	border: solid 1px #612536;
    font-family: 'Events';
	font-size: 26pt;
	font-weight: bold;
	margin-top: 10px;
	text-align: center;
}
.right_0{
	right: 0;
}
.left_0{
	left:0;
}

.radius_left{
	border-radius: 50px 0 0 0;
	padding: 0 0 0 10px;
}

.radius_right{
	border-radius: 0 50px 0 0;
	padding: 0 10px 0 0;
}

.ui-datepicker-calendar{
    background-color: #FFFFFF;
	border-spacing: 2px;
	border-collapse: separate !important; 
}

#ui-datepicker-div{
    background-color: #612536;
	font-size: 30pt;
}

.ui-datepicker-title{
	color: #FFFFFF;
}

td[data-handler='selectDay']{
	background-color: #612536;
	border: 1px solid #612536 !important;
	text-align: center;
}

td.ui-datepicker-current-day{
	background-color: #ffffff !important;
	border: 1px solid #612536 !important;
}

.ui-state-active{
	color:#612536 !important;
}

a.ui-state-default{
	text-align: center !important;
	color: #ffffff;
}

span.ui-state-default{
	text-align: center !important;
	color: #aaaaaa;
}
.ui-datepicker-prev, .ui-datepicker-next{
	background-color: #ffffff !important; 
	border-radius: 25px !important;
	background-position: center !important;
    background-size: 45px !important;
    background-repeat: no-repeat !important;
}

.ui-datepicker-prev{
	background-image: url('/events/web/.css/images/prev.png') !important;
}
.ui-datepicker-next{
	background-image: url('/events/web/.css/images/next.png') !important;
}

.ui-datepicker-prev span, .ui-datepicker-next span{
	display: none !important;
}

button.ui-datepicker-current, button.ui-datepicker-close {
	background-color: #612536 !important; 
	padding: 0 15px !important;
}


/*
.ui-datepicker-prev span, .ui-datepicker-next span {
    background-image: none !important;
}

.ui-datepicker-prev span.ui-icon {
    width: 6px; //this the width of the icon. increase it if your icon is bigger
    height: 16px;
    display: block;
    text-indent: 0;
    overflow: hidden;
    background-repeat: no-repeat;
}
.ui-datepicker-prev span:before {
    content: "\f104";
    font-family: FontAwesome;
    position: relative;
}




/*
#datepicker{
    width: 200px;
    position: absolute;
	z-index: 999;
    background-color: #612536;
    top: 40px;
    left: 20px;
}






td.ui-datepicker-current-day{
	background-color: #ffffff;
	border: 1px solid #612536;
}



*/