/*!
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

@import url(https://nrs.preservation.mirrorweb.com/public/20210319191725cs_/https://fonts.googleapis.com/css?family=Source+Sans+Pro);
@import 'https://nrs.preservation.mirrorweb.com/public/20210319191725cs_/https://fonts.googleapis.com/css?family=Oswald';
@import 'https://nrs.preservation.mirrorweb.com/public/20210319191725cs_/https://fonts.googleapis.com/css?family=Droid+Sans';
@import 'https://nrs.preservation.mirrorweb.com/public/20210319191725cs_/https://fonts.googleapis.com/css?family=Roboto+Slab';
    
html,
body {height: 100%;}

body {
	padding-top: 0px; 
	/* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}

.img-portfolio {margin-bottom: 30px;}
.img-portfolio img {box-shadow: 0px 10px 10px 0px #888888;}
.img-portfolio h3{font-size:16px;line-height:19px;height:32px;}
.img-hover:hover {opacity: 0.8;}

/* Home Page Carousel */

header.carousel {height: 50%;}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {height: 100%;}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;}

/* 404 Page Styles */

.error-404 {font-size: 100px;}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;}

.period {display: block;font-style: italic;}

/* Footer Styles */

footer {margin: 0;}

.aboveheader {padding-top:10px;padding-bottom:5px;}

/*.header h1{color:#3A3C41; font-family: 'Oswald', sans-serif;}
.header h2{color:#667;font-size:24px;font-family: 'Oswald', sans-serif;}*/

.header h1 {
	color:#3A3C41;
	font-size:40px; 
	font-family: 'Source Sans Pro', sans-serif;
	padding-bottom: 0;}

.header h2 {
	color:#667;
	font-size:24px;
	font-family: 'Source Sans Pro', sans-serif;
	margin-top: 0;}

.logo1{
	float: right;
	height: 106px;
	padding: 0px 20px 10px 0px;
	font-size: 18px;
	line-height: 20px;}

/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
     margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;}

	.slide-content h1 {display:none;}
	
	.carousel-inner .slide-content {display:none;}}

#custom-search-input {
	float: right;
	height: 60px;
	padding: 20px 20px 10px 10px;
	font-size: 18px;
	line-height: 20px; width:40%;}

/*#custom-search-input {
	margin:0;
	margin-top: 0px;
	padding-bottom: 5px;}*/
 
    #custom-search-input .search-query {
        padding-right: 3px;
        padding-right: 4px \9;
        padding-left: 3px;
        padding-left: 4px \9;
        /* IE7-8 doesn't have border-radius, so don't indent the padding */
        margin-bottom: 0;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;}
 
    #custom-search-input button {
        border: 0;
        background: none;
        /** belows styles are working good */
        padding: 2px 5px;
        margin-top: 2px;
        position: relative;
        left: -28px;
        /* IE7-8 doesn't have border-radius, so don't indent the padding */
        margin-bottom: 0;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        color:#337ab7;}
 
.search-query:focus + button {z-index: 3;}

.carousel-inner .content-wrapper {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  z-index: 999;}
  
.carousel-inner .slide-content {
  	width: 60%;
	background-color: #ffffff;
	padding: 2%;
	opacity:0.8;}
	
.carousel-inner .slide-content h1 {
  font-size: 36px;
  margin: 0 0 15px;
  font-weight: 400;
  font-family: 'Droid Sans', sans-serif;}

.carousel-inner .slide-content h1 span {font-weight: 800;}

.carousel-inner .slide-content h1:after {
  /*content: url("/public/20210319191725oe_/https://www.scotlanddeanery.nhs.scot/images/plus-red.png");*/
  margin-left: 10px;}

.carousel-inner .slide-content p {
  font-size: 17px;
  color: #3a3c41;
  margin-bottom: 15px;
  line-height: 20px;}

.carousel-inner .slide-content .slider-button {
  padding: 10px 30px;
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
	/*font-family: 'Roboto Slab', serif;*/
    background-color: #337ab7;
	color: #ffffff;}

.carousel-inner .slide-content .slider-button:hover {
    background-color:#2e6da4;
    color: #fff;}

.carousel-inner .slide-content.display-bg {
  background-color: rgba(225, 255, 255, 0.6);
  padding: 20px;}

.carousel-inner.slide-content.display-bg h1 {
  font-size: 42px;}

/*TAKEN*/

/*------------------------------------------------------*/
/* Footer styles
/*------------------------------------------------------*/
#main-footer {
  background-color: #3a3c41;
  padding: 50px 0 30px 0;
  color: #efefef;
  line-height: 24px;}

#main-footer .widget h3.title {
    margin-bottom: 30px;
    color: #f0f5f7;
    font-size: 18px;
    font-weight: 700; 
	text-decoration: none;
	line-height:20px;}

#main-footer .widget p {margin-bottom: 25px;}

#main-footer .widget a {color: #b5bac6;}

#main-footer .widget a:hover {color: #cbd1de;}

#main-footer .widget ul {border-color: #4a4c52;padding-left:0px;}

#main-footer .widget ul li {border-color: #fff;list-style:none;}

#main-footer .widget .tagcloud a {color: #fff;}

#main-footer .widget label {color: #9ba0aa;}

#main-footer .widget input[type="text"] {
  background-color: #515359;
  border: none;
  padding: 12px 15px;
  margin-bottom: 13px;
  width: 100%;
  color: #fff;
  outline: none;
  overflow: hidden;}

#main-footer .widget input[type="text"]:focus {background-color: #696c74;}

#main-footer .widget input[type="submit"] {
  border: none;
  background-color: #67c9e0;
  color: #fff;}

#main-footer .widget input[type="submit"]:hover {background-color: #4dbed9;}

#main-footer .widget .wp-email-capture-widget {margin: 20px 0;}

#main-footer .appoint-widget span {
  border-bottom: 1px solid #4a4c52;
  padding-bottom: 5px;
  margin-bottom: 5px;
  display: block;}

#main-footer .appoint-widget span:last-child {
  border-bottom: none;}

#main-footer #wp_email_capture > form > div {
  background: transparent !important;
  color: #e0e0e0;
  margin: 0 0 15px !important;
  width: 100%;}

#subs_form #subs-error-container{
    margin-top: 10px;}

#subs_form #subs-error-container label{
    font-size: 14px;}

#subs_form #subs-response-container{
    margin-top: 10px;}

/*------------------------------------------------------*/
/* Footer Bottom
/*------------------------------------------------------*/
.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid #4a4c52;
  padding-top: 26px;}

.footer-bottom p {
  color: #efefef;}

.footer-bottom .footer-social-nav {
  margin: 0;
  padding: 0;
  float: right;}

.footer-bottom .footer-social-nav li {
  display: inline-block;
  list-style: none;
  margin-left: 10px;}

.footer-bottom .footer-social-nav li .fa {
  font-size: 18px;
  display: block;
  text-align: center;
  line-height: 20px;
  color: #53565c;}

.footer-bottom .footer-social-nav li .fa:hover {
  font-size: 20px;
  color: #fff;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  margin-top: -2px;}
.footer-bottom .footer-social-nav li a {
  width: 24px;
  height: 24px;
  display: inline-block;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;text-decoration: none;}

.footer-bottom .footer-social-nav li a:hover {text-decoration: none;}

/*------------------------------------------------------*/

/*my custom*/
.boxbg{background-color: #f2f2f2;}
.pad5{padding-top:7px;}

.bs-callout-info {border-left-color: #1B809E;}

.bs-callout {
    padding: 20px;
    margin: 20px 0px;
    border-width: 1px 1px 1px 5px;
    border-style: solid;
    border-color: #EEE;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    border-radius: 3px;}

/*----BACK TO TOP-------*/

.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgb(51, 122, 183) url(/public/20210319191725oe_/https://www.scotlanddeanery.nhs.scot/images/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;}

.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;}

.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;}

.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;}

.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;}

@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;}	
}

@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}

design-hand	{display:block;margin:0;padding:0;}
.design-hand ul {display:block;margin:0;padding:0;}
.design-hand ul li{display:block;margin:0 0 4px 0;padding:0;background:#efefef;width:auto;}

.design-hand ul li a {
	display:block;
	margin:0;
	padding:10px 8px 8px 28px;
	font-weight:600;
	font-family:'Droid Sans', sans-serif;
	font-size:15px;
	color:#337ab7;
	line-height:20px;
	cursor:pointer;
	text-decoration:none; 
	transition:all 0.3s ease-in-out; 
	-moz-transition:all 0.3s ease-in-out; 
	-ms-transition:all 0.3s ease-in-out; -o-transition:all 0.3s ease-in-out; 
	-webkit-transition:all 0.3s ease-in-out; 
	background-color: #f2f2f2;}

.design-hand ul li ul {
	display:block;
	margin:0;
	padding:8px 8px 8px 0;
	background:#f2f2f2;}

.design-hand ul ul li {display:block;margin:0 0 5px 0;padding: 3px 0 3px 0;
	background: url(/public/20210319191725oe_/https://www.scotlanddeanery.nhs.scot/media/1077/glass-arrow1.png) no-repeat 40px 8px;}

.design-hand ul ul li a {
	display:block;
	margin:0;
	padding: 1px 0 0px 60px;
	font-weight:normal;
	font-family: 'Droid Sans', sans-serif;
	font-size:15px;
	color:#337ab7;
	line-height:20px;
	text-transform:capitalize;
	background:none;}

.design-hand ul ul ul {
	display:none;
	margin:0;
	padding:10px 0 10px 0;
	background:#10499e;}

.design-hand ul ul ul li {
	display:block;
	margin:0;
	padding:0; 
	background:none;}

.design-hand ul ul ul li a {
	display:block;
	margin:0;
	padding:4px 10px 4px 54px;
	font-weight:bold;
	font-family:Arial, Helvetica, sans-serif, "Myriad Pro";
	font-size:13px;
	color:#ffffff;
	line-height:13px;
	background:none;}

.design-hand > ul > li.active {
	background: url(/public/20210319191725oe_/https://www.scotlanddeanery.nhs.scot/images/accord-bg.png) no-repeat 95% 16px #003366;}

.design-hand > ul > li.active > a {
	font-size:21px;
	line-height:22px; 
	padding:8px 22px 8px 15px;
	display:block;
	font-weight:bold;color:#fff;
	background-color: #337ab7;}

/*.de
.design-block .panel-title > a.active{ outline:none; text-decoration:none;font-weight:bold;font-size:32px;line-height:32px;background: url(/public/20210319191725oe_/https://www.scotlanddeanery.nhs.scot/images/accord-bg.png) no-repeat 283px 23px #ffe208;
}
.design-hand .panel.panel-default.active a {font-size:23px;line-height:32px; background: url(/public/20210319191725oe_/https://www.scotlanddeanery.nhs.scot/images/accord-bg.png) no-repeat 283px 16px;padding:6px 22px 6px 35px;display:block;font-weight:bold;}
.design-hand .panel.panel-default a {padding: 3px 35px;display:block;}
.design-hand .panel.panel-default a:hover, .design-hand .panel.panel-default a:focus{text-decoration:none;color:#0C489C;}
.panel-group{margin-bottom:0;}
.design-block .panel-default > .panel-heading{display:block;margin:0;padding:6px 0 7px 0;font-weight:normal;font-family:Arial, Helvetica, sans-serif, "Myriad Pro";font-size:12px;color:#0C489C;line-height:12px;background:#ffe208;text-transform:uppercase;cursor:pointer;}
.design-block .panel-body					{padding:0;}*/

.design-hand ul li ul.accord li{background:none;}
.design-hand ul li ul.accord li a {padding: 3px 0 10px 41px;}

.caption1 {
	background-color: #f2f2f2;
	padding:10px;
	margin:10px;
	box-shadow: 0px 10px 10px 0px rgba(136, 136, 136, 0.32);height:140px;}

.caption1 h3{font-size:18px;}

.caption {
	background-color: #fff;
	padding:10px;
	margin:10px;
	box-shadow: 0px 10px 10px 0px rgba(136, 136, 136, 0.32);height:250px;}

.caption h3{font-size:18px;}

/*TABLES*/

/* 
Generic Styling, for Desktops/Laptops 
*/
table { 
  width: 100%; 
  border-collapse: collapse;}

/* Zebra striping */
tr:nth-of-type(odd) { background: #eee;}

th { 
  background: #333; 
  color: white; 
  font-weight: bold; }

td, th { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: left;}

*/
.alternative table { 
  width: 100%; 
  border-collapse: collapse;}

/* Zebra striping */
.alternative tr:nth-of-type(odd) { }

.alternative th { 
   
  font-weight: bold; }

.alternative td, .alternative th { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: left;}

.news{font-size:20px;}
.jollnews img{padding:10px 10px 20px 10px; }
.jollnews{width:80%}
.jollnews h3{height:40px;}
.jollnews h3 a{text-decoration:none; font-size:18px;}

.external {
    background: url(/public/20210319191725oe_/https://www.scotlanddeanery.nhs.scot/media/68640/external_link.gif) top right no-repeat;
    padding-right: 18px;
}
.peoplename{height:60px;}
.peoplerole{height:90px;}

.navbar-nav > li.current  {background:#003087;}

.current{background:#000000;}

.homenewsimage {border:1px solid #cccccc;margin-bottom: 10px;}

.demec{ margin:0 auto; }

/**TO HELP ACCESSIBILITY**/

.visually-hidden{display:none;}

/**FOR CONTACT FORM**/
#comment1 {display:none;} 

.gallery{width:100%;height:auto;display: inline-block;}

.thumbnail1 img {
    padding: 5px;
    background: white;
    border: 1px solid #BBB;
    margin: 7px 14px 7px 0;
	width: 200px;height:160px;float:left;}


.cover{
	object-fit:cover;}

.img-fluid{width:100%;overflow:hidden;/*max-height:160px;*/}
