/***
* Theme Name: The Practice Child
* Description: Customization of The Practice style
* Author: Claude Diderich
***/

/***
 * Note: Colors used
 * - dark grey: #4c4c4c
 * - red:  #d7002e
 * - blue: #066d93
 * - grey: #7f7f7f
 ***/

@media print {
	a, a:visited { text-decoration: none; }
	a[href]:after { content: ""; }
	abbr[title]:after { content: ""; }
	pre, blockquote {
		border: 1px solid #999; 
		page-break-inside: avoid;
	}
	thead { display: table-header-group; }
	tr, img { page-break-inside: avoid; }
	img { max-width: 100% !important; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3 { page-break-after: avoid; }
	/* Homepage image */
	.top_slider {
		width:870px;
		height:307px;
	}
	.top_slider .slides_container, .top_slider .slide {
		width:870px;
		height:302px;
	}
	.top_slider .caption {
		font-size:14px;
		padding:8px 0 8px;
		color: white;
		background-color: black;
	}		
	.topimage .caption {
		font-size:12px;
		padding:8px 0 8px;
	}		
	/* Testimonials slideshow */
	.slideshow.slideText .slides_container {
		width: 336px!important;
	}
	.slideshow.slideText .slides_container .slide {
		width: 326px!important;
	}
	.slideshow .pagination {
		margin:10px 5px 10px 121px;
	}
	.slideshow.slideText .slides_text_container {
		width: 268px!important;
	}
	.slideshow.slideText .slides_text_container .slide {
		width: 258px!important;
	}
	/* Remove sidebar if there is not enough space on page*/
	#middle.sidebar_left .content {
		width: 842px;
	}
	#middle.sidebar_left .sidebar {
		display: none;
		width: 0px;
		margin: 0px 0px 0px 0px;
	}
	/* Comment sizes */
	.comment-text {
		width: 680px;
	}
	.children .comment-text {
		width: 620px;
	}	
	.children .children .comment-text {
		width: 580px;
	}	
	.children .children .children .comment-text {
		width: 540px;
	}	
	.comment-form .textarea {
		width: 672px;
	}
	.tf_pagination {
		display: none;
	}
    #topmenu-select{
        display: none;
    }
}

/* Generic layout colors */
/* --------------------- */
h1 {
	text-transform: uppercase;
	color: #066d93; 
}
h2 {
	color: #d7002e;
}
h3 {
	color: #7f7f7;
}

/* Diderich Consulting specific layouts */
/* ------------------------------------ */
a:hover {
	color: #4c4c4c;
}
a.link-more:hover {
	color: #4c4c4c !important;
}
.dc_service {
	font-size: 85%;
	line-height: 1.4em;
}
.dc_casestudy_title {
	padding-bottom: 15px;
	color: #4c4c4c;
}
a.dc_register, a:hover.dc_register {
	background-color: #d7002e;
	border-radius: 4px;
	padding: 5px;
	color: white;
}
a:hover.dc_register {
	color: #4c4c4c;
}
.dc_ticker {
	background-color: #ededed;
	border-radius: 4px;
	padding: 5px;
	margin-top: 20px;
	margin-bottom: 20px;
}
.dc_ticker a {
	color: #7f7f7f;
}
.dc_ticker em {
	color: #d7002e;
	font-style: normal;
}
.dc_ticker em strong {
	color: black;
}
.dc_ticker a:hover, .dc_ticker a:hover em {
	color: #4c4c4c;
}

/* Screen size dependent layout configuration */
/* ------------------------------------------ */

@media only screen and (min-width: 320px)  {
	/* Homepage image */
	.top_slider {
		width:310px;
		height:111px;
	}
	.top_slider .slides_container, .top_slider .slide {
		width:310px;
		height:105px;
	}
	.top_slider .caption {
		font-size:10px;
		padding: 6px 0 6px;
	}
	.topimage .caption {
		font-size:8px;
		padding: 6px 0 6px;
	}
	/* Testimonials slideshow */
	.slideshow.slideText .slides_container {
		width: 310px!important;
	}
	.slideshow.slideText .slides_container .slide {
		width: 310px!important;
	}
	.slideshow .pagination {
		margin:10px 5px 10px 125px;
	}
	.slideshow.slideText .slides_text_container {
		width: 310px!important;
	}
	.slideshow.slideText .slides_text_container .slide {
		width: 310px!important;
	}
	/* Remove sidebar if there is not enough space on page*/
	#middle.sidebar_left .content {
		width: 310px;
	}
	#middle.sidebar_left .sidebar {
		display: none;
		width: 0px;
		margin: 0px 0px 0px 0px;
	}
	/* Comment sizes */
	.comment-text {
		width: 240px;
	}
	.children .comment-text {
		width: 240px;
	}	
	.children .children .comment-text {
		width: 240px;
	}	
	.children .children .children .comment-text {
		width: 240px;
	}	
	.comment-form .textarea {
		width: 250px;
	}
}

@media only screen and (min-width: 480px) {
	/* Homepage image */
	.top_slider {
		width:444px;
		height:160px;
	}
	.top_slider .slides_container, .top_slider .slide {
		width:444px;
		height:153px;
	}	
	.top_slider .caption {
		font-size:12px;
		padding: 8px 0 8px;
	}		
	.topimage .caption {
		font-size:10px;
		padding: 8px 0 8px;
	}		
	/* Testimonials slideshow */
	.slideshow.slideText .slides_container {
		width: 222px!important;
	}
	.slideshow.slideText .slides_container .slide {
		width: 212px!important;
	}
	.slideshow .pagination {
		margin:10px 5px 10px 86px;
	}
	.slideshow.slideText .slides_text_container {
		width: 444px!important;
	}
	.slideshow.slideText .slides_text_container .slide {
		width: 444px!important;
	}
	/* Remove sidebar if there is not enough space on page*/
	#middle.sidebar_left .content {
		width: 444px;
	}
	#middle.sidebar_left .sidebar {
		display: none;
		width: 0px;
		margin: 0px 0px 0px 0px;
	}
	/* Comment sizes */
	.comment-text {
		width: 330px;
	}
	.children .comment-text {
		width: 310px;
	}	
	.children .children .comment-text {
		width: 290px;
	}	
	.children .children .children .comment-text {
		width: 270px;
	}	
	.comment-form .textarea {
		width: 380px;
	}
	.contact-form .comment-form .inputtext, .contact-form .comment-form
	.textarea, .contact-form .comment-form .tfuse_captcha_input  {
		max-width: 373px;
	}
	.contact-form .comment-form  .ui-selectmenu   {
		max-width: 373px;
	}
}

@media only screen and (min-width: 768px) {
	/* Homepage image */
	.top_slider {
		width:672px;
		height:238px;
	}
	.top_slider .slides_container, .top_slider .slide {
		width:672px;
		height:231px;
	}
	.top_slider .caption {
		font-size:14px;
		padding:8px 0 8px;
	}		
	.topimage .caption {
		font-size:12px;
		padding:8px 0 8px;
	}		
	/* Testimonials slideshow */
	.slideshow.slideText .slides_container {
		width: 336px!important;
	}
	.slideshow.slideText .slides_container .slide {
		width: 326px!important;
	}
	.slideshow .pagination {
		margin:10px 5px 10px 121px;
	}
	.slideshow.slideText .slides_text_container {
		width: 268px!important;
	}
	.slideshow.slideText .slides_text_container .slide {
		width: 258px!important;
	}
	/* Remove sidebar if there is not enough space on page*/
	#middle.sidebar_left .content {
		width: 672px;
	}
	#middle.sidebar_left .sidebar {
		display: none;
		width: 0px;
		margin: 0px 0px 0px 0px;
	}
	/* Comment sizes */
	.comment-text {
		width: 560px;
	}
	.children .comment-text {
		width: 540px;
	}	
	.children .children .comment-text {
		width: 520px;
	}	
	.children .children .children .comment-text {
		width: 500px;
	}	
	.comment-form .textarea {
		width: 610px;
	}
	.contact-form .comment-form .inputtext, .contact-form .comment-form
	.textarea, .contact-form .comment-form .tfuse_captcha_input  {
		max-width: 583px;
	}
	.contact-form .comment-form  .ui-selectmenu   {
		max-width: 583px;
	}
}

@media only screen and (min-width: 990px) {
	/* Homepage image */
	.top_slider {
		width:870px;
		height:307px;
	}
	.top_slider .slides_container, .top_slider .slide {
		width:870px;
		height:300px;
	}
	.top_slider .caption {
		font-size:16px;
		padding: 12px 0 12px;
	}
	.topimage .caption {
		font-size:14px;
		padding: 12px 0 12px;
	}
	/* Testimonials slideshow */
	.slideshow.slideText .slides_container {
		width: 435px!important;
	}
	.slideshow.slideText .slides_container .slide {
		width: 425px!important;
	}
	.slideshow .pagination {
		margin:10px 5px 10px 175px;
	}
	.slideshow.slideText .slides_text_container {
		width: 348px!important;
	}
	.slideshow.slideText .slides_text_container .slide {
		width: 338px!important;
	}
	/* Remove sidebar if there is not enough space on page*/
	#middle.sidebar_left .content {
		width: 576px;
	}
	#middle.sidebar_left .sidebar {
		display: block;
		width: 240px;
		margin: 0px 54px 0px 0px;
	}
	/* Comment sizes */
	.comment-text {
		width: 465px;
	}
	.children .comment-text {
		width: 375px;
	}	
	.children .children .comment-text {
		width: 285px;
	}	
	.children .children .children .comment-text {
		width: 195px;
	}	
	.comment-form .textarea {
		width: 515px;
	}
	.contact-form .comment-form .inputtext, .contact-form .comment-form
	.textarea, .contact-form .comment-form .tfuse_captcha_input  {
		max-width: 583px;
	}
	.contact-form .comment-form  .ui-selectmenu   {
		max-width: 583px;
	}
	/* Footer alignment */
	.f_col_1 .widget-container {
		margin-left: -30px!important;
	}
	.fcol  {
		margin-left: 15px;
	}
	footer .container .copyright {
		padding-left: 30px;
	}
	footer .container .footer_social {
		margin-right: 30px!important;
	}
}

.body_wrap {
	padding-top: 20px;
}

/* Assure that tabs header spans over multiple lines, if needed */
.tabs_framed.small_tabs {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	background: #066d93;
}
.tabs_framed .tabs {
    background: none repeat scroll 0% 0% #066d93;
}
.tabs_framed .tabcontent {
    padding: 2px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.post_list .odd {
    background: white;
	border-top: 1px solid #e5e3eb;
	border-bottom: 1px solid #e5e3eb;
}
.slideshow.slideText .slides_container .slide {
	padding: 0px;
}
.slideshow.slideText .slides_text_container .slide {
	padding: 0px;
}

/* Adjust space around header tagline */
#middle {
    padding: 30px 0 0 0;
}
.header_container .header_slider .header_quote {
	padding: 0 0 15px 0;
}
.header_container header {
	padding: 0 0 15px 0;
}
.topimage .caption {
    border-bottom: 2px solid #d7002e;
}

/* Do not display back / forward slide positioning */
.top_slider .prev, .top_slider .next {
	display: none;
}

.divider_space_thin {
	margin-top:5px;
	margin-bottom:5px;
	padding-top: 5px;
	padding-bottom: 5px;
}


/* Headers in posts are colored */
.post-detail h1 {
	margin: 15px 0 15px 0;
	font-size: 22px;
	text-transform: uppercase;
	color: #4c4c4c;
}
.post-detail h2 {	
	margin: 15px 0 10px;
	font-size: 20px;
	text-transform: none;
	color: #066d93;
}
.post-detail h3 {
	margin:10px 0 5px;
	font-size: 18px;
	text-transform: none;
	color: #7f7f7f;
}

.post-detail .entry h1 {
	margin: 0px 0 15px 0;
	font-size: 22px;
	text-transform: uppercase;
	color: #4c4c4c;
}
.post-detail .entry h2 {	
	margin: 25px 0 10px;
	font-weight: bold;
	font-size: 20px;
	text-transform: none;
	color: #066d93;
}
.post-detail .entry h3 {
	/* margin:15px 0 5px; */
	margin:20px 0 10px;
	font-weight: bold;
	font-size: 18px;
	text-transform: none;
	color: #996634;
}

.post-detail .col h2 a {	
	font-size: 18px;
	color: #d7002e; 
}
.post-detail .col h2 a:hover {	
	color: #4c4c4c; 
}
.post-detail .col h2 {
	margin: 0px 0 15px 0;
}

.submit_message h3 {
	padding: 0px !important;
	margin-top: 0px !important;
	margin-bottom: 10px !important;
	padding-bottom: 10px !important;
}
.submit_message p {
	padding: 0px !important;
	margin-top: 10px !important;
}

.inner {
	border: 0;
	padding: 0;
}
.post-detail .entry {
    padding: 0px 0px 0px;
}

/* Post information */
.entry ol li {
    margin-top: 5px;
    margin-bottom: 5px;
}
.post-item ul {
	list-style-type: square;
}
.post-item ol {
	list-style-type: decimal;
	padding-left: 40px;
}
.post-item h1, .post-item h1 a {
	margin:0 0 15px 0;
	font-size: 22px;
	text-transform: uppercase;
	color: #4c4c4c;
    margin-bottom: 10px;
}
.post-item h2, .post-item h2 a {	
	margin: 15px 0 10px;
	font-size: 20px;
	text-transform: none;
	color: #d7002e;
}
.post-item {
	clear:both;
	padding:0 0 20px 0;
	margin-bottom: 0px;
}

.postlist .summary h1, .postlist .summary h1 a {
	font-size: 18px;
	text-transform: uppercase;
	color: #4c4c4c;
	line-height: 1.5em;
}
.postlist .summary p {
	line-height: 1.5em;
	padding-bottom: 15px;
 }
.postlist .aside h2 {
	font-size: 18px;
	text-transform: capitalize;
	padding: 15px 0 5px;
	color: #d7002e;
}
.postlist .aside p {
	line-height: 1.5em;
}
.postlist article {
    padding-bottom: 25px;
    margin-bottom: 25px;
}
.image_frame {
    border-top: 2px solid black;
    border-bottom: 2px solid #d7002e;
}

.wp-caption {
	margin-top: 15px;
	margin-bottom: 15px;
    border-top: 2px solid black;
    border-bottom: 2px solid #d7002e;
}
.image_frame figcaption {
	font-weight: bold;
    padding: 5px 0px 5px;
}
.quote-author, .quote-author span {
	color:#066d93;
}

/* Text formatting */
.entry p, .summary p {
	margin: 0;
	margin-top: 5px;
}
.link-more {
	font-family: 'Lato', Arial, Helvetica, sans-serif;
}
.link-reset {
	text-decoration: none;
}
.link-reply {
	color:#d7002e;
}

/* Sidebar formatting */
.sidebar .widget-container.nav_style2 {
    margin: 0;
	padding-top:0px;
	padding-bottom:15px;
	background:url(images/divider_line.gif) bottom repeat-x;
	margin-bottom:15px;
}
.sidebar .widget-container {
	padding-top:0px;
	margin-top: 0px;
	padding-bottom:15px;
	margin-bottom: 15px;
	background:url(images/divider_line.gif) bottom repeat-x;
}
.sidebar h3.widget-title {
	line-height: 22px!important;
	margin-bottom: 15px!important;
}
.sidebar .widget-container.widget_search {
	background: none;
}

/* Widget nav_menu  */
.sidebar .widget-container h3, .sidebar .widget-container .widget-title {
    font-size: 18px;
}
.sidebar .widget-container li a {
	color:#d7002e;
	font-style: italic;
}
.sidebar .widget-container li a:hover {
	color:black;
}
.sidebar .widget-container.nav_style3 {
	padding-top:0px;
	padding-bottom:15px;
	background:url(images/divider_line.gif) bottom repeat-x;
	margin-bottom:15px;
}
.nav_style3 .widget_icon{
    display: none;
}
.sidebar .widget-container.nav_style3 li {
	margin-bottom:10px;
}
.sidebar .widget-container.nav_style3 a {
	color:#d7002e;
	background:url(images/icons/icon_more.png) right 4px no-repeat;
	padding-right:14px;
	font-weight:bold;
	font-style: normal;
	font-size:13px;
	text-transform:uppercase;
}
.sidebar .widget-container.nav_style3 a:hover {
	color: black;
}
.sidebar .widget-container.nav_style3 ul li ul a {
	color: black; /*#d7002e; */
	background: none;
	padding-right:14px;
	font-weight:bold;
	font-style: italic;
	font-size:13px;
	font-weight: normal;
	text-transform: none;
}
.sidebar .widget-container.nav_style3 ul li ul a:hover {
	color:#d7002e;
}
.sidebar .widget-container.nav_style3 ul li ul {
	padding:5px 0 0 15px;
	margin:0;
}
.sidebar .widget-container.nav_style4 {
	padding-top:0px;
	padding-bottom:15px;
	background:url(images/divider_line.gif) bottom repeat-x;
	margin-bottom:15px;
	line-height: 1.2em;
}
.nav_style4 .widget_icon {
    display: none;
}
.sidebar .widget-container.nav_style4 li {
	margin-bottom:10px;
}
.sidebar .widget-container.nav_style4 a {
	color:#d7002e;
	padding-right:14px;
	font-style: italic;
	font-size:13px;
}

/* Testimonal / Quotes formatting */
.slideshow.slideText .slides_container {
	border: none;
}
.quoteBox {
	margin: 0;
}

/* Comment formatting */
.add-comment h3,.comment-respond h3,.entry .add-comment h3 ,.entry .comment-respond h3{
	font-size:18px;
	color:#7f7f7f;
}
.comment-form .inputtext {
	margin-top: 5px !important;
	float: left;
}
.content .comment-form .ajax_form .infieldlabel label {
	top: 18px !important;
}
.content .comment-form .ajax_form .infieldlabel label.textarea {
    top: 6px !important;
}

/* Insights list */
.post_list li .date a, .post_list li .date a:hover {
	font-size:12px;
	line-height:12px;
}
.post_list img.thumbnail {
	float:left;
	margin-left: 0px;
	margin-right:10px;
	border-top: 2px solid black !important;
	border-bottom: 2px solid #d7002d !important;
}
.post_list li {
	padding:10px 10px 10px 10px;
}
.post_list li a {
	color: #d7002e;
}
.post_list li a:hover {
	color: black;
}

/* Table formatting */
.table_blue table, .sb_blue {
	border: 2px solid #066d93;
}
.table_blue table tr th, .sb_blue .box_title {
	background: #066d93;
	font-weight: bold;
}
.styled_table table tr th, .styled_table table tr td	{
	border-top:1px solid #d3c8be;
	padding:5px;
	text-align:left;
	font-size: 13px;
	vertical-align: middle;
}
.boxed {
	padding: 10px;
	background: white;
}
.tabs_framed .tabcontent .inner .quoteBox .inner {
	background: url(../thepractice-parent/images/icons/icon_quotes.png) 0 0 no-repeat;
	padding-left: 40px;
}
/* Footer formatting */
footer .container {
    padding: 30px 0px 30px;
}
.contact-address .name {
	color: #7f7f7f;
}
p.wp-caption-text, .frame_caption, .image_frame figcaption {
	font-size: 13px;
	font-weight: bold;
	padding-top: 5px;
	padding-bottom: 5px;
}

p.error {
    border: 0px !important;
	font-style: italic;
}

/* Share posts on social media sites */
.post-item .post-share .link_share_linkedin {
	background-position:0 -90px;
}
.post-item .post-share .link_share_xing {
	background-position:0 -120px;
}
.post-item .post-share a {
	display:inline-block;
	margin:0 1.5px;
	width:30px;
	height:30px;
	background:url("../thepractice-child/images/icons/share_links.png") 0 0 no-repeat;
}

.sb {
 	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	border-collapse: collapse;
	margin:10px 0 20px 0;
	text-shadow:none;
	color:#404040;
}

.sb .box_content {
	padding:10px 10px 5px 10px;
	background:#fff;
	color:#595959;
	margin:1px;
	-webkit-border-bottom-right-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-bottomright: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}

.sb .box_title {
	padding:10px 10px 10px 10px;
}
