/* General */
/* vim: set expandtab tabstop=4 shiftwidth=4: */
html {
    padding: 0px;
    margin: 0px;
}
img {
    border: none;
}
a {
    font-size: 12px;
    background-color: transparent;
    text-decoration: none;
}
body {
    min-width: 1200px;
    font-size: 12px;
    font-family: Verdana, Arial, SunSans-Regular, Sans-Serif;
    color: #564b47;
    text-align: center;
    margin: 0px;
    padding: 0px;
    background-image: url(../../images/head_background.png);
    background-repeat: repeat-x;
}
p, pre {
    margin: 0px 10px 14px 0px;
}
h1 {
    margin-top: 0px;
    font-size: 16px;
}
h2 {
    font-size: 14px;
}
dl {
    padding-top: 15px;
    margin: 0px;
}
dl img {
    vertical-align: middle;
}
dt, dd {
    line-height: 22px;
    color: #ffffff;
}
dt {
    background-color: #666666;
    padding-left: 10px;
    border-bottom: solid #cccccc 1px;
}
dt a {
    color: #ffffff;
}

/* Structure */
#box {
    width: 950px;
    margin: 0px auto;
    padding: 0px;
    text-align: left;
}
#head {
    height: 80px;
    background-color: #eee;
    border-bottom: solid #666666 6px;
}
#left {
    width: 160px;
    padding: 0px;
    margin: 0px;
    float: left;
}
#content {
    width: 770px;
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 0px;
    padding-bottom: 10px;
    float: left;
    background-color: #fff;
    overflow: visible;
}

/* Header */
#logo {
    padding-top: 5px;
    padding-left: 5px;
}
#headcontent {
    float: right;
    padding-top: 5px;
    padding-right: 5px;
    text-align: right;
}
#logoutarea {
    font-weight: bold;
}
#logoutarea a {
    color: #000000;
}
#logoutarea a:hover {
    background-color: #ff9999;
}

#logoutarea a span {
    display: inline-block;
    max-width: 640px;
    overflow: hidden;

    vertical-align: -3px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Menu */
#menu .first, #supportmenu .first {
    background-color: transparent;
    background-image: url(../../images/menu_first.png);
    background-repeat: no-repeat;
    border-bottom: none;
}
/*
#menu .last {
    background-color: transparent;
    background-image: url(../../images/menu_last.png);
    background-repeat: no-repeat;
    border-bottom: none;
}*/
#menu .last {
    background-color: transparent;
    background-image: url(../../images/mainmenu_last.png);
    background-repeat: no-repeat;
    border-bottom: none;
    height: 10px;
}
#supportmenu .last {
    background-color: transparent;
    background-image: url(../../images/supportmenu_last.png);
    background-repeat: no-repeat;
    border-bottom: none;
    height: 10px;
}
#menu dd, #supportmenu dd{
    padding-left: 0px;
    margin-left: 0px;
    background-color: #d3d3d3;
}
#menu ul  {
    list-style: none;
    padding: 0px;
    margin: 0px;
    border-left: solid #666666 1px;
    border-right: solid #666666 1px;
}
#supportmenu dt.first a:hover {
    background: transparent;
    text-decoration: underline;
}

#menu li a, #supportmenu li a {
    padding-left: 10px;
    display: block;
    color: #000000;
}
#menu li a:hover {
    background-color: #999999;
    color: #ffffff;
}
#supportmenu ul {
    background-color: #e8fee8;
    list-style: none;
    padding: 0px;
    margin: 0px;
    border-left: solid #dcdcdc 1px;
    border-right: solid #dcdcdc 1px;
}
#supportmenu li a:hover {
    background-color: #999999;
    color: #ffffff;
}

table {
    font-size: 12px;
}
th {
    background-color: #cccccc;
    padding: 3px 5px;
}
tr {
    vertical-align: top;
}
td {
    padding: 3px 5px;
}
/* @TODO rename me to divButton */
.buttondiv {
    margin-left: 10px;
    float: right;
    background-color: #e8fee8;
    text-align: left;
    border: solid #999999 1px;
    margin-bottom: 10px;
}
.buttondiv input {
    padding: 5px;
    float: left;
}
.buttondiv a {
    float: left;
    display: block;
    padding: 5px;
    text-decoration: none;
    color: #000;
    vertical-align: top;
}
.buttondiv a:hover {
    text-decoration: underline;
}
.buttondiv a img {
    padding-right: 10px;
    vertical-align: top;
}
#login {
    border: dashed #999 2px;
    width: 400px;
    background-color: #eee;
    margin-left: 115px;
    margin-top: 50px;
    padding-bottom: 10px;
    text-align: center;
}
#login h1 {
    padding-top: 10px;
    text-align: left;
    padding-left: 10px;
}
#login table {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
#forgotPassword {
    margin: 20px;
    padding-left: 96px;
    font-weight: bold;
    float: left;
}
#forgotPassword a {
    color: black;
    text-decoration: underline
}
#forgotRecoveryCodes {
    margin: 20px;
    padding-right: 230px;
    font-weight: bold;
    float: right;
}
#forgotRecoveryCodes a {
    color: black;
    text-decoration: underline
}
/* TODO removeme */
.errorMessage, .loadingErrorMessage {
    width: 700px;
    background-color: #FFE4E1;
    min-height: 20px; border:
    solid gray 1px;
    margin-bottom: 20px;
    text-align: center;
    padding: 5px;
    font-weight: bold;
    vertical-align: middle;
}
/* TODO removeme */
.errorMessage img, .loadingErrorMessage img {
    padding-right: 10px;
}
/* TODO removeme */
.warningMessage {
    background-color: #fffacd; /* lemon chiffon */
    min-height: 20px;
    border: solid gray 1px;
    margin-bottom: 20px;
    text-align: center;
    padding: 5px;
    font-weight: bold;
    vertical-align: middle;
}
/* TODO removeme */
.successMessage {
    background-color: #e8fee8;
    min-height: 20px; border:
    solid gray 1px;
    margin-bottom: 20px;
    text-align: center;
    padding: 5px;
    font-weight: bold;
    vertical-align: middle;
}
.profiletable input {
    width: 180px;
}
.buyproduct {
    padding: 5px;
    background-color: #e8fee8;
    text-align: left;
    border: solid #999999 1px;
    margin-bottom: 10px;
    width: 250px;
}
.buyproduct a {
    color: #000000;
}
.buyproduct a:hover {
    text-decoration: underline;
}

.buyproduct ul li {
    margin-top: 10px;
    background-color: #e8fee8;
    border: solid #999999 1px;
    line-height: 14px;
    list-style: none;
}
#toollinks {
    font-weight: bold;
    height: 40px;
    width: 500px;
    margin-left: 80px;
    margin-top: 50px;
    text-align: center;
    vertical-align: top;
    max-width: fit-content;
    margin-left: 160px;
}
#toollinks div {
    float: left;
    border: dotted #999999 1px;
    background-color: #eeeeee;
    margin-left: 10px;
    width: 140px;
    height: 25px;
}
#toollinks img {
    vertical-align: middle;
}
#toollinks div a {
    font-size: 14px;
    padding-top: 4px;
    text-decoration: none;
    color: #4169E1;
    display: block;
}
#toollinks div a:hover {
    background-color: #e8fee8;
}
.infoText {
    font-size: 12px;
    float: left;
    padding-bottom: 10px;
}
.inputLabel {
    font-weight: bold;
    width: 150px;
}
.sideInfo {
    width: 300px;
    padding-left: 10px;
    padding-bottom: 10px;
    color: #564b47;
}
#paymentAccount {
    float: left;
}
.paymentAccountLabel {
    width: 250px;
}
.paymentAccountPrice {
    text-align: right;
}
#paymentDetails {
    float: right;
    padding-left: 40px;
}
.paymentDetailsLabel {
    width: 180px;
}
.paymentTable {
    padding-top: 10px;
    padding-bottom: 10px;
}
.smalltext {
    font-size: 10px;
}

#tabdiv, .tabdiv {
    float: left;
    width: 100%;
    /*background: #F4F4F4;*/
    font-size: 93%;
    line-height: normal;
    border-bottom: solid #cccccc 2px;
    margin-bottom: 10px;
    }
#tabdiv ul, .tabdiv ul {
    margin: 0;
    padding: 10px 10px 0px 0px;
    list-style: none;
    }
#tabdiv li,.tabdiv li {
    display: inline;
    margin: 0;
    padding: 0;
    }
#tabdiv a, .tabdiv a {
    float: left;
    background: url("../../images/tableft.gif") no-repeat left top;
    margin: 0;
    padding: 0 0 0 4px;
    text-decoration: none;
    }
#tabdiv a span, .tabdiv a span {
    float: left;
    display: block;
    background: url("../../images/tabright.gif") no-repeat right top;
    padding: 5px 15px 4px 6px;
    color: #666;
    }
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabdiv a span, .tabdiv a span {float: none;}
/* End IE5-Mac hack */
#tabdiv a:hover, #tabdiv .selected a, .tabdiv a:hover, .tabdiv .selected a {
    background-position: 0% -42px;
    }
#tabdiv a:hover span, #tabdiv .selected a span, .tabdiv a:hover span, .tabdiv .selected a span {
    color: #000;
    background-position: 100% -42px;
    }

#pagehelp {
    float: right;
    text-decoration: none;
    width: 160px;
    height: 32px;
    margin: -20px -174px 0 0;
}
#pagehelp img {
    margin: 3px 3px 0 0;
    padding: 0;
    display: block;
    float: left;
}
#pagehelp a {
    /*color: #564b47;
    margin: 4px;
    display: block;
    vertical-align: top;*/
}
#pagehelp a:hover {
    background-color: #e8fee8;
}
#pagehelp p {
    font-size: 11px;
    line-height: 24px;
    font-weight: bold;
}

/* CP TABLE start */
.cptable {
    border: 0px solid red;
    border-spacing: 0px;
}
.cppagertable {
	margin: 15px 0;
}

.cpdomaintable td {
	max-width: 474px;
	word-wrap: break-word;
}

.cptable > tr, .cptable > th,
.cptable > tbody > tr, .cptable > tbody > th,
.cptable > thead > tr, .cptable > thead > th,
.cptable > tfoot > tr, .cptable > tfoot > th {
    height: 23px;
}
.cptable > td input,
.cptable > thead > td input,
.cptable > tbody > td input,
.cptable > tfoot > td input {
    padding: 5px;
    float: left;
}
.cptable > td img,
.cptable > thead > td img,
.cptable > thead > td img,
.cptable > tfoot > td img {
    vertical-align: top;
}
.cptable .odd {
    background-color: #fff;
}
.cptable .even {
    background-color: #eee;
}
.cptable .edit {
    background-color: #fffacd; /* lemon chiffon */
}
/* CP TABLE end */

/** error/success/processing divs start */
.divProcessing, .divSuccess, .divError, .divWarning,
.message-error, .message-warning, .message-success {
    background-color: #c0c0c0; /* silver */
    display: block;
    margin: 10px 0px 10px 0px;
    padding: 11px 40px;
    border: 1px dashed black;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: 15px center;
}
.divProcessing {
    background-color: #fffacd; /* lemon chiffon */
    background-image: url('../../images/processing.png');
}
.divWarning,
.message-warning {
    background-color: #fffacd; /* lemon chiffon */
    background-image: url('../../images/warning.png');
}
.divSuccess,
.message-success {
    background-color: #e8fee8; /* ? */
    background-image: url('../../images/success.png');
}
.divError,
.message-error {
    background-color: #ffe4e1; /* misty rose */
    background-image: url('../../images/error.png');
}
.divProcessing strong, .divSuccess strong, .divError strong, .divWarning strong {
    font-weight: 900;
}
/** error/success/processing divs end */

.green {
    color: green;
}
.red {
    color: red;
}
.orange {
    color: #ff4500;
}
.separator {
    clear: both;
}
.notificationText {
    color: red;
    font-weight: bold;
}
.plain {
    margin: 0;
    padding: 0;
    list-style: none;
}
.plain li {
    margin: 0;
    padding: 0;
}

#mask, #maskTimeout {
    width: 100%;
    height: 100%;
    background: #ffffff;
    -moz-opacity: 0.50;
	-khtml-opacity: 0.50;
	opacity: 0.50;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
	filter:alpha(opacity=50);
    margin: 0px;
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    z-index: 1000;
    cursor: wait;
    margin: 0px;
    padding: 0px;
}

#loading, #loadingWrp {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 2000;
	cursor: wait;
}

#loadingWrp {
	cursor: default;
}

#loading div {
    width: 100px;
    height: 100px;
    margin: 200px auto;
    font-size: 500%;
    cursor: wait;
}

#sTimeout {
	width: 402px;
	height: 134px;
	margin: 300px auto;
}

	#sTimeout .tTitle {
		display: inline-block;
		width: 370px;
		height: 25px;
		padding: 5px 15px 0;
		vertical-align: middle;
		background: grey; /* Replace with stylish gradient */
		color: #fff;

		margin: 0;

		border: 1px solid grey;
		border-bottom: none;
		-webkit-border-top-left-radius: 5px;
		-webkit-border-top-right-radius: 5px;
		-moz-border-radius-topleft: 5px;
		-moz-border-radius-topright: 5px;
		border-top-left-radius: 5px;
		border-top-right-radius: 5px;
	}

	#sTimeout .tContent {
		display: inline-block;
		width: 350px;
		height: 82px;
		padding: 10px 25px;

		line-height: 1.6;

		background: #fff;
		border: 1px solid grey;
		border-top: none;
	}

#sTimeout .buttondiv {
  margin: -51px 11px 0 0;
  position: relative;
}

/* @TODO */
.smt {
    font-size: 0.9em;
}

.smt .inputLabel {
    width: 60px;
}

.smt td {
    vertical-align:middle;
}

.smtc {
    text-align: center;
}

#revColSrv, #revColSrv, #revColInfo, #revColChannel, #revColUser {
    position: absolute;
    margin: 1px 0 0;
    padding: 3px 4px;
    background: #fff;
    z-index: 10;
}

.tsvErr, #revColSrv, #revColInfo, #revColChannel, #revColUser {
    border: 1px solid red;
}

.tsvErr {
    padding: 2px 0;
}

.tsvColorPicker .FullColorPicker {
    z-index: 100;
    width: 439px;
}

#tsvCA { /* Code Area - For the user js code */
    clear: both;
    width:100%;
    border:1px solid #eee;
    padding: 4px;
    margin:20px 0 0;
}

#tsvCA textarea {
    width: 100%;
    height: 100px;
    resize: vertical;
}
.gdprTable {
    border: solid grey 1px;
    border-collapse: collapse;
}
.gdprTable td {
    border: solid grey 1px;
    border-collapse: collapse;
    width: 20%;
}

/**
 * Plumubs JS styling
 */

#plumbus {
    display: none;
}

#plumbus.plumbusLoaded {
    display: block;
}

.plumbusLoading {
    width: 100%;
    text-align: center;
    font-size: 1.2em;
}

.plumbusError {
    color: red;
    font-weight: bold;
    margin: 0 2px;
}

#plumbus .cptable {
    width: 100%;
}

#plumbus .cptable > tr:nth-child(2n),
#plumbus .cptable > thead > tr:nth-child(2n),
#plumbus .cptable > tbody > tr:nth-child(2n),
#plumbus .cptable > tfoot > tr:nth-child(2n) {
    background: #eee;
}

.textLoader {
    margin: 0 3px;
    vertical-align: -3px;
}

.svgIcon {
    width: 22px;
    height: 22px;
    margin-right: -3px;
    margin-left: -3px;
}

.proxmoxLogo {
    width: 16px;
}

/** Ipax button aka new button div **/
.ipaxButton {
    margin: 0 0 10px 10px;
    padding: 7px 5px 7px 35px;
    font-size: 12px;
    text-align: left;
    text-decoration: none;
    border: solid #999 1px;
    color: #000;
    background: #e8fee8 8px center no-repeat;
    cursor: pointer;
}

.ipaxButton:hover {
    text-decoration: underline;
}

.ipaxButton:disabled {
    background-color: #eee;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    cursor: not-allowed;
}

.ipaxButton:disabled:hover {
    text-decoration: none;
}

.cptable .ipaxButton {
    margin-bottom: 0;
}

.ipaxButton.out {
    background-image: url(../../images/door_out.png);
}

.ipaxButton.startEdit {
    background-image: url(../../images/edit.png);
}

.ipaxButton.cancel {
    background-image: url(../../images/cancel.png);
}

.ipaxButton.save {
    background-image: url(../../images/save.png);
}

.ipaxButton.add {
    background-image: url(../../images/add.png);
}

.ipaxButton.delete {
    background-image: url(../../images/delete.png);
}

.ipaxButton.computerGo {
    background-image: url(../../images/computer_go);
}

.ipaxButton.computerStop {
    background-image: url(../../images/computer_delete.png);
}

.ipaxButton.controlStop {
    background-image: url(../../images/control_stop.png);
}

.ipaxButton.controlPlay {
    background-image: url(../../images/control_play.png);
}

.ipaxButton.controlRepeat {
    background-image: url(../../images/control_repeat.png);
}

.ipaxButton.controlRepeatBlue {
    background-image: url(../../images/control_repeat_blue.png);
}

.ipaxButton.controlTelevision {
    background-image: url(../../images/television.png);
}

.ipaxButton.cdGo {
    background-image: url(../../images/cd_go.png);
}

.ipaxButton.wrench {
    background-image: url(../../images/wrench.png);
}

.ipaxButton.wrenchOrange {
    background-image: url(../../images/wrench_orange.png);
}

.ipaxButton.monitorGo {
    background-image: url(../../images/monitor_go.png);
}

.ipaxButton.basketAdd {
    background-image: url(../../images/basket_add.png);
}

.ipaxButton.loading {
    background-image: url(rest/images/loader.gif);
}
.ipaxButton.orderUpgrade {
    background-image: url(../../images/basket.png);
}
.ipaxButton.cog {
    background-image: url(../../images/cog.png);
}
.ipaxButton.key {
    background-image: url(../../images/key.png);
}
.ipaxButton.lock {
    background-image: url(../../images/lock.png);
}
.helpMenu li {
    display: block;
    float: left;
    margin: 0 10px 0 0;
}
.paypalError {
  background: #fadbd8;
  border: 3px dashed #ec5f5f;
  margin: 0 0 7px;
  padding: 4px;
}
.paypalError h3 {
    margin: 0;
}
.paypalError h3 {
    margin-bottom: 6px;
}
.saveButton {
    font-size: 12px;
    background: url(../../images/save.png); 
    background-position: 5px 5px;
    background-repeat: no-repeat; 
    background-color: #e8fee8;
    display: block; 
    margin-left: 10px; 
    padding: 4px 5px 7px 30px;
    float: right;
    border: solid #999999 1px;
}
.saveButton:hover {
    text-decoration: underline;
}
.loginButton {
    float: none;
    max-width: fit-content;
    height: 21px;
    margin: auto;
    margin-top: 15px;
    padding: 6px 5px 0px 5px;
    cursor: pointer;
    color: #000;
}
.loginButton img {
    padding-right: 10px;
    vertical-align: top;
}
.loginButton:hover span {
    text-decoration: underline;
}

.restriction-inactive {
    color: red;
}

.restriction-active {
    color: green;
}

#uploadtable {
    width: 100%;
}

.sslUploadInput label {
    font-weight: bold;
}