@media (max-width: 521px){ /* For small smart phones and devices */
	
	header {
	flex-flow: column nowrap;
	padding-left:.5rem;
	}
	
	div.header1 {
	display: block;
	font-size: 17vw;
	margin-left: 7vw;
	padding: 0;
	}
	
	div.header1_2 {
	left: 150%;
    top: -56vw;
    position: relative;
    font-size: 7vw;
    margin-top: 7vw;
	margin-right: 1vw;
	padding: 0px;
    letter-spacing: -1vw;
	display: block;}
	
	div.header2 {
	font-size: 4vw;
	position:relative;
	right:0vw;
	align-self: flex-end;
	padding-bottom: 1vw;
	}
	
	div.header2_2{visibility: hidden;}
	
	div.header3 {display:none;}
	
	div.header3_2{
	display: none;
    position: relative;
    justify-content: center;
    color: rgba(166,1,4,1.00);
    text-shadow: -0.03em 0em 0em rgba(190,190,170,.700);
    font-weight: 900;}

	div.headerphone {
	position: relative;
    top: 50vw;
    display: flex;
    flex-direction: row;
    justify-content: start;
	margin:auto;
	}

	footer {max-height: 4rem}
	
	div.footer2 {position: absolute; bottom:3rem;}
	
	div.footer3 {font-size: 0.7rem;}
	
	img.footer4{height: 1.5em}
	
	.nav {
	display: none;
	font-size: 1rem; /* was .8rem, enlarged to 1rem 23/8/18 */
	-webkit-font-size:1rem; /* This is for MS Edge */
	order:2;
	margin-top:0vw;
	margin-left: 17vw;
	width:10rem;
	top:-16vw;
	}

	.nav-button, .nav-close {
	margin-right:auto; 
	top:.7rem;
	left:.7rem; 
	}
	
.nav .nav-submenu li {max-width:4.5rem;} /* important to stop menu items pushing menus to side */
.nav .nav-submenu ul {max-width:4.5rem; margin-left:-1rem} /* this stops the Reels submenu expanding the top menu bar to left in Edge and Firefox */

.nav .nav-submenu > a:after { /* this controls the position of the arrows */
	position: absolute; 
	display: block; 
	right: 7px; 
	top: 0; /* was 1px */
	content: "\E005";
	}
	
div.imageflow1 {display:none;}

/* Used for actors_female.php, actors_male.php */

div.actors_list_1 {width:95%; margin-top:7vw; font-size:smaller;} 

div.actors_list_2 {text-align:center;}

div.actors_list_3 {display: none;}

div.actors_list_4 {width:95%;}

div.actors_list_5 {padding:1rem 1rem 1rem 1rem; text-align:center; font-size:small;}

div.content_column5{flex-direction: column; flex-wrap: nowrap}
	
div.content_column6 {display: none;}
	
div.content_column7{width: 65%; margin: auto; display:flex; flex-direction:column; flex-wrap:nowrap; justify-content:flex-start;}

/* div.content_row, div.content.row3, div.content_row5 {display:flex; flex-direction:row; flex-wrap:nowrap; justify-content:space-between;} */

div.content_row5 {margin: 0;}

div.container_identity {margin-top: 10vw;}

div.flex3_2 {margin:0px; justify-content: space-around;}

div.flex3_2_1{position: inherit; top:0;}

span.flex3_3{font-size: 6vw;}

div.flex5_1{margin:auto;}

div.flex5_2{margin-top: 4vw;margin-right: auto;margin-left: auto;}

div.flex5_2_1 {width: 100%;}

div.flex5_3 {display: none;}

div.flex5_4 {    
	flex-wrap: wrap;
    justify-content: space-evenly;
	margin: 2vw 10vw 2vw 10vw;}

div.flex5_4_1 {margin: 0 1.5vw 0 1.5vw;}

div.flex5_5{padding:0px;margin:0px;}
	
/*div.flex6_9{border-top:0.3rem groove rgba(20,78,126,1); margin: 2vw 0 2vw 0;}*/

div.flex6_9_1{ 
	display:flex; 
	flex-flow:row nowrap; 
	justify-content:center; 
	background-color: rgb(5,27,76,1);
	font-weight: bold;
	border-bottom: .3rem groove rgba(20,78,126,1); 
	padding-bottom:.1rem;
	padding-top:.6rem; 
	border-top:0.3rem groove rgba(20,78,126,1); margin: 2vw 0 2vw 0;
	}
	
div.flex6_9_2 {display: block;}

div.socialmedia{position: inherit; padding:0px;}

div.cv_button{padding-top: 0px; min-height: 0px; text-transform: none; width: 75%; background-color: rebeccapurple;}
	
	div.cv_button:hover {color: aquamarine}
/* .radio-tabs .state{positon:absolute; left:-10000px;} */
	
#CV[aria-selected] ~ .tabs #CV-tab, #Bio[aria-selected] ~ .tabs #Bio-tab, #Download[aria-selected] ~ .tabs #Download-tab, #CV:checked ~ .tabs #CV-tab, #Bio:checked ~ .tabs #Bio-tab 
	#Download:checked ~ .tabs #Download-tab{position: absolute; left:-10000px;}
	
.radio-tabs .tab{position: absolute;left: -10000px;}
.radio-tabs .panel{position: absolute;left: -10000px;}
	
#CV[aria-selected] ~ .panels #CV-panel, #Bio[aria-selected] ~ .panels #Bio-panel, #Download[aria-selected] ~ .panels #Download-panel, #CV:checked ~ .panels #CV-panel, #Bio:checked ~ .panels #Bio-panel #Download:checked ~ .panels #Download-panel{margin:0px}
	
	
.PageHeadings {font-size:large;}

.thumbnail_width {width:72px;}

a.styleBot1:link, a.styleBot1:visited, a.styleBot1:active {text-transform: capitalize;}

a.styleBot1_1:link, a.styleBot1_1:visited, a.styleBot1_1:active {text-transform: lowercase; font-weight: normal;}
}