/*
 * Editor Actions/Menu 
 **/



#editor_actions {	
   margin: 1em 10px 1em 0px;
   padding: 0px;
   
   width: 100%;
   font-size: 90%;		        
}							        
  		
#editor_actions ul {		    	  
   margin: 0px;			    	  
   padding: 0.7em .7em 0.7em 0px;
   list-style: none;
   background-color: #ebebeb;
}							        

#editor_actions li {		    	  
   padding: 0px;		    	  
   margin: 0px;
   height: 2em;
}

#editor_actions li a {
   margin: 0px;
   border: none;
   display: block;
   color: #323232;			        
   text-decoration: none;	    	  
}

#editor_actions li a:hover {
   margin: 0px;
   border: none;  
   color: #323232;
}


/*
 * Editor Actions/Menu horizontal

 **/
 
 #editorMenu #editor_actions {	
   margin: 1em 0px 1em 0px;
   padding: 0px;   
   width: 100%;
   font-size: 90%;	
}							        
  		
 #editorMenu #editor_actions ul {		    	  
   margin: 0px;			    	  
   padding: 0.7em 0px 0.7em 0px;
   list-style: none;
   background-color: #ebebeb;
   width: 100%;
}							        

 #editorMenu #editor_actions li {		    	  
   padding: 0px;		    	  
   margin: 0px;
   height: 2em;
   display: inline;
}

 #editorMenu #editor_actions li a {
   margin: 0px;
   border: none;
   display: inline;
   color: #323232;			        
   text-decoration: none;	    	  
}

 #editorMenu #editor_actions li a:hover {
   margin: 0px;
   border: none;  
   color: #323232;
}


/*
 * tools

 **/

#editor_actions li.tool_events_upcoming, #editor_actions li.tool_events_month, #editor_actions li.tool_events_archive {	    	  
margin: 10px 0px 10px 10px;
height:40px;
line-height:40px;
vertical-align:middle;
font-weight:bold;
font-size:13px;
color:#FFF;
padding:0px 0px 0px 15px; 
background: #6d6e71; 
text-transform:capitalize;
}

#editor_actions li.active {
	background: #40516f;

}

#editor_actions li.active:after {
	content: '\f0da';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
	margin:0px 0px 0px 10px;
	text-decoration:none;
}

#editor_actions li.tool_events_upcoming a, #editor_actions li.tool_events_month a, #editor_actions li.tool_events_archive a {
	color:#ccc;


}

#editor_actions li.tool_events_upcoming a:hover, #editor_actions li.tool_events_month a:hover, #editor_actions li.tool_events_archive a:hover {
	color:#fff;

}


/*
 * Tool Items
 **/

li.tool_add a {
  background: url('../townsquare/img/icons/add.png@v=2') no-repeat 5px 0px;
  padding: 2px 1em 2px 27px;
}

li.tool_calendar a{
  background: url('../townsquare/img/icons/calendar.png@v=2') no-repeat 5px 0px;
  padding: 2px 1em 2px 27px;
}

li.tool_cal_month a{
  background: url('../townsquare/img/icons/cal_one_month.png@v=2') no-repeat 5px 0px;
  padding: 2px 1em 2px 27px;
}

li.tool_cal_six a{
  background: url('../townsquare/img/icons/cal_six_month.png@v=2') no-repeat 5px 0px;
  padding: 2px 1em 2px 27px;
}

li.tool_copy a{
  background: url('../townsquare/img/icons/clickboard.png@v=2') no-repeat 5px 50%;
  padding: 2px 1em 2px 27px;
}

li.tool_content a{
  background: url('../townsquare/img/icons/folder.png@v=2') no-repeat 5px 50%;
  padding: 2px 1em 2px 27px;
}

li.tool_delete a{
  background: url('../townsquare/img/icons/delete.png@v=2') no-repeat 5px 0px;
  padding: 2px 1em 2px 27px;
}

li.tool_document a{
  background: url('../townsquare/img/icons/document.png@v=2') no-repeat 5px 50%;
  padding: 2px 1em 2px 27px;
}

li.tool_date a {
  background: url('../townsquare/img/icons/date.png@v=2') no-repeat 5px 0px;
      padding: 2px 1em 2px 27px;
}

li.tool_down a{
  background: url('../townsquare/img/icons/arrow_down.png@v=2') no-repeat 5px 0px;
      padding: 2px 1em 2px 27px;
}

li.tool_edit a{
  background: url('../townsquare/img/icons/pencil.png@v=2') no-repeat 5px 0px;
      padding: 2px 1em 2px 27px;
}

li.tool_folder_back a{
  background: url('../townsquare/img/icons/folder.png@v=2') no-repeat 5px 0px;
      padding: 2px 1em 2px 27px;
}

li.tool_image a{
  background: url('../townsquare/img/icons/images.png@v=2') no-repeat 5px 50%;
      padding: 2px 1em 2px 27px;
}

li.tool_link a{
  background: url('../townsquare/img/icons/link.png@v=2') no-repeat 5px 50%;
  padding: 2px 1em 2px 27px;
}

li.tool_list a{
  background: url('../townsquare/img/icons/table.png@v=2') no-repeat 5px 0px;
      padding: 2px 1em 2px 27px;
}

li.tool_off a{
  background: url('../townsquare/img/icons/lightbulb_off.png@v=2') no-repeat 5px 0px;
  padding: 2px 1em 2px 27px;
}

li.tool_on a{
  background: url('../townsquare/img/icons/lightbulb.png@v=2') no-repeat 5px 0px;
      padding: 2px 1em 2px 27px;
}

li.tool_page a{
  background: url('../townsquare/img/icons/page_white.png@v=2') no-repeat 5px 50%;
      padding: 2px 1em 2px 27px;
}

li.tool_menus a{
  background: url('../townsquare/img/icons/chart_organisation_add.png@v=2') no-repeat 5px 50%;
      padding: 2px 1em 2px 27px;
}

li.tool_news a{
  background: url('../townsquare/img/icons/newspaper.png@v=2') no-repeat 5px 50%;
      padding: 2px 1em 2px 27px;
}

li.tool_rss a {
  background: url('../townsquare/img/icons/rss-14x14.png@v=2') no-repeat 5px 50%;
      padding: 2px 1em 2px 27px;
}

li.tool_up a {
  background: url('../townsquare/img/icons/arrow_up.png@v=2') no-repeat 5px 0px;
      padding: 2px 1em 2px 27px;
}

li.tool_view a {
  background: url('../townsquare/img/icons/magnifier.png@v=2') no-repeat 5px 0px;
      padding: 2px 1em 2px 27px;
}

li.tool_right a {
  background: url('../townsquare/img/icons/arrow_right.png') no-repeat 5px 0px;
      padding: 2px 1em 2px 27px;
}




div.page_rss { 
   margin-top: 1em;
   margin-left:0px;
   font-family:Arial, Helvetica, Verdana, sans-serif;
   font-size:12px;
}

.page_rss ul {
   padding: 0.7em 0px 0px 0px;
   list-style: none;
   vertical-align: top;
}

.page_rss li {
   padding: 0px;		    	  
   margin: 0px;
   height: 2em;
}

#side_rss { 
   margin-top: 1em;
}

#side_rss a { 
   color: black;
}

#side_rss ul {
   padding: 0.7em 0px 0px 0px;
   list-style: none;
   vertical-align: top;
}

#side_rss li {
   padding: 0px;		    	  
   margin: 0px;
   height: 2em;
}






/*
 * Cookie trail
 */

.cookie_trail {
}
.cookie_trunk {
}
.cookie_leaf {
}


/*
 * Message box (errors, warnings, info)
 */

.message {
  padding: 1em;
  font-weight: bold;
  border: 1px solid;
  margin-left:20px;
  margin-top: 20px;
  margin-bottom: 0px;
  width: 60%;
}
#flashMessage {
  color:#006;
  border-color:#006;
  background-color: #f9f9ff;
}
#errorMessage {
  color:#900;
  border-color:#900;
  background-color: #fff9f9;
}
#warningMessage {
  color:#990;
  border-color:#990;
  background-color: #fffff9;
}
#successMessage {
  color:#090;
  border-color:#090;
  background-color: #f9fff9;
}
#infoMessage {
  color:#009;
  border-color:#009;
  background-color: #f9f9ff;
}
#authMessage {
  color:#900;
  border-color:#900;
  background-color: #fff9f9;
}




/* Maps */


#sidebar_map_controls { }

#layer_header { 
  margin: 1.0em 0em 0.5em 0.5em;
}

#layer_list { 
  margin: 0.5em 0px 0px 0px;
  padding: 0px;
  list-style: none
}

#layer_list li { 
  margin: 0px;
  padding: 4px 8px 4px 25px;
  cursor: pointer;
}

.map_option { 
  font-weight: normal;
  padding-left: 10px;
  background: #ccc;
  background: url('../townsquare/img/cb_unchecked.png@v=2') no-repeat 5px 7px;
}
.map_option_selected {
  font-weight: bold;
  background: url('../townsquare/img/cb_checked.png@v=2') no-repeat 5px 7px;
}

.map_option img, .map_option_selected img {
  margin: 0px 8px 0px 0px;
  border: none;
  vertical-align: middle;
} 

.map_option .not_hidden, .map_option_selected .hidden {
  display: none;
} 
.map_option .hidden, .map_option_selected .not_hidden {
  display: inline;
} 

/*
 * styling related to email notification 
 */ 

.emailTestButton {
	float:left;
	position:relative;
	padding:8px;
	margin:16px 10px 16px 50px;
	background-color:#6d6e71;	
}

.emailTestButton a, .emailSendButton a,
.emailTestButton a:hover, .emailSendButton a:hover{
	color:#fff;

}

.emailSendButton {
	float:left;
	position:relative;
	padding:8px;
	margin:16px 10px 16px 0px;
	background-color:#6d6e71;
}

@media (min-width: 1200px) {
	
.emailTestButton{margin:16px 10px 16px 125px;}


}


/*
 * Many to many chooser
 **/
 

.m2m {
  width: 100%;
  overflow: hidden;
  margin-bottom: 1em;
  padding: 2px;
  margin-top: 0px;
}
.m2m div {
  margin-top: 0px;
  clear:none;
}
.m2m .chosen, .m2m .choices {
  display: block;
  width:250px;
  overflow: hidden;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
}

.m2m .chosen p, .m2m .choices p {
 margin-bottom:0;
 text-transform:uppercase;
 font-size:12px;
 font-weight:600;
 color:#999;
}
.m2m .newly_chosen,.m2m  .newly_unchosen {
  background-color: #e7f1e2;
}
.m2m .disabled {
  background-color: #ccc;
}
.m2m .hidden {
  display: none;
}
.m2m .chosen {
  float: left;
}
.m2m .choices {
  float: right;
  margin-right:100px;
}

.m2m table {
  overflow: auto;
  margin-top: 0px;
  background-color: #ecf3fd;
  border-top: 2px #394c7f solid;
  border-left: 2px #394c7f solid;
  border-bottom: 2px #bfcafd solid;
  border-right: 2px #bfcafd solid;
  border-collapse: collapse;
  border-spacing: 0px;
}
.m2m table tr {
  cursor: pointer;
}
.m2m table tr:hover {
  background: #e2af2b;
}
.m2m table tr td {
  color: #000;
  padding-left: 0.2em;
}


.m2m ul {
  list-style: none;
  overflow: auto;
  padding:3px;
  width:100%;
}


.m2m ul li {
  padding-left: 0.2em;
  padding-top: 0.2em;
  cursor: pointer;
  width:98%;
}
.m2m ul li:hover {
  background: #e7f1e2;
}

.flickrwrap {position:relative;padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden;}
.flickrwrap iframe {position:absolute;top:0;left:0;width:100%;height:100%;}
