﻿body
{
    background-image: url('../Images/mainBack.jpg');
    font-family: Verdana,Arial,Helvetica,Sans-Serif;
    font-size: 10px;
    margin: 0;
    background-color: #bfbfcc;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: top;
    color:#000;
}

body.fullHeight {
    background-image: url('../Images/mainBackFH.jpg');
}

body.noBack {
    background-image: none;
    background-color: #ffffff;
}

.centered 
{
    margin: 0 auto; 
    text-align: left;
}

img
{
    border: none;
}

a
{
    color: #000;
    text-decoration: underline;
}

a:hover
{
    color: #ed6932;
}

h1
{
    font-size: 2em;
    margin-top: 0;
    background-color: #fff;
    color: #767676;
}

h2
{
    font-size: 1.8em;
    color: #767676;
    font-weight:bold;
}

h3
{
    font-size: 1.5em;
    color: #767676;
}

h4
{
    margin-top: 0;
    font-size: 1.1em;
}

h5
{
    font-size: 1.1em;
}

p
{
    font-size: 1.2em;
    line-height: 1.4em;
}

ul
{
    margin: 0;
    padding: 0;
    font-size: 1.2em;
    list-style-type: none;
}

ol
{
    margin: 0 0 0 18px;
    padding: 0;
    font-size: 1.2em;
}

ul li,
ol li
{
    padding-bottom: 8px;
}

/* Input */

input[type="submit"]
{
    font-family: Verdana,Arial,Helvetica,Sans-Serif;
    border: None;
    height: 28px;
    background-color: #272425;
    padding: 0 12px 0 12px;
    color: #FFFFFF;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    box-shadow: 2px 2px 5px #444444;
}

input[type="text"],
input[type="password"]
{
    font-family: Verdana,Arial,Helvetica,Sans-Serif;
    border: solid 1px #A6A6A6;
    outline: 0 none;
    height: 20px;
    padding: 0 2px 0 2px;
}

input[type="checkbox"] {
    margin-left: 0;
}

/* Banner */

#banner
{
    background-color: transparent;
    height: 50px;
}

/* Forms */

.formLabel {
    display: inline-block;
    font-size: 1.2em;
    line-height: 1em;
}

.formControl {
    display: inline-block;
}

.formUL ul {
    margin: 0;
    font-size: 1em;
    list-style-type: none;
}

/* Menus */

#topMenu {
    font-size: 1.1em;
    background-color: #bfbfcc;
    padding: 0px 10px 0px 34px;
    width: 1500px;
    margin: auto;
    text-align: center;
}

#topMenu ul
{
	margin: 0;
	padding: 0 10px 0 20px;
    font-size: 1em;	
}

#topMenu li
{ 
	display: inline;
	padding-right: 30px;
    white-space: nowrap;
}

#topMenu li.end
{ 
	padding-right: 0;
}

#topMenu a
{
    display: inline-block;
    padding-bottom: 8px;
    text-decoration: none;
    color: #000;
}

#topMenu a.selected
{
    border-bottom: 4px solid #ed6932;
    padding-bottom: 4px;
}

#topMenu a:hover
{
    text-decoration: none;
    border-bottom: solid 4px #ed6932;
    display:inline-block;
    padding-bottom: 4px;
}

#footerMenu {
    clear: both;
    color: #fff;
    text-align: center;
    height: 36px;
    padding-top: 15px;
    width: 950px;
    margin:auto;
}

#footerMenu .logo
{
    float: left;
    padding-right: 2px;
}

#footerMenu .menu
{
    padding-top: 6px;
}

#footerMenu ul
{
	margin: 0;
	padding: 0;
    font-size: 1em;	
    height: 14px;
    overflow: hidden;
}

#footerMenu li
{ 
	display: inline;
	padding-right: 6px;
	padding-left: 2px;
    white-space: nowrap;
    border-right: 1px solid #fff;
}

#footerMenu li.end
{ 
	padding-right: 0;
	border-right: none;
}

#footerMenu a
{
    text-decoration: none;
    color: #ffffff;
}

#footerMenu a:hover
{
    text-decoration: underline;
    color: #ed6932;
}

/* Master page */

#outerFrame
{
    width: 960px;
    margin: 0 auto;
    background-color: transparent;
}

#outerFrameDynamic
{
    width: 100%;
}

#pageContentContainer {
    padding-top: 30px;
    height: 500px;
    width: 960px;
    margin: auto;
}

#pageContentContainerFullHeight
{
    padding-top: 30px;
    height: 580px;
}

#pageContentContainerDynamic
{
}

#pageContentContainer .contentBorder,
#pageContentContainerFullHeight .contentBorder,
#pageContentContainerDynamic .contentBorder
{
    padding: 14px;
    background-color: rgba(200,200,200,0.5);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* Home Page */

.homepageContent
{
    text-align: center;
    padding-top: 120px;
}

/* Current Auction */

.currentContent
{
    text-align: center;
    height: 430px;
    padding-top: 30px;
    background-color: #fff;
    font-size: 1.3em;
}

    .currentContent a
    {
        color: #ed6932;
    }

/* Help and Support */

.helpContent
{
    text-align: left;
    height: 460px;
    padding: 30px 30px 20px 30px;
    background-color: #fff;
    font-size: 1em;
    overflow: auto;
}

.helpContent .colLeft
{
    float: left;
    width: 400px;
}

.helpContent .colRight
{
    float: left;
    width: 400px;
    padding-left: 20px;
}

.helpContent table
{
    border-spacing: 0;
}

    .helpContent table td
    {
        padding: 0;
    }

/* Login Manager */

.loginContent
{
    font-size: 1em;
    padding-top: 160px;
}

    .loginContent .controlContainer {
        margin: 0 auto;
        height: 140px;
        width: 300px;
        padding: 20px 0 0 20px;
        color: white;
        background-color: #dc8252;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: 8px 8px 6px #444444;
    }
    
        .loginContent .controlContainer a
        {
            color: #ffffff;
        }

        .loginContent .controlContainer a:hover
        {
            color: #000;
        }

.loginVerifyContent
{
    text-align: left;
    height: 420px;
    padding: 20px 30px 0 30px;
    background-color: #fff;
    font-size: 1em;
    overflow: auto;
}


    .loginVerifyContent .buttonBar
    {
        height: 50px;
        padding-top: 10px;
    }

/* Misc */

.itemTitle {
    color: #f28e31;
    font-weight: bold;
    height: 16px;
}

.ok
{
    color: Green;
    font-weight: bold;
}

.err
{
    color: Red;
    font-weight: bold;
}

.blue
{
    color: #2b88c9;
}

.center
{
    text-align: center;
}

.justify
{
    text-align: justify;
}

.left
{
    text-align: left;
}

.right
{
    text-align: right;
}

.center-justify
{
    text-align: justify;
    -moz-text-align-last: center;
    text-align-last: center;
}

.highlightColour
{
    color: #f28e31;
}

.headColour
{
    color: #003261;
}

.floatLeft
{
    float: left;
}

.floatRight
{
    float: right;
}

.top
{
    vertical-align: top;
}

.clear
{
    clear: both;
}

.width90
{
    width: 90px;
}

.width150
{
    width: 150px;
}

.width500
{
    width: 500px;
}

.height100
{
    height: 100px;
}

.marginTopNone
{
    margin-top: 0;
}

.marginTop40
{
    margin-top: 40px;
}

.marginTop50
{
    margin-top: 50px;
}

.padding20
{
    padding: 20px;
}

.paddingTop10
{
    padding-top: 10px;
}

.paddingBot10
{
    padding-bottom: 10px;
}

.paddingRight10
{
    padding-right: 10px;
}

.paddingRight54
{
    padding-right: 54px;
}


/* Mobile-specific adjustments */
@media (max-width: 768px) {
    /* Ensure body and content take up full width */
    body, html {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

    /* Adjust top menu */
    #topMenu {
        width: 100%; /* Ensure top menu takes the full width */
        padding: 0;
        text-align: center; /* Center menu items */
    }

        #topMenu ul {
            display: flex;
            flex-wrap: wrap; /* Allow menu items to wrap */
            justify-content: space-around; /* Spread items evenly */
            padding: 0;
            margin: 0;
        }

        #topMenu li {
            flex: 1 1 auto; /* Let each item adjust its width */
            padding: 10px 0; /* Add spacing between items */
            box-sizing: border-box;
            text-align: center;
        }

        #topMenu a {
            display: block;
            font-size: 12px; /* Adjust font size for better readability on mobile */
            padding: 10px 15px;
            text-decoration: none;
        }

    /* Adjust container width for mobile */
    #pageContentContainer, #outerFrame {
        width: 100%; /* Ensure the main container fits the screen */
        margin: 0;
        padding: 0;
    }

    /* Make images, videos, and iframes responsive */
    img, video, iframe {
        max-width: 100%; /* Make media responsive */
        height: auto;
    }

    /* Banner responsiveness */
    #banner {
        width: 100%;
        height: auto;
    }

    /* Prevent content from overflowing */
    body {
        overflow-x: hidden;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    #topMenu {
        width: 100%;
        padding: 0;
        text-align: center;
    }

        #topMenu ul {
            display: flex;
            justify-content: space-between; /* Spread items across the width */
        }

        #topMenu li {
            padding: 10px;
        }

    #pageContentContainer, #outerFrame {
        width: 100%;
        padding: 0 15px;
    }
}
