/*!
 * 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://fonts.googleapis.com/css?family=Source+Sans+Pro);
@import 'https://fonts.googleapis.com/css?family=Oswald';
@import 'https://fonts.googleapis.com/css?family=Droid+Sans';
@import '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. */
}

#skiptocontent a:focus {
    position: absolute;
    left: 0px;
    top: 0px;
    outline: 0;
    -webkit-transition: top .1s ease-in;
    transition: top .1s ease-in;
}

#skiptocontent a {
    padding: 6px;
    font-size:18px;
    position: absolute;
    top: -40px;
    left: 0px;
    color: #fff;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-bottom-right-radius: 8px;
    background: #3544B1;
    -webkit-transition: top 1s ease-out;
    transition: top 1s ease-out;
    z-index: 100;
}

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

.headermain a  {text-decoration:none;}


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



p{font-size:16px;}

.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 0px 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;
	border-top: 5px solid #337ab7;
}
	
.carousel-inner .slide-content h1 {
  font-size: 30px;
  margin: 0 0 10px;
  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("../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;
	background-color: #003366;
	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: 500;
		text-decoration: none;
		line-height: 20px;
		/*padding-bottom: 12px;*/
	}

	/*#main-footer h3::after {
		content: '';
		position: absolute;
		display: block;
		width: 20px;
		height: 2px;
		background: #337ab7;
	}*/

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

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

#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: #ffffff;}

.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: #0365b9 url(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: .1;*/}

.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:#0365b9;
	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 a:hover {color:#003366;}
.design-hand ul li a.selected {color:#003366;/*background-color:#fff;*/}

.design-hand ul ul li a:hover {color:#003366;}
.design-hand ul ul li a.selected {color:#003366;/*background-color:#fff;*/}

.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(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:#0365b9;
	line-height:20px;
	text-transform:none;
	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(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(../images/accord-bg.png) no-repeat 283px 23px #ffe208;
}
.design-hand .panel.panel-default.active a {font-size:23px;line-height:32px; background: url(../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:0px 10px 20px 0px; }
.jollnews{width:100%}
.jollnews img{float:left;}
.jollnews h3{height:40px;}
.jollnews h3 a{text-decoration:none; font-size:18px;}

.external {
    background: url(/media/68640/external_link.gif) top right no-repeat;
    padding-right: 18px;
}
.peoplename{height:60px;}
.peoplerole{height:90px;}

.navbar-nav > li.current  {/*background:#003087;*/ border-bottom:5px solid #003366;}
a.current {
	border-bottom: 5px solid #003366;
}
/*.current{background:#000000;}*/
.homenewsimage {
	border-bottom: 0px solid #cccccc;
	margin-bottom: 10px;
	width: 100%;
}

.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;*/}

/*NEW 2021*/

section {
	padding: 0px 0px 40px 0px;
	overflow: hidden;
}

.section-bg {
	background-color: #436f991c;
}



.icon-box {
	padding: 0px 0px 0px 0px;
	transition: all ease-in-out 0.3s;
	background: #fff;
	min-height: 240px;
	box-shadow: 0px 0 30px rgb(1 41 112 / 10%);
}
	.icon-box p {
		text-align: left;
		padding:20px;
	    font-size:16px;color:#003366;}

	.icon-box p a {
		
		color: #003366;
	}


/* Call To Action Section
--------------------------------*/
#call-to-action {
	background: #003366;
	background-size: cover;
	padding: 5px 0;
	border-top: 5px solid #337ab7;
	border-bottom: 5px solid #337ab7;
}

	#call-to-action .cta-title {
		color: #fff;
		font-size: 28px;
		font-weight: 700;
		text-align:left;
	}

	#call-to-action .cta-text {
		color: #fff;
		font-size: 18px;
		font-weight: 300;
		text-align: left;
	}

@media (min-width: 769px) {
	#call-to-action .cta-btn-container {
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}
}

#call-to-action .cta-btn {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 1px;
	display: inline-block;
	padding: 8px 26px;
	border-radius: 3px;
	transition: 0.5s;
	margin: 10px;
	border: 3px solid #fff;
	color: #fff;
}

	#call-to-action .cta-btn:hover {
		background: #337ab7;
		border: 3px solid #337ab7;
	}


/* About Us Section
--------------------------------*/
#about {
	/*background: url("../img/about-bg.jpg") center top no-repeat fixed;
	background-size: cover;*/
	background: #436f991c;
	padding: 20px 0 40px 0;
	position: relative;
}

	#about::before {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		/*background: rgba(255, 255, 255, 0.92);*/
		z-index: 9;
	}

	#about .container {
		position: relative;
		z-index: 10;
	}

	#about .about-col {
		background: #fff;
		border-radius: 0 0 4px 4px;
		box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
		margin-bottom: 20px;
	}

		#about .about-col .img {
			position: relative;
		}

			#about .about-col .img img {
				border-radius: 4px 4px 0 0;
			}

		#about .about-col .icon {
			width: 64px;
			height: 64px;
			text-align: center;
			position: absolute;
			background-color: #003366;
			border-radius: 50%;
			border: 4px solid #fff;
			left: calc( 50% - 32px);
			bottom: -30px;
			transition: 0.3s;
			display: flex;
			align-items: center;
			justify-content: center;
		}

		#about .about-col i {
			font-size: 28px;
			line-height: 0;
			color: #fff;
			transition: 0.3s;
		}

		#about .about-col:hover .icon {
			background-color: #fff;
		}

		#about .about-col:hover i {
			color: #003366;
		}

		#about .about-col h2 {
			color: #000;
			text-align: left;
			font-weight: 700;
			font-size: 20px;
			line-height: 24px;
			padding: 0;
			margin: 40px 0 12px 20px;
		}

			#about .about-col h2 a {
				color: #003366;
			}

				#about .about-col h2 a:hover {
					color: #337ab7;
				}



		#about .about-col h3 {
			color: #003366;
			text-align: center;
			font-weight: 700;
			font-size: 20px;
			padding: 0;
			margin: 40px 0 12px 0;
		}

			#about .about-col h3 a {
				color: #003366;
			}

				#about .about-col h3 a:hover {
					color: #337ab7;
				}



		#about .about-col p {
			font-size: 14px;
			line-height: 24px;
			color: #333;
			margin-bottom: 0;
			padding: 0 20px 20px 20px;
		}



/* Sections Header
--------------------------------*/
.section-header h3 {
	font-size: 28px;
	color: #003366;
	text-transform: none;
	text-align: left;
	font-weight: 500;
	position: relative;
	padding-bottom: 15px;
}

	/*.section-header h3::before {
		content: '';
		position: absolute;
		display: block;
		width: 120px;
		height: 1px;
		background: #ddd;
		bottom: 1px;
		left: calc(50% - 60px);
	}*/

	/*.section-header h3::after {
		content: '';
		position: absolute;
		display: block;
		width: 20px;
		height: 2px;
		background: #337ab7;
	}*/

.section-header p {
	text-align: center;
	padding-bottom: 30px;
	color: #333;
}
.portfolio-wrap {
	box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
	transition: 0.3s;
}


/* Portfolio Section
--------------------------------*/
#portfolio {
	padding: 20px 0 0 0;
}

	#portfolio #portfolio-flters {
		padding: 0;
		margin: 5px 0 35px 0;
		list-style: none;
		text-align: center;
	}

		#portfolio #portfolio-flters li {
			cursor: pointer;
			margin: 15px 15px 15px 0;
			display: inline-block;
			padding: 10px 20px;
			font-size: 12px;
			line-height: 20px;
			color: #666666;
			border-radius: 4px;
			text-transform: uppercase;
			background: #fff;
			margin-bottom: 5px;
			transition: all 0.3s ease-in-out;
		}

			#portfolio #portfolio-flters li:hover, #portfolio #portfolio-flters li.filter-active {
				background: #18d26e;
				color: #fff;
			}

			#portfolio #portfolio-flters li:last-child {
				margin-right: 0;
			}

	#portfolio .portfolio-wrap {
		box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
		transition: 0.3s;
	}

		#portfolio .portfolio-wrap:hover {
			box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.16);
		}

	#portfolio .portfolio-item {
		position: relative;
		/*height: 360px;*/
		overflow: hidden;
		padding-bottom:30px;
	}

		#portfolio .portfolio-item figure {
			background: #000;
			overflow: hidden;
			/*height: 240px;*/
			position: relative;
			border-radius: 4px 4px 0 0;
			margin: 0;
		}

			#portfolio .portfolio-item figure:hover img {
				opacity: 0.4;
				transition: 0.3s;
			}
			#portfolio .portfolio-item:hover img {
				opacity: 0.4;
				transition: 0.3s;
			}
			#portfolio .portfolio-item figure .link-preview, #portfolio .portfolio-item figure .link-details {
				position: absolute;
				display: inline-flex;
				align-items: center;
				justify-content: center;
				opacity: 0;
				line-height: 1;
				text-align: left;
				width: 36px;
				height: 36px;
				background: #fff;
				border-radius: 50%;
				transition: 0.2s linear;
			}

				#portfolio .portfolio-item figure .link-preview i, #portfolio .portfolio-item figure .link-details i {
					font-size: 22px;
					color: #333;
					line-height: 0;
				}

				#portfolio .portfolio-item figure .link-preview:hover, #portfolio .portfolio-item figure .link-details:hover {
					background: #18d26e;
				}

					#portfolio .portfolio-item figure .link-preview:hover i, #portfolio .portfolio-item figure .link-details:hover i {
						color: #fff;
					}

			#portfolio .portfolio-item figure .link-preview {
				left: calc(50% - 38px);
				top: calc(50% - 18px);
			}

			#portfolio .portfolio-item figure .link-details {
				right: calc(50% - 38px);
				top: calc(50% - 18px);
			}

			#portfolio .portfolio-item figure:hover .link-preview {
				opacity: 1;
				left: calc(50% - 44px);
			}

			#portfolio .portfolio-item figure:hover .link-details {
				opacity: 1;
				right: calc(50% - 44px);
			}

		#portfolio .portfolio-item .portfolio-info {
			background: #436f991c;
			text-align: left;
			padding: 10px 20px;
			height: 95px;
			border-radius: 0 0 3px 3px;
			border-bottom: 5px solid #337ab7;
		}

.portfolio-info1 {
			background: #436f991c;
			text-align: left;
			padding: 10px 20px;
			height: auto;
			min-height:240px;
			border-radius: 0 0 3px 3px;
			border-bottom: 5px solid #337ab7;
		}

			#portfolio .portfolio-item .portfolio-info .portfolio-info1 h4 {
				font-size: 18px;
				line-height: 22px;
				font-weight: 600;
				margin-bottom: 18px;
				padding-bottom: 0;
			}

				#portfolio .portfolio-item .portfolio-info .portfolio-info1 h4 a {
					color: #003366;
				}

					#portfolio .portfolio-item .portfolio-info .portfolio-info1 h4 a:hover {
						color: #000;
					}

			#portfolio .portfolio-item .portfolio-info .portfolio-info1 p {
				padding: 0;
				margin: 0;
				color: #b8b8b8;
				font-weight: 500;
				font-size: 14px;
				text-transform: uppercase;
			}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
	padding-top: 40px;
}

	.portfolio-details .portfolio-details-slider img {
		width: 100%;
	}

	.portfolio-details .portfolio-details-slider .swiper-pagination {
		margin-top: 20px;
		position: relative;
	}

		.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
			width: 12px;
			height: 12px;
			background-color: #fff;
			opacity: 1;
			border: 1px solid #18d26e;
		}

		.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
			background-color: #18d26e;
		}

	.portfolio-details .portfolio-info {
		padding: 30px;
		box-shadow: 0px 0 30px rgba(51, 51, 51, 0.08);
	}

		.portfolio-details .portfolio-info h3 {
			font-size: 22px;
			font-weight: 700;
			margin-bottom: 20px;
			padding-bottom: 20px;
			border-bottom: 1px solid #eee;
		}

		.portfolio-details .portfolio-info ul {
			list-style: none;
			padding: 0;
			font-size: 15px;
		}

			.portfolio-details .portfolio-info ul li + li {
				margin-top: 10px;
			}

	.portfolio-details .portfolio-description {
		padding-top: 30px;
	}

		.portfolio-details .portfolio-description h2 {
			font-size: 26px;
			font-weight: 700;
			margin-bottom: 20px;
		}

		.portfolio-details .portfolio-description p {
			padding: 0;
		}


/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/

.bggray {
	background: #efefef;
}
/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
transition: all 0.5s;
padding: 10px 0 5px 0;
border-bottom: 1px solid #ccc;
}
.contact-info {
	float: right;
	padding-top: 4px;
}

.social-links {
	float: left;
}

#topbar .contact-info i {
	font-style: normal;
	color: #fff;
}

		#topbar .contact-info i a, #topbar .contact-info i span {
			padding-left: 0px;
			color: #fff;
		}

		#topbar .contact-info i a {
			line-height: 0;
			transition: 0.3s;
			transition: 0.3s;
		}

			#topbar .contact-info i a:hover {
				color: #fff;
				text-decoration: underline;
			}

#topbar .social-links a {
	color: #337ab7;
	line-height: 0;
	transition: 0.3s;
	margin-right: 10px;
	padding-top: 0px;
	font-size: 24px;
}

		#topbar .social-links a:hover {
			color: #003366;
		}


/* Bootstrap 4 text input with search icon */

.has-search .form-control {
	padding-left: 2.375rem;
}

.has-search .form-control-feedback {
	position: absolute;
	z-index: 2;
	display: block;
	width: 2.375rem;
	height: 2.375rem;
	line-height: 2.375rem;
	text-align: center;
	pointer-events: none;
	color: #aaa;
}

.btn-blue {
	background: #11a7e2;
}

.border {
	border-top: 1px solid #ccc;
}

/*Staff Cards*/

.card-grid {
	display: flex;
	flex-wrap: wrap;
}

.card-outer {
	margin-top: 2rem;
    margin-bottom: 2rem;
    /*padding-left: 7.5px;
    padding-right: 7.5px;
	padding-left: 15px;
    padding-right: 0;*/
}
.card {
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	/*max-width: 300px;*/
	margin: auto;
	min-height: 100%;
	/*text-align: center !important;*/
	font-family: arial;
	padding-bottom:10px;	
}

.cardinner {
	display: flex;
	flex-direction: column;
	font-size: 16px;
	padding: 1rem;
    justify-content: space-evenly;
}
/*.card p{margin: 0 0 10px !important;}
.cardinner{padding:10px;}
.cardemail{font-size:10px;}*/

.staffname {
	font-size: 18px;
	font-weight: 600;
}
.role {
  	color: #003366;
  	/*font-size: 24px;*/
	padding-top: 1rem;
	height:45px;
}

.cardemail {
	font-size: 14px;
}

.card button {
  border: none;
  outline: 0;
  padding: 12px;
  color: white;
  background-color: #000;
  text-align: center;
  cursor: pointer;
  width: 100%;
  font-size: 18px;
}

.card button:hover {
  opacity: 0.7;
}

@media (min-width: 768px) and (max-width: 992px) {
	.card-outer {
	width: 50%;
	}
}


.rot-container {
background-color: #337ab7;
	padding: 3rem;
	margin-bottom: 4rem;
}

.rot-container p {
color: #ffffff;
}

.rot-container p:last-child {
    margin: 0;
}

.rot-link {
display: flex;
	flex-direction: row;
}

.rot-icon {
    margin: auto;
    padding-left: 3rem;
}

.rot-blue {
display: none;
}

.rot-container:hover .rot-white {
display: none;
}

.rot-container:hover .rot-blue {
display: block;
}

.rot-container:hover a {
text-decoration: none;
	color: #337ab7;
}
.rot-container:hover {
background-color: #f2f2f2;
	cursor: pointer;
}

.rot-container:hover p {
color: #337ab7;
}

