﻿/****************** Modal window ****************/
#modal {
	background: url(../images/old-browsers-bg/black50.png);
	background: rgba(0, 0, 0, 0.5);
	position: fixed;
	z-index: 999980;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	}
	div.modal-window {
		position: absolute;
		left: 0;
		top: 0;
	    -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
	    
		/* -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5); */
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5)
	
		background-color: #ffffff;
		z-index: 999981;
		background-color: #fff;
}
	.modal-content {
    padding: 15px;
		}
		.no-title .modal-content {
			margin-top: -1.667em;
			padding-top: 1.667em;
		}
		.modal-content + .block-footer {
			/* margin-top: 1.667em; */
		}
		.modal-content.modal-scroll {
		}
	#modal > .block-border > .block-content {
		z-index: 90;
	}
	#modal h1 {
		cursor: move;
		-webkit-user-select:none;
		-moz-user-select:none;
	
		background-color: #ffffff;
		color: #999999;
		border-bottom: 1px solid #E5E5E5;
		margin-bottom: 0px;
		padding: 15px;
}
	
	.modal-iframe-wrapper {
		margin: 0.00em 1.00em 0.667em;
		}
		.no-title .modal-iframe-wrapper {
			margin-top: auto;
		}
		.modal-iframe-wrapper + .block-footer {
			margin-top: 0;
		}
	iframe.modal-content {
		overflow: auto;
		padding: 0;
		margin: 0;
		}
		.no-title iframe.modal-content {
			margin-top: 0;
			padding-top: 0;
		}
	
	.modal-loading {
		background: url(../images/arbo-loader.gif) no-repeat center 3em;
		height: 4em;
		padding-top: 4.5em;
		color: #999999;
		text-align: center;
	}
	
	#modal .block-border > .action-tabs.right {
		padding-top: 1em;
	}
	#modal .block-content > .action-tabs.right {
		padding-top: 0;
		margin-top: -2em;
	}
	
	#modal .action-tabs A {padding: 3px;}
	#modal .action-tabs A:hover
	{
	    background-color: #F4F4F4;
	    border-radius:4px;
	    transition:all 0.2s;
	}
	
	/* Resizing zones */
	.modal-resize-tl,
	.modal-resize-t,
	.modal-resize-tr,
	.modal-resize-r,
	.modal-resize-br,
	.modal-resize-b,
	.modal-resize-bl,
	.modal-resize-l {
		background: url(../images/trans.png);
		position: absolute;
		z-index: 89;
		}
		.modal-resize-tl {
			top: 0;
			left: 0;
			width: 2em;
			height: 1em;
			cursor: nw-resize;
		}
		.modal-resize-t {
			top: 0;
			left: 2em;
			right: 2em;
			height: 1em;
			cursor: n-resize;
		}
		.modal-resize-tr {
			top: 0;
			right: 0;
			width: 2em;
			height: 1em;
			cursor: ne-resize;
		}
		.modal-resize-r {
			top: 1em;
			right: 0;
			width: 1em;
			bottom: 1em;
			cursor: e-resize;
		}
		.modal-resize-br {
			bottom: 0;
			right: 0;
			width: 2em;
			height: 1em;
			cursor: se-resize;
		}
		.modal-resize-b {
			bottom: 0;
			left: 2em;
			right: 2em;
			height: 1em;
			cursor: s-resize;
		}
		.modal-resize-bl {
			bottom: 0;
			left: 0;
			width: 2em;
			height: 1em;
			cursor: sw-resize;
		}
		.modal-resize-l {
			top: 1em;
			left: 0;
			width: 1em;
			bottom: 1em;
			cursor: w-resize;
		}


/**************************************/

.block-border {
	border-radius: 6px;
 	margin-bottom: 1em;
}

.block-content h1,
.block-content .h1 {
    margin: 0;
    z-index: 100;
	color: #999999;
	font-size: 18px;
    }

.ie .block-content h1,
.ie .block-content .h1 {
    padding: 0.333em 0.444em;
}
 
.block-border h1
{
    padding: 10px 15px;
    background: #Ffffff;
    color: #99999;
    text-transform: uppercase;
    font-weight: normal;
    border-bottom: 1px solid #E5E5E5;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin-bottom: 0;
    box-sizing: border-box;
    font-size: 22px;
}

/**************** Loading mask ******************/
.loading-mask {
	position: absolute;
	z-index: 89;
	top: 0;
	left: 0;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	background: url(images/old-browsers-bg/black50.png);
	background: rgba(0, 0, 0, 0.5);
	overflow: hidden;
	}
	.loading-mask span {
		position: absolute;
		z-index: 89;
		left: 50%;
		top: 50%;
		margin-top: -3.5em;
		margin-left: -4.5em;
		padding: 60px 1em 1em;
		min-width: 7em;
		line-height: 1.25em;
		text-align: center;
		color: white;
		background: black url(images/mask-loader.gif) no-repeat center 17px;
		-moz-border-radius: 0.5em;
		-webkit-border-radius: 0.5em;
		-webkit-background-clip: padding-box;
		border-radius: 0.5em;
		-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
		-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
		direction:ltr;
	}
	.loading-mask span.error {
		background-image: url(../images/icons/web-app/32/Delete.png);
		color: red;
		cursor: pointer;
	}
	.loading-mask span a {
		color: white;
		font-weight: bold;
	}


 /***************** Block footer *****************/
.block-footer {
	-webkit-background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	-o-background-size: 100% 100%;
	background-size: 100% 100%;
	background: -moz-linear-gradient(
		top,
		#8b8b8b,
		#a9a9a9 10%,
		#bdbdbd 30%,
		#bfbfbf
	);
	background: #ffffff;
	margin: auto;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	border-radius: 0 0 6px 6px;
	padding: 15px;
	line-height: 2em;
	color: #4d4d4d;
	border-top:  1px solid #E5E5E5;
	margin-top: 0;
}


.big-button,button,.button {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 6px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #4B4B4B;
    background-color: #FFFFFF;
    border-color: #CCCCCC;
    box-sizing: border-box;
}

.big-button:hover ,button:hover ,.button:hover  {
    color: #6B6B6B;
    background-color: #E9E9E9;
    border-color: #CCCCCC;
}

.big-button.disabled,button.disabled,.button.disabled{
    cursor: not-allowed;
    pointer-events: none;
    opacity: .65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none
}

.big-button img,button img,.button img
{
    margin-left:4px;
    
}

.big-button.green,button.green,.button.green 
{
    color: #ffffff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.big-button.green:hover,button.green:hover,.button.green:hover 
{
    color: #ffffff;
    background-color: #47a447;
    border-color: #398439;
}

input[type=text],
input[type=password],
input[type=Search],
input-type-text,select,textarea {

padding: 6px 12px;

font-size: 14px;

line-height: 1.42857143;

color: #555;

background-color: #fff;

background-image: none;

border-bottom: 1px solid #646464;

border-top: 0;

border-left: 0;

border-right: 0;

/* border-radius: 4px; */

/* -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); */

/* box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); */

-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;

transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;

direction:rtl;

box-sizing: border-box;
}

input[type=text],input[type=password],input-type-text,select{height: 34px;}

textarea, input {
	/* font-family: Arial; */
}		

#modal .action-tabs {
    position: absolute;
    left: 10px;
}

.ui-state-focus
{
    background-color:#ffffff;
}
.ui-widget-content
{
    padding:6px;
}

.nav-tabs > li > a:hover
{
    border-color: #eee #eee #fff #eee;
}

.mini-menu-Fix .btn
{
    min-width:200px;
    margin-bottom:2px;
    text-align: right;
}

/****************** Shortcuts *******************/
.shortcuts-list {
padding-top: 0.5em;
}

.shortcuts-list li {
float: right; /* by dolev */
}

.shortcuts-list li a {
display: block;
width: 7em;
padding-top: 63px;
color: #808080;
text-align: center;
position: relative;
padding-bottom: 9px;
-moz-border-radius: 0.417em;
-webkit-border-radius: 0.417em;
-webkit-background-clip: padding-box;
border-radius: 0.417em;
}
.shortcuts-list li a img {
	position: absolute;
	top: 9px;
	left: 50%;
	margin-left: -24px;
}
.shortcuts-list li a:hover {
    background: #E9E9E9 !important;
}
#divAddNewPageWindowDiv .shortcuts-list
{
    height:110px;
    width:100%;
    display:block;
}

#SB_Page_Settings_accordion.ui-widget-content
{
    padding:0 0 6px 0 !important;
}

.MP_Iframe_Row
{
    background-color: #ffffff;
    position:relative;
}

.MP_Iframe_Content
{
    background-color: #F0F2F5;
}
.MP_Iframe_Content_Background
{
    background-color:#ffffff;
    margin-right: 5px;
    text-align:center;
}
.clsMargin
{
  margin-left: 4px;
  margin-right: 4px;
}
#SB_Page_Settings_accordion .nav > li > a
{
  padding: 10px 5px;
}

@media (max-width: 767px) 
{
    .modal-iframe-wrapper iframe
    {
     max-width:100%;
    }
    .modal-content,.modal-window
    {
        max-width:100% !important;
    }
    
}

input.seo-input, textarea.seo-input
{
	width: 270px;
}

.MP_Ifr_ModalContainer_Show{overflow:hidden}
.MP_Ifr_ModalContainer_Show .MP_TopBar_Inline_Container{position:absolute;top:1px;left:1px;height:60px;z-index:99999;}
.MP_Ifr_ModalContainer_Show #Ifr_Modal_Container{display:block !important;}
.MP_Ifr_ModalContainer_Show #Ifr_Modal
{
    overflow:auto;
    z-index:0;
    min-height:600px;
    height: calc(100vh);
    padding-top:60px;
    position:absolute;
    top:0;
    left:0;
    }