/*CW new single post design changes*/
body.single-post div.post-thumbnail {
	display: none;
}

@media (max-width: 600px) {
body.single-post img {
		width:100%;
		display: inline-block;
		clear: both;
	}}


/*CW new specialty page design changes*/

.page-id-8313 .header, .page-id-8381 .header, .page-id-8654 .header, .page-id-8671 .header, .page-id-8717 .header, .page-id-8733 .header, .page-id-8750 .header, .page-id-8764 .header, .page-id-8785 .header, .page-id-8798 .header, .page-id-8813 .header, .page-id-8870 .header, .page-id-8842 .header, .page-id-8857 .header, .page-id-8884 .header, .page-id-8894 .header, .page-id-8907 .header, .page-id-4 .header, .page-id-5 .header  {
	padding: 140px 15px 140px 15px !important; 
}

@media only screen and (max-width: 768px) {
	li {font-size: 0.9em}
}



@media only screen and (max-width: 600px) {
	.wpforms-container.inline-fields .wpforms-form {
		display: block !important; 
	}
	.wpforms-field-container {
    width: 100% !important;
		display: block !important;
  }
	.wpforms-field {
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
	.wpforms-submit-container {
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

/*End CW new specialty page design changes*/


/*CW footer design changes*/

.footer-widgets.clear {
	border-top: none;
	border-bottom: none;
}

footer#colophon {
	margin-bottom: 0px;
}

div.site-info {
	display: none;
}

.wp-block-jetpack-subscriptions__container {
	color: black;
}

#subscribe-blog-blog_subscription-5 {
	background: #fff;
}

p#subscribe-email input {
	background: white !important;
	border: none !important;
}

p#subscribe-submit button {
	background: #7469b6;
}

div.child-pages.columns.clear {
	margin-bottom: 0px;
	margin-top: 0px;
}

.hentry {
	margin-bottom: 0px;
}

.entry-content {
	margin-bottom: 0px;
}

div.social-block {
	display: none;
}

/*End CW footer design changes*/

/*CW header changes*/
.page-id-8313 .header {
	padding-top: 140px !important;
	padding-bottom: 140px !important;
}

@media only screen and (min-width: 1200px) {
	.site-branding img {
		max-width: 80%;
	}
	.cw-nav-button {
		margin-top:-10px !important;	
}}

.cw-nav-button {
	background-color:	#6c3a7f;
	padding: 10px 30px 10px 30px;
}
.cw-nav-button:hover {
	background-color:#9452b4;
}


.cw-nav-button a:hover, .cw-nav-button a:active {
color:#fff !important;
}

li#menu-item-8167 a {
	color:#fff !important;
}

/*End CW header changes*/

/*CW font changes*/

h2, h3 {
	text-transform: capitalize !important;
	color: #6C3A7F !important;
}

.panel-row-style-for-2444-1 a, .panel-row-style-for-2444-2 a {
	color: #6C3A7F !important;
}
/*End CW font changes*/


.home h2.entry-title:after {
    background-color: rgba(0,0,0,.25);
    max-width: 70px;
    height: 3px;
    margin: 20px auto 1em;
    display: block;
	  content: '';
}

a.actionbook {
	color: #fff;
	width: 56% !important;
	box-sizing: border-box;
}
span.callbook-icona-busta-lettera,
.callbook_under,
.callbook_logo {
	display: none;
}

.actioncall {
	padding-right: 0;
	padding-left: 1.25em;
	text-align: left !important;
	width: 44% !important;
	box-sizing: border-box;
}
#callbook > a > span.callbook-align {
    text-transform: none;
}
#cookie-law-info-again {
	bottom: 60px !important;
	right: 10px !important;
}


@media only screen and (max-device-width: 736px) and (min-device-width: 320px) {
	.actionbook {
			box-sizing: border-box;
			padding-left: 0;
		  padding-right: 1em;
	}
}

/*change header colour and layout*/
#masthead {
	background-color: white;
}

li.menu-item a {
	color: black !important;
}

ul.sub-menu {
	background-color: white !important;
}

nav#site-navigation {
	margin-top: 30px
}

button.menu-toggle {
	color: black !important;
}

@media screen and (min-width: 80em) {
.content-caption {
	max-width: 60% !important;
	}}

@media screen and (min-width: 55em)
{.standard-menu .section {
	padding-top: 7%;
	padding-bottom: 4%;
	}
}

#pl-2438 {
	font-style: normal;
}

/*change footer colour*/
footer.site-footer {
	background-color: #6C3A7F;
}
footer.site-footer a {
	color:white !important;
	text-decoration: underline;
}

footer.site-footer h2, footer.site-footer h3 {
	color: white !important;
}

@media screen and (max-width: 55em) {
.social-block {
	background-color: #604860;
}
}

/*change button design*/

a.button {
	color: white !important;
	background-color:#6c3a7f !important;
}

a.button:hover {
	background-color: #9452b4
 !important;
}

/*format top bar*/

div#tpbr_topbar #tpbr_box {
	font-family: 'Merriweather', Times, serif !important;
}

/*reduce blog title sizes on blog roll*/

body.blog h2.entry-title {
	font-size: 1rem !important;
}


.sidebar-right-layout .wp-post-image, .single .wp-post-image, .page .wp-post-image {
    margin-bottom: .875em;
    height: 100%;
	    max-height: 278px;
}

/*Mobile Styles*/

@media (max-width: 550px) {
  p { font-size: .9em; }
  .content-caption .entry-content .button {
    
    font-size: 13px;
    /* font-size: .875rem; */
    font-style: normal;
    padding: 12px 15px;
    display: inline-block;
    margin-bottom: 5px;
    text-align: center;
}
.welcome-btn {
    display: block;
    width: 100%;
    font-size: 14px !important;
    margin-bottom: 10px !important;
}	

	div.sow-accordion-open-close-button {
		padding-left:30px;
	}}