/**
 * Custom Product Preview
 *
 * @category:    Aitoc
 * @package:     Aitoc_Aitcg
 * @version      4.0.6
 * @license:     n/a
 * @copyright:   Copyright (c) 2014 AITOC, Inc. (http://www.aitoc.com)
 */
.aitraph {
    position: absolute;
    overflow: hidden;
}

.aitraph-li {
    cursor: pointer;
    padding: 1px;
}
.aitraph-li.error {
    border: 1px solid red;
    padding: 0;
}

.aitraph-li .aitcg_image_div {
    margin: 2px;
}

.aitcg_downloadlinks ul {
    margin-bottom: 5px;
    list-style: none;
}

.aitcg_print_sub {
    margin-left: 7px;
}

.aitcg_print_sub input{
    margin: 3px;
}

.aitcg_bgupload {
    margin:3px;
}

.aitcg_downloadlinks ul li {
    padding-left: 10px;
}

.aitcg_image_container {
    background: url('../../js/aitoc/aitcg/img/transparency.gif');
}

.aitcg_image_container .aitraph-top {
    border: 1px solid #FAA819;
    background: url('../../js/aitoc/aitcg/img/blank.gif');
}

.aitcg-overlay {
    position: absolute;
    top : 0;
    left: 0;
    z-index:10000;

    background: url('../../js/aitoc/aitcg/img/edit_64.png') no-repeat center center;
    opacity: 0.4;
    filter: alpha(opacity = 40);
}

.aitcg_image_div .aitcg-overlay {
    background: url('../../js/aitoc/aitcg/img/edit_48.png') no-repeat center center;
    z-index: auto;
}

.aitcg_image_div .aitcg-overlay.view-icon {
    background: url('../../js/aitoc/aitcg/img/zoom_48.png') no-repeat center center;
}

.more-views .aitcg_image_div .aitcg-overlay {
    background: url('../../js/aitoc/aitcg/img/edit_32.png') no-repeat center center;
}

.aitcg-overlay:hover {
    opacity: 1.0;
    filter: alpha(opacity = 100);
}

.aitraph-bot {
    padding: 1px;
}

.aitcg_image_div {
    position:relative;
    float: none;
    width: 0;
    cursor: pointer;
}
.aitcg_image_div .aitcg_preview_bg {
    top: 0;
    left: 0;
    position:relative;
    max-width:none;
}

.aitcg_image_div .aitraph {
    margin: -1px;
}

.aitcg_image_div .aitraph-top {
    border: 1px solid black;
}

.aitcg_image_div .aitraph .ith {
    position: absolute;
    top: 0;
    left: 0;
}    
    
#loading-mask {
    background:url('../../js/aitoc/aitcg/img/blank.gif') repeat;
    position:absolute;
    color:#d85909;
    font-size:1.1em;
    font-weight:bold;
    text-align:center;
    opacity:0.80;
/*    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; *//* IE8 */
    filter: alpha(opacity=80);

	z-index:59999;
    }
#loading-mask .loader {
    position:fixed;
    top:45%;
    left:50%;
    width:120px;
    margin-left:-60px;
    padding:15px 60px;
    background:#fff4e9;
    border:2px solid #f1af73;
    color:#d85909;
    font-weight:bold;
    text-align:center;
    z-index:50000;
}

#message-popup-window-mask { position:absolute; top:0; right:0; bottom:0; left:0; width:100%; height:100%; z-index:100; background-color:#efefef; opacity:.5; /*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";*//*IE8*/    filter: alpha(opacity=80); }
.message-popup { position:absolute; z-index:6001; width:407px; top:-9999em; left:50%; margin:0 0 0 -203px; background:#f3bf8f; padding:0 4px 4px; }
.message-popup.show { top:280px; }
.message-popup .message-popup-head { padding:1px 0; }
.message-popup .message-popup-head h2 { padding:0 10px; margin:0; font:bold 12px/19px Arial, Helvetica, sans-serif; color:#644f3b; }
.message-popup .message-popup-head a { float:right; border:1px solid #ea7601; padding:0 12px 0 7px; font:normal 12px/17px Arial, Helvetica, sans-serif; color:#fff; text-decoration:none !important; cursor:pointer; }
.message-popup .message-popup-head a span { float:left; padding-left:19px; }
.message-popup-ait {
    position: relative;
    overflow: hidden;
}

#wrapperAitcgUrl{
display: none;
}

.message-popup .aitclear {
    clear:both;
}

.message-popup .print-area-editor {
    padding-bottom:0;
}

.input-box .aitinput {
    /*float: left; */
    width: auto; 
    margin-right: 20px;
}
.input-box .aitimage {
}
.input-box .aitclear {
    clear:both;
}

.aitcg-popup {
    position: absolute;
    left: 50%;
    width: 750px;
    padding: 10px 15px;
    margin-left: -376px;
    z-index: 10001;

    background-color: #F7F7F7;
    border: 1px solid #C4C6C8;
}
    
.aitcg-popup .title {
    position: relative;
    height: 30px;
    padding-left: 10px;
    margin: -10px -15px 10px;

    border-bottom: 1px solid #C4C6C8;

    text-align: left;
    font-size: 16px;
    line-height: 30px;
    font-weight: bold;
}

.aitcg-popup.print-area-editor .title {
    border: none;
    margin-bottom: 0;
}
    
.aitcg-popup .title .close-but,
.aitcg-popup .title .help-but{
    float: right;
    height: 30px;
    width: 30px;

    background: url('../../js/aitoc/aitcg/img/close.png') no-repeat center center;
    z-index: 10000;
    cursor: pointer;
}

.aitcg-popup .title .help-but {
    background-image: url('../../js/aitoc/aitcg/img/help.png');
    cursor:help;
}
    
.aitcg-popup .text {
    font-size: 12px;
    color: #6D6E6E;
}
    
.aitcg-popup .buttons {
    padding-top: 10px;
    margin: 10px -15px 0;
    border-top: 1px solid #C4C6C8;
}
/* Styles for ColorPicker popUp */

.jscolorpicker
{
    border: 1px solid #406a83;
    height: 19px;
    margin-left: 3px;
}

.aitcg-button {
    padding: 2px 8px;
    margin: 0 10px 0 0;
    text-align: center;
    white-space: nowrap;

    font: bold 12px/18px Arial,Helvetica,sans-serif;
    cursor: pointer;
    text-decoration: none;
}

/* Bottom control panel */

#aitcg-control-panel {
    padding-top: 10px;
    position: relative;
    height: 40px;
}

#aitcg-control-panel .apply-but {
    float:right;
    margin-right: 0;
}

.aitcg_error {
    color: #dd0000;
    font-size: 12px;
}

.aitcg_preview_inverted_mask {
	position:absolute;
	left:0;
	top:0;
	z-index:6000;
	pointer-events:none;
}

.aitraph tspan {
	-webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Toolbox */

.aitcg-toolbox {
    position: relative;
    overflow: hidden;
    padding-bottom: 5px;
}

.aitcg-toolbox-accordion .toolTitle {
    margin: 3px;
    clear: both;
    font-weight: bold;
    width: 100%;
    border-top: 1px solid black;
    cursor: pointer;
}

.aitcg-toolbox-accordion .toolTitle .plus,
.aitcg-toolbox-accordion .toolTitle.selected .minus {
    display: inline;
}

.aitcg-toolbox-accordion .toolTitle .minus,
.aitcg-toolbox-accordion .toolTitle.selected .plus {
    display: none;
}

.aitcg-toolbox-icons {

}

.aitcg-toolbox .tools-titles,
.aitcg-toolbox .tools-bodies {
    clear: both;
    width: 100%;
}

.aitcg-toolbox .tool-body {
    display: none;
    padding-bottom: 5px;
}

.aitcg-toolbox .tool-body.selected {
    display: block;
}

.aitcg-toolbox-icons .toolTitle {
    float: left;
    cursor: pointer;
    margin-right: 3px;
}

.aitcg-toolbox-icons .toolTitle .icon {
    float: left;
    border-radius: 5px;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 5px;
    width: 32px;
    height: 32px;
    margin: 2px;
}
.aitcg-toolbox-icons .toolTitle .label {
    float: left;
    clear: both;
    font-weight: bold;
    font-size: 12px;
    /*width: 50px;*/
    padding: 3px;
    text-align: center;
}

.aitcg-toolbox .text-edit-notice {
    font: bold 12px/15px Arial,Helvetica,sans-serif;
    padding: 2px 3px;
    text-transform: uppercase;
}

.aitcg-toolbox-icons .toolTitle.selected,
.aitcg-toolbox-icons .toolTitle:hover {
    opacity: 1.0;
    filter: alpha(opacity=100);
}

.aitcg-toolbox input, .aitcg-toolbox select{
    padding: 1px;
    font: 12px/15px Arial,Helvetica,sans-serif;
}

.aitcg-toolbox table.form-list
{
    border-spacing: 5px;
}

.aitcg-font-preview {
    overflow: hidden;
    max-width: 550px;
}

.aitcg-toolbox .tool-body .buttons,
.aitcg-under-template-block {
    margin: 0;
    border: none;
    padding: 2px 0;
    width: 100%;
    clear: both;
}

.aitcg-toolbox .category-previews {
    max-height: 280px;
    overflow: auto;
    margin: 3px 0;
    position: relative;
}

.aitcg-toolbox .category-previews .container {
    margin: -3px 0 -3px -3px;
}

.aitcg-toolbox .category-previews div div {
    float: left;
    padding: 3px;
    width: 137px;
    height: 137px;
}

.aitcg-toolbox .category-previews input {
    display: none;
}

.aitcg-toolbox .category-previews img {
    cursor: pointer;
    padding: 1px;
    width: 135px;
    height: 135px;
}

.aitcg-toolbox .category-previews img.selected,
.aitcg-toolbox .category-previews img:hover {
    border: 1px solid red;
    padding: 0;
}

#aitcg-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 12px;
    z-index: 100010;


    font-size: 16px;
    text-align: center;
}

/* Tooltips color themes */
.aitcg-tooltip-dark {
    background: url('../../js/aitoc/aitcg/img/black_75.png');
    color: #ffffff;
    border-bottom: 1px solid white;
}

.aitcg-tooltip-light {
    background: url('../../js/aitoc/aitcg/img/white_75.png');
    color: #000000;
    border-bottom: 1px solid black;
}
/* The main calendar widget.  DIV containing a table. */

.calendar {
  position: relative;
  display: none;
  border-top: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  border-left: 2px solid #fff;
  font-size: 11px;
  color: #000;
  cursor: default;
  background: #d4d0c8;
  font-family: tahoma,verdana,sans-serif;
}

.calendar table {
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
  font-size: 11px;
  color: #000;
  cursor: default;
  background: #d4d0c8;
  font-family: tahoma,verdana,sans-serif;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;
  padding: 1px;
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;
}

.calendar .nav {
  background: transparent url(../../js/calendar/menuarrow.gif) no-repeat 100% 100%;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;
  padding: 1px;
  border: 1px solid #000;
  background: #848078;
  color: #fff;
  text-align: center;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
}

.calendar thead .daynames { /* Row <TR> containing the day names */
}

.calendar thead .name { /* Cells <TD> containing the day names */
  border-bottom: 1px solid #000;
  padding: 2px;
  text-align: center;
  background: #f4f0e8;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #f00;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  border-top: 2px solid #fff;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  border-left: 2px solid #fff;
  padding: 0px;
  background-color: #e4e0d8;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  padding: 2px 0px 0px 2px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
  background-color: #c4c0b8;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  text-align: right;
  padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #aaa;
}
.calendar tbody .day.othermonth.oweekend {
  color: #faa;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #000;
  background: #f4f0e8;
}

.calendar tbody .rowhilite td {
  background: #e4e0d8;
}

.calendar tbody .rowhilite td.wn {
  background: #d4d0c8;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  padding: 1px 3px 1px 1px;
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  padding: 2px 2px 0px 2px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
}

.calendar tbody td.selected { /* Cell showing selected date */
  font-weight: bold;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
  padding: 2px 2px 0px 2px;
  background: #e4e0d8;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #f00;
}

.calendar tbody td.today { /* Cell showing today date */
  font-weight: bold;
  color: #00f;
}

.calendar tbody .disabled { color: #999; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  visibility: hidden;
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  display: none;
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #f4f0e8;
  padding: 1px;
  border: 1px solid #000;
  background: #848078;
  color: #fff;
  text-align: center;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;
  padding: 1px;
  background: #e4e0d8;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  padding: 2px 0px 0px 2px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  width: 4em;
  top: 0px;
  left: 0px;
  cursor: default;
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;
  background: #e4e0d8;
  font-size: 90%;
  padding: 1px;
  z-index: 100;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .active {
  background: #c4c0b8;
  padding: 0px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
}

.calendar .combo .hilite {
  background: #048;
  color: #fea;
}

.calendar td.time {
  border-top: 1px solid #000;
  padding: 1px 0px;
  text-align: center;
  background-color: #f4f0e8;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  border: 1px solid #889;
  font-weight: bold;
  background-color: #fff;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 0px 2px 0px 3px;
  font-weight: bold;
}

.calendar td.time span.hilite {
  border-color: #000;
  background-color: #766;
  color: #fff;
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}