@media only screen and (max-width : 894px ){ /* For small laptops style devices */
	div.flex5_1 {margin-left:3vw; transition:margin-left 2s;}
	div.flex6_1 {margin-right:3vw;transition:margin-right 2s;}

@media only screen and (max-width:959px){ /* For tablet style devices */
	header {padding-top:1rem;}

	div.header1, div.header1_2 {margin-left:1.5rem; }

	.nav {
	display: none; 
	line-height:1.2rem;
	position: relative; 
	padding:.5rem;
	overflow: visible; 
	width:14rem;
	margin-right:12vw;
	margin-top:9vw;
	margin-bottom:-4.9rem;
	top:-5rem;
	}

	.nav ul {padding:0;}

	.nav ul ul {
	text-transform:capitalize;
	padding-left:1rem;
	padding-bottom:.5rem;
	min-width:12rem;
	}
	
	.navalign {text-align: left;}

	footer {justify-content: center;}

	div.footer1 {display:none;}
	
	div.footer2 {
		order:1;
		padding-right: 1vw;
		}
		
	div.footer3 {
	order:2; 
	height:100%; 
	padding-left:0px;
	padding-right:0px;
	text-align: center !important; 
	}
	
	.nav-button, .nav-close {
	position: fixed; 
	top: 1rem; 
	width: 3rem; 
	height: 3rem; 
	overflow: hidden; 
	z-index: 902; 
	cursor: pointer; 
	text-decoration: none; 
	line-height: 3rem; 
	background: rgba(166,1,4,1.00); 
	color: white; 
	border:rgba(104,114,114,.50) groove .15em;
	}
	
	.nav-button:before, .nav-close:before {display: block; text-align: center;}
	.nav-button {display: block; right: 1.5rem;	font-size: 1.7rem;}
	.nav-button:before {content: "\E003";}
	.nav-close {display: none !important; }
	.nav-close:before {content: "\E002";}
	.nav > ul > li > ul > .nav-submenu > a:after {content: "\E005";}
	.nav .nav-submenu li {min-width:100%;} /* important to stop menu items pushing menus to side */

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

div.actors_list_1 {width:90%; text-transform: capitalize;}

div.actors_list_4 {width:90%;}

div.actors_list_5 {padding:1.5rem 1.5rem 1rem 1.5rem; text-align:center;}

.thumbnail_width {width:90px;}

/* Used for profile_actor.php */

div.flex3_2 {flex-direction: row; margin:0px 14vw 1vw 7vw; justify-content: space-between;} 
 
div.flex5_1 {width:100%;margin-top:1vw; margin-right: 3vw;}

div.flex5_2{margin-left: 0px;margin-top: auto; margin-right: 3vw;}

div.flex5_2_1 {min-width: 40vw;}
	
div.flex5_3 {display: none; padding-top: 5vh}

div.flex5_4, div.flex5_5 {max-width: 100%; margin-top: 0px;justify-content: flex-start;}
	
div.flex5_4_1 {margin-right: 3vw;}

div.flex6_1 {margin-right: 0;margin-left: 0;}
	
div.website { padding-top: .7rem;}

div.content_row5 {display:flex; flex-direction:column; flex-wrap:nowrap; justify-content:space-between;}

div.content_column5 {flex-direction: row; flex-wrap: nowrap;}

div.content_column6 {margin-left: 3vw; margin-top:1vw; margin-right:3vw;width: 90vw;}

}
}
