/*==========================*/
/*  1. Page                 */
/*==========================*/

body, html													{}
body														{margin: 0; padding:0; position: relative; background:#FFF;}
body #Form													{margin: 0; padding:0; height:100%;}
.clear 														{clear:both;}

/*==========================*/
/*  2. Elements             */
/*==========================*/

.ControlPanel  												{border: 0px;border-bottom:1px solid #ccc;}
.dnnActionMenu  											{right:10px; left:auto; width:95px;}

#WrapMain 													{min-height:100%;position:relative;background:#fff;}
#WrapSub 													{margin:0 auto;width:970px;border-left:2px solid #E3E3E3;border-right:2px solid #E3E3E3;}
#Logo														{padding:0;}
#Logo a														{border:none;}
#Logo a:hover												{border:none;}
#Logo .mlogo												{display:none;}
#Header														{width:100%; padding:0; margin:0;}
#Menu 														{width:100%; padding:0; margin:0;}
#AdminMenu 													{width:70%;float:left;}
#BreadLogin 												{padding:0; margin:0; height:34px;}
#Bread 														{float:left; line-height:34px; color:#000000;}
#Login														{float:right; line-height:34px; padding-right:18px;}
#Panes 														{clear:both; margin:0; background:#FFF;}
#Footer														{border:1px solid #E3E3E3;border-top:0;}
#BreadLogin 												{font-size:14px;padding-top:12px;padding-left:5px;}

/*========================================================*/
/*  3. Content Panes                                      */
/*========================================================*/

.pane 														{display:inline;float:left;text-align:left;vertical-align:top; }
.ContentPane 												{width:100%;}
.LeftPane 													{width:25%;}
.CenterPane 												{width:75%;}
.RightPane 													{width:25%;}
.BottomPane 												{width:100%;}
.DNNEmptyPane												{width:0;padding:0;margin:0;}

/*========================================================*/
/*  4. Text                                               */
/*========================================================*/

/* Links */
#Panes a:not(.dnnPrimaryAction):not(.dnnSecondaryAction):not(.ui-tabs-anchor):not(.rgCurrentPage)	{text-decoration:underline;}

#Panes a:not(.dnnPrimaryAction):not(.dnnSecondaryAction):not(.ui-tabs-anchor):not(.rgCurrentPage){
	color: #0043af!important;
}

#Panes a:Hover:not(.dnnPrimaryAction):not(.dnnSecondaryAction):not(.ui-tabs-anchor):not(.rgCurrentPage){
	color: #2179CA!important;
}

#Panes a:visited:not(.dnnPrimaryAction):not(.dnnSecondaryAction):not(.ui-tabs-anchor):not(.rgCurrentPage){
	color: #86276e!important;
}

.dnnSecondaryAction, .dnnSecondaryAction


/* Set Default text color and font family */
#Panes th,
#Panes td,
#Panes table,
#Panes div,
#Panes p,
#Panes h1,
#Panes h2,
#Panes h3,
#Panes h4,
#Panes h5,
#Panes h6,
#Panes span,
#Panes .Normal,
#Panes .NormalDisabled,
#Panes .Head,
#Panes .SubHead,
#Panes .SubSubHead, 
#Panes .CommandButton 										{color:#1a191a;font-family:"Open Sans", sans-serif;}

/* Set Default font size and font weight */
#Panes th,
#Panes td,
#Panes table,
#Panes div,
#Panes p,
#Panes .Normal,
#Panes .NormalDisabled,
#Panes .Head,
#Panes .SubHead,
#Panes .SubSubHead, 
#Panes a:link, 
#Panes a:visited, 
#Panes a:hover,
a.PE_ViewPeople_HealLink,
a.CMIS_Grid_AddButton										{font-size:16px;font-weight:normal;}

/* Set Default font size (without font weight) */
body,
#Panes span 												{font-size:16px;}

/* Set Default font family */
.Head, 
.SubHead, 
.SubSubHead, 
.Normal, 
.NormalDisabled, 
.NormalDisabled, 
.NormalBold, 
.NormalRed, 
.NormalTextBox,
#Menu a, 
#BreadLogin   												{font-family:"Open Sans", sans-serif;}

/*========================================================*/
/*  5. Mobile Resizing	                               	  */
/*========================================================*/

.site-content 												{width:73%;float:right;}
.page-sidebars 												{width:25%;float:left;}

@media screen and (min-width: 600px) {
.site-content 												{width:73%;float:right;}
.page-sidebars 												{width:25%;float:left;}
}
@media screen and (max-width: 600px) {
.site-content 												{width:100%;float:none;}
.page-sidebars 												{width:100%;float:none;}
}

/*========================================================*/
/*  6. Buttons                                       	  */
/*========================================================*/

/* DNN Primary Action Buttons */
.dnnFormItem input[type="submit"], 
.dnnPrimaryAction, 
.dnnSecondaryAction,
a.dnnPrimaryAction,
a.dnnSecondaryAction,
.RadForm_Silk.RadForm.rfdButton a.rfdSkinnedButton			{background:none!important;border-style:none!important;border-radius:0px!important;text-shadow:none!important;
															border-bottom:none!important;}

.RadGrid_Default .rgPager .rgPagerButton 					{background:none!important;}

.RadForm_Default.rfdButton a.rfdSkinnedButton, 
.RadForm_Default.rfdButton input[type="button"].rfdDecorated, 
.RadForm_Default.rfdButton input[type="reset"].rfdDecorated, 
.RadForm_Default.rfdButton input[type="submit"].rfdDecorated, 
.RadForm_Default.rfdButton .rfdSkinnedButton button, 
.RadForm_Default a.rfdSkinnedButton, 
.RadForm_Default .rfdSkinnedButton button, 
.RadForm_Default .rfdSkinnedButton input.rfdDecorated, 
.RadForm_Default.rfdButton a.rfdSkinnedButton, 
.RadForm_Default.rfdButton a.rfdSkinnedButton * 			{background-image:none!important;}

/* DNN Form Item Buttons */
.dnnFormItem button, 
.dnnFormItem input[type="button"], 
.dnnFormItem input[type="reset"], 
.dnnSecondaryAction, 
a.dnnSecondaryAction, 
ul.dnnAdminTabNav li a, 
.dnnLogin .LoginTabGroup span 								{background:none!important;text-shadow:none!important;font-weight:normal!important;}

/* Remove shading on primary buttons */
.dnnPrimaryAction, 
.dnnFormItem input[type="submit"], 
a.dnnPrimaryAction											{box-shadow:0px 1px 0px 0px #999999, inset 0px 1px 0px 0px #999999;
															-webkit-box-shadow:0px 1px 0px 0px #999999, inset 0px 1px 0px 0px #FFFFFF;}

/* Reduce Margin from login buttons */
#loginReg {margin-top:0px!important;}
#dnn_ctr_Login_DNN > div > div:nth-child(5) > div > ul 		{padding-top:5px!important;}

/* -------------------------------------------------------------------------------- */
/*                      Style buttons CMIS/DNN/Telerik Buttons                                 
    The following section can be used to re-style all of the CMIS/DNN/Telerik buttons. 
    None of the buttons used in CMIS are of a consistent type which is why so many 
    different classes have to be modified. To re-use the CSS below you just have to 
	replace the following colour codes with the ones that you want:
					#9f126a - Primary Button background color
					#6d6d6d - Secondary Button background color
					#323030 - Hover background color
					#FFFFFF    - Button Text color									*/
/* -------------------------------------------------------------------------------- */	

/* Primary Button Background Colour */
.dnnFormItem button, 
.dnnPrimaryAction,
.dnnSecondaryAction,  
.dnnFormItem input[type="submit"], 
.dnnFormItem input[type="button"], 
.dnnFormItem input[type="reset"], 
a.dnnPrimaryAction,
a.dnnSecondaryAction, 
ul.dnnAdminTabNav li a, 
.dnnLogin .LoginTabGroup span,
input[type="submit"]:not(.rgCollapse):not(.rgSortDesc):not(.rgUngroup):not(.rgFilter):not(.rgAdd):not(.rgPagePrev):not(.rgPageFirst):not(.rgPageLast):not(.rgPageNext):not(.rgRefresh):not(.rgExpand),
input[type="button"]:not(.rgCollapse):not(.rgSortDesc):not(.rgUngroup):not(.rgFilter):not(.rgAdd):not(.rgPagePrev):not(.rgPageFirst):not(.rgPageLast):not(.rgPageNext):not(.rgRefresh):not(.rgExpand),
.RadForm_Silk.RadForm.rfdButton a.rfdSkinnedButton			{background-color:#00823b!important;}

/* Secondary Button Background Colour */
.dnnSecondaryAction,
a.dnnSecondaryAction										{background-color:#00823b!important;}

/* Button Hover Background Colour */
.dnnPrimaryAction:Hover, 
.dnnSecondaryAction:Hover, 
.dnnFormItem button:Hover, 
.dnnFormItem input[type="button"]:Hover, 
.dnnFormItem input[type="reset"]:Hover, 
.dnnFormItem input[type="submit"]:Hover, 
.RadForm_Silk.RadForm.rfdButton a.rfdSkinnedButton:hover,
a.dnnPrimaryAction:Hover,
a.dnnSecondaryAction:Hover,
ul.dnnAdminTabNav li a:Hover, 
.dnnLogin:Hover .LoginTabGroup span:Hover,
input[type="button"]:hover, 	
input[type="submit"]:not(.rgCollapse):not(.rgSortDesc):not(.rgUngroup):not(.rgFilter):not(.rgAdd):not(.rgPagePrev):not(.rgPageFirst):not(.rgPageLast):not(.rgPageNext):not(.rgRefresh):not(.rgExpand):Hover,
.RadForm_Silk.RadForm.rfdButton a.rfdSkinnedButton:Hover	{background-color:#00692f!important;}

/* Button Text Colour */
input[type="submit"],
input[type="button"],
.dnnFormItem input[type="submit"], 
.dnnPrimaryAction, 
.dnnSecondaryAction,
a.dnnPrimaryAction,
a.dnnSecondaryAction,
.RadForm_Silk.RadForm.rfdButton a.rfdSkinnedButton			{color:#ffffff!important;}

/* Input Submit Button styling */
input[type="submit"],
input[type="button"] 										{border-style:none!important;padding:8px;}

/* Exclude radgrids from the button hovers */
.RadGrid_Silk .rgFilter, 
.RadGrid_Silk .rgPageFirst, 
.RadGrid_Silk .rgPagePrev, 
.RadGrid_Silk .rgPageNext, 
.RadGrid_Silk .rgPageLast 									{background-color:#E6E6E6!important;}
.RadGrid .rgPager .rgPagerButton 							{color:#000!important;}

/* Telerik Buttons */	
.rfdSkinnedButton								   			{border-style:none!important;}
.rfdSkinnedButton input,
input[type="submit"],
input[type="button"] 						   				{font-size:16px!important;}

/* Remove Background color from add icons and accordian buttons */
.RadGrid_Silk .rgAdd, 
.RadGrid_Silk .rgAdd:Hover,
.rgCollapse,
.rgCollapse:Hover {background-color:transparent!important;}

/*========================================================*/
/*  7. Main Menu 				                          */
/*========================================================*/

#Menu a 													{font-size:16px; color:#03c;}
#Menu a:visited												{color:#9f126a!important;}

/* Hover, Selected */ 
#Menu .sf-menu a:focus 										{color:#000!important;text-decoration:underline!important;}
#Menu .sf-menu a:hover										{color:#147cac!important;text-decoration:underline!important;}
#Menu .sf-menu a:active 									{color:#147cac!important;text-decoration:underline!important;}

/**Main Menu**/
#Menu .sf-menu 												{margin-bottom:	1em;}
#Menu .sf-menu a 											{text-decoration:none;}
#Menu .sf-menu a											{color:#03c;}
#Menu .sf-menu a:visited  									{color:#8b2388;}
	
/* Current */
#Menu .sf-sub-indicator 									{display:none;}
#Menu .sf-menu .current a 									{color:#9f126a}
#Menu .sf-menu .current ul  								{padding-left:30px;}
#Menu .sf-menu .current ul li,				
#Menu .sf-menu .current ul .current ul						{Display:block!important;}
#Menu .sf-menu .current ul li ul 							{Display:none!important;}
#Menu .sf-menu .current li a,							
#Menu .sf-menu .current .current a, 				
#Menu .sf-menu .current .current .current a 				{color:#03c;}
#Menu .sf-menu .current .current li a, 			
#Menu .sf-menu .current .current .current li a 				{font-weight:normal;}

/* Hide Sub menus unless they are currently selected */
#Menu li li 												{Display:none;}
#Menu .sf-menu .current ul li 								{Display:block!important;}

/*========================================================*/
/*  8. Admin Menu 				                          */
/*========================================================*/

/**Admin Menu**/
#AdminMenu .sf-menu 										{margin-bottom:1em;}
#AdminMenu .sf-menu a 										{border-left:1px solid #fff;border-top:1px solid #fff;padding:.75em 1em;text-decoration:none;}
#AdminMenu .sf-menu a,
#AdminMenu .sf-menu a:visited								{color:#555;}
#AdminMenu .sf-menu li, 									
#AdminMenu .sf-menu li li,								
#AdminMenu .sf-menu li li li 								{background:#FFF;}
/* Hover, Selected */
#AdminMenu .sf-menu li:hover, 
#AdminMenu .sf-menu li.sfHover, 
#AdminMenu .sf-menu a:focus, 
#AdminMenu .sf-menu a:hover, 
#AdminMenu .sf-menu a:active 								{background:#FFF;color:#8CA321;outline:0;}
#AdminMenu .sf-menu li:hover ul,
#AdminMenu .sf-menu li.sfHover ul 							{z-index:100!important;}
/* Current */
#AdminMenu .sf-menu .current a 								{background:#FFF;color:#8CA321!important;outline:0;}
#AdminMenu .sf-menu .current li a							{color:#555!important;}
#AdminMenu .sf-menu .current .current a 					{color:#8CA321!important;}
#AdminMenu .sf-sub-indicator  								{display:none;}

/**Module Actions Menus**/
.ModuleTitle_SubMenu										{border:1px solid #C0D6E5;}
.ModuleTitle_SubMenu td										{background-color:#F8FAFF;white-space: nowrap;} 
.ModuleTitle_MenuIcon 										{background-color:#F8FAFF; border:none;padding:0px 2px;}
.ModuleTitle_MenuItemSel td, 
.ModuleTitle_MenuItemSel .ModuleTitle_MenuIcon				{color:#375162;background-color:#bad63a;}
.ModuleTitle_MenuBreak td, 
.ModuleTitle_MenuBreak .ModuleTitle_MenuIcon 				{height:2px;background-color:#D5E0FF;}

/*-------------------------------------------------------*/
/* GENERAL CMIS FIXES - Use these for all skins 
/*-------------------------------------------------------*/

	/*------------------------------------*/
	/* CMIS - Agenda Builder Module       */
	/*------------------------------------*/
	
	/* Agenda List - Remove any custom background color from agenda list input */
	.agenadList input 																	{background-color:transparent!important;}
	
	/* Preview Agenda - Increase dropdown height to conver all links */
	#AgendaMenu ul.megamenu li .MenuDropDown 											{min-height:160px!important;}

	/* Add/Edit popup - Fix sizing issues with agenda popup */
	.rgEditPopup																		{width:100%!important;}
	
	/* Sort the Agenda Builder popups which were previously all overlapping the border and looking very messy */
	#EditStandardItem_Table .RadEditor, 
	.EditBusinessItem .RadEditor,
	.CreateMinuteItems .RadEditor,
	.SelectMeetingDocuments .RadEditor			{width:99%!important;}
	.reResizeCell 								{Display:none!important;}
	.rgEditPopup 								{margin-top:0px!important;}
	#EditNewItemTable .RadEditor 				{width:100%!important;}
	.CreateMinuteItems .rgEditForm 				{top:60px!important;}

	/* Tidy Checkboxes on publish page */
	.CommentApprovePublish .Notifications .Public .dnnLabel {padding-right: 0px!important;margin-right:0px!important;width:95%!important;}	

	/*------------------------------------*/
	/* CMIS - Business Manager Module     */
	/*------------------------------------*/
	
	/* Business Item List - Tidy Reset Layout/Save Layout buttons */
	.rgCommandTable																		{width:45%!important;}
	
	/* Business Item List - Remove any border table */
	.RadGrid_Default .rgCommandTable 													{border-top:none!important;border-bottom:none!important;}

	/* Business Item Form - Make each question section 100% height so it contains all of its label */
	.EditBusinessItemWrapper div 														{height:100%!important;}

	/* Business Item Form - Make Details label width shorter so there is more space for the details box. */
	div[id*='EditCMIS_BusinessItem_pnlDetails_Details_Enabled'] .dnnLabel 			 	{width:4em!important;}
	div[id*='SubmitDecision_pnlDetails_Details_Enabled'] .dnnLabel 						{width:4em!important;}
	
	/* Business Item Form - Make Implementation date width larger to stop it going onto two lines */
	div[id*='EditCMIS_BusinessItem_pnlDetails_ImplementationDate_Enabled'] .dnnLabel 	{width:17em!important;}

	/* Business Item Form - Makes Notes field 100% width */
	div[id*='EditCMIS_BusinessItem_pnlDetails_ImplementationDate_Enabled'] textarea 	{width:100%!important;}
	div[id*='EditCMIS_BusinessItem_pnlDecision_ContraryToFramework_Enabled'] div 		{min-height:30px!important;}	
	
	/* Set min size on roles table columns */
	.RadGrid_Default .rgHeader, .RadGrid_Default .rgHeader a 							{min-width:90px!important;}
	
	/* Set font for labels */
	.ModCMISBusinessManagerC label {color:#333!important;font-size:16px!important;}

	/*------------------------------------*/
	/* CMIS - Committee Module            */
	/*------------------------------------*/

	/* Remove Italics from Committee description */
	.ViewCommitteeDetailsWrapper .Description .Value 									{font-style:normal!important;}
	
	/* Manage members page - increase width to 100% so that all elements fit nicely on page */
	.ModCMISCommitteeMembershipsC fieldset {width:100%!important;}
	
	/* Manage members page - increase height of party colours as they were previously overlapping */
	.PartyDetailsHolder div {min-height:28px!important;}
	
	/* Remove button styling from remove document button */
	.RadUpload_Silk .ruButton {color:#333!important;}
	.RadUpload_Silk .ruRemove {color:#333!important;background-color:#FFF!important;}
	.RadUpload_Silk .ruRemove:Hover {color:#333!important;background-color:#fff!important;}

	/* Tidy up the edit member form which was a complete mess */
	.ModCMISCommitteeMembershipsC .CM_CommitteeFormHolder .dnnLabel {width:auto!important;}
	.ModCMISCommitteeMembershipsC .CM_CommitteeFormHolder {float:left!important;}
	.ModCMISCommitteeMembershipsC .CommitteeFormLabel {width:235px!important;}

	/*------------------------------------*/
	/* CMIS - Decisions Module            */
	/*------------------------------------*/

	/* Add some padding to fit in the increased text box size */
	@media screen and (max-width: 629px) {
	.ModCMISDecisionsC .DC_FiltersContainer fieldset div:nth-child(5) 					{padding-bottom:80px!important;}
	}
	@media screen and (min-width: 630px) {
	.ModCMISDecisionsC .DC_FiltersContainer fieldset div:nth-child(5) 					{padding-bottom:50px!important;}
	}

	/* Remove dotted border from bottom of decisions table */
	.DC_Grid td, .DC_Grid tr 															{border-top:none!important;}

	/* Move the decision responses over to the right to stop overlapping */
	div.CMIS_ModuleWrapper .DC_ViewDecision_Response 									{padding-left:80px!important;}
	
	/* Set the popup calendar buttons to dark grey text */
	#rcMView_Today, #rcMView_OK, #rcMView_Cancel {color:#333!important;}

	/*------------------------------------*/
	/* CMIS - Forward Plans Module       */
	/*------------------------------------*/

	.ModEnlineCMISForwardPlansC > div > div.FilterContainer > div.response > div > label {padding-left:10px!important;}
	.ModEnlineCMISForwardPlansC .CreateNew label,
	.ModEnlineCMISForwardPlansC .EditExisting label {font-size:16px;font-weight:normal!important;}
	.ModEnlineCMISForwardPlansC .NotificationsPanel {padding-top:10px!important;}
	.ModEnlineCMISForwardPlansC .NotificationsPanel fieldset {width:100%!important;}

	/*------------------------------------*/
	/* CMIS - Login Page			      */
	/*------------------------------------*/

	/* Remove left padding from register and reset pssword so that it's all in line with login and cancel */
	#dnn_ctr_Login_DNN ul.dnnActions.dnnClear 											{padding-left:0px!important;}

	/*------------------------------------*/
	/* CMIS - Meetings Module Calendar    */
	/*------------------------------------*/

	/* Tidy Calendar - Silk */
	.RadScheduler .rsWrap 																{min-height:80px!important;}
	.RadScheduler .rsDateHeader 														{min-height:28px!important;}
	.rsAptContent, .rsAptIn, .rsAptMid, .rsAptOut, .rsApt 								{min-height:70px!important;}
	.RadScheduler_Silk .rsAptContent 													{background-image:none!important;background-color:#e6e6e6!important;}
	.RadScheduler_Silk .rsAptIn 														{border:1px solid #999999!important;}

	/*------------------------------------*/
	/* CMIS - Outside Body Module	      */
	/*------------------------------------*/

	/* Tidy the overlapping 'Outside Bodies Filters' at the top of the Outside Bodies list */
	.ViewCMIS_OutsideBodies .FiltersContainer .FormHolder 								{padding-top:20px;}
	.ViewCMIS_OutsideBodies .FiltersContainer legend									{margin-bottom:0px!important;}
	.ViewCMIS_OutsideBodies .FiltersContainer label 									{font-weight:normal!important;}
	.ViewCMIS_OutsideBodies .FiltersContainer input[type="text"] 						{min-width:120px!important;}

	@media screen and (max-width: 752px) {
	.ViewCMIS_OutsideBodies .FiltersContainer input[type="text"] 						{margin-top:16px!important;}
	.ViewCMIS_OutsideBodies .FiltersContainer fieldset > div:nth-child(4) 				{padding-top:40px!important;}
	}

	@media screen and (max-width: 552px) {
	.ViewCMIS_OutsideBodies .FiltersContainer input[type="text"] 						{margin-top:16px!important;}
	.ViewCMIS_OutsideBodies .FiltersContainer fieldset > div:nth-child(4) 				{padding-top:80px!important;}
	}
	
	/* Remove excessive font size and weight from the 'Show inactive appointees' checkbox */
	.AppointmentWrapper label {font-size:16px!important;font-weight:normal!important;}
	
	/* Make the outside body tabs look like the new telerik ones used on committees page */
	.RadTabStrip_Default .rtsLevel .rtsLink, .RadTabStrip_Default .rtsLevel .rtsOut {background-image:none!important;}
	.RadTabStrip .rtsLevel1 {background:linear-gradient(#CED2D6, #AFB3B7)!important;min-height:36px!important;}
	.ViewCMIS_OutsideBody .rtsUL, .ViewCMIS_OutsideBody .rtsFirst, .ViewCMIS_OutsideBody .rtsSelected, .ViewCMIS_OutsideBody .rtsOut, .ViewCMIS_OutsideBody .rtsIn, .ViewCMIS_OutsideBody .rtsTxt {height:36px!important;}
	.ViewCMIS_OutsideBody .rtsTxt {padding-top:5px!important;}
	.ViewCMIS_OutsideBody .rtsSelected {background-color:#757b7f!important;}
	.ViewCMIS_OutsideBody .rtsSelected .rtsTxt {color:#fff!important;}
	.AppointmentWrapper .CMIS_Grid_HeaderStyle {background:linear-gradient(#CED2D6, #AFB3B7)!important;}
	.CMIS_Grid_HeaderStyle, .CMIS_Grid_HeaderStyle a {background:transparent!important;}
	a.back_page {padding-left:9px!important;}
	.BackToWrapper {padding-top:0px!important;}

	/*------------------------------------*/
	/* CMIS - People Module               */
	/*------------------------------------*/

	/** Control the size of the image on the view person page **/
	.ViewPersonWrapper .PenPic .PenPicResize 											{width:100px;height:auto;}
	.ViewPersonWrapper .PenPic .PenPicResize											{width:auto;height:200px;}
	/** Change height if Ward names uses more than 2 lines **/
	/** Change width to match the page width and image size required **/
	.PE_People_PersonBlock 																{height:230px!important;width:160px!important;}
	
	/* Set max width of ekected dat filter to stop it overlapping interactive calendar button */
	div[id*='ViewCMIS_People_pnlFieldset'] .ElectedDate input 							{max-width:150px!important;}

	/** Control the size of the image on the view person page **/
	.ViewPersonWrapper .PenPic .PenPicResize 											{width:100px;height:auto;}
	.ViewPersonWrapper .PenPic .PenPicResize 											{width:auto;height:200px;}

	/** Change height/width if Ward names uses more than 2 lines **/
	.PE_People_PersonBlock 																{height:230px;width:160px;min-height:260px!important;}

	/* Set width of councillors page A-Z */
	.PE_ViewPeople_Letter,
	.PE_ViewPeople_DisabledLetter,
	.ViewBodies_Letter,
	.ViewBodies_DisabledLetter 															{width:11px!important;line-height:16px!important;min-width:10px!important;}
	
	
	
	/* Add some left padding to 'View Retired Member' button so that it is in line with the links below it */
	.ElectedMembersFilters .SearchButton a 												{padding-left:8px!important;}
	
	/* Turn Postcode error message red */
	div[id*='ViewCMIS_SearchWards_ValidationSummary1'] 									{color:#FF0000}
	div[id*='ViewCMIS_SearchWards_ValidationSummary1'] ul 								{list-style:none!important;}
	
	/* Stop the back to the top text overlapping the party logos */
	#backToTop 																			{margin-top:25px!important;}
	
	/* Make Councillor page more mobile friendly */
	@media screen and (max-width: 433px) {
	.ViewPersonWrapper .PenPic 															{float:none!important;margin:0 auto!important;}
	.ViewPersonWrapper .PenPic .PenPicResize 											{float:none!important;margin:0 auto!important;
																						 display:block!important;margin-left:auto!important;margin-right: auto;}
	.ViewPersonWrapper .GeneralTab .Value												{float:right!important;}	
	}
	

	/* Make Label Titles Bold to aid viewing on mobile device */
	.PersonDetails .DNNLabel span 															{font-weight:bold!important;}
	
	/* Tidy the Election record form which was previously very untidy */
	.ModCMISPeopleC div.formLabel {float:none!important;}

	/*------------------------------------*/
	/* CMIS - Petitions Module            */
	/*------------------------------------
	
	/* Change Petitions checkbox and radio buttons to black and white instead of the blue colour they are as default 
	.RadForm_Silk.RadForm.rfdCheckbox input[type="checkbox"], .RadForm_Silk.RadForm.rfdCheckbox input[type="checkbox"][disabled]:hover {background-image:url('../images/WebResource_Radio.png')!important;}
	.RadForm_Silk.RadForm.rfdRadio input[type="radio"], .RadForm_Silk.RadForm.rfdRadio input[type="radio"][disabled="disabled"]:hover {background-image:url('../images/WebResource_Check.png')!important;}*/
	
	/* Stop Petitions Search box going off the screen */
	@media screen and (max-width: 700px) {
	.SearchPetitions  input																{max-width:90%!important;}
	}
	
	/*------------------------------------*/
	/* CMIS - Search Module               */
	/*------------------------------------*/

	/* Set search inputs to 100% - makes the module alot more mobile friendly */
	.ModCMISSearchC input[type="text"]													{width:100%!important;}
	.ModCMISSearchC .SE_FormHolder div 													{padding-top:6px!important;}
	.ModCMISSearchC .SE_FormHolder select 												{width:100%!important;}

	/*------------------------------------*/
	/* CMIS - Top Admin Bar               */
	/*------------------------------------*/

	/* Set height of hover on top DNN control panel 
	#ControlNav > li > a,
	#ControlActionMenu > li > a,
	#ControlEditPageMenu > li > a {height:54px!important;}
	#ControlBar .subNav.advanced dl ul li {min-height:60px!important;}*/
	
	/* Ensure Stay in Admin labels are grey */
	#ControlEditPageMenu .dnnBoxLabel 													{color:#fff!important;}

	/*------------------------------------*/
	/* CMIS - Misc					      */
	/*------------------------------------*/

	/* Remove the background color from checkboxs */
	mark, .mark {background-color:transparent!important;}
	
	/* Hover help text color to white */
	.dnnHelpText 																		{color:#fff!important;}

	/* Remove background from radio buttons */
	div.dnnFormRadioButtons, 
	div.dnnHSRadioButtons, 
	span.dnnFormRadioButtons, 
	span.dnnHSRadioButtons, 
	table.dnnFormRadioButtons 															{background:none!important;}
 
	/* Remove padding from images */
	.console-large img 																	{padding:0px 0px 0px 0px!important;} 

	/* Remove background color from radgrid controls (expand, filter buttons etc.) */
	.RadGrid_Default input 																{background-color:transparent!important;}

	/* Make all radrids more mobile friendly by introducing a scroll bar when on a smaller screen */
	.RadGrid,.RadGrid_Default 															{overflow:auto!important;}
 
	/* Set Minimum height of dropdown boxes */
	.dnnDropDownList div, .dnnDropDownList div a 										{min-height:32px!important;}
 
	/* Fix height of buttons */
	.RadForm_Silk.RadForm.rfdButton a.rfdSkinnedButton 									{height:32px!important;} 

	/* Reduce dropdown z index to stop overlapping admin bar */
	.RadForm .rfdSelect 																{z-index:999!important;}
	
	/* Set min size on roles table columns */
	.RadGrid_Default .rgHeader, .RadGrid_Default .rgHeader a 							{min-width:90px!important;}
	
	/* Resize Calendar */
	.rsRow 																				{height:100%!important;}
	.rsWrap 																			{height:50px!important;padding-bottom:10px!important;}
	.MeetingCalendarPublic .rsMonthView .rsApt,
	.MeetingCalendarPublic .rsMonthView .rsAptOut,
	.MeetingCalendarPublic .rsMonthView .rsAptMid,
	.MeetingCalendarPublic .rsMonthView .rsAptIn,
	.MeetingCalendarPublic .rsMonthView .rsAptContent  									{height:45px!important;}

	/* Fix Drop down positions */
	.rcbSlide {position:absolute!important;}
	
	/* Set the color of the forward plans select year label */
	.ViewCMIS_ForwardPlans label {font-size:16px!important;color:#000!important;font-family:"Open Sans", sans-serif;} 	
	
	/* Set the tab text color to white */
	.ui-tabs-anchor {color:#fff!important;}
	
	/* Make selected tab text color white */
	.ModCMISOrganisationStructureC .rtsSelected .rtsTxt {color:#FFF!important;}
	
	/* Send Email Page - Increase the size of the 'Add an unlisted subscriber' dropdown which was previously only a few pixels wide */
	.CM_panelEmail .rpRootGroup {width:400px!important;margin-left:28px!important;}

	
	/*----------------------------*/
	/* DNN Control Bar Changes
	/*----------------------------*/

	/* Increase the height of the Control Bar hovers */
	#ControlNav > li > a, 
	#ControlBar_CustomMenuItems > li > a, 
	#ControlActionMenu > li > a, 
	#ControlEditPageMenu > li > a.controlBar_editPageInEditMode, 
	#ControlEditPageMenu > li > a {height:52px!important;}
	
	/* Decsrease the font size of the edit mode button so that it matches the rest of the admin buttons */
	.controlBar_editPageTxt {font-size:13px!important;}
	
	/* Increase the default min-height and width of the admin sub items so that you can read the options in full */
	.subNav.advanced dl ul li {min-width:138px!important;min-height:57px!important;}
	
	/* Set all the Control bar font sizes to the same */
	#ControlEditPageMenu label, #ControlBar_SiteSelector p {font-size:13px!important;}

	/*----------------------------*/
	/* DNN Ribbon Bar Changes
	/*----------------------------*/	

	/* Descrease the font size of the Ribbon Bar text so that it does not overlap below */
	#RibbonBar_ControlPanel a, #RibbonBar_ControlPanel span {font-size:13px!important;}

	/* Decrease the top margin around the mode dropdown so that it sits a little nicer */
	#dnnCPWrap .dnnCPHNav {margin-top:3px!important;}
	
	/* Increase the width of the Ribbon bar sub items container so that we get 3 items on each row */
	.dnnadminmega .megaborder {min-width:600px!important;}
	
	/* Increase the height of the Ribbon bar sub items container */
	.dnnadminmega li.leaf a img {margin-bottom:13px!important;}
	
	/* Change the Add new module label font sizes to match the rest of the toolbar */
	#RibbonBar_AddMod_UpdateAddModule label {font-size:13px!important;}
		
	/*------------------------------------*/
	/* CMIS - Setup H1, H2, Normal Text   */
	/*------------------------------------*/
	
	@media (max-width: 640px) 
	{
		/* H1 */
		.TitleHead,
		.MeetingsTab h2,
		.MembersTab h2 																		
		{font-size:28px!important;font-weight:700!important;color:#1a191a!important;font-family:"Open Sans", sans-serif!important;}
		
		/* H2 */
		.ViewCandidates legend,
		.ViewWards legend,
		.ElectionTitle h4,
		.PartyTitle h4,
		.WardTitle h4,
		.ROITitle h4,
		.ROIMeetingTitle h4,
		.CurrentCommitteesTitle h4,
		.PastCommitteesTitle h4,
		.CurrentOutsideBodiesTitle h4,
		.PastOutsideBodiesTitle h4,
		.DocumentsTab h2,
		.AttendanceTab h2,
		.VisitorsTab h2,
		.DOITab h2,
		.SummaryPanel legend,
		.MembershipFilter legend,
		.ElectedMembers h4,
		.MeetingsFilter legend,
		.ElectedMembersFilters legend,
		.ViewCMIS_OutsideBodies .FiltersContainer legend,
		.GeneralWrapper legend,
		.AppointmentWrapper legend,
		.DC_FiltersContainer legend,
		.CMIS,
		.EditBusinessItemWrapper legend,
		.BIE_GeneralDataArea h1,
		.OrganisationStructure,
		.PE_ViewPeople_ElectedRTetiredMembersHeading,
		.ModEnlineCMISPartiesC legend,
		.ModEnlineCMISVenuesC legend,
		.ModEnlineCMISWardsC legend,
		.ModCMISCommitteeMembershipsC h1,
		.ViewBodies_Category h2,
		.GeneralTab legend,
		.CompositionTab legend,
		.MembershipRolesTab legend,
		.pvSecurityTab legend,
		.pvPeopleTab legend,
		.PE_ViewPeople_MemberCategory,
		.borderPanel legend, 
		.Appointees h4, 
		.Officers h4,
		.TemplatesTab legend
		div[id*='dnn_ctr381_ViewCommitteeDetails_pnlClerkInformation'] legend
		{font-size:20px!important;font-weight:700!important;color:#1a191a!important;font-family:"Open Sans", sans-serif!important;}

		/* H3 */
		.AdditionalDocuments h4,
		.Attended legend,
		.Apology legend,
		.Absent legend,
		.EventHeading h4,
		.Filter legend
		{font-size:18px!important;font-weight:700!important;color:#1a191a!important;font-family:"Open Sans", sans-serif!important;}

		/* Normal */
		td,
		.ModCMISSearchC label:not(.dnnHelpText), 
		.ElectedDateLabel span:not(.dnnHelpText), 
		.AppointmentWrapper label:not(.dnnHelpText),
		.EventList label:not(.dnnHelpText),
		.EventHeading h4:not(.dnnHelpText),
		.DC_FiltersContainer label:not(.dnnHelpText),
		.SecurityRolesTab label:not(.dnnHelpText),
		.EditBusinessItemWrapper label:not(.dnnHelpText),
		 label:not(.dnnHelpText),
		.ErrorRed label:not(.dnnHelpText),
		.RadForm.rfdHeading h4:not(.dnnHelpText):not(.ElectionTitle h4):not(.PartyTitle h4):not(.WardTitle h4):not(.ROITitle h4):not(.ROIMeetingTitle h4):not(.CurrentCommitteesTitle h4):not(.PastCommitteesTitle h4):not(.CurrentOutsideBodiesTitle h4):not(.PastOutsideBodiesTitle h4):not(.ElectedMembers h4), 
		.RadForm.rfdHeading h5:not(.dnnHelpText), 
		.RadForm.rfdHeading h6:not(.dnnHelpText),
		.ViewCMIS_ForwardPlans label:not(.dnnHelpText) 										
		{font-size:16px!important;font-weight:700!important;color:#1a191a!important;font-family:"Open Sans", sans-serif!important;}	
	}
	
	@media (min-width: 641px) 
	{
		/* H1 */
		.TitleHead,
		.MeetingsTab h2,
		.MembersTab h2 																		
		{font-size:46px!important;font-weight:700!important;color:#1a191a!important;font-family:"Open Sans", sans-serif!important;}
		
		/* H2 */
		.ViewCandidates legend,
		.ViewWards legend,
		.ElectionTitle h4,
		.PartyTitle h4,
		.WardTitle h4,
		.ROITitle h4,
		.ROIMeetingTitle h4,
		.CurrentCommitteesTitle h4,
		.PastCommitteesTitle h4,
		.CurrentOutsideBodiesTitle h4,
		.PastOutsideBodiesTitle h4,
		.DocumentsTab h2,
		.AttendanceTab h2,
		.VisitorsTab h2,
		.DOITab h2,
		.SummaryPanel legend,
		.MembershipFilter legend,
		.ElectedMembers h4,
		.MeetingsFilter legend,
		.ElectedMembersFilters legend,
		.ViewCMIS_OutsideBodies .FiltersContainer legend,
		.GeneralWrapper legend,
		.AppointmentWrapper legend,
		.DC_FiltersContainer legend,
		.CMIS,
		.EditBusinessItemWrapper legend,
		.BIE_GeneralDataArea h1,
		.OrganisationStructure,
		.PE_ViewPeople_ElectedRTetiredMembersHeading,
		.ModEnlineCMISPartiesC legend,
		.ModEnlineCMISVenuesC legend,
		.ModEnlineCMISWardsC legend,
		.ModCMISCommitteeMembershipsC h1,
		.ViewBodies_Category h2,
		.GeneralTab legend,
		.CompositionTab legend,
		.MembershipRolesTab legend,
		.pvSecurityTab legend,
		.pvPeopleTab legend,
		.Appointees h4, 
		.Officers h4,
		.PE_ViewPeople_MemberCategory,
		.borderPanel legend, 
		.TemplatesTab legend
		div[id*='dnn_ctr381_ViewCommitteeDetails_pnlClerkInformation'] legend
		{font-size:28px!important;font-weight:700!important;color:#1a191a!important;font-family:"Open Sans", sans-serif!important;}

		/* H3 */
		.AdditionalDocuments h4,
		.Attended legend,
		.Apology legend,
		.Absent legend,
		.EventHeading h4,
		.Filter legend
		{font-size:22px!important;font-weight:700!important;color:#1a191a!important;font-family:"Open Sans", sans-serif!important;}

		/* Normal */
		td,
		.ModCMISSearchC label:not(.dnnHelpText), 
		.ElectedDateLabel span:not(.dnnHelpText), 
		.AppointmentWrapper label:not(.dnnHelpText),
		.EventList label:not(.dnnHelpText),
		.EventHeading h4:not(.dnnHelpText),
		.DC_FiltersContainer label:not(.dnnHelpText),
		.SecurityRolesTab label:not(.dnnHelpText),
		.EditBusinessItemWrapper label:not(.dnnHelpText),
		 label:not(.dnnHelpText),
		.ErrorRed label:not(.dnnHelpText),
		.RadForm.rfdHeading h4:not(.dnnHelpText):not(.ElectionTitle h4):not(.PartyTitle h4):not(.WardTitle h4):not(.ROITitle h4):not(.ROIMeetingTitle h4):not(.CurrentCommitteesTitle h4):not(.PastCommitteesTitle h4):not(.CurrentOutsideBodiesTitle h4):not(.PastOutsideBodiesTitle h4):not(.ElectedMembers h4), 
		.RadForm.rfdHeading h5:not(.dnnHelpText), 
		.RadForm.rfdHeading h6:not(.dnnHelpText),
		.ViewCMIS_ForwardPlans label:not(.dnnHelpText) 										
		{font-size:14.22px!important;font-weight:700!important;color:#1a191a!important;font-family:"Open Sans", sans-serif!important;}
	}
	
	
	
	#Panes .rfdDecorated 																
	{font:normal 16px "Segoe UI", "Segoe UI", Calibri, Tahoma, Geneva, sans-serif!important;min-height:30px;padding-right:9px;}
																						
	/* Outside Body Back to the Top */																						
	.back_to_top, #backToTop span 						{color:#1C3B7C!important;}
	.back_to_top:Hover, #backToTop span:Hover 			{color:#2a6496!important;}
	
	/*------------------------------------*/
	/* CMIS - Mobile Responsive Stuff     */
	/*------------------------------------*/
	
	@media (max-width: 616px) 
	{
		/* Logo Text  */
		.logoText {Display:none!important;}
		.container, .site-header {overflow:hidden!important;}
		
		/* Login Page */
		.LoginPanel .dnnLabel {width:auto!important;padding-right:0px!important;}
		.LoginPanel .dnnFormItem > label.dnnFormLabel {display:inline!important;}		
		.dnnLoginService input[type="text"], .dnnLoginService input[type="password"] {min-width:140px!important; width:140px!important;}
		#dnn_ctr_Login_Login_DNN_plPassword {padding-right:3px!important;}	
		#dnn_ctr_Login_DNN > div > div:nth-child(5) > label {Display:none!important;}

		/* Register Page */
		.dnnFormItem input[type="text"], 
		.dnnFormItem input[type="password"], 
		.dnnFormItem input[type="email"], 
		.dnnFormItem input[type="tel"], 
		.dnnFormItem select, 
		.dnnFormItem textarea {width:100%!important;max-width:200px!important;}
		.dnnRegistrationForm .dnnLabel {text-align:left!important;}
		.dnnRegistrationForm .dnnFormInfo {width:60%!important;}
	}
	@media (min-width: 617px) 
	{
		.dnnRegistrationForm .dnnFormInfo {width:80%!important;}
		.dnnRegistrationForm .dnnLabel {text-align:left!important;}
	}
	
	@media screen and (max-width: 433px) {	
		/* Reduce the font size of table headers when viewed on mobile so more content can be fitted in */
		.RadGrid_Silk .rgHeader a 											{font-size:12px!important;}
		
		/* Make petitions table responsive */
		.ViewEPetitions .RadGridWrapper .ViewColumn 					    {width:35px!important;min-width:35px!important;}
		.ViewEPetitions .RadGridWrapper .TitleColumn						{width:64px!important;}
		.ViewEPetitions .RadGridWrapper .SignaturesColumn					{width:46px!important;}
		.ViewEPetitions .RadGridWrapper .EndDateColumn						{width:68px!important;}
		.ViewEPetitions .RadGridWrapper .StatusColumn						{width:120px!important;}

		/* Make Councillor page more mobile friendly */
		.ViewPersonWrapper .PenPic											{float:none!important;margin:0 auto!important;}
		.ViewPersonWrapper .PenPic .PenPicResize 							{float:none!important;margin:0 auto!important;display:block!important;margin-left:auto!important;margin-right: auto;}
		.ViewPersonWrapper .GeneralTab .Value 								{float:right!important;}
		.ViewPersonWrapper .GeneralTab .Value 								{text-align:right!important;}
		.ViewPersonWrapper .GeneralTab .DNNLabel							{width:100%!important;}
		.Biog span 															{text-align:left!important;}
		
		/* Reduce width of username and password text boxes when on mobile */
		#dnn_ctr_Login_Login_DNN_txtUsername, 
		#dnn_ctr_Login_Login_DNN_txtPassword 								{min-width:50px!important;width:120px!important;}
		
		/* Where details go onto a second line give some padding left to stop them starting at the furthest point to the left. Gives a clear seperation between label and details */
		.JobDetailsTab .Value, .ViewMeetingPublicWrapper .Value {padding-left:160px;}	
	}
	
	/* Set minimum width of radgrid columns to aid mobile viewing */
	.ViewCommitteeDetailsWrapper .MeetingsTab .MeetingStartTimeColumn,
	.ViewCommitteeDetailsWrapper .MeetingsTab .MeetingEndTimeColumn,
	.SE_FormLabel_SearchMode 												{width:auto!important;}
	
	@media (max-width:433px)
	{
		.GeneralTab .DNNLabel {margin-bottom:-24px!important;} 
		.GeneralTab .Value {width:50%!important;}
		.Biog {margin-top: -5px!important;}
	}
	
	
	/* Hide the broken image link on users page */	
#dnn_ctr_dnnICON_imgIcon {display:none!important;}
	
/* -------------------------------------------------------- */
/* *********Sort out Superfish menu/sub menus ************* */
/* -------------------------------------------------------- */

/* Hide Sub menus ... */
#Menu > .sf-menu ul {Visibility:hidden;height:0px;}

/* Disable transitions on all menu items */
#Menu * {transition:none!important;opacity:1!important;}

/* OPTIONAL - spacing for menu items. Always use margin bottom because margin top is still shown when then submenu is hidden wierdly */
#Menu > .sf-menu li {margin-bottom:35px;}
#Menu > .sf-menu .current > a {margin-bottom:20px;}


/* -------------------------------------------------------- */
/* -------------------------------------------------------- */
		
/*-------------------------------------------------------*/
/* GENERAL CMIS FIXES - END
/*-------------------------------------------------------*/