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


/* ---------------------------------------------------------------------------------------------
START: OVERLAY/MODAL POP UP STYLES
--------------------------------------------------------------------------------------------- */

/* Grey Out */

/* Main Overlay */
#ees_greyOut {
    position:fixed;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    background-color:#333;
    z-index:1004;
    color:#fff;
}

#ees_greyOutMessage {
    width:400px;
    height:270px;
    position:relative;
    left:50%;
    top:50%;
    margin-left:-200px;
    margin-top:-135px;
    text-align:center;
}

#ees_greyOutMessage.warning {
    background:url(../Images/warning_large.png) 50% 0px no-repeat;
    padding-top:50px;
}

#ees_greyOutMessage.warning p,
#ees_greyOutMessage.warning a,
#ees_greyOutMessage.warning h1,
a#ees_overlayContinue {
    color:#FFFFFF;
    font-size:16px;
    line-height:normal;
}

/* Main Overlay */
#ees_mainOverlay,
#ees_errorOverlay,
#ees_loadingOverlay,
#ees_successOverlay,
#ees_assetFinderOverlay,
#ees_confirmOverlay,
#ees_reorderOverlay {
    position:fixed;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    background: url(../Images/opacity_black_bg.png) left top repeat;
    z-index:1000;
}

/* Change the stacking order of specific overlay types */
#ees_assetFinderOverlay {
    z-index:1001;
}
#ees_loadingOverlay {
    z-index: 1002;
}
#ees_errorOverlay {
    z-index:9999;
}

body.doubleOverlay #ees_mainOverlay {
    background: none;
}

#ees_overlayImage {
    height:133px;
    left:50%;
    margin-left:-66px;
    margin-top:-66px;
    position:relative;
    top:50%;
    width:133px;
}

#ees_overlayImage.loading { background: url(../Images/overlay-loader-bg.png) left top no-repeat; }

#ees_overlayImage.confirm { background: url(../Images/overlay-confirm.png) left top no-repeat; }

#ees_overlayImage.fail { background: url(../Images/overlay-fail.png) left top no-repeat; }

#ees_overlayImage.success { background: url(../Images/overlay-success.png) left top no-repeat; }

#ees_overlayImage.warning { background: url(../Images/overlay-warning.png) left top no-repeat; }

#ees_overlayImage img { margin:42px 0 0 42px; }

#ees_overlayMessage {
    color:#FFFFFF;
    width:400px;
    margin:0px auto 0 auto;
    position:relative;
    top:50%;
    text-align:center;
}

#ees_overlayMessage .message {
    overflow: hidden;
    display: block;
}

#ees_mainOverlay.screenHide {
    display: block;
    position: absolute;
    left: -9999px;
}

/* modal loader */
.modalLoaderContainer, .modalLoader  {
    text-align:center;
}

.modalLoaderFeebackContainer {
    width:134px;
    height:126px;
    margin:0px auto;
    background:url(../Images/white_loader_bg.png) 0 0 no-repeat;
}

.modalLoaderFeeback {
    background:url(../Images/white_loader.gif) 42px 38px no-repeat;
    width:134px;
    height:126px;
    margin:0px auto;
}

.modalLoaderMessage {
    padding:5px;
    font-size:11px;
    color:#666666;
}

#ees_createLoading.modalBodyForm {
    border:solid 1px #ffffff;
}

/* Modal Dialogue */

.modalContainer {
    position: absolute;
    top: 5px;
    width: 690px;
    padding: 5px;
    left: 50%;
    font-size: 0.8em;
    margin-left: -350px;
    background-color: #FFF;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
    -webkit-box-shadow: 3px 2px 17px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 3px 2px 17px rgba(0, 0, 0, 0.7);
    box-shadow: 3px 2px 17px rgba(0, 0, 0, 0.7);
}

.modalHeader { margin-bottom: 5px; }

.modalHeaderContent {
    position: relative;
    min-height: 75px;
    border: 1px solid #333;

    background: #424242; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzQyNDI0MiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #424242 0%, #000000 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#424242), color-stop(100%,#000000)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #424242 0%,#000000 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #424242 0%,#000000 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #424242 0%,#000000 100%); /* IE10+ */
    background: linear-gradient(top, #424242 0%,#000000 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#424242', endColorstr='#000000',GradientType=0 ); /* IE6-8 */

    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}

.modalHeaderContent:hover { cursor:move; }

.modalIcon {
    position: absolute;
    top: 8px;
    left: 14px;
    width: 61px;
    height: 58px;
    background: transparent url(../Images/modalDefaultIcon.png) 50% 50% no-repeat;
}

.modalTitle h1 {
    color: #FFF;
    padding: 0px;
    font-size: 19px;
    margin: 5px 30px 0px 91px;
}

.modalDesc {
    font-family: Verdana;
    font-size: 12px;
    color: #578ED7;
    margin: 0 30px 0 91px;
}

.modalBodyContent { position: relative; }

.modalBodyButtons {
    text-align: right;
    padding: 0 5px;
}

.closeModal {
    position:absolute;
    height:20px;
    width:20px;
    top:5px;
    right: 5px;
    background:url(../Images/close.png) left top no-repeat;
    z-index:1001;
}


/* Modal Category Menu */
.modalBodyCategories {
    position: relative;
    overflow: hidden;
    float: left;
    width: 175px;
    margin: 0 10px;
}

.modalBodyCategories h2 {
    font-size: 1.2em;
}
.modalBodyCategories ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.modalBodyCategories li {
    line-height: 1.8em;
    border: 1px solid #FFF;
    border-bottom: 1px dotted #CCC;
    font-size: 1.1em;
}
.modalBodyCategories li.selected {
    border-color: #5386ca;
    background: transparent url(../Images/modalCategory-gradient.png) 0 50% repeat-x;
}
.modalBodyCategories li a {
    display: block;
    padding: 2px 14px 1px 8px;
    color: #000;
    text-decoration: none;
    background: transparent url(../Images/modalCategory_arrow.png) 96% 50% no-repeat;
}
.modalBodyCategories li.selected a {
    color: #FFF;
    background-image: url(../Images/modalCategory-arrow-selected.png);
}


/* Modal Content Frame */

.modalBodyForm {
    min-height: 408px;
    max-height: 408px;
    overflow: auto;
    border: 1px solid #E2E2E2;
    margin-bottom: 5px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
}

/* Text based modals */
.modalBodyForm.modalType-text {
    padding: 10px 20px;
    background-color: #F5F5F5;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-box-shadow: inset 0 0 6px 0 #CCC;
    -webkit-box-shadow: inset 0 0 6px 0 #CCC;
}

/* Link/Button based modals */
.modalBodyForm.modalType-button {
    padding: 0;
    background-color: #FFF;
}

.modalBodyForm.modalType-button ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.modalBodyForm.modalType-button li {
    background: transparent url(../Images/wizardItem_bg.png) 0 100% repeat-x;
}

.modalBodyForm.modalType-button li a {
    display: block;
    min-height: 102px;
    background: transparent url(../Images/iconFile-large.png) 17px 50% no-repeat;
    padding: 0 30px 0 140px;
    font-size: 1em;
    text-decoration: none;
    color: #000;
}

.modalBodyForm.modalType-button li a {
    outline:none;
}

.modalBodyForm.modalType-button li a:hover {
    background-color: #5A8CD0;
    color: #FFF;
}

.modalBodyForm.modalType-button li a .buttonContent {
    display: block;
    padding: 10px 0 0;
}

.modalBodyForm.modalType-button li a .buttonTitle {
    font-size: 1.4em;
    padding: 2px 25px 2px 0;
    background: transparent url(../Images/wizardItem-arrow.png) 100% 50% no-repeat;
}

.modalBodyForm.modalType-button li a:hover .buttonTitle {
    background-image:url(../Images/wizardItem-arrow-act.png);
}

.modalBodyForm.modalType-button li a .buttonDesc {
    display: block;
    margin-top: 4px;
}

.modalBodyForm.modalType-button li a.news {
    background-image: url(../Images/iconNews-large.png);
}

.modalBodyForm.modalType-button li a.image {
    background-image: url(../Images/iconImage-large.png);
}

.modalBodyForm.modalType-button li a.event {
    background-image: url(../Images/iconEvent-large.png);
}


/* change workspaces */
#ees_workspaceOverlay .modalContainer {
    width:700px;
}

#ees_workspaceOverlay .modalIcon {
    display:none;
}

#ees_workspaceOverlay .modalTitle h1 {
    margin-left: 24px;
}

#ees_workspaceOverlay .modalDesc {
    margin-left: 24px;
}


/* ---------------------------------------------------------------------------------------------
END: OVERLAY/MODAL POP UP STYLES
--------------------------------------------------------------------------------------------- */
