/*
Theme Name: Pharma Red Child
Theme URI: https://pharma.red
Author: Red Pharma
Author URI: https://pharma.red
Template: pharmared
Description:  The best WordPress starter theme 
Version: 3.0.16
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wp-bootstrap-starter
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready, right-sidebar, custom-background, e-commerce, theme-options, sticky-post, full-width-template
*/

/* Menu */

header#masthead { 
   background-color: #cf112b!important;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
	position: relative;
	color: #fff;
	padding: 1.2rem;
	padding-bottom:10px;
	font-size: 0.975rem;
    text-transform: uppercase;
	font-weight: 600;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a:before {
content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.dropdown-menu {
	min-width: 12rem!important;
	font-size: 0.9rem!important;
}

.dropdown-menu .dropdown-item {
	line-height: 1.5!important;
	padding: .25rem 1rem!important;
}

.dropdown:hover>.dropdown-menu {
  display: block;
}

.dropdown-menu .dropdown-item:hover {
    color: #cf112b;
}

/* Home Page */

.site-content {
	padding-top:0px!important;
}

.home .entry-content {
	margin-top:0px!important;
}

.carousel-title {
	margin-top:40px;
} 
.carousel-title h2 {
   font-size: 1.6rem;
   margin-bottom:0px;
   padding-bottom:0px;
}

.title-divider {
	height: 15px;
	display: inline-block;
    width: 60px;
}

.title-divider:after {
	content: "";
    height: 4px;
    background-color: #cf112b;
    width: inherit;
    display: block;
}

/*Pre-footer */

.jumbotron {
	background-color:#f3f3f3!important;
	margin-bottom:0!important;
}

.pre-footer h3 {
    font-size: 1.25rem;
    margin-bottom: 0px;
}

.recent-news {
    padding-left: 0px;
	margin-top: 20px;
}

.recent-news li {
	list-style-type:none;
}

.recent-news li figure {
	float: left;
    width: 100px;
    border: 1px solid #f9f9f9;
    padding: 3px;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 1px 1px 3px 1px rgba(0,0,0,.04);
    margin-right: 20px;
	display:block;
}

.recent-news li h4 {
	display:inline;
	line-height:0.1;
}

.recent-news li h4 a, .service-title, .panel-title, .panel-group .btn-link  {
	font-size: 1rem;
    color: #6b6b6b;
	font-weight:600;
}

.recent-news li h4 a:hover, .panel-group .btn-link:hover {
	color:#cf112b;
	text-decoration:none;
}

.recent-news p {
	font-size:0.8rem;
	margin-top: 10px;
	margin-bottom: 4px;
}

.recent-news .post-desc {
	display: block;
    overflow: hidden;
}

.recent-news span.entry-date {
    font-size: 0.7em;	
}

.recent-news i.fa.fa-calendar {
	padding-right:8px;
	color:#949494;
}

.news-item {
	margin-bottom: 30px;
}

.service-item .service-icon {
    float: left;
    margin-right: 20px;
    margin-bottom: 26px;
    text-align: center;
    line-height: 0;
    display: inline-block;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    max-width: 100%;
}

.service-item .service-icon i {
	color: #cf112b;
    font-size: 18px;
    line-height: 46px;
}

.service-item.clearfix.first {
    margin-top: 18px;
}

.service-item h4 {
	clear:none;
}

.service-item p, .card-body {
	font-size: 0.9rem;
    line-height: 1.4;
}


.panel-group [data-toggle="collapse"]:after {  
  font-family: FontAwesome; 	
  content: "\f13a";
  float: right;    	
}

.panel-group [data-toggle="collapse"].collapsed:after {
  font-family: FontAwesome; 	
  content: "\f138";
  float: right;     	 
}

button.btn.btn-link[data-toggle="collapse"] {
   color:#cf112b;	
}

button.btn.btn-link[data-toggle="collapse"].collapsed {
    color:#6b6b6b;
}

button.btn.btn-link[data-toggle="collapse"].collapsed:hover {
    color:#cf112b;
}

.panel-group .card-body {
    padding-top: 8px;
}

.panel-group .card {
	background-color:transparent;
	border:0px;
}

.panel-group .card-header {
	padding: 0;
	background-color: transparent;
	border-bottom:0;
}

.panel-group .btn {
	padding-left:0;
	padding-top: 0;
	width:100%;
	text-align: left;
}

.panel-group .btn-link:active, .panel-group .btn-link:focus {
	text-decoration:none;
}

.panel-group .card-body {
	padding:0;
}

.panel-group {
	margin-top:15px;
}



/* Woocommerce */

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	border: 1px solid #eee;
    padding: 20px 20px 20px 20px!important;
    -webkit-box-shadow: 1px 1px 3px 0 #f2f2f2;
    -moz-box-shadow: 1px 1px 3px 0 #f2f2f2;
    -ms-box-shadow: 1px 1px 3px 0 #f2f2f2;
    box-shadow: 1px 1px 3px 0 #f2f2f2;
    background-size: 100% 200px;
    background-position: left bottom;
    background-repeat: no-repeat;
    background-image: -ms-linear-gradient(bottom,#fafafa 0,#fdfdfd 20%,#fff 60%);
    background-image: -moz-linear-gradient(bottom,#fafafa 0,#fdfdfd 20%,#fff 60%);
    background-image: -o-linear-gradient(bottom,#fafafa 0,#fdfdfd 20%,#fff 60%);
    background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0,#fafafa),color-stop(.2,#fdfdfd),color-stop(.6,#fff));
    background-image: -webkit-linear-gradient(bottom,#fafafa 0,#fdfdfd 20%,#fff 60%);
    background-image: linear-gradient(to top,#fafafa 0,#fdfdfd 20%,#fff 60%);
}
.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
	min-height:50px;
	font-size:0.9em;
	font-weight: 600;
}
.woocommerce-LoopProduct-link.woocommerce-loop-product__link, .slick-col a {
	color:#cf112b;
}
.woocommerce-LoopProduct-link.woocommerce-loop-product__link:hover, .slick-col a:hover {
	text-decoration:none;
	color:#515151;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	font-size: 90%;
	font-weight: 600;
}

.woocommerce-Tabs-panel.woocommerce-Tabs-panel--description h2 {
	font-size:1.6rem;
}

.related.products h2 {
	font-size:1.6rem;
}

.related.products > h2 {
	 padding-top: 25px;
     border-top:1px solid #d3ced2;
}

.related.products > h2:after {
	content: '';
    display: block;
    height: 3px;
    width: 50px;
    background: #cf112b;
    margin-top: 5px;
}



/* Home Page Carousel */

.slick-prev:before,
.slick-next:before
{
  color:#868686;	
}

/* Footer */

div#footer-widget {
	padding-top:50px;
}

div.bg-darker {
	background-color:#1d1d1d;
}

#footer-widget h3.widget-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #fff;
	font-weight:600;
}

#footer-widget .textwidget p {
	color: #9D9D9D;
}

div.bg-darker a {
	color:#7f7f7f;
}

div.bg-darker .nav-link {
	padding-left:0;
}

div.bg-darker .nav > li > a:focus, .nav > li > a:hover {
    background-color: #3a3a3a;
    text-decoration: none;
    color: #d4d4d4;
}

div.bg-darker .textwidget, div.bg-darker form.search-form {
	margin-top: 16px;
}

#footer-widget .row {
	border-bottom: 3px solid #323232;
}

body:not(.theme-preset-active) footer#colophon {
	background-color: #1d1d1d;
    color: #7f7f7f;
}

/* Beadcrumbs */

.page_title_holder.container-fluid {
	background-color:#f3f3f3!important;
}

.page_title_holder {
	padding: 36px 0;
    margin-bottom: 50px;
}

.page_title_holder h1 {
	float: left;
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 24px;
    width: 50%;
}

.breadcrumb {
	display: block!important;
	float: right;
    text-align: right;
    padding: 0!important;
    margin: 0!important;
    background-color: rgba(0, 0, 0, 0)!important;
    border-radius: 0!important;
    -moz-border-radius: 0!important;
    -webkit-border-radius: 0!important;
    font-size: 0.9rem;
    font-weight: 600;
    width: 50%;
}

.page_title_holder.container-fluid:before {
    display: table;
    content: " ";
}

.page_title_holder.container-fluid:after, .page_title_holder.container:after {
	clear: both;
	display: table;
    content: " ";
}

#breadcrumbs{
    list-style:none;
    margin:0;
    overflow:hidden;
}
  
#breadcrumbs li{
    display:inline-block;
    vertical-align:middle;
    margin-right:8px;
	list-style:none;
}
  
#breadcrumbs .separator{
    font-size:18px;
    font-weight:100;
    color:#ccc;
}

.page_info h1:after {
	content: '';
    display: block;
    height: 3px;
    width: 50px;
    background: #cf112b;
    margin-top: 5px;
}

.breadcrumbs li a, .posted_in a, .posted-on a, .author.vcard a, .blog .entry-title a:hover, .archive.category .entry-title a:hover {
    color: #cf112b;
	text-decoration:none;
}

.breadcrumbs li a:hover, .posted_in a:hover, .posted-on a:hover, .author.vcard a:hover {
    color: #6b6b6b;
	text-decoration:none;
}

.bread-current {
    font-weight: 600!important;
}

/* Blog */

.blog .entry-title, .archive.category .entry-title {
	margin-top:20px;
}

.single-post .entry-title {
	margin-top:25px;
}

.post-navigation .nav-previous a, .post-navigation .nav-next a {
	margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 600;
    border-radius: 3px;
    left: auto;
    color: #515151;
    background-color: #ebe9eb;
    border: 0;
    display: inline-block;
    background-image: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    text-shadow: none;
}

.post-navigation .nav-previous a:hover, .post-navigation .nav-next a:hover {
	background-color: #dad8da;
    text-decoration: none;
    background-image: none;
    color: #515151;
}

.single-post .post.hentry {
	margin-bottom:2rem;
}

/* Responsive */

@media (min-width:1024px) and (max-width:1200px) {
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	   font-size: 85%;
	}
}
@media (min-width:768px) {
  .woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
	    min-height:82px;
	}
   .slick-slide {
	padding-left:10px;
	padding-right:10px;
   }	
}

@media (max-width:768px) {
   .navbar-brand {
    width: 50%;
   }
	.page_title_holder h1 {
		float:none;
		width:100%;
	}	
	.breadcrumb {
		float:none;
		text-align:left;
		width:100%;
	}
	.breadcrumb ul {
		padding-left:0;
	}
}

@media (max-width: 991px) {
	.dropdown-item {
		color:#fff!important;
	}	
    .dropdown-item:hover {
		opacity:0.7;
	}
}

@media (min-width:991px) {
	.related.products li {
		margin-bottom:0!important;
	}
}