/**
 * @file
 * Layout Styling (DIV Positioning)
 *
 * Define CSS classes to create a table-free, 3-column, 2-column, or single
 * column layout depending on whether blocks are enabled in the left or right
 * columns.
 *
 * This layout is based on the Zen Columns layout method.
 *   http://drupal.org/node/201428
 *
 * Only CSS that affects the layout (positioning) of major elements should be
 * listed here.  Such as:
 *   display, position, float, clear, width, height, min-width, min-height
 *   margin, border, padding, overflow
 */

 /**
 * Forum
 **/
#main #content #forum table {
	width: 100%;
}

/*
 * Body
 */
body {
	background-color:#DDD;
	height:auto !important;
}
strong{ font-weight:bold !important; }

a{
	color:#111;
}
#main a{
	color:#3c659e;
	text-decoration:underline;
}

#page-wrapper,
.region-bottom {
  /*
   * If you want to make the page a fixed width and centered in the viewport,
   * this is the standards-compliant way to do that. See also the ie6.css file
   * for the necessary IE5/IE6quirks hack to center a div.
   */
  margin-left: auto;
  margin-right: auto;
  min-width: 960px;
  max-width:1200px;
  background-color:#FFF;
  box-shadow:0 0 15px #AAA;
  
  margin-top:20px;
  
}
#site-name{
	display:none;
}

h1.title, h2.block-title{
	font:bold 1.6em "Trebuchet MS", Arial, Helvetica, sans-serif !important;
	background:url(../images/h1-bg.png) bottom left repeat-x;
	padding:3px 5px 3px 10px;
	margin-bottom:10px !important; 
}

.block h2.block-title{
	margin-bottom:0px !important; 
}
#main .block .content{
	padding:10px;
	background:#d9e9ff url(../images/widget-bg.png) left bottom repeat-x;
}

#main h2{
	font:bold 1.2em "Trebuchet MS", Arial, Helvetica, sans-serif;
	border-bottom:1px solid #91b4e5;
	margin-bottom:0.5em;
}

.front #page-title{
	display:none;
}
.front #first-time{
	display:none;
}
.front #navigation{
	margin-bottom:0;
}

#page {
}

/* 
 * Header
 */
#header {
	height:152px;
	background:url(../images/header-bg.jpg) right top no-repeat;
	position:relative;
}
#logo{
	position:absolute;
	top:0; left:10px;
}

#header .section {
}

.region-header {
}

#block-menu-menu-menu-top{
	padding:0px 5px;
	background:url(../images/top-links-bg.png) right top no-repeat;
	text-align:right;
	height:21px;
}
#block-menu-menu-menu-top ul.menu{
	text-align:right;
}
#block-menu-menu-menu-top ul li{
	list-style:none;
	display:inline;
}
#block-menu-menu-menu-top ul li a{
	font-size:0.9em;
	text-decoration:none;	
}

#block-menu-menu-menu-top .content, #block-system-main-menu .content, #block-search-form .content{padding-top:0 !important;}

#block-search-form{
	position:absolute;
	right:10px;
	top:120px;
}
#header #block-search-form input[type='text']{
	background:#FFF url(../images/field-bg.png) left top repeat-x;
	border:0;
	border-radius:5px;
}
#header #block-search-form input[type='text']{ 
	height:20px;
	width:160px;

}
#header #block-search-form input[type='submit']{ 
	padding: 1px 5px;
	background:#00F url(../images/field-bg.png) center center repeat;
	border:1px solid #1a5189;
	height: 22px;
	line-height: 22px;
	font: bold 0.85em Arial;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	overflow:visible;
	color:#111;
	width:auto;
	display:inline;
	

}
	
/*
 * Main (container for everything else)
 */
#main-wrapper {
  position: relative;
  overflow:hidden;
}
.region-sidebar-first{
	float:left;
	width:200px;
	padding:10px;
}

.region-sidebar-first ul.menu li{
	list-style:none;
	border-top:1px solid #8aa3c5;
	background:url(../images/left-menu-bg.png) left top repeat-x;
	padding:9px 5px;
	margin-left:0;
}
.region-sidebar-first ul.menu li a{
	text-decoration:none;
}
.region-sidebar-first ul.menu li.expanded{
	overflow:hidden;
	zoom:1;
}

.region-sidebar-first ul.menu li.expanded a{
	font:bold 1.25em "Trebuchet MS", Arial, Helvetica, sans-serif;
	color:#3c659e;
}
.region-sidebar-first ul.menu ul.menu{
	margin-left:10px;
}
.region-sidebar-first ul.menu ul.menu li{
	list-style:none;
	list-style-type:none;
	list-style-image:none;
	border-top:0;
	background:none;
	padding:4px 0px;
}
.region-sidebar-first ul.menu ul.menu li a{
	background:url(../images/bullet-np.png) left 4px no-repeat;
	padding-left:13px; 
}

.region-sidebar-first ul.menu ul.menu ul.menu li{
	list-style-image:none;
	list-style:square;
	border-top:0;
	background:none;
	padding:4px 0px;
	margin-left:10px;
	list-style-position:inside; 
}
.region-sidebar-first ul.menu ul.menu ul.menu li a{
	background:none;
	padding-left:0;  
}
.region-sidebar-first ul.menu li.expanded ul.menu li a{
	font:normal 1em "Trebuchet MS", Arial, Helvetica, sans-serif;
	color:#000;
}



#main {
	overflow:hidden;
	min-height:375px;
}

/*
 * Content
 */
#main #content{
	margin-top:10px !important;
	padding:0 10px;
	overflow:hidden;
}
#main #content .section{
	overflow:hidden;
}
#main .content p{
	font-size:1em;
	margin-bottom:1.5em;
	line-height:1.5em;
}
#main .content ul{
	margin-left:40px;
	list-style-image:url(../images/bullet-np.png);
	margin-bottom:1.5em;
}
#main .content ol{
	margin-left:40px;
	margin-bottom:1.5em;
}


#main #block-views-news-home-block .content ul, #block-views-events-home-block .content ul{
	margin-left:0 !important;
}
#main #block-views-news-home-block .content ul li{
	margin-bottom:5px;
	margin-top:5px;
	border-bottom:1px solid #CCC;
	padding-bottom:5px;
	
}
#main #block-views-news-home-block .content ul li.views-row-last{
	border:0;
}

#block-views-news-home-block{ margin-bottom:0 !important;}



#main .content ul ul{
	margin-left:20px;
	list-style-image:none;
	list-style:circle;
}




#main .section {
  margin: 0;
  padding: 0;
}
#block-block-2{
	margin-bottom:0 !important;
}

/*
 * Navigation
 */
#navigation {
  background:#FFF url(../images/nav-bg.png) left top repeat-x;
  border-top: 1px solid #5C83B9;
  margin-bottom:20px;
  min-height:38px;
}
#navigation ul.menu {
  position:relative;
  top:-11px;
}
#navigation ul.menu li {
  float:left;
  list-style:none;
  padding-right:22px !important;
}
#navigation ul.menu li a {
 	font-size:1.15em;
	text-decoration:none;
}
#navigation ul.menu li.active-trail a {
 	color: #EEE;
	background-color: #5c83b9;
	padding: 8px 5px;
	font-weight:bold;
}

#navigation ul.menu ul.menu {
 	position:absolute;
	top:28px !important;
	background:url(../images/sub-menu-bg.png) bottom left repeat-x;
	height:28px;
	width:100%;
	left:0;
	
}
#navigation ul.menu ul.menu li {
 	position:relative;
	top:3px;
	padding:0 11px !important;
	border-right:1px solid #FFF;
	margin:0 !important;
}

#navigation ul.menu ul.menu li a {
 	font:normal 1em "Trebuchet MS", Arial, Helvetica, sans-serif;
	color:#FFF;
	text-decoration:none;
	padding:0;
	background-color:transparent;
}
#navigation ul.menu ul.menu li a.active-trail {
 	font-weight:bold !important;
}


.region-sidebar-second{
	float:right;
	width:33%;
	margin-top:0px !important;
	padding:10px;
	
	
}

#navigation ul.menu ul.menu ul.menu{
 	display:none;
	
}


#navigation .section {
}



/*
 * Footer
 */
.region-footer {
	padding:5px;
	background:url(../images/footer-bg.png) right bottom no-repeat;
	text-align:right;
	height:27px;
	
}

.region-footer p{
	position:relative;
	top:-8px;
}
.region-footer p img{
	top:8px;
	position:relative;
}

/*
 * Page bottom
 */
.region-bottom /* See also the #page-wrapper declaration above that this div shares. */ {
}

/*
 * Prevent overflowing content
 */
#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
.region-footer,
.region-bottom {
  word-wrap: break-word; /* A very nice CSS3 property */
}

/*
 * If a div.clearfix doesn't have any content after it and its bottom edge
 * touches the bottom of the viewport, Firefox and Safari will mistakenly
 * place several pixels worth of space between the bottom of the div and the
 * bottom of the viewport. Uncomment this CSS property to fix this.
 * Note: with some over-large content, this property might cause scrollbars
 * to appear on the #page-wrapper div.
 */
/*
#page-wrapper {
  overflow-y: hidden;
}
*/


/* tables */
.noBorder{ border:0 !important;}
.noBg{background:none !important;}

table{
	border-collapse:collapse;
	/*border:1px solid #CCC;*/
	font:normal 0.85em "Trebuchet MS", Arial, Helvetica, sans-serif
	margin-bottom:25px;
	margin:10px;
}

table tr td{
	padding:4px 5px;
	border-bottom:1px solid #7e7e7e;
	border:1px solid #CCC;
	vertical-align:top;
}
table thead tr th{
	border:1px solid #CCC;
	padding:4px 5px;
	border-bottom:2px solid #AAA !important;
	text-align:left;
	background:#e8f2fe url(../images/th-bg.png) left bottom repeat-x;
	color:#222;
	font-weight:bold;
	vertical-align:bottom;
	text-align:center
}
table tr th a{
	color:#222;
	text-decoration:none;
	display:block;
}
table tr th a:hover, table tr th a:focus{
	text-decoration:underline;
}
table tr th a.sortable{
	padding-right:10px;
	background:url(../images/sortable.gif) right center no-repeat;
}
table tr th a.desc{
	background:url(../images/desc.gif) right center no-repeat;
}
table tr th a.asc{
	background:url(../images/asc.gif) right center no-repeat;
}
table tbody tr th{
	padding:5px 5px;
	border-bottom:1px solid #AAA;
	background:#e8f2fe url(../images/th-bg.png) left bottom repeat-x;
	color:#222;
	width:170px;
	font-weight:bold;
}

/* Modern browser 
table tr:nth-child(2n){
	background-color:#e9f2ff;
}*/

/* All browser */
table tr.odd{
	background-color:#e9f2ff;
}


#block-locale-language{
	position: absolute;
	overflow: hidden;
	right: 0;
	top: 26px;
}
#block-locale-language ul li{
	float:left;
}
#block-locale-language ul li a{
	color:#FFF;
	text-decoration:none;
	padding:2px 5px;
}
#block-locale-language ul li a.active{
	font-weight:bold;
	background-color:#FFF;
	color:#333;
}

.node .submitted{
	text-align: right;
	font-style: italic;
	color: #333;
}
.view-internet-presidents .view-content, .view-internet-observers .view-content, .view-intranet-contact .view-content, .view-intranet-judges-contact .view-content{
	overflow:hidden;
	zoom:1;
}

.view-internet-presidents .views-row, .view-internet-observers .views-row, .view-intranet-contact .views-row, .view-intranet-judges-contact .views-row{
	float:left;
	width:30.5%; margin-right:1%; margin-bottom:20px;
	zoom:1;
}

.view-internet-presidents .views-row:nth-child(3n), .view-internet-observers .views-row:nth-child(3n), .view-intranet-contact .views-row:nth-child(3n), .view-intranet-judges-contact .views-row:nth-child(3n){
	margin-right:0 !important;
}

.view-internet-presidents .views-row:nth-child(3n+1), .view-internet-observers .views-row:nth-child(3n+1), .view-intranet-contact .views-row:nth-child(3n+1), .view-intranet-judges-contact .views-row:nth-child(3n+1){
	clear:both;
}



.node-president .content{
	overflow:hidden;
	background:#EEEEEE url(../images/member-bg.png) left bottom repeat-x;
	border-radius:6px;
	padding:10px;
	position:relative;
	max-width:400px;
	min-height:550px;
}

.node-judge .content{
	overflow:hidden;
	background:#EEEEEE url(../images/member-bg.png) left bottom repeat-x;
	border-radius:6px;
	padding:10px;
	position:relative;
	max-width:400px;
	min-height:155px;
}

.node-judge .links .comment-add{
	display: none;
}

.node-president .field-label{
	display:none;
}

.node-judge .field-label{
	display:none;
}

.field-name-field-president-country .field-item{
	font: bold 1.2em "Trebuchet MS";
	color: #5C83B9;
}

.field-name-field-judge-country .field-item{
	font: bold 1.2em "Trebuchet MS";
	color: #5C83B9;
}

.field-name-field-president-title .field-item{
	font-weight:bold;
}

.field-name-field-judge-court .field-item{
	font-weight:bold;
}

.field-name-field-president-photo{
	float: right;
	margin: 5px 0px 5px 10px;
}

.language-switcher-locale-url li{
	list-style:none;
}

/* view presidents */
.page-views-internet-presidents .view-internet-presidents .view-content .views-row{
	overflow:hidden;
	background:#e7e7e7 url(../images/member-bg.png) left bottom repeat-x;
	border-radius:6px;
	padding:10px;
	position:relative;
	min-height:100px;
}

.page-views-internet-presidents .view-internet-presidents .view-content .views-row .views-field-field-president-photo {
	max-width: 75px;
	float: right;
	max-height: 100px;
	overflow: hidden;
	border: 2px solid white;
	outline: 1px solid #666;
	min-width: 75px;
	min-height: 100px;
	text-align:center;
}

.page-views-internet-presidents .view-internet-presidents .view-content .views-row .views-field-field-president-country {
	color: #5C83B9;
    font: bold 1.2em "Trebuchet MS";
}

.page-views-intranet-contact .view-intranet-contact .field-name-field-president-photo .field-items img {
	max-width: 75px;
	float: right;
	max-height: 100px;
	overflow: hidden;
	border: 2px solid white;
	outline: 1px solid #666;
	min-width: 75px;
	min-height: 100px;
	text-align:center;
}

.page-views-internet-presidents .view-internet-presidents .view-content .views-row .views-field-title {
    font-weight: bold;
}

/* view observers */
.page-views-internet-observers .view-internet-observers .view-content .views-row{
	overflow:hidden;
	background:#e7e7e7 url(../images/member-bg.png) left bottom repeat-x;
	border-radius:6px;
	padding:10px;
	position:relative;
	min-height:100px;
}

.page-views-internet-observers .view-internet-observers .view-content .views-row .views-field-field-president-photo {
	max-width: 75px;
float: right;
max-height: 100px;
overflow: hidden;
border: 2px solid white;
outline: 1px solid #666;
min-width: 75px;
min-height: 100px;
text-align:center;
}

.page-views-internet-observers .view-internet-observers .view-content .views-row .views-field-field-president-country {
	color: #5C83B9;
    font: bold 1.2em "Trebuchet MS";
}

.page-views-internet-observers .view-internet-observers .view-content .views-row .views-field-title {
    font-weight: bold;
}


/* custom news list */
.view-dom-id-1 .item-list ul li{
	list-style: none;
	margin-bottom: 20px;
	margin-left: 0;
}

.view-dom-id-1 .item-list ul li .views-field-title{
	background-color: #c2cfe1;
	padding: 3px 5px;
}
.front .view-dom-id-1 .item-list ul li .views-field-title{
	background-color: transparent;
}
#main .view-dom-id-1 .item-list ul li .views-field-title a{
	font-size: 1.1em;
	color: #323232;
	text-decoration: none;
	font-weight: bold;
}
#main .view-dom-id-1 .item-list ul li .views-field-title a:hover{
	text-decoration:underline;
}

.view-dom-id-1 .item-list ul li .views-field-body{
	padding: 2px 10px; 
}

.view-dom-id-1 .item-list ul li .views-field-body span{
	font-size:0.9em;
	color:#333;
}

/* links section */
.field-name-field-event-links, .field-name-field-intranet-pages-link{
	margin-bottom:25px;
}
.field-name-field-event-links .field-label, .field-name-field-intranet-pages-link .field-label{
	font:bold 1.2em "Trebuchet MS", Arial, Helvetica, sans-serif;
	border-bottom:1px solid #91b4e5;
	margin-bottom:0.5em;
}
/* end of the links section */

/* intranet menu / active page */
#block-menu-menu-intranet-menu.block div.content ul.menu a.active {
	font-weight: bold;
}

.node-intranet-page h2.node-title {
	display: none;
}

.node-news h2.node-title {
	display: none;
}

.node-event h2.node-title {
	display: none;
}

.node-internet-court-decision h2.node-title {
	display: none;
}

div.view-intranet-contact div.field-name-field-president-contact {
	margin-top: 10px;
}

div.view-intranet-judges-contact div.field-name-field-judge-contact {
	margin-top: 10px;
}

div#block-block-4 {
margin-bottom: 0px;
}

.region-sidebar-first .block-menu .expanded, .region-sidebar-first>div>div>.content>ul>li.leaf{
list-style-image: none !important;
}

/*#appmenu-button-container {
position: fixed !important;
}
#appmenu-button {
padding: 3px 10px !important;
margin-top: -1px !important;
margin-left: 1px !important;
background: url('http://omicronlab.net/upic/4c48c3d1-f83.png') #e4780e no-repeat -5px -5px !important;
border: 2px solid !important;
border-top: none !important;
-moz-border-radius: 0 0 4px 4px !important;
-moz-border-left-colors: rgba(255,255,255,.5) rgba(83,42,6,.9) !important;
-moz-border-bottom-colors: rgba(255,255,255,.5) rgba(83,42,6,.9) !important;
-moz-border-right-colors: rgba(255,255,255,.5) rgba(83,42,6,.9) !important;
-moz-box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 0 0 1px rgba(255,255,255,.40) inset !important;
}
#appmenu-button:-moz-window-inactive {
-moz-box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 0 0 1px rgba(255,255,255,.35) inset !important;
background-color: transparent !important;
}
#appmenu-button:hover:not(:active):not([open]),
#appmenu-button:hover:-moz-window-inactive:not(:active):not([open]) {
-moz-box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 0 2px 1px rgba(250,234,169,.7) inset, 0 -1px 0 rgba(250,234,169,.5) inset !important;
}
#navigator-toolbox[tabsontop="true"] #TabsToolbar {
padding-left: 80px !important;
padding-top: 3px !important;
padding-right: 110px !important;
}
#appmenu-button .button-text {
display: none !important;
}
#appmenu-button dropmarker:before {
content: "MFx " !important;
}*/

 