/* APWT.ORG.NZ CSS */

#ap_top_logo {
   /*background-image: url("../images/logo_pano1.jpg");*/
   height: 84px;
   padding: 0px 5px;
}
  
#ap_sidebar_logo {
   /*background-image: url("../images/logo_pano1.jpg");*/
   height: 84px;
   padding: 0px 5px;
   background-color: #fff;
   color: #fff !important;
   letter-spacing: 4px !important;
}

.login-btn{width:230px;font-family:Montserrat, arial, helvetica, sans-serif;font-size:18px;line-height:1.5;color:#fff;text-transform:uppercase;height:50px;border-radius:10px;background:#007339;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;justify-content:center;align-items:center;padding:0 25px;-webkit-transition:all .4s;-o-transition:all .4s;-moz-transition:all .4s;transition:all .4s;cursor: pointer;}

.ap_button {
   cursor: pointer;
   color: #fff;
   background-color: #007339;
   border-radius: 5px;
   border: 1px solid #575050;
   min-width: 125px;
   float: right;
   margin-left: 5px;
   margin-bottom: 10px;
   padding: 3px 10px 3px 10px;
   -webkit-transition:all .4s;
   -o-transition:all .4s;
   -moz-transition:all .4s;
   transition:all .4s;  
}

.ap_button:hover{color:#fff!important;background-color:#333!important}


div.data_div {
  /*display: inline-block;*/
  max-height: 500px;
  height: fit-content;
  width:100%;
  overflow: auto;
  }

div.data_div2 {
  /*display: inline-block;*/
  height: fit-content;
  border: 1px solid #a6610c;
  padding: 3px;
  overflow: auto;
  }

table.data_table {
  border-collapse: collapse;
  width: 100%;
  max-width: fit-content;
  overflow-x: auto;
  font-size: 13px;
}

table.data_table th{
  border: 1px solid #000;
  padding: 8px;
  position: sticky;
  top: 0;
  text-align: left;
  background-color: #e5d3bb;
  color: #000;
  
}

table.data_table td{ 
  border: 1px solid #000;
  padding: 8px;
  text-align: left;
}

table.data_table tr:nth-child(even){background-color: #f2f2f2;}

table.data_table tr:hover {background-color: #ddd;}

table.responsive-table {
  border-collapse: collapse;
  width: 100%;
  max-width: fit-content;
  overflow-x: auto;
  font-size: 13px;	
}

table.responsive-table th{
  border: 1px solid #000;
}

table.responsive-table td{
  border: 1px solid #000;
}

 

.ap_sub_title {
   font-size: 22px;
   width: fit-content;
}

.ap_main_title {
   font-size: 22px;
   padding-left: 15px;
   padding-right: 15px;
   width: fit-content;
   color: white;
   background-color: #A6610C !important;
}

/* Google Maps */
#wrapper_div {
  height: 100%;
  width: 100%;
  max-width: 100%;
}

#google_map {
  height: 500px;
  width: 100%;
  border-style: solid;
  border-width: 1px;
  margin: 0;
  padding: 0;
}

#map_attribution {
width: 280px;
height: 25px;
padding-left:3px;
padding-right:3px;
background-color: white;
position: relative;
bottom: 32px;
left: 100px;
z-index: 1000;
font-family:Arial;
font-size:10px;
}

.ap_modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 3; /* Sit on top */
  padding-top: 300px;
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

.ap_modal_content {
  position: relative;
  background-color: #fefefe;
  font-size: 20px; 
  margin: auto; 
  padding: 10px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 80%; /* Could be more or less, depending on screen size */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Close Button */
.ap_close {
  color: #aaa;
  float: right;
  font-size: 32px;
  font-weight: bold;
  margin-right: 8px;
  margin-left: 15px;
}

.ap_close:hover, .ap_close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Table Header Text Rotation 270 degrees */
th.rotated-text {
    height: 250px;
    width: 40px;
	white-space: nowrap;
    padding: 0 !important;
}

th.rotated-text > div {
    transform: translate(0px, 90px) rotate(270deg);
	width: 40px;
	padding-left: 0px;
}

th.rotated-text > div > span {
    padding: 10px 0px;
}

@-webkit-keyframes animatetop {
  from {top:-400px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-400px; opacity:0}
  to {top:0; opacity:1}
}

.ap-button2 {
   white-space: nowrap;
   user-select: none;
   vertical-align: middle;
   padding: 8px 16px;
   overflow: hidden;
   text-decoration: none;
   color: inherit;
   background-color: #A6610C;
   opacity: .65; 
   text-align: center;
   cursor: pointer;
   color: #fff;
}
.ap-button2:hover{
	color:#fff!important;
	background-color:#E6D3BB!important;
}	

.ap-button3 {
   white-space: nowrap;
   user-select: none;
   vertical-align: middle;
   padding: 8px 16px;
   overflow: hidden;
   text-decoration: none;
   color: #007339;
   background-color: #007339;
   text-align: center;
   cursor: pointer;
   color: #fff;
}
.ap-button3:hover{
	color:#fff!important;
	background-color:#A6610C!important;
}	

.ap_hamburger {
   background-color: #E6D3BB;
   margin-top: -40px;
   margin-right: 0px; 
}	

.ap_wide {
	margin: 18px 0px;
	font-family: "Roboto", sans-serif;
}

.ap_orange{
	background-color: #EF8408;
}

.ap_lite_orange{
	background-color: #FAB56A;
}

.ap-padding-20-30 {
	padding-top: 20px;
	padding-bottom: 30px;
}

.ap-text-brown {
	color: #A6610C;
}

.ap_emergency_note_container {
	display: flex;
	background-color: #ff0;
	margin: 10px;
	padding: 7px;
	border-radius: 10px;
	border: 3px solid #575050;    
}

.ap_mess_container {
	display: block;
	font-size: 20px;
	background-color: #fff;
	color: blue;
	width: fit-content;
	margin: 5px;
	padding: 5px;
	border-radius: 10px;
	border: 3px solid #575050;    
}

.ap_alerts_container {
	display: block;
	font-size: 20px;
	background-color: #ff0;
	margin: 5px;
	padding: 5px;
	border-radius: 10px;
	border: 3px solid #575050;    
}

.ap_exclaimation {
	height: 70px;
	color: #f00;
	flex: 0;
	font-size: 60px;
	margin-right: 15px;
}

.ap_emergency_note_text {
	flex: 1;
}

.ap_text_container {
	padding: 10px;
	font-family: "Montserrat", sans-serif;
}

.ap_viewer_container {
	padding: 0px;
	font-family: "Montserrat", sans-serif;
}

.ap_thumbnail_grid ul {
   list-style: none;
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
   justify-content: left;
   padding-left: 0px;
}

.ap_thumbnail_grid li {
    width: 140px;
	margin-right: 5px;
	font-size: 11px;
}

.ap_thumbnail_grid img {
	display: block; /* Get rid of tiny space below images */
    margin-bottom: .3em;
	max-width: 100%;
}

.ap_thumbnail_grid .ap_thumbnail {
	position: relative;
}

.ap_weather_col {
	float: left;
}

.ap_left_column {
	min-width: 50%;
	max-width: 70%;
	padding: 5px;
	float: left;
}

.ap_right_column {
	max-width: 100%;
	padding: 5px;
	float: left;
}

.ap_split_column {
	width: fit-content;
	max-width: 90%;
	padding: 5px 5px 5px 0px;
	float: left;
}

.ap_art_column {
    width: 50%;
	min-width: 400px;
	max-width: 500px;
	float: left;
}	

.ap_50_column {
	width: 50%;
	min-width: 200px;
	max-width: 450px;
	float: left;
}

.ap_380_column {
	min-width: 380px;
	max-width: 380px;
	float: left;
}

.ap_class001 {
	font-size: 16px;
}

.ap_class002 {
	background-color: #ffffff;
}
	
.ap_class003 {
	background-color: #fff0d0;
}

.ap_class004 {
	background-color: #fcb136;
}

.ap_class005 {
	background-color: #ff9b8b;
}

.ap_highlight {
     background-color: #00e2ba;
	 }

.collapsible1 {
  background-color: #f00;
  color: white;
  cursor: pointer;
  padding: 8px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.active1, .collapsible1:hover {
  background-color: #8A6441;
}

.collapsible1:after {
  /*content: '\002B';*/
  content: '\22C1';
  color: white;
  font-weight: bold;
  font-size: 20px;
  float: right;
  margin-left: 5px;
}

.active1:after {
  /*content: "\2212";*/
  content: '\22C0';
}

.content1 {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #fff;
}

.collapsible2 {
  background-color: #007339;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.not_active2 {
  background-color: #007339;
  color: #fff;	
}

.active2, .collapsible2:hover {
  background-color: #A6610C;
  color: #fff;
}

.collapsible2:after {
  /*content: '\002B';*/
  content: '\22C1';
  font-weight: bold;
  font-size: 20px;
  float: right;
  margin-left: 5px;
 }

.active2:after {
  /*content: "\2212";*/
  content: '\22C0';
}

.content2 {
  padding: 0 5px;
  display: none;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #fff;
}

.ap_search_input {
   display: block;
   float: right;
   width: 35%;
   height: 40px;
   margin-top: 11px;
   border: 1px solid #ccc;
   padding: 8px;
   overflow: visible;
   font-size: 16px;   
}

.ap_search_input2 {
   float: left;
   width: 50%;
   border: 1px solid #ccc;
   padding: 8px;
   overflow: visible;
   font-size: 16px; 
   margin-right: 3px;   
}

.ap_search_button {
   float: left;
   border: 1px solid #ccc;
   overflow: visible;
   font-size: 24px; 
   text-align: center;
   vertical-align: middle; 
   text-decoration: none;
   padding: 3px 14px;
   background-color: white;
   overflow: hidden;
   white-space: nowrap;
   user-select: none;      
}

.ap_search_button2 {
   float: right;
   margin-top: 26px;
   border: 1px solid #ccc;
   padding: 0px 10px;
   overflow: visible;
   text-align: center;
   vertical-align: middle; 
   text-decoration: none;
   background-color: white;
   overflow: hidden;
   white-space: nowrap;
   user-select: none;      
}

#JSA_Form input[type='checkbox'] {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
	width:30px;
    height:30px;
    background:red;
    border-radius:5px;
    border:2px solid #555;
	cursor: pointer;
}

#JSA_Form input[type='checkbox']:checked {
    background: green;
}

#JSA_Form input[type="checkbox"]:checked:after {
    content: '\2714';
	font-size: 18px;
	position: relative;
	top: 0px;
	left: 5px;
	color: #fff;
}

/* Standard Checkbox Class */
 input.ap_checkbox[type='checkbox'] {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
	width:30px;
    height:30px;
    background:red;
    border-radius:5px;
    border:2px solid #555;
	cursor: pointer;
	margin-bottom: 3px;
}

 input.ap_checkbox[type='checkbox']:checked {
    background: green;
}

 input.ap_checkbox[type="checkbox"]:checked:after {
    content: '\2714';
	font-size: 18px;
	position: relative;
	top: 0px;
	left: 5px;
	color: #fff;
}

#Capture_Form input[type='checkbox'] {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
	width:30px;
    height:30px;
    background:red;
    border-radius:5px;
    border:2px solid #555;
	cursor: pointer;
	margin-bottom: 3px;
}

input::file-selector-button {
  cursor: pointer;
   color: #fff;
   background-color: #007339;
   border-radius: 5px;
   border: 1px solid #575050;
   padding: 3px 10px 3px 10px;
}

#Capture_Form input[type='checkbox']:checked {
    background: green;
}

#Capture_Form input[type="checkbox"]:checked:after {
    content: '\2714';
	font-size: 18px;
	position: relative;
	top: 0px;
	left: 5px;
	color: #fff;
}

#field_select input[type='checkbox'] {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
	width:30px;
    height:30px;
    background:red;
    border-radius:5px;
    border:2px solid #555;
	cursor: pointer;
	margin-bottom: 3px;
}

#field_select input[type='checkbox']:checked {
    background: green;
}

#field_select input[type="checkbox"]:checked:after {
    content: '\2714';
	font-size: 18px;
	position: relative;
	top: 0px;
	left: 5px;
	color: #fff;
}

#newascent input[type='checkbox'] {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
	width:30px;
    height:30px;
    background:red;
    border-radius:5px;
    border:2px solid #555;
	cursor: pointer;	
}

#newascent input[type="checkbox"]:after {
    content: '\2613';
	font-size: 20px;
	font-weight: bold;
	position: relative;
	top: -2px;
	left: 5px;
	color: #fff;
}

#newascent input[type='checkbox']:checked {
    background: green;
}

#newascent input[type="checkbox"]:checked:after {
    content: '\2714';
	font-size: 18px;
	position: relative;
	top: 0px;
	left: 5px;
	color: #fff;
}

#search_sar input[type='checkbox'] {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
	width:30px;
    height:30px;
    background:red;
    border-radius:5px;
    border:2px solid #555;
	cursor: pointer;		
}

#search_sar input[type="checkbox"]:after {
    content: '\2613';
	font-size: 20px;
	font-weight: bold;
	position: relative;
	top: -2px;
	left: 5px;
	color: #fff;
}

#search_sar input[type='checkbox']:checked {
    background: green;
}

#search_sar input[type="checkbox"]:checked:after {
    content: '\2714';
	font-size: 18px;
	position: relative;
	top: 0px;
	left: 5px;
	color: #fff;
}

.ap_search {
	background-image: url('../images/searchicon.png');
    background-position: 10px 10px;
    background-repeat: no-repeat;
    padding-left: 40px;
}

.ap_hr {
	background-color: #DBCAB5;
	height: 4px;
	margin: 10px;
}

.ap_title_block {
	background-color: #A6610C !important;
	color: white !important;
	line-height: 1.2 !important;
	margin-bottom: 8px !important;
}

.ap_info_block {
	background-color: #DBCAB5 !important;
}

.ap_hcenter {
  margin: 0;
  position: relative;
  left: 50%;
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.ap-num-input {
  padding: 4px;
  border: none;
  width: fit-content;
  background-color: #e5d3bb;
  border-radius: 5px;
  margin-left: 5px;
}

.ap-date-input {
  padding: 8px;
  border: 1px solid #A6610C !important;
  border-radius: 5px;
}
.ap-input-box{
	width: 100%;
	background-color: #e5d3bb;
	display: flex;
	align-items: center;
	border-radius: 5px;
}

.ap-input-box img{
	width: 30px;
	height: 20px;
	padding-right:4px;
	cursor: pointer;
}

.ap-data-button{
  cursor: pointer;
  background-color: #c3ffc3;
  border: solid 1px #dbcab5;
  color: black;
  padding: 7px 15px;
  text-align: center;
  text-decoration: none;
  /*font-weight: bold;*/
  display: inline-block;
  font-size: 16px;
  border-radius: 4px;
}
.ap-data-button:hover{
   color:#fff!important;
   background-color:#A6610C!important;
}

.ap_field_button {
    border: none;
    color: white;
    padding: 7px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 4px;
	cursor: pointer;
	width: 100px;
}

.ap_field_button_disabled {
    border: none;
    color: white;
    padding: 7px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 4px;
	opacity: 0.4;
	cursor: not-allowed;
	width: 100px;
}

input[type='submit'] {
    cursor: pointer;
	background-color: #007339; /* Green */
    border: none;
    color: white;
    padding: 7px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 4px;
	hover{background:#333};
}
input[type='submit']:hover{background:#333}
input[type='reset'] {
    cursor: pointer;
	background-color: #007339; /* Green */
    border: none;
    color: white;
    padding: 7px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 4px;
}

input[type='reset']:hover{background:#333}

/* Front Page Slideshow */
.apwtSlides {display: none;}

/* Slideshow container */
.slide_container {
  width: 400px;
  max-width: 70%;
  float: left;
  margin: 8px 8px 8px 0px;
  position: relative;
}

/* Slide Caption text */
.slide_text {
  color: #fff;
  font-size: 15px;
  padding: 4px 4px;
  position: absolute;
  bottom: 0px;
  width: fit-content;
  text-align: left;
  background: rgba(166, 97, 12, 0.7);
}

/* Slide Fading animation */
.slide_fade {
  animation-name: slide_fade;
  animation-duration: 2.5s;
}

@keyframes slide_fade {
  from {opacity: .7} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 600px) {
  .slide_text {font-size: 10px}
}