/**
 *
 * Theme Name: Mediaani Bootstrap Theme
 * Theme URI: http://www.mediaani.fi/
 * Author: Mediaani - 
 * Author URI: http://www.mediaani.fi
 * Description: Mediaani Bootstrap Theme
 * Version: 1.0
 * License: GNU General Public License
 * License URI: license.txt
 *
 * TOC
 * 1. Typograhpy
 * 2. Layout
 * 3. Navigation
 * 4. Modules
 * 5. Widgets
 * 6. Forms
 * 7. Buttons
 * 8. WooCommerce
 * 9. IE overrides
 * 10. Misc.
 *
 */


/*-----------------------------------------------------------------------------
   Typography
-----------------------------------------------------------------------------*/


/* Body
-----------------------------------------------------------------------------*/

html {
	font-size:17px;
}

body {
	font-size:1rem;
    font-family: 'Montserrat', sans-serif;
	line-height:1.5;
	font-weight:300;
	color:#111;
	background:#38b791;
}

p, ul, ol, dl {
	margin-bottom:1.35em;
}

@media (min-width:1400px) {
	body {
		background:url('../images/inktank-bg.jpg') repeat-y 50% 0 #38b791;
		-webkit-background-size:100% auto;
		-moz-background-size:100% auto;
		-o-background-size:100% auto;
		background-size:100% auto;
	}
}

@media screen and (max-width:1199px) {
	html {
		font-size:16px;
	}
}

@media screen and (max-width:991px) {
	html {
		font-size:15px;
	}
}

@media screen and (max-width:580px) {
	html {
		font-size:14px;
	}
}


/* Headers
-----------------------------------------------------------------------------*/

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-weight:600;
}

h1, .h1 { font-size:1.8em; }
h2, .h2 { font-size:1.4em; }
h3, .h3 { font-size:1.25em; }
h4, .h4 { font-size:1em; }
h5, .h5 { font-size:0.875em; }
h6, .h6 { font-size:0.75em; }

h1, .h1,
h2, .h2,
h3, .h3 { margin:0.35em 0 0.75em; }

@media screen and (max-width:767px) {
  h1, .h1 { font-size:1.875em; }
  h2, .h2 { font-size:1.5em; }
  h3, .h3 { font-size:1.25em; }
}

.padded .entry-title,
.padded-sm .entry-title,
.padded-lg .entry-title,
.padded .page-title {
 	margin-top:0;
}

.dim {
	color:#888;
}

.pale {
	color:#fff;
}

.weight-300 {font-weight:300;}
.weight-400 {font-weight:400;}
.weight-600,
.weight-700,
strong,
b {font-weight:600;}

.size-larger {font-size:1.1111em;}
.size-smaller {font-size:0.88888889em;}

.bordered-heading {
	width:auto;
	display:inline-block;
	margin-bottom:1em;
}

.bordered-heading:after {
	display:block;
	content:"";
	width:100px;
	height:3px;
	background:#fff;
	margin:auto;
	margin-top:1em;
}

.centered-textblock {
	max-width:640px;
	margin-left:auto;
	margin-right:auto;
}

blockquote {
	font-size:1.5em;
	color:#999;
	font-style:italic;
	margin:2.5em 0;
	border:0;
	text-align:left;
}

blockquote:before {
	content:'\201d';
	display:block;
	float:left;
	margin-right:0.25em;
	font-size:3em;
	line-height:1;
	color:#38b791;
	font-family:'Gill Sans', serif;
	position:relative;
	top:-0.25em;
}

legend {
	border:0;
	text-transform:uppercase;
	font-weight:600;
	margin:1.5em 0 0.75em;
	font-size:1.25em;
	color:#38b791;
}

@media screen and (max-width:991px) {
	h1, .h1 { font-size:1.875em; }
	h2, .h2, legend { font-size:1.15em; }
}

@media screen and (max-width:767px) {
	h1, .h1 { font-size:1.5em; }
	.size-smaller {font-size:0.94444444em;}
}


/* Links
-----------------------------------------------------------------------------*/

a {
	color:#38b791;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	-ms-transition: all 0.25s ease;
	transition: all 0.25s ease;
}

a:hover,
a:focus {
	text-decoration:underline;
	color:#009784;
}

a:hover,
a:focus,
a:active {
	outline:0;
}


/*-----------------------------------------------------------------------------
   Layout
-----------------------------------------------------------------------------*/


/* Body
-----------------------------------------------------------------------------*/

@media (min-width:1400px) {
	.container {
		width:100%;
		max-width:none;
	}
	#wrap {
		max-width:1230px;
		margin:3em auto 0;
		padding:0 15px;
	}
}

#wrap {
	background:#fff;
}


/* Header
-----------------------------------------------------------------------------*/

.notice_text {
	padding-top:2em;
}

.notice_text p {
	background:#ff2555;
	color:#fff;
	font-weight:600;
	padding:15px;
	line-height:1.3;
	margin-bottom:0;
	font-size:0.8889em;
}

.notice_text p a {
	color:#fff;
	text-decoration:underline;
}

.notice_text p a:hover,
.notice_text p a:focus {
	color:#fff;
	text-decoration:none;
}

.site-header > .container {
	position:relative;
}

@media (max-width:991px) {
	.site-header > .container {
		position:relative;
	}
}

.slogan,
.logo,
.some-icos {
	margin:2em 0;
}

.slogan,
.site-title img,
.some-icos {
	height:150px;
	position:relative;
}

.slogan h1,
.some-icos ul {
	position:absolute;
	top:50%;
	transform: translateY(-50%);
}

.slogan h1 {
	font-weight:200;
	font-style:italic;
	letter-spacing:-0.02em;
	margin:0;
}

.logo {
	padding:0;
}

.site-title {
	margin:0;
}

.site-title img {
	width:auto;
	max-width:none;
	vertical-align:top;
}

.some-icos ul {
	right:15px;
	margin-bottom:0;
}

.some-icos li {
	margin:0 !important;
}

.some-icos img {
	max-width:60px;
}

.some-icos a:hover,
.some-icos a:focus {
	text-decoration:none;
	opacity:0.7;
}

@media (max-width:991px) {
	.site-header {
		margin-bottom:1.5em;
	}
	.logo,
	.some-icos {
		margin:1em 0;
	}
	.logo {
		width:180px;
		padding:0 15px;
		float:left;
	}
	.site-title img {
		height:120px;
		z-index:2;
	}
	.some-icos {
		width:250px;
		position:absolute;
		right:0;
		top:80px;
		height:50px;
	}
	.some-icos img {
		max-width:50px;
	}
}

@media (max-width:400px) {
	.logo {
		width:130px;
	}
	.site-title img {
		height:auto;
		width:100%;
	}
	.some-icos {
		display:none;
	}
}


/* Main
-----------------------------------------------------------------------------*/

.grey,
.gray {
	background-color:#f4ebe6;
}


/* Some ICOs Banner */

.some-icos-banner .list-inline {
	margin:0 0 2em;
	background:#38b791;
	padding:10px;
}

.some-icos-banner a {
	color:#111;
	margin-right:10px;
}

.some-icos-banner a:hover,
.some-icos-banner a:focus {
	text-decoration:none;
	opacity:0.7;
}

.some-icos-banner img {
	max-width:60px;
}

@media(max-width:991px) {
	.some-icos-banner {
		font-size:0.8889em;
	}
	.some-icos-banner img {
		max-width:50px;
	}	
}

@media(max-width:580px) {
	.some-icos-banner {
		max-width:370px;
		margin-left:auto;
		margin-right:auto;
	}
}


/* Archive
-----------------------------------------------------------------------------*/

@media(max-width:991px) {
	.category-1 #primary > .entry-header {
		text-align:center;
	}
}

.entry-meta {
	margin-bottom:1em;
	font-size:0.88888889em;
	font-weight:600;
	text-transform:uppercase;
}

.entry-meta .date {
	color:#38b791;
}

.pagination > li > a, .pagination > li > span {
 	color:#777;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  color: #38b791;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
	background-color:#38b791;
	border-color:#009784;
}


/* Aside
-----------------------------------------------------------------------------*/

#aside {}


/* Footer
-----------------------------------------------------------------------------*/

.site-footer { 
	background:#111;
	padding:1.5em 0;
	min-height:400px;
	color:#fff;
	font-size:0.8889rem;
}

.site-footer h2 {
	font-weight:400;
}

.site-footer p,
.site-footer label {
	color:rgb(176, 177, 180);
	margin-bottom:1.5em;
}

.recent-posts ul {
	list-style:none;
	padding:0;
}

.recent-posts li {
	line-height:1.25;
	margin-bottom:0.75rem;
	font-weight:600;
}

.footer-copy {
	font-size:1rem;
}

@media (min-width:1400px) {
	.site-footer { 
		margin:0 auto 5em;
		max-width:1230px;
		margin:0 auto 5em;
		padding:1.5em 15px;
	}
}


/*-----------------------------------------------------------------------------
   Navigation
-----------------------------------------------------------------------------*/

@media screen and (min-width:992px) {

	.navbar-dark {
		padding-left:0;
		padding-right:0;
		margin-bottom:2em;
		background:#111;
		width:100%;
	}

	.navbar-dark .navbar-nav .nav-link,
	.search-trigger {
		color:#fff;
		text-transform:uppercase;
		background:none;
		font-size:1rem;
		padding:0.5rem 0.65rem;
		font-weight:300 !important;
		position:relative;
		-webkit-transition: color 0.25s ease;
		-moz-transition: color 0.25s ease;
		-o-transition: color 0.25s ease;
		-ms-transition: color 0.25s ease;
		transition: color 0.25s ease;
	}

	.search-trigger {
		float:right;
		padding-right:0.65rem;
		padding-left:0.65rem;
	}
	
	.navbar-dark .navbar-nav > li > .nav-link:hover,
	.navbar-dark .navbar-nav > li > .nav-link:focus,
	.navbar-dark .navbar-nav > li.current-menu-item > .nav-link,
	.navbar-dark .navbar-nav > li.current-menu-ancestor > .nav-link,
	.search-trigger:hover,
	.search-trigger:focus {
		color:#38b791 !important;
		background:none !important;
		text-decoration:none;
	}

	.navbar-dark .navbar-nav .nav-link:after {
		content:'';
		width:1px;
		height:22px;
		border-right:1px solid #fff;
		position:absolute;
		right:0;
		top:50%;
		transform: translateY(-50%);
	}

	.navbar-dark .navbar-nav li:last-of-type .nav-link:after {
		content:none;
	}

}

@media screen and (min-width:1400px) {
	.navbar-dark .navbar-nav .nav-link,
	.search-trigger {
		font-size:1.1rem;
	}
}

@media screen and (max-width:991px) {
	.navbar-dark {
		padding:0;
		width:100%;
	}
	.navbar-nav {
		background:#38b791;
		margin:0;
	}
	.navbar-dark .navbar-nav:first-of-type > li:first-of-type > a {
		border-top:1px solid #25a37d;
	}
	.navbar-dark .navbar-nav li .nav-link {
		color:#fff;
		text-transform:uppercase;
		font-weight:600;
		border-top:0;
		border-bottom:1px solid #25a37d;
		padding:15px !important;
		font-size:1rem;
		line-height:1;
		margin:0;
	}
	.navbar-dark .navbar-nav > li.current-menu-item > .nav-link {
		color:#38b791 !important;
		background-color:#fff !important;
	}
	.navbar-dark .navbar-nav > li > .nav-link:hover,
	.navbar-dark .navbar-nav > li > .nav-link:focus {
		background-color: #25a37d;
		border-color: #25a37d;
		color:#fff;
	}
	.navbar-dark .navbar-nav li .nav-link:after {
		float:right;
		content: "\f054";
		-moz-osx-font-smoothing:grayscale;
		-webkit-font-smoothing:antialiased;
		display:inline-block;
		font-style:normal;
		font-variant:normal;
		text-rendering:auto;
		line-height:1;
		font-family: 'Font Awesome 5 Free'
	}
	.dropdown-menu {
		padding:0;
	}
}

.navbar-toggler {
    background:#38b791;
    border:0;
    margin:0;
    padding:15px;
    position:absolute;
    top:1em;
    right:15px;
    border-radius:0;
}


/*-----------------------------------------------------------------------------
   Modules
-----------------------------------------------------------------------------*/


/* Search
-----------------------------------------------------------------------------*/

.mfp-content #searchform {
	position:fixed;
	z-index:13;
	top:30%;
	left:50%;
	transform: translateX(-50%);
	max-width:600px;
	width:90%;
	-o-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
	-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
	-ms-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
	-webkit-transition: opacity 0.25s ease;
	-moz-transition: opacity 0.25s ease;
	-o-transition: opacity 0.25s ease;
	-ms-transition: opacity 0.25s ease;
	transition: opacity 0.25s ease;
}

#searchform .form-control {
	margin-right:-54px;
	padding-right:54px;
	height:54px;
	border-color:#e0e7ee;
	background:#fff;
	font-size:16px;
	float:left;
}

#searchform .submit {
	float:left;
	font-size:24px;
	width:54px;
	height:54px;
	padding:0;
	margin:0;
	border-radius: 0 0.2rem 0.2rem 0;
}

.search-results article {
	margin-bottom:2em;
	border-bottom:1px solid #ddd;
}


/* Blogi
-----------------------------------------------------------------------------*/

.zoom-item {
    vertical-align:top;
}

.block-item {
	float:none;
	clear:both;
}

.block-item article {
	width:100%;
	margin-bottom:3em;
}

.zoom-item .ImgWrap {
	position:relative;
	overflow:hidden;
}

.block-item .ImgWrap {
	margin:0 0 1em;
}

.zoom-item .ImgWrap:after {
	content:"";
	position:absolute;
	top:0; left:0;
	z-index:2;
	display:block;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0);
}

.zoom-item .ImgWrap:after,
.zoom-item .zoom-link * {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

.zoom-item .zoom-link:hover .ImgWrap img {
	transform:scale(1.16);
}

.zoom-item .zoom-link:hover .ImgWrap:after {
	background:rgba(7,53,47,0.3);
}

.zoom-item .zoom-link {
	display:block;
	width:100%;
	color:inherit;
	text-decoration:none;
}

.zoom-item h2 {
	color:#111;
	font-weight:400;
}

.zoom-item h2:hover {
	color:#009784;
}

.block-item h2,
.block-item .entry-meta,
.block-item p {
	margin:0 0 12px;
}

.block-item .more-link {
	font-size:1.25em;
	text-decoration:underline; 
}

.block-item .more-link:hover,
.block-item .more-link:focus {
	text-decoration:none; 
}

@media(max-width:991px) {
	.blog-bg {
		background-position:50% 50% !important;
	}
	.block-item .ImgWrap {
		margin:0 0 1.5em;
	}
}

@media(max-width:580px) {
	.block-item {
		width:100%;
		max-width:370px;
		margin:0 auto;
	}
}

.block-item.first-item {
	margin-bottom:2em;
}

.block-item.first-item article {
	padding:0;
	margin:0;
}

@media (min-width:768px) {
	.block-item.first-item .ImgWrap {
		margin:0;
	}
	.block-item.first-item .zoom-link {
		float:left;
		width:50%;
		padding-right:15px;
	}
	.block-item.first-item .entry {
		float:right;
		width:50%;
		padding-left:15px;
	}
}


/* Recent posts
-----------------------------------------------------------------------------*/

.horiz-item {
	overflow:auto;
	clear:both;
	margin-bottom:1em;
}

.horiz-item .ImgWrap {
	position:relative;
	overflow:hidden;
	margin:0 15px 0 0;
	width:70px;
	height:70px;
	float:left;
}

.horiz-item .entry {
	float:left;
	width:100%;
	margin-left:-85px;
	padding-left:85px;
}

.horiz-item a:hover .entry h2,
.horiz-item a:focus .entry h2 {
	color:#009784;
}


/* Pagination
-----------------------------------------------------------------------------*/

.pagination {
	float:left;
	flex-wrap:wrap;
}

.pagination > li > a {
	display:block;
	line-height:36px;
	width:36px;
	height:36px;
	padding:0;
	margin:0 3px 5px;
	-o-border-radius:50% !important;
	-webkit-border-radius:50% !important;
	-moz-border-radius:50% !important;
	-ms-border-radius:50% !important;
	border-radius:50% !important;
 	color:#fff !important;
 	border:0 !important;
 	background-color:#111;
 	text-align:center;
 	text-decoration:none !important;
}

.pagination > li > a > .fas {
	line-height:36px !important;
	font-size:24px !important;
}

.pagination > li > a:hover,
.pagination > li > a:focus {
	background-color:#38b791;
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus {
	background-color:#38b791;
}

.pagination .fa-angle-left,
.pagination .fa-angle-double-left {
	padding-right:3px;
}

.pagination .fa-angle-right,
.pagination .fa-angle-double-right {
	padding-left:3px;
}

.pagination-text {
	float:right;	
	font-weight:600;
	font-size:0.889rem;
	line-height:36px;
}

@media (max-width:580px) {
	.pagination-wrap {
		max-width:370px;
		margin-left:auto;
		margin-right:auto;
	}
	.pagination > li > a {
		line-height:28px;
		width:28px;
		height:28px;
	}
}


/* Single posts
-----------------------------------------------------------------------------*/

.single-post .entry-content {
	font-size:1.1rem;
}

.single-post .entry-content p,
.single-post .entry-content ul,
.single-post .entry-content ol,
.single-post .entry-content dl {
	margin-bottom:1.2em;
}

.comment-form {
	max-width:500px;
}

.comment-form label {
	display:block;
}

#commentform input[type="text"],
#commentform textarea {
	width:100%;
}

#commentform textarea {
	resize:none;
}

.comment-form-url {
	display:none !important;
}

.commentlist {
	list-style:none;
	padding:0;
	font-size:0.935rem;
}

.commentlist > .comment {
	padding-bottom:1em;
	margin-bottom:1.5em;
	border-bottom:1px solid #ddd;
}

.comment-author {
	font-weight:600;
}

.comment-author .avatar {
	display:none !important;
}

.comment-content p {
	margin-bottom:0.75em;
}

.comment-reply-link {
	font-size:0.8889rem;
}

.single-post .entry-content iframe {
	width:100%;
	max-height:562px;
}


/* Writers
-----------------------------------------------------------------------------*/

.writers .col-sm-6 {
	margin-bottom:1.5em;
}

.writers img {
	width:100%;
	height:auto;
}

@media (min-width:767px) {
	.writers {
		font-size:0.8889em;
	}
}

@media (max-width:580px) {
	.writers .col-sm-6 {
		max-width:250px;
		margin-left:auto;
		margin-right:auto;
	}
}


/* Mfp Popup Content
-----------------------------------------------------------------------------*/

.white-popup {
	position: relative;
	background: #fff;
	padding:25px 40px;
	width: auto;
	max-width:600px;
	margin:20px auto;
	font-size:0.9em;
}

.white-popup .wpcf7 label {
	font-size:0.9em;
}

#mfp-laskutustiedot {
	text-align:center;
}


/* Social Media - Sharing Counts
-----------------------------------------------------------------------------*/

.shared-counts-wrap {
	display:none !important;
}

.shared-counts-wrap.customized {
	display:flex !important;
}

/*.single-post .shared-counts-wrap.style-fancy .shared-counts-button .shared-counts-label {
	opacity:1;
	width:80px;
}*/

@media (max-width:991px) {
	.single-post .shared-counts-wrap.style-fancy .shared-counts-button.twitter .shared-counts-label,
	.single-post .shared-counts-wrap.style-fancy .shared-counts-button.facebook .shared-counts-label {	
		display:none;
	}
	.single-post .shared-counts-wrap.style-fancy .shared-counts-button .shared-counts-count {
		font-size:12px;
	}
}

@media (max-width:380px) {
	.single-post .shared-counts-wrap.style-fancy {
		padding:0 !important;
	}
	.single-post .shared-counts-wrap.style-fancy .shared-counts-button .shared-counts-count,
	.shared-counts-button.included_total {
		display:none !important;
	}
}


/*-----------------------------------------------------------------------------
   Widgets
-----------------------------------------------------------------------------*/

.widget {
	clear:both;
	overflow:auto;
	margin-bottom:2em;
}

#custom_html-4 {
	display:none;
	background:#000;
	color:#fff;
	padding:5px 15px 25px;
}

#custom_html-4 h1 {
	color:#c71211;
	margin-bottom:10px;
}

#custom_html-4 span {
	display:block;
	margin-bottom:10px;
}

#custom_html-4 button {
	background:none;
	border:2px solid #c71211;
	color:#c71211;
	padding:4px 8px;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	-ms-transition: all 0.25s ease;
	transition: all 0.25s ease;
}

#custom_html-4 button:hover,
#custom_html-4 button:focus {
	cursor:pointer;
	background:#c71211;
	color:#000;
}


/*-----------------------------------------------------------------------------
   Forms
-----------------------------------------------------------------------------*/


/* Contact Form 7
-----------------------------------------------------------------------------*/

span.wpcf7-not-valid-tip,
div.wpcf7-response-output { color:red !important; margin:1em 0; border:0; padding:3px 8px; font-size:0.85em; }
div.wpcf7-mail-sent-ok {border:1px solid #398f14; color:#398f14 !important; }
span.wpcf7-not-valid-tip,
div.wpcf7-validation-errors,
div.wpcf7-mail-sent-ng {border: 1px solid red;display:block;}

.wpcf7 {
	max-width:500px;
}

.wpcf7 label,
.wpcf7-form p {
	font-size:0.8em;
	font-weight:600;
	margin-bottom:5px;
}

.wpcf7 .checkbox label {
	font-weight:400;
	font-size:14px;
	margin-bottom:0;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="url"],
textarea {
	box-shadow:none;
	height:42px;
	background:#f4f7fa;
	border:1px solid #cfd9e6;
	-webkit-appearance: none;
}

textarea {
	height:auto;
	min-height:100px;
}

.wpcf7 .checkbox {
	overflow:auto;
}

.wpcf7 .wpcf7-list-item {
	display:block;
	float:left;
	width:50%;
	padding-right:10px;
	margin-left:0;
}

@media(max-width:767px) {
	.wpcf7 .wpcf7-list-item {
		width:100%;
	}
}

select {
	width:100% !important;
	max-width:none !important;
    -webkit-appearance: none;
    font-size:1em;
    line-height:42px;
    border-radius: 0;
    background:url('../images/triangle.png') no-repeat 95% 50% #fff;
    background-size:10px 10px;
    color:#444;
    border:1px solid #cfd9e6;
    padding: 0 0 0 8px;
    margin-bottom:5px;
    position:relative; 
}

select:hover,
select:focus {
	background-color:#f3f6f9;
}


/*-----------------------------------------------------------------------------
   Buttons
-----------------------------------------------------------------------------*/

.btn,
.button,
.form-submit #submit {
	outline:0 !important;
	color:#fefefe !important;
	font-weight:600 !important;
	text-transform:uppercase !important;
	letter-spacing:-0.02em !important;
	text-shadow:none !important;
	box-shadow:none !important;
	line-height:1;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	-ms-transition: all 0.25s ease;
	transition: all 0.25s ease;
	margin-bottom:27px;
	text-decoration:none !important;
	display:inline-block;
	border:0 none;
	-o-border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	-ms-border-radius:0;
	border-radius:0;
}

.btn-secondary,
.button {
	text-shadow:none !important;
	background-color:#ebe9eb !important;
	color:#444 !important;
	border:0 !important;
	font-size:1em !important;
	padding:10px 15px !important;
}

.btn-primary,
.form-submit #submit {
	background-color: #38b791 !important;
	border-color: #009784 !important;
	color:#fefefe !important;
	font-size:1em !important;
	padding:15px 25px !important;
}

.btn-lg {
	padding:20px 40px !important;
	font-size:1.2em !important;
}

.btn-sm {
	padding:9px 12px !important;
	font-size:0.77777778em !important;	
}

.btn-secondary:hover,
.btn-secondary:focus,
.button:hover,
.button:focus {
	background-color:#dad8da !important;
}

.btn-primary:focus,
.btn-primary.focus,
.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary,
.form-submit #submit:focus,
.form-submit #submit:hover,
.form-submit #submit:active {
	background-color: #009784 !important;
	border-color: #008676 !important;
	cursor:pointer;
}

.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus,
.btn-secondary:active:hover,
.btn-secondary:active:focus,
.form-submit #submit:active:hover,
.form-submit #submit:active:focus {
	background-color: #008676 !important;
	border-color: #007c6d !important;
}

.btn-trans:hover,
.btn-trans:focus,
.btn-trans:active {
	background-color:#fff !important;
	color:#009784 !important;
	border-color:#fff !important;
}

.btn-text {
	font-weight:600;
	text-transform:uppercase;
	color:#38b791;
	display:inline-block;
	margin-bottom:1.5em;
	line-height:1;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	-ms-transition: all 0.25s ease;
	transition: all 0.25s ease;
}

.btn-text > .fa {
	font-size:15px;
	margin-left:5px;
}

@media(max-width:991px) {
	.btn-lg {
		padding:15px 30px;
	}
}

@media(max-width:767px) {
	.btn-primary {
		font-size:16px !important;
	}
}


/*-----------------------------------------------------------------------------
   IE overrides
-----------------------------------------------------------------------------*/


/* Sticky footer fix for
-----------------------------------------------------------------------------*/

.lte-ie7 #wrap { display:table; }


/* Form fix for lte IE8
-----------------------------------------------------------------------------*/

.lt-ie8 input, .lt-ie8 textarea { width: 94%; padding: 0 2%;}
.lt-ie8 textarea { width: 93%; }


/*-----------------------------------------------------------------------------
  Misc
-----------------------------------------------------------------------------*/

.img-404-error { width:400px; }

.flex-container {display:flex;flex-wrap:wrap;clear:both;}
.alignleft {float:left;margin-right:1rem;}
.alignright {float:right;margin-left:1rem;}
.aligncenter {margin-left:auto;margin-right:auto;}
img {max-width:100%;height:auto;}
hr {margin:2em 0 3em;}
.clear { clear:both; }
.padded {padding-top:4em; padding-bottom:3em;}
.padded-sm {padding-top:1.5em; padding-bottom:1em;}
.padded-lg {padding-top:5em; padding-bottom:5em;}
.padded-bottom {padding-bottom:3em;}
.padded-bottom-lg {padding-bottom:5em;}
.prepend-top {margin-top:1.5em;}
.append-bottom {margin-bottom:1.5em;}
.prepend-top-lg {margin-top:3em;}
.append-bottom-lg {margin-bottom:3em;}

.wp-caption { max-width:100%; }
.wp-caption-text { margin-top:10px; font-size:0.8889rem; }