
/* ===================================================================
	Django admin override styles
----------------------------------------------------------------------*/

body {
	padding-top: 105px;
}

body.login {
	background: #fff;
}

/* ===================================================================
 	Typography
----------------------------------------------------------------------*/

/* Din Regular*/
@font-face {
	font-family: DinRegular;
	src: url('/static/fonts/DINWeb-Regular.eot');
}

@font-face {
	font-family: DinRegular;
	src: url('/static/fonts/DINWeb-Regular.woff') format('woff');
}

/* Din Medium*/
@font-face {
	font-family: DinMedium;
	src: url('/static/fonts/DINWeb-Medium.eot');
}

@font-face {
	font-family: DinMedium;
	src: url('/static/fonts/DINWeb-Medium.woff') format('woff');
}

/* Din Bold */
@font-face {
	font-family: DinBold;
	src: url('/static/fonts/DINWeb-Bold.eot');
}

@font-face {
	font-family: DinBold;
	src: url('/static/fonts/DINWeb-Bold.woff') format('woff');
}

/* Din Black */
@font-face {
	font-family: DinBlack;
	src: url('/static/fonts/DINWeb-Black.eot');
}

@font-face {
	font-family: DinBlack;
	src: url('/static/fonts/DINWeb-Black.woff') format('woff');
}


html{
	-webkit-text-size-adjust: none;
}

body{
	color: #4d4d4f;
	font: 14px/1.2 'DinRegular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

input, textarea, select, .form-row p {
	font-family: inherit;
}


/* =================================================
 	Generic font selectors
--------------------------------------------------*/

h1 {
	margin-bottom: 9px;
}

#content h1 {
	margin-bottom: 1.3em;
}


h3 {
	font-size: 17px;
	font-weight: bold;
    margin-bottom: 0.8em;
    font-family: 'DinMedium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

p {
	margin-top: 0;
	line-height: normal;
}

a, a:link, a:visited {
	color: #008e9d;
}


/* =================================================
 	Font size adjustments
--------------------------------------------------*/


div.breadcrumbs, form .form-row, form .form-row p,
input, textarea, select, .form-row p {
	font-size: 12px;
}

.login .form-row label,
#content .normal li, 
.aligned label,
#content #recent-actions-module,
#content-related .module h2{
	font-size: 13px;
	font-family: 'DinMedium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.login #content p, #content ul.medium li {
	font-size: 14px;
	font-family: 'DinMedium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


#content,
#clientContent,
#clientContent p,
#clientContent ul li {
	font-size: 15px;
}

/* ===================================================================
	General layout styles
----------------------------------------------------------------------*/

.container {
	position: relative;
}

.container,
#container {
	padding: 0 0px;
	min-width: 538px;
	width: 940px;
	max-width: 1170px;
	margin: 0 auto;
}

#header {
	background: #fff;
	color: #87888a;
	border-bottom: none;
	overflow: visible;
}

#header a, #header a:link, #header a:visited {
	/*color: #e7428f;*/
	color: #008E9D;
}

#header .client-logo-area {
	position: absolute;
	right: 0px;
	top: 9px;
	height: 84px;
	display: table;
}

#header .client-logo-area div {
	line-height: 84px;
	display: table-cell;

}

#header .client-logo-area img {
	max-height: 84px;
    display:inline-block;
    vertical-align:middle;
}

#clientAdmin .client-logo {
	padding-right: 0px;
}

#branding h2.headlineTag {
	position: absolute;
	left: 200px;
	top: 40px;
	color: #000;
	font-family: 'DinBold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 20px
}

#branding h2.headlineTag span {
	font-size: 26px;
}

div.breadcrumbs {
	top: 105px;
	width: auto;
	padding: 5px 0;
	border-bottom: 0;
	margin: 0 0 0px;
	background: #fff;
	z-index: 999;
}

#header #branding {
	border-bottom: 5px solid #818285;
	position: relative;
	height: 130px;
	width: 100%;

}

#branding h1 {
	color: #e7428f;
	text-indent: -99em;
	height: 72px;
	width: 176px;
	padding: 0;
	margin: 20px 0;
	background: url(/static/images/da-logo.png) no-repeat;
}

#user-tools {
	min-width: 160px;
	top: 100px;
	right: 0px;
	padding: 0;
	position: absolute;
}

#user-tools  ul, #user-tools ul li {
	margin: 0;
	padding: 0;
	font-size: 14px;
	list-style-type: none;
}

#user-tools ul {
	background: #fff;
}

#user-tools li a{
	padding: 8px 20px;
	display: block;
	text-align: left;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

#user-tools li.username > a {
	text-align: right;
	background: #818285;
	border-radius: 5px 5px 0 0;
	color: #fff;
	border: none;
}

#user-tools li.username > a:hover {
	background: #00A3B2;
}

#user-tools li.username li {
	display: none;
}

#user-tools li:hover ul li {
	display: block;
}

#user-tools li a.last {
	border-bottom: 1px solid #ccc;
}

#user-tools li a:hover {
	background: #f4f4f4;
	text-decoration: none;
}

#user-tools .icon {
	margin-left: 10px;
}

#clientAdmin #content {
	width: auto;
	margin: 135px 0px 20px 0;
    padding-top: 35px;
}

.object-tools li {
	background: url(/static/admin/img/tool-left-blue.gif) 0 0 no-repeat;
}

.object-tools a:link, .object-tools a:visited{
	background: #2e96ab url(/static/admin/img/tool-right-blue.gif) 100% 0 no-repeat;
}

.object-tools a.addlink {
	background: #2e96ab url(/static/admin/img/tooltag-add-blue.gif) top right no-repeat;
}

.object-tools a:link {
	height: 15px;
}

.errornote,
ul.errorlist li,
ul.messagelist li {
	font-size: 14px;
	padding: 10px 5px 10px 25px;
	vertical-align: middle;
	background-position: 5px center;
}
.errornote {
	color: #A80000;
}

ul.errorlist li,
.errornote,
.errors input, .errors select, .errors textarea {
	border-color: #A80000;
	border-style: dashed;
}

ul.messagelist li {
	background-color: #FFFFA8;
}

ul.errorlist li {
	background-color: #A80000;
}


#footer {
	border-top: 1px solid #f4f4f4;
	padding: 10px 0;
	font-size: 12px;
}

#content-related .module h2 {
	background: #00A1B3;
	color: #FFF;
	padding: 6px 9px;
}

ul.actionlist li {
	list-style-type: none;
	padding: 6px 0;
	border-bottom: 1px solid #F4F4F4;
}

ul.actionlist li:last-child {
	border-bottom: none;
}

ul.actionlist li.changelink {
	background: none;
}

#changelist .actions .button {
	padding: 3px 9px 2px;
}

/* ===================================================================
	Login styles
----------------------------------------------------------------------*/

#clientAdmin.login #branding h1 {
	background: #fff;
}

#clientAdmin.login #branding {
	border: none;
}

#clientAdmin.login form {
	background: url(/static/images/da-logo.png) no-repeat top left;
	padding: 90px 0 0;
	margin: 0;
}

#clientAdmin.login input[type=text], 
#clientAdmin.login input[type=password], 
#clientAdmin.login textarea, #clientAdmin.login select, #clientAdmin.login .vTextField {
	border: 1px solid #CCC;
	padding: 4px 5px;
}

#clientAdmin.login .submit-row {
	padding: 0;
}

#clientAdmin.login form h2{
	font-size: 22px;
	margin: 0 0 20px;
	padding: 0 0 10px;
	border-bottom: 1px solid #CCC;
}

#clientAdmin.login p {
	margin: 0;
}

#clientAdmin.login p.errornote {
	margin: 0 0 20px;
	font-weight: 300;
	font-size: 13px!important;
	padding: 17px;
	border-radius: 8px; 
	border: 1px solid #D6A7A7;
	background: #FCE4E4;
	color: #AA3434;
	line-height: 17px;
}

#clientAdmin.login #container {
	padding: 20px;
}

#clientAdmin.login #content {
	margin: 10px 0px 0px 0!important;
}

#clientAdmin.login #footer {
	padding: 0;
}

#clientAdmin.login #header h2 {
	display: none;
}

/* ===================================================================
	form layout styles
----------------------------------------------------------------------*/

form fieldset.module.aligned {
	border: none;
}

.button.default, input[type="submit"].default, .submit-row input.default {
	border: 1px solid #2e96ab;
	background: #2e96ab;
}

.button.default:hover, input[type="submit"].default:hover, .submit-row input.default:hover {
	background: #000;
	border-color: #000;
	color: #fff;
}

input, textarea {
	outline:none;
	transition: all 0.25s ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
}

textarea:focus,
input:focus {
	box-shadow: 0 0 5px rgba(50, 196, 226, 1); 
	-webkit-box-shadow: 0 0 5px rgba(50, 196, 226, 1); 
	-moz-box-shadow: 0 0 5px rgba(50, 196, 226, 1); 
}

.form-row.field-radio ul li{
	list-style-type: none;
}

.form-row.colour-row {
	overflow: visible !important;
}

#clientbranding_form .form-row label {
	width: 170px;
}

#clientbranding_form p.file-upload {
	margin-left: 180px;
	padding-left: 0;
}

.lt-ie10 #clientbranding_form .file-upload input[type="file"] {
	width: 150px;
}

/* ===================================================================
	Home layout styles
----------------------------------------------------------------------*/

#clientAdmin.dashboard #content #content-related {
	margin-top: 0px;
	right: -15px;
	top: 45px;
}

#content-related {

}

.homeNav {
	list-style-type: none;
	padding: 0;
	margin: 20px 0 0 30px;
}

.homeNav li{
	font-size: 14px;
	margin-bottom: 10px;
}

.homeNav li a.changelink {
	padding-left: 0;
	padding-right: 20px;
	background-position: center right;
}

#clientContent  {
	min-height: 400px;
	padding-top: 15px;
}

#clientContent ul {
	margin-left: 20px;
}

#clientAdmin.dashboard #content .client-branding-logo {
	margin-bottom: 30px;
}

#clientAdmin.dashboard #content .client-branding-logo h2 {
	margin: 0px 0 0px;
	font-size: 19px;
}

#clientAdmin.dashboard #content .client-branding-logo div {
    display:inline-block;
    vertical-align:middle;
}

/* ===================================================================
	File list browser
----------------------------------------------------------------------*/

.fileBrowser {
	list-style-type: none;
	padding: 8px 0;
	margin: 0;
}

.fileContainer > .fileBrowser {
	border-left: none;
	padding-left: 0px; 
}

.fileContainer > .fileBrowser .icon-folder-close{
	display: none;
}

.fileBrowser .collapsed ul.fileBrowser > li {
	display: none;
}

.fileBrowser .collapsed .icon-folder-close{
	display: inherit;
}

.fileBrowser .collapsed .icon-folder-open{
	display: none;
}

ul.fileBrowser > li {
	list-style: none;
	font-size: 14px;
	padding: 6px 0 6px 28px;
	
}

ul.fileBrowser > li {
	border-left:  1px dotted #ccc;
}

/* ===================================================================
	Button styles
----------------------------------------------------------------------*/
.button, .button:visited, .button:active, .button:link{
	font-family: 'DinMedium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #FFF;
	border-radius: 5px 5px 5px 5px;
	box-shadow: none;
	border: none;
	filter: none;
	text-shadow: none;
	background: #EE4C9B;
	padding: 5px 8px;
	line-height: 1;
	color: #FFF;
}

.button:hover {
	background: #000;
}

.submit-row input {
	padding: 6px 5px 4px;
	border-radius: 5px 5px 5px 5px;
}

.submit-row input:hover {
	cursor: pointer;
}

/* ===================================================================
	Data filter styles
----------------------------------------------------------------------*/
#changelist.module.filtered {
	font: 14px/1.2 'DinRegular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#changelist.module.filtered #changelist-filter h2 {
	background: #008E9D;
	padding: 9px 5px 6px 10px;
}

#changelist-filter li.selected a {
	color: #008E9D !important;
}

#changelist.module.filtered.collapsed {
	background-image: none!important;
}


/* ===================================================================
	Client login portal backgrounds
----------------------------------------------------------------------*/
body#clientAdmin {
	padding-top: 0;
	background: #fff url(../../../static/images/client-login-background--white.jpg) top center no-repeat;
	background-size: initial;
}

body#clientAdmin.login {
	background: #fff url(../../../static/images/client-login-background.jpg) top center no-repeat;
	background-size: cover;
}

body#clientAdmin.login 	#header {
	display: none;
}

@media screen and (max-width: 1550px){
	body#clientAdmin {
		padding-top: 0;
	}

	body#clientAdmin.login {
		background-size: initial;
	}
}


#clientAdmin #header {
	background: transparent;
}

#clientAdmin #header .container {
	background: #fff;
	padding: 1px 20px 0 20px;
	height: 136px;
}

#clientAdmin #header #branding {
	background: #fff;
}

#clientAdmin #container {
	background: #fff;
    padding: 0 20px 20px 20px;
}


@media screen and (max-width: 800px){
	body#clientAdmin.login,
	body#clientAdmin {
		background: #fff;
	}

}


/* ===================================================================
	Responsive layout styles
----------------------------------------------------------------------*/

@media (max-width: 767px) {
	body {
		padding-left: 20px;
		padding-right: 20px;
	}
	.container,
	#container {
		width: auto;
	}
}
@media (min-width: 768px) and (max-width: 979px) {
	.container,
	#container {
	width: 724px;
	}
}
@media (min-width: 1200px) {
	.container,
	#container{ 
		width: 1170px;
	}
}