/*
**	ccg_common.css	CCG shared CSS
**
**	21-nov-2016 (hf) added ccg_mlightbox class (modal)
**	22-dec-2014 (hf) minor ghosttext fix
**	03-sep-2014 (hf) minor adjustments
**	21-aug-2014 (hf) textarea match input, remove input image
**	15-aug-2014 (hf) progress bar and ghost text widgets
**	13-aug-2014 (hf) created
**	
** COPYRIGHT (C) 2014-2018 CHEMICAL COMPUTING GROUP ULC. ALL RIGHTS RESERVED.
**/

body {
    background-color: #ffffff;
    color: #4e4e4e;
    font: tahoma;
}

img {
    border-style: none;
}

input[type=text],
input[type=password] {
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #d1c7ac;
    font-family: tahoma, arial, sans-serif;
    padding: 4px 8px;
}

input[type=text]:focus,
input[type=password] :focus {
    border-color: #1199ee;
    box-shadow: 0 0 6px #1199ee;
    outline: none;
}

select {
    vertical-align: middle;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #ffffff;
    border: 1px solid #d1c7ac;
    padding: 4px 0px 4px 3px;
    font-family: tahoma, arial, sans-serif;
}

textarea {
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #d1c7ac;
    font-family: tahoma, arial, sans-serif;
    padding: 4px 8px;
}

textarea:focus {
    border-color: #1199ee;
    box-shadow: 0 0 6px #1199ee;
    outline: none;
}

a {
    color: #1E9DD5;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: #1E9DD5;
}

.ccg_link {
    color: #1E9DD5;
    text-decoration: none;
    cursor: pointer;
}

.ccg_link:hover {
    text-decoration: underline;
}

.ccg_gototop {
    position: fixed;
    top: 0px;
    left: 0px;
    color: #333333;
    font-size: 11px;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    z-index: 50;
}

.ccg_lightbox {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 99;
    background: rgb(51, 51, 51);
    background: rgba(51, 51, 51, 0.7);
    display: none;
}

.ccg_mlightbox {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 99;
    background: rgb(51, 51, 51);
    background: rgba(51, 51, 51, 0.7);
    display: none;
}

.ccg_lightboxmsg {
    position: fixed;
    text-align: center;
    font-size: 12px;
    z-index: 100;
    background-color: #ffffff;
    border: 3px solid #333333; 
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 50px;
}

.ccg_popupmenu {
    background-color: #5574a3;
    color: #ffffff;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 20;
    visibility: hidden;
    font-size: 13px;
    cursor: pointer;
}

.ccg_popupmenu table {
    border-spacing: 0;
    border-collapse: collapse;
    border: 1px solid #ffffff;
    width: 100%;
}

.ccg_popupmenu a {
    color: #ffffff;
}

.ccg_popupmenu a:hover {
    background-color: #cccccc;
    border-bottom: 1px solid #ffffff;
}

.ccg_popupmenu td:hover {
    background-color: #cccccc;
}

.ccg_popupmenu span:hover {
    border-bottom: 1px solid #ffffff;
}

.ccg_popupmenu span.ccg_popupmenudis {
    color: #999999;
}

.ccg_popupmenu span.ccg_popupmenudis:hover {
    border-bottom-style: none;
}

.ccg_popupmenu tr {
    height: 30px;
    border: 1px solid #ffffff;
}

.ccg_popupmenu td {
    padding-left: 6px;
    padding-right: 6px;
    cursor: pointer;
    width: 100%;
    color: #ffffff;
}

.ccg_popupmenu span {
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.ccg_popupmenu a {
    text-decoration: none;
}

.ccg_button {
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    vertical-align: middle;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
    border: 1px solid #942911;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #ffffff;
    box-shadow: inset 0px 1px 0px 0px #cf866c;
    background: #d0451b; /* old browsers */
    background: -moz-linear-gradient(top, #d0451b 5%, #bc3315 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(5%,#d0451b), color-stop(100%,#bc3315)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #d0451b 5%,#bc3315 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #d0451b 5%,#bc3315 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #d0451b 5%,#bc3315 100%); /* IE10+ */
    background: linear-gradient(to bottom, #d0451b 5%, #bc3315 100%); /* W3C */
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d0451b', endColorstr='#bc3315',GradientType=0); /* IE 6-9 */
    text-shadow: 0px 1px 0px #854629;
}

.ccg_button:active {
    position: relative;
    top: 2px;
}

.ccg_button:hover {
    text-decoration: underline;
    background: #bc3315; /* old browsers */
    background: -moz-linear-gradient(top, #bc3315 5%, #d0451b 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(5%,#bc3315), color-stop(100%,#d0451b)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #bc3315 5%,#d0451b 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #bc3315 5%,#d0451b 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #bc3315 5%,#d0451b 100%); /* IE10+ */
    background: linear-gradient(to bottom, #bc3315 5%, #d0451b 100%); /* W3C */
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bc3315', endColorstr='#d0451b',GradientType=0); /* IE 6-9 */
}

.ccg_buttonhover {
    position: relative;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    vertical-align: middle;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
    border: 1px solid #942911;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #ffffff;
    box-shadow: inset 0px 1px 0px 0px #cf866c;
    background: #bc3315; /* old browsers */
    background: -moz-linear-gradient(top, #bc3315 5%, #d0451b 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(5%,#bc3315), color-stop(100%,#d0451b)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #bc3315 5%,#d0451b 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #bc3315 5%,#d0451b 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #bc3315 5%,#d0451b 100%); /* IE10+ */
    background: linear-gradient(to bottom, #bc3315 5%, #d0451b 100%); /* W3C */
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bc3315', endColorstr='#d0451b',GradientType=0); /* IE 6-9 */
    text-shadow: 0px 1px 0px #854629;
    text-decoration: underline;
}

.ccg_buttonclick {
    position: relative;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    vertical-align: middle;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
    border: 1px solid #942911;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #ffffff;
    box-shadow: inset 0px 1px 0px 0px #cf866c;
    background: #bc3315; /* old browsers */
    background: -moz-linear-gradient(top, #bc3315 5%, #d0451b 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(5%,#bc3315), color-stop(100%,#d0451b)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #bc3315 5%,#d0451b 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #bc3315 5%,#d0451b 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #bc3315 5%,#d0451b 100%); /* IE10+ */
    background: linear-gradient(to bottom, #bc3315 5%, #d0451b 100%); /* W3C */
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bc3315', endColorstr='#d0451b',GradientType=0); /* IE 6-9 */
    text-shadow: 0px 1px 0px #854629;
    text-decoration: underline;
}

.ccg_buttonfile {
    cursor: pointer;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; 
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    -webkit-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
    position: absolute;
    top: 0px;
    left: 0px;
}

.ccg_drag {
    cursor: pointer;
}

.ccg_helpwin {
    position: absolute;
    width: 290px;
    border: 1px solid #808080;
    border-radius: 3px;
    color: #333333;
    background-color: #fafafa;
    font-size: 12px;
    z-index: 5;
    text-align: justify;
}

.ccg_helpwin p {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 10px;
    padding-right: 10px;
}

.ccg_ghosttext {
    color: #999999;
    font-style: italic;
    overflow-x: hidden;
    overflow-y: hidden;
    z-index: 1;
    top: 0px;
    left: 11px;
    cursor: text;
}

.ccg_progress {
    margin-left: auto;
    margin-right: auto;
    width: 500px;
    padding: 10px;
}

.ccg_progress_image {
    width: 1px;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.ccg_progress_bg {
    background: #ffffff;
    z-index: 1;
    position: absolute;
    top: 10px;
    left: 10px;
}

.ccg_progress_perc {
    margin-left: auto;
    margin-right: auto;
    color: #000000;
    font-size: 20px;
    text-align: center;
    z-index: 3;
    vertical-align: middle;
    position: absolute;
    top: 15px;
    left: 10px;
}

.ccg_calendar {
    background-color: #eeeeee;
    z-index: 20;
    border: outset #eeeeee;
    font-size: 0.85em;
}

.ccg_calendar_day {
    color: #008000;
    cursor: pointer;
    text-align: center;
}

.ccg_calendar_day td:hover {
    color: #00c000;
    background-color: #bbbbbb;
    cursor: pointer;
}

