/**handles:style**/
/*
Theme Name: Dovetail Ltd
Theme URI: https://design-jg.com
Author: James Goodwin
Author URI: https://design-jg.com/
Version: 1.0
*/

/*branding*/
.text-brand {color: #39b54a;}

/*hero*/
.hero-content {
	display: table;
	height: 100%;
	width: 100%;
	z-index: 10;
	position: relative;
}
.hero-content .hero-content-inner {
	display: table-cell;
	vertical-align: middle;
}
.hero-text {font-weight: 700!important;}

/*cards*/
.card {padding-top:7px;}
.card .card-image {}
.card .card-text {}
.card .card-text,
.card .card-image {}

/*gallery*/
.gallery-image {opacity: .9}
.gallery-image:hover {opacity: 1}
.gallery-image  {margin-bottom:14px;}

/*default*/
body {color: #404041;}
@media only screen and (max-width : 768px) {

	#discover-more-projects {margin-top:0px;}
	article#page-top {padding-top:65px;}
	.container, .container-fluid {
		padding-right: 30px;
		padding-left: 30px
	}
	.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
		padding-right: 0px;
		padding-left: 0px
	}
}

/*navigation*/
.logged-in.admin-bar #mainNav {top:32px;}
@media screen and (max-width : 782px) {
	.logged-in.admin-bar #mainNav {top:46px;}
}
nav.view-more {}
nav.view-more .black-text {
	display: block;
	font-size: 21px;
}
nav.view-more a {}
nav.view-more a i {line-height: .25;}
.navbar-default .nav>li>a:hover,
.navbar-default .nav>li.current-menu-item>a {
	color:#c6c6c6;
}
.navbar-default .navbar-text{
	font-size: 21px;
	line-height: 1.5;
	font-family: 'Open Sans', sans-serif;
	font-weight: 100;
	margin-top: 42px;
	margin-bottom: 0px;
	margin-right: 4px;
	color:#404041;
}
.navbar-default .navbar-text a {color:#404041;}
.navbar-default .navbar-text a span {border-bottom:#39b54a solid 1px;}
.navbar-default .navbar-text a:hover span {border-bottom:none;}
#mainNav .container-fluid {padding: 0 70px;}
#mainNav .navbar-brand {padding-left:4px;}
@media only screen and (max-width : 768px) {

	#mainNav {
		border-bottom:1px solid #c6c6c6;
		box-shadow: 0 5px 5px rgba(0,0,0,0.025);
	}
	#mainNav .container-fluid {padding: 0 45px;}
	#mainNav .navbar-brand {
		padding: 20px 0 20px 4px;
		height:auto;
	}
	#mainNav .collapse.navbar-collapse {
		border-top: none;
	}
	#mainNav .collapse.navbar-collapse .navbar-text.navbar-right {display: none;}
	.navbar-brand>img {height:20px;}
	.navbar-nav>li>a {padding-left:4px;}
}
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {	
	.navbar-default .navbar-text {font-size: 18px!important;}
}
@media only screen and (max-width : 768px) {
	.navbar-brand {padding-top: 34px}
	.navbar-brand>img {height:30px;}
	.navbar-default .navbar-text {font-size: 16px!important;}
}

/*content*/
.content {
	padding:11px 0 0 0;
}
.content h1 {
	/*font-size: 35px;
	color:#007236;
	font-weight: 100;
	margin-bottom: 20px;
	line-height: 1.15;*/
}
.content p {
	padding-right:61px;
}
.content .notice {
	display:block;
	float:right;
	color:#ffffff;
	background:#39b54a;
	text-align: center;
	padding:36px 31px;
	margin: 5px 0 0 0;
	width:223px;
	/*height:222px;*/
	font-size: 27px;
	margin-right:4px;
}
@media only screen and (max-width : 768px) {
	.content h1 {font-size: 25px;}
	.content p {font-size: 18px;}
	.content .notice {
		width: 100%;
		height: auto;
		font-size: 22px;
		line-height: 1.29;
	}
}
@media only screen and (max-width : 768px) {

	.content .notice {margin-bottom:20px;}
}
.row.module-section .col-xs-12,
.row.module-section .col-sm-12,
.row.module-section .col-md-3,
.row.module-section .col-md-9 {
	padding: 0 0 25px;
	margin:0;
}
.module-sections header,
.module-sections .content {padding:0 0 0 0;}
.module-sections .content p {
}
.module-sections .content,
.module-sections header {padding:0 14px 0;}
.module-sections .content,
.module-sections header {
	margin:0 0 30px;
}
/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 768px) {
	.module-sections .content {padding:0 0 0;}
	.module-sections header {padding:0 0 0 0;}
}
.module-sections .content.supersize p {font-size: 50px;}
.module-sections .content.supersize p .reduce {font-size: 30px;}

/*blog*/
.news-loop {padding: 7px 7px 25px;}
.news-loop article.news-item {
	position: relative;
	border-bottom:2px solid #eeeeee;
	margin-bottom:20px;
}
.news-loop article.news-item .post-thumb {
	position: absolute;
	left:0;
	top:0;
	width:150px;
}
.news-loop article.news-item .post-thumb .btn-block {
	margin:10px 0;
}
.news-loop article.news-item .post-thumb img {}
.news-loop article.news-item .post-body {
	min-height: 150px;
	padding-left: 160px;
}
.news-article {}
.news-article img {max-width: 100%!important;}


.ekko-lightbox.modal {z-index: 1021;}
.ekko-lightbox.modal .modal-dialog {
	margin: 103px auto 0;
}
body.logged-in.admin-bar .ekko-lightbox.modal .modal-dialog {
	margin: 136px auto 0;
}
.ekko-lightbox.modal .modal-dialog .modal-content {
	box-shadow:none;
	background-color: transparent;
	border:none;
}
.ekko-lightbox.modal .modal-dialog .modal-content .modal-body {
	padding:0;
}
.modal-backdrop {
	z-index: 1020;
	background-color: #fff;
}

/*UI*/
.loading {}
.loading img.loading-spinner {
	display: block;
	margin: 0 auto;
	max-width: 60px;
	height: auto;
}
.pagination li:first-child a,
.pagination li:last-child a {color:#39b54a;}
.pagination li.active a,
.pagination li.active a:hover {
	background-color:#39b54a;
	color:#ffffff;
}

/*project*/
.portfolio,
#image-links,
.full-width-section {padding:7px 7px;}
#image-links {
	padding-bottom:7px;
}
#more-projects {padding-top:7px;}
#project-details {padding:0 0 0;}
#project-details .row {padding:0 7px;}

#image-links .col-xs-6,
.portfolio .col-xs-6 {
	padding-left: 7px;
	padding-right: 7px;
}
#image-links .container-fluid,
.portfolio .container-fluid,
.full-width-section .container-fluid {padding:0 0 0 0;}
#image-links .container-fluid .row,
.portfolio .container-fluid .row,
.full-width-section .container-fluid .row {margin: 0 0 0 0;}


.full-width-section .col-xs-6,
.full-width-section .col-xs-4 {
	padding-left: 7px;
	padding-right: 7px;
	padding-top: 7px;
	padding-bottom: 7px;
	margin-top: 0px;
	margin-bottom: 0px;
}


.widget-area {}
/*.widget-area .widget {padding:0 40px;}*/
.widget-area .widget .widget-title {
	text-transform: none;
	max-width: 70%;
	min-height: 35px;
}
.widget-area .widget p {font-size: 14px;}

/*final tweaks*/

.testimonial-video-wrapper {padding:7px 7px 0 0;}
.front-content-block {padding-right:14px;}
.content h2.section-heading {padding-left:14px;}
.content .border-wrapper {padding:0 14px;}
.content-block {padding-right:14px;}


.portfolio.cards {padding-bottom:30px;}
#project-details .project-text {padding:0 14px;}
/*#blog-post {padding-right:12px;}*/
article #blog-post h1.blog-post-title.section-heading,
#related-project h3.section-heading {
	font-size: 35px;
	font-weight: 600;
	color:#000000;
}
#related-project {} {}


/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
}


/* custom break point */
@media only screen and (max-width : 860px) and (min-width : 770px) {
    .navbar-brand>img {
        height: 40px!important;
    }
    #mainNav.navbar-default .navbar-header .navbar-brand {padding: 45px 0 0 0;}
    #mainNav.navbar-default.affix .navbar-header .navbar-brand {padding: 20px 0 0 0;}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.front-content-block,
	.testimonial-video-wrapper {padding:14px;}
	.content-block {padding:14px;}
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
	.front-content-block,
	.testimonial-video-wrapper {padding:14px;}
	.content-block {padding:14px;}
}

.counter-band {position: relative ;}
.counter-band h4.counter {
	font-size: 35px;
}
.counter-band h5 {
	font-size: 20px;
}
.counter-band img {
	max-height: 100px;
	width:auto;
	margin:5px auto;
}

/*aside#blog-aside {padding:0 0 10px;}*/
aside#blog-aside * {font-weight: 600;}
aside#blog-aside ul {
	list-style: none;
	padding:0;
	margin:10px 0;
}
aside#blog-aside ul>li>a {
	color:#000000;
	padding:5px 0;
	font-size: 18px;
	margin:0 0 5px;
	display: block;
}
aside#blog-aside .widget {}
aside#blog-aside .widget .widget-title {
	font-size: 20px;
	text-transform: normal;
	margin-bottom: 5px;
	line-height: 1;
	min-height: auto; 
}
@media (min-width:768px) {
    .affix .navbar-nav>li>a {
		padding-top: 30px;
		padding-bottom: 30px
    }
}
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name.projects-new {
	text-align: right;
	font-weight: 600;
	font-size: 32px;
}
section.image-block {padding:0;}
section.image-block .img-block {padding:14px 0 7px 0;}
section.image-block .img-block.left {padding-right:7px;padding-left:14px;}
section.image-block .img-block.right {padding-left:7px;}
section.image-block .text-block {padding:20px;}
.portfolio-box.blog-card.show-text {position: relative;}
.portfolio-box.blog-card.show-text .portfolio-box-caption {
	height:auto;
	opacity: 1;
	top:0;
	bottom: auto;
	padding:7px;
	position: relative;
}
.portfolio-box.blog-card.show-text .portfolio-box-caption h3 {
	font-size: 25px;
	font-weight: 700;
	margin:0;
}



.project-carousel-wrapper{
	padding:0px 7px 0px 0px;
	overflow:hidden!important;
}
.project-carousel-wrapper .project-carousel {
	background:#f7f7f7;
}
.project-carousel-wrapper .project-carousel .project-carousel-image img {margin:0 500px;}
.project-carousel-wrapper.project-page {
	padding: 0px 0px 0px 0px;
}
@media only screen and (max-width : 768px) {
	.project-carousel-wrapper.project-page {
		padding: 14px;
	}
}

#request-filesystem-credentials-form, .request-filesystem-credentials-form, .ajax-loop form {display: none!important;}

.project-carousel-wrapper .project-carousel .project-carousel-image img {
	height: 820px;
	width: auto;
}
@media (min-width:1890px) {
	.project-carousel-wrapper .project-carousel .project-carousel-image.long-img-container img.long-img {
		height: auto;
		width: 1250px;
	}
}
@media only screen and (max-width : 992px) {
	.project-carousel-wrapper .project-carousel .project-carousel-image img {
		height: 620px;
	}
}
@media only screen and (max-width : 768px) {
	.project-carousel-wrapper .project-carousel .project-carousel-image img {max-height: 250px;}
	.project-carousel-wrapper .project-carousel .project-carousel-image img {
		height: 620px;
	}
}
@media only screen and (max-width : 480px) {
	.project-carousel-wrapper .project-carousel .project-carousel-image img {max-height: 250px;}
}

#front-carousel {}
#front-carousel .carousel, #front-carousel .carousel-inner, #front-carousel .carousel-inner .item {height:100%!important;}




/*mobile tweaks*/
@media only screen and (max-width : 768px) {

	/* header */
	article#page-top header.hero.image {
		padding: 70px 0 0 0;
		height: 250px;
	}
	article#page-top header.hero.image.front {
		padding: 0;
		height: 350px;
	}

	/* nav */
	.navbar-default .nav>li>a, .navbar-default .nav>li>a:focus {font-size: 15px;}

	/* content */
	.content h2 {font-size: 25px}
	p,
	.content p {font-size: 14px;}

	/* portfolio */
	.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name.projects-new {font-size: 12px;}
	.portfolio-box .portfolio-box-caption {opacity: 1;}
	.grid-item {
		padding-right: 7px;
		padding-left: 7px;
	}
	.portfolio-box .portfolio-box-caption {background: rgba(0, 0, 0, 0.25);}
	.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
		top: 7px;
		transform: none;
		padding-right: 0px;
	}

	/* about */
	.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name.projects-new p {font-size: 13px!important;}

	/* feed */
	.portfolio-box.blog-card.show-text .portfolio-box-caption h3 {font-size: 12px;}
	.portfolio.blog .container {
		padding-right: 0px!important;
		padding-left: 0px!important;
	}

	/* footer */
	aside {padding:15px 0;}
	aside h4.widget-title {font-size: 19px}

	/* blog */
	article #blog-post h1.blog-post-title.section-heading, #related-project h3.section-heading {font-size: 22px;}
}