/*
 * CSS for the general page layout.
 */

body {
	font-family: 'Ubuntu', 'Helvetica', 'Arial', sans-serif;
	font-size: 12pt;
    font-weight: normal;
    letter-spacing: 0.03em;
	height: 100%;
    background-color: #222;
}

input[type=text] {
    -webkit-appearance: none;
}

input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
}

pre {
    font-family: 'Ubuntu Mono', monospace;
    line-height: 1.2em;
    letter-spacing: 0.05em;
}

/* scrollbars for webkit */

::-webkit-scrollbar {
    background: #111;
    border: 1px solid #111;
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #666;
/*     border-radius: 4px; */
    border: 1px solid #111;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

::-webkit-scrollbar-thumb:active {
    background-color: #444;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* scrollbars for IE */

body {
    scrollbar-base-color: #666;
    scrollbar-face-color: #666;
    scrollbar-3dlight-color: #111;
    scrollbar-highlight-color: #666;
    scrollbar-track-color: #111;
    scrollbar-arrow-color: #666;
    scrollbar-shadow-color: #666;
    scrollbar-dark-shadow-color: #111;
}

/* scrollbars for Firefox */

/* and that is all you can set in Firefox :-P */


#panel {
    position: relative;
	width: 100%;
	z-index: auto;
    color: #555;
}

#panel.expanded .collapsed {
    display: none;
}

#panel.collapsed .expanded {
    display: none;
}

#panelbg {
    width: 100%;
	background-color: white;
    vertical-align: top;
    border-collapse: collapse;
    border-spacing: 0;
}

#panelbg tr:first-child {
    height: 50px;
}

#panelbg tr {   /* should be :last-child but ie8... :( */
    height: 70px;
}

#panelbg td {
    vertical-align: top;
    text-align: right;
    padding: 0;
}

.expanded #panelbg td {
    text-align: right;
}

#panelbg td.shrink {
    white-space: nowrap;
}

#panelbg td.stretch {
    width: 99%;
}

#panelbg td.middle,
.collapsed #panel-middle {
    vertical-align: middle;
}

#panel-toggle {
    cursor: pointer;
    color: #555;
    background-color: #eee;
    border-right: 1pt solid #ccc;
    width: 50px;
    vertical-align: middle;
    font-size: 1.6em;
}

#panel-toggle:hover {
    background-color: #ddd;
}

#panel-toggle-span {
    display: inline-block;
    width: 49px;    /* 1px for border */
    text-align: center;
}

#logo-image {
    padding-left: 20px;
    vertical-align: middle;
}

#logo-text {
    padding-left: 20px;
    padding-right: 10px;
    vertical-align: middle;
    color: #07b;
    font-weight: bold;
    font-size: 1.6em;
}

.menu {
	line-height: normal;
	display: block;
}

.menu .menuitem {
	display: inline;
	color: #555;
	cursor: pointer;
	text-decoration: none;
}

.menu .nonlast {
	/*border-style: none solid none none;*/
}

.menu .menuitem:hover {
/* 	background-color: #529E26; */
    color: #07b;
}

#paneltopmenu {
/*    position: absolute;
    top: 0;
    right: 0;*/
/*     float: right; */
    display: inline-block;
    background-color: #eee;
}

#paneltopmenu > * {
    vertical-align: middle;
    text-align: center;
    display: inline-block;
}

#paneltopmenu .menuitem {
    display: inline-block;
    width: 49px;    /* 1px for border */
    height: 50px;
    font-size: 1.6em;
    border-left: 1px solid #ccc;
}

#paneltopmenu .menuitem i {
    line-height: 49px;
    display: inline-block;
    vertical-align: middle;
}

#paneltopmenu .menuitem:hover {
    color: #555;
    background-color: #ddd;
}

#paneltopmenu .menuitem:active {
    color: #333;
    background-color: #ccc;
}

#paneltopmenu #logout {
    color: #fff;
    background-color: #b33;
    width: 50px;
    border: none;
}

#paneltopmenu #logout:hover {
    background-color: #a22;
}

#paneltopmenu #logout:active {
    color: #fdd;
    background-color: #911;
}

#paneltopmenu #gtmail {
    color: #fff;
    background-color: #07b;
    width: 50px;
    border: none;
}

#paneltopmenu #gtmail:hover {
    background-color: #06a;
}

#paneltopmenu #gtmail:active {
    color: #cde;
    background-color: #059;
}

#compactmenu {
    text-align: left;
    font-size: 1.6em;
}

#compactmenu .menuitem {
    display: inline-block;
    padding: 0 5px
}

#linksmenu {
	font-size: 80%;
	padding: 10px;
    display: inline-block;
}			

#linksmenu .menuitem {
	padding-left: 1em;
	padding-right: 0.5em;
}

#linksmenu .menuitem:hover {
    color: #07b;
}

#panelmenu {
    /*display: none;*/
/* 	position: absolute; */
	top: 55px;
	right: 2px;
/* 	font-size: 90%; */
	/*font-style: italic;*/
/* 	font-weight: bold; */
	/*margin: 0 0 5px 0;*/
}

#panelmenu .menuitem {
	padding: 0 1em;
    white-space: nowrap;
}

#panelmenu .menuitem:hover {
    color: #07b;
}

#userinfo {
    display: inline-block;
    padding: 15px;
    font-size: 0.9em;
    height: 20px;
    line-height: 20px;
}

#userinfo .userinfo-label {
    color: #00549d;
    text-transform: uppercase;
}

#gtmailcount {
    color: #FFFFFF;
    background-color: #003373;
    border-radius: 5px;
    position: relative;
    top: -9px;
    width: 30px;
    left: 10px;
    text-align: center;
    font-size: 0.6em;
    padding: 1px;
    z-index: 100;
}

#mainmenu {
    position: absolute;
    top: 120px;
    left: 0px;
    bottom: 0px;
    font-size: 1.6em;
    text-align: center;
    color: #999;
    background-color: #444;
}

.collapsed ~ #mainmenu {
    top: 50px;
}

#mainmenu .menuitem {
    display: block;
    width: 50px;
    height: 49px;
    color: #999;
    border-bottom:  1px solid #777;
}

#mainmenu .menuitem.depressed {
    color: #bbb;
    background-color: #222;
}

#mainmenu .menuitem:hover {
    color: #aaa;
    background-color: #333;
}

#mainmenu .menuitem:active {
    color: #bbb;
    background-color: #222;
}

#mainmenu .menuitem > * {
    line-height: 49px;
    vertical-align: middle;
}

#mainmenu #menuterminal {
    color: #fff;
    background-color: #07b;
}

#mainmenu #menuterminal:hover {
    color: #fff;
    background-color: #06a;
}

#mainmenu #menuterminal:active {
    color: #cde;
    background-color: #059;
}

#indicators {
	position: absolute;
	top: 80px;
	left: 390px;
    background-color: transparent;
}

.collapsed > #indicators {
    top: 8px;
    left: 380px;
}

.indication {
    color: #b33;
}

.indication:hover {
    color: #a22;
}

.indication:active {
    color: #911;
}

#busyindication {
	position: absolute;
	/*z-index: 1000;*/
	top: 30px;
	left: 330px;
}

.busyindication {
	margin-left: 10px;
	margin-bottom: -3px;
}

/* buttons */

.actionButton
{
    cursor: pointer;
    border: none;
    border-width: 1px;
    border-bottom-style: solid;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 3px;
    outline: none;
    margin-bottom: 1px;
}

.actionButton:active {
    border-top-style: solid;
    border-bottom-style: none;
/*     margin-bottom: 0px; */
}

.buttonDark {
    color: #eee;
    background-color: #666;
    border-color: #111;
}

.buttonDark:hover {
    background-color: #555;
}

.buttonDark:active {
    color: #ccc;
    background-color: #444;
}

.buttonLight {
    color: #555;
    background-color: #ddd;
    border-color: #aaa;
}

.buttonLight:hover {
    background-color: #ccc;
}

.buttonLight:active {
    color: #333;
    background-color: #bbb;
    border-color: #999;
}

.buttonBlue {
    color: #fff;
    background-color: #07b;
    border-color: #048;
}

.buttonBlue:hover {
    background-color: #06a;
}

.buttonBlue:active {
    color: #cde;
    background-color: #059;
    border-color: #037;
}

.buttonbar {
    margin-top: 5px;
}

.rightbutton {
    float: right;
    margin-left: 5px;
}

/* windows */

#windowplane {
    margin-left: 50px;
    position: relative;
/*     width: 100%; */
    height: 100%;
}

.window {
    display: block;
	position: absolute;
	border: 1px solid #222;
}

.windowhead {
	height: 30px;
    line-height: 30px;
    background-color: #555;
	color: #eee;
	font-size: 14px;
	cursor: default;
}

.windowtitle {
/* 	line-height: 30px; */
/* 	padding: 5px 0 0 10px; */
    padding: 0 10px;
	overflow: hidden;
	white-space: nowrap;
    text-transform: uppercase;
}

.activehead {
}

/* buttons in window title */
.windowbutton {
    cursor: pointer;
	float: right;
	width: 28px;
    line-height: inherit;
	background-repeat: no-repeat;
    text-align: center;
}

.windowbutton:hover {
    background-color: #444;
}

.windowbutton:active {
    color: #ccc;
    background-color: #333;
}

.windowbutton i {
    line-height: inherit;
    vertical-align: middle;
}

.buttonglue {
    display: none;
	float: right;
}

.windowcontainer {
    background-color: #333;
}

.windowcontent {
    padding: 15px;
}

.formwindow {
    border: 1px solid #1c1c1c;
    border-radius: 10px;
}

.formwindow .windowhead {
    background-color: #FFFFFF;
    color: #07a;
    border-bottom: 1px solid #ccc;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.formwindow .closebutton {
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #555;
    background-color: #ddd;
    border-radius: 15px;
    position: absolute;
    top: -10px;
    right: -10px;
    margin: 0;
}

.formwindow .closebutton:hover {
    background-color: #ccc;
}

.formwindow .closebutton:active {
    color: #333;
    background-color: #bbb;
}

.formwindow .windowcontainer {
    background-color: #fff;
    color: #333;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.formwindow .editorrow {
    height: 30px;
    padding: 5px 0;
}

.formwindow .edit {
/* 	margin: 2px; */
    border: 1px solid #ccc;
    color: #555;
    background-color: #f6f6f6;
    padding: 5px;
    line-height: 18px;
    height: 18px;
    display: inline-block;
}

.formwindow .edit:focus {
    color: #07b;
    border-color: #07b;
    background-color: #fff;
}

.formwindow .label {
	font-size: 90%;
    text-transform: uppercase;
/*	margin: 6px 0 4px 2px;*/
    padding: 0 5px;
    line-height: 30px;
}

.formwindow .partlabel {
    margin-top: 20px;
}

.formwindow .partlabel:first-child {
    margin-top: 0;
}


.editorrow .button {
    width: 35px;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
    font-size: 1.1em;
    text-align: center;
}

.editorrow .button * {
    line-height: inherit;
    vertical-align: middle
}

.reorder {
    float: left;
    color: #07b;
}

.reorder:hover {
    color: #06a;
}

.reorder:active {
    color: #059;
}

.reorderpadding {
    width: 20px;
    float: left;
}

.removerow {
    float: left;
    color: #666;
}

.removerow:hover {
    color: #555;
}

.removerow:active {
    color: #444;
}

.popupwindow {
	position: absolute;
	border: solid 1px #131313;
    border-radius: 5px;
	z-index: 1200;
	background-color: #FFFFFF;
	color: #555;
}

.popupmenu {
	font-size: 100%;
	line-height: normal;
}

.popupmenu .menuitem {
	display: block;
	padding: 0.5em 1em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	color: #555;
    border-bottom: 1px solid #aaa;
}

.popupmenu .menuitem:hover {
	color: #07b;
}

.popupmenu .menuitem:last-child {
    border-bottom: none;
}

#stylepicker {
	border-color: #555;
    background-color: #555;
    overflow: hidden;
}

#sizepicker .menuitem {
/* 	background-color: #0094d6; */
}

#sizepicker .menuitem:hover {
/* 	background-color: #006d9e; */
}

.areaindicator {
    color: #777;
    background-color: #222;
	border-top: solid 1px #333;
	margin: 0;
	white-space: nowrap;
	padding: 10px;
	font-size: small;
	overflow: hidden;
	cursor: pointer;
}

.areaindicator:first-child {
    border-top: none;
}

.areaindicator:hover {
	background-color: #1a1a1a;
	color: #eee;
}

.areaindicator:active {
    background-color: #151515;
    color: #eee;
}

.areaindicatoractive {
	background-color: #07b;
	color: #FFFFFF;
}

.areaindicatoractive:hover {
    background-color: #06a;
}

.areaindicatoractive:active {
    background-color: #059;
    color: #cde;
}

.areaindicator + .label {
	margin-top: 8px
}

#context {
}

#context select {
	width: 100%;
	margin-top: 2px;
    color: #7b7b7b;
    background-color: #1c1c1c;
    border: none;
    font-size: small;
    cursor: pointer;
}

#context select option {
    padding: 1px 3px;
}

option:checked,
select:-internal-list-box option:checked,
#context select option:checked {
    background-color: #07b;
    color: #fff;
}

select:-internal-list-box option:hover,
select option:hover {
    background-color: #0078bd;
    color: #FFFFFF;
}

#context .label {
	padding-left: 0;
    font-size: 0.9em;
    color: #eee;
    margin-top: 15px;
    margin-bottom: 1px;
    text-transform: uppercase;
}

#context .label:first-child {
	margin-top: 2px;
}

#shortcuts {
}

#shortcuts .windowcontent {
	width: 670px;
}

#shortcuts .label {
}

.shortcuttitle {
	width: 100px;
	float: left;
}

.shortcutevent {
	width: 150px;
	float: left;
}

.shortcutcommand {
	width: 250px;
	float: left;
}

.edit.shortcuttitle {
    border-left-style: hidden;
    border-radius: 0;
}

.edit.shortcutevent {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.edit.shortcutcommand {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left-style: hidden;
}

.shortcuttitle:focus, .shortcutcommand:focus {
    border-left-style: solid;
    margin-left: -1px;
}

.shortcutsend {
	float: left;
}

input.shortcutsend {
	margin-top: 8px;
	margin-left: 20px;
	margin-right: 25px;
}

#buttons .windowcontent {
    width: 704px;
    padding: 0px;
}

.shortcutbutton {
    color: #eee;
    border: none;
	border-top: 1px solid #333;
    border-right: 1px solid #333;
    margin: 0;
	padding: 5px;
	width: 117.3px;
    height: 30px;
    cursor: pointer;
    overflow: ellipsis;
}

.shortcutbutton div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.buttonsend {
	background-color: #666;
}

.buttonsend:hover {
	background-color: #555;
}

.buttonsend:active {
    color: #ccc;
    background-color: #444;
}

.buttonappend {
    color: #999;
    background-color: #444;
}

.buttonappend:hover {
    color: #aaa;
    background-color: #333;
}

.buttonappend:active {
    color: #bbb;
    background-color: #222;
}


#links .windowcontent {
	width: 600px;
}

.linktitle {
    width: 200px;
    float: left;
}

.linkurl {
    width: 300px;
    float: left;
}

.edit.linktitle {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.edit.linkurl {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left-style: hidden;
}

.linkurl:focus {
    border-left-style: solid;
    margin-left: -1px;
}

.messagepopupwindow {
    border-color: #b33;
    border-radius: 5px;
}

.messagepopup {
	background-color: #fff;
	color: #b33;
    border-radius: 5px;
	padding: 0.5em;
	cursor: default;
}

#informationpopup, #edgeprintpopup {
	padding: 3em;
	width: 370px;
	margin: 0 auto;
	position: relative;
	top: 120px;
    z-index: 2100;
    text-align: center;
}

#supportInfo .windowcontent {
    width: 550px;
}

#edgeprintpopup {
    width: 400px;
}

#informationpopup .fa-stack, #edgeprintpopup .fa-stack {
	color: #07b;
}

.clear {
	clear: both;
}

.clear::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}


#paster {
	width: 0px;
	position: absolute;
	left: -100px;
}

.printframe, .fileframe {
	width: 0px;
	position: absolute;
	left: -500px;
	top: -500px;
}

/*
 * Dialog styles
*/

#dialog {
	display: none;
	z-index: 2000;
	position: relative;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

#dialogcontainer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0 auto;
}

.dialogoverlay {
	display: none;
	z-index: 2000;
	left: 0;
	top: 0;
	background-color: black;
	opacity: 0.8;
	filter: alpha(opacity=70);
}

#dialogoverlay {
	position: fixed;
	width: 100%;
	height: 100%;
}

#ie6overlay {
	position: absolute;
	width: 200%;
	height: 200%;
}

#dialogframe {
	display: none;
	position: fixed;
	z-index: 2001;
	background-color: white;
	border: 2pt solid black;
	width: 86%;
	height: 80%;
	top: 10%;	
	left: 7%;
}


#context .closebutton,
#calendar .closebutton,
#buttons .closebutton
{
/*     display: none; */
}

.terminalwindow .windowhead {
    height: 30px;
    line-height: 30px;
    color: #999;
    background-color: #555;
}

.terminalwindow .windowhead.activehead {
    color: #fff;
    background-color: #06a;
}

.terminalwindow .windowtitle {
    line-height: inherit;
    padding: 0 10px;
/*     font-weight: bold; */
    text-transform: uppercase;
}

.terminalwindow .windowbutton {
    margin: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.terminalwindow .activehead .windowbutton:hover {
    background-color: #059;
}

.terminalwindow .activehead .windowbutton:active {
    background-color: #037;
}

.terminalwindow .windowbutton span {
    line-height: inherit;
}

.terminalwindow .activehead .closebutton {
    color: #015;
}


.layoutpreview {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #aaa;
}

.layoutpreview:last-child {
    border-bottom: none;
}

.layoutpreviewwin {
    display: inline-block;
    width: 15px;
    height: 8px;
    border: 1px solid black;
    margin: 1px;
}

.layoutpreview:hover .layoutpreviewwin {
    border-color: #07b;
}


#a-click-ctrl {
    background: rgba(255,255,255,0.4);
    opacity: 0.5;
    position: absolute;
    bottom: 0;
    right: 9px;
    padding: 5px;
    border-radius: 3px;
}

#a-click-ctrl:hover {
    opacity: 1; 
}

#a-click-ctrl-pax {
    box-sizing: content-box;
    padding: 3px;
    border: none;
}

#fd-click-dialog, #unroll-text-dialog {
    z-index: 2110;
}

#a-click-ctrl .actionButton {
    padding: 2px 5px;
}

#fd-book-2-carrier {
    margin-left: 10px;
    width: 30px;
    text-transform: uppercase;
}


.selectWrapper {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 70px;
    overflow: hidden;
    border: 1px solid #555;
    border-radius: 3px;
    margin-top: -4px;
}

.selectWrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 85px;
    border: none;
    outline: none;
}

.selectWrapper::before,
.selectWrapper::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.selectWrapper::after { /*  Custom dropdown arrow */
    content: "\f107";
    font-family: "FontAwesome";
    font-weight: bold;
    color: #555;
    font-size: 120%;
    line-height: 25px;
    right: 5px;
    top: 0px;
}

.selectWrapper::before { /*  Custom dropdown arrow cover */
    width: 2em;
    right: 0; top: 0; bottom: 0;
    border-radius: 0 3px 3px 0;
}



.terminal-size-1 + #a-click-ctrl {
    font-size: 12px;
    padding-bottom: 4px;
    padding-top: 6px;
}

.terminal-size-1 + #a-click-ctrl #a-click-ctrl-pax {
    line-height: 14px;
    height: 14px;
}

.terminal-size-2 + #a-click-ctrl {
    font-size: 14px;
    padding-top: 6px;
}

.terminal-size-2 + #a-click-ctrl #a-click-ctrl-pax {
    line-height: 16px;
    height: 16px;
}

.terminal-size-4 + #a-click-ctrl {
    font-size: 19px;
}

.terminal-size-4 + #a-click-ctrl #a-click-ctrl-pax {
    line-height: 22px;
    height: 22px;
}

.terminal-size-4 + #a-click-ctrl .selectWrapper {
    width: 85px;
}

.terminal-size-4 + #a-click-ctrl .selectWrapper select {
    width: 100px;
}

.terminal-size-4 + #a-click-ctrl .selectWrapper::after {
    line-height: 30px;
}

.terminal-size-5 + #a-click-ctrl {
    font-size: 22px;
}

.terminal-size-5 + #a-click-ctrl #a-click-ctrl-pax {
    line-height: 24px;
    height: 24px;
}

.terminal-size-5 + #a-click-ctrl .selectWrapper {
    width: 90px;
}

.terminal-size-5 + #a-click-ctrl .selectWrapper select {
    width: 105px;
}

.terminal-size-5 + #a-click-ctrl .selectWrapper::after {
    line-height: 32px;
}



@media (max-width: 1200px) {
    #panel.expanded .collapsed {
        display: inline-block;
    }

    #panel .expanded, #panel #panel-toggle {
        display: none;
    }

    #panelbg #panel-middle {
        vertical-align: middle;
        text-align: left;
    }

    #panel #indicators {
        top: 8px;
        left: 330px;
    }

    #mainmenu {
        top: 50px;
    }
}

@media (max-width: 890px) {
    #userinfo {
        display: none;
    }
}

