/*
Theme Name: custardfish
Theme URI: http://www.custardfish.com
Author: Jason / custardfish
Description: Bespoke client theme based on Bootstrap 3 grid _s starter theme from Automattic
Version: 1.0
Update URI: false
*/

/* My Minimal WordPress Styling comes here */

/* This is a small security for too long strings titles */

body {
	word-wrap: break-word;
	color: #878787;
	font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

/* main site wide font styling */

h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto', sans-serif;
	color: #393B43;
}

h2, h3, h4, h5, h6 {color: #666;}

h1 {font-size: 2em;}
h2 {font-size: 1.8em;}
h3 {font-size: 1.6em;}
h4 {font-size: 1.4em;}
h5 {font-size: 1.2em;}

.main-content p {
	font-family: Verdana, sans-serif;
	font-weight: 300;
	color: #888;
	font-size: 1.1em;
	line-height: 1.5em;
}

.main-content p a {
	text-decoration: underline;
}

.main-content ul {
	padding: 0 0 1em 1.7em;
	margin: 0;
}

.main-content ul li {padding: 8px 0;}

.container.home {
	padding-top: 3em;
}

.headed {
	background: url('images/header_bg.png') 0 0 no-repeat;
	background-size: 100% 10%;
	background-position: 0 14px;
	text-align: center;
	display: block;
}

.headed h1 {
	text-align: center;
	padding: 0 2em;
	margin: 0;
	display: inline-block;
	/* background 	white fade overlay */
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+10,1+90,0+100 */
	background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 10%, rgba(255,255,255,1) 90%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}


/* Images and wp-captions should always fit and be responsive */
img {
	display: inline-block;
	height: auto;
	max-width: 100%;
}
img[class*="wp-image-"] {
	margin-top: 22px;
	margin-bottom: 6px;
}
.wp-caption {
	border: none;
	margin-bottom: 20px;
	max-width: 100%;
	border-radius: 0;
	padding: 0;
}
.wp-caption.aligncenter {
	margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption .wp-caption-text {
	text-align: right;
	font-style: italic;
	margin: 0.5em 0 3em 0;
	font-size: 1em;
}

/* WP Gallery */
.gallery {
	margin-bottom: 1.5em;
}
.gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.gallery dd {
	margin: 0;
}
.gallery-caption {
	display: block;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}


/* Content */
.main-content-inner {
	padding-bottom: 1.5em;
}
.hentry {
	margin: 0 0 1.5em;
}
.sticky {
	display: block;
}
.bypostauthor {
	display: block;
}

/* Clearing */
.clear {
	clear: both;
}

/* Navigation */

.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:active>.dropdown-menu, .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:active>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;}


/* Here some needed widget styles
 * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */
.widget { margin-bottom: 2em; }
.widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; }

/* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
 * Note: you can change the whole appearance of the search_form() function in our searchform.php */
.widget_search .search-form input[type="submit"] { display: none; }

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize!
 * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */
 .comment .children { margin-left: 1.5em; }

/**
* Some WP Theme Repository requirements
*/

.sticky {}

.gallery-caption {}

.bypostauthor {}

.entry-meta {
	clear: both;
	margin: 0 0 20px 0;
}

/*
 == Quick CSS styling tips ==

 You can start off in a rough direction with some minimal styles.
 See below for some tips. ;)


 == Want to have the whole site wrapped? ==

 Just fill the .container class with some background color to have a the whole site "wrapped".
 This works so easy because every main part is wrapped only once into a container class by bootstrap.
 Try out by decommenting the next line and go from there.

 .container { background: #f9f9f9; border-right: 1px solid #eee; border-left: 1px solid #eee; }


 == Want to wrap just the content and sidebar in Bootstrap style? ==

 That one is a great example to show that some things are much cleaner and easier to do via just adding some HTML classes.
 In this case, we will add just one CSS class "panel", look for example at the beginning in content.php!


 == Infinite Scrolling by Jetpack ==
 You can enable this cool feature by simply decommenting the lines below and make sure you use the same classes on the right place in your html..

/* Globally hidden elements when Infinite Scroll is supported and in use.
 * Older / Newer Posts Navigation (the pagination, must always be hidden), Theme Footer only when set to scrolling.. */

/*
.infinite-scroll .page-links,
.infinite-scroll.neverending .site-footer {
	display: none;
}
*/

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */

/*
.infinity-end.neverending .site-footer {
	display: block;
}
*/


/* site navigation */

.site-navigation {
	background-color: #60646D;
}

/* for the collapsed background use .in class 
.navbar-collapse.in {background-color: #777;}
*/

/*.site-navigation .container {padding: 0;}*/

/* site navigation - common bootstrap over-rides */

.site-navigation .container {
	padding-bottom: 0;
}

.navbar-default {
	background-color: transparent;
	border: 0;
}

.navbar {
	margin: 0 -24px 0 0;
	border-radius: 0px;
	min-height: 40px;
}

.navbar-default .navbar-nav > li > a {
	color: #fff;
	opacity: 0.9;
	padding-top: 12px;
	padding-bottom: 12px;
}

.navbar-default .navbar-nav li a:hover,
.navbar-default .navbar-nav li a:focus {
	background-color: transparent;
	color: #fff;
	opacity: 1;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
	background-color: transparent;
	color: #fff;
	font-weight: bold;
}

.navbar-nav {
	float: right;
}

.navbar-nav a {
 font-size: 17px;
}

.dropdown-menu > li > a {
	padding: 8px 20px;
	color: #666;
}

.navbar-nav > li > .dropdown-menu {
	margin: -1px 0 0 -1px;
}

/* header */

#quick-contact {float: right; margin: 40px 0 0 0; text-align: right; font-family: "Roboto",sans-serif;}
#quick-contact p {font-size: 1.5em; color: #3E4386; margin: 0 0 7px 0; line-height: 1.2em;}
/*#quick-contact p.number a:hover {text-decoration: none; cursor: default;}*/
#quick-contact a {color: #3E4386;}
#quick-contact i {color: #DEE5E1; margin-right: 10px;}

#logo {
	margin: 24px 0 12px -10px;
	padding: 0;
	height: auto;
	max-width: 100%;
}

#sub-header {
	background-color: #eee;
	background-image: url("//www.drrohanjagathesan.co.uk/wp-content/uploads/header_quick.jpg");
  background-size: cover;
	height: 140px;
	line-height: 100px;
	margin: 0 auto;
}

#cardiac-investigations #sub-header {
	background-image: url("//www.drrohanjagathesan.co.uk/wp-content/uploads/sub_header_cardiac.jpg");
}

#cardiac-procedures #sub-header {
	background-image: url("//www.drrohanjagathesan.co.uk/wp-content/uploads/sub_header_procedures.jpg");
}

#sub-header h1 {
	color: #777;
	background: rgba(255,255,255,0.6);
	font-size: 26px;
	right: 15px;
	padding: 15px 20px 15px 10em;
	position: absolute;
	top: 40px;
}

#breadcrumbs {
	padding: 15px 0 0 0;
}

/* .home-section home big icons */

.home-section p {
	text-align: center;
	line-height: 22px;
	margin-top: 14px;
}

.home-section .big-icon {
	color: #7fd4dc;
	display: block !important;
	font-size: 10.5em !important;
	margin: 40px 0 15px;
	text-align: center;
}

.home-section h3 {
	text-align: center;
	font-size: 30px;
	margin: 0 0 35px;
}


.two-columns {
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
  -moz-column-count: 2; /* Firefox */
  column-count: 2;
	webkit-column-gap: 40px; /* Chrome, Safari, Opera */
  -moz-column-gap: 40px; /* Firefox */
  column-gap: 40px;
}


/* end home 3 sections */

#footer-enquiry {
	display: block;
	margin: 5em 0 0 0;
	padding: 20px 24px;
	background-color: #67CAE1;
	color: #FFF;
}

#footer-enquiry h1 {
	color: #393C43;
	font-size: 2.15em; 
	padding: 0;
	margin: 10px 0 0 0;
}

#footer-enquiry h1 a {
	color: #212C2F;
}

#footer-enquiry h2 {
	color: #555;
}

#footer-enquiry .button {
	padding: 2px 65px;
	margin: 22px 0 0 0;
	background-color: #333;
	font-size: 1.6em;
}

#footer-enquiry a.button:hover {
	color: #FFF;
	text-decoration: none;
	background-color: #f45a5a;
}


/* Testimonial Styling */

.testimonial {
	margin: 3em 0 0 0;
}

blockquote {
	border:none;
	font-family:  Georgia, "Times New Roman", Times, serif;
	quotes: "\201C""\201D""\2018""\2019";
	position: relative;
	font-size:18px;
	font-style: italic;
	color: #AAA;
	margin: 0 0 20px 0;
	padding: 0;
	text-indent: 2em;
}

blockquote .right-adjust {
	width: 2.5em;
	height: 1em;
	display: inline-block;
}

blockquote:before {
	font-style: normal;
	content: open-quote;
	font-weight: bold;
	font-size:60px;
	color: #B3E4F0;
	position: absolute;
	top: -25px;
	left: -40px;
} 
blockquote:after { 
	font-style: normal;
	content: close-quote;
	font-weight: bold;
	font-size:60px;
	color: #B3E4F0;
	position: absolute;
	bottom: -55px;
	right: 15px;
}

.testimonial p {
	display: block;
}

.testimonial p.name {
	margin: 0;
	color: #393B43;
}

.testimonial p.description {
	color: #878787;
	font-size: 12px;
}


.button {
	border: 0 none;
	cursor: pointer;
	display: inline-block;
	font-family: Roboto,sans-serif;
	font-size: 26px;
	line-height: 42px;
	padding: 2px 30px;
	color: #FFF;
}

a.button:hover {
	color: #FFF;
	text-decoration: none;
	background-color: #000;
}

.button.red {
    background-color: #F45A5A;
}
.button.medium {
    font-size: 20px;
}
.button, .button-big, button {
    background-color: #0697d6;
    color: #fff;
}

.btn-center {
    text-align: center;
    margin: 60px 0 0 0;
}


img.attachment-post-thumbnail {
    display: inline-block;
    float: left;
    height: auto;
    margin: 0 20px 20px 0;
    max-width: 100%;
    width: 200px;
}



/* FOOTER */

#footer {
	color: #FFF;
	background-color: #60646D;
	margin: 0;
	padding: 6px 0;
}

#footer p.disclaimer {
	text-align: center;
	color: #BBB;
	font-size: 0.9em;
	margin: 1em 0 0 0;
}

#footer p {color: #FFF;}

#footer h3 {
	font-size: 20px;
	color: #FFF;
}

#footer ul.nav {
	margin: 0 0 0 -15px;
}

#footer ul.nav li a {
	display: inline-block;
	margin: 0 0 1px 14px;
	padding: 1px;
}

#footer .nav li a:hover {
	text-decoration: underline;
	background-color: transparent; 
}

#footer a {
	color: #FFF;
}

#colophon {
	color: #d6d6d6;
	background-color: #393C43;
}

#colophon a {
	color: #d6d6d6;
}

#footer a .fa {
    opacity: 0.8;
}

#footer a .fa:hover {
    opacity: 1;
}

#footer .fa {
    color: #fff;
    font-size: 3.4em !important;
    margin-right: 30px;
}

#colophon {
	padding: 15px 0 0 0;
}

#colophon .copyright {
	display: block;
	text-align: right;
}

.sidebar .nav li a  {
	display: inline-block;
}

.sidebar li.current_page_item {
	margin-left: 0.5em;
	font-style: italic;
	font-weight: bold;
}

.sidebar li.current_page_item a:hover{background-color: transparent;}

.sidebar li.current_page_item a:before {content: "\00BB \0020";}

/* specific page styling overrides */

/* consultations */
.page-id-14 h2 {margin: -4px 0 12px;}
.page-id-14 h2 i {color: #CCC;}

/* home */

.home-services {margin: 3em 0 0 0;}
.home-services h3.widget-title {display: none;}
.home-services ul {padding: 0; margin: 0 0 0 -6px;}
.home-services ul li {padding: 2px;}
.home-services ul li a {padding: 4px 6px;}



/* ---- testimonials grid ---- */

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- grid-item ---- */

.grid-sizer,
.grid-item {
  width: 45%;
  margin-right: 5%;
}

.grid-item {
  float: left;
  margin: 0 0 1em 0;
}




/* responsive break fixes for mobile */

    /*==========  Mobile First Method  ==========*/
    /* Custom, iPhone Retina */ 
    @media only screen and (min-width : 320px) {}
    /* Extra Small Devices, Phones */ 
    @media only screen and (min-width : 480px) {}
    /* Small Devices, Tablets */
    @media only screen and (min-width : 768px) {}
    /* Medium Devices, Desktops */
    @media only screen and (min-width : 992px) {}
    /* Large Devices, Wide Screens */
    @media only screen and (min-width : 1200px) {}


    /*==========  Non-Mobile First Method  ==========*/

    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {
			.navbar-nav a {font-size: 13px;}
			#footer-enquiry .button {font-size: 1.4em;}
    }

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {
			#quick-contact {margin: 30px 0 0;}
			#quick-contact p {font-size: 1.3em; line-height: 1em;}
			#sub-header {height: 100px;}
			#sub-header h1 {font-size: 20px; padding-left: 5em; top: 10px;}
			#footer-enquiry h1 {font-size: 1.7em;}
			#footer-enquiry .button {font-size: 1.2em; padding: 2px 15px; margin-top: 15px;}
			#colophon {font-size: 13px;}
    }

    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
			.navbar-collapse .navbar-nav {float: none;}
			.navbar {margin: 0;}
			.navbar-default .navbar-nav .open .dropdown-menu > li > a {color:#FFF;}
			#quick-contact p {font-size: 1.1em;}
			#sub-header h1 {font-size: 18px; padding-left: 3em;}
			.main-content-inner h1 {margin-top: 0;}
			#footer-enquiry {margin: 2em 0 0;}
			#footer-enquiry h1 {font-size: 1.4em; text-align: center;}
			#footer-enquiry .button {display: block; margin: 20px auto 0 auto; text-align: center; width: 14em;}
			#colophon {text-align: center;}
			#colophon .copyright {display: inline; text-align: center;}
			#footer p.disclaimer {font-size: 0.8em;}
			#colophon {font-size: 10px;}
    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {
			#logo {margin: 10px auto 0 auto; max-width: 75%;}
			#quick-contact {float: none; margin: 10px 0 0 0;}
			#quick-contact p {text-align: center;}
			#sub-header {height: 85px;}
			#sub-header h1 {font-size: 14px; padding-left: 1.5em; top: 0; right: 0;}  
			#footer {text-align: center;}
			#footer .remove-480 {display: none;}
			#footer .fa {margin: 0;}
			.grid-sizer, .grid-item {width: 100%; margin-right: 0;}
    }

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {
      
    }

