﻿/*
  ----------------------------------
        Dialogs common 
  ----------------------------------
*/

.dialog
{
    overflow-y: auto;
}

.dialog .btnBlue
{
    float: right;
    margin-right: 30px;
    margin-top: 30px;
}

/*
  ----------------------------------------
        Company configuration dialog 
  ----------------------------------------
*/
table.config
{
    width: 99%;
}

table.config th
{
    text-align: left;
    padding-left: 20px;
}


/*
  -----------------------------
        Severity answers
  -----------------------------
*/

.severity
{
    border-collapse: collapse;
    width: 99%;
}

.severity.Environment
{
    width: 460px;
}

.severity td,
.severity th
{
    border: solid 1px #ccc;
    padding: 3px;
    background-color: #fff;
}

.severity th
{
    text-align: left;
    font-weight: normal;
}

.severity th.answer-col
{
    text-align: center;
}

.severity td
{
    text-align: center;
}

.severity .no-border
{
    border: none;
}

.severity .group div
{
    /*transform: rotate(-90deg);
	transform-origin: center bottom 0;*/
    padding-left: 5px;
}

.severity input
{
    vertical-align: middle;
    position: relative;
    bottom: 1px;
}

.severity .group-col
{
    width: 60px;
}

.severity .answer-col
{
    width: 10%;
}

.severity.Security .answer-col
{
    width: 70px;
}

.severity.Environment .answer-col
{
    width: 70px;
}

.severity.Operations .answer-col:nth-child(3)
{
    width: 80px;
}

/*
  -----------------------------
        Wizard background 
  -----------------------------
*/


.wizardFrame.wide {
    width: 709px;
}

/* Modify background image for bigger dialog window (won't work in older browsers) */
.wizardFrame.new-wizard
{
    width: 100%;
    height: 100vh; /* 100% of viewport height */
}

/*
  -----------------------------
        Wizard buttons
  -----------------------------
*/

    .wizardFrame input[type="submit"],
    input[type="submit"].gray,
    button.gray,
    label.btnGray 
    {
        font-family: Tahoma, Verdana, Arial, sans-serif;
        color: white;
        font-size: 10px;
        font-weight: bold;
        border: none;
        background-color: #a3a3a3;
        height: 22px;
        padding: 0 10px;
        margin-left: 4px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
    }

        .wizardFrame input[type="submit"]:hover,
        input[type="submit"].gray:hover,
        button.gray:hover,
        label.btnGray:hover 
        {
            cursor: pointer;
        }

.wizardFrame input[type="submit"]:last-child
{
    background-color: #5e5e5e;
}

/* Workaround for ASP.NET wizard control */

.wizardFrame td > input[type="submit"]:last-child
{
    background-color: #a3a3a3;
}

.wizardFrame td:last-child > input[type="submit"]:last-child
{
    background-color: #5e5e5e;
}


/*
  -----------------------------
        Wizard editable list
  -----------------------------
*/

.wizard-editable-list
{
    float:left;
    width:25%;
    padding-top:10px;
}

.wizard-editable-list a
{
    display:block;
    padding:5px 10px;
    color:#3d3838;
}

.wizard-editable-list a:hover
{
    color: #c2020a;
    text-decoration:none;
}

.wizard-editable-list a:first-letter
{
    text-transform:capitalize;
}

.wizard-editable-list a.selected
{
    background-color:#ebebeb;
    border-radius:5px 0 0 5px;
    font-weight:bold;
}

.wizard-editable-list a.selected:hover
{
    color:#3d3838;
}

.wizard-editable-list a.newItem
{
    font-style:italic;
}

/* Hide edit dialogs initially */
.edit-form.dialog-edit-form
{
    display: none;
}

/* Show edit dialogs initially */
.edit-form.wizard-edit-form
{
    display:block;
}

.wizard-edit-form label
{
    color: #3d3838;
}

/*
  -----------------------------
        New wizard layout
  -----------------------------
*/

.new-wizard .commands
{
    display: inline-block;
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.new-wizard .dialog
{
    margin-top: 0;
}

.new-wizard h2
{
    font-size: 13px;
    margin-top: 0;
    color: #295187;
}

.new-wizard .content
{
    padding: 0 20px 10px 10px;
}

.event-wizard .measures
{
    width: 75%;
    height: 380px;
}

.event-wizard .treeview
{
    width: 80%;
    height: 480px;
}

.event-wizard .searchtreeview {
    width: 80%;
}

    .event-wizard .searchtreeview .selecteditems {
        width: 80%;
        height: 500px;
    }

.event-wizard textarea.employees
{
    width: 80%;
    height: 150px;
}

.event-wizard .event-description
{
    width: 400px;
    height: 250px;
}

.employees-help
{
    margin-top: 20px;
}

.wizard-edit-form
{
    float:left;
    width:75%;
    background-color:#ebebeb;
    padding:10px 20px;
    border-radius: 10px 10px 10px 10px;
    width:380px;
}

.new-wizard .edit-form .buttons
{
    margin-top:15px;
    padding-right:50px;
}

/*
  -----------------------------
        File upload
  -----------------------------
*/
#upload-container
{
    /*height: 350px;*/
    min-height: 100%;
    height: auto
}

.u-upload
{
    margin: 10px 0;
}

.u-upload-queue
{
}

.u-upload-file
{
    padding: 2px 0;
}

.u-upload-file-name,
.u-upload-file-remove
{
    margin: 0 10px 0 0;
}

.it .u-upload-file-name
{
    display: inline-block;
    width: 350px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.sz span
{
    display: inline-block;
    width: 70px;
}

.u-upload-file-remove,
.u-upload-file-button
{
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    padding: 0px 8px;
    color: #fff;
    right: 0;
    display: inline-block;
    float: right;
    cursor: pointer;
    height: 22px;
    font-family: Tahoma, Verdana, Arial, sans-serif;
}

.u-upload-file-remove
{
    background-color: #295187;
    padding-top: 3px;
    height:19px;
}

#upload.u-upload-file-button
{
    padding: 3px 3px 0 3px !important;
    height:19px;
    width:106px;
    text-align:center;
}

.u-upload-file-remove:hover
{
    text-decoration: underline;
}

/* Id is added to give higher priority to this rule */
#upload-container .u-upload-file-button
{
    border: none;
    float: left;
    margin: 10px 0 0 10px;
    background-color: #295187;
}

.u-upload-progress
{
    display: block;
    margin: 4px 0;
    height: 2px;
    background-color: #C60307;
}

.u-upload-progress span
{
    display: block;
    height: 8px;
    background-color: #4c66aa;
}

.upload-dnd {
    background: none;
    position: relative !important;
    top: 0;
    left: 0;
    height: 60px;
    display: flex;
    margin: 0 15px;
    border: 2px #c4c4c4 dashed;
    justify-content: center;
    align-items: center;
}

    .upload-dnd.hover {
        /*display: block;*/
        /*width: 100% !important;*/
        /*height: 60px;*/
        background-color: rgba(211, 211, 211, 0.5) !important;
        /*display: flex;
        justify-content: center;
        align-items: center;*/
        font-size: 2em;
        color: #333
    }

.event-wizard .upload-dnd.hover
{
    height: 600px !important;
}

.upload-dnd.hover .ui-button-text
{
    display: none !important;
}

#upload .ui-button-text
{
    display: block;
    padding: 5px;
}
 

/*
  -----------------------------
        Mailing list editor
  -----------------------------
*/
.mailing-list
{
    width:490px;
    height:320px;
}

/*
  ------------------------------------------
        jQuery UI dialog modifications
  ------------------------------------------
*/
.ui-dialog.ui-widget-content
{
    border: 2px solid #6c8ebc;
    border-radius:0;
    padding:0;
}

.ui-dialog .ui-dialog-titlebar.ui-widget-header
{
    background-image: url("Img/ModalTitleBG.gif");
    background-repeat: repeat-x;  
    height: 75px;
    padding: 0 20px;
    text-transform: uppercase;
    border: none;
    border-radius:0;
}

.ui-dialog .ui-dialog-titlebar .ui-dialog-title
{
    color: #295187;
    font-family: Tahoma,Arial;
    font-size:14px;
    font-weight: bold;
    margin-top:20px;
}

.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close
{
    top:40%;
    right:1em;
    padding:0;
}

.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close .ui-icon-closethick {
    background-image: url("Img/ModalClose.gif");
    background-position:0 0;
}

.ui-dialog .ui-dialog-titlebar .ui-state-hover
{
    border: none;
    background-position:0 0;
}

.ui-dialog.ui-draggable .ui-dialog-titlebar
{
    cursor:default;
}

.ui-dialog .ui-dialog-content.ui-widget-content
{
    padding: 0 1.5em 1em 1.5em;
}

.ui-dialog.ui-widget input, 
.ui-widget.ui-widget select, 
.ui-widget.ui-widget textarea, 
.ui-widget.ui-widget button 
{
    font-family: Tahoma;
    font-size: 11px;
}

.ui-dialog.ui-widget button,
.ui-dialog.ui-widget input[type=submit]
{
    font-family: Tahoma,Verdana,Arial,sans-serif;
    font-size: 10px;
    font-weight: bold;
}

.configurationof 
{
    font-weight:bold;
    color:lightblue;
    font-size:13px;
}