.loading-tab {
    background: transparent url(/images/loading.gif) no-repeat 50% 50%;
    background-size: 30px;
    width: 100%;
    height: 100px;
    transition: visibility 0s, opacity 0.3s ease-in;
}

.navbar-default .navbar-brand{
	color: #000;
	padding-left: 5px;
	padding-right: 5px;
	margin-left: 10px;
	padding-bottom: 13px;
}
.navbar-default .navbar-brand:hover{
	background: #dadadb;
	color: #000;
}
.lst-ico, .gift-ico, .hlp-ico, .ide-ico, .polls-ico, .plugin-ico, .idea-ico {
	float: left;
	height: 28px;
	background-size: 32px 28px;
	list-style: 0;
	/*
	width: 32px;
	font-size: 0;
	text-indent: -9999px;
	overflow: hidden;
	*/
	opacity: .7;
	margin: 15px 13px 0 17px;

	color: #545454 !important;
	padding-left: 41px;
	font-weight: bold;
	transition: all 0.3s ease;
}
.lst-ico{
	background: url(/images/list.svg) no-repeat 0% 50%;
	background-size: 30px 28px;
}
/*.no-svg .lst-ico{
	background: url(../images/list.png) no-repeat 50% 50%;
}*/

.plugin-ico{
	background: url(/images/plugin.svg) no-repeat 0% 50%;
	background-size: 24px 24px;
	margin: 9px 0 0 0;
	padding-top: 6px;
	padding-left: 34px;
}
.gift-ico{
	background: url(/images/gift.svg) no-repeat 0% 50%;
	background-size: 26px 26px;
	margin: 9px 0 0 0;
	padding-top: 6px;
	padding-left: 34px;
}
.polls-ico{
	background: url(/images/poll.svg) no-repeat 0% 50%;
	background-size: 22px 24px;
	margin: 11px 0 0 18px;
	padding-top: 4px;
	padding-left: 34px;
}
/*.no-svg .gift-ico{
	background: url(../images/gift.png) no-repeat 50% 50%;
}*/
.hlp-ico{
	background: url(/images/help.svg) no-repeat 0% 50%;
	margin: 12px 15px 0 -10px;
	width: 71px;
	height: 26px;
	background-size: 26px 26px;
	padding: 3px 15px 0 34px !important;
}
/*.no-svg .hlp-ico{
	background: url(../images/help.png) no-repeat 50% 50%;
}*/
.ide-ico{
	background: url(/images/idea.svg) no-repeat 50% 50%;
	margin: 8px 0 0 0;
	width: 27px;
	height: 27px;
	background-size: 27px 27px;
}
.idea-ico{
	background: url(/images/light-bulb.svg) no-repeat 0% 50%;
	width: 200px;
	height: 27px;
	background-size: 22px 22px;
	margin: 10px 0 0 7px;
	padding-left: 27px;

	font-size: 15px;
    text-indent: 0;
    line-height: 28px;
    color: #4e4e50;
    font-weight: bold;
}
/*.no-svg .ide-ico{
	background: url(../images/idea.png) no-repeat 50% 50%;
}*/
.lst-ico:hover,.gift-ico:hover,.hlp-ico:hover,.ide-ico:hover, .polls-ico:hover, .plugin-ico:hover, .idea-ico:hover{
	opacity: 1;
	text-decoration: none;
}
.nav-tops .glyphicon-chevron-down{
	float: left;
	color: #000;
	padding: 18px 0;
	top: 0;
	width: 1.5em;
	text-align: center;
	outline: none;
}
.nav-tops .glyphicon-chevron-down:hover{
	background: #dadadb;
	text-decoration: none;

}
.custom-me{
	float: right;
}
.nav-tops .navbar-header{
	float: left !important;
}
/* so long user name will not destroy interface */
.custom-me span.user_name {
    max-width: 58px;
    height: 15px;
    /*
    overflow: hidden;
    */
    display: inline-block;
    margin: 1px 0 -1px -6px;
    overflow: hidden;
}
.custom-me .dropdown{
	margin: 12px 10px 0 20px;
}
.custom-me .dropdown-toggle{
	padding: 0 10px 0  0;
	background: #fff;
	border: 1px solid #ccc;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	color: #000 !important;
}
.custom-me  img{
	width: 19px;
	height: 23px;
	margin-right: 10px;
    margin-left: 4px;
	-webkit-border-radius:  6px 0 0 6px;
	-moz-border-radius:  6px 0 0 6px;
	border-radius: 6px 0 0 6px;
}
.custom-me .open .dropdown-toggle{
	border-color: #ccc !important;
}
.panels-drop{
	width: 102%;
	margin-top: -1px;
	margin-left: -1%;

	padding: 13px 10px 10px 10px;
	overflow: hidden;
	position: absolute;
	z-index: 100;
	top: 0;
	left: 0;
	border: 1px solid #ccc;
	border-top: 0;
	background: #f8f8f8;
	background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#e0e0e0));
	background-image: -webkit-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);
	background-image: -moz-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);
	background-image: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
	background-repeat: repeat-x;
	display: none;
}
.panels-drop img{
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
}
.panels-drop p{
	display: inline-block;
	vertical-align: middle;
}
.panels-drop button.close{
	margin-top: -9px;
}
.custom-me .dropdown-menu{
	-webkit-border-radius:   4px !important;
	-moz-border-radius: 4px !important;
	border-radius: 4px !important;
	top:30px;
}
.navbar-brand img{
	height: 25px;
	width: auto;
	margin: -3px 10px 0 0;
}
/*
a.navbar-brand:hover{
	background: #dadadb !important;
}*/


.footer {
    padding: 20px 0 0 0;
    text-align: center;
}

.content {
    min-height: 600px;
}

.dropdown-menu > li > a.nohover:hover {
    cursor: default;
    background: none;
}

#zenbox_tab {
	display: none !important;
}

.ct-chart.ct-perfect-fourth>svg {
	padding-left: 4px;
}
.ct-chart.ct-perfect-fourth:before {
	padding-bottom: 0 !important;
}

[page="stats-mode"] .ct-chart.ct-perfect-fourth>svg {
	width: 790px !important;
	overflow: hidden !important;
}

#top-stats {
	height: 232px;
    position: relative;
}
#top-stats .ct-chart.ct-perfect-fourth>svg {
	width: 830px !important;
	height: 184px !important;
	overflow: hidden !important;
}
#top-stats.container-list{
	overflow: visible;
}


/* Items list ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */


div.bootstrap ul li div span {
    margin-right: 20px;
}
div.bootstrap ul li div.actions a:nth-child(odd) span {
    margin-right: 12px;
}
div.bootstrap ul li div.actions a:nth-child(even) span {
    margin-right: 0;
}
div.bootstrap ul li div.actions a:nth-child(n+3) span {
    margin-top: 5px;
}
div.stats {
    overflow: hidden;
    display: none;
}
.container-list li .stats {
	margin-top: 3px;
    color: grey;
}
div.stats.split_test_none {
    display: block;
}
div.stats span {
    display: block;
    float: left;
    font-size: 13px;
}
.container-list .container-list {
    margin-top: 0px;
    margin-bottom: 17px;
}
.container-list .container-list h4 {
    color: #747474;
}
/*.drag-here {
    text-align: center;
    padding: 10px;
    background: url('/images/drag-to-bg.png');
}*/
ul.table:empty, .drag-here {
    text-align: center;
    padding-top: 18px;
    background: url('/images/drag-to-bg.png') !important;
    min-height: 60px; /* do not remove dublicate */
}
.drag-here-hide {
    /*display: none;*/
    background: none !important;
    padding-top: 0px !important;
    min-height: 0px !important;
}
.drag-here-hide::before {
    content: "" !important;
}

ul.table {
    clear: both;
    list-style-type: none;
    padding-left: 0px;
    min-height: 60px; /* do not remove dublicate */
}
ul.table li  {
    overflow: hidden;
    min-height: 60px;
    display: table;
    width: 100%;
}
ul.table li > div {
	display: table-cell;
	vertical-align: middle;
}
ul.table li .id_and_status {
	width: 45px;
	padding-bottom: 5px;
}    
ul.table li .types_and_goals {
	text-align: center;
	width: 65px;
}
ul.table li .types_and_goals img {
	height: 20px;
	margin: 2px 10px;
}
ul.table li .types_and_goals img:last-child {
	margin-top: 10px;
}
ul.table li .jo_body {
}
ul.table li .jo_body a {
	display: block;
	font-size: 18px;
	font-weight: normal;
	color: black;
}
ul.table li .jo_body p {
	margin: 0;
}
ul.table li .jo_body a:hover, ul.table li .jo_body a:focus {
	text-decoration: none;
}
ul.table li > div.actions {
	width: 69px;
}
ul.table li > div.actions a {
	opacity: 0.7;
    transition: all .2s ease-out;
}
ul.table li > div.actions a:hover {
	opacity: 1;
}
.table > li {
  padding: 8px;
  line-height: 1.428571429;
  vertical-align: top;
  border-top: 1px solid #dddddd;
  background: #ffffff;
}
.table-striped > li.item:nth-child(odd), .table-striped > li.item:nth-child(odd) {
  background-color: #f9f9f9;
}
/*
ul.table li.waitfor  {
    height: 30px;
    font-size: 13px;
}
ul.table li.waitfor div {
    margin-top: -2px;
}
ul.table li.waitfor span {
    margin: 0 3px 0 3px;
}*/

.container-list > .actions {
    float: right;
}
.container-list > .actions > span {
    margin-left: 10px;
    cursor: pointer;
}
.container-list > .actions > .glyphicon-close2 {
    width: 13px !important;
    height: 13px !important;
    background-size: 13px;
}
.container-list h4 > small {
	margin-left: 5px;

	text-transform: none;
}


/* WIDGETS, social tab + add widget tab */
.widget img {
    width: 30px;
    border: none;
}
.widget img.type {
    width: 17px;
    border: none;
}
.widget {
    float: left;
    margin: 8px 8px 0 0;
    position: relative;
    text-align: center;
    border: 0px dashed #94b8ff;
    border-radius: 18px;
    padding: 10px;
    list-style-type: none;
    color: #ffffff;
    cursor: pointer;
    width: 166px;
    height: 70px;
}
[network="vk"].widget {
    background: #53759d;
}
[network="fb"].widget {
    background: #3859a2;
}
[network="tw"].widget {
    background: #20a6e2;
}
[network="yt"].widget {
    background: #cf2201;
}
[network="vb"].widget {
    background: #655bab;
}
[network][type].settings .row{
    margin-left: 0px;
    width: 400px;
}
.widget:hover div.actions {
    opacity: 1;
}
.widget div.delete {
    background: url('/images/delete_red.png') no-repeat 98% 10%;
    right: 3px;
}
.widget div.edit {
    background: url('/images/edit_circle.png') no-repeat 98% 10%;
    right: 30px;
}
.widget div.actions {
    background-size: 25px;
    width: 25px;
    height: 25px;
    background-color: transparent;
    position: absolute;
    top: 3px;
    cursor: pointer;
    opacity: 0;
    transition: all .2s ease-out;
}



/* popup series */
.waitfor {
	cursor: pointer;
}

ul.table[group-type] {
	position: relative;
}
ul.table[group-type="series"] li .waitfor, ul.table[group-type="retargeting"] li .waitfor {
	display: table-caption;
}
/* hiding interval for the first jo in a series */
ul.table[group-type="series"] li:first-child .waitfor {
	display: none;
}
.first_jo_remark {
	display: none;
}
ul.table[group-type="retargeting"] li:first-child .first_jo_remark {
	display: inline-block;
}

/*
ul.table[group-type="retargeting"] li .waitfor {
	caption-side: bottom;
}
*/

ul.table li .waitfor {
	display: none;
	float: none;
	padding: 5px 0 5px 80px;
	font-size: 12px;
	border-top: 1px solid rgb(226, 226, 226);
	margin: 0;
	color: #747474;
}
ul.table li .waitfor span {
	margin: 0px;
}
ul.table li .waitfor span.glyphicon {
	margin-left: 5px;
}
ul.table li .waitfor input {
	width: 40px;
	height: 23px;
	display: inline;
	margin: 0 9px 0 9px;
}
ul.table li .waitfor button {
	margin: 0 9px 0 0;
}
ul.table li .waitfor .form {
	display: none;
}


/* popup split test */
ul.table li .chance-to-win {
	display: none;
}
ul.table[group-type="split-test"] li .chance-to-win {
	display: block;
}




/* tags */

.row-head-list div.tags {
	margin: 5px 0 0 0;
	padding: 2px 0 0 25px;
	height: 20px;
	background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSIzMnB4IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjMycHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48dGl0bGUvPjxkZXNjLz48ZGVmcy8+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSI+PGcgZmlsbD0iIzkyOTI5MiIgaWQ9Imljb24tMTQ2LXRhZyI+PHBhdGggZD0iTTE0LDQgTDUuOTk5NjE0OTgsNCBDNC44OTUyNTgxMiw0IDQsNC44ODc0MzMyOSA0LDUuOTk5NjE0OTggTDQsMTQgTDE3LjM4MDkwMjcsMjcuMzgwOTAyNyBDMTguMTY0NjQxOCwyOC4xNjQ2NDE4IDE5LjQzMzExOSwyOC4xNjY4NTY2IDIwLjIxMTUzNDEsMjcuMzg4NDQxNSBMMjcuMzg4NDQxNSwyMC4yMTE1MzQxIEMyOC4xNjgwMTcsMTkuNDMxOTU4NiAyOC4xNjQwNTA4LDE4LjE2NDA1MDggMjcuMzgwOTAyNywxNy4zODA5MDI3IEwxNCw0IEwxNCw0IFogTTEzLjUsNSBMNi4wMDg0NDA1NSw1IEM1LjQ1MTQ5NDIyLDUgNSw1LjQ1Njk5NjkyIDUsNi4wMDg0NDA1NSBMNSwxMy41IEwxOC4wOTk4NTc5LDI2LjY3MTE2MyBDMTguNDg4MzgzLDI3LjA2MTgwMjggMTkuMTE4MzUzNSwyNy4wNjEzMTk5IDE5LjUwNDI5NDgsMjYuNjcyNzQ0IEwyNi42Njc4ODU0LDE5LjQ2MDI1MTYgQzI3LjA1NTAwOTQsMTkuMDcwNDg0OSAyNy4wNTMxMDc1LDE4LjQ0MTM5MTIgMjYuNjYyMDEwOSwxOC4wNTM1MTgzIEwxMy41LDUgTDEzLjUsNSBaIE05LjUsMTIgQzEwLjg4MDcxMTksMTIgMTIsMTAuODgwNzExOSAxMiw5LjUgQzEyLDguMTE5Mjg4MDYgMTAuODgwNzExOSw3IDkuNSw3IEM4LjExOTI4ODA2LDcgNyw4LjExOTI4ODA2IDcsOS41IEM3LDEwLjg4MDcxMTkgOC4xMTkyODgwNiwxMiA5LjUsMTIgTDkuNSwxMiBaIE05LjUsMTEgQzEwLjMyODQyNzIsMTEgMTEsMTAuMzI4NDI3MiAxMSw5LjUgQzExLDguNjcxNTcyODMgMTAuMzI4NDI3Miw4IDkuNSw4IEM4LjY3MTU3MjgzLDggOCw4LjY3MTU3MjgzIDgsOS41IEM4LDEwLjMyODQyNzIgOC42NzE1NzI4MywxMSA5LjUsMTEgTDkuNSwxMSBaIiBpZD0idGFnIi8+PC9nPjwvZz48L3N2Zz4=') no-repeat;
	background-size: 20px;
	font-size: 75%;
}
.row-head-list div.tags > div {
	margin-right: 5px;
	padding: 0 5px 0 5px;
	float: left;
	border: 1px dashed #dddddd;
	border-radius: 10px;
	cursor: pointer;
	color: grey;
}

.row-head-list div.tags div.selected {
	background: #dddddd;
}

.row-head-list div.tags div.add {
	background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEwMCAxMDAiIGlkPSJMYXllcl8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cG9seWdvbiBmaWxsPSIjMDEwMTAxIiBwb2ludHM9IjgwLjIsNTEuNiA1MS40LDUxLjYgNTEuNCwyMi42IDQ4LjksMjIuNiA0OC45LDUxLjYgMTkuOSw1MS42IDE5LjksNTQuMSA0OC45LDU0LjEgNDguOSw4My4xICAgNTEuNCw4My4xIDUxLjQsNTQuMSA4MC40LDU0LjEgODAuNCw1MS42ICIvPjwvc3ZnPg==') no-repeat;
	background-size: 15px;
	padding-left: 15px;
	/*display: none;*/
	transition: all 0.3s ease-in-out;
	opacity: 0;
}
	li.item:hover div.tags div.add {
		opacity: 100;
	}
	div.tags div.add input {
		border: 0px;
		background: transparent;
		padding: 0;
	}
	div.tags div.add div.suggestions {
		position: absolute;
		background: white;
	}
	div.tags div.add div.suggestions div {
		margin: 1px 0 0 -1px;
		padding: 1px 7px 0 3px;
	}
	div.tags div.add div.suggestions div.selected {
		background: #dddddd;
	}

li.item .item_preview {
    width: 100px;
    height: 72px;
    background-size: 100px auto;
    background-repeat: no-repeat;
    background-position: 0 50%;
    overflow: hidden;
}
li.item .goal, li.item .type {
    width: 50px;
    height: 72px;
    background-size: auto 25px;
    background-repeat: no-repeat;
    background-position: 0 50%;
    overflow: hidden;
}

.types.goals {
	display: inline-block;
}
.types {
	overflow-y: hidden;
	white-space: nowrap;
	width: 98%;
}

#links_to_close {
    height: auto;
    width: auto;
    margin-left: 0px;
    background-color: transparent;
    border: none;
}


span.input_alert {
	margin-top: 6px;
    font-size: 11px;
    display: none;
    color: #901212;
    clear: both;
}


.btn-group.justified {
    width: 100%;
}
.btn-group.justified button {
    width: 25%;
}

button.history {
	background-image: url(/images/history.png);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: 50%;
}
button.history:hover {
	background-position: 50%;
}
button.code {
	background-image: url(/images/code.svg);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: 50%;
}
button.archive {
	background-image: url(/images/archive-white.svg);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: 50%;
}
button.unarchive {
	background-image: url(/images/unarchive-white.svg);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: 50%;
}
button.code:hover, button.settings:hover, button.subscribers:hover, button.archive:hover, button.unarchive:hover {
	background-position: 50%;
}
button.settings {
	background-image: url(/images/settings.svg);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: 50%;
}
button.subscribers {
	background-image: url(/images/profile.png);
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: 50%;
}

#email-form-is-ready, #phone-form-is-ready {
    margin-top: -15px;
}


/* animations */
.select_with_preview {
    width: 300px;
    position: relative;
}
.select_with_preview .image {
    display: none;
    position: fixed;
    position: absolute;
    top: -40px;
    right: -199px;
    z-index: 999;
}
.select_with_preview .image img {
    width: 180px;
}


/* new integration tab interface */
.saved_forms_selector > div {
	width: 92%;
    vertical-align: top;
    display: inline-block;
}
.saved_forms_selector > small {
	padding: 9px 0 0 9px;
    display: inline-block;
}
.saved_forms_selector > small a {
	margin-left: 5px;
	color: #000000;
}
#form-code .input {
	display: inline-block;
    width: 49.5%;
    margin-top: 10px;
}
#form-code > .input:first-of-type {
	padding-right: 25px;
}
#form-code {
	border: 1px dashed grey;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 20px;
}

div.field {
    display: inline-block;
    padding: 5px 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
    margin-right: 10px;
    min-width: 100px;
    text-align: center;
    cursor: pointer;
}
div.field:hover, div.field.active {
    text-decoration: none;
    background-color: #eee;
}

.emails_selected div.field.active {
	background-image: url(/images/promo-yes.png);
    background-size: 16px;
    background-position: 7px 50%;
    background-repeat: no-repeat;
    padding-left: 29px;
}

.available_fields, .available_widgets {
    width: 55%;
    background: url('/images/arrow_left.png') no-repeat;
    background-position: 0px;
    background-size: 40px;
    padding-left: 67px;
}
.available_fields, .chosen_fields {
	display: table-cell;
}

.widgets_area {
	display: table;
	width: 100%;
	margin-top: 10px;
}
.chosen_widgets {
	width: 46%;
}
.chosen_widgets, .available_widgets {
	display: table-cell;
	vertical-align: top;
	position: relative;
	height: 1px; /* child div height 100% trick: https://stackoverflow.com/questions/3542090/how-to-make-div-fill-td-height */
}

.widget img {
    width: 30px;
    border: none;
}
.widget img.type {
    width: 17px;
    border: none;
}
.widget {
    float: left;
    margin: 8px 8px 0 0;
    position: relative;
    text-align: center;
    border: 0px dashed #94b8ff;
    border-radius: 18px;
    padding: 10px;
    list-style-type: none;
    color: #ffffff;
    cursor: pointer;
    width: 166px;
    height: 70px;
}


#available_fields, #chosen_fields {
    width: 100%;
    height: 40px;
}
#available_widgets, #chosen_widgets {
	display: block;
	min-height: 90px;
	height: 100%;
}


.field_settings {
	display: none;
    background: #eee;
    border-radius: 5px;
    padding: 9px 0 16px 0;
}
.field_settings .col-xs-15 > div {
	padding-top: 2px;
} 
.field_settings input[type=checkbox] {
	display: block;
}

.funk-btns button.preview {
	height: 34px;
	padding: 5px 8px 10px 9px;
	font-size: 20px;
}

.funk-btns button[status]{
    color: #ffffff;
	height: 34px;
	font-size: 18px;
	margin-left: 1px;
	padding: 6px 9px 10px 10px !important;
    transition: all .2s ease-out;
    position: relative !important;
}
.funk-btns button[status] .glyphicon {
	position: relative !important;
}
.funk-btns button[status=disable]{
    background: transparent !important;
    border-color: transparent;
    color: #2d2d2d;
}
.funk-btns button[status=enable]{
    background: #5cb85c !important;
    border-color: #4cae4c;
}
.funk-btns button[status=disable]:hover{
    background: #d9534f !important;
    border-color: #d43f3a;
    color: white;
}
.funk-btns button[status=enable]:hover{
    background: #5cb85c !important;
    border-color: #4cae4c;
}




.funk-btns a:hover {
	text-decoration: none;
}
.funk-btns button:focus {
	background-position: 50%;
}

/* makes an element (for example div) looks like inactive */
.inactive {
	opacity: 0.5;
	pointer-events: none;
}




.row-middle.sticky_menu .menu-head {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding: 5px;
    height: auto;
    min-height: 0;
}
.row-middle.sticky_menu .menu-head > div {
	width: 840px;
	margin: 0 auto;
}
.row-middle.sticky_menu .menu-head .funk-btns {
	position: relative !important;
}
.row-middle.sticky_menu > .row-main {
	margin-top: 60px;
}

[for-condition-id="date"] .timezone .bootstrap-select {
	width: 234px !important;
}


/* polls */

.emailpolls .condition, .emailpolls .action, .popups .condition {
    background: #f7f7f9;
    padding: 12px 0px;
    margin: 0;
    border-radius: 5px;
    margin-bottom: 10px;
}

.popups .condition {
	background: #ffffff;
	padding: 8px 0;
}
.popups .condition p {
	margin: 0 0 5px;
}

.emailpolls .condition .bootstrap-select.btn-group, .emailpolls .action .bootstrap-select.btn-group {
	margin-bottom: 0px;
}

.rule {
	position: relative;
	background: white;
	padding: 22px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.rule .delete_rule {
	position: absolute;
	top: 10px;
	right: 10px;
}

.rule .delete_condition, .rule .delete_action, .popups .delete_condition {
	float: right;
    margin: 7px 15px 0 0;
    opacity: 0.7;
}
.rule .delete_condition:hover, .rule .delete_action:hover, .popups .delete_condition:hover {
    opacity: 1;
}

.conditions .condition_param {
	display: none;
}

.emailpolls .conditions .condition_param {
	display: block;
}

/* tooltips */
.tooltip, .tooltipclass {
	position: inherit;
	font-size: inherit;
	line-height: 1.3 !important;
	padding-right: 18px !important;
	opacity: 1;
	display: inline-block;
}
a.tooltipwrapper {
	color: #333;
}
a.tooltipwrapper:hover {
	text-decoration: none;
	color: #333;
}

/* creating new jo */
.types .tooltip {
    position: absolute;
    top: 2px;
    right: 3px;
    padding: 5px !important;
    width: 12px;
    height: 12px;
    margin: 5px;
    cursor: pointer;
}

.tech_data .domain span {
	display: none;
}
.tech_data .domain:hover span {
	display: inline-block;
}

.custom-colors {
	float: left;
	margin: 3px 20px 0 0;
	display: table;
}
.custom-colors p {
    display: block;
    margin-top: 5px;
	display: table-cell;
	vertical-align: top;
    padding-top: 5px;
}
.custom-colors [designset] {
	display: table-cell;
	margin-bottom: 9px;
}

.custom-colors .colors .active .ok {
	display: none;
}


.row-head .nav.design-type, .row-head .nav.integration-type, .row-head .nav.modernize {
    width: 98%;
    margin-bottom: 14px;
}
.row-head .nav.design-type .active a, .row-head .nav.integration-type .active a, .row-head .nav.modernize .active a {
    background: #f7f7f9;
    border-bottom-color: #f7f7f9;
}
.row-head .nav.design-type .active a:hover, .row-head .nav.integration-type .active a:hover, .row-head .nav.modernize .active a:hover {
	border-bottom-color: transparent;
}
.row-head .nav.integration-type {
	float: none;
}


/* on page previews */
div#preview_iframe_div1, div#preview_iframe_div2 {
    opacity: 1; 
    background: transparent url('/images/loading.gif') no-repeat 50% 50%;
    background-size: 30px;
    width: 100%;
    height: 100%;
    z-index: 0;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}

#preview_iframe1, #preview_iframe2, #preview_iframethx {
	transition: opacity 0.5s ease 0s;
}

#preview_iframe_div1 {
	border: 0px solid grey;
	width: 100%;
	height: 300px;
	margin: 20px auto;
	position: relative;
}

#preview_iframe1 {
	width: 100%;
	height: 300px;
	border: none;
}

#secondscreen {
	margin-top: 20px;
}

#preview_iframe_div2 {
	border: 0px solid grey;
	width: 100%;
	height: 300px;
	margin: 20px auto;
	position: relative;
}

#preview_iframe2 {
	width: 100%;
	height: 300px;
	border: none;
}

#preview_iframe_divthx {
	border: 0px solid grey;
	width: 100%;
	height: 300px;
	margin: 20px auto;
	position: relative;
}

#preview_iframethx {
	width: 100%;
	height: 300px;
	border: none;
}

[preview-designset] .loading {
	background: transparent url(/images/loading.gif) no-repeat 50% 50%;
    background-size: 30px;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    visibility: hidden;
  	transition: visibility 0s, opacity 0.3s ease-in;
}

[preview-designset] .loading.show {
	visibility: visible;
	opacity: 0.7;
}



/* patterns */

.pattern_picker {
	width: 193px;
	display: inline-block;
	text-align: right;
	position: absolute;
	right: 33px;
	margin-top: 27px;
}

.pattern_id {
    width: 66px;
    height: 33px;
    margin: 1px 10px 0 0;
    background: red;
    display: inline-block;
    /*background-size: 100% !important;*/
}

#patterns {
    height: auto;
    width: auto;
    margin-left: 0px;
    background-color: transparent;
    border: none;
}

#patterns .file em {
    display: none;
}
#patterns .file.active em {
    display: block;
}
#edit_pattern span, #remove_pattern span {
    height: 17px;
    margin-top: 3px;
}
#edit_pattern {
    float: right;
}
#remove_pattern {
    float: right;
    margin-left: 9px;
}


.file {
    position: relative;
    height: 128px;
    width: 128px;
    margin: 0 10px 10px 0;
    float: left;
    cursor: pointer;
}

#mediafiles .ok {
    display: none;
}
#mediafiles .file.active .ok {
    display: block;
}

.file > div {
    position: absolute;
    width: 128px;
    height: 128px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.0980392) 0px 0px 15px 0px inset, rgba(0, 0, 0, 0.0470588) 0px 0px 0px 1px inset;
    border: 2px solid #ffffff;
}
#patterns .file.active > div {
    border: 2px solid #94b8ff;
}

#patterns .file > div > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: inherit;
    -ms-transform: inherit;
    transform: inherit;
}
.file > div > div img, .file > div > div canvas {
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.file > div > div img {
    max-height: 124px;
}
.file_inactive {
     -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; 
     filter: alpha(opacity=50);
     -moz-opacity: 0.5;
     -khtml-opacity: 0.5;
     opacity: 0.5;
}

.file .text-danger {
    font-size: 12px;
}

[jo-type="bar"] .time-type > li, [jo-type="bar"] .time-type li img {
	width: 367px;
	max-height: 34px;
	height: auto;
}
[jo-type="embedded_horizontal"] .time-type > li {
	width: 367px;
	height: 70px;
    margin-bottom: 7px;
}
[jo-type="embedded_horizontal"] .time-type li img {
	width: 367px;
    max-height: 100%;  
    max-width: 100%; 
    width: auto;
    height: auto;
    position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    margin: auto;
}

[jo-type="embedded_vertical"] .time-type > li {
	width: 175px;
	height: 160px;
}
[jo-type="embedded_vertical"] .time-type li img {
	width: 175px;
    max-height: 100%;  
    max-width: 100%; 
    width: auto;
    height: auto;
    position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    margin: auto;
}
[jo-type="embedded_vertical"] #preview_iframe_div1 iframe, [jo-type="embedded_vertical"] #preview_iframe_div2 iframe, [jo-type="embedded_vertical"] #preview_iframe_divthx iframe {
	width: 350px;
	margin: 0 auto;
}



/* creating new jo */ 

.type-picker .types > div {
	vertical-align: top;
    display: inline-block;
    width: 177px;

    text-align: center;
    border: 2px dashed;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 20px;
    padding: 17px;
    cursor: pointer;
    height: 165px;
    position: relative;
	transition: all 0.3s ease;
	white-space: normal;
}
.type-picker .types > div:hover {
    background: #e8ffe0;
}
.type-picker .types > div.active {
    background: #e8ffe0;
    border: 2px solid;
}
.type-picker .types > div img {
    width: 80px;
	transition: all 0.3s ease;
}
.type-picker .types > div[type=code] img {
	width: 62px;
}
.type-picker .types > div:hover img {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

.type-picker .types > div h3 {
    margin-top: 15px;
    font-size: 15px;
}
.type-picker .types > div p {
    font-size: 12px;
}


.type-picker .goals > div {
    padding: 10px 17px;
    height: 190px;
    margin-bottom: 10px;
}
.type-picker .goals > div h3 {
    height: 2em;
}
.type-picker .goals > div img {
    width: 50px;
}


/* ~~~~~ */
.jo-activated-notification {
	display: none;
	padding: 5px 15px !important;
	position: absolute;
	width: 100%;
	z-index: 100;
	top: -14px;
	box-shadow: none !important;
    background-color: #d9edf7 !important;
    background-image: none !important;
}
.jo-activated-notification a {
    font-weight: normal !important;
    text-decoration: underline !important;
}
.jo-activated-notification a:hover {
    text-decoration: none !important;
}



/* wysiwyg */

.pell {
    border-radius: 5px;
    box-shadow: 0 2px 3px hsla(0, 0%, 4%, .1), 0 0 0 1px hsla(0, 0%, 4%, .1)
}
.pell,
.pell-content {
    box-sizing: border-box;
    width: 100%
}
.pell-content {
    outline: 0;
    overflow-y: auto;
    padding: 6px 12px;
	background: #ffffff;
    border-radius: 4px;
    border: 1px solid #cccccc;
}
.pell-actionbar {
	/*
	opacity: 0;
	*/
	display: none;
	overflow: hidden;
    background-color: #fff;
    border: 1px solid #cccccc;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    width: 100%;

	position: absolute;
    top: -31px;
    left: 0;
    transition: all .2s ease-out;
    padding-left: 2px;
}
.pell-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    height: 32px;
    outline: 0;
    min-width: 30px;
    margin-top: -1px;
	display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 5px;

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.pell-button:hover {
	background: #428BCA;
	color: #ffffff;
}
.pell-button span {
	font-size: 13px;
}
.pell-button input {
	width: 25px;
}
	
.wysiwyg {
	border-radius: 4px;
	position: relative;
}
.wysiwyg.active .pell-actionbar {
	/*
	opacity: 1;
	display: block;
	*/
}
.wysiwyg.active .pell-content {
	border-radius: 0 0 4px 4px;
}



.choosen_design {
    display: table;
    margin-bottom: 25px;
}
.choosen_design > div {
    display: table-cell;
}
.choosen_design .design img {
    width: 200px;
    margin-right: 30px;
}

h4.group-series, h4.group-split-test, h4.group-retargeting, h4.group-folder {
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: 0 42%;
    padding-left: 30px;
    margin-top: -11px;
    padding-top: 14px;
}
h4.group-series {
	background-image: url(/images/types-group/series.png);
}
h4.group-split-test {
	background-image: url(/images/types-group/abtest.png);
}
h4.group-retargeting {
	background-image: url(/images/types-group/retargeting.png);
}
h4.group-folder {
	background-image: url(/images/types-group/folder.png);
}



/* coupons field */

.coupons tr th {
    padding-bottom: 10px;
}
.coupons tr td {
    vertical-align: top;
    padding-right: 30px;
}
.coupons tr td .bootstrap-select {
    padding-bottom: 0;
}
.coupons tr td.value .form-control {
    width: 65px;
}
.coupons tr td.coupon .form-control {
    width: 200px;
}
.coupons .type .bootstrap-select {
    width: 150px !important;
}
.coupons .gravity .bootstrap-select {
    width: 65px !important;
}
.coupons .gravity span.chance {
    margin-left: 20px;
}


.selectize-input {
	width: 285px !important;
}
.selectize-dropdown-content {
	background: white;
}
.selectize-dropdown-content [data-selectable] {
	padding: 2px 0 2px 0;
	line-height: 20px;
}
.bootstrap-select span.title {
	margin-left: 1px;
}
.bootstrap-select span.description {
	font-size: 12px;
	margin-left: 10px;
}
.bootstrap-select .status {
	margin-left: 22px;
}



/* ~~~~~ */
div.disabled {
	opacity: 0.8;
}

textarea.source-code {
	cursor: text !important;
	cursor: copy !important;
}



.version2 {
    position: absolute;
    background: #7be649;
    border-radius: 50%;
    border: 1px solid #55e655;
    width: 30px;
    height: 30px;
    text-align: center;
    font-size: 19px;
    font-weight: bold;
    color: #ffffff;
    top: 5px;
    right: 5px;
    transition: all .2s ease-out;
    cursor: pointer;
}
.version2:hover {
    transform: scale(1.1);
}

.dropdown-menu .version2 {
	width: 20px;
    height: 20px;
    font-size: 12px;
}
.pell-actionbar .version2 {
	top: 1px;
}


.upgrade {
	/*pointer-events: none;
   	cursor: default;*/
   	opacity: 0.5;
}


#integration-settings [service-id]:first-child {
	margin-top: -10px;
}
#integration-settings [service-id] {
    margin-bottom: 20px;
}
#integration-settings [service-id]:last-child {
	margin-bottom: 0;
}

.alert.special {
	background-image: none;
}
.alert-info.special {
	color: #21495d;
	background: #c0e9f2;
}
.alert-warning.special {
	color: #795c2a;
	border-color: #fcf8e2;
}
.alert-warning.special .btn-default {
	color: #795c2a !important;
	background: #ffe96e;
}
.alert-danger.special {
	color: #c71f1f !important;
	background: #ffdede;
	border-color: #ffdede;
}
.alert-danger.special .btn-default {
	color: #ffffff !important;
	background: #ff6a6a;
}


.alert.special .btn-default {
	float: right;
    margin-top: -7px;

	text-shadow: none;
	text-decoration: none !important;
	background-image: none;
	font-weight: bold;
	border-color: transparent;
}
.alert.special .btn-default:hover {

}

/* in the widgets' list */
#realtime-block {
	position: absolute;
    right: 16px;
    top: 2.5px;
    text-align: right;
}
/* in the widget's tab */
[page="stats-mode"] #realtime-block {
	right: 141px;
    top: 35px;
}


#realtime-results {
    min-width: 20px;
    font-size: 10px;

    transition: all .3s .3s cubic-bezier(.5, 0, .5, 1);
  	transition-property: opacity, transform;
  	opacity: 1;
}
[page="stats-mode"] #realtime-results {
	font-size: 13px;
}
#realtime-results .shows {
    color: #02AAC8;
    margin-right: 2px;
    display: inline-block;
}
#realtime-results .conversions {
    color: #ffbf00;
    display: inline-block;
}

#realtime-results.realtime-hidden {
  transition-delay: 0s;
  opacity: 0;
  transform: scale(0.8);
}

#realtime-status {
    min-width: 20px;
    display: inline-block;
    line-height: normal;
    cursor: pointer;
}

/* animation while updating */
#realtime-status span.refreshing {
	display: inline-block;
	transform: translateZ(1px);
}
#realtime-status span.refreshing > div {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin: 0;
	border-radius: 50%;
	background: #fff;
	animation: lds-circle 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
@keyframes lds-circle {
	0%, 100% {
		animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
	}
	0% {
		transform: rotateY(0deg);
	}
	50% {
		transform: rotateY(1800deg);
		animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
	}
	100% {
		transform: rotateY(3600deg);
	}
}


#realtime-status span.pause {
	font-weight: bold;
	transform: rotate(-90deg);
	display: inline-block;
    margin-right: 1px;
}
[page="stats-mode"] #realtime-status span.pause {
	padding-right: 1px;
}

.details .mark.bootstrap-select {
	border-radius: 4px;
}




