﻿html, body {
	margin:0;
	padding:0;
	width:100%;
	height:100%;
	min-height: 100%;
	display:block;
	clear: both;
	background-color: #e8e8e8;
	color: #000;
	font-family: Segoe UI,Arial,sans-serif;
	font-size: 12px;
	overflow:hidden;
}

@font-face {
    font-family: 'texgyreadventorbold';
    src: url('/National_Library/oe_/https://builder.adunity.com/fonts/texgyreadventor-bold-webfont.eot');
    src: url('/National_Library/oe_/https://builder.adunity.com/fonts/texgyreadventor-bold-webfont.eot#iefix') format('embedded-opentype'),
         url('/National_Library/oe_/https://builder.adunity.com/fonts/texgyreadventor-bold-webfont.woff2') format('woff2'),
         url('/National_Library/oe_/https://builder.adunity.com/fonts/texgyreadventor-bold-webfont.woff') format('woff'),
         url('/National_Library/oe_/https://builder.adunity.com/fonts/texgyreadventor-bold-webfont.ttf') format('truetype'),
         url('/National_Library/oe_/https://builder.adunity.com/fonts/texgyreadventor-bold-webfont.svg#texgyreadventorbold') format('svg');
    font-weight: normal;
    font-style: normal;

}
#tabs {
	height:calc(100%);
}
#tabs .tab {
	height: 100%;
}
a {
	color: #447ed8;
	text-decoration:none;
}
form {
	margin:0;
	padding:0;
}

#main{
	width:100%;
	height:100%;
	background-color: #e8e8e8;
	min-width: 1200px;
}
#center{
	height:calc(100% - 50px);
	width:100%;
	background-color: #e8e8e8;
	padding-top: 50px;
	position: relative;
	overflow:auto;
}

input, select, textarea, button {border-radius: 3px; border:solid 1px #808080;}

#topbar {
	width: 100%;
	height: 51px;
	/*line-height: 50px;*/
	background-color: #000a3d;
		position: fixed;
		z-index: 10000;

}
	#topbar h1 {
		padding:0;
		margin:0;
		width: calc(100%);
		font-family: 'texgyreadventorbold';
		color: #fff;
		padding: 0 10px;
		font-weight: normal;
		font-size: 28px;
		position: relative;
	}

	#topbar h1 span {color: #008fff;}
	#topbar h1 strong {
		font-size: 18px; font-weight: normal; font-family: 'Segoe UI'; vertical-align: middle; text-wrap: avoid;
		text-align:center;
		position:absolute;
		top: 0px;
		display:block;
		width: calc(100% - 270px);
		left: 270px;
		z-index:1;
	}
	#topbar h1 i {
		vertical-align: middle;
		height: 50px;
		display: table-cell; 
		width: 250px; 
		font-style: normal;
		cursor: pointer;
		z-index:10;
		position: relative;
	}

	#topbar h1 strong a {background-color: #008fff; border-radius: 2px; font-size: 12px; color: #fff; padding: 2px 3px; display: inline-block;}
	#topbar h1 strong a:hover {background-color: #e3c001; border-radius: 2px; font-size: 12px; color: #000; padding: 2px 3px; display: inline-block;}
	#topbar h1 em {position: absolute; left: 232px; top: 2px; font-size: 12px; background-color: #cc0000; border-radius: 2px; font-style: normal; line-height: 1; padding: 1px 2px 2px 2px; font-family: 'Segoe UI';}

	#topbar > div > h1 > strong > small {font-size:0.65em; color:#aca4a4;}
	.admin #topbar h1 strong, .main_agency #topbar h1 strong{padding-top: 8px;}

	#topbar .logo {
		float: left;
		width: 100%;
	}
	.edit #topbar .logo{width: calc(100% - 633px)}

	#topbar .menu {
		background-color: #293548;
		padding-left: 5px;
		padding-right: 5px;
		position: fixed;
		right: 0;
		top: 0;
		height: 43px;
		color: #fff;
		margin-top: -10px;
		border-bottom-left-radius: 10px;
	}
	.admin #topbar .menu, .main_agency #topbar .menu{padding-left:10px;}
	#topbar .menu.loading {
		background:url(/National_Library/oe_/https://builder.adunity.com/images/loading.gif) transparent no-repeat 2px center;
	}

	#topbar .menu a.item{
		height: 50px;
		line-height:50px;
		color:#FFF;
		text-decoration:none;
		padding:8px;
		cursor:pointer;
		font-size:13px;
	}
	#topbar .menu a:hover.item {background-color: #e3c001; color: #000; border-radius: 2px;}
	#topbar .logo .title {display: table-cell; width: 250px; font-style: normal; height:50px; vertical-align:middle;}
#frmMain, #main-splitter{ height: 100%; min-width: 1200px;}
/* 	border-right: 2px double #303030;*/
#split-left-main{
	float: left;
	position: relative;
	height: 100%;
	width: 420px; 
}
#split-left-main .container-main{width: 416px;}

#split-center-main{
	border-right: 2px double #303030;
	border-left: 2px double #303030;
	float: left;
	min-height: 600px;
	height: 100%;
	width:calc(100% - 874px);
}
#split-right-main{
	float: left;
	height: 100%;
	width: 450px;
	/*width:446px;*/
}
#split-left-main .scroller { height: calc(100% - 31px);}
#split-center-main .scroller { height: calc(100% - 31px);}
#split-right-main .scroller { height: calc(100% - 61px);}

#split-left-main:hover, #split-center-main:hover, #split-right-main:hover  {background-color: #fff;}

.container-main {padding-left:2px; padding-right: 2px; padding-top:10px; height: 100%; overflow:hidden; position: relative; }

.split h2 {border-bottom: solid 2px #000a3d; font-weight: normal; text-transform: uppercase; margin-bottom: 0px; margin-top: 0px;}
.split {position: relative;}

#leftbar{
	float:left;
	width: 300px;
}
.hidden {
	display:none;
}

.UploadIframe300px{
	height:30px;
}

.SpanLink {border-radius: 3px; background-color: #6f005b; padding: 2px 6px; color: #fff;}
.SpanLinkHover {border-radius: 3px; background-color: #000a3d; padding: 2px 6px; color: #fff;}

.SpanLink, .SpanLinkHover{
	cursor:pointer;
}
.loading{
	background:url(/National_Library/oe_/https://builder.adunity.com/images/loading.gif) transparent no-repeat 5px 2px;
}

#file_manager.loading{
	background:url(/National_Library/oe_/https://builder.adunity.com/images/loading.gif) transparent no-repeat right top;
}
.agency_holder {width: calc(100% - 30px); padding: 0 15px; margin-top: 0;}

.agency {
	padding: 4px 10px 4px 0px;
	border-bottom: solid 1px #000a3d;
	list-style-type: none;
	background: none;
}
.agency:hover:first-of-type {border-radius: 3px 3px 0 0;}

.subagency .agency_bar > a{
	font-size: 18px;
	color: #6f005b;
	font-weight: bold;
	line-height: 33px;
}

.subagency .agency_bar > a em{
	font-size: 15px;
}

.subagency .agency_bar > a.action{
	font-size: 12px;
	line-height:16px;
	cursor:pointer;
	background-color: #6f005b; border-radius: 3px;
	color: #fff;
	padding: 0px 6px 2px 6px;
	font-weight: normal;
}
.subagency .agency_bar > a:hover.action{
	background-color: #000a3d;
	color: #fff;
}

.group_name a.action{
	font-size: 12px;
	line-height:16px;
	cursor:pointer;
	background-color: #6f005b; border-radius: 3px;
	color: #fff;
	padding: 2px 6px;
	margin-left: 10px;
}
.group_name a:hover.action{
	background-color: #000a3d;
	color: #fff;
}

.agency .agency_bar > a{
	font-size: 18px;
	color: #6f005b;
}
.agency .agency_bar > a{
	font-size: 18px;
	color: #6f005b;
}

.agency .agency_bar > a em{
	font-size: 15px;
}

.agency .agency_bar > a.action{
	font-size: 12px;
	line-height:16px;
	cursor:pointer;
	background-color: #6f005b; border-radius: 3px;
	color: #fff;
	padding: 0px 6px 2px 6px;
}
.agency .agency_bar > a:hover.action{
	font-size: 12px;
	line-height:16px;
	cursor:pointer;
	background-color: #000a3d; border-radius: 3px;
	color: #fff;
}
.agency_bar{
	background-color: #d8d8d8;
    padding-bottom: 6px;
    padding-top: 2px;
    padding-left: 4px;
	position: relative;
}
.agency_bar{
    padding-bottom: 0px;
    padding-top: 0px;
    padding-left: 39px;
	position: relative;
	margin-left:-5px;
	background: url(/National_Library/oe_/https://builder.adunity.com/images/expand_bullet.png) 5px 16px no-repeat #c0c0c0;
}
.admin .agency_bar{
	padding-top: 10px;
	padding-bottom: 10px;
	margin-left: 0px;
}
.action.format {background-color: #6f005b; color: #fff; padding: 2px 6px; border-radius: 3px; width: auto; word-break:keep-all;}
.action.format:hover {background-color: #000a3d; color: #fff; padding: 2px 6px; border-radius: 3px; width: auto; word-break:keep-all;}

ul.projects {list-style-type: none; padding: 0; background-color:#F4F4F4;}
ul.projects:hover{ background-color:#F4F4F4;}
ul.projects::after {content:""; display:block; clear: both;}

.projects .ad {
	padding: 0px;
	padding-bottom: 5px;
	font-size:14px;
	display:inline-block;
	width: 220px;
    height: 120px;
	position:relative;
	border: 1px double #D1D1D1;
	margin: 5px 2px 5px 0;
	cursor:pointer;
	overflow:hidden;
}
.projects h5 {
	margin:0;
	display:block;
	text-align:left;
	word-break:break-word;
	width: 216px;
	position:relative;
	z-index: 100;
    background-color: rgba(255,255,255,0.6);
    padding: 2px;
}
.projects h5 span {font-weight: normal; font-size: 11px;}
.projects em{
	font-size:10px;
	position:relative;
	z-index: 100;
	opacity: 0;
	transition:opacity ease-in-out 0.25s;
}
.projects .ad .snapshot{
	position:absolute;
	z-index:99;
	left: 5px;
	right: 5px;

	height:105px;
	text-align:center;
	bottom: 5px;
}
.projects .ad .snapshot img
{
	border: 1px dotted #8d8d8d;
	display: inline-block;
}
.center_vertically
{
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.projects .ad .snapshot > span{
	color:#000a3d;
	font-size: 10px;
	font-weight:bold;
	display:inline-block;
	width: 60px;
	height: 14px;
	position:absolute;
	left:50%;
	margin-left: -30px;
	top: 50%;
	margin-top: -7px;
	background-color:rgba(255,255,255,0.4);
}
.projects .ad .actions{
	position:absolute;
	z-index:100;
	bottom:-30px;
	font-size: 12px;
	text-align:center;
	width:210px;
	transition:bottom ease-in-out 0.25s;
	padding: 6px 0px;
	left: 4px;
}
.projects .ad:hover .actions{
	bottom:0px;
	transition:bottom ease-in-out 0.25s;
}
.projects .ad:hover em {
	opacity:1;
	transition:opacity ease-in-out 0.25s;
	background:rgba(255,255,255,0.75);
	padding: 0 4px;
}
.projects .ad .actions a {
	text-decoration:none;
	font-size: 12px;
	line-height:16px;
	cursor:pointer;
	background-color: #6f005b; border-radius: 3px;
	color: #FFF;
	padding: 2px 6px;
}
.projects .ad .actions a:hover{
	background-color: #000a3d;
    color: #fff;
}

/*
.template a.action{
	text-decoration:none;
	font-size: 12px;
	line-height:16px;
	cursor:pointer;
	background-color: #FFF; border-radius: 3px;
	color: #000;
	padding: 2px 6px;
}
.template a:hover.action{
	font-size: 12px;
	line-height:16px;
	cursor:pointer;
	background-color: #000a3d; border-radius: 3px;
	color: #fff;
	padding: 2px 6px;
}


*/

.clear {
	clear:both;
}
#templates{
	clear:both;
	margin:10px auto;
	width: 100%;
	text-align: center;

}
.template {
	display: inline-block;
	width: 600px;
	height: 530px;
	cursor:pointer;
	overflow:hidden;
	margin: 0 12px;
}
.template h4 {
	font-size: 24px;
	margin:0;
	display:block;
	width:100%;
	font-family: "Segoe UI";
	text-align: left;
	color: #000a3d;

}

.mini_title {margin:0; display:block; width:100%; font-family: "Segoe UI"; text-align: left; color: #000a3d; font-size: 18px; font-weight: bold; text-transform: uppercase; margin-bottom: 5px;}
.template.html5_ovepage h4 { top: 5px;}
.template.html5_linear_vpaid h4 {top: 15px;}


.template.html5_ovepage div.ad_demo small {color: #FFF;}
.template.html5_linear_vpaid div.ad_demo small {color: #FFF;}
.preview_container {width: 600px;
background: #d3d3d3; /* Old browsers */
background: -moz-linear-gradient(top, #d3d3d3 0%, #e8e8e8 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #d3d3d3 0%,#e8e8e8 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #d3d3d3 0%,#e8e8e8 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d3d3d3', endColorstr='#e8e8e8',GradientType=0 ); /* IE6-9 */
border-top: solid 1px #000a3d;}
.preview_switch {text-align: right; margin-bottom: 15px;}
.preview_switch a {display: inline-block; font-size: 14px; background-color: #fff; border: solid 1px #000a3d; border-top: none; border-radius: 0 0 3px 3px; line-height: 32px; padding: 0 10px; color: #000a3d;}
.preview_switch a.active {display: inline-block; font-size: 14px; background-color: #000a3d; border: solid 1px #000a3d; border-top: none; border-radius: 0 0 3px 3px; line-height: 32px; padding: 0 10px; color: #fff;}

.preview_content {width: 600px; height: 326px; position: relative;}
.preview_desktop {background: url(/National_Library/oe_/https://builder.adunity.com/images/preview_desktop.png) 0 0 no-repeat;}
.desktop_container {width: 411px; height: 257px; position: absolute; top: 21px; left: 95px; background-color: #fff;}

.preview_mobile {background: url(/National_Library/oe_/https://builder.adunity.com/images/preview_mobile.png) center 0 no-repeat;}
.mobile_container {width: 127px; height: 229px; position: absolute; top: 49px; left: 237px; background-color: #fff;}


.template div.ad_demos{
	margin-bottom: 0;
	text-align:left;
}
.template div.ad_demo a {color: #fff; text-decoration: none; line-height: 1.2; padding-bottom: 3px; font-size: 14px;}
.template div.ad_demo a:hover {color: #fff; text-decoration: none; line-height: 1.2; padding-bottom: 3px; font-size: 14px;}
.template div.ad_demo > small {display:inline-block; padding: 8px 6px 8px 8px; margin-bottom: 3px; background: #6f005b; border-radius: 3px; font-size: 14px;}

.template > small {
	font-size: 14px;
	position:absolute;
	top: 70px;
	margin:0;
	display:block;
	text-align:center;
	width:100%;
	color:#000a3d;
}
.template div.ad_demo a.action{
	text-decoration:none;
	font-size: 14px;
	cursor:pointer;
	background-color: #FFF; border-radius: 3px;
	color: #000;
	padding: 2px 6px;
}
.template div.ad_demo a:hover.action{
	font-size: 14px;
	cursor:pointer;
	background-color: #000a3d; border-radius: 3px;
	color: #fff;
	padding: 2px 6px;
}

.html5_linear_vpaid div.ad_demo > small {
	top: 95px;
}

.projects.subagency {padding: 0; width: 100%; margin-top: 0px; margin-bottom:-5px; padding-bottom: 0px;padding-bottom:100px;}
.group_name {padding: 5px 10px; font-size: 15px; font-weight:bold; color: #6f005b; background-color: #e1e1e1; margin-left: -5px;margin-right: -3px;}

#projects { padding-left:10px; margin-bottom: 0;}

.agency_holder #projects { padding-left:0px;}

/*
.projects .ad {
	padding: 3px 20px;
	font-size:14px;
	background: url(/National_Library/oe_/https://builder.adunity.com/images/bullet.png) 0 7px no-repeat;
}
.projects .ad:hover {
	padding: 3px 20px;
	font-size:14px;
	background: url(/National_Library/oe_/https://builder.adunity.com/images/bullet_hover.png) 0 7px no-repeat;
}
*/


.html5_inpage {}
.html5_ovepage {}
.html5_linear_vpaid {}

.left_top_right {}

#import_ad{
	display:none;
	position:fixed;
	top:50px;
	right:-350px;
	width: 300px;
	min-height:55px;
	padding:10px;
	background-color: #000a3d;
	z-index: 999;
}

#import_ad input[type="button"] {background-color: #6f005b; color: #fff; border: none; padding: 2px 6px; cursor: pointer;}
#import_ad input:hover[type="button"] {background-color: #fff; color: #000;}

#file_manager{
	padding:0;
	padding-top:0px;
	display: table;
	width: 100%;
	margin-bottom:0;
	margin-top: 0;
    border-bottom: 1px solid #000a3d;
}
#file_manager li {
	list-style:none;
	padding-left:21px;
	position:relative;
	cursor:pointer;
	display: table;
	width: calc(100% - 21px);
	margin-bottom:3px;
	padding-bottom: 0px;
}
#file_manager ul{
	padding-left: 0px;
}
#file_manager li a.name{
	display: table-cell;
	text-align:left;
	width: 190px;
}
#file_manager li a.size{
	display: table-cell;
	text-align:right;
	font-size:12px;
	width: 50px;
}
#file_manager li a.mime {
	display: table-cell;
	width: 35px;
	font-size:12px;

}
#file_manager li a.action {
	margin-right:2px;
	width: 90px;
	position: relative;
	padding-left:4px;
}

#file_manager a.action > i{
	text-decoration:none;
	font-size: 12px;
	line-height:16px;
	cursor:pointer;
	background-color: #000a3d; border-radius: 3px;
	color: #fff;
	padding: 2px 6px;
	float:right;
	margin-left: 4px;
}
#file_manager a.action > i:hover{
	font-size: 12px;
	line-height:16px;
	cursor:pointer;
	background-color: #6f005b; border-radius: 3px;
	color: #fff;
	padding: 2px 6px;
}

#file_manager li.level1{
	padding-left:30px;
	width: calc(100% - 31px);
}
#file_manager li.level2{
	padding-left:60px;
	background-position: 40px center !important;
	width: calc(100% - 61px);
}
	#file_manager li.level2 a.name{
		display: table-cell;
		text-align:left;
		width: 160px;
	}
#file_manager li.level3{
	padding-left:80px;
	background-position: 60px center !important;
	width: calc(100% - 81px);
}
	#file_manager li.level3 a.name{
		display: table-cell;
		text-align:left;
		width: 155px;
	}

#file_manager li.level4{
	padding-left:100px;
	background-position: 80px center !important;
	width: calc(100% - 101px);
}
	#file_manager li.level4 a.name{
		display: table-cell;
		text-align:left;
		width: 135px;
	}

ul#file_manager li:hover {
	background-color: #000a3d;
	margin-bottom:3px;
	padding-bottom: 0px;
	color: #447ed8;
}
ul#file_manager li.current {
	background-color: #000a3d;
	color: #fff;
}


/* icons */
#file_manager li.folder{
	 background: transparent url("/National_Library/oe_/https://builder.adunity.com/images/ic_folder_normal.png") no-repeat scroll 3px center;
}
#file_manager li.folder.current{
	 background: #000a3d url("/National_Library/oe_/https://builder.adunity.com/images/ic_folder_selected.png") no-repeat scroll 3px center;
}
#file_manager li:hover.folder{
	 background: #000a3d url("/National_Library/oe_/https://builder.adunity.com/images/ic_folder_selected.png") no-repeat scroll 3px center;
}
#file_manager li:hover.folder.current{
	 background: #000a3d url("/National_Library/oe_/https://builder.adunity.com/images/ic_folder_selected.png") no-repeat scroll 3px center;
}

#file_manager li.file {
	background: transparent url("/National_Library/oe_/https://builder.adunity.com/images/ic_file_normal.png") no-repeat scroll 10px 2px;
}
#file_manager li:hover.file {
	background: #000a3d url("/National_Library/oe_/https://builder.adunity.com/images/ic_file_selected.png") no-repeat scroll 10px 2px;
}

#file_manager li.js {
	background: transparent url("/National_Library/oe_/https://builder.adunity.com/images/ic_js_normal.png") no-repeat scroll 10px 4px;
}
#file_manager li:hover.js {
	background: #000a3d url("/National_Library/oe_/https://builder.adunity.com/images/ic_js_selected.png") no-repeat scroll 10px 4px;
}

#file_manager li.audio {
	background: transparent url("/National_Library/oe_/https://builder.adunity.com/images/ic_audio_normal.png") no-repeat scroll 10px 4px;
}
#file_manager li:hover.audio {
	background: #000a3d url("/National_Library/oe_/https://builder.adunity.com/images/ic_audio_selected.png") no-repeat scroll 10px 4px;
}

#file_manager li.css {
	background: transparent url("/National_Library/oe_/https://builder.adunity.com/images/ic_css_normal.png") no-repeat scroll 10px 4px;
}
#file_manager li:hover.css {
	background: #000a3d url("/National_Library/oe_/https://builder.adunity.com/images/ic_css_selected.png") no-repeat scroll 10px 4px;
}

#file_manager li.other {
	background: transparent url("/National_Library/oe_/https://builder.adunity.com/images/ic_other_normal.png") no-repeat scroll 10px 4px;
}
#file_manager li:hover.other {
	background: #000a3d url("/National_Library/oe_/https://builder.adunity.com/images/ic_other_selected.png") no-repeat scroll 10px 4px;
}

#file_manager li.video {
	background: transparent url("/National_Library/oe_/https://builder.adunity.com/images/ic_video_normal.png") no-repeat scroll 10px 4px;
}
#file_manager li:hover.video {
	background: #000a3d url("/National_Library/oe_/https://builder.adunity.com/images/ic_video_selected.png") no-repeat scroll 10px 4px;
}

#total_size { float: right; margin-top: 0px; margin-right: 0px; margin-bottom:10px; font-size:10px;}

.CodeMirror {border-radius: 3px; border: solid 1px #6f005b;}
.CodeMirror-focused {border: solid 1px #e3c001;}

.row_container {width: 100%; display: block; clear: both; margin-bottom: 3px; display: table;}
.row_container label {display: table-cell; width: 150px; min-width: 150px; min-height: 20px; padding: 5px; vertical-align: middle; background-color: #d1d1d1; border-radius: 3px 0 0 3px;}
.row_container label span {color: red;}
.row_container .input_container {display: table-cell;  width: calc(100% - 7px); min-height: 30px; padding: 2px 2px 2px 5px; vertical-align: middle; background-color: #e2e2e2; border-radius: 0 3px 3px 0;}
.row_container .input_container input {width: calc(100% - 9px); padding: 4px 2px 4px 5px; height: 15px; border: solid 1px #a8a8a8; font-family: 'Segoe UI'; font-size: 12px;}
.row_container .input_container select {width: calc(100% - 9px); padding: 2px 2px 2px 5px; height: 26px; border: solid 1px #a8a8a8; width: 40%; font-family: 'Segoe UI'; font-size: 12px;}
.row_container .input_container textarea {width: calc(100% - 9px); padding: 4px 2px 4px 5px; border: solid 1px #a8a8a8; resize:none; font-family: 'Segoe UI'; font-size: 12px;}
.row_container .input_container span {margin-top: 5px; margin-bottom: 5px;}
.icon_upload {background-color: #6f005b; border: none; padding: 4px 8px; color: #fff; cursor: pointer; font-size:13px;}
.icon_upload:hover {background-color: #000a3d; border: none; color: #fff; cursor: pointer;}
.UploadInput300px {color: #000; width: auto;}

#share_link .icon_upload{font-size:11px;}
#share_link .btn-close.icon_upload{display:none;}

.file_name {width: 40%; display: table-cell;}
.error_display {width: 60%; display: table-cell;}

#editor_container {position:fixed; top: 0; left:0; width: calc(100% - 60px); height: calc(100% - 60px); z-index:9999; background:rgba(100,100,100,0.75); padding:30px;}
#editor_title {background-color:#FFF; padding: 10px;}
#editor_toolbar {height:30px; background-color:#FFF; padding: 0 10px 10px 10px;}
#editor_toolbar div {display: table-cell; padding-right: 5px;}
#editor_container .editor {width: calc(100% - 20px); height: calc(100% - 120px); padding: 10px; background-color:#fff;}
#editor_container .editor_help {background-color:#FFF; height: 20px; padding: 10px;}
#editor_container .action.format:hover {background-color: #000a3d;}
#editor_container .CodeMirror {height: 100%;}
.logo:after, .row_container:after, #templates:after {content: "."; display: block; height: 0; clear: both; font-size: 0; visibility: hidden;}

#support {position:fixed; right:-400px; top:50px; z-index: 1000; display:none; width: 40%; background-color: #FFF; padding: 10px;  border: 1px solid #d1d1d1; border-radius: 5px 5px 5px 5px;box-shadow: -5px 5px 5px 0px rgba(0,10,61,0.33);}
#support label.error { display:block; color:#F00; width:auto; font-size:12px;}


#share_link {width:500px; z-index: 99999; position: absolute; display:none;background-color: #FFF; padding: 10px; border: 1px solid #d1d1d1; border-radius: 5px 5px 5px 5px;}
#share_link .row_container label { width:104px; text-align:center; }
#share_link .row_container .input_container input{ font-size: 12px;}

.template_help {cursor:pointer;}
#template_help {position:fixed; right:-400px; top:50px; display:none; width: 40%; background-color: #FFF; padding: 10px;  border: 1px solid #d1d1d1; border-radius: 5px 5px 5px 5px; z-index:999;}
#template_help .template_help_container {height: calc(100% - 250px); min-height:50px; max-height:550px; overflow:auto; margin:10px 0;}

#import_file_loading, #import_file_error {color:#FFF;}
.CodeMirror-fullscreen{margin-top:50px;}
#additional_file_browse, #additional_file_loading { float: left; margin-top: 5px; height: 22px;}
#additional_file_browse iframe { height: 30px; width: 200px;}
small.template_code{
	margin-top: 4px;
    position: absolute;
    right: 5px;
}
.scroller {
	overflow:auto;
	position:relative;
}
.input_container input.frame{
	margin-bottom: 4px;
}
textarea.js_code{
	height: 100%;
}
.align_search_btn{
	margin-top: 2px;
	float: left;
	margin-right:10px;
}
#upload_files_to {visibility: hidden; display: none;}
span.time {display:none;}

.projects .ad .snapshot > div.template_201 {}
.projects .ad .snapshot > div.template_202 {}
.projects .ad .snapshot > div.template_312 { background-image: url(/National_Library/oe_/https://builder.adunity.com/images/play-64.png); background-repeat:no-repeat; background-position: center center; background-size:32px;}

#editor_preview {
	position: fixed;
	bottom:0;
	left: 0;
	right: 0;
	top: 50px;
	background-color: #FFF;
	z-index: 1001;
}
#editor_preview iframe{
	width: 100%;
	height:100%;
	background:url(/National_Library/oe_/https://builder.adunity.com/images/loading.gif) #FFF no-repeat center center;
}
#menu_mask{
	position:absolute;
	top: -50px;
	right: 0px;
	height: 50px;
	left: 261px;
	background-color: #000a3d;
	color:#FFF;
	font-size:16px;
	line-height:50px;
	text-align:center;
	text-indent: -250px;
}

#preview_menu {
	background-color: #000a3d;
	padding-left: 20px;
	padding-right: 20px;
	position: fixed;
	right: 0;
	top: 0;
	height: 50px;
	color: #fff;
	font-size: 12px;
	text-indent:initial;
	min-width:200px;
	text-align:right;
}
#preview_menu a.preview_item{
	height: 50px;
	line-height:50px;
	color:#FFF;
	text-decoration:none;
	padding:5px;
	cursor:pointer;
}
#preview_menu a.close_demo {font-size: 13px;}
#preview_menu a:hover.preview_item {background-color: #e3c001; color: #000; border-radius: 2px;}
.preview_container{
	position:relative;
}
.preview_closed .preview_group {
	display:none;
}
.preview_close_expand {
	position:absolute;
	width: 40px;
	height: 40px;
	background-color:#e3c001;
	top: -40px;
	right: 0;
}

#templates.small_template .template{
	width: auto;
	height: auto;
	display:inline-block; 
	padding: 8px 12px 8px 30px; 
	margin-bottom: 0px;
	background: #6f005b; 
	border-radius: 3px; 
	font-size: 12px;
	text-align: center;
	margin-left: 5px;
	margin-right: 5px;
	position:relative;
}

#templates.small_template .template:hover {
	background: #000a3d;
}
#templates.small_template .template h4 {
	color: #FFF;
	font-size: 1.1em;
	display: inline-block;
	width: auto;
}
#templates.small_template .create{
	display:inline-block;
}
#templates.small_template span.icon_create{
	display:inline-block;
    background: url(/National_Library/oe_/https://builder.adunity.com/images/new_icon.png) center center no-repeat;
	width: 30px;
	position: absolute;
	left: 1px;
	top: 0px;
	bottom: 0px;
	background-size: 50%;
}
#templates.small_template .template em{
	display: block;
	position:relative;
	z-index: initial;
	opacity: initial;
	transition:initial;
}
.agency_bar #templates.small_template > ul > li > ul .template em{
	font-size:0.8em;
}
.demo_list{
	position: fixed;
	top: 50px;
	right: 0px;
	width: 50px;
	height: 30px;
    background: url(/National_Library/oe_/https://builder.adunity.com/images/menu_icon_2.png) right center no-repeat;
	background-color:#000a3d;
	color: #FFF;
	padding-right: 30px;
	line-height: 30px;
}

#demos {
	position: fixed;
	right: -260px;
	top: 51px;
	bottom: 0px;
	z-index: 1000;
	display: none;
	width: 260px;
	background-color: #FFF;
	padding: 0 5px;
	border: 1px solid #d1d1d1;
	box-shadow: -5px 0px 5px 0px rgba(0,10,61,0.33);
}
#menu_mask{
	position:absolute;
	top: -50px;
	right: 0px;
	height: 50px;
	left: 261px;
	background-color: #000a3d;
	color:#FFF;
	font-size:16px;
	line-height:50px;
	text-align:center;
	text-indent: -250px;
}
.demos_title{
	text-align:center;
	color: #6f005b;
}
.demos_title b{
	line-height: 30px;
	font-size:15px;
}

#demos_container{
    position: relative;
    overflow: auto;
	height: 100%;
}
#demos_container .projects.subagency{
	padding: 0 10px;
	width: auto;
}
#demos_container .projects.subagency:hover{
	background: none;
}

#demos_container .projects .ad .actions{
	bottom:0px;
}
#demos_container .projects .ad{
	cursor: initial;
}

#demos_container .projects .empty_ad {
	padding: 5px 10px;
    min-height: 40px;
	height:auto;
}
#demos_container .projects em{
	display:none;
	opacity: 0;
	transition:none;
}

.agency_bar #templates.small_template .template{
	font-size: 12px;
	margin-bottom: 0px;
	padding: 2px 6px 2px 20px;
	font-weight: normal;
	margin-left: 0px;
	margin-right: 0px;
}
.agency_bar #templates.small_template .template h4{
	font-size: 12px;
	font-weight: normal;
	padding-bottom: 1px;
}
.agency_bar #templates, .subagency .day_ads_container #templates{
	position:absolute;
	left:40%;
	display: inline-block;
	top:12px;
	margin: 0;
	width: 550px;
	padding: 0;
	padding-left: 10px;
	background-color: transparent;
}
.agency_bar #templates.small_template span.icon_create{
	width: 16px;
	height: 16px;
	background-size: 100%;
	top: 2px;
}

.help_tooltip{
	height: 16px;
	width: 95%;
	overflow:hidden;
	text-overflow: ellipsis;
	font-size: 10px;
	white-space: nowrap;
	cursor:pointer;
}
.prop_title{
	font-weight: normal;
}
.duplicate_to{
	display: inline-block;
	position: relative;
}
.duplicate_to:hover .duplicate_menu{
	display: block;
}
.duplicate_menu {
	position:absolute;
	display: none;
	top: 80%;
	left: 0;
	padding: 0;
	margin: 0;
	list-style-type: none;
	min-width: 100px;
}
	.duplicate_menu > li {
		padding: 5px 10px;
		background-color: #293548;
		color: #FFF;
		cursor: pointer;
		white-space:nowrap;
		position: relative;
	}
		.duplicate_menu > li:hover {
			background-color: #e3c001;
			color: #000;
		}
		.duplicate_menu > li:hover .duplicate_submenu{
			display: block;
		}
.duplicate_submenu{
	position: absolute;
	display: none;
	top: 0;
	left: 95%;
	padding: 0;
	margin: 0;
	list-style-type: none;
	min-width: 100px;
}
	.duplicate_submenu > li {
		padding: 5px 10px;
		background-color: #293548;
		color: #FFF;
		cursor: pointer;
		white-space:nowrap;
	}
		.duplicate_submenu > li:hover {
			background-color: #e3c001;
			color: #000;
		}

#topbar h1 span.project_name{
	color: #FFF;
}
.subagency_group{
	margin-bottom:5px;
	padding-bottom: 5px;
	border-bottom: 1px solid #C5C7D2;
}
.subagency_group .action{
	font-weight: normal;
	position: relative;
}
.subagency_group .action.loading{
	background-image: none;
}
.subagency_group .action.loading::after{
	content: " ";
	display: inline-block;
	position: absolute;
	width: 20px;
	height: 20px;
	background: url(/National_Library/oe_/https://builder.adunity.com/images/loading.gif) center center no-repeat;
	right: -22px;
}

.subagency_group ul.projects.loading{
	opacity: 0.3;
	background: url(/National_Library/oe_/https://builder.adunity.com/images/loading.gif) center center no-repeat;
}
.total_ads{
	font-size: 13px;
}

.subagency {
	padding-top: 150px;
}
.subagency #templates{
	position: fixed;
	top: 51px;
	z-index:999;
	background-color: #e8e8e8;
}
.subagency #topbar{
	position:fixed;
	top: 0;
	z-index:999;
}
.subagency #templates{
	margin: 0 auto;
	padding: 10px 0;
}
.subagency #center{
	padding-top: 0px;
	height: calc(100% - 151px);
}

.main_agency{
	padding-top: 100px;
}
.main_agency #topbar{
	position:fixed;
	top: 0;
	z-index:999;
}
.main_agency #templates{
	margin: 0 auto;
	padding: 10px 0;
}
.main_agency #center{
	padding-top: 0px;
	height: calc(100% - 101px);
}
.main_agency #quick_search_bar {
	top: 53px;
}

.slide_mimimiser{
	background: url(/National_Library/oe_/https://builder.adunity.com/images/arrow_left.png) center center no-repeat;
	position: absolute;
	left: 2px;
	top: 2px;
	height: 20px;
	width: 20px;
	cursor: pointer;
	opacity: 0.75;
	border-radius: 3px;
}
.minimised .slide_mimimiser{
	background: url(/National_Library/oe_/https://builder.adunity.com/images/arrow_right.png) center center no-repeat;
	position: absolute;
	right: 2px;
	top: 10px;
	height: 24px;
	width: 24px;
	cursor: pointer;
}
#split-left-main.minimised{width: 50px; overflow: hidden;}
#split-left-main.minimised .container-main{opacity: 0.3}

.check_preview_window{
	position: absolute;
	right: 30px;
	top: 1px;
	z-index:9;
}
/*right*/
.right_tab_container{
	display:block;
	border-bottom: solid 2px #000a3d;
	padding-top: 2px;
}
.right_tab_container .right_tab{
	display: inline-block;
	height:22px;
	cursor: pointer;
	padding: 0 10px;
}
.right_tab_container .right_tab.selected{
	background-color:#000a3d;
	color:#fff;
}

.right_tab_container .right_tab h2{
	border-bottom:none;
}
.right_tab_content {
	display: none;
	height: 100%;
}
/* center */
.center_tab_container{
	display:block;
	border-bottom: solid 2px #000a3d;
	padding-top: 2px;
}
.center_tab_container .center_tab{
	display: inline-block;
	height:22px;
	cursor: pointer;
	padding: 0 10px;
	position: relative;
}
.center_tab_container .center_tab.selected{
	background-color:#000a3d;
	color:#fff;
}
.center_tab_container .center_tab h2{
	border-bottom:none;
}
.center_tab_container .center_tab_small h2{
	padding-right: 10px;
}
/*
.center_tab_container .center_tab .editor_close {
	background:url(/National_Library/oe_/https://builder.adunity.com/images/ac_delete_selected.png) transparent no-repeat center center;
	width: 10px;
	height: 10px;
	position: absolute;
	right: 4px;
	top: 9px;
}
*/
.center_tab_container .center_tab .editor_close {
  position: absolute;
  right: 4px;
  top: 9px;
  width: 10px;
  height: 10px;
  opacity: 0.7;
}
.center_tab_container .center_tab .editor_close:hover {
  opacity: 1;
}
.center_tab_container .center_tab .editor_close:before, .center_tab_container .center_tab .editor_close:after {
  position: absolute;
  left: 5px;
  content: ' ';
  height: 10px;
  width: 2px;
  background-color: #FFF;
}
.center_tab_container .center_tab .editor_close:before {
  transform: rotate(45deg);
}
.center_tab_container .center_tab .editor_close:after {
  transform: rotate(-45deg);
}


.center_tab_content {
	display: none;
	height: 100%;
}
.center_tab_small h2{
	text-transform: initial;
}
.center_tab_content .editor{
	position: absolute;
	bottom: 25px;
	top: 42px;
	left: 0px;
	right: 2px;
}
.center_tab_content .editor .CodeMirror{
	height: calc(100% - 5px);
}
.center_tab_content .editor_help {
	padding: 0;
	position: absolute;
	bottom: 8px;
	height: 20px;
	left: 1px;
	right: 1px;
}

#iframe_live_preview{
	width: 330%;
	height: 320%;
    transform: scale(0.3);
	transform-origin: 0 0;
	padding-top: 20px;
	z-index: 10;
}
#iframe_live_preview.medium_ad{
	width: 250%;
	height: 240%;
    transform: scale(0.4);
	transform-origin: 0 0;
}
#iframe_live_preview.medium_ad.native_post{
	width: 187%;
	height: 200%;
    transform: scale(0.6);
	transform-origin: 0 0;
	margin-left:-4.5%;
	margin-top:0%;
}
#iframe_live_preview.medium_ad.native_card{
	width: 167%;
	height: 250%;
    transform: scale(0.66);
	transform-origin: 0 0;
	margin-left:-4.5%;
	margin-top:0%;
}

#iframe_live_preview.medium_ad.native_widget{
	width: 240%;
	height: 160%;
    transform: scale(0.7);
	transform-origin: 0 0;
	margin-top:0;
	margin-left:-63%;
}

#iframe_live_preview.small_ad{
	width: 175%;
	height: 170%;
    transform: scale(0.571);
}
#iframe_live_preview.mobile_ad{
	width: 100%;
	height: 100%;
    transform: scale(1);
	transform-origin: 0 0;
}
.right_tab_live_preview{
	overflow: hidden;
	position: relative;
}

#quick_search_bar{
	cursor: pointer;
	position:fixed;
	padding: 6px 12px;
	color: #FFF;
	background-color: #008fff;
    border-color: #000a3d;
	border-style:solid;
	border-width:1px;
	border-radius: 6px;
	z-index:10001;
	width: 310px;
	left: 10px;
	top: 103px;
	font-size:15px;
}
#quick_search_bar label, #quick_search_bar b {
	cursor: pointer;
}
#quick_search_bar input {
	width:200px;
	padding: 5px 5px;
	color: #000a3d;
}
#quick_search_bar input.searching{
	background:url(/National_Library/oe_/https://builder.adunity.com/images/loading.gif) #f8f5f0 no-repeat right center;
}

.day_ads_container{
	margin: 0px 0px 15px 0px;
	border: 1px solid #000a3d;
	padding-left: 5px;
	padding-right: 3px;
	box-sizing:padding-box;
}

#next_page_loading{
	position: fixed;
	width: 20px;
	height: 20px;
	left: 50%;
	margin-left: -10px;
	bottom: 1px;
	background:url(/National_Library/oe_/https://builder.adunity.com/images/loading.gif) transparent no-repeat center center;
	display: none;
}
.day_ads_container.agency_bar{
	width: calc(100% - 43px);
	padding: 7px 10px 2px 30px;
	height: 38px;
	z-index:9;
}
.template_code .format{
	display: none;
}

.right_tab_live_preview .mobile-button2{ position: absolute; right: 0; top: 1px; z-index: 11; margin-right: 0; color: #000;font-size: 13px;}
.mobile-button2{margin-right:20px; background:#E3C001; border:none; float:right; cursor:pointer; border-radius: 5px; padding: 10px;color: #000;}
.mobile-button2:hover {background:#000a3d; color:#FFF;}

.cm-aukeyword {cursor: pointer;color: #6f005b; font-weight:bold;}
.CodeMirror {border: 1px solid #cc9999;}


.homepage #topbar {min-height: 50px; height:auto;}
.homepage #topbar h2 {color:#FFF; margin-left:120px; font-weight: normal;font-size:14px;}
.homepage #center {padding-top: 100px; height:calc(100% - 100px);}

#topbar .logo .top_title {display: block; color: #CCC; font-size: 12px;}
#topbar .logo .top_subtitle {display: block; color: #FFF;}
#topbar .submenu{position: absolute; right:0px; bottom: 1px;}
#topbar .submenu a {background-color: #008fff; border-radius: 2px; font-size: 12px; color: #fff; padding: 0px 5px; display: inline-block;}
#topbar .submenu a:hover {background-color: #e3c001; color: #000;}
.new {position: absolute; top: 0px; right: 0px; font-size: 10px; background-color: #cc0000; border-radius: 2px; font-style: normal; line-height: 1; padding: 1px; font-family: 'Segoe UI';color:#FFF;}
.agency_bar .new {font-size:5px;}


#templates.small_template > ul {
	left: 0;
	padding: 0;
	margin: 0;
	list-style-type: none;
	display: block;
	position:relative;
}
#templates.small_template > ul > li{
	position: relative;
	display: inline-block;
	padding: 8px 12px;
	background-color:#6f005b;
	font-size:16px;
	color: #FFF;
	cursor: pointer;
}
#templates.small_template > ul > li:hover{
	padding-bottom:10px;
}
#templates.small_template > ul > li.demolist:hover{
	padding-bottom:8px;
	background: #000a3d;
}
#templates.small_template > ul > li:hover > ul{
	display: block;
}

#templates.small_template > ul > li > ul{
	position:absolute;
	top: 38px;
	left: -5px;
	padding: 0;
	margin: 0;
	list-style-type: none;
	display: none;
	min-width: 330px;
}
#templates.small_template > ul > li > ul > li {
	display: block;
	text-align:left;
}
#templates.small_template > ul > li > ul > li div.template{
	display: block;
	border-radius:0;
	text-align: left;
	font-size: 12px;
}
#templates.small_template > ul > li > ul > li div.template .new {
	top: 2px;
	right: 2px;
}

.agency_bar #templates.small_template > ul > li{
	padding: 5px 10px;
	font-size:12px;
}
.agency_bar #templates.small_template > ul > li:hover{
	padding-bottom:7px;
}
.agency_bar #templates.small_template > ul > li > ul{
	top:27px;
	min-width:280px;
	left: 0;
}

.agency_bar #templates.small_template > ul > li.demolist:hover{
	padding-bottom:5px;
}
/*
.agency_bar #templates > ul > li:nth-child(2) > ul{
	left:-70px;
}
.agency_bar #templates > ul > li:nth-child(3) > ul{
	left:unset;
	right: 0;
}
*/
.agency_bar #templates.small_template span.icon_create{
	background-size:70%;
}

/* arrows css*/
.arrow {
	position:absolute;
	width: 20px;
	height: 20px;
	display: inline-block;
	margin: 5px 5px;
	transform: scale(0.7,1.2);
	top: 10px;
	right: 0px;
}
.arrow:before, .arrow:after {
	content: '';
	border-color: transparent;
	border-style: solid;
	position: absolute;
}
/*.arrow-down:before {
	border: none;
	background-color: #FFF;
	height: 50%;
	width: 30%;
	top: 0;
	left: 35%;
}*/

.arrow-down:after {
	left: 0;
	top: 0;
	border-width: 10px 10px;
	border-top-color: #FFF;
}

.agency_bar .arrow{
	transform: scale(0.4,0.9) translateY(-7px) translateX(6px);
}

.tag #topbar h1 strong{top: 13px;}
.tag.subagency{padding-top:100px;}

/* footer */
.text-center {text-align: center;}

.row {
    margin-left: 0px;
    margin-right: 0px;
}
footer { color: #fff; overflow: hidden;font-size: 15px;}
	footer h3 { margin-bottom: 30px; }
	footer .footer-above { padding-top: 50px; background-color: #2c3e50; }
	footer .footer-col { margin-bottom: 50px; }
	footer .footer-below { padding: 10px 0; background-color: #233140; }

.footer-below .row {
    padding-bottom: 5px;
}
.footer-below a {
    color: #fff;
}
.footer-below a:hover{
	text-decoration:underline;
}
.footer_links {
    margin-left: 10px;
    margin-right: 10px;
}

#split-left-main .error{color: #F00;}
#split-left-main .buttons .mobile-button2 {margin-left: 10px; margin-right:0px; min-width:75px; text-align: center; padding: 4px;}
#split-left-main .buttons {position: absolute; right: 2px; top: 10px; z-index: 999;}
#split-left-main .buttons:after{
	content: " ";
	display: inline-block;
	clear:both;
}
#split-left-main .buttons .mobile-button2.btn_back {
	padding-left: 25px;
	position: relative;
	min-width:55px;
}
	#split-left-main .buttons .mobile-button2.btn_gray:hover {
		background-color: #e3c001;
		color: #000;
	}

	#split-left-main .buttons .mobile-button2.btn_gray {
		background-color:#919191;
		color: #FFF;
	}

@media screen and (max-width: 640px) {
	.homepage html, body{overflow: initial;}
	.homepage #main{min-width: initial; overflow: auto;}
	.homepage #topbar{position: relative;}
	.homepage #topbar h2{
		margin: 0;
		padding: 6px;
		font-size:13px;
	}
	.homepage #topbar h1 i{font-size: 16px;height: 30px}
	.homepage #topbar h1 strong{position: relative; margin-bottom: 10px; margin-top:-5px; font-size: 16px;}
	.homepage #topbar h1 em{left: 150px;}

	.homepage #topbar .menu {position:absolute;}
	.homepage #center{padding-top: 0; height: 100%; overflow:visible;}


	.homepage #templates {width: 98.5%; zoom: 0.6; margin:auto 5px;}
	.homepage .template {width: 100%; max-width: 600px; margin: 0;}
	.homepage .preview_container{width: 100%; max-width: 600px;}
	.homepage #topbar .logo{padding-top: 40px;}
	.homepage .template div.ad_demo a{font-size:18px;}
	.homepage .template div.ad_demo a.action{font-size:18px;}
	.homepage .preview_switch a{font-size:18px;}

	.homepage .preview_desktop{display: none;}
	.homepage .preview_mobile{display: block;}

	.homepage .mobile_container iframe {
		transform: scale(0.50);
		transform-origin: top left;
		width: 200%;
		height: 200%;
	}
	.homepage .html5_branding {display: none;}
}