/** General styles **/
html {
    margin: 0;
    padding: 0;
    font-family: Arial, Tahoma, Verdana, sans-serif;
    font-size: 12px;
    color: #000000;
}

p {
    padding: 5px;
}

ol {
    list-style: decimal;
}

table {
    border-spacing: 2px 2px;
    border-color: gray;
    border-collapse: separate;
}

thead {
    border-color: inherit;
}

tr {
    border-color: inherit;
    margin: 1em 0;
}

th {
    padding: 1em;
    font-size: 1.1em;
}

td {
    padding: 0.5em;

}

abbr {
    cursor: help;
    border-bottom: #aaa 1px dotted;
}

/** Generic classes **/
.separatorGray {
    color: #DDD;
}

.topSeparatorGray {
    border-top: 1px solid #CCC;
}

.hidden {
    display: none;
}

.nowrap {
    white-space: nowrap;
}

table .label {
    background-color: #EFEFEF;
    text-align: right;
    white-space: nowrap;
}

table tr.rowSeparator, table tr.rowSeparator td {
    height: 5px;
    margin: 0;
    padding: 0;
}

.redSeparator {
    border-bottom: 1px solid #FF0000;
}

.subtitle{
    color: #777;
}

/* Error, sucess, warning for stripes validation errors */
.errorMsg {
    background-color: #FFEBEB;
    border-bottom: 2px solid #E87E7E;
    margin-bottom: 10px;
}

.errorMsg .errorHeader {
    font-weight: bold;
    font-size: 110%;
    background: #BD2222 url("../images/error2.png") no-repeat 5px;
    border-top: 2px solid #E87E7E;
    border-bottom: 2px solid #E87E7E;
    padding: 6px 0 6px 26px;
    text-align: left;
    color: #FFF;
}

.errorMsg ol {
    text-align: left;
}

.errorMsg li {
    padding: 0.8em;
}

/* warning */
.warningMsg {
    background-color: #fff6bf;
    border-bottom: 2px solid #ffd324;
    margin-bottom: 10px;
}

.warningMsg .warningHeader {
    font-weight: bold;
    font-size: 110%;
    background: #FFD942 url("../images/warning.png") no-repeat 5px;
    border-top: 2px solid #ffd324;
    border-bottom: 2px solid #ffd324;
    padding: 6px 0 6px 26px;
    text-align: left;
}

.warningMsg ol {
    text-align: left;
}

.warningMsg li {
    padding: 0.8em;
}

/* error.jsp */

.errorsFrame {
    width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.errors {
    border: 1px solid #ccc;
}

.errors h1 {
    color: #FFF;
    background-color: #FE0000;
    font-weight: bold;
    font-size: 140%;
    padding: 8px;
}

.errors p {
    padding: 5px;
}

input.error[type="text"],
input.error[type="password"],
textarea.error,
select.error {
    border: 1px solid red;
}

.successMsg {
    background-color: #C6E0B3;
    border-bottom: 2px solid #336600;
    margin-bottom: 10px;
}

.successMsg .successHeader {
    font-weight: bold;
    font-size: 110%;
    background: #4C9900 url("../images/success.png") no-repeat 5px;
    color: #FFF;
    border-top: 2px solid #336600;
    border-bottom: 2px solid #336600;
    padding: 6px 0 6px 26px;
    text-align: left;
}

.successMsg p {
    padding: 1em;
}

/* Login page */
#loginframe {
    width: 375px;
    margin-left: auto;
    margin-right: auto;
}

#loginframe img {
    margin-top: 15px;
    margin-bottom: 7px;
}

#loginBox {
    border: 1px solid #ccc;
}

#loginBox form {
    padding: 5px;
    width: 365px;
}

#loginBox label {
    display: block;
    width: 120px;
    font-weight: bold;
}

#loginBox input.smallText {
    display: block;
    width: 350px;
    margin-top: 5px;
}

#loginBox p.submitButton {
    text-align: right;
}

/* Top menu head */
#head {
    background: #FF0000 url(../images/vdf_logo.gif) no-repeat;
    height: 30px;
}

#head #menu {
    padding-left: 50px;
    padding-top: 6px;
    font-size: 1em;
    font-weight: bold;
    color: #FFF;
    width: 550px;
    text-align: left;
}

#head #menu input {
    vertical-align: sub;
}

#head #rightmenu {
    float: right;
    background-color: #D00;
    color: #FFF;
    font-size: 1em;
    font-weight: bold;
    margin: 4px 10px 0 0;
    padding: 3px;
}

#head a:link,
#head a:visited,
#head a:hover,
#head a:active {
    color: #FFF;
    text-decoration: none;
}

#head a:hover {
    text-decoration: underline;
}

#head #rightmenu img {
    vertical-align: text-bottom;
}

#head #rightmenu .separator {
    padding-right: 25px;
}

/** Components Columns layout **/
#columns {
    float: left;
    width: 100%;
}

#rightcolumn {
    margin-left: 250px; /*Set left margin to leftColumn.width*/
}

#leftcolumn {
    float: left;
    width: 250px; /*Width of left column*/
}

.widget-content {
    padding: 10px 5px;
}

#leftcolumn a:link,
#leftcolumn a:visited,
#leftcolumn a:hover,
#leftcolumn a:active {
    color: inherit;
    text-decoration: none;
}

#leftcolumn a:hover {
    text-decoration: underline;
}

.widget-content .highlight {
    font-weight: bold;
    font-size: 1em;
}

/* Colors */
.color-red {
    background: #FF0000;
}

.color-red h3 {
    color: #FFF;
}

/* Forms styling */
/* buttons with icons */
.buttonWithIcon {
    background-repeat: no-repeat;
    background-position: 5px center;
    padding-left: 25px !important;
    text-align: left;
}

.buttonDelete {
    background-image: url('../images/icons/delete.png');
}

.buttonUndo {
    background-image: url('../images/icons/arrow_undo.png');
}

.ui-inputButton {
    padding: 0.2em 0.6em 0.3em;
    cursor: pointer;
}

label.checkboxAlign {
    display: block;
    padding-left: 15px;
    text-indent: -15px;
}

input.checkboxAlign {
    width: 13px;
    height: 13px;
    padding: 0;
    margin: 0;
    vertical-align: bottom;
    position: relative;
    top: -1px;
    overflow: hidden;
}

p.widgetSubmit {
    padding: 10px 0 0 0;
}

.form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

label.mandatoryFieldLabel:after {
    content: ' (*)' !important;
}

.form label.notMandatory {
    font-weight: normal !important;
}

.largeInput {
    width: 400px;
}

.mediumSelect {
    width: 205px;
}

.mediumInput {
    width: 200px;
}

.mediumInputMin {
    min-width: 200px;
}

.smallInput {
    width: 140px;
}

.microInput {
    width: 30px;
}

p.submit {
    margin-top: 5px;
    text-align: left;
}

input.hint {
    color: #999;
    font-style: italic;
}

.mandatoryFieldsSubtitle {
    font-size: 80%;
    color: #777;
    font-style: italic;
}

/** Specific widget styles **/
/* Filter */
#widgetFilter div.widget-content {

}

#widgetFilter .filterChanged {
    border-bottom: 1px solid #FF0000;
    margin-bottom: 5px;
    padding: 0 0 5px;
}

#widgetFilter .filterChanged img {
    vertical-align: text-bottom;
}

#filterAllTrees{
    max-height: 200px;
    overflow-y: auto;
}

/* Search Results */
#widgetSearchResults .querySeparator {
    border-bottom: 1px solid #FF0000;
    margin-bottom: 5px;
    padding: 0 0 5px;
}

#searchResultsTree .ui-dynatree-container {
    padding: 0;
}

#searchResultsTree .ui-dynatree-connector {
    background-image: none;
    width: 0;
}

/* Workarea */
#widgetWorkarea div.widget-content {
    max-height: 220px;
    overflow-y: auto;
}

#plannedAreaTree #ui-dynatree-id-root .ui-dynatree-checkbox {
    display: none;
}

#plannedAreaTree #ui-dynatree-id-root .ui-dynatree-title {
    margin: 4px 0 4px 20px;
}

#plannedAreaTree #ui-dynatree-id-root.ui-dynatree-selected a {
    font-style: normal;
}

p.selectHistory {
    padding-top: 0;
    padding-bottom: 10px;
}

p.selectHistory select {
    width: 100%;
}

.checkboxSupplierArea {
    margin-right: 3px !important;
}

#suppliersAreas {
    margin-top: 15px;
}

#suppliersAreas p {
    margin-left: 16px;
    padding-top: 0;
    padding-bottom: 0;
    height: 16px;
}

#suppliersAreas label {
}

#suppliersAreas .indented {
    padding-left: 24px;
}

/* map */
#widgetMap .widget-content {
    padding-top: 2px;
}

/* Toolbar in the map */
#mapToolbarButtons {
    text-align: right;
}

#mapToolbarButtons .ui-state-active {
    border: 2px solid #FF0000;
}

#mapToolbarButtons .remove-border-bottom.ui-state-active {
    border-bottom: 2px solid #FFF;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    -moz-border-radius-bottomleft: 0 !important;
    -moz-border-radius-bottomright: 0 !important;
}

.maptoolbarButton {
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    border-width: 2px;
    background-position: 1px center;
}

.toolbarButton {
    background-repeat: no-repeat;
    background-position: 5px center;
    padding-left: 25px;
    width: 100%;
    text-align: left;
}

.toolbarLinkButton {
    display: block;
    padding-top: 8px;
    padding-bottom: 8px;
    text-decoration: none !important;
}

.toolbarDropdownBox {
    position: absolute;
    border-top-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    -moz-border-radius-topleft: 6px;
    -moz-border-radius-bottomleft: 6px;
    -moz-border-radius-bottomright: 6px;
    z-index: 1000;
    border: 2px solid #F00;
    background-color: #FFF;
}

.toolbarDropdownBox iframe {
    padding: 5px;
}

.toolbarDropdownBoxOverlay {
    position: absolute;
    background-color: #FFF;
    width: 34px;
    height: 2px;
    z-index: 1001;
}

#toolbarFTTHTree a:link,
toolbarFTTHTree a:visited,
toolbarFTTHTree a:hover,
toolbarFTTHTree a:active {
    color: #000;
    text-decoration: none;
}

#toolbarFTTHTree a:hover {
    text-decoration: underline;
}

#toolbarFTTHTree div.ui-dynatree-container a:focus,
#toolbarFTTHTree span.ui-dynatree-focused a:link {
    background-color: #CCC !important;
}

/* map caption */
.mapCaptionTable {
    border-collapse: collapse;
    padding: 0;
    margin: 0;
}

.mapCaptionTable td {
    padding: 3px;
    font-size: 90%;
}

.mapCaptionTable tr:nth-child(4n), .mapCaptionTable tr:nth-child(4n-1) {
}

.mapCaptionTable tr {
    border-bottom: 1px dotted #DDD;
}

.mapCaptionTable .cellTitle {
    border-right: 1px solid #000;
}

.mapCaptionCircuitsTable th {
    font-weight: normal;
    font-style: italic;
    font-size: 90%;
    vertical-align: bottom;
    border-bottom: 1px solid #000;
}

.mapCaptionCircuitsTable .cellWithBackColor {
    text-align: center;
    width: 28px;
    padding: 0 3px;
}

.mapCaptionCircuitsTable td.cellWithBackColor span {
    border: none;
    height: 3px;
    width: 100%;
    display: inline-block;
    margin: 0;
    padding: 0;
}

#mapCaption {
    color: #333;
}

#mapCaption .close {
    float: right;
    display: inline;
}

#mapCaption a:link, a:visited {
    color: #6688CC;
    text-decoration: none;
}

#mapCaption .title {
    color: #6688CC;
    font-weight: bold;
    padding: 5px;
    margin-bottom: 5px;
    background-color: #EEE;
}

#mapCaption .overflowMapCaption {
    max-height: 550px;
    overflow-y: auto;
}

#mapCaption div {
    border: 1px solid #D5D5D5;
}

#mapCaption div.captionContainer {
    background-color: #FFF;
    padding: 4px;
}

/* Search results */
.searchResultsContainer {
    max-height: 130px;
    overflow-y: auto;
    overflow-x: auto
}

/* Administration */
/**Style for color picker selector**/
.colorSelector, .colorSelectorDisabled {
    position: relative;
    width: 36px;
    height: 36px;
    background: url(../images/colorpicker/select.png);
}

.colorSelector div, .colorSelectorDisabled div {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 30px;
    height: 30px;
    background: url(../images/colorpicker/select.png) center;
}

.colorSelector {
    background: url(../images/colorpicker/select.png);
}

.colorSelector div {
    background: url(../images/colorpicker/select.png) center;
}

.colorSelectorDisabled {
    background: url(../images/colorpicker/select_disabled.png);
}

.colorSelectorDisabled div {
    background: url(../images/colorpicker/select_disabled.png) center;
}

.sliderValueLabel {
    font-weight: bold;
    padding-bottom: 2px;
    text-align: center;
}

.maxBandwidthColumn {
    vertical-align: middle;
    width: 65px;
    text-align: center;
}

.maxBandwidthColumn input {
    width: 60px;
}

.cleaner {
    clear: both;
}

a.disabled {
    cursor: default;
}

a.disabled img {
    opacity: 0.2;
}

a.enabled img {
    opacity: 1;
}

.centered {
    margin: auto;
}

.bold {
    font-weight: bold;
}

.administrationButton {
    height: 30px;
    display: inline-block;
    padding-right: 10px;
}

.highlightedColumn {
    background-color: #fff6bf !important;
}

.circuitTypeRule td {
    height: 24px;
}

.circuitTypeRule td.minWidth {

}

/* Tooltips */
.tooltip {

}

.tooltipContainer {
/*width: 100%;*/
}

/* help */
.divBackColor {
    height: 20px;
    margin: 0;
    padding: 0;
    border: 1px solid #000;
}

.helpTable th {
    white-space: normal !important;
}

.helpTable td {
    text-align: center;
}

div.headerLinks a:link,
div.headerLinks a:visited,
div.headerLinks a:active {
    color: #000;
    text-decoration: underline;
}

div.headerLinks a:hover {
    text-decoration: none;
}

a.top:link,
a.top:visited,
a.top:active {
    color: #000;
    font-size: 11px;
    text-decoration: underline;
}

a.top:hover {
    text-decoration: none;
}

/* emulation of a dynatree look & feel */
.tree p {
    padding-top: 0;
    padding-bottom: 0;

}

.tree .first {
    padding-top: 4px;
    cursor: pointer;
    font-weight: bold;
}

.tree .second {
    padding-left: 20px;
}

.tree img {
    vertical-align: middle;
}

/* circuits details table customization */
.distanceLine td {
    margin: 0 !important;
    padding: 0 !important;
}

.distanceLine p {
    margin-left: 9px;
    height: 23px;
    border-left: 2px solid #CCC;
}

.distanceLine span {
    padding-top: 5px;
    display: inline-block;
}

/* mapFTTHCellPathCaption */

#mapFTTHCellPathCaption p{
    background-color: #EEE;
    border-left: 1px solid #f00;
    border-right: 1px solid #f00;
    color: #000;
}

#mapFTTHCellPathCaption p.header{
    background-color: #02849A;
    color: #FFF;
    border-top: 1px solid #f00;
}

.ui-resizable-helper{
    border: 2px dotted #FF0000;
}



/* ------------------------------------------------- */
/* ------------------------------------------------- */
/* ------------------------------------------------- */
/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.sf-menu {
	line-height:	1.0;
}
.sf-menu ul {
	position:		absolute;
	top:			-999em;
	width:			100%; /* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
	width:			100%;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	float:			left;
	position:		relative;
}
.sf-menu a {
	display:		block;
	position:		relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left:			0;
	top:			2.5em; /* match top ul list item height */
	z-index:		99;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	left:			100%; /* match ul width */
	top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left:			100%; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/
.sf-menu {
	float:			left;
	/*margin-bottom:	1em; */
}
.sf-menu a {
	border-left:	1px solid transparent;
	border-top:		1px solid transparent;
	/*padding: 		.75em 1em;*/
	text-decoration:none;
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#000;
}
.sf-menu li {
	background:		#EEE;
}
.sf-menu li li {
	background:		#EEE;
}
.sf-menu li li li {
	background:		#EEE;
}
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
	background-color: #3399FF;
	outline:		0;
    color: #FFF;
}

/*** arrows **/
.sf-menu a.sf-with-ul {
	padding-right: 	2.25em;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position:		absolute;
	display:		block;
	right:			.75em;
	top:			1.05em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url('../images/arrows-000000.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.4em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
/*
.sf-shadow ul {
	background:	url('../images/shadow.png') no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}
*/

/* custom */
.sf-menu {
}

ul.sf-menu{
    padding: 0 !important;
}

.sf-menu ul{
    padding: 0 !important;
    margin: 0;
}

ul.sf-menu, .sf-menu ul{
    border: 1px solid #FF0000;
}

.sf-menu a {
    padding: 1px 5px 1px 5px;
    color: #000;
    background: no-repeat 6px center;
    line-height: 20px;
}

.sf-menu ul li, .sf-menu ul li li, .sf-menu ul li li li{
    padding: 0;
}

/* Make it a vertical menu (pasted from superfish-vertical.css) */
/*** adding sf-vertical in addition to sf-menu creates a vertical menu ***/
.sf-vertical, .sf-vertical li {
	width:	100%;
}
/* this lacks ul at the start of the selector, so the styles from the main CSS file override it where needed */
.sf-vertical li:hover ul,
.sf-vertical li.sfHover ul {
	left:	100%; /* match ul width */
	top:	0;
}

/*** alter arrow directions ***/
.sf-vertical .sf-sub-indicator { background-position: -10px 0; } /* IE6 gets solid image only */
.sf-vertical a > .sf-sub-indicator { background-position: 0 0; } /* use translucent arrow for modern browsers*/

/* hover arrow direction for modern browsers*/
.sf-vertical a:focus > .sf-sub-indicator,
.sf-vertical a:hover > .sf-sub-indicator,
.sf-vertical a:active > .sf-sub-indicator,
.sf-vertical li:hover > a > .sf-sub-indicator,
.sf-vertical li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/* context menu */
.contextMenuHeader{
    background-color: #02849A;
    color: #FFF;
    border-top: 1px solid #FF0000;
    border-left: 1px solid #FF0000;
    border-right: 1px solid #FF0000;
    padding: 5px 0;
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
    width: 100%;
    /* white-space: nowrap; */
}

.contextmenuSeparator{
    border-top: 1px solid #c0c0c0;
}

.sf-menu li.noIcon a {
    padding: 1px 10px 1px 5px;
}

.sf-menu a.arrow{
    background: url('../images/arrow-right-000000-padded.gif') no-repeat center right;

}

ul.aggregatedCircuitsSubMenu{
    /* Careful when changing this you also need to change tooltip.js lines 217
    "$(".sf-vertical li:hover ul").css("left", "-122px");" and related */
    width: 120px !important;
}

ul.woPlannedCircuitsSubMenu{
    width: 110px !important;
}

.sf-menu ul{
    max-width: 370px;
}

/* cplan only classes */

li.defaultMenuOption{
    font-weight: bold;
}
ul.sf-menu ul li.defaultMenuOption{
    font-weight: normal !important;
}