@charset "utf-8";

@keyframes autoplay
{
    0% {visibility: visible; opacity: 0; height: auto;}
    5% {visibility: visible; opacity: 1; height: auto;}
    45% {visibility: visible; opacity: 1; height: auto;}
    50% {visibility: hidden; opacity: 0; height: 0px;}
}

*
{
    margin: 0;
    padding: 0;
	border: none;
}

html, body
{
    width: 100%;
    height: 100%;
}

	body
	{
		font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
		color: #000000;
		background-image: url("../images/bodyBG.png");
		background-repeat: repeat-x;
	}
        
        span.grey
        {
            color: #909090;
        }

        span.orange
        {
            color: #FF9900;
        }

        span.small
        {
            font-size: 12px;
        }

        p.left
        {
            text-align: left;
        }

        p.right
        {
            text-align: right;
        }

        .padding-top-50
        {
            padding-top: 90px;
        }

        h1
        {
            padding: 40px 0 40px 0;
        }

        h3
        {
            padding: 0 0 20px 0;
        }

        h4
        {
            text-align: right;
            font-weight: lighter;
            padding-top: 10px;
        }

        div.container
        {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-items: stretch;
            align-items: center;
        }

            header, footer
            {
                flex-shrink: 0;
            }

            header
            {
                width: 80%;
                height: 266px;
                background-image: url("../images/headerBGRight.png"), url("../images/headerBGFlex.png");
                background-repeat: no-repeat;
                background-position: top 10px right, top center;
                display: flex;
                flex-direction: column;
                justify-content: space-around;
            }

                div.logo
                {
                    height: 117px;
                    width: 351px;
                    margin-top: 20px;
                }

            nav
            {
                width: 600px;
                height: 50px;
                font-size: 18px;
                display: flex;
                flex-direction: row;
                justify-content: space-around;
                margin-top: 40px;
            }

                div.menuItem
                {
                    width: auto;
                    height: 40px;
                    background: #252525;
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                }

                div.menuItemSelected
                {
                    width: auto;
                    height: 40px;
                    padding-left: 11px;
                    padding-right: 12px;
                    background: #FFFFFF;
                    color: #252525;
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                }

                    div.menuItem:hover
                    {
                        background: #FFFFFF;
                        color: #252525;
                    }
                    
                    div.menuItem a
                    {
                        display: block;
                        width: auto;
                        height: 40px;
                        padding-left: 11px;
                        padding-right: 12px;
                        text-decoration: none;
                        line-height: 40px;
                        color: #FFFFFF;
                    }

                        div.menuItem a:hover
                        {
                            color: #252525;
                        }

            main
            {
                width: 80%;
                height: 100%;
                flex-shrink: 1;
                padding-bottom: 50px;
            }

                main div.slides
                {
                    min-height: 500px;
                    display: flex;
                    flex-direction: row;
                    justify-content: center;
                }

                    main div.slides img
                    {
                        visibility: hidden;
                        height: 0px;
                        animation: 16s autoplay infinite;
                    }

                    main div.slides img.one
                    {
                        animation-delay: 0s;
                    }
                    
                    main div.slides img.two
                    {
                        animation-delay: 8s;
                    }

                main a
                {
                    color: #FF9900;
                    text-decoration: none;
                }

                    main a:hover
                    {
                        text-decoration: underline;
                    }

                main div.row
                {
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    align-content: center;
                    padding-bottom: 15px;
                }

                    main div.row div
                    {
                        width: 33%;
                    }

                main div.contact
                {
                    margin: 0 auto;
                    text-align: center;
                }

                    main div.contact p
                    {
                        padding-top: 40px;
                    }

            footer
            {
                width: 100%;
                height: 70px;
                color: #808080;
                background: #DEDEDE;
                border-top: 1px solid #CECECE;
                font-size: 12px;
                display: flex;
                flex-direction: row;
                justify-content: center;
                justify-items: center;
                align-items: center;
            }