/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html, body {
	box-sizing: border-box;
    color: #222;
    font-size: 16px;
    line-height: 1.4;
    padding: 0;
  	margin: 0;
  	font-family:"Tahoma";
  	background-color: #fff;
}

*, *:before, *:after {
  box-sizing: inherit;
}

*,*:hover,*:focus,*:active { outline: 0px none; }

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.unused{
    display: none;
}

@media (max-device-width: 1023px) {
	
	#banner
	{
		border: 0px solid #fff;
		min-width: 900px;
		background-image: url('../img/mobile.jpg');
		background-size:contain;
		margin-top: 125px !important;
	}
	
	#flash {display: none; width: 900px;
	background-image: url('../img/mobile.jpg'); margin-top: 125px !important;}
	
}


/*
@media (min-width:320px) {#banner
	{
		border: 0px solid #fff;
		min-width: 100%;
		background-image: url('../img/mobile.jpg');
		background-size: 100% 690px;
	}


	
	#flash {display: none; width: 900px;
	background-image: url('../img/mobile.jpg');background-size: 100% 690px;} }
	
	
@media (min-width:481px) {#banner
	{
		border: 0px solid #fff;
		min-width: 100%;
		background-image: url('../img/mobile.jpg');
		background-size: 100% 690px;
	}
	
	#flash {display: none; width: 900px;
	background-image: url('../img/mobile.jpg');background-size: 100% 690px;} }


@media (min-width:641px) { #banner
	{
		border: 0px solid #fff;
		min-width: 100%;
		background-image: url('../img/mobile.jpg');
		background-size: 1000px 690px;
	}
	
	#flash {display: none; width: 100%;
	background-image: url('../img/mobile.jpg');background-size: 1000px 690px;} }
*/








.container{width: 100%; height: auto; border: solid 0px #f00; min-width: 991px;}

.content{padding-top: 0px; width: 900px; height: 1800px; border: solid 0px #f00; min-width: 900px; margin: auto;}
.gallerycontent{padding-top: 0px; width: 900px; height: 1000px; border: solid 0px #f00; min-width: 900px; margin: auto;}
.gallerynav{border: 0px solid red; width: 55px; height: 95px; float: right; margin-left: 75px;}
#galleryone{display: block; padding-top: 0px; width: 900px; height: 1800px; border: solid 0px #f00; min-width: 900px; margin: auto;}
#gallerytwo{display: none; padding-top: 0px; width: 900px; height: 1800px; border: solid 0px #f00; min-width: 900px; margin: auto;}
#gallerythree{display: none; padding-top: 0px; width: 900px; height: 1800px; border: solid 0px #f00; min-width: 900px; margin: auto;}
#galleryfour{display: none; padding-top: 0px; width: 900px; height: 1800px; border: solid 0px #f00; min-width: 900px; margin: auto;}
#galleryfive{display: none; padding-top: 0px; width: 900px; height: 1800px; border: solid 0px #f00; min-width: 900px; margin: auto;}

.contentsmall{padding-top: 0px; width: 900px; height: 900px; border: solid 0px #f00; min-width: 900px; margin: auto;}
#galleryonesmall{display: block; padding-top: 0px; width: 900px; height: 900px; border: solid 0px #f00; min-width: 900px; margin: auto;}
#gallerytwosmall{display: none; padding-top: 0px; width: 900px; height: 900px; border: solid 0px #f00; min-width: 900px; margin: auto;}

.contentmedium{padding-top: 0px; width: 900px; height: 1200px; border: solid 0px #f00; min-width: 900px; margin: auto;}
#galleryonesmedium{display: block; padding-top: 0px; width: 900px; height: 1200px; border: solid 0px #f00; min-width: 900px; margin: auto;}
#gallerytwomedium{display: none; padding-top: 0px; width: 900px; height: 1200px; border: solid 0px #f00; min-width: 900px; margin: auto;}

#pagebuttons{border: solid 0px #f00; width: 770px;; height: 30px; margin-top: -40px; margin-left: auto; margin-right: auto;}
#pagebuttons input{float: right; text-decoration: none;}
#pagebuttons input[type=button]
{
	padding: 3px 15px;
	background:#ddd;
	border: 1px solid #ccc;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin-left: 5px;
    color: #222222;
}

#pagebuttons input[type=button]:hover
{
	padding: 3px 15px;
	background: #e2e2e2;
background: -moz-linear-gradient(top, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%);
background: -webkit-linear-gradient(top, #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%);
background: linear-gradient(to bottom, #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe',GradientType=0 );
	border: 1px solid #999999;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin-left: 5px;
    color: #222222;
}

#pagetext{border: 0px solid #f00; width: 160px; float: right; color: #888}

.menubarcontainer
{
	background-color: #00438a;
	width: 100%;
	border: solid 0px #fff;
	min-width: 991px;
	z-index: 9999;
}

.menuitem{border: solid 0px #f0f; float: left; padding-left: 7px;}

.menuitem > div
{
	display: none;
}

.menuitem:hover > div
{
	display: block;
}

.submenu
{
	margin-top: 17px;
	width: 150px;
	height: auto;
	float: left;
	margin-right: 5px;
	background-color: #00438a;
	padding-top: 0px;
	box-sizing:border-box;
	border-left: 0px solid #3C3C3C;
	border-right: 0px solid #3C3C3C;
	color: #FFFFFF;
	z-index: 999;
	position: absolute;
}

.submenuitem{
	border: solid 0px #f0f;
	font-size: 16px;
	padding: 10px;
	cursor: pointer;
	text-decoration: none;	
}

/*
.submenuitem:hover{
	background-color: #0078e6;
	color: #FFFFFF;
}
*/
.submenuitem:hover, .menuitem:hover > a {background-color: #0078e6; text-decoration: none;}
.submenu:last-child{ border-bottom-left-radius: 4px; border-bottom-right-radius: 4px;}
.submenuitem:last-child{ border-bottom-left-radius: 4px; border-bottom-right-radius: 4px;}

.menubar{

	width: 700px;
	height: 28px;
	border: solid 0px #f0f;
	margin-left: auto;
	margin-right: auto;
	color: #fff;
	padding-top: 2px;
}

.menubar a:link{
	color: #fff;
	font-size: 0.8em;
	text-decoration:none;
}

.menubar a:hover{
	text-decoration: underline;
}

.menubar i {color: #fff;}

.mainmenubar{
	height: 56px;
	font-size: 20px;
	padding-top: 11px;
	width: 745px;
}

.mainmenubar a:link{
	padding: 16px 15px 19px 15px;
}

.mainmenubar > div > div a:link{
	padding: 0px;
	font-size: 16px;
	padding: 10px;
}


.mainmenubar a:visited, .menubar a:visited{
	color: #fff;
}


.mainmenubar a:hover{
	background-color: #0078e6;
	text-decoration: none;
}


#socialcontainer{
	border: solid 0px #0ff;
	width: 160px;
	float: right;
	margin-right: 65px;
	margin-top: 15px;
}

.socialicons{
	border: solid 0px #f00;
	width: 35px;
	height: 35px;
	float: left;
	margin-left: 20px;
	border-radius: 8px;
	background-color: #fff;
	color: #000;
	background-image: url('');
	cursor: pointer;
}


#header{
	width: 100%;
	height: 150px;
	border: solid 0px #0f0;
	background-color: #fff;
	min-width: 991px;
	padding-top: 0px;
}

#headerimg{
	width: 750px;
	height: 150px;
	border: solid 0px #f0f;
	margin: auto;
	margin-top: 0px;
	background-image: url('../img/header.jpg');
	background-attachment: scroll;
	padding-right: 50px;
}

.contactinfo{
	border: solid 0px #f0f;
	width: 180px;
	float: right;
	position: relative;
	clear: both;
	font-size: 14px;
	padding: 0px;
	margin: 0px;
}
.phone{line-height: 2px; color:#999999; margin-top; -10px;}
.national{margin-bottom: -5px; font-size: 35px; font-family: 'Verdana'; font-weight:bold; color:#999999;}
.hundred{margin-left: 15px; margin-top: 8px; width: 125px; border: solid 0px #f00; font-size: 37px; font-family: 'Arial'; font-weight:bold; color:#999999}
.nationaltext{float: left; width: 65px; font-family: 'Lucida Sans Unicode'; float: right; clear: right; border: solid 0px #f0f; color:#999999; font-weight: normal; text-align: left;}

#bottomdivider
{
	background-color: #FFDE00;
	width: 100%;
	height: 14px;
}

#bannercontainer{
	border: solid 0px #f00;
	width: 100%;
	min-width: 991px;
	margin-bottom: 15px;	
	
}

#banner{
	width: 100%;
	height: 690px;
	background-color: transparent;
	min-width: 650px;
	margin: auto;
	/*background-image:url('../img/banner.jpg');*/
	background-position: top center;
	background-repeat: no-repeat;
}

#bannersmall{
	width: 770px;
	height: 125px;
	background-color: #999999;
	
	margin: auto;
}


#contactinfo{border: 0px solid #f00; width: 45%; height: 500px; float: left; padding-top: 40px; margin-top: 40px;}
#contactinfo p{padding:0px; margin:0px; padding-left: 150px;}
#contactform{border: 0px solid #0f0; width: 45%; height: 500px; float: left; padding: 20px; padding-right: 50px; padding-left: 50px; border-left: 2px gray solid; margin-top: 40px;}

.galleryitem
{
	border: solid 2px #f1f1f1;
	background-color: #f1f1f1;
	width: 215px;
	height: 270px;
	padding-left: 0px;
	padding-top: 0px;
	float: left;
	margin-left: 63px;
	margin-top: 60px;
	margin-bottom: 30px;
	border-radius: 0px;
	-webkit-transition: all .2s ease-in-out;
       -o-transition: all .2s ease-in-out;
          transition: all .2s ease-in-out;
}

.galleryitem:hover{border: solid 2px #CCCCCC; }
.galleryitem:focus{outline: 0;}
.galleryitem img{width: 210px; height: 265px; border-radius: 8px;outline: 0;}
.galleryitem img:focus{outline: 0;}
.colorbar{border: 0px solid #f00; width: 100%; height: 20px; margin-top: 15px;}
.textbar{border: 0px solid #f00; width: 100%; height: 20px; font-size: 10px; font-weight: bold;}
.textbaronly{border: 0px solid #f00; width: 100%; height: 20px; margin-top: 10px; font-size: 10px; font-weight: bold;}
.colors{background-color: #f00; width: 20px; height: 19px; float: left; margin-left: 1px;}
.colorhidden{display: none;}



.panelscontainer{
	border: solid 0px #000;
	width: 100%;
	height: 225px;
}

.panelsarea{
	border: solid 0px #000;
	width: 100%;
	height: 225px;
	margin: auto;
	background-color: transparent;
	min-width: 991px;
}

.panels{
	border: solid 0px #000;
	width: 300px;
	height: 225px;
	margin: auto;
	background-color: transparent;
	float: left;
	margin-left: 0px;
	/*background-image: url('http://placehold.it/300x225');*/
	cursor: pointer;
	padding-left: 10px; 
}

.panela
{
	width: calc(50% - 170px);
}

.panelc{
	float: right;
	width: calc(50% - 150px);
	background-color: transparent;
	background-image: url('../img/bottomright.png');
	background-repeat:no-repeat;
	}

.footercontainer{
	border: solid 0px #000;
	width: 100%;
	min-width: 991px;
	height: 225px;
	background-color: #00438a;
}

.footerarea{
	border: solid 0px #000;
	width: 991px;
	height: 225px;
	margin: auto;
}

.footeritem{
	border: solid 0px #000;
	width: 315px;
	height: 200px;
	margin: auto;
	margin-top: 10px;
	background-color: #00438a;
	float: left;
	margin-left: 15px;
	color: #fff;
	padding-left: 10px;
}

.footeritem p{margin: 0em; font-size: 14px;}

.footeritem a:link{
color: #fff;
text-decoration: none;
}

.footeritem a:visited{
color: #fff;
}

.footeritem a:hover{
color: #00FFFF;
text-decoration: underline;
}

.divider{
	border-left: ridge 2px #003681;
}

.rightalign p{
	text-align: right;
	margin
}

.productlist{
	border: solid 0px #f00;
	width: auto;
	height: auto;
	float: left;
}

.productpadding{
	padding-left: 17px;
}

.footeritem > .producttitle{
	font-size: 18px;
}

.productlist > .producttitle{
	font-size: 18px;
}






/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
