
body {
	font: normal normal normal 62.5%/1.2 Helvetica, Verdana, "Corbid", "Lucida Grande";
	background: #eee url(../img/body_bg.gif) top center repeat-y;
	height: 100%;
}

#wrapper {
	width: 960px;
	margin: 0 auto;
	background-color: #fff;
	padding: 0;
	font-size: 1.1em;
}

#masthead {
    height: 32px;
    padding: 32px 0 16px 0;
    overflow: hidden;
    position: relative;
}

#primary-content {
    position: relative;
}

.clear {
    clear: both;
    line-height: 0.2;
    font-size: 5px;
}

a {
    color: #008ee3;
    text-decoration: none;
}

h1 {
    float: left;
    width: 162px;
    height: 32px;
    text-indent: -9000px;
    overflow: hidden;
    background: transparent url(../img/lemonbox.png) top left no-repeat;
    margin-right: 30px;
    display: block;
}

h1 a {
    display: block;
    line-height: 32px;
}

.version-info {
    position: absolute;
    height: 32px;
    display: block;
    left: 190px;
    top: 37px;
}

.user-greeting {
    position: absolute;
    bottom: 16px; right: 0;
}


label {
    font-weight: bold;
    display: block;
}

.form-field-row {
    margin-bottom: 8px;
}

#menu {
    width: 960px;
    height: 45px;
    background-color: black;
    overflow: hidden;
    position: relative;
}

#menu li {
    float: left;
    height: 25px;
    padding: 0 16px;
    border-right: 1px solid #ccc;
}

#menu li.active, #menu li.in-path {
    background-color: #008ee3;
}

#menu li a {
    display: block;
    line-height: 25px;
    color: white;
    text-decoration: none;
}

#menu li li {
    height: 20px;
    padding: 0 0 0 16px;
    border: 0;
}

#menu li li a {
    line-height: 20px;
}

#menu li li.active a {
    color: black;
}

#menu ul {
    width: 960px;
    background-color: #008ee3;
    height: 20px;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: 10;
    display: none;
    font-size: 0.94em;
}

#menu li.in-path ul {
    display: block;
}


.user-notice {
    background-color: #fffaa2;
    border: 1px solid #fff229;
    margin-top: 4px;
    padding: 8px;
    overflow: hidden;
}

h2 {
    font-size: 1.4em;
    font-weight: normal;
    width: 660px;
    float: left;
    padding-top: 18px;
}


.headerbar {
    margin: 4px 0 8px 0;
    border-top: 1px solid #555;
    overflow: hidden;
}


.sidebar {
    width: 250px;
    float: left;
    border-top: 1px solid #555;
    padding-top: 12px;
}

.content {
    float: right;
    width: 690px;
}



.gridview {
    margin-bottom: 10px;
}

.gridview table {
    border-collapse: collapse;
    width: 100%;
}

.gridview th {
    background-color: black;
    color: white;
    text-align: left;
    padding: 2px 8px;
    font-weight: normal;
}

.gridview td {
    padding: 12px 8px;
    border-bottom: 1px dashed #ccc;
    vertical-align: middle;
}

.gridview tr.alt td {
    background-color: #f0f0f0;
}

.gridview tr.over td {
    background-color: #e4e4e4;
}

.gridview .pagination {
    overflow: hidden;
    margin-top: 8px;
}

.gridview .pagesize_select {
    float: left;
    width: 200px;
}

.gridview .pagination a {
    color: black;
}

.gridview .pagination a.active {
    font-weight: bold;
    color: #008ee3;
}

.gridview .page_select {
    float: right;
}



.icon-button {
    width: 16px; height: 16px;
    display: block;
    float: right;
    background: transparent url(../img/edit_icon.png) top left no-repeat;
    text-indent: -9000px;
    overflow: hidden;
    padding-left: 2px;
}

.icon-button.delete {
    background-image: url(../img/delete_icon.png);
    background-position: 0 -1px;
}



/*
 Searchbar
*/

.searchbar {
    float: right;
    padding-top: 12px;
    margin-bottom: 0;
}

.searchbar input[type=text] {
    background: transparent url(../img/search.png) 4px center no-repeat;
    padding-left: 21px;
}




input[type=text], input[type=password] {
    border: 1px solid #ccc;
    border-top-color: #999;
    padding: 3px;
}

input[type=submit] {
    background-color: #b3e001;
    border: 1px solid #789600;
    color: white;
    
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;	
    -moz-border-radius: 5px;
    border-radius: 5px;
        padding: 1px;
}


/*
 Newsletter list
*/

.newsletters-list .title {
    width: 395px;
}

.newsletters-list .created-at {
    width: 150px;
}

.newsletters-list .published-at {
    width: 150px;
}

.newsletters-list .author {
    width: 150px;
}

.newsletters-list .actions {
    width: 44px;
}


.gridview .icon-cell {
    padding-left: 30px;
    background-position: 8px center;
    background-repeat: no-repeat;
    background-image: url(../img/newsletter_icon.png);
}

.recipients-list .icon-cell {
    background-image: url(../img/user_icon.png);
}

.flippages-list .icon-cell {
	background-image: url(../img/flippage_icon.png);
}

.mailouts-list .icon-cell {
    background-image: url(../img/mailout_icon.png);
}



/* 
 Newsletter/flippage layout
*/

.newsletter-layout, .flippage-layout {
    background-color: #eee;
    padding: 30px 45px;
}

.newsletter-layout-inner {
    background-color: white;
    padding: 14px 0;
    border: 1px solid #555;
}

.newsletter-layout .header {
    height: 96px;
    text-indent: -9000px;
    overflow: hidden;
    background: transparent url(../img/newsletter_header.png) top left no-repeat;
    margin: 0 14px 25px 14px;
}

.newsletter-layout h3 {
    font-size: 2.4em;
    margin: 8px 0 12px 0;
    color: #555;
}

.newsletter-layout h4 {
    font-size: 1.8em;
    padding-top: 15px;
    color: #555;
}

.header-2 .article-text {
    border-top: 1px dashed #555;
}

.newsletter-layout h5 {
    font-size: 1.3em;
    color: #3f7ec9;
}

.newsletter-layout .link a {
    color: #009;
    font-size: 1.1em;
    font-weight: bold;
    display: block;
    margin-top: 10px;
    text-decoration: underline;
}

.newsletter-layout .layout-row {
    padding: 9px 14px;
    position: relative;
}

.newsletter-layout .layout-row.over {
    background-color: #eee;
}

.newsletter-layout .header-1 input[type=text] {
    width: 450px;
    font-size: 2.4em;
    font-family: helvetica;
    font-weight: bold;
    color: #555;
    margin: 8px 0 12px 0;
}

.newsletter-layout .header-2 input[type=text] {
    font-size: 1.8em;
    width: 450px;
    margin-top: 15px;
    color: #555;
    font-family: helvetica;
    font-weight: bold;
}

.article-text textarea {
    width: 264px;
    height: 145px;
}

.sort-handle {
    position: absolute;
    top: 0; right: 0;
    width: 30px; height: 30px;
    background: transparent url(../img/sort_handle.png) top left no-repeat;
    display: none;
}

.over .sort-handle {
    display: block;
    cursor: move;
}

.update_sequence_form {
	margin-bottom: 10px;
	overflow: hidden;
}

.newsletter-layout .col {
    float: left;
    width: 274px;
    margin-right: 22px;
}

.newsletter-layout .col.wide {
    width: 570px;
    margin-right: 0;
}

.article-image img {
    width: 274px;
    margin-bottom: 5px;
}

body .newsletter-layout .last {
    float: right;
    margin-right: 0;
}

.add_row_elements, .add_page_elements {
    position: relative;
}

#add_row_button, #add_page_button {
    width: 30px;
    height: 30px;
    background: transparent url(../img/add_column_button.png) top left no-repeat;
    position: relative;
    overflow: visible;
    margin: 14px 0 0 14px;
}

#add_row_popup, #add_page_popup {
    position: absolute;
    top: 15px; left: 15px;
    padding: 25px 10px 10px 10px;
    display: none;
    background-color: #ccc;
    overflow: hidden;
    
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;	
    -moz-border-radius: 6px;
    border-radius: 6px;
    }

#add_page_popup {
    top: 0; left: 55px;
}

#add_row_popup.popup-win-visible, 
#add_page_popup.popup-win-visible {
    display: block;
}


.flippage-layout {
	border-bottom: 1px solid #666;
}

.layout-page {
	
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;	
    -moz-border-radius: 6px;
    border-radius: 6px;
    	background-color: #ccc;
	padding: 10px;
	margin: 0 20px 10px 0;
}

.layout-row .icon-button, 
.layout-page .icon-button {
    position: absolute;
    top: 9px; left: 5px;
    display: none;
}

#newsletter-layout-rows .over .icon-button, 
#flippage-layout-rows .over .icon-button {
    display: block;
}

.layout-page p {
	float: left;
	padding: 0 15px 0 25px;
}

.layout-page .page-title {
	float: left;
}

.flippage-layout .layout-page {
	position: relative;
}




.media-upload .form-field-row {
    float: left;
    margin-right: 10px;
}



.media-list {
    padding-top: 15px;
}

.media-list td {
    padding: 0 8px 8px 0;
    width: 113px;
}

.media-list td.last {
    padding-right: 0;
}

.media-list .media-box {
    border: 1px solid #ccc;
    width: 111px;
    height: 111px;
    margin-bottom: 4px;
    position: relative;
    background-color: #f6f6f6;
}

.media-list .media {
    display: block;
    margin: 0 auto;
    position: absolute;
}


div.image_select {
    
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;	
    -moz-border-radius: 6px;
    border-radius: 6px;
        background-color: white;
    border: 2px solid #333;
    width: 500px;
    height: 300px;
    padding: 45px 15px 15px 15px;
}

div.image_select h3 {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.2em;
}

div.image_select .content_area {
    width: 500px;
    height: 300px;
    overflow: auto;
}

div.image_select table td {
    width: 100px;
}

div.image_select table td img {
    width: 100px;
    margin: 0 10px 5px 0;
}

div.image_select table td .title {
    margin-bottom: 10px;
}



.maillist-list {
    padding: 10px;
    background-color: #f0f0f0;
    border-bottom: 1px solid #666;
    margin-bottom: 15px;
}

.maillist-list li {
    padding: 1px;
}

.maillist-list a.active {
    font-weight: bold;
}

.maillist-list .delete {
    float: left;
    height: 13px;
    margin-top: -1px;
    padding-left: 0;
    padding-right: 2px; 
}

.taskbar form {
    overflow: hidden;
    float: left;
}
.taskbar .create_recipient {
    width: auto;
    position: absolute;
    right: 10px;
}
.taskbar .create_recipient .form-field-row {
    margin-left: 6px;
}

.taskbar .form-field-row {
    float: left;
}




.taskbar {
    background: white url(../img/taskbar_bg.png) top left repeat-x;
    padding: 10px;
    overflow: hidden;
    border-bottom: 1px solid #666;
    border-top: 1px solid #666;
    position: relative;
}





.modal_win .close_win {
	position: absolute;
	top: 10px;
	right: 10px;
	display: block;
	width: 12px;
	height: 12px;
	text-indent: -9000px;
	overflow: hidden;
	background: transparent url(../img/close_popup.png) top left no-repeat;
	cursor: pointer;
}

.mask {
    background-color: black;
    opacity: .5;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
    z-index: 100;
}

.confirm-popup {
    position: absolute;
	background-color: #ddd;
	padding: 10px;
	display: none;
	text-align: center;
	
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;	
    -moz-border-radius: 5px;
    border-radius: 5px;
    }


.error {
    color: red;
}


.trace {
    margin-top: 70px;
}


pre {
    font-size: 1.3em;
}

