/* ========================Popup Window=============================================*/

.popup-window {
	background-color: #fff;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 6px 11px rgba(0, 0, 0, .17);
	-moz-box-shadow: 0 6px 11px rgba(0, 0, 0, .17);
	box-shadow: 0 6px 11px rgba(0, 0, 0, .17);
	border: 1px solid;
	border-color: #e1e1e1 #d1d1d1 #d1d1d1 #d1d1d1;
}

.popup-window-top-row .popup-window-left-column { border-top-left-radius: 4px; }
.popup-window-top-row .popup-window-right-column { border-top-right-radius: 4px; }
.popup-window-bottom-row .popup-window-left-column { border-bottom-left-radius: 4px; }
.popup-window-bottom-row .popup-window-right-column { border-bottom-right-radius: 4px;}

.popup-window-top-row { height: 7px; }
.popup-window-bottom-row { height: 2px; }
.popup-window-bottom-row .popup-window-left-column { height: 2px; }
.popup-window-bottom-row .popup-window-right-column { height: 2px; }

.popup-window-left-column {width: 5px; min-width: 5px; height:7px; padding: 0; text-align: left;}
.popup-window-right-column {width: 3px; min-width: 3px; height:7px; padding: 0; text-align: left; }
.popup-window-center-column { padding: 0; text-align: left; }
.popup-window-left-spacer { width: 5px; height: 1px; font-size: 1px; }
.popup-window-right-spacer { width: 3px; height: 1px; font-size: 1px; }

.popup-window-top-row .popup-window-left-column {
	/*old properties*/
	/*background: url(../images/popup/popup-sprite.2.png) no-repeat 0 0;*/

	/*properties for compatibility*/
	background-repeat: no-repeat;
	background-position: 0 0;
}
.popup-window-top-row .popup-window-center-column {
	/*old properties*/
	/*background: url(../images/popup/popup-sprite.2.png) repeat-x 0 -29px;*/

	/*properties for compatibility*/
	background-repeat: repeat-x;
	background-position: 0 -29px;
	height:2px;
}
.popup-window-top-row .popup-window-right-column {
	/*old properties*/
	/*background: url(../images/popup/popup-sprite.2.png) no-repeat -7px 0;*/

	/*properties for compatibility*/
	background-position: -7px 0;
	background-repeat: no-repeat;
}

.popup-window-content-row .popup-window-left-column {
	/*old properties*/
	/*background: url(../images/popup/popup-sprite.2.png) no-repeat 0 -144px; */

	/*properties for compatibility*/
	background-repeat: no-repeat;
	background-position: 0 -144px;
}
.popup-window-content-row .popup-window-center-column { background: #fff; vertical-align: top; }
.popup-window-content-row .popup-window-right-column {
	/*old properties*/
	/*background: url(../images/popup/popup-sprite.2.png) no-repeat -7px -144px; */

	/*properties for compatibility*/
	background-repeat: no-repeat;
	background-position: -7px -144px;
}
.popup-window-content { margin: 0 2px;}
.popup-window-hr { background: #ebebeb url(../images/controls-sprite.png) no-repeat 0 -396px; display:block; font-size:1px; height:1px; line-height:1px; margin:0; overflow:hidden; padding:0;}
.popup-window-hr i { background: url(../images/controls-sprite.png) no-repeat right -398px; display:block; font-size:1px; height:1px; line-height:1px; margin:0; overflow:hidden; padding:0; }

.popup-window-delimiter { background: #ebebeb url(../images/controls-sprite.png) no-repeat 0 -396px; display:block; font-size:1px; height:1px; line-height:1px; margin:0; overflow:hidden; padding:0;}
.popup-window-delimiter i { background: url(../images/controls-sprite.png) no-repeat right -398px; display:block; font-size:1px; height:1px; line-height:1px; margin:0; overflow:hidden; padding:0; }


.popup-window-bottom-row .popup-window-left-column {
	/*old properties*/
	/*background: url(../images/popup/popup-sprite.2.png) no-repeat 0 -9px;*/

	/*properties for compatibility*/
	background-repeat: no-repeat;
	background-position: 0 -9px;
}
.popup-window-bottom-row .popup-window-center-column {
	/*old properties*/
	/*background: url(../images/popup/popup-sprite.2.png) repeat-x 0 -18px;*/

	/*properties for compatibility*/
	background-repeat: repeat-x;
	background-position: 0 -18px;
}
.popup-window-bottom-row .popup-window-right-column {
	/*old properties*/
	/*background: url(../images/popup/popup-sprite.2.png) no-repeat -7px -9px;*/

	/*properties for compatibility*/
	background-repeat: no-repeat;
	background-position: -7px -9px;
}

.popup-window-buttons-hr { margin: 9px 2px 0 2px; }
.popup-window-buttons { padding:  0; margin: 10px 10px 7px 10px;  text-align: center; position: relative; zoom:1;}
.popup-window-button {
	margin: 0 2px 0 3px;
	font: normal normal normal 13px/24px Arial, Helvetica, sans-serif;
}
.popup-window-button,
.popup-window-button:before,
.popup-window-button:after {
	display: inline-block;
	cursor:pointer;
	content: '';
	vertical-align: top;
	height:25px;
	line-height:25px;
}


.popup-window-button  {
	background: url(../images/controls-sprite.png) repeat-x 0 -551px;
	border-radius: 4px;
	-webkit-box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.06);
	box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.06);
	color: #000;
}

.popup-window-button:before {
	background: url(../images/controls-sprite.png) no-repeat -15px -493px;
	border-radius: 4px 0 0 4px;
	margin-right: 8px;
	width:4px;
}

.popup-window-button:after {
	border-radius: 0 4px 4px 0;
	margin-left: 8px;
}

.popup-window-button:after {
	background: url(../images/controls-sprite.png) no-repeat -22px -493px;
	width:4px;
}
.popup-window-button:hover { background: url(../images/controls-sprite.png) repeat-x 0 -985px; }
.popup-window-button:hover:before { background: url(../images/controls-sprite.png) no-repeat -15px -927px; }
.popup-window-button:hover:after { background: url(../images/controls-sprite.png) no-repeat -22px -927px; }


.popup-window-button-accept,
.popup-window-button-create {
	background: url(../images/controls-sprite.png) repeat-x 0 -356px;
	color: #fff;
	text-shadow: #75ab6f -1px -1px 0;
}
.popup-window-button-accept:before,
.popup-window-button-create:before { background: url(../images/controls-sprite.png) no-repeat 0 -328px;}
.popup-window-button-accept:after,
.popup-window-button-create:after {  background: url(../images/controls-sprite.png) no-repeat -6px -328px;}
.popup-window-button-accept:hover,
.popup-window-button-create:hover { background: url(../images/controls-sprite.png) repeat-x 0 -1044px; }
.popup-window-button-accept:hover:before,
.popup-window-button-create:hover:before { background: url(../images/controls-sprite.png) no-repeat 0 -1016px; }
.popup-window-button-accept:hover:after,
.popup-window-button-create:hover:after { background: url(../images/controls-sprite.png) no-repeat -6px -1016px; }

.popup-window-button-decline  {
	background: url(../images/controls-sprite.png) repeat-x 0 -522px;
	color: #fff;
	text-shadow: #e15252 -1px -1px 0;
}
.popup-window-button-decline:before { background: url(../images/controls-sprite.png) no-repeat 0 -493px; }
.popup-window-button-decline:after { background: url(../images/controls-sprite.png) no-repeat -4px -493px;}

.popup-window-button-decline:hover { background: url(../images/controls-sprite.png) repeat-x 0 -956px; }
.popup-window-button-decline:hover:before { background: url(../images/controls-sprite.png) no-repeat 0 -927px; }
.popup-window-button-decline:hover:after { background: url(../images/controls-sprite.png) no-repeat -4px -927px; }

.popup-window-button-cancel {color: #d83e3e; font-weight: bold;}

.popup-window-button-link {
	-webkit-box-shadow: none;
	box-shadow: none;
	cursor: pointer;
	text-decoration: underline;
}
.popup-window-button-link,
.popup-window-button-link:hover {background: none;}
.popup-window-button-link:before,
.popup-window-button-link:after {display: none;}
.popup-window-button-link-cancel { color: #d83e3e;}

.popup-window-button-disable {
	cursor: default;
	opacity: 0.3;
}

.popup-window-button-disable:hover {
	background: url("../images/controls-sprite.png") repeat-x 0 -551px;
	cursor: default;
}

.popup-window-button-disable:hover .popup-window-button:before {
	background: url("../images/controls-sprite.png") no-repeat -15px -493px;
	cursor: default;
}

.popup-window-button-disable:hover .popup-window-button:after {
	background: url("../images/controls-sprite.png") no-repeat -22px -493px;
	cursor: default;
}



.popup-window-light {
	-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .18);
	-moz-box-shadow: 0 2px 5px rgba(0, 0, 0, .18);
	box-shadow: 0 2px 5px rgba(0, 0, 0, .18);
	border: 1px solid;
	border-color: #d8d8d8 #bdbdbd #bdbdbd #bdbdbd;
}

.popup-window-light .popup-window-top-row .popup-window-left-column { /*background-image:url(../images/popup/popup-sprite-light.2.png);*/ }
.popup-window-light .popup-window-top-row .popup-window-center-column { /*background-image:url(../images/popup/popup-sprite-light.2.png); */}
.popup-window-light .popup-window-top-row .popup-window-right-column { /*background-image:url(../images/popup/popup-sprite-light.2.png);*/ }

.popup-window-light .popup-window-content-row .popup-window-left-column { /*background-image:url(../images/popup/popup-sprite-light.2.png);*/ }
.popup-window-light .popup-window-content-row .popup-window-right-column { /*background-image:url(../images/popup/popup-sprite-light.2.png);*/ }

.popup-window-light .popup-window-bottom-row .popup-window-left-column { /*background-image:url(../images/popup/popup-sprite-light.2.png);*/ }
.popup-window-light .popup-window-bottom-row .popup-window-center-column { /*background-image:url(../images/popup/popup-sprite-light.2.png);*/ }
.popup-window-light .popup-window-bottom-row .popup-window-right-column { /*background-image:url(../images/popup/popup-sprite-light.2.png); */}


.popup-window-titlebar .popup-window-top-row .popup-window-left-column,
.popup-window-titlebar .popup-window-top-row .popup-window-center-column,
.popup-window-titlebar .popup-window-top-row .popup-window-right-column,
.popup-window-titlebar-light .popup-window-top-row .popup-window-left-column,
.popup-window-titlebar-light .popup-window-top-row .popup-window-center-column,
.popup-window-titlebar-light .popup-window-top-row .popup-window-right-column {
	height:36px;
	background-color:#ededed;
	background-image:-webkit-linear-gradient(top, #f5f5f5, #e5e5e5);
	background-image:linear-gradient(to bottom, #f5f5f5, #e5e5e5);
	-webkit-box-shadow: 0 1px #f9f9f9;
	box-shadow: inset 0 1px #f9f9f9;
	border-bottom: 1px solid #d6d6d6;
	background-position: 0 0;
}

.popup-window-close-icon {
	position:absolute;
	right:10px;
	top: 5px;
	width: 13px;
	height: 13px;
	background: url(../images/controls-sprite.png) no-repeat 0 -283px;
	cursor:pointer;
	outline: none;
	margin-right: -5px; /* for compatibility */
}

.popup-window-titlebar-close-icon { margin-top: 3px; margin-right: -3px; /* for compatibility */ }

.popup-window-close-icon:hover { background: url(../images/controls-sprite.png) no-repeat -17px -283px; }

.popup-window-angly { display:none; position: absolute; background:url(../images/popup/popup-angles-sprite.png) no-repeat -27px -105px; }
.popup-window-angly-top { display:block; width:19px; height: 10px; background-position:-27px -105px; left:10px; top:-9px; margin:0;}
.popup-window-angly-right { display:block; width:13px; height: 30px; background-position:-10px -103px; right: -12px; top:10px;}
.popup-window-angly-bottom { display:block; width:21px; height: 19px; background-position: -7px -135px; margin-left: 10px; margin-top: -1px; }
.popup-window-angly-left { display:block; width:13px; height: 28px; background-position:-28px -127px; left: -12px; top: 10px;}

.popup-window-light-angly { display:none; position: absolute; background:url(../images/popup/popup-angles-sprite.png) no-repeat -27px -14px; }
.popup-window-light-angly-top { display:block; width: 18px; height:10px; background-position:-27px -14px; left:7px; top:-9px; margin:0; }
.popup-window-light-angly-right { display:block; width: 11px; height:19px; background-position:-9px -13px; right: -10px; top:2px;}
.popup-window-light-angly-bottom { display:block; width: 20px; height: 12px; background-position:-6px -43px; margin-left: 7px; margin-top: -1px; }
.popup-window-light-angly-left { display:block; width:10px; height: 18px; background-position:-31px -37px; left: -9px; top: 2px;}

.popup-window-overlay { position: absolute; top: 0; left: 0; display: none; background: #333; filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50); -moz-opacity: 0.5; -khtml-opacity: 0.5; opacity: 0.5;}

/* Menu Popup */
.menu-popup { margin: -4px 4px 0 -2px;}
.menu-popup-title { margin: 0 0 7px 0; padding: 0 0 0 4px; color:#4c4c4c;  white-space:nowrap; font:normal normal normal 12px/normal Arial, Helvetica, sans-serif; }
.menu-popup .menu-popup-item { display:block; margin:4px 0 4px 0; cursor:pointer; position:relative; text-decoration:none; outline: none; white-space: nowrap;}

.menu-popup-item-left, .menu-popup-item-icon,
.menu-popup-item-text, .menu-popup-item-right { display: inline-block; height: 23px; vertical-align:middle; }
.menu-popup-item-left, .menu-popup-item-right { width:3px; }
.menu-popup-item-icon { width: 19px; height: 16px; }
.menu-popup-item-text { font:normal normal normal 12px/23px Arial, Helvetica, sans-serif; color:#494949; text-decoration:none;  margin: 0 5px 0 7px;  }
.menu-popup-item-right { position:absolute; top:0; right:0;}
.menu-popup-item:hover, .bx-admin-submenu-opened { background: #f0f0f0 !important; -webkit-border-radius: 3px; border-radius: 3px; }

.menu-popup-no-icon .menu-popup-item-icon {display: none; }
.menu-popup-item-view .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -45px -271px transparent; }
.menu-popup-item-edit .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -43px -291px transparent; }
.menu-popup-item-create .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -44px -311px transparent; }
.menu-popup-item-create-quick .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -43px -329px transparent; }
.menu-popup-item-take .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -43px -347px transparent; }
.menu-popup-item-begin .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -44px -367px transparent; }
.menu-popup-item-decline .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -44px -383px transparent; }
.menu-popup-item-reopen .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -42px -484px transparent; }
.menu-popup-item-complete .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -42px -502px transparent; }
.menu-popup-item-hold .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -44px -520px transparent; }
.menu-popup-item-accept .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -43px -347px transparent; }
.menu-popup-item-remake .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -44px -383px transparent; }
.menu-popup-item-delete .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -44px -535px transparent; }
.menu-popup-item-copy .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -42px -595px transparent; }
.menu-popup-item-delegate .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -42px -615px transparent; }
.menu-popup-item-add-to-tm .menu-popup-item-icon { background: url(../images/popup/popup-menu-sprite.2.png) no-repeat scroll -42px -634px transparent; }


.popup-window-button-left,
.popup-window-button-right {
	display: none;
}



/* ========================Popup Window Darken=============================================*/

.popup-window-dark .popup-window {
	background: url('./../images/popup/popup-dark-bg.png');
	border: 0px;
	/*padding: 7px 7px 5px 7px;*/
	-webkit-border-radius: 4px;
	border-radius: 4px;
	box-shadow: 0 19px 24px rgba(88, 112, 118, 0.17);
}
.popup-window-dark .popup-window-content {
	color: #fff;
	padding: 4px 7px 6px;
	margin: 0;
}
.popup-window-dark .popup-window-light {
	-webkit-box-shadow: 0 19px 24px rgba(88,112,118,.17);
	-moz-box-shadow: 0 19px 24px rgba(88,112,118,.17);
	box-shadow: 0 19px 24px rgba(88,112,118,.17);
}
.popup-window-dark .popup-window-content-row .popup-window-center-column {
	background: none;
}

.popup-window-dark .popup-window-angly { display:none; position: absolute; background:url(../images/popup/popup-dark-angles-sprite.png) no-repeat -27px -105px; }
.popup-window-dark .popup-window-angly-top { display:block; width:19px; height: 10px; background-position:-27px -105px; left:10px; top:-9px; margin:0;}
.popup-window-dark .popup-window-angly-right { display:block; width:13px; height: 30px; background-position:-10px -103px; right: -12px; top:10px;}
.popup-window-dark .popup-window-angly-bottom { display:block; width:21px; height: 19px; background-position: -6px -134px; margin-left: 10px; margin-top: -1px; }
.popup-window-dark .popup-window-angly-left { display:block; width:13px; height: 28px; background-position:-28px -127px; left: -12px; top: 10px;}

.popup-window-dark .popup-window-light-angly { display:none; position: absolute; background:url(../images/popup/popup-dark-angles-sprite.png) no-repeat -27px -14px; }
.popup-window-dark .popup-window-light-angly-top { display:block; width: 18px; height:10px; background-position: -26px -14px; left:7px; top: -10px; margin:0; }
.popup-window-dark .popup-window-light-angly-right { display:block; width: 11px; height: 20px; background-position: -9px -12px; right: -11px; top:2px;}
.popup-window-dark .popup-window-light-angly-bottom { display:block; width: 20px; height: 12px; background-position:-6px -43px; margin-left: 7px; margin-top: 0px; }
.popup-window-dark .popup-window-light-angly-left { display:block; width:10px; height: 19px; background-position:-31px -37px; left: -10px; top: 2px;}

.popup-window-dark .popup-window-hr {display:none;}
.popup-window-dark .popup-window-button-link-text { color: #fff;}
.popup-window-dark .popup-window-titlebar .popup-window-top-row .popup-window-left-column,
.popup-window-dark .popup-window-titlebar .popup-window-top-row .popup-window-center-column,
.popup-window-dark .popup-window-titlebar .popup-window-top-row .popup-window-right-column,
.popup-window-dark .popup-window-titlebar-light .popup-window-top-row .popup-window-left-column,
.popup-window-dark .popup-window-titlebar-light .popup-window-top-row .popup-window-center-column,
.popup-window-dark .popup-window-titlebar-light .popup-window-top-row .popup-window-right-column{
	height: 32px;
	background-color: #bac2c3!important;
	background-image:-webkit-linear-gradient(top, #c6cbcc, #b2bbbe)!important;
	background-image:linear-gradient(to bottom, #c6cbcc, #b2bbbe)!important;
	border:0;
	box-shadow: none;
	color: #010101;
}
.popup-window-dark .popup-window-titlebar .popup-window-titlebar,
.popup-window-dark .popup-window-titlebar-light .popup-window-titlebar {
	font: 13px/32px "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin-left: 0px;
    vertical-align: top;
	margin-right: 0px;
	padding-left: 8px;
}
.popup-window-dark .popup-window-content {
	padding: 4px 7px 6px;
	font: 13px "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.popup-window-dark .popup-window-titlebar .popup-window-content {
	padding-top: 9px;
}

.popup-window-dark .popup-window-buttons { padding:  0; margin: 4px 8px 6px; text-align: center; position: relative; zoom:1;}
.popup-window-dark .popup-window-button { margin: 0 10px 0 0; }
.popup-window-dark .popup-window-button,
.popup-window-dark .popup-window-button .popup-window-button-left,
.popup-window-dark .popup-window-button .popup-window-button-right,
.popup-window-dark .popup-window-button .popup-window-button-text { display: inline-block; vertical-align: top; height:28px; line-height:28px; cursor:pointer;}
.popup-window-dark .popup-window-button-text {  font: normal normal normal 13px/26px "Helvetica Neue", Helvetica, Arial, sans-serif; padding:0 8px;  }

.popup-window-dark .popup-window-button  {  background: url(./../images/popup/popup-dark-buttons-sprite.png) repeat-x 0 -216px;  }
.popup-window-dark .popup-window-button-text { background: none; color: #7a808c; text-shadow: #fff 0 1px 0;}
.popup-window-dark .popup-window-button-left { width: 3px; position: relative; left: -3px; background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -38px 0; }
.popup-window-dark .popup-window-button-right { width: 3px; position: relative; left: 3px; background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -41px 0;}
.popup-window-dark .popup-window-button:hover { background: url(./../images/popup/popup-dark-buttons-sprite.png) repeat-x 0 -249px; }
.popup-window-dark .popup-window-button:hover .popup-window-button-text { background: none; }
.popup-window-dark .popup-window-button:hover .popup-window-button-left { background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -45px 0; }
.popup-window-dark .popup-window-button:hover .popup-window-button-right { background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -48px 0; }
.popup-window-dark .popup-window-button:active { background: url(./../images/popup/popup-dark-buttons-sprite.png) repeat-x 0 -283px; }
.popup-window-dark .popup-window-button:active .popup-window-button-text { background: none; }
.popup-window-dark .popup-window-button:active .popup-window-button-left { background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -51px 0; }
.popup-window-dark .popup-window-button:active .popup-window-button-right { background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -54px 0; }


.popup-window-dark .popup-window-button-accept,
.popup-window-dark .popup-window-button-create { background: url(./../images/popup/popup-dark-buttons-sprite.png) repeat-x 0 -34px; }
.popup-window-dark .popup-window-button-accept .popup-window-button-text,
.popup-window-dark .popup-window-button-create .popup-window-button-text { background: none; color: #fff; text-shadow: #688b09 0 -1px 0; }
.popup-window-dark .popup-window-button-accept .popup-window-button-left,
.popup-window-dark .popup-window-button-create .popup-window-button-left {  background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat 0 0;}
.popup-window-dark .popup-window-button-accept .popup-window-button-right,
.popup-window-dark .popup-window-button-create .popup-window-button-right {  background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -3px 0;}
.popup-window-dark .popup-window-button-accept:hover,
.popup-window-dark .popup-window-button-create:hover { background: url(./../images/popup/popup-dark-buttons-sprite.png) repeat-x 0 -64px;  }
.popup-window-dark .popup-window-button-accept:hover .popup-window-button-text,
.popup-window-dark .popup-window-button-create:hover .popup-window-button-text { background: none; text-shadow: #7caa02 0 -1px 0 }
.popup-window-dark .popup-window-button-accept:hover .popup-window-button-left,
.popup-window-dark .popup-window-button-create:hover .popup-window-button-left { background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -7px 0; }
.popup-window-dark .popup-window-button-accept:hover .popup-window-button-right,
.popup-window-dark .popup-window-button-create:hover .popup-window-button-right { background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -10px 0; }
.popup-window-dark .popup-window-button-accept:active,
.popup-window-dark .popup-window-button-create:active { background: url(./../images/popup/popup-dark-buttons-sprite.png) repeat-x 0 -94px;  }
.popup-window-dark .popup-window-button-accept:active .popup-window-button-text,
.popup-window-dark .popup-window-button-create:active .popup-window-button-text { background: none; text-shadow: #688b09 0 -1px 0 }
.popup-window-dark .popup-window-button-accept:active .popup-window-button-left,
.popup-window-dark .popup-window-button-create:active .popup-window-button-left { background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -13px 0; }
.popup-window-dark .popup-window-button-accept:active .popup-window-button-right,
.popup-window-dark .popup-window-button-create:active .popup-window-button-right { background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -16px 0; }

.popup-window-dark .popup-window-button-decline  { background: url(./../images/popup/popup-dark-buttons-sprite.png) repeat-x 0 -123px; }
.popup-window-dark .popup-window-button-decline .popup-window-button-text { background: none; text-shadow: #921f1f 0 -1px 0; color: #fff;}
.popup-window-dark .popup-window-button-decline .popup-window-button-left { background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -19px 0; }
.popup-window-dark .popup-window-button-decline .popup-window-button-right { background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -22px 0;}
.popup-window-dark .popup-window-button-decline:hover { background: url(./../images/popup/popup-dark-buttons-sprite.png) repeat-x 0 -154px; }
.popup-window-dark .popup-window-button-decline:hover .popup-window-button-text{ background: none; text-shadow: #ba3a3a 0 -1px 0;}
.popup-window-dark .popup-window-button-decline:hover .popup-window-button-left { background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -26px 0; }
.popup-window-dark .popup-window-button-decline:hover .popup-window-button-right { background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -29px 0; }
.popup-window-dark .popup-window-button-decline:active { background: url(./../images/popup/popup-dark-buttons-sprite.png) repeat-x 0 -185px; }
.popup-window-dark .popup-window-button-decline:active .popup-window-button-text {  background: none; text-shadow: #800e0e 0 -1px 0;}
.popup-window-dark .popup-window-button-decline:active .popup-window-button-left { background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -32px 0; }
.popup-window-dark .popup-window-button-decline:active .popup-window-button-right { background: url(./../images/popup/popup-dark-buttons-sprite.png) no-repeat -35px 0; }

.popup-window-dark .popup-window-button-cancel .popup-window-button-text { color: #d83e3e; font-weight: bold; }

.popup-window-dark .popup-window-button-link,
.popup-window-dark .popup-window-button-link:hover { background: none; }
.popup-window-dark .popup-window-button-link-text { cursor: pointer; }
.popup-window-dark .popup-window-button-link-cancel .popup-window-button-link-text { color: #d83e3e; text-decoration: underline;}
.popup-window-dark .popup-window-button-link-cancel { background: none; }

.popup-window-dark .popup-window-bottom-row,
.popup-window-dark .popup-window-bottom-row .popup-window-left-column,
.popup-window-dark .popup-window-bottom-row .popup-window-center-column,
.popup-window-dark .popup-window-bottom-row .popup-window-right-column { height: 5px; background: none; }

.popup-window-dark .popup-window-left-column {width: 7px; min-width: 7px;  padding: 0; text-align: left; background: none !important; }
.popup-window-dark .popup-window-right-column {width: 7px; min-width: 7px;  padding: 0; text-align: left; background: none !important; }
.popup-window-dark .popup-window-center-column { padding: 0; text-align: left; background: none !important; }
.popup-window-dark .popup-window-left-spacer { width: 7px; height: 1px; font-size: 1px; }
.popup-window-dark .popup-window-right-spacer { width: 7px; height: 1px; font-size: 1px; }

.popup-window-dark .popup-window-close-icon {  margin-top: 0px; background: url("./../images/popup/popup-dark-sprite.png") -21px -7px; }
.popup-window-dark .popup-window-close-icon:hover{  background: url("./../images/popup/popup-dark-sprite.png") -7px -7px;}

.popup-window-dark .popup-window-titlebar-close-icon {margin-top: 5px; background: url("./../images/popup/popup-dark-sprite.png") -7px -20px; }
.popup-window-dark .popup-window-titlebar-close-icon:hover{  background: url("./../images/popup/popup-dark-sprite.png") -20px -20px;}


/*=================================================================BUTTONS==================================================*/
#bx-admin-prefix .popup-window-button .popup-window-button-left,
#bx-admin-prefix .popup-window-button .popup-window-button-left,
#bx-admin-prefix .popup-window-button:before,
#bx-admin-prefix .popup-window-button:after {
	display : none;
}

#bx-admin-prefix .popup-window-button .popup-window-button-text,
#bx-admin-prefix .popup-window-button-link .popup-window-button-link-text {
	display: inline-block;
	vertical-align: top;
	height: 25px;
	line-height: 27px;
	cursor: pointer;
	font: inherit;
	color: inherit;
	padding: 0;
	margin: 0;
	text-decoration: inherit;
}

#bx-admin-prefix .popup-window-button:hover {
	text-decoration: none;
	background:#f3f6f7!important;
	background-image: -webkit-linear-gradient(top, #f8f8f9, #f2f6f8)!important;
	background-image: linear-gradient(to bottom, #f8f8f9, #f2f6f8)!important;
}

#bx-admin-prefix .popup-window-button {
	-webkit-border-radius: 4px;
	border-radius: 4px;
	border:none;
	-webkit-box-shadow: 0 0 1px rgba(0,0,0,.11), 0 1px 1px rgba(0,0,0,.3), inset 0 1px #fff, inset 0 0 1px rgba(255,255,255,.5);
	box-shadow: 0 0 1px rgba(0,0,0,.3), 0 1px 1px rgba(0,0,0,.3), inset 0 1px 0 #fff, inset 0 0 1px rgba(255,255,255,.5);
	background-color: #e0e9ec;
	background-image: -webkit-linear-gradient(bottom, #d7e3e7, #fff)!important;
	background-image: linear-gradient(to top, #d7e3e7, #fff)!important;
	color:#3f4b54;
	cursor:pointer;
	display:inline-block;
	font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
	font-weight:bold;
	font-size:13px;
	height: 27px;
	text-shadow:0 1px rgba(255,255,255,0.7);
	text-decoration:none;
	position:relative;
	vertical-align:middle;
	-webkit-font-smoothing: antialiased;
	padding: 0 13px 2px;
	margin-right: 10px;
}

#bx-admin-prefix .popup-window-button:active {
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background-color: #b7c4c9!important;
	-webkit-box-shadow: inset 0 1px 1px 1px rgba(103,109,123,.78);
	box-shadow: inset 0 1px 1px 1px rgba(103,109,123,.78);
	background-image: -webkit-linear-gradient(top, rgba(179,194,200,.96), rgba(202,215,219,.96))!important;
	background-image: linear-gradient(to bottom, rgba(179,194,200,.96), rgba(202,215,219,.96))!important;
	border-top:transparent;
	height: 25px;
	outline:none;
	padding:1px 13px 1px;
}

#bx-admin-prefix .popup-window-button-accept,
#bx-admin-prefix .popup-window-button-create
 {
	background-color: #86ad00!important;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.25), inset 0 1px 0 #cbdc00;
	box-shadow: 0 1px 1px rgba(0,0,0,.25), inset 0 1px 0 #cbdc00;
	border: solid 1px;
	border-color:#97c004 #7ea502 #648900;
	background-image: -webkit-linear-gradient(bottom, #729e00, #97ba00)!important;
	background-image: linear-gradient(to top, #729e00, #97ba00)!important;
	-webkit-font-smoothing: antialiased;

}
#bx-admin-prefix .popup-window-button-accept .popup-window-button-text,
#bx-admin-prefix .popup-window-button-create .popup-window-button-text {
	color:#fff;
	text-shadow:0 1px rgba(0,0,0,0.1);
}

#bx-admin-prefix .popup-window-button.popup-window-button-accept:hover,
#bx-admin-prefix .popup-window-button.popup-window-button-create:hover
{
	background-color:#9ec710!important;
	background-image: -webkit-linear-gradient(top, #acce11, #8abb0d)!important;
	background-image: linear-gradient(to bottom, #acce11, #8abb0d)!important;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), 0 1px 0 #d5e71a inset;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), 0 1px 0 #d5e71a inset;
	border-color:#97c004 #7ea502 #648900;
	text-decoration:none;
}

#bx-admin-prefix .popup-window-button.popup-window-button-accept:active,
#bx-admin-prefix .popup-window-button.popup-window-button-create:active
{
	background:#698f00!important;
	-webkit-box-shadow: inset 0 2px 1px rgba(66,84,17,.71)!important;
	box-shadow: inset 0 2px 1px rgba(66,84,17,.71) !important;
	border-color:transparent #698f00 #698f00 !important;
	border-top:none;
	padding:2px 13px 1px!important;
}

/*===========================================================IE BUTTONS========================================================================*/
.bx-ie8 #bx-admin-prefix .popup-window-button,
.bx-ie9 #bx-admin-prefix .popup-window-button {
	border-radius:4px;
	background:url("/bitrix/panel/main/images/bx-admin-sprite-small-2.png") repeat-x 0 -3554px;
	box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.5), 0 1px 0 #FFFFFF inset, 0 0 1px rgba(255, 255, 255, 0.5) inset !important;
}

.bx-ie8 #bx-admin-prefix .popup-window-button {border:1px solid #959c9d !important;}
.bx-ie8 #bx-admin-prefix .popup-window-button:hover {background:#f5f5f5!important; }
.bx-ie8 #bx-admin-prefix .popup-window-button,
.bx-ie9 #bx-admin-prefix .popup-window-button,
.bx-ie8 #bx-admin-prefix .popup-window-button:active,
.bx-ie9 #bx-admin-prefix .popup-window-button:active {
	height:19px!important;
	line-height:19px!important;
	padding-top:6px!important;
	padding-bottom:4px!important;
}
.bx-ie8 #bx-admin-prefix .popup-window-button-accept,
.bx-ie8 #bx-admin-prefix .popup-window-button-create,
.bx-ie9 #bx-admin-prefix .popup-window-button-accept,
.bx-ie9 #bx-admin-prefix .popup-window-button-create
{
	background:url("/bitrix/panel/main/images/bx-admin-sprite-small-2.png") repeat-x 0 -3658px!important;
	border-top:1px solid #a4c926 !important;
	border-bottom:1px solid #73991a !important;
	border-left:1px solid #74991a !important;
	border-right:1px solid #74991a !important;
	box-shadow:none!important;
}

.bx-ie8 #bx-admin-prefix .popup-window-button-accept,
.bx-ie8 #bx-admin-prefix .popup-window-button-create,
.bx-ie9 #bx-admin-prefix .popup-window-button-accept,
.bx-ie9 #bx-admin-prefix .popup-window-button-create {
	height:17px!important;
	line-height:17px!important;
	padding-top:5px!important;
	padding-bottom:5px!important;
}

.bx-ie8 #bx-admin-prefix .popup-window-button-accept:hover,
.bx-ie8 #bx-admin-prefix .popup-window-button-create:hover,
.bx-ie9 #bx-admin-prefix .popup-window-button-accept:hover,
.bx-ie9 #bx-admin-prefix .popup-window-button-create:hover
{
	background:url("/bitrix/panel/main/images/bx-admin-sprite-small-2.png") repeat-x 0 -3692px !important;
	box-shadow: none!important;
	border-top:1px solid #97c004 !important;
	border-bottom:1px solid #648900 !important;
	border-left:1px solid #74991a !important;
	border-right:1px solid #74991a !important;
	text-decoration:none;
}

.bx-ie8 #bx-admin-prefix span.popup-window-button-accept:hover,
.bx-ie8 #bx-admin-prefix span.popup-window-button-create:hover,
.bx-ie9 #bx-admin-prefix span.popup-window-button-accept:hover,
.bx-ie9 #bx-admin-prefix span.popup-window-button-create:hover {
	height:17px!important;
	padding-top:5px!important;
	padding-bottom:5px!important;
}

.bx-ie8 #bx-admin-prefix .popup-window-button-accept:active,
.bx-ie8 #bx-admin-prefix .popup-window-button-create:active,
.bx-ie9 #bx-admin-prefix .popup-window-button-accept:active,
.bx-ie9 #bx-admin-prefix .popup-window-button-create:active {
	background:url("/bitrix/panel/main/images/bx-admin-sprite-small-2.png") repeat-x 0 -3692px !important;
	box-shadow: none!important;
	border-top:1px solid #97c004 !important;
	border-bottom:1px solid #648900 !important;
	border-left:1px solid #74991a !important;
	border-right:1px solid #74991a !important;
	height:17px!important;
	padding-top:5px!important;
	padding-bottom:5px!important;
	text-decoration:none;
}

.bx-ie8 #bx-admin-prefix .popup-window-button-accept:active,
.bx-ie8 #bx-admin-prefix .popup-window-button-create:active {
	padding-top:6px!important;
}
/*==========================================================/IE BUTTONS========================================================================*/
#bx-admin-prefix table.popup-window-titlebar .popup-window-top-row,
#bx-admin-prefix table.popup-window-titlebar-light .popup-window-top-row {
	position: relative;
}
#bx-admin-prefix table.popup-window-titlebar .popup-window-top-row .popup-window-left-column,
#bx-admin-prefix table.popup-window-titlebar .popup-window-top-row .popup-window-center-column,
#bx-admin-prefix table.popup-window-titlebar .popup-window-top-row .popup-window-right-column,
#bx-admin-prefix table.popup-window-titlebar-light .popup-window-top-row .popup-window-left-column,
#bx-admin-prefix table.popup-window-titlebar-light .popup-window-top-row .popup-window-center-column,
#bx-admin-prefix table.popup-window-titlebar-light .popup-window-top-row .popup-window-right-column {
	padding: 0;
	margin: 0;
	border: none;
	height: 49px;
	background: #e2ebee none;
	box-sizing: border-box;
	vertical-align: top;
}

#bx-admin-prefix table.popup-window-titlebar div.popup-window-titlebar,
#bx-admin-prefix table.popup-window-titlebar-light div.popup-window-titlebar  {
	background-color: #e2ebee;
	border-bottom:1px solid#a9a9a9;
	-webkit-box-shadow: 0 1px 0 0 #e5e5e5, 0 -1px 0 0 #ecf1f3 inset, inset 0 1px 0 0 #fff, inset 0 0 0 1px #e9f0f2;
	box-shadow: 0 1px 0 0 #e5e5e5, 0 -1px 0 0 #ecf1f3 inset, inset 0 1px 0 0 #fff, inset 0 0 0 1px #e9f0f2;
	border-radius:4px 4px 0 0;
	height: 49px;
	top: 0;
	left: 0;
	position: absolute;
	overflow: hidden;
	width: 100%;
}
#bx-admin-prefix table.popup-window-titlebar div.popup-window-titlebar span,
#bx-admin-prefix table.popup-window-titlebar-light div.popup-window-titlebar span{
	display: inline-block;
	margin: 12px 0 0 18px;
	font-size: 20px;
	text-shadow:0 1px #fff;
	white-space: nowrap;
	color: #282a2c;
}
#bx-admin-prefix .popup-window-close-icon {
	position: absolute;
	top: 11px;
	right: 15px;
	display: inline-block;
	height: 30px;
	width: 28px;
	cursor: pointer;
	background: #E2EBEE url("/bitrix/panel/main/images/popup_sprite.png") no-repeat 0 -30px;
	margin: 0;
}
#bx-admin-prefix .popup-window-close-icon:hover {
	background-position: 0 -90px;
}

#bx-admin-prefix table.popup-window-titlebar .popup-window-content,
#bx-admin-prefix table.popup-window-titlebar-light .popup-window-content {
	margin: 12px 9px;
}