/*********************************************************************************
 * The X2CRM by X2Engine Inc. is free software. It is released under the terms of 
 * the following BSD License.
 * http://www.opensource.org/licenses/BSD-3-Clause
 * 
 * X2Engine Inc.
 * P.O. Box 66752
 * Scotts Valley, California 95067 USA
 * 
 * Company website: http://www.x2engine.com 
 * Community and support website: http://www.x2community.com 
 * 
 * Copyright (C) 2011-2012 by X2Engine Inc. www.X2Engine.com
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 * 
 * - Redistributions of source code must retain the above copyright notice, this 
 *   list of conditions and the following disclaimer.
 * - Redistributions in binary form must reproduce the above copyright notice, this 
 *   list of conditions and the following disclaimer in the documentation and/or 
 *   other materials provided with the distribution.
 * - Neither the name of X2Engine or X2CRM nor the names of its contributors may be 
 *   used to endorse or promote products derived from this software without 
 *   specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
 * IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 
 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 
 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
 * OF THE POSSIBILITY OF SUCH DAMAGE.
 ********************************************************************************/

body {margin:0;padding:0;font:normal 10pt Arial, Helvetica, sans-serif;/* background:url(background2.gif) top left repeat-x #000; */
      
}

h1,h2,h3,h4,h5,h6 {
    /*color: #2E64FE;*/
}

body.login {
    position:absolute;
    height:100%;
    width:100%;
    background:#fff;
    /* background:url(../images/login_white_bg.png) repeat-x left center; */
}


/* div, span, a {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
} */

/* for IE and Opera: unselectable="on" */

/* CSS "button" links to be used instead of actual buttons */
a.x2-button, input.x2-button, button.x2-button { /* , a.search-button */
    display:inline-block;
    margin:0 5px 5px 0;
    padding:0 8px;
    border:1px solid #999;
    background-color:#eee;
    background:-webkit-gradient(linear, left top, left bottom, from(#f0f0f0), to(#ddd));
    background:-moz-linear-gradient(top,  #f0f0f0,  #ddd);
    color:#333;
    font-size:11px !important;
    line-height:24px;
    font-weight:bold;
    text-decoration:none;
    -webkit-appearance:none;
    -moz-box-shadow:	inset 0 1px 0 0 #fff;
    -webkit-box-shadow:	inset 0 1px 0 0 #fff;
    box-shadow:			inset 0 1px 0 0 #fff;
    border-radius:			3px;
    -moz-border-radius:		3px;
    -webkit-border-radius:	3px;
    -o-border-radius:		3px;
}
h2 .x2-button {padding:0 20px;}
h2 .x2-button.email {padding:0 8px;}
h2 .x2-button.email span {
    height:24px;
    width:25px;
    background:url(../images/email_icon.png) center center no-repeat;



}
a.x2-button:hover, input.x2-button:hover, button.x2-button:hover, input.hover {
    color:black;
    background-color:#fff;
    background:-webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
    background:-moz-linear-gradient(top,  #fff,  #eee);
}
a.x2-button:active, input.x2-button:active, button.x2-button:active, a.x2-button.clicked, input.x2-button.clicked, button.x2-button.clicked, input.active {
    color:black;
    border-color:#666;
    background-color:#bbb;
    background:-webkit-gradient(linear, left top, left bottom, from(#bbb), to(#ccc));
    background:-moz-linear-gradient(top,  #bbb,  #ccc);
    -moz-box-shadow: inset 0 1px 1px 0 #999;
    -webkit-box-shadow: inset 0 1px 1px 0 #999;
    box-shadow: inset 0 1px 1px 0 #999;
}
a.x2-button.clicked:hover, input.x2-button.clicked:hover, button.x2-button.clicked:hover {
    background-color:#c0c0c0;
    background:-webkit-gradient(linear, left top, left bottom, from(#c0c0c0), to(#ddd));
    background:-moz-linear-gradient(top,  #c0c0c0,  #ddd);
}
a.x2-button.highlight, input.x2-button.highlight, button.x2-button.highlight { /* , a.search-button */
    background-color:#579100;
    background:-webkit-gradient(linear, left top, left bottom, from(#729C00), to(#579100));
    background:-moz-linear-gradient(top,  #729C00,  #579100);
    border-color:#315200 !important;

    -moz-box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.5);
    -webkit-box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.5);
    box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.5);
    text-shadow:rgba(0,0,0,0.5) 0 1px 3px;
    color:#fff;
}
a.x2-button.urgent, input.x2-button.urgent, button.x2-button.urgent { /* , a.search-button */
    background-color:#910000;
    background:-webkit-gradient(linear, left top, left bottom, from(#9C0000), to(#910000));
    background:-moz-linear-gradient(top,  #9C0000,  #910000);
    border-color:#520000 !important;

    -moz-box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.5);
    -webkit-box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.5);
    box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.5);
    text-shadow:rgba(0,0,0,0.5) 0 1px 3px;
    color:#fff;
}
a.x2-button.highlight:hover, input.x2-button.highlight:hover, button.x2-button.highlight:hover { /* , a.search-button */
    background-color:#87b800;
    background:-webkit-gradient(linear, left top, left bottom, from(#87b800), to(#6aad00));
    background:-moz-linear-gradient(top,  #87b800,  #6aad00);
    border-color:#416d00;
}

input.x2-button, button.x2-button {
    display:block;
    margin:5px;
    padding:5px 20px;
    line-height:15px;
}
button.x2-button {border:1px solid #999;}
input.x2-button.float, a.x2-button.float {float:right;}

a.x2-button span {display:block;padding:0;}

a.x2-button span.add-button {padding:0 0 0 16px;background:url(../images/plus.gif) left center no-repeat transparent;}
.x2-button:hover, .search-button:hover, input.hover {	background:#fff;}
.x2-button:active, .search-button:active {background:black;border-color:#666;color:white;}

.x2-button.black {
    border-color:#000;
    -moz-box-shadow:	inset 0 1px 0 0 #777;
    -webkit-box-shadow:	inset 0 1px 0 0 #777;
    box-shadow:			inset 0 1px 0 0 #777;
    /* background: #555; */
    background: #555555;
    background: -moz-linear-gradient(top, #555555 0%, #333333 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#555555), color-stop(100%,#333333));
    background: -webkit-linear-gradient(top, #555555 0%,#333333 100%);
    background: -o-linear-gradient(top, #555555 0%,#333333 100%);
    background: -ms-linear-gradient(top, #555555 0%,#333333 100%);
    background: linear-gradient(top, #555555 0%,#333333 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#555555', endColorstr='#333333',GradientType=0 );
}

.x2-button.black:hover {
    border-color:#000;
    -moz-box-shadow:	inset 0 1px 0 0 #888;
    -webkit-box-shadow:	inset 0 1px 0 0 #888;
    box-shadow:			inset 0 1px 0 0 #888;
    background: #666666;
    background: -moz-linear-gradient(top, #666666 0%, #404040 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#666666), color-stop(100%,#404040));
    background: -webkit-linear-gradient(top, #666666 0%,#404040 100%);
    background: -o-linear-gradient(top, #666666 0%,#404040 100%);
    background: -ms-linear-gradient(top, #666666 0%,#404040 100%);
    background: linear-gradient(top, #666666 0%,#404040 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#666666', endColorstr='#404040',GradientType=0 );
}
.x2-button.black:active {
    border-color:#000;
    -moz-box-shadow: inset 0 1px 1px 0 #000;
    -webkit-box-shadow: inset 0 1px 1px 0 #000;
    box-shadow: inset 0 1px 1px 0 #000;
    background: #222222;
    background: -moz-linear-gradient(top, #222222 0%, #444444 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#222222), color-stop(100%,#444444));
    background: -webkit-linear-gradient(top, #222222 0%,#444444 100%);
    background: -o-linear-gradient(top, #222222 0%,#444444 100%);
    background: -ms-linear-gradient(top, #222222 0%,#444444 100%);
    background: linear-gradient(top, #222222 0%,#444444 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#222222', endColorstr='#444444',GradientType=0 );
}

.x2-link {
    display:inline-block;
    font-weight:normal;
    border-radius:			3px;
    -moz-border-radius:		3px;
    -webkit-border-radius:	3px;
    -o-border-radius:		3px;
}
.x2-link.ui-draggable-dragging {
    border:1px solid #999;
    padding:4px 2px;
    background-color:#eee;
    background:-webkit-gradient(linear, left top, left bottom, from(#f0f0f0), to(#ddd));
    background:-moz-linear-gradient(top,  #f0f0f0,  #ddd);
}
.x2-link.ui-draggable-dragging span {
    text-decoration:none;
    color:#000;
}


.x2-link span {
    background-position:0px 1px;
    background-repeat:no-repeat;
    display:inline-block;
    text-decoration:underline;
    /* border-left:1px solid #999; */
    padding-left:15px;
}

/* span.x2-hint {
        text-decoration:none;
        font-size:12px;
        color:#666;
        cursor:pointer;
}
span.x2-hint:hover {
        color:#999;
} */
ul.filter-hint {
    list-style-type: none;
    margin:0;
    padding:0 0 0 10px;
}
ul.filter-hint li {
    margin:0;
    padding:0;
}

ul.filter-hint b {
    display:inline-block;
    width:20px;
}



/* #content {padding:0 45px 20px 45px; }	 create padding for pages without column2.php layout  */
.span-15 #content, .span-20 #content {padding:0;}
.span-20#content-box {width:780px;}			/* blueprint doesn't create any margin for the last span */
#dashSIDE{position:relative;height:400px;margin-left:-80px;}

#actions .portlet-content, #recent-items  .portlet-content, #top-contacts  .portlet-content {padding:0 0 5px 0;}
#actions li, #recent-items li, #top-contacts li {margin:0;}
#actions a, #recent-items a, #top-contacts a, #actions span, #recent-items span, #top-contacts span {
    display:block;
    padding:5px 10px;
    font-weight:normal;
    text-decoration:none;
}

#actions a:link, #recent-items a:link, #top-contacts a:link, #actions a:visited, #recent-items a:visited, #top-contacts a:visited {
    background:transparent;
    color:black;
}
#actions a:hover, #recent-items a:hover, #top-contacts a:hover{
    border-top-color:#88cc88;/*#74d6ee;*/
    background:#444;
    color:white;
}
#actions span, #recent-items span, #top-contacts span {
    border-top-color:#88cc88;/*#74d6ee;*/
    background:#444;
    color:white;
    font-weight:bold;
}
#actions a:active, #recent-items  a:active, #top-contacts  a:active {background:black;color:white;}
#recent-items a, #top-contacts a {text-decoration:none;font-size:11px;}
#recent-items a strong, #top-contacts a strong {font-size:12px;}

#top-contacts a {float:left;width:100px;}
#top-contacts a.delete-link {
    display:block;
    width:auto;
    margin:5px 5px 0 0;
    padding:0;
    color:#06c;
    float:right;
    background:none;
}
#top-contacts a.delete-link:hover {color:#09f;}
#recent-items .portlet-content{word-wrap:break-word;}

/* Widgets */
div.blah {height:850px;}
#dashboard-grid{
    width:1000px;
    height:700px;
    margin-top:40px;
}
.itemsColumn2{float:left;width:37.5em;padding-top:1em;padding-bottom:1em;}
.itemsColumn3{float:left;width:24.5em;padding-top:1em;padding-bottom:1em;}
.itemsColumn4{float:left;width:18.5em;padding-top:1em;padding-bottom:1em;}
div.portlet-minimize {
    float:right;
    font-size:14px;
    font-weight:normal;
}
div.portlet-minimize a {text-decoration:none;}

#widget_MessageBox .portlet-content {text-align:center;}

#motd-form {text-align:left;}

#widget_TwitterFeed .portlet-content, #widget_GoogleMaps .portlet-content {padding:0 0 10px 0;}
#widget_TwitterFeed .twtr-hd {padding:5px 5px 0 5px;}
#widget_TwitterFeed .twtr-ft {display:none;}

#widget_QuickContact .portlet-content * {font-size:10px;}
#widget_QuickContact .portlet-content {padding:3px 3px 0 3px;}

#widget_ChatBox .portlet-content {padding:0;}
#chat-box{
    height:200px;
    width:auto;
    margin:5px;
    padding:0 4px;
    overflow-y:auto;
    word-wrap:break-word;
    line-height:1.1em;
    font-size:9pt;
    color:#333;
    background:#fcfcfc;
    border:1px solid #ddd;
}
#widget_ChatBox textarea, #chat.full-screen textarea {
    display:block;
    width:100%;
    margin:0;
    padding:2px;
    height:50px;
    border:1px solid #ddd;
    background:#fff;
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    resize:none;
    overflow:hidden;
}
#widget_ChatBox div.textarea-container {display:block;margin:0 11px 0 5px;width:auto;}
#widget_ChatBox input {float:right;width:80px;}

#chat-box div.message {margin-bottom:10px;white-space:pre-wrap;}
#chat-box a.username {text-decoration:none;}
#chat-box span.my-username {color:#999;}
/* GG 21.01.2013 - Why the message timestamp must not be displayed?? */
#widget_ChatBox .chat-timestamp {display:inline;}
#chat.full-screen #chat-box {
    width:650px;
    margin:5px 0;
    padding:5px;
    height:350px;
}
#chat.full-screen textarea {
    margin:0 5px 0 0;
    padding:5px;
    display:inline;
    float:left;
    width:565px;
    height:30px;
}
#chat.full-screen input {
    float:left;
    margin:0;
    width:80px;
    line-height:16px;
    padding:12px;
}
#widget_ChatBox.full-screen .chat-timestamp {display:inline;}
#widget_ChatBox.full-screen input {float:left;width:auto;}
#widget_NoteBox .portlet-content {padding:0;}
/* #widget_NoteBox input {width:170px;} */

#widget_TagCloud .tag{
    -moz-border-radius:4px;
    -o-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    border-style:solid;
    border-width:1px;
    border-color:gray;
    margin:2px 2px;
    display:block;
    float:left;
    padding:2px;
    background-color:#f0f0f0;
}
#widget_TagCloud .tag a {
    text-decoration:none;
    color:black;
}

#widget_OnlineUsers .user a{
    text-decoration:none;
    color:black;
}

#widget_OnlineUsers .user{
    -moz-border-radius:4px;
    -o-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    border-style:solid;
    border-width:1px;
    border-color:gray;
    margin:2px 2px;
    display:block;
    float:left;
    padding:2px;
    background-color:#f0f0f0;
}

#widget_TimeZone {text-align:center;} 
#widget_TimeZone #tzClock {
    position:relative;
    display:block;
    width:88px;
    height:88px;
    margin:0 auto 0 auto;
    background:url(../images/clockface.png);
    list-style:none;
}
#widget_TimeZone #tzClock2 {
    display:block;
}
#widget_TimeZone li {
    position:absolute;
    width:4px;
    height:88px;
    top:0px;
    left:42px;
}
#widget_TimeZone li div {
    margin: 0 auto;
}
#widget_TimeZone li.sec {z-index:3;}
#widget_TimeZone li.sec div:first-child {
    margin-top:12px;
    width:1px;
    background:red;
    height:32px;
}
#widget_TimeZone li.sec div:last-child {
    width:3px;
    background:red;
    height:18px;
}

#widget_TimeZone li.min {z-index:2;}
#widget_TimeZone li.min div {
    width:2px;
    margin-top:14px;
    background:black;
    height:30px;
}
#widget_TimeZone li.hour {z-index:1;}
#widget_TimeZone li.hour div {
    margin-top:22px;
    width:3px;
    background:black;
    height:23px;
    border-radius:			3px;
    -moz-border-radius:		3px;
    -webkit-border-radius:	3px;
    -o-border-radius:		3px;
}

#note-box{
    height:200px;
    width:auto;
    margin:5px;
    padding:0 4px;
    overflow-y:auto;
    word-wrap:break-word;
    line-height:1.1em;
    font-size:9pt;
    color:#555;
    background:#fcfcfc;
    border:1px solid #ddd;
}
#widget_NoteBox textarea {
    display:block;
    margin:0 5px;
    padding:2px;
    width:164px;
    height:50px;
    border:1px solid #ddd;
    background:#fff;
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    resize:none;
    overflow:hidden;
}

#widget_DocViewer .portlet-content {padding:0;}
#widget_DocViewer input {width:160px;}
#docview-box{
    height:200px;
    width:auto;
    margin:5px;
    padding:0 4px;
    overflow-y:auto;
    word-wrap:break-word;
    line-height:1.1em;
    font-size:9pt;
    color:#555;
    background:#fcfcfc;
    border:1px solid #ddd;
}
#widget_DocViewer textarea {
    display:block;
    margin:0 5px;
    padding:2px;
    width:164px;
    height:50px;
    border:1px solid #ddd;
    background:#fff;
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    resize:none;
    overflow:hidden;
}

#docview-input {
    padding: 5px;
}

#widget_TopSites .portlet-content{padding:0;}
#widget_TopSites input {width:120px;padding:5px;margin-top:10px;}
#sites-box{
    height:200px;
    width:auto;
    margin:5px;
    padding: 0 4px;
    overflow-y:auto;
    word-wrap:break-word;
    line-height:1.1em;
    font-size:9pt;
    color:#555;
    background:#fcfcfc;
    border: 1px solid #ddd;
}
#site-url-container{height:100px;}
div.shown{
    margin-left:10px;
    border:1px solid black;
    width:130px;
    padding-top:3px;
    padding-left:5px;
    padding-right:5px;
    text-align:center;
    background:#fff;

}
p.descrip{
    font-weight:bold;
}
#actionLS{
    padding:5px 15px 5px 15px;
}

/* #action-form textarea {width:558px;font-family:Arial, Helvetica, sans-serif;font-size:12px;} */


.history.half-width {width:35%;}
.history .text-area-wrapper {margin:0;padding:2px 4px;}
.history #save-publisher {
    width:70px;
    text-align:center;
    float:right;
    margin:0;

}
.history .publisher-tabs {margin:5px 0;}
.ui-widget-content {
    /* background:none; */
}
.ui-tabs {
    border:none;
    margin:0 0 5px 0;
    padding:0;
    background:none;
}
.ui-tabs .ui-tabs-nav {
    background:none;
    border:none;
    margin:0 0 0 0;
    padding:0;
}
.ui-tabs .ui-tabs-nav li {
    /* top:0px !important; */
    background:#f8f8f8;
    font-size:10pt;
    margin:0 2px 0 0;
    border:1px solid #ccc;
    font-family:Arial, Helvetica, sans-serif;
    /* font-weight:bold; */

    border-radius:			4px 4px 0 0;
    -moz-border-radius:		4px 4px 0 0;
    -webkit-border-radius:	4px 4px 0 0;
    -o-border-radius:		4px 4px 0 0;

    -moz-box-shadow: inset 0 1px 0 0 #fff;
    -webkit-box-shadow: inset 0 1px 0 0 #fff;
    box-shadow: inset 0 1px 0 0 #fff;
}
.history .ui-tabs .ui-tabs-nav li a {
    padding:4px 8px;
}
.history .ui-tabs .ui-tabs-nav li a b {
    font-size: 20px;
    line-height:12px;
    margin-top:-2px;
    display:inline-block;
    /* font-weight: bold; */
    vertical-align: middle;
    color: #579100;
}
.history .ui-tabs .ui-tabs-nav li:first-child {
    margin-left:10px;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected {border-color:#999;border-bottom-color:#fff;background:#eee;}
.ui-tabs .ui-tabs-nav li.ui-state-hover {border-color:#ccc;background:#fff;}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected.ui-state-hover {border-color:#999;background:#eee;}
.ui-tabs .form {
    background:#eee;
    border-color:#999;
    border-radius:			4px;
    -moz-border-radius:		4px;
    -webkit-border-radius:	4px;
    -o-border-radius:		4px;
}
.history .ui-tabs .form {
    padding:5px;
}
.ui-tabs .ui-tabs-nav li.publisher-label {
    border:none;
    background:none;
    padding:0.5em 0.5em 0.5em 0.25em;
    -moz-box-shadow:	none;
    -webkit-box-shadow:	none;
    box-shadow:			none;
}
.ui-tabs .ui-tabs-panel {
    padding:0;
}
.history div.form textarea {
    /* padding:2px 5px; */
    height:22px;
    resize:none;
}

.detail-form {display:none;z-index:10;} 
#edit-buttons {
    display:block;
    height:36px;
    clear:both;
}
#edit-buttons .x2-button {float:left;}
#doc-form {border:none;padding:0;}
#doc-form .x2-button {margin-top:0;}
#doc-box {
    -moz-border-radius:4px;
    -o-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    border:1px solid #ccc;
    clear:both;
    height:600px;
    width:auto;
    overflow:scroll-y;
    margin:0 0 10px 0;
    padding:10px 7px;
    width:auto;
}

a.list-action {text-decoration:none;}
a.list-action:hover {text-decoration:underline;}

div.x2-sortlist .row {
    overflow:visible;
}
div.x2-sortlist a{text-decoration:none;}
a.x2-sortlist-add {
    display:block;
    text-decoration:none;
    margin-bottom:5px;
}
div.x2-sortlist ol {
    margin:0;
    padding:0;
    margin-bottom:5px;

}
div.x2-sortlist li {
    padding:0;
    list-style-type:none;
    overflow:auto;
    border:1px solid #333;
    border-width:1px 1px 0 1px;
    background:#fff;
}
div.x2-sortlist li:first-child {
    -moz-border-radius:		4px 4px 0 0;
    -o-border-radius:		4px 4px 0 0;
    -webkit-border-radius:	4px 4px 0 0;
    border-radius:			4px 4px 0 0;
}
div.x2-sortlist li:last-child {
    border-bottom:1px solid #333;
    -moz-border-radius:		0 0 4px 4px;
    -o-border-radius:		0 0 4px 4px;
    -webkit-border-radius:	0 0 4px 4px;
    border-radius:			0 0 4px 4px;
}
div.x2-sortlist li:only-child {
    border-bottom:1px solid #333;
    -moz-border-radius:		4px;
    -o-border-radius:		4px;
    -webkit-border-radius:	4px;
    border-radius:			4px;
}
div.x2-sortlist li:first-child .handle {
    -moz-box-shadow: inset 1px 1px 0 0 rgba(255,255,255,0.3);
    -webkit-box-shadow: inset 1px 1px 0 0 rgba(255,255,255,0.3);
    box-shadow: inset 1px 1px 0 0 rgba(255,255,255,0.3);
}
div.x2-sortlist li .handle {
    float:left;
    width:28px;
    margin-right:-35px;
    height:42px;
    padding:5px 0 0 5px;
    background:#777; /* 00728f */ 
    background:-webkit-gradient(linear, left top, right top, from(#777), to(#666));
    background:-moz-linear-gradient(left,  #777,  #666);
    -moz-box-shadow:	inset 1px 0 0 0 rgba(255,255,255,0.3);
    -webkit-box-shadow:	inset 1px 0 0 0 rgba(255,255,255,0.3);
    box-shadow:			inset 1px 0 0 0 rgba(255,255,255,0.3);
    color:#fff;
    text-shadow:rgba(0,0,0,0.5) 0 1px 4px;
    font-size:16px;
    font-weight:bold;
    border:1px solid #333;
    border-width:0 1px 0 0;
    cursor:n-resize;
}
div.x2-sortlist#workflow-stages li .handle {height:85px;}
div.x2-sortlist li .handle:hover {
    background:#888; /* 00728f */ 
    background:-webkit-gradient(linear, left top, right top, from(#808080), to(#707070));
    background:-moz-linear-gradient(left,#808080,#707070);
}
div.x2-sortlist li .handle:active {
    background:#888; /* 00728f */ 
    background:-webkit-gradient(linear, left top, right top, from(#555), to(#606060));
    background:-moz-linear-gradient(left,#555,#606060);
    text-shadow:rgba(0,0,0,0.5) 0 -1px 4px;
    -moz-box-shadow: inset 1px 0 0 0 rgba(0,0,0,0.3);
    -webkit-box-shadow: inset 1px 0 0 0 rgba(0,0,0,0.3);
    box-shadow: inset 1px 0 0 0 rgba(0,0,0,0.3);
}
div.x2-sortlist li .content {
    display:block;
    width:auto;
    margin-left:35px;
    padding-left:5px;
}
div.x2-sortlist li.ui-sortable-helper {border-bottom:1px solid #333;}
div.x2-sortlist a.del {
    display:block;
    float:right;
    height:20px;
    width:20px;
    margin-right:2px;
    cursor:pointer;
    background:url(../images/list_delete.png) top left no-repeat;
}
div.workflow-funnel-box {
    display:block;
    float:left;
    overflow:auto;
    text-align:center;
}
div#workflow-diagram .row:first-child .workflow-funnel-stage {
    border-top-width:1px;
}
div.workflow-funnel-stage {
    display:block;
    margin-right:auto;
    margin-left:auto;
    text-align:center;
    border:1px solid #999;
    border-top-width:0;
    line-height:24px;
}
div.workflow-status {display:block;float:left;line-height:20px;height:24px;width:340px;}
.workflow-funnel-stage span.name {
    /* 	display:inline-block;
            width:80px;
            text-align:right; */
}
.workflow-funnel-stage span.name a {text-decoration:none;}
.workflow-funnel-stage span.contact-icon {
    display:inline-block;
    background:url(../images/contact-icon.png) 5px center no-repeat;
    padding-left:24px;
}
.workflow-funnel-stage span.sales-icon {
    display:inline-block;
    background:url(../images/sales-icon.png) 5px center no-repeat;
    padding-left:24px;
}

#workflowStageDetails label {display:inline;}
#workflowStageDetails input, #workflowStageDetails textarea, #workflowStageDetails select {display:none;}
#workflowStageDetails span {display:inline;}
#workflowStageDetails.editMode input, #workflowStageDetails.editMode textarea, #workflowStageDetails.editMode select {display:block;}
#workflowStageDetails.editMode span {display:none;}
/* #workflowStageDetails.editMode td.text-field {padding:0;} */
#workflowStageDetails {text-align:center;}
#workflowStageDetails img.loading {margin:40px 0;}


.rating-cancel {	display:none !important;}	/* get rid of horrid "cancel rating" on star ratings widget */

.list-view h2, .list-view h3, .list-view h4 {display:inline;margin-bottom:0;}
.list-view .items {
    clear:both;
    background:#fff;
    -moz-border-radius:		4px;
    -o-border-radius:		4px;
    -webkit-border-radius:	4px;
    border-radius:			4px;
    border:1px solid #ccc;
    padding-top:5px;
    /* 	
            -moz-box-shadow:		0 1px 6px rgba(0,0,0,0.5);
            -webkit-box-shadow:		0 1px 6px rgba(0,0,0,0.5);
            box-shadow:				0 1px 6px rgba(0,0,0,0.5); */
}
.list-view .empty {margin:0 0 5px 5px;display:block;}
.list-view .comment-age {color:#666;}
.list-view .summary {
    color:#555;
    display:inline;
    float:right;
}

.list-view .view {
    clear:both;
    margin:0 0 5px 0;
    padding:0;
    width:auto;
}


.list-view a {text-decoration:none;}
.list-view .view.top-level {		/*top level comment*/
    /* 	-moz-border-radius:4px;
            -o-border-radius:4px;
            -webkit-border-radius:4px;
            border-radius:4px; */
    border-top:1px solid #ddd;
    padding:2px 5px 5px 5px;
    margin-bottom:10px;
}
.list-view .view.top-level .list-view {
    margin:0 -5px;
    -moz-border-radius:		0;
    -o-border-radius:		0;
    -webkit-border-radius:	0;
    border-radius:			0;
    border:none;
    padding:0;
}
.list-view .view.top-level form {margin-top:5px;}
.list-view .view.top-level .view {	/*second level comment*/
    background:#eee;
    margin:0;
    padding:2px 5px 2px 20px;
    border:solid #ddd;
    border-width:1px 0 0 0;
    -moz-border-radius:		0;
    -o-border-radius:		0;
    -webkit-border-radius:	0;
    border-radius:			0;
}
.list-view .view.top-level:first-child {border-top:none;}
.list-view .deleteButton {float:right;}

.action-description, a.action-description {text-decoration:none;color:black;}
.action.list-view .view {
    padding-left:40px;
    border-bottom:1px solid #ddd;
}
.action.list-view .view:last-child {border-bottom:none;}
.dashSubmit{float:right;}
.action.list-view .header a {font-weight:normal;}
.action.list-view .header {
    display:block;
    overflow:auto;
    padding:2px 5px 2px 0;
    color:#666;
    font-weight:bold;
    border-radius:			0 4px 0 0;
    -moz-border-radius:		0 4px 0 0;
    -o-border-radius:		0 4px 0 0;
    -webkit-border-radius:	0 4px 0 0;
    /* border-bottom:1px solid #ddd; */
    /* border-width:0 0 1px 1px; */
    /* background-color:#f8f8f8; */
}
.action.list-view .header b {
    /* color:#333; */
}
.action.list-view .header b a {font-weight:normal;}
.action.list-view .buttons {float:right;}
.action.list-view .description {color:#000;padding:5px;}
/* 	border:1px solid #ddd;
        border-width:0 1px 0 1px; */

.action.list-view .footer {color:#666;padding:2px 5px;font-size:11px;}
.action.list-view .icon {
    display:block;
    float:left;
    height:55px;
    margin-left:-40px;
    width:45px;
    /* 	border:1px solid #ddd;
            border-width:1px 0 0 1px; */
    border-radius:4px 0 0 0;
    -moz-border-radius:4px 0 0 0;
    -o-border-radius:4px 0 0 0;
    -webkit-border-radius:4px 0 0 0;
    background:url(../images/action_arrow.png) 0 0px no-repeat transparent;
}
.action.list-view .icon.attachment {	background-image:url(../images/action_attachment.png); }
.action.list-view .icon.complete {		background-image:url(../images/action_complete.png); }
.action.list-view .icon.workflow {		background-image:url(../images/action_workflow.png); }
.action.list-view .icon.email {			background-image:url(../images/action_email.png); }
.action.list-view .icon.emailOpened {			background-image:url(../images/action_email_opened.png); }
.action.list-view .icon.note {			background-image:url(../images/action_comment.png); }
.action.list-view .icon.call {			background-image:url(../images/action_call.png); }
.action.list-view .icon.marketing {		background-image:url(../images/action_marketing.png); }
.action.list-view .icon.event {			background-image:url(../images/action_event.png); }


.action.list-view .items span.empty {padding:10px;display:block;}


span.list-actions {
    display:block;
    margin-top:5px;
}

img.attachment-img {
    margin:5px;
    display:block;
    max-width:250px;
}
#footer a {color:#175CA3;}
#footer a:hover {color:#8dbff2;}
#footer-logos {
    display:block;
    width:300px;
    margin:0 auto 0 auto;
}

/* z_GG START 06.01.2013 - Do not display the logos */
#footer-logos img {
    display: none;
}
#login-page #footer {

    color:#333;
}
#footer .hr {
    border-top:1px solid rgba(0,0,0,0.1);
    border-bottom:1px solid rgba(255,255,255,0.25);
    clear:both;
    float:none;
    width:100%;
    height:0px;
    margin:0 0 1em;
}
#logo {
    margin-left:1px;
    padding:10px 20px;
    font-size:200%;
}

div.date-box {
    display:inline-block;
    height:22px;
    width:22px;
    margin:0 5px;
    border:1px solid #000;
    background:#fff;
    border-radius:			2px;
    -moz-border-radius:		2px;
    -webkit-border-radius:	2px;
    -o-border-radius:		2px;
    text-align:center;
    vertical-align:middle;
}
div.date-box span {display:block;font-weight:bold;}
div.date-box span.month {background:#444;color:#fff;font-size:8px;line-height:10px;text-transform:uppercase;}

div.date-box span.day {display:block;font-size:12px;line-height:12px;}


div.flash-error, div.flash-notice, div.flash-success {
    padding:.8em;
    margin-bottom:1em;
    border:2px solid #ddd;
}
div.flash-error {background:#fbe3e4;color:#8a1f11;border-color:#fbc2c4;}
div.flash-notice {background:#fff6bf;color:#514721;border-color:#ffd324;}
div.flash-success {background:#e6efc2;color:#264409;border-color:#c6d880;}
div.flash-error a {color:#8a1f11;}
div.flash-notice a {color:#514721;}
div.flash-success a {color:#264409;}

div.search-form {
    margin-left: 0px;
    margin-bottom: 10px;
    margin-right: 0px;
    margin-top: 10px;
    padding: 10px;
    background: #eee;
}

div.search-form div.wide.form textarea {width:420px;}

div.contact-lists th {padding-left:8px !important;text-align:left !important;}
div.contact-lists th.contact-count {width:100px;}

div.contact-lists td.contact-count {
    background:url(../images/contact-icon.png) 5px center no-repeat;
    padding-left:24px;
}
div.contact-lists table.items tbody tr:last-child td {font-weight:bold;}


/* #modcoder_colorpicker {z-index:3;} */
#profile {float:left;width:300px;}

#about-intro {margin:10px 0;width:450px;font-size:12px;}
#about-intro b {display:block;margin:10px 0 5px 0;}
#about-intro ul {list-style-type:none;padding-left:0;margin:0;color:#666;}
#about-credits {font-size:11px;}
#about-credits .no-underline {text-decoration:none;}
#about-legal {clear:both;font-size:10px;color:#999;}
#about-map img {
    -moz-box-shadow:	0 3px 10px 2px rgba(0,0,0,0.5);
    -webkit-box-shadow:	0 3px 10px 2px rgba(0,0,0,0.5);
    box-shadow:			0 3px 10px 2px rgba(0,0,0,0.5);
    border-radius:			8px;
    -moz-border-radius:		8px;
    -webkit-border-radius:	8px;
    -o-border-radius:		8px;
    margin-bottom:5px;
}
#about-map {
    float:right;
    width:260px;
    margin-top:0px;
    margin-right:20px;
    font-size:11px;
}
div#code-snippet {
    font-family: "Courier New", Courier, monospace;
    background: #f8f8f8;
    border:1px solid #ddd;
    padding:5px;
    border-radius:			4px;
    -moz-border-radius:		4px;
    -webkit-border-radius:	4px;
    -o-border-radius:		4px;
}


.yiiLog, .yiiTranslationList {
    display:block;
    z-index:10;
    position:fixed;
    top:0;
    left:0;
    width:auto !important;
    overflow-y:scroll;
}
.yiiTranslationList { width:150px;border:1px solid #000; background:#fff; overflow-y:auto;}
.yiiLog tbody {
    width:100%;
}
.yiiLog pre {
    margin:0;
}
/* .yiiLog td:nth-child(1), .yiiLog td:nth-child(2), .yiiLog th:nth-child(1), .yiiLog th:nth-child(2) {
        display:none;
} */

/* give mini-modules with focus a green border */
.focus-mini-module {
    box-shadow: 0 0 4px 2px #579100;
    border-color: #579100;
}

dt.yii-t {display:inline;}
body.yii-t dt.yii-t {cursor:help;background:rgba(255,0,0,0.5);}
.email-attachment-image {
    display: inline-block;
    height: 30px;
    width: 30px;
}

.email-attachment-text {
    position: relative;
    left: 10px;
    vertical-align: 50%;
}

#media-library-widget-wrapper {
    display: inline-block;
    overflow: hidden;
    /* width: 100%; */
}

#media-library-widget-container {
    overflow: auto;
    height: 100%;
    width: 100%;
}

#widget_MediaBox .ui-resizable-s {
    height: 14px;
}

.media-hover-image {
    height: 64px;
    width: 64px;
    float: left;
}

.media-library-item {
    cursor: pointer;
}

.media-library-showhide {
    cursor: pointer;
    text-decoration: none;
    float: right;
}

#widget_MediaBox .media-item a, #x2-tag-list .tag a {
    text-decoration: none;
    color: black;
}

#widget_MediaBox .media-item, #x2-tag-list .tag {
    -moz-border-radius:4px;
    -o-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    border-style:solid;
    border-width:1px;
    border-color:gray;
    margin:2px 2px;
    display: inline-block;
    padding:2px;
    background-color:#f0f0f0;
}

div.record-title {
    margin-left:-5px;
    background-repeat:no-repeat;
    background-position:0 -8px;
    padding-left:45px;
    padding-bottom:5px;
    overflow:auto;
}
div.record-title h2 {display:inline;line-height:28px;}

/* VCR Controls */
div.vcrPager {
    display:block;
    float:right;
    margin-left:15px;
}

div.vcrPager div.summary {
    display:block;
    float:left;
    margin:0 5px 0 0;
    text-align:right;
}
div.vcrPager div.summary a {
    display:block;
    font-size:10px;
    text-decoration:none;
    margin-bottom:-3px;
}
div.vcrPager div.summary a:hover {text-decoration:underline;}

ul.vcrPager {
    border:0;
    margin:0;
    padding:0;
    line-height:100%;
    display:inline;
}
ul.vcrPager li {display:inline;}
ul.vcrPager a {text-decoration:none;}
ul.vcrPager .hidden a {display:none;}
/* override x2-button to be smaller */
ul.vcrPager .x2-button {margin:0;padding:0 20px;}
ul.vcrPager .x2-button.disabled {color: #bbbbbb;}
ul.vcrPager .x2-button.disabled:hover {
    background-color:#eee;
    background:-webkit-gradient(linear, left top, left bottom, from(#f0f0f0), to(#ddd));
    background:-moz-linear-gradient(top,  #f0f0f0,  #ddd);
}

.delete-tag {
    color: #06C;
    font-size: 0.7em;
    vertical-align: 15%;
    cursor: pointer;
}

.delete-tag:hover {
    color: #09F;
}

.tag input.x2-new-tag {
    margin: 0;
    padding: 0;
    border: none;
    background: #F0F0F0;
    width: 10px;
}

td.fc-today {
    border: 1px solid black;
}

td.fc-today div div.fc-day-number {
    font-weight: bold;
}
