@font-face {
	font-family: Raleway;
	src: url(../fonts/Raleway-Regular.ttf);
}
a{
	text-decoration: none;
}

html{
	height: 100%;
	font-family: Raleway, sans-serif;
}
body{
	margin: 0;

	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

/*Header*/
header{
	background: #2b3033;
	border-top: 5px solid #38c8e0;
	padding: 20px 100px;
}
nav{
	float: right;
}
nav a{	
	color: #778489;
	font-size: 18px;
	display: inline-block;
	padding: 10px;
}
nav a:hover{
	background: #38c8e0;
	color: #fff;
}
.nav_active{
	color: #fff;
}

/*Main*/
body>section{
	box-shadow: 0 0 25px rgba(0,0,0,0.5);
	display: flex;
	flex: 1;
}

/*Footer*/
footer{
	box-shadow: inset 0 0 25px rgba(0,0,0,0.5);
	background: #2b3033;
	padding: 20px;
	text-align: center;
}





/*Home*/
#home{
	background: #3E4549;
	background-size: 100%;
	background-position: bottom;
	width: 100%;	
	display: flex;
	align-items: center;
	justify-content: center;
}
#home input{	
	padding: 20px;
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
	font-size: 24px;	
}
#home input:hover{
	background: #fff;
	color: #3E4549;
}

/*Date*/
#main_date input, #map_play input{
	padding: 20px 40px;
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
	font-size: 24px;
	margin-top: 30px;
}
#main_date input:hover, #map_play input:hover{
	background: #fff;
	color: #38c8e0;
}
#main_date{
	font-size: 28px;
	color: #fff;
	text-align: center;
	width: 50%;		
	padding: 60px;
	background: #38c8e0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
#main_date h1{
	font-size: 66px;
	margin-top: 0;
}
#calendar_box{
	background: url("../img/arrow-triangle.png") no-repeat scroll left 0px center  #E4E9EA;
	width: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
#calendar{
	width: 467px;
	height: 280px;
	background: #fff;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.calendar_left{
	width: 160px;
	height: 220px;
	background: #38c8e0;
	float:left;
	padding: 30px;
	color: #fff;
	font-weight: bold;
	text-align: center;
}
.current_date{
	font-size: 140px;
	padding: 10px 0;
	font-family: sans-serif;
}
.ui-datepicker-inline{
	float: right;
	padding: 20px;
}
.ui-datepicker-prev span,
.ui-datepicker-next span{
	display: block;	
    text-indent: -9999px;
	width: 15px;
	height: 22px;
}
.ui-datepicker-prev span{
	background-image: url(../img/arrow-left.png);
}
.ui-datepicker-next span{
	background-image: url(../img/arrow-right.png);
}
.ui-datepicker-prev,
.ui-datepicker-next {
    position: absolute;
}
.ui-datepicker-next {
    margin-left: 192px;
}
.ui-datepicker-title{
	font-size: 18px;
	color: #38c8e0;
	text-align: center;
	padding-bottom: 15px;
	border-bottom: 1px solid #38c8e0;
}
.ui-datepicker-year, .ui-datepicker-inline tbody{
	font-family: sans-serif;
}
.ui-datepicker-calendar{
	padding-top: 20px;
}
.ui-datepicker-calendar th{
	color: #d2d2d2;
	font-size: 8px;
	padding-bottom: 5px;
}
.ui-datepicker-calendar a{
	font-size: 14px;
	color: #6c6c6c;
}
.ui-datepicker-calendar td{
	width: 25px;
	height: 25px;
	margin: 5px;
	text-align: center;
}
.ui-datepicker-current-day{
    border: 2px solid #38c8e0;
    width: 21px !important;
    height: 21px !important;
    border-radius: 21px;
}


/*Map*/
#map_city{
	width: 50%;
}
#map_play{
	width: 50%;
	padding: 40px;
	background: #38c8e0;
	color: #fff;
	text-align: center;
	font-size: 28px;	
	display: flex;
	flex-direction: column;
	justify-content: center;
}
#map_play h1{
	font-size: 66px;
	margin-top: 0;
}

#map_add{
	width: 25%;
	padding: 40px;
	background: #38c8e0;
	color: #fff;
	position: relative;
}
#map_add h1{
	text-align: center;
	font-size: 28px;
	margin-top: 0;
	overflow: hidden;
}
#map_add p{
	font-size: 20px;
}
#map_list{
	width: 25%;
	overflow-y: scroll;
	background: url("../img/arrow-triangle.png") no-repeat scroll left 0px center #E4E9EA;
	color: #79858A;	
	padding-bottom: 30px; 
	position: relative;
	text-align: center;
}
#map_list h1{
	color: #3E4549;
	font-size: 32px;
	margin: 40px 0;
}
#select_priority p{
	display: inline-block;
	vertical-align: top;
	margin: 6px 20px 6px 0;
}
#select_priority{
	display: flex;
}
#select_priority a{	
	padding: 5px 20px;
	display: inline-block;
	vertical-align: middle;
	line-height: 40px;
	text-align: center;
	color: #fff;
	font-weight: 400;
	position: relative;
	flex: 1;
}
#select_priority a:hover{
	box-shadow: 0 0 25px rgba(0,0,0,0.5);
	z-index: 100;
}
.select_active{
	box-shadow: 0 0 25px rgba(0,0,0,0.5);
	z-index: 100;
}
.middle_prior{
	background: #F98253;
}
.high_prior{
	background: #C54D43;
}
.low_prior{
	background: #28D8B3;
}
#list_time{
	font-size: 20px;
	margin-bottom: 30px;
}
#list_time p{
	display: inline-block;
	margin: 0 15px 0 0;
}
#list_time p:first-child{
	margin-right: 28px;
}
#list_time input{
	border-radius: 0;
	color: #555555;
	font-size: 16px;
	margin: 0 5px;
	padding: 10px;
	vertical-align: middle;
	border: 0px solid transparent;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
	background-color: #f1f4f5;
}
#list_time input[type="text"]{
	width: 25px;
}
#add_place{
	padding: 20px 40px;
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
	font-size: 24px;	
	left:50%;
	position: absolute;
	bottom: 40px;
	width: 190px;
	margin: 0 auto;
    margin-left: -100px;
}
#add_place:focus{
	outline: none;
}
#add_place:hover{
	background: #fff;
	color: #38c8e0;
}
#duration_time input{
	border-radius: 0;
	color: #555555;
	font-size: 16px;
	margin: 0 10px 0 0;
	padding: 10px;
	width: 50px;
	vertical-align: middle;
	border: 0px solid transparent;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
	background-color: #f1f4f5;	
}
#duration_time{
	font-size: 20px;
	margin-bottom: 30px;
}
#map_add p{
	cursor: pointer;
}

#list_input{
	list-style-type: none;
	padding: 0 30px;
	margin: 0;
}
#list_input li{
	padding: 15px;
	color: #fff;
	position: relative;
	text-align: left;
}
#list_input p{
	margin: 0 25px 10px 0;
	font-size: 18px;
	font-weight: bold;
}
.list_close{
	background: url(../img/close_hover.png) no-repeat;
	background-size: 21px;
	width: 21px;
	height: 21px;
	cursor: pointer;
	position: absolute;
	right: 15px;
	top: 15px;
}
.list_close:hover{
	background: url(../img/close.png) no-repeat;
	background-size: 21px;
}

#rezult_btn{
  padding: 20px 40px;
  background: transparent;
  border: 2px solid #38c8e0;
  color: #38c8e0;
  font-size: 24px;
  left: 50%;
  margin-top: 30px;
}

#rezult_btn:hover{
	background: #38c8e0;
	color: #fff;
}

#map_rez{
	width: 75%;
}
#list_rez{
	padding: 30px;
	width: 25%;
	text-align: center;
	background: #E4E9EA;
	overflow-y: scroll;
}
#list_rez h1{
	color: #3E4549;
	font-size: 32px;
	margin: 0;
}
#list_rez ul{
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#list_rez li{
	padding: 15px;	
	background: #38c8e0;
	text-align: left;
	color: #fff;
	margin: 10px 0;
}
#list_rez li p{
	margin: 0 0 5px 0;
}
#calendar_box>div>span{	
	color: #555555;
	font-size: 32px;
}
#calendar_box>h1{
	color: #38c8e0;
	font-size: 38px;
	display: block;
	margin-top: 0;
}
#calendar_box>div>input{
	border-radius: 0;
	color: #555555;
	font-size: 24px;
	margin: 20px 10px;
	padding: 10px;
	vertical-align: middle;
	border: 1px solid #778489;
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.075);
	background-color: #f1f4f5;
	width: 60px;
}
.new_calendar_box{
	display: block!important;
	padding: 50px 80px;
}
@media screen and (max-width: 1300px) {
	#main_date{
		width: 35%;
	}
	#calendar_box{
		width: 65%;
	}
	#main_date h1{
		margin: 0 0 15px 0;
	}
	#calendar_box h1{
		font-size: 32px;
	}
	#calendar_box h1:first-child{
		margin-top: 0;
	}
	#map_play h1{
		margin-top: 0;
	}
	#map_add p{
		font-size: 16px;
	}
	#map_add a{
		font-size: 12px;
		line-height: 25px;
		padding: 5px 15px;
	}
	#list_time{
		font-size: 13px;
	}
	#list_time input[type="text"]{
		width: 20px;
	}
	#list_time input{
		font-size: 13px;
		padding: 5px;
	}
	#map_add h1{
		font-size: 22px;
	}
	#duration_time {
		font-size: 14px;
	}
	#duration_time input{
		font-size: 14px;
	}
	#map_list h1{
		font-size: 28px;
		margin-bottom: 20px;
	}
	#rezult_btn{
		font-size: 20px;
		padding: 10px 20px;
		margin-top: 20px
	}
	#list_input li{
		font-size: 10px;
	}
	#list_input p{
		font-size: 13px;
	}
	#add_place {
	 	font-size: 20px;
		padding: 10px 20px;
	}
}




/*Help*/
#content{
	padding: 80px 100px;
	color: #778489;
	font-family: 'Open Sans', sans-serif;
}
#content form{
	width: 60%;
}
#content input, textarea{
	border-radius: 0px 0px 0px 0px;
	color: #555555;
	display: block;
	font-size: 14px;
	height: 40px;
	line-height: 20px;
	margin-bottom: 10px;
	padding: 6px 20px;
	vertical-align: middle;
	border: 0px solid transparent;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
	transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
	background-color: #f1f4f5;
	width: 80%;
}
#content textarea{
	height: 70px;
	padding-top: 10px;
}

#content button{
	background: #f98253 repeat scroll 0 0;
  border: none;
  font-weight: 400;
  border-radius: 0px;
  box-shadow: none;
  color: #FFFFFF;
  text-decoration: none;
  text-shadow: none;
  padding: 15px 20px;
  text-transform: uppercase;
}

#content div{
	width: 40%;
}



/*Сontact*/
.contact{
	background: #121212;
	justify-content: center;	
	align-items: center;
}
caption{
	padding: 0 20px;
	border-bottom: #1f1f1f solid 2px;
}
.caption img{
	width: 200px;
	border-radius: 200px;
	border: 4px #d1d1d1 solid;
	box-shadow: 0 0 20px 10px rgba(0,0,0,0.5);
	margin-left: 105px;
	margin-top: 60px;
}
.caption p, .caption h1{
	font-family: 'Open Sans', sans-serif;
	color: white;
	text-align: center;
}
.caption p{
	color: #75818a;
}
.info{
	padding: 0 80px;
	font-family: 'Open Sans', sans-serif;
	color: #75818a;
}
.info strong{
	color: white;
}
.info h2{
	text-align: center;
	color: #28ad60;
}