/*
* EES CSS Library [Screen Linking]
 *
 * @copyright 2010 Squiz Pty Ltd (ABN 77 084 670 600)
 * @license   GNU General Public License v.2
 * @link
*/


/* ---------------------------------------------------------------------------------------------
START: SCREEN LINKING STYLES
--------------------------------------------------------------------------------------------- */

#ees_editLinking {
    width:670px;
    margin: 0 auto;
}

#ees_addNewLink  {
    float:right;
    margin-bottom:1em;
    margin-top:-2.5em;
}

/* locations table */
#ees_locationLinks {
    width:668px;
    border:solid 1px #cecece;
    border-bottom:none;
    font-size:12px;
}

#ees_locationLinks th {
    color:#656464;
    font-weight:normal;
    padding:0px;
    background:#c7c7c7 url(../Images/table_header_bg.png) left top repeat-x;
    border-bottom:solid 1px #cecece;
    border-left:solid 1px #FFFFFF;
    margin:0px;
    line-height:33px;
    height:33px;
}

#ees_locationLinks .websiteLocation.lineage {
   cursor: pointer;
}

#ees_locationLinks .websiteLocation.lineage:hover {
    background: #efefef;
}

#ees_locationLinks th:first-child {
    border-left:none;
}

#ees_locationLinks td {
    padding:7px 0px;
    margin:0px;
    border-left:solid 1px #cecece;
    border-bottom:solid 1px #cecece;
    overflow:hidden;
    vertical-align: middle;
}

#ees_locationLinks tr:first-child {
    border-top:none;
}

#ees_locationLinks td:first-child {
    border-left:none;
}

#ees_locationLinks .locationHeading {
    text-align:left;
    padding-left:15px;
    width:375px;
}

#ees_locationLinks .typeHeading {
    width:125px;
    text-align:center;
}

#ees_locationLinks .linkValueHeading {
    width:122px;
    text-align:center;
}

#ees_locationLinks .deleteHeading {
    width:31px;
    text-align:center;
}

#ees_locationLinks .websiteLocation .wrapper {
    display:block;
    padding-left:45px;
    background:url(../Images/menu-show.png) 12px 50% no-repeat transparent;
    text-align:left;
}

#ees_locationLinks .hiddenFromMenus .websiteLocation .wrapper {
    background-image:url(../Images/menu-hide.png);
}

#ees_locationLinks .linkValue {
    text-align:center;
}

#ees_locationLinks .linkValue input {
    width:73px;
    height:18px;
    padding:2px;
    line-height:18px;
    border:solid 1px #bdbdbd;
    font-family:Arial, Helvetica, sans-serif;
    font-size:11px;
    color: #666666;
}

#ees_locationLinks .deleteLink {
    background:url(../Images/delete_overlay.png) left top repeat;
}

#ees_locationLinks .linkTypes {
    text-align:center;
}

#ees_locationLinks .linkDeletion {
    text-align:center;
}

#ees_locationLinks .assetDeleteOption {
    background:url(../Images/delete_recover_dark.png) left top no-repeat;
    display:block;
    height:16px;
    width:16px;
    margin:0px auto;
}

#ees_locationLinks .deleteLink .assetDeleteOption {
    background-position: 0px -16px;
}

/* slider */

#ees_locationLinks .typeOne {
    width:46px;
}

#ees_locationLinks .typeTwo {
    width:46px;
}

#ees_locationLinks .slider {
    background: url(../Images/toggle-slider-mid.png) bottom left repeat-x;
    border:1px solid #cdced0;
    width:92px;
    height:21px;
    line-height:21px;
    margin:0px auto;
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
}

#ees_locationLinks .slider a {
    font-family:Verdana,Arial,sans-serif;
    font-size:11px;
    color:#000000;
    outline:none;
    text-decoration:none;
}

#ees_locationLinks .slider .selected {
    font-weight:bold;
}

#ees_locationLinks .slider:hover,
#ees_locationLinks .slider a:hover {
    cursor:pointer;
}

#ees_locationLinks .sliderHandle {
    display:block;
    clear:both;
    float:left;
    width: 40px;
    height: 31px;
    margin-top:-26px;
    margin-left:3px;
    background:url(../Images/toggle-slider-glow.png) left top no-repeat;
}

/* by default handle will sit on yes but if on screen load its type 2 then use this */
#ees_locationLinks .hiddenFromMenus .sliderHandle {
    margin-left:49px;
}

.locationSeparator {
    background: url(../Images/lineage-arrow.png) 50% 50% no-repeat;
    padding-left:12px;
    padding-right:8px;
    width:5px;
    height:9px;
}

#ees_locationLinks .linkLocked {
    font-weight: bold;
    color:#990000;
}


/* Workspace Children Listing */
#ees_directChildren {
    width: 670px;
    margin: 0 auto;
}

#ees_directChildren h3 {
    margin-top:1.4em;
}

#ees_lastLinkWarning {
    background: url(../Images/warning_large.png) no-repeat scroll 20px 20px #FDEFA2;
    border:1px solid #F6E27E;
    font-size: 0.9em;
    margin-bottom:12px;
    padding: 15px 20px 15px 80px;
}

#ees_lastLinkWarning .warningTitle {
    display:block;
    font-size:14px;
    font-weight:bold;
    margin-bottom:5px;
}

ul.ees_directChildrenList {
    /*position: relative; use of rel here not liked in ie7 */
    margin: 0;
    padding: 0;
    list-style:none;
/*     border-top:1px dotted #C9C9C9; */
    background-color: #EFEFEF;
}

.ees_directChildrenList .child  {
    overflow:hidden;
    /*position: relative; use of rel here not liked in ie7 */
    height: 2.5em;
    line-height: 2.5em;
    padding: 0 5px;
    border-bottom:1px dotted #C9C9C9;
    font-size:12px;
    font-family:Arial, Helvetica, sans-serif;
    background-color: #FFF;
}

.ees_directChildrenList .child:first-child {
    border-top:1px dotted #C9C9C9;
}

.ees_directChildrenList .child.current {
    border: 2px solid #7cbaea;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    background-color: #cfe9f9;
}

.ees_directChildrenList .dragIcon {
    height:2.5em;
    width:19px;
    background:url(../Images/drag_move.png) 0 50% no-repeat;
    cursor: move;
}

.ees_directChildrenList .dragDenied {
    height:2.5em;
    width:19px;
    background:url(../Images/drag_move_denied.png) 0 50% no-repeat;
    cursor: pointer;
}

.ees_directChildrenList .assetInfo {
    display: block;
    position: relative;
    overflow: hidden;
    padding: 0;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    outline: none;
}

.ees_directChildrenList .assetInfo:hover {
    position: relative;
    background: transparent url(../Images/iconLocate.png) 100% 50% no-repeat;
}

.ees_directChildrenList .assetIcon {
    height: 2.5em;
    width:30px;
    margin: 0 5px;
}

.ees_directChildrenList .assetStatus {
    display: block;
    position: relative;
    height: 10px;
    width: 10px;
    top: 1.2em;
    border: solid 1px #ccc;
    margin: -5px 10px 0 0;
}

.ees_directChildrenList .assetName {
    max-height: 2.5em;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 330px;
}

.ees_directChildrenList .assetId {
    color:#a4a4a4;
    padding-left:4px;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-style: italic;
    width: 57px;
}

.ees_directChildrenList .assetEdit {
    margin-top:0px;
}

.ees_directChildrenList .assetEdit:hover {
    cursor:pointer;
}

.ees_directChildrenList .assetDeleteOption {
    position: relative;
    display: block;
    height:16px;
    width:16px;
    top: 1.2em;
    background:url(../Images/delete_recover_dark.png) 0 0 no-repeat;
    margin: -8px 0px 0px;
    outline: none;
}

.ees_directChildrenList .child .ui-sortable-helper {
    border: 1px solid #EEE;
    border-left: none;
    border-right: none;
    -moz-box-shadow: 0 0 4px 2px #EEE;
    cursor: move;
}

.ees_directChildrenList .child .ui-sortable-helper .assetInfo:hover {
    background: none;
}

.ees_directChildrenList .markedForDeletion {
    background: transparent url(../Images/delete_overlay.png) 0 0 repeat;
    border-bottom: 1px solid #FFF;
}

.ees_directChildrenList .markedForDeletion .assetDeleteOption {
    background:url(../Images/delete_recover_dark.png) 0 -16px no-repeat;
}

.ees_directChildrenList .markedForDeletion .dragIcon {
    opacity: 0.5;
    filter: alpha(opacity=50);
    cursor: not-allowed;
}

/* override default grey button behaviour */
.child .linkingScreenShortCut {
    float:right;
    margin-top:4px;
}


/* read only  */

body.readOnly #ees_addNewLink {
    display:none;
}

/* ---------------------------------------------------------------------------------------------
END: SCREEN LINKING STYLES
--------------------------------------------------------------------------------------------- */
