/* FRONTEND CSS
*********************************************/

html {
	/* scrollbar fix (prevent ugly left pull for lower content sites) */
	overflow-y: scroll;
}

body {background-color: #E2E2E2 !important; color:#333; font-family: arial,sans-serif; height:100%;}

/** From Bootstrap **/

input[type="text"],
input[type="password"],
input[type="search"],
input[type="email"] {
  display: block;
  width: 100%;
  height: 30px;
  padding: 6px 12px;
  font-size: 14px;
  /* line-height: 1.42857143; */
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="email"]:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}


/** For level 2 bootstrap menu items - thanks to http://stackoverflow.com/questions/18023493/bootstrap-3-dropdown-sub-menu-missing **/

.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:100%;
    margin-top:-6px;
    margin-left:-1px;
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
    display:block;
}
.dropdown-submenu>a:after {
    display:block;
    content:" ";
    float:right;
    width:0;
    height:0;
    border-color:transparent;
    border-style:solid;
    border-width:5px 0 5px 5px;
    border-left-color:#cccccc;
    margin-top:5px;
    margin-right:-10px;
}
.dropdown-submenu:hover>a:after {
    border-left-color:#ffffff;
}
.dropdown-submenu.pull-left {
    float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}

/** Finishes **/


/** Over writes **/

a {
	color:#283d70;
}
a:hover {
	color:#1f2f57;
	text-decoration:none;
}

.btn-sm.download {
	background-color:#283d70;
	border-color:#283d70;
	color:#fff;
}

.btn-sm.info {
	background-color:#ffffff;
	border-color:#adadad;
	color:#333;
}

.btn-sm.info:hover {
	background-color:#e6e6e6;
	border-color:#adadad;
	color:#333;
}

.btn-sm.download:hover {
	background-color:#1f2f57;
	border-color:#1f2f57;
	color:#fff;
}


/** OVER WRITE JOOMLA ICONS to BOOTSTRAP 3 GLYPHICONS **/


[class^="icon-"], [class*=" icon-"] {
	position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-calendar:before {
    content: "\e109";
}

.icon-joomla:before {
	content: "\e200";
}
.icon-chevron-up:before,
.icon-uparrow:before,
.icon-arrow-up:before {
	content: "\e005";
}
.icon-chevron-right:before,
.icon-rightarrow:before,
.icon-arrow-right:before {
	/*content: "\e006"; */
	content: "\e080";
}
.icon-chevron-down:before,
.icon-downarrow:before,
.icon-arrow-down:before {
	content: "\e007";
}
.icon-chevron-left:before,
.icon-leftarrow:before,
.icon-arrow-left:before {
	content: "\e008";
}

span.icon-apply:before, span.icon-edit:before, span.icon-pencil:before {
	content: "\e065";
	margin-right:5px;
}

span.icon-options:before, span.icon-cog:before {
	content: "\e019";
	margin-top:2px;
	margin-right:5px;
}

span.icon-ok:before {
	content: "\e013";
	margin-right:5px;
}

span.icon-cancel:before {
	content:"\e014";
	margin-right:5px;
}

.icon-arrow-down:before {
	content: "\e114";
	margin-right:5px;
}

.icon-picture:before {
	content: "\e060";
	margin-right:5px;
}

.icon-file-add:before {
	content: "\e022";
	margin-right:5px;
}

.icon-search:before {
	content:"\e003";
}

.icon-remove:before {
	content:"\e014";
}


img {
	padding:5px;
}

a {
	/*color:#1f2f57;*/
}

a:hover {
	text-decoration:none;
}

/** Core HTML Styling **/

fieldset {
	border:0;
}

.user-logout.btn-primary {
	background-color: #283d70;
	border-color: #283d70;
	border-radius:4px;
	font-size:12px;
}

.user-logout.btn-default {
	background-color: #ffffff;
  border-color: #adadad;
  color: #333;
	border-radius:4px;
	font-size:12px;
}

.user-logout.btn-default:hover {
	background-color: #e6e6e6;
border-color: #adadad;
color: #333;
}

.user-logout.btn-primary:hover {
	background-color: #1f2f57;
    border-color: #1f2f57;
}


/** LAYOUT **/

.container {
    background-color:#ffffff;
    margin-top:10px;
    padding-bottom:20px;
    border-radius: 5px;
	margin-bottom:20px;
}

.logo {
  height:100px;
}

.login_top {
  height:100px;
	margin-left:10px;
}

.login {
/*	float:left; */
}

/** Logout and Change password buttons and styling - top right corner when logged in **/

.login-greeting {
	width:100%;
	display:block !important;
	padding-top:20px;
	text-align:left;
	padding-left:15px;
}

.logout-button {
	width:100%;
	display:block !important;
	padding-left:15px;
}

.user-logout {
	padding-top:5px !important;
	padding-bottom:5px !important;
	padding-left:7px !important;
	padding-right:7px !important;

}



/** OVER WRITE JOOMLA ARTICLE EDIT/ADD - Not displaying other icons next to 'readmore' **/

.btn-toolbar a.modal-button.btn {
    display:none !important;
}



/** ends **/

#menu {
  background-color:#0f284d;
  margin-top:10px;
  margin-bottom:10px;
  border-top-left-radius:5px;
  border-top-right-radius:5px;
  border-bottom:1px solid #fff;
}

#menu2 {
	background-color:#0f284d;
    margin-bottom:10px;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
}

.breadcrumb {
	margin-bottom:5px;
	border-bottom-right-radius:0px !important;
	border-bottom-left-radius:0px !important;
	border-top-left-radius:5px !important;
	border-top-right-radius:5px !important;
}

.breadcrumb .divider img {
	display:none;
}

#imageslider {
	margin-bottom:20px;
}

#content {
  border:1px solid #ccc;
  margin-top:10px;
	padding-bottom:15px;
}

#welcome-message {
    border-radius:0 !important;
    margin-top:20px;
}

#content-bottom {
	margin-top:10px;
}

#sidebar-left-1 {
  border:1px solid #ccc;
  padding-bottom:10px;
  margin-top:10px;
  margin-bottom:20px;
}

#sidebar-left-2 {
  border:1px solid #ccc;
  margin-bottom:20px;
}

#sidebar-right-1 {
  float:left;
  width:48%;
  border:1px solid #ccc;
  margin-top:10px;
}

#sidebar-right-2 {
  float:right;
  width:48%;
  border:1px solid #ccc;
  margin-top:10px;
}

#sidebar-right-2 h3,
#sidebar-right-1 h3,
#sidebar-left-1 h3,
#sidebar-left-2 h3 {
  font-size:14px;
  text-align:center;
}


#footer {
    height:50px;
    background-color: #0f284d;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
}

/* Joomla Styling Edits */

/** Joomla MENU edits **/

/** Menu Images Styling **/

.bayleys_menu img,
.eves_menu img {
	width:25px;
	height:25px;
	display:inline;
}

.bayleys_menu .image-title,
.eves_menu .image-title {
	display:inline;
}


/** Bit messy at the moment, IF MENU ITEMS CHANGE  then this code will need to change **/
@media(min-width:992px) {
	.dual_layer li:nth-child(-n+6).dropdown {
		border-bottom:1px solid #fff;
		margin-bottom:5px;
	}

	.dual_layer li:nth-child(1) {
		border-bottom:1px solid #fff;
	}

	.dual_layer li:nth-child(6).dropdown a {
		margin-right:0px !important;
	}
}

@media(min-width:1200px) {
	.dual_layer li:nth-child(-n+8).dropdown {
		border-bottom:1px solid #fff;
		margin-bottom:5px;
	}

	.dual_layer li:nth-child(1) {
		border-bottom:1px solid #fff;
	}

	.dual_layer li:nth-child(8).dropdown a {
		margin-right:0px !important;
	}
}

@media(min-width:1200px){
	.dual_layer li:nth-child(9).dropdown {
		margin-left:200px;
	}
}


ul.nav.menu.phone_list li.active {
	background-color:#efefef;
}



label.finder.search {
  color:#b5b5b5;
  padding-left:2px;
  padding-top:3px;
}

.login {
	margin-top:10px;
}

.login .control-label {
	text-align:left;
	float:left;
}

.login input#remember {
	margin-top:10px;
	margin-left:10px;
}

.login .btn-primary {
	float:right;
	margin-top:10px;
}

.logout {
	margin-top:10px;
}

.login-greeting {
	line-height: 2em;
	display: inline-block;
	margin-right: 5px;
}

.logout-button {
	display:inline;
}

.pagination {
	width:100%;
}

.pagination li {
	display:inline;
	list-style:none;
	margin-right:5px;
}

.pagination li a {
	display:inline;
}

/** Change Password - edit profile styles **/

.profile-edit .control-label {
	text-align:left !important;
}

.profile-edit fieldset {
	margin-bottom:15px;
}

.profile-edit legend {
	margin-bottom:0 !important;
}

/** Joomla Alerts **/

.alert-message,
.alert-notice {
	color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
	margin-top:5px !important;
	margin-bottom:0 !important;
}

.alert-error {
	color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
	margin-top:5px !important;
	margin-bottom:0 !important;
}


/** EVES AND BAYLEYS ACHIEVERS CSS **/

#sidebar-right-1 .achievers img, #sidebar-right-2 .achievers img {
	margin-left:0;
	margin-right:0;
}

#sidebar-right-1 .achievers table,
#sidebar-right-2 .achievers table {
	width:100% !important;
	text-align:center !important;
}

#sidebar-right-1 .achievers table td,
#sidebar-right-2 .achievers table td {
	padding:2px;
	padding-left:5px;
	padding-right:5px;
}

#sidebar-right-1 .achievers p,
#sidebar-right-2 .achievers p {
	padding:0;
	margin:0;
}


.achievers .agent_month,
.achievers .agent_desc {
	font-size:11px;
	color:#333;
	font-weight:bold;
	border-top:0 !important;
}

.achievers .agent_image {
	border-top:0 !important;
}

.achievers .top_salesperson {
	color:rgb(0, 0, 51);
	font-weight:bold;
	font-size:12px;
	padding-top:7px !important;
}

.achievers .top_achievers_text {
	color:rgb(0, 0, 51);
	font-weight:bold;
	font-size:12px;
	padding-top:7px !important;
}

.achievers .achievers_text {
	font-size:10px;
	font-style:italic;
	color:rgb(102, 102, 102);
	border-top:0 !important;
}

.achievers .other_agents {
	font-size:12px !important;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
}

.achievers .other_agents p {
	margin-bottom:5px !important;
}

.achievers .article_anywhere ul {
	margin:0;
	padding:0;
	padding-bottom:5px;
	text-align:center;
}

.achievers .article_anywhere li.edit-icon {
	list-style:none;
}


/** FOR Bulletin Board **/

#content .page-header h1 {
  font-size:14px;
  font-weight:bold;
  color:#b5b5b5;
}

#content .page-header {
  padding:0;
  margin:0;
  border:0;
}

#content h2 {
  font-size:22px;
	display:block;
}


.blog h2 {
	padding:0;
	margin:0;
	border-bottom:1px solid #ccc;
	padding-bottom:3px;
}

.blog p {
	padding-bottom:10px;
}

.blog .items-leading {
	margin-top:20px;
}

.article-info-term {
	display:none;
}

.createdby {
	color:#999;
	font-weight:bold;
	font-size:12px;
	margin-top:7px;
}

.create {
	color:#999;
	font-size:12px;
}

.article-info {
	padding:0;
	margin:0;
	padding-bottom:5px;
}


/** Changes to Joomla Front end content editing **/

#cke_jform_articletext {
	margin-top:10px;
}

#jform_tags { /** Publishing column  "tag" field **/
	height:50px;
}

.edit .nav.nav-tabs {
	margin-top:10px;
}

.edit .btn-toolbar {
	margin-top:10px;
}

/** PHOCA DOWNLOAD USER UPLOAD **/

dl.tabs dt {
	width:100%;
	text-align:center;
}

#phocadownload-upload ul.pagination {
	display:block !important;
	margin:15px !important;
}

dl.tabs {
	margin:0 !important;
}

dl.tabs dt {
	border:  0 !important;
	margin:  0 !important;
	padding: 0 !important;
	background:none !important;
}


.search_main.search {
  margin-top:10px;
}

.result-text {
  display:none;
}

.result-category {
  display:none;
}

.result-created {
    display:none;
}

.search_box_left label.element-invisible {
    display:none;
}

#jevents_body {
    border-radius:0 !important;
    background-color:#fff;
    border:0;
}

.jev_toprow div.previousmonth, .jev_toprow div.nextmonth {
    background-color:#0f284d;
    border-color:#0f284d;
    border-top-left-radius:0;
    border-top-right-radius:0;
    border-bottom-left-radius:0;
    border-bottom-right-radius:0;
}

.jev_toprow div.currentmonth {
    border-color:#0f284d;
}

.nav-items > div {
    border: 1px solid #0f284d;
}

.jev_toprow .jev_header2 > * {
    height:0;
}

.nav-items > div:first-child, .nav-items > div:last-child {
    border-radius:0;
}

.nav-items > div:first-child {
    border-left:1px solid #0f284d;
}

.nav-items > div:last-child {
    border-right:1px solid #0f284d;
}

#jevents_body .nav-items > div a:hover {
    background-color:#fff;
    border-left:1px solid #0f284d;
    padding:7px 12px 5px 12px;
    border-radius:0;
    border-top:1px solid #0f284d;
    border-bottom:1px solid #0f284d;
}

#jevents_body .nav-items div.active a, .jev_header2 .active a {
    background-color:#0f284d;
}

#jevents_body .nav-items div.active a:hover, .jev_header2 .active a:hover {
    border-left:1px solid #0f284d;
}

.nav-items > div a {
    padding:7px 12px 6px 12px;
}

#flatcal_minical {
    margin-top:10px;
    margin-bottom:10px;
}

#flatcal_minical .flatcal_todaycell a {
    background-color:#0f284d !important;
    border:1px solid #0f284d !important;
}

.flatcal_weekdays {
    font-size:14px !important;
}

#flatcal_minical .flatcal_daylink, #flatcal_minical .flatcal_sundaylink, #flatcal_minical .flatcal_busylink {
    font-size:12px !important;
}

#flatcal_minical .flatcal_todaycell a {
    border-radius:0 !important;
}

.mceBranding {
    display: none !important;
}
