/* CSS Document */
@-ms-viewport { width: device-width; overflow-y: auto;}

body{
background-color:#153526;
background-image:url(../images/background_3c.jpg);
background-repeat:no-repeat;
background-size: 100% auto;
padding-bottom: 50%;
}
 
#helm_header_logo{
	position:absolute;
	left:50px;
	top:20px;
}


 /* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */   
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1100; /* Sit on top */
    right: 0;
    top: 0;
    /*background-color: rgb(0, 149, 161); /* Black fallback color 
    background-color: rgba(0, 149, 161, 0.98); /* Black w/opacity */
	/* Modified to turn background to a pastel red colour */
	background-color:#4c8d6e;
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
   	clear: both;
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 15px; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 10px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

.overlay-content p{
	padding-top:4px;
	font-size:1.6em;
	font-weight:bold;
	color:#fff;
}

/* The navigation links inside the overlay */
.overlay a {
    padding: 5px 8px;
    text-decoration: none;
    color: #fff;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}


/* Position the close button (top right corner) */
#menu_close{
    position: absolute;
    top: 25px;
    right: 50px;
    font-size: 1.3em;
	transition:none;
	z-index:1200;
}
#menu_close:link, #menu_close:visited {
	border:2px solid rgba(0, 149, 161, 0.98);
	border-radius:5px;
}
#menu_close:hover {
	border:2px solid #fff;
	border-radius:5px;
}
#main_menu, #main_menu li{
	display:block;
	list-style:none;
	margin-left:0;
	padding-left:0;
	font-size:1.1em;
}
#main_menu li.active a:link, #main_menu li a:visited{
	background-color:#666;
}
#main_menu li a:hover, #main_menu li a:focus{
	color: #fff;
	background-color:#000;
}
#main_menu_trigger{
	position:absolute;
	right:38px;
	top:22px;
	font-size: 1.3em;
}

#main_menu_trigger a:link, #main_menu_trigger a:visited{
	display:inline-block;
	border:2px solid transparent;
	border-radius:3px;
	padding:2px 3px 0px 3px;
	color: #FFF;
	margin-right:4px;
}

#main_menu_trigger a:hover{
	border:2px solid rgba(84, 220, 127, 1);
	color: rgba(84, 220, 127, 1);
	transition: 0.5s;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}


/* START Mobile Base Nave >= MD */
#mobile_base_nav{
	text-align:center;
	padding-bottom:1px;
	margin-bottom:0;
	min-height: 40px;
	background-color:#000;
	border-top:1px solid rgba(183,183,183,0.89);
}

/*#mobile_base_nav a:first-child{
	margin-right:8%;
}*/
#uon_base_logo{
	text-align:center;
}
#helm_base_logo{
	margin-right:15px;
}
/*This changes the button colour */
.btn-mobile-base { 
	  color:#ffffff; 
	  background-color:#3074ad; 
	  border:none;
	  border-color:#09022B; 
}

.btn-mobile-base:hover, 
.btn-mobile-base:focus, 
.btn-mobile-base:active, 
.btn-mobile-base.active, 
.open .dropdown-toggle.btn-mobile-base { 
	color: #ffffff; 
	background-color: #3bb05c; 
	border-color: #09022B; 
} 
 
.btn-mobile-base:active, 
.btn-mobile-base.active, 
.open .dropdown-toggle.btn-mobile-base { 
	background-image: none; 
} 
 
.btn-mobile-base.disabled, 
.btn-mobile-base[disabled], 
fieldset[disabled] .btn-mobile-base, 
.btn-mobile-base.disabled:hover, 
.btn-mobile-base[disabled]:hover, 
fieldset[disabled] .btn-mobile-base:hover, 
.btn-mobile-base.disabled:focus, 
.btn-mobile-base[disabled]:focus, 
fieldset[disabled] .btn-mobile-base:focus, 
.btn-mobile-base.disabled:active, 
.btn-mobile-base[disabled]:active, 
fieldset[disabled] .btn-mobile-base:active, 
.btn-mobile-base.disabled.active, 
.btn-mobile-base[disabled].active, 
fieldset[disabled] .btn-mobile-base.active {
	background-color: #666;
	border-color: #09022B;
} 
 
.btn-mobile-base .badge { 
	color: #000000; 
	background-color: #ffffff; 
} 
/* Progress bar */
.progress_container{width:100%;height:3px;position:relative;background-color:#f1f1f1;margin-bottom:5px;}
.progressbar{background-color:#757575;height:100%;position:absolute;line-height:inherit}
.green,.hover_green:hover{color:#fff!important;background-color:#55FC84!important}
#next_button{margin-right:10px;margin-left:0;}
#previous_button{margin-left:5px;}

/* END Mobile Base Nave >= MD */
.rlo_title{
	margin-top:5px;
	color:#7D7D7D;
}
.rlo_title a:link, .rlo_title a:visited{
	color:#7D7D7D;
}
article{
	padding-top:50px;
	margin-bottom:80px;
	background-color:#FFFFFF;
}	
article h1{
	margin-top:10px;
	/*border-bottom:1px solid #3276B1;*/
}
h1 span{
	color:#ED1C20;
}

/*.read_aloud{
	opacity:0.6;
	border-top:1px dashed #058A95;
	padding-top:10px;
	margin-top:20px;
	margin-bottom:20px;
	/*background-color:rgba(62,135,212,1.00);
	color:#fff;
}*/
.read_aloud_player{
		text-align:right;
}
.transcript_button{
	width:95%;
	margin:10px auto 0 auto;
	padding-top:15px;
	padding-bottom:10px;
	border-top: 1px dashed #058A95;
}
/* START Feedback Form */
.feedback_form{
	width:100%;
	height:3000px;
	border:none;
	margin:10px 0;
}
/* END Feedback Form */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
   /* IE10+ specific styles go here */
   #read_alound_player{
	   width:100%;
	   height:40px;
	}  
}
.read_aloud:hover, .read_aloud:focus{
	opacity:1;
}
.resource_nav_bar{
  margin-bottom: 20px;
}
.rec_panel table{
	background-color:#fff;
}

footer{
	color:#7D7D7D;
	margin-top:50px;
	margin-bottom:20px;
	padding:20px 10px 0 0;
}
footer ul{
	margin:0;
	padding:0;
	list-style:none;
}
footer p{

	margin-bottom:0px;
}
footer img{
	
	margin-top:5px;
}
footer a:link, footer a:visited{
	color:#EB6D00;
}


/*Home page logo border*/
#logo_border, #main_caption, #small_caption{
	background-color: rgba(155, 60, 12, 0.5); /* light brown background with 40% opacity */
	/*height: 120px;
	margin-bottom: 30px; */
	color:#ffdf76;
	
-moz-border-radius:20px;
-webkit-border-radius: 20px;
-o-border-radius: 20px;

/* firefox's individual border radius properties */
-moz-border-top-left-radius:8px; /* top left corner */
-moz-border-top-right-radius:8px; /* top right corner */
-moz-border-bottom-left-radius:8px; /* bottom left corner */
-moz-border-bottom-right-radius:8px; /* bottom right corner */
-moz-border-radius:8px 8px 8px 8px;  /* shorthand topleft topright bottomright bottomleft */

/* webkit's individual border radius properties */
-webkit-border-top-left-radius:8px; /* top left corner */
-webkit-border-top-right-radius:8px; /* top right corner */
-webkit-border-bottom-left-radius:8px; /* bottom left corner */
-webkit-border-bottom-right-radius:8px; /* bottom right corner */
}

#main_caption{
	padding-top: 10px;
	margin-bottom: 10px;
	height: 180px;
	z-index: 5;
}

#logo_border{
	height: 120px;
	margin-bottom: -40px;
}

#uni_logo{
	float:right;
	padding: 45px 0px 0px 0px;
}

#helm_logo{
	float:left;
	padding: 30px 0px 0px 25px;
}

#logo_title{
	margin:260px 60px 2px 15px;
	padding: 8px;
	color:#FFF;border:1px solid #fff;
	border-radius:5px;
	background:rgba(0, 149, 161, 0.40);
	text-align: center;
}
	
#main_title{
	margin:5px 60px 100px 15px;
	padding-top:-2px;color:#FFF;
	border:1px solid #fff;
	border-radius:5px;
	background:rgba(0, 149, 161, 0.40);
	text-align: center;
}

#start_guide{
	margin:3px;
	color:#FFF;
	border:1px solid #fff;
	border-radius:5px;
	background:rgba(0, 149, 161, 0.40);
	text-align: center;
}

h3{
	display:inline;
}

iframe{
	color:#000000;
}

#word_1{
overflow:auto;resize:none;font-family:Helvetica, Arial, "sans-serif";
}

#safety_area{
	padding-top: 10px;
}

#q_border{
	border:solid;
	border-width: 1px;
	border-radius: 6px;
	border-color:#39B94C;
	margin: -16px 0px 5px 0px;
	padding: 7px 5px 2px 10px;
}

#q_border1{
	border:solid;
	border-width: 1px;
	border-radius: 6px;
	border-color:#39B94C;
	margin: 0px 0px 5px 0px;
	padding: 7px 5px 2px 10px;
}


#q1Text{
	padding: 7px -2px;
}


#trueOne, #falseOne{
	padding: -35px 0px 0px 0px;
	margin-bottom: 0px;
}

#q1right, #q1wrong{
	margin: -2px -5px -20px -5px;
}

#q2right, #q2wrong, #q3right, #q3wrong{
	margin: -15px -5px -15px -5px;
}

#q2Text, #instruction_text, #q3Text{
	margin-top: -15px;
}

#buttonBar{
	margin: 4px 0px 0px 12px;
}

#info_box{
	margin-top: -1px;
	padding: 6px;
}

blockquote{
	font-size: 1.1em;
	font-weight: 600;
}

#main_menu .sub_menu{
	
}

#consultation_image{
	margin-top: -10px;
}

#intro_audio_clip{
	margin-top: -14px;
}

#video_player_animation{
	background:transparent url('../images/section2.jpg') no-repeat 0 0; 
   -webkit-background-size:cover; 
   -moz-background-size:cover; 
   -o-background-size:cover; 
   background-size:cover; 
}

@media(max-width:992px){
	.read_aloud{
		border-bottom:1px dashed rgb(0, 149, 161);
		padding-bottom:5px;
		margin-bottom:10px;
	}
}
/* Hides local procedure buttons when screen not XS size*/
#mobile_procedures, #mobile_procedures1, #mobile_procedures2, #mobile_procedures3{
		display:none;
	}


@media(max-width:767px){
	
	body{
		margin-top:-130px;
	}
	
	#logo_title, #main_title{
		margin-left: 30px;
	}
	
	#new_uni{
		margin: -130px auto 10px auto;
		display: block;
	}
	
	#main_menu_trigger{
		position:fixed;
		z-index:1005;
		right:5px;
		top:13px;
	}
	#main_menu_trigger a:link,#main_menu_trigger a:visited{
		color:#fff;
		border:none;
	}
	#menu_close{
		top: 10px;
		right: 5px;
		font-size: 1.3em;
		transition:none;
	}
	#menu_close:link, #menu_close:visited {
		border:none;
	}
	#menu_close:hover {
		border:none;
	}
	.overlay-content p{
		padding-top:5px;
		font-size:1.0em;
	}
	.overlay-content li{
		
	}
	#main_menu, #main_menu li{
		font-size:1.0em;
	}
	.read_aloud{
		text-align:center;
	}
	.read_aloud_player{
		text-align:center;
	}
	header{
		position:fixed;
		top:0;
		left:0;
		background-color: rgba(0, 149, 161, 0.50);
		z-index:1000;
		height:45px;
		width:100%;
	}

	article{
		border:none;
		padding: 10px; 
	}
	
	article h1{
		text-align:center;
		font-size:200%;
		padding-bottom:10px;
		border-bottom-width:2px;
	}
	
	article h2{
		text-align:center;
		font-size:150%;
	}
	
	#doc_top_btn{
		margin:0px 10px 70px 10px;
	}
	
	footer div.text-right{
		text-align:center;
		margin-top:20px;
	}
	
	footer{
		/*border-top:1px solid #ccc;*/
		padding-top:20px;
		padding-bottom:0px;
		text-align:center;
		margin:20px 0 0 0;
	}
	
	#mobile_base_nav{
		text-align:center;
		padding-bottom:5px;
		margin-bottom:0;
		min-height: 40px;
		background-color:#000;
	}
	
	footer ul{
		margin-bottom:0;
		padding-bottom:0;
	}
	
	#mobile_base_nav a{
		/*width:45%;*/
	}
	
	#mobile_base_nav a:first-child{
		margin-right:8%;
	}
	
	.btn-mobile-base { 
		color: #ffffff; 
		background-color: #000000; 
		border:none;
  		border-color: #09022B; 
	}
	
	.feedback_form{
	height:3000px;
	}

	.resource_nav_bar button{
		display:block;
		width:100%;
	}
	
	.bs-example1 button{
		display:block;
		width:100%;
	}
	
	#mobile_procedures, #mobile_procedures1, #mobile_procedures2, #mobile_procedures3{
		display:block;
	}
	
}

@media(min-width:768px){
	
	article{
		/*border:40px solid rgba(179,179,179,0.89);*/
		padding:20px 20px 40px 20px;
		margin-top:60px;
		-webkit-box-shadow: 10px 10px 5px 0px rgba(158,158,158,1);
		-moz-box-shadow: 10px 10px 5px 0px rgba(158,158,158,1);
		box-shadow: 10px 10px 5px 0px rgba(158,158,158,1);
	}	
	
	/*#sub_title{
	display:none ;
}*/
	
}
@media(min-width:992px){
	#uon_base_logo{
		text-align:left;
	}
}