/*
Theme Name: CMFR 2015
Theme URI: http://senkouryu..net
Author: SenkouRyu Web Solutions
Author URI: http://senkouryu..net
Description: Custom Theme for CMFR
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body {
	font-family: 'Roboto', sans-serif;
	font-weight:400;
	font-size:1.5em;
	padding:0;
	margin:0;
	color:#000;
}

h1, h2, h3, h4 {
	font-family: 'Open Sans', sans-serif;
	font-weight:600;
	color:#000;
}
h4,.entry-meta {
	font-weight:300;
}

a, a:hover, a:focus {
	color:#d2302d;
}            	

img.navbar-brand {
	width:100%;
	height:auto;
}		

.text-center .img-responsive, .img-responsive.text-center {
	display:inline-block;
}

.border-bottom {
	border-bottom:1px solid #aaa;
	padding-bottom:10px;
	margin-bottom:10px;
}
.section {
	padding-top:10px;
	padding-bottom:10px;
}
.footer-sub {
	background-color:#565455;
}

footer, .navbar.navbar-default, #web-navigation-custom {
	background-color:#D32F2F;
}

footer a, .footer-sub a {
	color:white;
}

#web-navigation-custom .nav li a {
	color:white;
	margin-top:5px;
}

.font-light {
	font-weight:300;
}
.font-normal {
	font-weight:400;
}
.font-semibold {
	font-weight:600;
}
.font-bold {
	font-weight:700;
}

.nav.nav-pills.header-nav-pills li a {
	color:#ddd !important;
}
.nav.nav-pills.header-nav-pills li.active a, #web-navigation-custom .nav li.active a, #web-navigation-custom .nav .open>a, #web-navigation-custom .nav li a:focus {
	background-color:transparent;
}
.nav.nav-pills.header-nav-pills li a:hover,#web-navigation-custom .nav li a:hover {
	background-color:transparent !important;
	color:#fff !important;
}

.footer-sub, footer, .navbar.navbar-default .navbar-nav>li>a {
	color:white;
}

#subNav {
	display:none;
}

span.post-date {
    display: block;
}

.sidebar-widget ul {
	list-style: none;
	padding-left:20px;
}
.sidebar-widget ul li {
	border-bottom:1px solid #ccc;
	margin-top: 10px;
	padding-bottom: 10px;
}
.sidebar-widget ul li:before {
    /*Using a Bootstrap glyphicon as the bullet point*/
    content: "\e080";
    font-family: 'Glyphicons Halflings';
    font-size: 9px;
    float: left;
    margin-top: 4px;
    margin-left: -17px;
    color: #CCCCCC;
}

.byline {
	font-family: 'Open Sans', sans-serif;
	font-weight:600;
	color:#565555;
}

h2.subtitle, h3.subtitle {
	color:#9E9E9E;
	font-weight:700;
}

.well.post-info {
	border-radius:0px;
	border:0px;
	box-shadow:0px 0px 0px #000;
	font-weight:300;
}

/* Custom bootstrap carousel */
.carousel-caption {
  left: 0%;
  right: 0%;
  bottom:0;
  padding-bottom: 0px !important;
  padding-top:10px !important;
  padding-left:20px;
  padding-right:20px;
  font-size:1.2em;
  background-color:rgba(0,0,0,0.4);
  text-align:left;
}
.carousel-caption h4 {
	/*text-shadow:0px 0px 0px #000;*/
	color:white;
	/*display:none;*/
}
.carousel-caption p {
	font-size:0.8em;
}
.carousel-li-item {
	opacity:0.6;
	position:relative; 
	 padding:0;
	 margin:0;
	 /*width:16.6667%;*/
	 width:15.93%;
	 height:130px;
	 display:inline-block;
	 /*border:1px solid white;*/
	 /*border-left:10px solid white;*/
	 margin-top:10px;
	 margin-left:5px;
	 margin-right:5px;
	 cursor:pointer;
	 transition:opacity 0.2s linear;
}
.carousel-li-item:first-child {
	margin-left:0px;
}
.carousel-li-item:last-child {
	margin-right:0px;
}
@media(max-width:1199px){
	.carousel-li-item {
		width:15.78%;
	}
}
@media(max-width:991px){
	.carousel-li-item {
		height:70px;
		width:15.50%;
	}
}

#frontpage-hero .carousel > .carousel-inner {
	height:380px;
}
#frontpage-hero .carousel > .carousel-inner > .item{
	height:380px;
}
#frontpage-hero .carousel > .carousel-inner > .item > img{
	height:380px !important;
}

@media(min-width:768px) and (max-width:1199px){
	#frontpage-hero .carousel > .carousel-inner {
		height:313px;
	}
	#frontpage-hero .carousel > .carousel-inner > .item{
		height:313px;
	}
	#frontpage-hero .carousel > .carousel-inner > .item > img{
		height:313px !important;
	}
}

@media (max-width:767px){
	#frontpage-hero .carousel > .carousel-inner {
		height:250px;
	}
	#frontpage-hero .carousel > .carousel-inner > .item{
		height:250px;
	}
	#frontpage-hero .carousel > .carousel-inner > .item > img{
		height:250px !important;
	}
}
@media (max-width:767px){
	#frontpage-hero .carousel > .carousel-inner {
		height:200px;
	}
	#frontpage-hero .carousel > .carousel-inner > .item{
		height:200px;
	}
	#frontpage-hero .carousel > .carousel-inner > .item > img{
		height:200px !important;
	}
}

.carousel-li-item.selected, .carousel-li-item:hover, .carousel-li-item.active {
	opacity:1;
}

.carousel-indicators {
	bottom:5px;
}

.carousel-indicators li {
	
}

.carousel-control {
	background-image:none !important;
	/*z-index:900;*/
}

.carousel-box-holder {
	display:inline-block;
	width:100%;
	/*height:100%;*/
	height:215px;
	position:relative;
	background-position:center;
}
@media(max-width:480px) {
	.carousel-box-holder {
		height:150px;
	}
}
.carousel-box-holder .carousel-hover-text {
	/*display:none;*/
	background-color:rgba(0,0,0,0.7);
	color:white;
	padding:5px;
	position: absolute;
	bottom:0;
	left: 0;
	right: 0
}
.carousel-box-holder .carousel-hover-text a {
	color:white;
	text-decoration: none;
	font-size:0.9em;
}
.carousel-box-holder:hover .carousel-hover-text {
	display: inline-block;
}

.category-post-excerpt .carousel-box-holder {
	height:300px;
}
.category-post-excerpt .carousel-box-holder .carousel-hover-text {
	display: inline-block;
	transition:all 0.2s linear;
}

.category-post-excerpt:hover .carousel-box-holder {
	background: #eee;
}

.category-post-excerpt:hover .carousel-box-holder .carousel-hover-text {
	font-size:1.2em;
	color:#ddd;
}

@media(max-width:991px){
	.carousel-box-holder .carousel-hover-text {
		display: inline-block;
		/*position:relative;*/
		height:50px;
		width:100%;
		overflow-y:hidden;
	}
	.carousel-category .carousel .img-responsive {
	    height: auto;
	    width: 100%;
	}
	
	.category-post-excerpt .carousel-box-holder {
		height:auto;
	}
	.category-post-excerpt .carousel-box-holder img.img-responsive {
		max-height:120px;
	}
	.carousel-box-holder .carousel-hover-text a {
		/*color:#888;*/
	}
	.carousel-box-holder .carousel-hover-text {
	    /*background-color:transparent;*/
	}
}

.frontpage-feature-list .list-group-item, .frontpage-feature-list .list-group-item.active {
	background-color:transparent !important;
	border-left:0px !important;
	border-right:0px !important;
	border: 1px solid #ddd;
	color:#555;
}
.frontpage-feature-list .list-group-item:hover {
	background-color:#f5f5f5 !important;
}
.frontpage-feature-list .list-group-item:first-child{
	border-top:0px !important;
	border: 1px solid #ddd;
	color:#555;
}
.frontpage-feature-list .list-group-item:first-child img{
	margin-bottom:10px;
}
.frontpage-feature-list .list-group-item:first-child .list-group-item-text {
	color:#888;
}

.category-feature-list .list-group-item {
	border:0px;
}
.category-feature-list .list-group-item:hover {
    color: #888;
    background-color:#f5f5f5 !important;
    border:0px;
}

@media(min-width:768px){
	.list-group-item {
		background-image:none !important;
	}
	
}
@media(max-width:767px){
	h1 {
		font-size:1.2em;
	}
	h2, h3 {
		font-size:1em;
	}
	.frontpage-feature-list h4 {
		font-size:0.8em;
	}
	.frontpage-feature-list .list-group-item, .frontpage-feature-list .list-group-item.active {
		color:#fff;
	}
}

.frontpage-gallery .panel .carousel .img-responsive {
	max-height:82px;
}

.carousel-category .carousel .img-responsive, .frontpage-feature-list .img-responsive {
	/*max-height:176px;*/
	display:inline;
}

.footer-sitemap ul li ul {
    /*padding-left: 10px;*/
}
.footer-sitemap ul {
    margin: 0;
    padding: 0;
}
.footer-sitemap ul > li ul li {
    width: 100%;
}
.footer-sitemap ul > li {
    width: 30%;
    display: inline-block;
    vertical-align:top;
}

.footer-sitemap ul > li > a {
    color: #aaa;
}
.footer-sitemap ul > li > ul > li > a {
    color: white;
}

.footer-sitemap ul > li > ul {
    border-top:1px solid #aaa;
    margin-top:15px;
    padding-top:15px;
}
.footer-sitemap ul > li > ul li ul {
    border-top:0px;
    margin-top:0px;
}

.footer-sub h1, .footer-sub h2, .footer-sub h3, .footer-sub h4 {
	color:white;
}

.footer-sitemap span.caret {
	display:none;
}

@media(max-width:991px) {
	.footer-sitemap ul > li {
	    width: 100%;
	    display: block;
	}
}

#mobileMenu a {
	color:white;
}

.header-menu.nav> li> a {
	color:white;
	border-bottom:1px solid transparent;
	background-color:transparent !important;
}
.header-menu.nav> li>a:hover, .header-menu .nav> li >a:focus {
	color:white !important;
	background-color:transparent !important;
	border-bottom:1px solid red;
}

#subNav li a.header-menu-controls {
	color:#9E9E9E;
}

#subNav {
	color:white;
}
#subNav.showmenu {
	display:block;
}
#subNav a {
	color:white;
	font-family: 'PT Sans', sans-serif;
}
/*#subNav .nav>li>a,#subNav .nav>li>a {
	padding:5px;
}*/
#subNav .main-menu-x-button {
	color:#9E9E9E;
}
#subNav .nav>li>a:hover,#subNav .nav>li>a:focus {
	background-color:transparent;
	color:red;
}

@media(min-width:992px){
	#web-navigation-custom.fixed {
		position:fixed;
		z-index:9999;
		width:100%;
		top:0;
	}
	#subNav.fixed {
		position:fixed;
		z-index:9999;
		width:100%;
	}
}


@media(max-width:991px){
	/*#bodyContent {
		margin-top:35px;
	}*/
	
	#web-navigation-custom {
		position:fixed;
		z-index:9999;
		height:35px;
		width:100%;
		top:0;
	}
	#mobileMenu {
		height:35px;
	}
	#mobileMenu .row {
		/*margin-top:3px;*/
		margin-top:0px;
	}
	#mobileMenu img {
		height:35px;
	}
	#subNav {
		position:fixed;
		z-index:9999;
		top:40px;
		width:0;
		transition:width 0.2s linear;
		overflow-x: hidden;
		display:inline;
	}
	#subNav.showmenu {
		width:100%;
	}
	#subNav li {
		display:block;
		width:100%;
		
	}
	
	#subNav li a {
		border-bottom:1px solid #3d3d3d;
	}
	
	#subNav > div:first-child {
		overflow-y:auto;
	}
	.header-menu {
		display:block;
		opacity:0;
/*		width:1024px;*/
		margin-top:20px;
		transition:opacity 1s linear;
	}
	.showmenu .header-menu {
		opacity:1;
	}
	.carousel-indicators {
	    bottom: -15px;
	}
	.category-post-excerpt {
		max-height:240px;
		overflow-y: hidden;
	}
}

.carousel-indicators {
	display:none;
}
@media(max-width:767px) {
	.carousel-indicators {
		display:inline;
	}
}

.fx-appear {
	/*background-color:#f7f7f7;*/
	padding-top:10px;
	padding-bottom:10px;
}

.sidebar-widget .well {
	background-color:#f7f7f7;
	border-radius:0;
	box-shadow:0 0 0 #000;
	border:0px;
}

#searchBox {
	display:none;
}
#pageTop {
	display:block;
	width:100%:
}
@media(max-width:991px){
	#pageTop {
		height:35px;
	}
}

@media (min-width:992px) and (max-width:1199px){
	#web-navigation-custom .nav li a {
	    font-size: 0.9em;
	    margin-top:0px;
	    padding-bottom:0px;
	}
	#cmfr-logo {
		/*margin-top:8px;*/
		margin-top:8px;
	}
}

@media(max-width:767px){
	.frontpage-feature-list .list-group-item:first-child .list-group-item-heading {
	    position: absolute;
	    /* top: -10px; */
	    bottom: 0px;
	    margin-left: auto;
	    /* width: 90%; */
	    margin-right: auto;
	    left: 0;
	    right: 0;
	    background-color: rgba(0,0,0,0.5);
	    padding: 10px;
	    color: white;
	}
	.frontpage-feature-list > a > img {
		visibility:hidden;
		height:150px;
	}
}

input, select, textarea {
	max-width:100%;
}

/* force attachments to be responsive */
video, embed, img.attachment-full {
	max-width:100% !important;
	height:auto !important;
}
iframe {
	max-width:100% !important;
	margin:auto;
}


/* CRP related posts overrides */
#crp_related.crp_related > h3 {
	margin-top:30px !important;
}
.crp_related .crp_title {
     position: relative; 
     font-size:1em;
}
.crp_related a {
    width: 80px;
    height: 80px;
    text-decoration: none;
}
.crp_related img {
    max-width: 80px;
    height:auto;
    margin: auto;
}

.crp_related li {
	display: block;
    width: 46%;
    box-shadow: 0px 0px 0px #000;
    border: 0px;
    border-bottom:1px solid #ddd;
    height:150px;
}

.crp_related li .crp_title, .crp_related li:hover .crp_title {
    background-color: transparent;
    /*width:auto;*/
    color:#333;
    text-shadow:0px 0px 0px #000;
    box-shadow:0px 0px 0px #000;
    /*margin-top:55px;*/
    text-align:left;
    width:70%;
    margin-top:30px;
    
}
@media(max-width:767px){
	.crp_related li {
		height:auto;
		width:100%;
	}
	.crp_related li .crp_title {
		width:50%;
		margin-top:15px;
	}
}

.breadCrumbs a, .breadCrumbs {
	color:white;
	text-decoration:none;
}

#ytc-wrapper .col-xs-4 {
    text-align: left;
}
.ytc-links {
	display:none;
}

.carousel-caption .btn.btn-default {
    color: white;
    background-color: #D32F2F;
    border: 0;
    margin-bottom: 10px;
}

@media(max-width:768px){
	.carousel-caption p {
		display:none !important;
	}
}

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
