/*
Theme Name: Thomas Miller Sub-Site
Description: Thomas Miller Responsive Wordpress Theme
Version: 1.0
Author: RE Media
Author URI: http://re-media.biz
*/

/* HEADS UP: Everything that you will normally find here can be found in the library/less/wp.less */

* {
	margin: 0;
	padding: 0;
}

::selection {
	color: white;
	background: #FF4700; /* Safari */
}

::-moz-selection {
	color: white;
	background: #FF4700; /* Firefox */
}

body {
	margin: 0 !important;
	padding: 0 !important;
	font-family: arial, Helvetica, sans-serif !important;
}

h1 {
	font-family: "Arial Black", Arial;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 28px;
	color: #303E48;
}

pre {
	padding: 30px 60px 20px 60px;
	word-break: break-word;
}

pre li {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.428571429;
	color: #333333;
	padding: 10px 0;
}

#main article {
	margin-bottom: 0;
}

#content {
	padding: 20px 0 0;
}

#top-head {
	background-color: #303E48 !important;
	height: 100px;
	box-shadow: 0 -2px rgba(0, 0, 0, 0.99) inset;
}

.wpb_wrapper ul li, .post_content ul li {
	margin-left:30px;	
}

#logo-container {
	width: 100%;
	height: 80px;
	background-image: url('/wp-content/themes/thomas-miller-claims-management/images/logo.png');
	background-repeat: no-repeat;
	background-position: center 0px;
	margin-top: 4px;
}

.logo-container-a {
	margin: 0 auto;
	width: 100%;
	background-color: #F5F5F5;
	box-shadow: 0 -2px rgba(0, 0, 0, 0.1) inset;
	height: 120px;
}

#logo-container img {
	display: block;
	margin: 0 auto;
}

#footer-bg {
	background-color: #EEEEEE;
	padding: 20px 0 10px;
}

#main article {
	border-bottom: none !important;
}

#search {
	margin: 32px 0;
}

/* CONTACT DETAILS */
#top-contact {
	margin: 22px 0;
	color: #FFFFFF;
	float:right;
}
#top-contact i {
	margin: 0 5px 0 20px;
}
#top-contact a {
	color: #FFFFFF;
	white-space: nowrap;
	font-size: 18px;
}
#top-contact a:hover {
	text-decoration: none;
}

/* NAV MENU */
#sub-nav {
	width: 100%;
	margin-top: 40px;
}
#sub-nav li {
	list-style: none;
}
#sub-nav a {
	width: 19%;
	display: inline-block;
	float: left;
	margin-right: 1%;
	border-bottom: 6px solid #EEEEEE;
	padding-bottom: 10px;
	color: #333;
	font-weight: bold;
	font-size: 13px;
}
#sub-nav a:hover {
	text-decoration: none;
	color: #303E48;
}
#sub-nav a:hover {
	border-bottom: 6px solid #303E48;
}
.sub-nav-link-last {
	margin-right: 0 !important;
	/*float: right !important;*/
}

/* MAIN IMAGE BAR */
#tmcm-slider {
	height: 300px;
	margin-top: 20px;
	overflow: hidden;
	background-image: url('/wp-content/themes/thomas-miller-claims-management/images/collage-2015.jpg');
	background-position: center;
	position:relative;
}
#tmcm-slider img {
	max-height: 300px;
}
#tmcm-slider-sub {
	height: 46px;
	background-color: #303E48;
	box-shadow: 0 -2px rgba(0, 0, 0, 0.99) inset;
	display:none;
}
#slider-message {
	color: #303E48;
	margin-top: 30px;
	padding: 10px 10px 10px 20px;
	/*height: 250px;*/
	width: 360px;
	background-color: #f5f5f5;
	border:solid 1px #303e48;
}
#slider-message p {
	font-size: 28px;
	font-weight: bold;
	/*text-shadow: 0px 0px 100px #000000;*/
	line-height:34px;
}
#slider-message img {
	padding:0;
	margin:0px 5px 0px 0px;
	border:solid 1px #CCCCCC;
}
#side-panel-right {
	float:right;
	/*margin:10px 5px;*/
	position:absolute;
	bottom:20px;
	right:20px;
	color: #303e48;
	padding: 10px 10px 10px 10px;
	height: 250px;
	width: 204px;
	background-color: #303E48;
	border:solid 1px #F5F5F5;
}
#side-panel-right img {
	margin: 12px auto;
	border:solid 1px #CCCCCC;
}

.page-header {
	margin: 0 0 20px;
}

.page-header h1 {
	margin-top: 0;
	line-height: 1.5;
}

.meta {
	display: none;
}

.footer-box {
	background-color: #303E48;
	border-left: 5px solid #00B8FF;
	color: #FFFFFF;
	padding: 30px 20px 20px 20px;
	margin-bottom: 40px;
	margin-top: 30px;
}

.footer-box i {
	margin: 0 5px 0 20px;
}

.footer-box a {
	color: #FFFFFF;
}

.footer-box a:hover {
	text-decoration: none;
}

#main article {
	padding: 0;
}

#sidebar1 img {
	margin: 20px auto 5px auto;
}
#sidebar1 .widget_sp_image-description {
	text-align:center;
	font-style:italic;
}
.tm-post-title {
	color: #FFFFFF !important;
}

.staff-member-photo {
	float: left;
}

.staff-member-name {
	float: left;
}

.staff-member-info-wrap {
	clear: both;
}

.staff-member-bio {
	padding-top: 20px;
}

.staff-member-bio p {
	padding: 0 10px 20px 10px;
}

.individual-staff-member {
	padding: 25px;
	margin-bottom: 20px;
	min-height: 405px;
	border-bottom: 1px solid #EEEEEE;
}

.individual-staff-member img {
	max-width: 34% !important;
	margin-right: 4%;
}

.staff-contact-details {
	background-color: #303E48;
	border-left: 5px solid #00B8FF;
	color: #FFFFFF;
	padding: 20px;
	float: right;
	width: 62%;
}

.staff-contact-details i {
	padding: 0 10px 0 0;
}

.staff-contact-details a {
	color: #FFFFFF;
}

.staff-contact-details a:hover {
	text-decoration: none;
}

.staff-contact-details h3 {
	font-family: "Arial Black", Arial;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 18px;
	margin-top: 10px;
	width: 100%;
}

.staff-contact-details h4 {
	display: inline-block;
	margin: 0 0 26px 0!important;
}

.links img {
	width: 80%;
	height: auto;
}

.links tbody tr td {
	padding: 30px;
	vertical-align: middle !important;
}

#latest-news-text {
	display: none;
}

#sidebar1 img {
	display: block;
}

.publication_thumbnail {
	float: left;
}

.publication_title {
	color: #303E48;
	font-size:150%;
}

.publication-archive .title {
	display: none;
}

.single-publication {
	display: inline-block;
	width: 100%;
	padding-bottom: 20px;
	border-bottom: 1px solid #EEEEEE;
}

/* Media Queries */

@media screen and (max-width: 990px) {

	#top-contact {
		float:none;
		display: block;
		width: 70%;
		margin: 10px auto 30px auto;
		text-align:center;
	}
	
	#top-head {
		height: 290px;
	}

	#main-nav ul {
		text-align: center;
		float: none;
		padding: 0;
	}

	#search {
		margin-top: 0;
		clear:both;
	}

	footer ul {
		padding: 0;
		float: none !important;
	}

	footer p {
		width: 100%;
		text-align: center;
		margin-top: 20px;
	}

	#logo-container {
		background-image: url('/wp-content/themes/thomas-miller-claims-management/images/logo.png');
		background-position: center;
	}

	.logo-container-a {
		background-color: #303E48;
		box-shadow: none;
	}

	#logo-container {
		margin-top: 32px;
	}

	#search {
		display:block;
		width: 70%;
		margin: 0 auto;
	}

	footer p {
		text-align: left;
	}

	.individual-staff-member {
		min-height: 0;
	}

	.staff-contact-details h3 {
		margin: 30px 10px 10px;
	}

	.staff-contact-details h4 {
		margin: 0 10px 40px !important;
	}

	.staff-contact-details i {
		padding: 0 10px 0 10px;
	}
	
	.staff-contact-details {
		height: 238px;
	}
	
	#sub-nav a {
		font-size: 16px;
	}
	
	.nav-word-spacing {
		word-spacing: 100px;
	}

}

@media (max-width:1200px) and (min-width:990px) {

	.staff-contact-details p {
		font-size: 12px;
	}
	
	.individual-staff-member img {
		max-width: 26% !important;
		margin-right: 2%;
	}
	
	.staff-contact-details {
		width: 72%;
	}
	
	.footer-box b {
		display: none;
	}
	
	.footer-box p {
		font-size: 12px;
	}

}

@media screen and (max-width: 768px) {

	#sidebar1 {
		display: none;
	}
	#slider-message {
		margin:20px 0px 0px 0px;
		width:300px;
		height:auto;
	}
	#tmcm-slider {
		height:auto;
		background-image:none !important;
		background-color:#303E48;
	}
	
	#side-panel-right {
		position:inherit;
		margin:40px 0px 0px 40px;
	}
	
	li {
			list-style-position: inside;
	}
	
	ol {
		counter-reset: foo;
		display: table;
	}
	
	ol > li {
		counter-increment: foo;
		display: table-row;
	}
	
	ol > li::before {
		content: counter(foo) ".";
		display: table-cell; /* aha! */
		text-align: right;
	}

}

@media screen and (max-width: 550px) {

	#side-panel-right {
		float:left;
	}

	li {
		list-style-position: inside;
	}

	#logo-container {
		background-size: contain;
	}

	#sub-nav a {
		display: block;
		width: 100%;
		margin: 10px 0;
	}

	#latest-news-text {
		display: block;
		float: center;
	}

	#sub-nav {
		margin-top: 20px;
	}

	.nav-word-spacing {
		word-spacing: normal;
	}

	#slider-message {
		margin: 0px;
		clear:both;
	}

	.footer-box a {
		display: block;
		margin: 20px 0;
	}

	.footer-box i {
		margin: 0 5px 0 0;
	}

	.footer-box b {
		display: block;
		margin-bottom: 20px;
	}

	#tmcm-slider {
		margin-top: 20px;
		height:auto;
		background-image:none !important;
		background-color:#303E48;
	}

	#sub-nav a {
		margin: 20px 0;
	}

	#slider-message {
		height: auto;
		margin-bottom:20px;
	}

	#slider-message p {
		font-size: 22px;
	}

	.individual-staff-member img {
		max-width: 100% !important;
	}

	.staff-contact-details {
		width: 100%;
	}

	ol {
		counter-reset: foo;
		display: table;
	}

	ol > li {
		counter-increment: foo;
		display: table-row;
	}

	ol > li::before {
		content: counter(foo) ".";
		display: table-cell; /* aha! */
		text-align: right;
	}

}