﻿/* CSS styles for master page */
/* These classes set the style for the whole site */

/* Workspace */
body #s4-workspace 
{ 
    overflow-x:visible; 
    overflow-y:visible; 
}

/* Containers */ 
#s4-ribbonrow {
	min-height: 0 !important;
	height: auto !important;
}
#headerbanner, #footerbanner
{
    min-width:996px;
}
#footer, #headercontainer, #pagecontainer
{
	margin:0 auto;
	width:996px;
}

#footerbanner, #headerbanner, #header, #mainnavigation
{
	width:100%;
}


/* Top Navigation */
#mainnavigation
{
    /*  fallback */
    background-color:#153348;
    /* for mozilla/gecko firefox*/
    background: -moz-linear-gradient(top, #153348, #173348);
    /* for webKit safari, google chrome */
    background: -webkit-gradient(linear, left top, left bottom, from(#153348), to(#173348));   
    /* for opera */
    background-image: -o-linear-gradient(#153348,#173348);
    border-top:1px solid #f7fbff;
    /* for IE */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#153348, endColorstr=#173348)";
}

#mainnavigation, .topLevelMenu
{
	height:40px;
	line-height:40px;
}
.topLevelMenu, .topLevelMenu > li
{
    float:left;
    margin:0;
    padding:0;
    position:relative;
    /*z-index:50; */
}


.topLevelMenu > li, .topLevelMenu > li#mayorandcouncil
{
    text-align:center;
    width:124px;
}
.topLevelMenu > li#mayorandcouncil
{
    background:rgba(25, 47, 58, 0.7); /* #192f3a */
    width: 251px; 
}
.topLevelMenu > li > a
{
    display:block;
    border-left:1px solid #3F94B9;
    color:#fff;
    font-size:14px;
	height:40px;
	line-height:40px;
    text-decoration:none;
    white-space:nowrap;
}
.topLevelMenu li:hover { cursor:pointer; }

.topLevelMenu > li:hover > a 
{ 
    background-color:#fff;
    border:1px solid #c6cfde;
    border-bottom:none;
    border-radius:9px 9px 0 0;
    color:#333;
    height:39px;
    line-height:38px;
    text-decoration:underline;
    width:122px;
}

.topLevelMenu li#mayorandcouncil:hover > a
{
    width: 251px; 
}

/** Mega menus **/
.secondLevelMenu
{
    background-color:#fff;
    border:2px solid #c6cfde;
    border-top:none;
    border-radius:0 0 15px 15px;
    display:none;
    left:-1px;
    padding-top:6px;
    position:relative;
    top:0;
    z-index:500;
}
.secondLevelMenu > ul { margin:0 0 15px 0; }
:root .secondLevelMenu li { padding:2px 0; } /* for IE 9 */
.secondLevelMenu > ul > li
{
    display:block;
    line-height:18px;
    text-align:left;
}
.secondLevelMenu > ul > li > a
{
    color:#16293a; 
    display:inline-block;
    font-size:12px;
    margin-left:15px;
    padding-left:15px;
    text-decoration:none;
    text-indent:-15px;
}
.secondLevelMenu > ul > li:hover
{
     background-color:#d0e6ef; 
}
.secondLevelMenu > ul > li > a:hover
{
    text-decoration:underline;
}
.secondLevelMenu .leftList 
{
    border-right:1px solid #c6cfde;
}
.secondLevelMenu > .rightList
{
    position:absolute;
    top:6px;
}

/*
#policehome .secondLevelMenu { width:400px; }
#policehome .secondLevelMenu > .leftList { width:180px; }
#policehome .secondLevelMenu > .rightList
{ 
    left:180px;
    padding-bottom:5px;
    width:220px; 
}
#forresidents .secondLevelMenu { width:460px; }
#forresidents .secondLevelMenu > .leftList { width:260px; }
#forresidents .secondLevelMenu > .rightList
{ 
    left:260px;
    width:200px; 
}
#forbusiness .secondLevelMenu { width:460px; }
#forbusiness .secondLevelMenu > .leftList { width:200px; }
#forbusiness .secondLevelMenu > .rightList
{ 
    left:200px;
    width:260px; 
}
#visitingwindsor .secondLevelMenu { width:230px; }
#e-services .secondLevelMenu { width:340px; }
#e-services .secondLevelMenu > .leftList { width:170px; }
#e-services .secondLevelMenu > .rightList 
{ 
    left:170px;
    width:170px; 
}
#mayorandcouncil .secondLevelMenu li { text-align:center; }
#mayorandcouncil .secondLevelMenu li a { margin-left:0; }
*/



/* Welcome control */
.ms-welcomeMenu
{
    border:none;
    margin:0;
    padding:0 0 0 10px;
}

.ms-welcomeMenu.ms-SpLinkButtonActive
{
    background:none;
}

#welcomecontainer
{
	background-color:#467590;
	display:inline-block;
	float:right;
	font-size:10px;
	height:40px;
	line-height:3;
	width:248px;

    display:none;
}

#welcomecontainer .ms-menu-a
{
    font-family:arial, sans-serif;
    font-size:10pt;
    line-height:3;
}

.ccw-help
{
    float:right;
    margin-right:15px;
}
.ccw-help a
{
    color:#fff;
    font-size:12px;
    font-weight:bold;
    line-height:3.4;
}


/* Header */
#headerbanner
{
	height:123px;
	background-color:#eff3f4;
}

#headerHomeLink
{
	height:82px;
	position:absolute;
	width:350px;
}

#banner_overlay
{
    background-color:#192f3a;
    filter:alpha(opacity=70);
    float:right;
    height:82px;
    opacity:0.7;
    width:251px;
    zoom:1;
}

#switchview
{
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 30;    
}

#switchview a
{
    color: #FFFFFF;
    margin-right: 10px;
 }

#switchview a#HighContrastSite {
    font-weight:bold;
}

#switchview a:hover
{
    text-decoration:underline;
}

#searchbox_overlay
{
	background-color:#fff;
    border:1px solid #e7e3e7;
    border-radius:15px 0 0 15px;
    border-right:none;
    height:28px;
	left:764px;
	position:absolute;
	top:40px;   /*26px;*/
	width:15px;
	z-index:50;	
}

#search
{
	left:773px;
	position:absolute;
	top:36px;   /*22px;*/
	z-index:30;	
}

#search .s4-search input.ms-sbplain
{
    background-image:none;
	border:none;
	font-size:12px;
	height:26px;
	margin-left:4px;
	width:154px !important;
}

/* the following definitions are used to customize the search icon*/
td.ms-sbgo
{
	background-color:transparent;
	padding:0;
	border:solid 0px #fff;
}
td.ms-sbgo a
{
    display:block;
    height:41px;
    margin:0 !important;
    margin-top:-3px !important;
    padding:0 !important;
	width:44px;
}
td.ms-sbgo a:link
{
	background-image: url(/_layouts/images/ccw.sharepoint/search.png) ;
	background-repeat: no-repeat;
	background-position: top left;
}
td.ms-sbgo a:hover
{
	background-image: url(/_layouts/images/ccw.sharepoint/search_over.png) ;
	background-repeat: no-repeat;
	background-position: top left;
}
td.ms-sbgo a img
{
    display:none;
}    
/* end customize the search icon*/

/* Bread crumbs */
.breadcrumbtrail
{
    border:1px solid #e7ebef;
    display:block;
    margin:6px 0 5px 0;
    padding:4px 10px;
    vertical-align:middle;
}
.breadcrumbtrail { font-size:14px; }
.breadcrumbtrail a { text-decoration:none; }
.breadcrumbtrail a:hover { text-decoration:underline; }

/* Footer */
#footerbanner
{
	background-color:#17293a;
	
	color:#fff;
	font-size:10pt;
	height: 40px;
	line-height:3;
}

.footertext, #localweather
{
	float:left;
}

.footertext, #localweather a, .footerlinks
{
	color:#fff;
}

.pagefooter
{
	float:right;
}

.pagefooter span
{
    cursor:pointer;    
}

.pagefooter span:hover, .pagefooter span:active, #localweather a:hover
{
    text-decoration:underline;
}


/* Footer web part classes are placed here to keep them with the rest of the master page definitions */

/* Local weather web part */

#localweather
{
	margin-left:40px;
}

#weatherwidget img
{
	vertical-align:middle;
	width:28px;
	cursor:pointer;
}

#tempC 
{ 
    margin-left:10px; 
}

*:-o-prefocus, .weatherwidget .image { margin-top:0; } /* opera hack to move image into place */

html.ms-dialog body.ccw div#s4-bodyContainer 
{ 
    width:auto; 
    border: none; 
}

html.ms-dialog body.ccw div#s4-bodyContainer div#pagecontainer 
{
    padding:20px;
    width:auto; 
}

.ms-dlgContent
{
    position:fixed !important;
}

#header
{
	background-color:#26445C;
	height:82px;
	position:relative;
}

.inline-block
{
    display: inline-block;
    margin-right: 1px;  /*only for IE8: avoid list items overwritting each other*/
    *display: inline;   /*only for IE7 */
    *zoom: 1;  /*only for IE7:  trigger hasLayout property of an inline element, making its width, height, margin and padding available*/
}
