/* mobiles */
/* Small devices (tablets, 768px and up) */

@media (min-width: 370px) and (max-width: 980px) and (orientation: portrait) { 
#featured img {
    height: auto;
    width: 70% !important;
    right: 15.5% !important;
    position: absolute;
}
}

@media (max-width: 980px) and (orientation: portrait) { 

/* @media (max-device-width: 779px) { */
	
	h1,h2,h3,h4 {
		font-size: 24px !important;
	}
	
	li, strong, ul, ol, blockquote, a {
		font-size: inherit !important;
	}	
	
	p {
		font-size: 18px !important;
		line-height: 26px;
	}	

html, body {	
height:  auto;
vertical-align: top;
margin:  0;
border:  0px solid black;
font-size:  18px;
text-align: center;
}
	
	#main li {
		text-align: left !important;
	}
	

	
	#main.blank {
	background: transparent !important;
    height: 1;
    padding-bottom: 100%;
}

html {
width:  100%;
padding:  0;
}

body {
width: 100%;
padding: 0;
}

div {
width: 98%;
	margin-left:auto;
	margin-right:auto;
position: relative;
}
	
	#header, #main, #footer {
		width: 100% !important;
	}	

img {
height: auto;
margin-left: auto;
margin-right: auto;
max-width: 100% !important;
} 

div {
vertical-align: middle;
position: relative;
z-index: 10;
	overflow: hidden;
}
	
	#header {
		background: #365888 !important;
	}

#nav, #navwrapper  {
display: none;
}

.inline {
display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
}

#logo {
    width: 70%;
    border: inherit;
    margin:  0 auto 0 auto;
padding: 2% 0;
background: transparent !important;
}

#logo h1 {
color: black;
}

#logo img {
    width: 80%;
    height: auto;
}
	
	#right {
		vertical-align:middle;
	}
	
	#right im, #right * {
		vertical-align: middle;
		padding-bottom: 5px;
	}
	

#menu-selector {
    height: 30px;
    text-align: center;
    color: white;
    font-size: 20px;
    background: transparent;
    position: relative;
    padding: 1%;
margin-bottom: 20px;
display: block;
width: 100% !important;
border:  none;
}
	

#menu-selector img {
    height: 30px;
    width: auto;
    display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
margin: 0 1% 20px 0;
vertical-align: top;
}

#menu-selector span {
    color: white;
    font-size: 1.1em;
    padding: 0 1%;
    display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
vertical-align: top;
}

#mobilenav {
    height: 30px;
    overflow:  hidden;
    width: 100%;
    border: inherit;
    padding: 5px 0 2%;
    vertical-align: bottom;
    text-align: center;
list-style:none;
    font-size: 1em;
}

#mobilenav ul {
margin: 0;
padding: 0;
    font-size: 1em;
}
	
	#mobilenav li {
		padding-bottom: 5px;
	}

#mobilenav ul li {
display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
width: auto;
height: auto;
padding: 5px;
text-align: center;
display: block;
background: transparent;
    font-size: 1.2em;
}

#mobilenav ul li a {
    width: auto;
    height: auto;
    padding: 20px 20px;
    text-align: center;
    color:  white;
text-decoration: none;
}
	
	.children, .sub-menu {
    display: none;
    position: absolute !important;
    width: auto !important;
    height: auto;
    background: transparent;
    margin-top: 10px;
    border-radius: 0px !important;
    padding: 1% 1% ;
    overflow: hidden;
    z-index: 500;
}

.children a, .sub-menu a {
    display: block;
    height: auto !important;
    width: auto;
    background: white;
    padding: 1.5% 0.5%;
    text-align: left;
    font-size: 1em;
}

#gallery {
padding-bottom: 100% !important;
width: 100% !important;	
height: 1px !important;	
	position:relative;
}
	
	#gallery img {
	width: 150% !important;
	max-width: 150% !important;	
    height:auto;
		margin-left: -25%;
	}
	
	#buttons {
		width: 60% !important;
		height:auto;
		padding-left: 20%;
		padding-right: 20%;
		font-size: 0.8em;
		position: absolute;
		bottom: 1px;
	}
	
	#buttons #halfblock span {
	text-align:center;
	
}
	
	#buttons #halfblock a {
		width: 100% !important;
	}

#buttons #fullblock {
	display: block;
	font-size: 2em;
}

#buttonimg {
	margin: 2% 2% 7% 2%;
    width: 100% !important;
}
	#buttonText {
		width: 100% !important;
		vertical-align:middle;
	}

    
    #buttonimg img {
    width: 20%;
	vertical-align:middle;
		margin-right: 5px;
    }
	
	img.background, video.background {
		display: block;
		width: 300% !important;
		max-width:none !important;
		height: auto;
		position: fixed;
		z-index: 1;
		left: -100%;
		top:0 !important;
	}	
	
	#social {
		height: 40px;
	}
	
	#featured{ 
	width:100%; 
	padding-bottom:120%; 
	position:relative; 
	height:1px; 
	background:transparent;
}
     
     
#featured ul.ui-tabs-nav{ 
	position:absolute; 
	bottom:0; left:25%; right:25%;
	list-style:none;
    color: Black;
    padding: 0;
    width: 50%;
    background: transparent;
    font-size: 10px;
    height: auto;
    margin: 0;
}
#featured ul.ui-tabs-nav li{ 
    background: transparent;
	font-size:10px; 
	color:gray; 
    text-decoration: none;
    display:inline-block; 
}

#featured ul.ui-tabs-nav li span{ 
	font-family: arial, helvetica, sans-serif;
    text-decoration: none !important;
 
}
#featured li.ui-tabs-nav-item a{ 
	display:inline-block; 
	height:10px; 
	color:gray;  background: transparent; 
    	padding: 5px;
        text-decoration: none !important;
}
#featured li.ui-tabs-nav-item a:hover{ 
	background: transparent; 
}
#featured li.ui-tabs-selected{ 
	color: black; 
    } 
#featured ul.ui-tabs-nav li.ui-tabs-selected a{ 
	background: transparent; 
        color: Black;
        font-weight: bold;
}
#featured .ui-tabs-panel{ 
	width:100%; height:1px; 
    padding-bottom: 120%;
    left: 0; top: 0px;
	background:transparent; position:absolute;
    overflow: hidden;
}

#featured img {
    height: auto;
    width: 50%;
    right: 25%;
    position: absolute;
}

#featured .ui-tabs-panel .info{ 
	position:absolute; 
	bottom:10%; left:0; 
	height:auto; 
	background: transparent; 
    width: 100%;

}
#featured .info h2{ 
	font-size:18px; font-family:'Times New Roman', serif; 
	color:black; padding:16px; margin-top: 20px;
	overflow:hidden; 
    font-style: italic;
    font-weight: normal;
    display: none !important;
}
#featured .info p{ 
	margin:0 0; 
	font-family:Arial,helvetica, sans-serif; font-size:1em; 
	padding:1%; 
    color: #335A8E;
    font-style: italic;
}
#featured .info a{ 
	text-decoration:none; 
	color:black; 
    	font-size:18px; font-family:'Times New Roman', serif; 
        font-style: italic;
}

.readmore { 
	text-decoration:none; 
	color:black; 
    	font-size:14px !important; font-family:'Times New Roman', serif; 
        font-style: italic;
}

#featured .info a:hover{ 
	text-decoration: none; 
}
#featured .ui-tabs-hide{ 
	display:none; 
}
 	

#main #quarterblock {
		width: 47% !important;
		height: auto;
		margin: 0px;
		padding: 1%;
		border: none;
	text-align: center;
	}

	#quarterblock #inset {
		width: 70%;
		height: auto;
		margin: 0px auto;
		padding: 0;
		border: 0px solid white;
	overflow:hidden !important;
     padding: 1%;
	}
	
	#quarterblock #inset  * {
		font-size: 16px !important;
		font-weight: normal;
	}
	
	#quarterblock #inset img {
		height: 100px;
		width:auto;
	}
	
#thirdblock > #inset {
		width: 48%;
		height: auto;
		margin: 0px auto;
		padding: 0;
		border: 0px solid white;
	overflow:hidden !important;
     padding: 1%;
	}

	#thirdblock {
		overflow:hidden !important;
	}	
	
	#thirdblock > #inset > img {
		width: 100% !important;
		    vertical-align: top;
		margin: 0 auto;
	}	

	#imageframe {
		position:absolute;
		background: transparent;
		top:0;
		left:0; 
		border: 0px solid white;
		margin:0;
		padding:0;
	}
	
	#imageframe > img {
		width: 101% !important;
		border:none;
		margin:0;
		padding:0;
		position:relative;
	}
	
	#inset {
		position:relative;
	}

	#main {
		padding-top: 5%;
		padding-bottom: 5%;
		position: relative;
	}
	
#imagegallery, #imagearray {
display:none;
}

#mobileimagearray {
width: 100%;
height: auto;
overflow: hidden;
}

#mobileimagearray #imagewrapper {
width: 110%;
height: auto;
text-align: center;
margin-left: -5%;
}

#mobileimagearray #imagewrapper img {
width: auto;
height: 60px;
}


#drop li a, .children li a  {
background: gray !important;
display: block;
margin: 0;
text-align: center !important;
font-size: 1.5em !important;
}
	
	#footer * {
		color: white;
	}	
	
	#footer img {
		padding-top: 20px;
	}
	
	
#fullblock.section_banner {
	height: auto;
	padding: 1% 0;
	display: block;
	width: 100% !important;
}
	
	   #thirdblock.inline.teammembers {
		   height: auto;
		   overflow:hidden !important;
		   }
		   
		   
		   #thirdblock.inline.teammembers #inset #inset {
			 height: 1px;
			      padding-bottom: 95% !important;
			  overflow: hidden !important;
		   }
		   
		   #thirdblock.inline.teammembers #inset #inset img.icon {
			  margin-top: -5%;
			   margin-left: -10%;
			   margin-right: -5%;
			   width: 120% !important;
			   max-width: none !important;
		   }
	
	#fleetgallery {
width: 95%;
    height: 1px;
    padding-bottom: 135%;
    overflow: hidden;
    border: 1px solid white;
    text-align: center;
    background: transparent;
    z-index: -1 !important;
    display: block;
    position: absolute;
    right: -1px !important;
    top: 1px !important;
}

#fleetgallery img {
width: auto !important;
	max-width: none !important;
height: 100% !important;
	min-height: 100% !important;
text-align: center;
padding: 0;
background: transparent;
    z-index: -1 !important;
    display: block;
    position: absolute;  
left:50%;
margin-left:-50%;
	top: 1px;
}

#fleetthumbs {
height: 1px;
padding: 1% 75% 100% 0;
text-align: left;
background: transparent;
float: none;
width: 25%;
	position: relative;
	float:left;
	z-index: 10000;
}
    
    #fleetinset {
    padding-top: 3%;
    width: 97%;
    margin-right: 3%;
		font-size: 12px;
		text-align: center;
    }

#fleeticon img {
height: 50px;
padding-right: 0px;
margin: 0;
width: auto;
	max-width: none !important;
	min-width: 100% !important;
display: inline;
text-align: right;
position: relative;
}
    
#fleeticon {
 height: 50px;
padding:0;
margin: 0;
width: 50px;
    text-align: right;   
    position: relative;
    overflow: hidden;
    }
    
#fleeticon #imageframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: auto;
    }      

#fleetdetails {
width: 100%;
height: auto;
margin-left: auto;
margin-right: auto;
margin-top: 30px;
}

#fleetdetails td {
padding: 1%;
width: 49%;
}

#fleetdetails td:first-of-type {
text-align: right; 
}

#fleetdetails img {
height: 20px;
width: auto !important;
}

.withoverlay {
    overflow: hidden;
	vertical-align: top !important;
	height: 13.5%;
	padding-bottom: 30%;
	position: absolute;
	top: 0;
	right: 0;
	width: 75%;
	z-index:1;
    }
    
    .clickme {
    border:  1px solid black !important;
    }
	
	#main p, #main h1, #main h2, #main h3, #main h4 {
		z-index: 100000;
		display: block;
	}
	
		#largeinset {
		padding-top: 1%; vertical-align: top !important;
			position:relative;
	}
	
	.gallery {
		display:none;
	}
	
	table, tr, td {
		max-width: 100% !important;
		display: block !important;
		height: auto !important;
	}
	
	iframe {
		max-width: 100%;
	}
	
	#footer li, #footer ul {
		list-style: none;
		margin: 0;
		padding:0;
	}

}

/* ------------------- tablet version ---------------------------------- */

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 918px) and (max-width: 1100px) and (orientation: landscape) {

/* @media (max-device-width: 779px) { */
	
	h1,h2,h3,h4 {
		font-size: 24px !important;
	}
	
	li, strong, ul, ol, blockquote, a {
		font-size: inherit !important;
	}	
	
	p {
		font-size: 18px !important;
		line-height: 26px;
	}	

	
#gallery {
padding-bottom: 50% !important;
width: 100% !important;	
height: 1px !important;	
	position:relative;
}
	
	#buttons {
		width: 45%;
		height: auto;
		margin: 0px;
		padding: 5% 0 0 5%;
		border: inherit;
		float: left;
		z-index: 1000;
	} 

#buttons #halfblock span {
	text-align:center;
}

#buttons #fullblock {
	display: block;
	font-size: 2em;
}

#buttonimg {
	margin: 2% 25%;
    width: 50% !important;
}

    
    #buttonimg img {
    width: 50%;
		padding: 0 25% 5% 25% !important;
		text-align: center;
		margin: 0 !important;
    }
	
	#buttonimg a {
		width: auto;
		height:auto;
		display:block;
		text-align: center;
	}
	
	img.background, video.background {
		display: block;
		width: 300% !important;
		max-width:none !important;
		height: auto;
		position: fixed;
		z-index: 1;
		left: -100%;
		top:0 !important;
	}	
	
	#social {
		height: 40px;
	}
	
	#buttonText {
		width: 100%;
		display: block;
		
	}

#featured{ 
	width:100%; 
	padding-bottom:50% !important; 
	position:relative; 
	height:1px; 
	background:transparent;
	border: 1px solid black !important;
}
	
	#featured ul.ui-tabs-nav{ 
	position:absolute; 
	bottom:0; left:50%; right:50%;
	list-style:none;
    color: Black;
    padding: 10px;
    width: 100px;
    background: transparent;
    font-size: 10px;
    height: auto;
    margin: 0;
}
#featured ul.ui-tabs-nav li{ 
    background: transparent;
	font-size:10px; 
	color:gray; 
    text-decoration: none;
    display:inline-block; 
}

#featured ul.ui-tabs-nav li span{ 
	font-family: arial, helvetica, sans-serif;
    text-decoration: none !important;
 
}
#featured li.ui-tabs-nav-item a{ 
	display:inline-block; 
	height:10px; 
	color:gray;  background: transparent; 
    	padding: 5px;
        text-decoration: none !important;
}
#featured li.ui-tabs-nav-item a:hover{ 
	background: transparent; 
}
#featured li.ui-tabs-selected{ 
	color: black; 
    } 
#featured ul.ui-tabs-nav li.ui-tabs-selected a{ 
	background: transparent; 
        color: Black;
        font-weight: bold;
}
#featured .ui-tabs-panel{ 
	width:100%; height:1px; 
    padding-bottom: 50%;
    left: 0; bottom: 0px;
	background:transparent; position:absolute;
    overflow: hidden;
}

#featured img {
    height: auto;
    width: 40%;
    right: 0;
    position: absolute;
	bottom:1px !important;
}
	
#featured .ui-tabs-panel .info {
    position: absolute;
    bottom: 5% !important;
    left: 5%;
    height: auto;
    background: transparent;
    width: 55%;
}
	
#featured .info h2{ 
	font-size: 1em; font-family:'Times New Roman', serif; 
	color:black; padding:16px; margin-top: 20px;
	overflow:hidden; 
    font-style: italic;
    font-weight: normal;
    display: none !important;
}
#featured .info p{ 
	margin:0 5px; 
	font-family:Arial,helvetica, sans-serif; font-size: 30px; 
	padding:15px; 
    color: #335A8E;
    font-style: italic;
    line-height: 30px;
}
#featured .info a{ 
	text-decoration:none; 
	color:black; 
    	font-size:28px; font-family:'Times New Roman', serif; 
        font-style: italic;
}

.readmore { 
	text-decoration:none; 
	color:black; 
    	font-size:14px !important; font-family:'Times New Roman', serif; 
        font-style: italic;
}

#featured .info a:hover{ 
	text-decoration: none; 
}
#featured .ui-tabs-hide{ 
	display:none; 
}
	
	
#quarterblock > a > #inset > .icon {
	width: auto;
	height: 150px;
	margin-left: auto; margin-right: auto;
	vertical-align: top;
}
	
	
#drop li a, .children li a  {
visibility: hidden !important;

}
	
		#nav li {
		display: moz-inline-block;
		display: inline-block;
		*display: inline;
		list-style-type: none;
		zoom: 1;
		width: auto;
		height: auto;
		padding: 0px;
	}
	
	#nav li a {
		width: auto;
		height: auto;
		padding: 0px 4px;
		font-family: Arial, hevetica, sans-serif;
		font-size: 18px;
		text-align:  left;
	}
	
	.children, .sub-menu {
		padding: 0% 1%;
	}
	
	.children a, .sub-menu a {
    display: block;
    height: auto !important;
    width: auto;
    background: transparent;
    padding: 1.5% 0.5%;
    text-align: left;
    font-size: 0.9em !important;
    color: black !important;
}
	
	#thirdblock.inline.teammembers {
			   height: 750px;
		   }
		   
		   
		   #thirdblock.inline.teammembers #inset #inset {
			 height: 272px;  
			  overflow: hidden;
		   }
		   
		   #thirdblock.inline.teammembers #inset #inset img.icon {
			  margin-top: -5%;
			   margin-left: -10%;
			   width: 120% !important;
			   max-width: none;
		   }
	
	#twothirdsblock {
		width: 67%;
		height: 450px;
		margin: 0px;
		padding: 0;
		border: inherit;
	position: relative;
	overflow: hidden;
}
 	/*	

#main #quarterblock {
		width: 47% !important;
		height: auto;
		margin: 0px;
		padding: 1%;
		border: none;
	text-align: center;
	}

	#quarterblock #inset {
		width: 70%;
		height: auto;
		margin: 0px auto;
		padding: 0;
		border: 0px solid white;
	overflow:hidden !important;
     padding: 1%;
	}
	
	#quarterblock #inset  * {
		font-size: 16px !important;
		font-weight: normal;
	}
	
	#quarterblock #inset img {
		height: 100px;
		width:auto;
	}
	
#thirdblock > #inset {
		width: 48%;
		height: auto;
		margin: 0px auto;
		padding: 0;
		border: 0px solid white;
	overflow:hidden !important;
     padding: 1%;
	}

	#thirdblock {
		overflow:hidden !important;
	}	
	
	#thirdblock > #inset > img {
		width: 100% !important;
		    vertical-align: top;
		margin: 0 auto;
	}	

	#imageframe {
		position:absolute;
		background: transparent;
		top:0;
		left:0; 
		border: 0px solid white;
		margin:0;
		padding:0;
	}
	
	#imageframe > img {
		width: 101% !important;
		border:none;
		margin:0;
		padding:0;
		position:relative;
	}
	
	#inset {
		position:relative;
	}

	#main {
		padding-top: 5%;
		padding-bottom: 5%;
		position: relative;
	}
	
#imagegallery, #imagearray {
display:none;
}

#mobileimagearray {
width: 100%;
height: auto;
overflow: hidden;
}

#mobileimagearray #imagewrapper {
width: 110%;
height: auto;
text-align: center;
margin-left: -5%;
}

#mobileimagearray #imagewrapper img {
width: auto;
height: 60px;
}


#drop li a, .children li a  {
background: gray !important;
display: block;
margin: 0;
text-align: center !important;
font-size: 1.5em !important;
}
	
	#footer * {
		color: white;
	}	
	
	#footer img {
		padding-top: 20px;
	}
	
	
#fullblock.section_banner {
	height: auto;
	padding: 1% 0;
	display: block;
	width: 100% !important;
}
	
	   #thirdblock.inline.teammembers {
		   height: auto;
		   overflow:hidden !important;
		   }
		   
		   
		   #thirdblock.inline.teammembers #inset #inset {
			 height: 1px;
			      padding-bottom: 95% !important;
			  overflow: hidden !important;
		   }
		   
		   #thirdblock.inline.teammembers #inset #inset img.icon {
			  margin-top: -5%;
			   margin-left: -10%;
			   margin-right: -5%;
			   width: 120% !important;
			   max-width: none !important;
		   }
	
	#fleetgallery {
width: 95%;
    height: 1px;
    padding-bottom: 135%;
    overflow: hidden;
    border: 1px solid white;
    text-align: center;
    background: transparent;
    z-index: -1 !important;
    display: block;
    position: absolute;
    right: -1px !important;
    top: 1px !important;
}

#fleetgallery img {
width: auto !important;
	max-width: none !important;
height: 100% !important;
	min-height: 100% !important;
text-align: center;
padding: 0;
background: transparent;
    z-index: -1 !important;
    display: block;
    position: absolute;  
left:50%;
margin-left:-50%;
	top: 1px;
}

#fleetthumbs {
height: 1px;
padding: 1% 75% 100% 0;
text-align: left;
background: transparent;
float: none;
width: 25%;
	position: relative;
	float:left;
	z-index: 10000;
}
    
    #fleetinset {
    padding-top: 3%;
    width: 97%;
    margin-right: 3%;
		font-size: 12px;
		text-align: center;
    }

#fleeticon img {
height: 50px;
padding-right: 0px;
margin: 0;
width: auto;
	max-width: none !important;
	min-width: 100% !important;
display: inline;
text-align: right;
position: relative;
}
    
#fleeticon {
 height: 50px;
padding:0;
margin: 0;
width: 50px;
    text-align: right;   
    position: relative;
    overflow: hidden;
    }
    
#fleeticon #imageframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: auto;
    }      

#fleetdetails {
width: 100%;
height: auto;
margin-left: auto;
margin-right: auto;
margin-top: 30px;
}

#fleetdetails td {
padding: 1%;
width: 49%;
}

#fleetdetails td:first-of-type {
text-align: right; 
}

#fleetdetails img {
height: 20px;
width: auto !important;
}

.withoverlay {
    overflow: hidden;
	vertical-align: top !important;
	height: 13.5%;
	padding-bottom: 30%;
	position: absolute;
	top: 0;
	right: 0;
	width: 75%;
	z-index:1;
    }
    
    .clickme {
    border:  1px solid black !important;
    }
	
	#main p, #main h1, #main h2, #main h3, #main h4 {
		z-index: 100000;
		display: block;
	}
	
		#largeinset {
		padding-top: 1%; vertical-align: top !important;
			position:relative;
	}
	
	.gallery {
		display:none;
	}
	
	table, tr, td {
		max-width: 100% !important;
		display: block !important;
		height: auto !important;
	}
	
	iframe {
		max-width: 100%;
	} */

}

@media only screen and (min-width: 1350px) and (max-width: 1366px) and (min-height: 1024px) and (orientation: landscape) { 
	#featured .info p{ 
	font-size: 1em !important; 
}
	
		#thirdblock.inline.teammembers {
			   height: 750px;
		   }
		   
		   
		   #thirdblock.inline.teammembers #inset #inset {
			 height: 272px;  
			  overflow: hidden;
		   }
	
	#drop li a, .children li a  {
visibility: hidden !important;

}
	
}