.new_occurrence_content{
	margin-top: 27px;
	height: calc(100% - 80px);
	border-radius: 4px;
	box-shadow: 4px 3px 20px 0px rgba(0,0,0,0.05);
	position: relative;
	padding: 0px;
}


/************************* FORM *************************/
.new_occurrence_form{
	height: calc(100% - 100px);
	background-color: white;
	border-radius: 4px 0px 0px 0px;
	padding: 40px;
	overflow-y: auto;
}

.new_occurrence_form span:not( .dropify-render ){
	display: inline-block;
	width: 100%;
	font-size: 11px;
	color: #B9B8B8;
	letter-spacing: 0;
	line-height: 15px;
	margin-top: 20px;
}
.new_occurrence_form span:first-child{
	margin-top: 0px;
}

.new_occurrence_form input, .new_occurrence_form textarea{
	display: inline-block;
	width: 100%;
	margin-top: 4px;
	resize: none;
}


/************************* FORM BUTTONS *************************/
.new_occurrence_form_buttons{
	display: inline-block;
	width: 100%;
	height: 100px;
	background-color: white;
	border-radius: 0px 0px 0px 4px;
	padding: 30px 40px;
	overflow-y: auto;
}
.new_occurrence_form_buttons.mobile{
	display: none;
	padding: 30px 20px;
}

.new_occurrence_form_buttons .button{
	display: inline-block;
	padding: 8px 20px;
	font-size: 11px;
	letter-spacing: 0;
	line-height: 15px;
	border-radius: 4px;
	cursor: pointer;
}

.new_occurrence_form_buttons .clear-button{
	color: #B9B8B8;
	background-color: rgba(242,244,246,1);
	border: 1px solid #EFEFEF;
}
.new_occurrence_form_buttons .clear-button:hover{
	background-color: #ECECEC;
}

.new_occurrence_form_buttons .validate-button{
	color: white;
	background-color: rgba(73,209,88,1);
	margin-left: 15px;
}
.new_occurrence_form_buttons .validate-button:hover{
	background-color: #39C949;
}


/************************* ARROW OVERLAY *************************/
.right-arrow-overlay{
	position: absolute;
	top: 106px;
	right: -20px;
	border: solid white;
	border-width: 0 30px 30px 0;
	display: inline-block;
	padding: 15px;
	transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    z-index: 2;
}


/************************* CUSTOM SELECT *************************/
.select-hidden {
  display: none;
  visibility: hidden;
  padding-right: 10px;
}

.select {
  cursor: pointer;
  display: inline-block;
  position: relative;
  width: 100%;
  height: 36px;
  font-size: 13px;
  color: #706B6B;
  letter-spacing: 0;
  line-height: 15px;
  
}

.select-styled 
{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: white;
  padding: 8px 15px;
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  border: 1px solid rgba(235,235,235,1);
  border-radius: 4px;
  margin-top: 4px;
}
.select-styled:after {
  content: "";
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-color: #B9B8B8 transparent transparent transparent;
  position: absolute;
  top: 13px;
  right: 10px;
}
select-styled:active:after, .select-styled.active:after {
  top: 6px;
  border-color: transparent transparent #B9B8B8 transparent;
}

.select-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 999;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: rgba(235,235,235,1);
  border-radius: 4px;
}
.select-options li {
  margin: 0;
  padding: 12px 0;
  text-indent: 15px;
  border: 1px solid rgba(235,235,235,1);
  -moz-transition: all 0.15s ease-in;
  -o-transition: all 0.15s ease-in;
  -webkit-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
  
  font-size: 13px;
  color: #706B6B;
  letter-spacing: 0;
  line-height: 15px;
  
  border-radius: 4px;
}
.select-options li[rel="hide"] {
  display: none;
}


/************************* ATTACHMENTS *************************/
.occurrence-attachments{
	padding: 0px;
	margin-top: 10px;
}

.occurrence-attachments .inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.occurrence-attachments .inputfile + label {
    display: inline-block;
    cursor: pointer;    
    color: #B9B8B8;
    background-color: rgba(242,244,246,1);
    border: 1px solid #EFEFEF;
    padding: 8px 20px;
    font-size: 11px;
    letter-spacing: 0;
    line-height: 15px;
    border-radius: 4px;
}

/*.occurrence-attachments .inputfile:focus + label,*/
.occurrence-attachments .inputfile + label:hover {
    background-color: #ECECEC;
}

.occurrence-attachments .inputfile:focus + label {
	/*outline: 1px dotted #000;
	outline: -webkit-focus-ring-color auto 5px;*/
}

.occurrence-attachments .inputfile + label * {
	pointer-events: none;
}


/************************* MAP *************************/
.new_occurrence_map{
	height: 100%;
	background-color: transparent;
	border-radius: 0px 4px 4px 0px;
	padding: 0px;
}

.new_occurrence_map #map{
	height: 100%;
	border-radius: 0px 4px 4px 0px;
}

.pac-card {
    margin: 10px 10px 0 0;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    font-family: Roboto;
}

#pac-container {
    padding-bottom: 12px;
    margin-right: 12px;
}

.pac-controls {
    display: inline-block;
    padding: 5px 11px;
}

.pac-controls label {
    font-family: Roboto;
    font-size: 13px;
    font-weight: 300;
}

#pac-input {
    background-color: #fff;
    font-size: 13px;
	color: #706B6B;
	letter-spacing: 0;
	line-height: 15px;
    padding: 10px;
    text-overflow: ellipsis;
    width: 50%;
	border-radius: 4px;
	z-index: 3;
	margin: 20px;
	position: absolute;
}

#pac-input:focus {
    border-color: #4d90fe;
}


/************************* LOADING OVERLAY *************************/
.loading-overlay{
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(255,255,255,0.6);
	color: white;
	border-radius: 4px;
	z-index: 4;
}

.loading-overlay .loading-overlay-content{
	display: inline-block;
	position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.loading-overlay .loading-overlay-content p{
	font-size: 28px;
	color: black;
	letter-spacing: -0.51px;
	margin: 20px 0px 5px 0px;
}


/************************* SUCCESS OVERLAY *************************/
.success-overlay{
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(73,209,88,0.6);
	color: white;
	border-radius: 4px;
	z-index: 4;
}

.success-overlay .success-overlay-content{
	display: inline-block;
	position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.success-overlay .success-overlay-content .check-border{
	width: 100px;
	height: 100px;
	border: 4px solid white;
	border-radius: 50px;
	margin: 0px;
	padding: 6px;
}

.success-overlay .success-overlay-content .check-border i{
	font-size: 80px;
}

.success-overlay .success-overlay-content p{
	font-size: 48px;
	color: #FFFFFF;
	letter-spacing: -0.51px;
	margin: 15px 0px 5px 0px;
}

.success-overlay .success-overlay-content span{
	font-size: 20px;
	color: #FFFFFF;
	letter-spacing: 0;
}


/********************* RESPONSIVE *********************/
@media screen and (max-width: 768px) {
	
	.new_occurrence_content, .new_occurrence_content>div, .new_occurrence_form{
		height: auto;
	}
	
	.new_occurrence_form, .new_occurrence_form_buttons{
		padding: 20px;
	}
	
	.new_occurrence_form_buttons.desktop{
		display: none;
	}
	
	.new_occurrence_form_buttons.mobile{
		display: inline-block;
	}
	
	.right-arrow-overlay{
		display: none;
	}
	.new_occurrence_map, .new_occurrence_map #map{
		height: 300px;
	}
	
	.new_occurrence_form_buttons .clear-button{
		width: calc(50% - 7px);
		margin-right: 5px;
		text-align: center;
	}
	.new_occurrence_form_buttons .validate-button{
		width: calc(50% - 7px);
		margin-left: 5px;
		text-align: center;
	}
	
	#pac-input{
		display: none;
	}
}