/*
Theme Name: CleaningService
Theme URI: http://cleanwebpages.com
Author: Paul Gehrke
Author URI: http://cleanwebpages.com/
Description: Bootstrap theme for CleaningService site.
Version: 1.0
Tags: gray, light, two-columns, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, sticky-post,  theme-options, threaded-comments, translation-ready



/* This is a small security for too long strings titles */
body { background-size:100% 100%; }
@media screen and (max-width: 768px) {
    body {  }
}
a {
    color: #5b5b5b;
    text-decoration: none;
}
a:hover, a:focus {
    color: #5b5b5b;
    text-decoration: underline;
}
.text-white{
	color:#FFF;
}
.pad-bottom-1{
	padding-bottom:1%;
}
.pad-top-1{
	padding-top:1%;
}
.entry-content {
	padding-top:1%;
	margin-bottom:1%;
	display:block;
}
.page-title{
	text-align:center;
	padding-top:5px;
}
.cat-links a, .tags-links a {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 80%;
    font-weight: bold;
    line-height: 1;
    color: #FFF;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    background-color: #5b5b5b;
}
.sidebar{
	background-color:#FFF;
	padding:2%;
	border-radius:.5em;
	margin-top: 15px;
	color:#5b5b5b; 
}
.site-navigation-inner .navbar{
	margin-bottom: 0px;
	color: #FFF;	
}
.navbar-default{
	border:none;
}
.site-navigation-inner .navbar-nav>li>a{
	color:#FFF;
}
.site-navigation-inner .navbar-nav>li>a:hover{
	color:#FFF;
}

a.btn-light:hover {
    color: #000;
}

.navbar-static-top{
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#258dc8+0,258dc8+100;Blue+Flat+%231 */
background: #213b58; /* Old browsers */
}

article, #comments{
	background-color:#FFF;
	padding:2%;
	padding-top:0px;
	border-radius:.5em;
	color:#5b5b5b;
}
/* 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: 10px;
	margin-bottom: 10px;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	max-width: 100%;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 0 10px;
}
.wp-caption.aligncenter {
	margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption .wp-caption-text {
	text-align: center;
	margin-top: 10px;
}

/* 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: #5cb85c;
	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: .1em;
}
.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;
}

.text-vertical-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.text-vertical-center h1 {
    margin: 0;
    padding: 0;
    font-size: 4.5em;
    font-weight: 700;
}

.bg-success{
	background-color:#0ce66d;
}
/* Custom Button Styles */

.btn-dark {
    border-radius: 0;
    color: #fff;
    background-color: rgba(0,0,0,0.4);
}


.btn-dark {
    border-radius: 0;
    color: #fff;
    background-color: #213b58;;
}

.btn-primary {
    color: #fff;
    background-color: #213b58;;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    color: #fff;
    background-color: rgba(0,0,0,0.7);
}

.btn-light {
    color: #333;
    background-color: rgb(255,255,255);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    color: #FFF;
    background-color: rgba(255,255,255,0.8);
}

/* Custom Horizontal Rule */

hr.small {
    max-width: 100px;
}

/* Side Menu */

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    right: 0;
    width: 250px;
    height: 100%;
    margin-right: -250px;
    overflow-y: auto;
    background: #222;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 55px;
    font-size: 18px;
    line-height: 55px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

#menu-toggle {
    z-index: 1;
    position: fixed;
    top: 0;
    right: 0;
}

#sidebar-wrapper.active {
    right: 250px;
    width: 250px;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.toggle {
    margin: 5px 5px 0 0;
}

/* Header */

.header {
    display: table;
    position: relative;
    width: 100%;
    height: 100%;
    background: #213b58;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

/* About */

.about {
    padding: 10px 0;
}

/* Services */

.services {
    padding: 25px 0 0 0;
    background: #0ce66d; /* Old browsers */
}

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

/* Callout */

.callout {
    display: table;
    width: 100%;
    height: 400px;
    color: #fff;
    background: url(../img/callout.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

/* Portfolio */

.portfolio {
    padding: 50px 0;
}

.portfolio-item {
    margin-bottom: 30px;
	max-height:305px;
	overflow:hidden;
}

.img-portfolio {
    margin: 0 auto;
}

.img-portfolio:hover {
    opacity: 0.8;
}

/* Call to Action */

.call-to-action {
    padding: 50px 0;
}

.call-to-action .btn {
    margin: 10px;
}

/* Map */

.map {
    height: 300px;
}

@media(max-width:768px) {
    .map {
        height: 75%;
    }
}


.carousel .item{
	min-height:100px;
	max-height:400px;
}
.carousel-caption h3:first-child {
  animation-delay: 1s;
}

.carousel-caption h3:nth-child(2) {
  animation-delay: 2s;
}
.homeslide{
	margin-left:15px;
	margin-bottom:10px;
}
.carousel-caption button {
  animation-delay: 3s;
}

.carousel-caption {
    margin-bottom:30px;
	padding:1%;
}

.panel {
	background-color:#EBE7E7;
}
.entry-content strong{
	color: #5b5b5b;
}

.dropdown-menu{
	background-color:#e7e7e7;
	border-top:none;
	margin-top:-3px;
}
.dropdown-menu>li>a{
	color:#000;
}
.dropdown-menu>li>a:hover{
	color:#FFF;
	background-color:#e7e7e7;
}
.dropdown-menu li a:hover, .dropdown-menu li a:focus {
    color: #ffffff;
    text-decoration: none;
    background-color: #5cb85c;
    background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#5cb85c));
    background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #5cb85c, 100%);
    background-image: -moz-linear-gradient(top, #5cb85c 0%, #5cb85c 100%);
    background-image: linear-gradient(to bottom, #5cb85c 0%, #5cb85c 100%);
    background-repeat: repeat-x;
}
.carousel,
.item,
.active {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

/* Background images are set within the HTML using inline CSS, not here */

.fill {
    width: 100%;
    height: 100%;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.modal-backdrop.in{
    opacity:1;
}

/* Footer */

footer {
    padding: 30px 0;
    background: #213b58; /* Old browsers */
    color: #FFF;
}

.edit-link {
    display: none;
}

.text-primary {
    color: #213b58;
}

.carousel-caption {
    background-image: url("images/background-seethrough.png");
    border-radius: 2.5em;
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 150;
    color: #213b58;
}

.carousel-caption h1 {
    font-family: 'Playfair Display', serif;
    font-size: 6.75rem;
    font-weight: 10;
    color: #213b58;
    margin-bottom: 2;
    letter-spacing: 2.9px;
}

.carousel-caption h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.875rem;
    font-weight: 200;
    color: #213b58;
}

 .testimonial {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block; /* Ensures the container is a block element */
    position: relative; /* Needed for positioning the pseudo-element */
}

.testimonial-quote {
    font-size: 16px;
    height: 100px; /* Limit the height of the quote */
    overflow: hidden; /* Hide overflow content */
    position: relative;
    padding-right: 30px; /* Prevents text from being hidden under the ellipsis */
}

.testimonial-quote:hover {
    height: auto;
}

.testimonial-quote::after {
    content: '...';
    position: absolute;
    bottom: 0;
    right: 5px;
    font-size: 20px;
    background: linear-gradient(to right, rgba(249, 249, 249, 0), #f9f9f9 50%);
}

.testimonial-author {
    margin-top: 15px;
    font-style: italic;
    display: block; /* Ensures the author's name is always shown */
}

@media (max-width: 768px) {
    .carousel-inner {
        padding-top:50px;
    }
    .carousel-caption {
        font-size: 1rem; /* Smaller base font size for mobile */
        padding-bottom: 0px;
        padding-top: 0px;
        margin-bottom: 0px;
    }

    .carousel-caption h1 {
        font-size: 3rem; /* Smaller font size for mobile */
    }

    .carousel-caption h2 {
        font-size: 1.5rem; /* Smaller font size for mobile */
    }
}