/*
Theme Name: Mobile Free To Play
Theme URI: http://joshuasmall.co.uk
Author: Joshua Small
Author URI: http://joshuasmall.co.uk
Description: MFTP theme
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: mftp
*/


/*{
	font-family:'Azbuka W01 Bold';
	font-family:'AzbukaW01-MediumItalic';
	font-family:'Azbuka W01 Italic';
	font-family:'Azbuka W01 Medium';
	font-family:'Azbuka W01 Heavy Italic';
	font-family:'Azbuka W01 Regular';
	font-family:'Azbuka W01 Bold Italic';
	font-family:'Azbuka W01 Heavy';
}*/

body {
	font-family: 'Source Sans Pro', sans-serif !important;
}

#content :not(.mftp-related-post) img,
#content :not(.mftp-related-post) div,
#content :not(.mftp-related-post) p,
#content div.wp-caption {
	max-width: 100% !important;
	height: auto;
}

#content div.wp-caption img {
	width: 100%;
}

#content div.aligncenter {
	margin: auto;
}

#content img.aligncenter {
	margin: auto;
}

#content ul,
#content ol {
	overflow: hidden;
}

#consultancy h1,
#page h1,
h1.entry-title {
	font-size: 47px;
	font-family:'Azbuka W01 Bold';
	margin-top: 0px;
}

p {
	font-size: 18px;
	font-family: 'Source Sans Pro', sans-serif;
}

#head,
#second-foot {
	width: 100%;
	background-color: #00cc99;
}

#head {
	height: 230px;
	position: relative;
	background-repeat: no-repeat;
	background-size: 100% auto;
}

#overlay,
#mobile-overlay {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #00cc99;
}

#overlay {
	opacity: 0.9;
	position: absolute;
}

#mobile-overlay {
	z-index: 6;
	display: none;
	position: fixed;
}

#header-menu li > a:focus,
#header-menuli > a:hover {
	background-color: transparent;
}

#header-menu li > a {
	color: white;
	font-size: 30px;
	padding: 30px 0px 25px;
	margin-right: 70px;
	font-family:'Azbuka W01 Heavy';
}

#header-menu li:last-of-type > a {
	margin-right:  0px;
}

#header-menu li.active > a {
	border-bottom: 5px solid white;
}

.collapsed #header-menu li.active > a {
	border-bottom: 0px;
}

#search .form-input {
	font-family:'Azbuka W01 Regular';
	font-size: 19px;
}

.form-input,
.form-button {
	border-radius: 0 !important;
}

.form-input {
	background-color: #fafafa !important;
	border-color: #fafafa !important;
}

.form-button {
	background-color: #00cc99 !important;
	border-color: #00cc99 !important;
	cursor: pointer !important;
	color: white !important;
}


#search .form-input,
#search .form-button {
	height: 46px;
	border: 0px !important;
}

#search .form-input {
	border-bottom: 3px solid #f2f2f2 !important;
}

#search .input-group {
	margin-top: -23px;
}

#search .form-button {
	padding: 10px 14px;
	border-bottom: 3px solid #349d7f !important;
}

#search .form-button img {
	width: 20px;
	height: 20px;
}

#post {
	margin-top: 20px;
	position: relative;
}

#post-details {
	margin-top: 15px;
}

#post-details .author,
#related-posts .author,
.mftp-related-post-name {
	color: #00cc99;
}

.mftp-related-post-name {
	font-family:'Azbuka W01 Regular';
}

#post-details .date {
	float: right;
	font-family: 'Source Sans Pro', sans-serif;
}

#post-details .date {
	font-size: 15px;
	font-family: 'Source Sans Pro', sans-serif;
	color: #666666;
}

#post-details .author {
	font-family:'Azbuka W01 Regular';
	font-size: 19px;
}

#content {
	margin-top: 25px;
	color: #666666;
}

#content p a {
	color: #00cc99;
	font-weight: bold;
}

#content p a:hover {
	text-decoration: underline;
}

#content p a:visited {
	color: #349d7f;
}

/*#content img:not(.alignleft):not(.alignright) {
	margin: 20px 0px;
	width: 100%;
	height: auto;
}*/

#content blockquote {
	border-color: #00cc99;
	background-color: rgb(242, 242, 242);
	padding: 20px 25px;
}

#content blockquote p,
#content blockquote p b {
	font-family:'Azbuka W01 Italic';
	font-size: 30px;
	font-weight: normal;
	color: #666666;
}

hr {
	margin: 30px 0px;
	border-top: 3px solid #00cc99 !important;
}

#first-foot {
	padding: 20px 10px;
	margin-bottom: 20px;
}

#first-foot .social-media {
	float: left;
}

#second-foot {
	color: white;
	min-height: 100px;
	padding: 46px 0px;
	font-size: 17px;
	font-family:'Azbuka W01 Regular';
}

#first-foot,
#second-foot .row {
	margin: 0;
}

#second-foot a,
#second-foot a:hover {
	color: white;
}

#second-foot a:hover {
	text-decoration: none;
	border-bottom: 1px solid white;
}

#footer-name,
#footer-menu {
	float: left;
}

#footer-name-mobile {
	display: none;
}

#footer-name {
	margin-right: 25px;
}

#footer-wild-ilk {
	float: right;
	text-align: right;
}

#updates-div {
	text-align: right;
	float: right;
}

#updates-div .updates {
	color: #00cc99;
	display: inline-block;
	text-align: right;
}

#updates-div .updates-text {
	margin-right: 10px;
	line-height: 32px;
	vertical-align: top;
	color: #00cc99;
	font-family:'Azbuka W01 Bold';
}

#updates-div form {
	width: 300px;
}

.updates .input-group {
	height: 32px;
}

#related-posts {
	background-color: #fafafa;
}

#related-posts {
	padding: 20px 0px;
}

#related-posts h1 {
	margin-bottom: 30px;
	font-size: 45px;
	font-family:'Azbuka W01 Bold';
	color: #b3b3b3 !important;
}

#related-posts .related-post {
	position: relative;
	height: 350px;
	margin: 20px 0px;
}

#related-posts .related-post img {
	width: 100%;
	height: 200px;
}

#related-posts .pics {
	margin-bottom: 20px;
}

#related-posts .title {
	margin: 20px 0px 10px;
	font-weight: normal;
	font-family:'Azbuka W01 Regular';
	font-size: 26px;
	display: block;
}

#related-posts .title a {
	color: #666666;
	font-weight: normal;
}

#related-posts .title a:hover {
	text-decoration: underline;
}

#related-posts .title,
#related-posts .categries,
#related-posts .author {
	padding: 0px 5px;
}

#related-posts .categries {
	font-size: 15px;
	font-family: 'Source Sans Pro', sans-serif;
}

#related-posts .categries a,
.mftp-related-post-categories a {
	color: #666666;
	border-bottom: 1px solid #666666;
	font-weight: normal;
}

#related-posts .author {
	font-family:'Azbuka W01 Regular';
	font-size: 15px;
	position: absolute;
	bottom: 0px;
}

#addendum {
	margin-top: 40px;
}

#addendum .title,
#addendum .content {
	padding: 10px 20px;
	color: #00cc99;
}

#addendum .title {
	font-family: 'Source Sans Pro', sans-serif;
}

#addendum .content  {
	font-family: 'Azbuka W01 Regular';
}

#addendum .title h3 {
	float: left;
	margin: 0px;
}

#addendum .title .date {
	float: right;
	color: #666666;
	font-family: 'Source Sans Pro', sans-serif;
}

#essay-sections,
#post-categories {
	margin: 30px 0px 0px;
}

#essay-sections a,
#post-categories .details {
	font-size: 15px;
	font-family: 'Source Sans Pro', sans-serif;
}

#post-categories .details,
#essay-sections .details {
	padding: 10px 10px 0px;
}

#post-categories .details a,
#essay-sections a {
	color: #666666;
	text-decoration: none;
	border: 0;
	padding: 2px 0px;
}

#essay-sections a {
	display: block;
}

#post-categories .details a:hover {
	border-bottom: 1px solid #666666;
}

#essay-sections .essay-section.current-section,
#essay-sections a:hover {
	color: #00cc99;
}

#post-categories .details .category {
	font-size: 14px;
	margin: 10px 0px;
}

#post-categories .details .category-image {
	width: 20px;
	height: 20px;
	background-color: #666666;
	border-radius: 100%;
	float: left;
	margin-top: 2px;
	margin-right: 5px;
	padding: 2px;
}

#post-categories .details .category-image img {
	width: 16px;
	height: 16px;
	vertical-align: initial;
}

#post-sidebar hr {
	margin: 5px 0px;
	border-top: 4px solid #f2f2f2 !important;
}

#essay-sections .title,
#post-categories .title {
	font-size: 19px;
	font-family:'Azbuka W01 Regular';
	margin-bottom: 10px;
}

#sidebar-updates {
	background-color: #fafafa;
	padding: 10px 10px 0px;
	margin-top: 40px;
}

#sidebar-updates .input-group {
	width: 100%;
}

#sidebar-updates .title {
	color: #00cc99 !important;
	margin-bottom: 18px;
	font-size: 19px;
	font-family:'Azbuka W01 Medium';
}

#sidebar-email {
	background-color: white !important;
	border: 1px solid white !important;
	margin-bottom: 20px;
	box-shadow: none !important;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 15px;
}

#sidebar-signup {
	float: right;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 600;
	font-size: 19px;
}

.clear {
	clear: both;
}

.home-page-row {
	margin: 0px;
	padding: 0px 12px;
}

.home-page-post-image {
	width: 100%;
	height: 150px;
}

.home-page-post-info {
	background-color: #fafafa;
	height: 150px;
	padding: 20px;
	position: relative;
}

.home-page-post-info h3,
.home-page-post-info h4 {
	margin: 0px;
	color: #666666;
}

.home-page-post-category-images {
	position: absolute;
	bottom: 10px;
	right: 25px;
}

.home-page-post-category-image {
	width: 30px;
	margin-left: 10px;
}

.home-post {
	padding: 0px 12px !important;
	margin: 24px 0px;
}

#home-page-posts,
#home-sign-up {
	margin-bottom: 40px;
}

#home-sign-up {
	margin-bottom: 250px;
}

#home-sign-up .form-button {
	padding: 0px 80px;
	border: 0;
	font-weight: bold;
	font-family:'Azbuka W01 Bold';
}

.social-media a {
	margin: 0px 5px;
}

.social-media a:hover {
	text-decoration: none;
	border: 0;
}

.social-media a img {
	width: 28px;
}

#header-social-media {
	float: right;
	margin-top: 23px;
}

#header-social-media img {
	height: 34px;
}

#header-social-media a:hover {
	text-decoration: none;
}

img.image-left,
img.image-far-left,
img.alignleft,
img.image-right,
img.image-far-right,
img.alignright,
img.half-left {
	margin: 10px;
}

img.image-left,
img.image-far-left,
img.alignleft {
	float: left;
	margin-left: 0px;
}

img.image-right,
img.image-far-right,
img.alignright,
img.half-right,
.mftp-related-post.right {
	float: right;
	margin-right: 0px;
}

img.half-left,
img.half-right{
	width: 50%;
}

img.full-width {
	width: 100%;
	margin: 10px 0px;
}

h1 {
	color: #666666 !important;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
	margin-top: 40px;
}

#content h2,
#content h2 b,
#content h3,
#content h3 b {
	color: #666666 !important;
	font-family:'Azbuka W01 Bold';
}

#content h2,
#content h2 b {
	font-size: 30px;
}

#content h3,
#content h3 b {
	font-size: 25px;
}

#content p {
	margin: 30px 0px;
	color: #666666;
}

#content p,
#content li,
#content ul {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 19px;
}

#content p:first-child {
	font-size: 21px;
	font-family: 'Source Sans Pro', sans-serif;
}

#content blockquote p {
	margin: 0;
}

#content p.wp-caption-text {
	margin-top: 0px;
	padding: 20px;
	background-color: #f2f2f2;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: bold;
}

#sidebar,
.sidebar {
	z-index: 12;
}

#sidebar-title {
	display: none;
	font-family:'Azbuka W01 Bold';
	font-size: 22px;
	margin-top: 30px;
	color: #666666;
}

#collapsed-search,
#logo-small {
	display: none;
}

.collapsed #head .container {
	position: fixed;
	z-index: 10;
	top: 0;
	left: 0;
	right: 0;
}

.main .col-md-3 {
	z-index: 100;
}

#home #sidebar-updates {
	margin-top: 100px;
}

#home h2,
#home h3,
#home h4 {
	color: #666666;
}

#all-posts h2,
#category h2,
#home h2,
#home h3 {
	font-family:'Azbuka W01 Bold';
	font-weight: bold;
	color: #666666;
}

#all-posts h2,
#category h2,
#home h2 {
	font-size: 36px;
}

#home h3 {
	font-size: 35px;
}

.home-post h4 {
	font-family:'Azbuka W01 Regular';
	font-size: 22px;
}

.mob-hidden {
	display: none;
}

#meet-us-at h2,
#essay-categories h2,
#home-sign-up h2 {
	margin-top: 10px;
	margin-bottom: 30px;
}

#home h2 {
	margin-top: 0px;
}

#essay-categories .col-md-6.first .home-category {
	float: right;
}

#essay-categories .col-md-6 .home-category {
	margin: 0px 15%;
}

.home-category {
	margin: auto;
	text-align: center;
	font-family:'Azbuka W01 Bold';
	font-size: 25px;
	display: block;
	margin: 20px 0px;
}

.home-category,
.home-category:hover {
	color: #00cc99;
}


.home-category-image {
	border-radius: 100%;
	background-color: #00cc99;
	padding: 35px;
	margin: 17px auto;
	height: 140px;
	width: 140px;
}

.home-category-image img {
	width: 70px;
	height: 70px;
}

#meet-us-at {
	color: #666666;
}

#meet-us-at .event {
	margin: 30px 0px;
}

#meet-us-at .event .img {
	padding: 0px;
}

#meet-us-at .event img {
	width: 100%;
}

#meet-us-at .event .title {
	font-family:'Azbuka W01 Bold';
	font-weight: bold;
	font-size: 22px;
}

#meet-us-at .event .desc {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 14px;
}

#meet-us-at .event .date {
	font-family:'Azbuka W01 Regular';
	font-size: 16px;
	color: #00cc99;
	margin-top: 10px;
	font-weight: bold;
}

#header-menu li a {
	text-transform: uppercase;
	letter-spacing: 1px;
}

#header-menu li a:hover {
	background-color: transparent;
}

#header-menu {
	margin-bottom: 0px;
}

#essay-sections-dropdown {
	position: absolute;
	left: 0px;
	right: 0px;
	background-color: white;
	display: none;
	z-index: 100;
}

.collapsed #essay-sections-dropdown {
	opacity: 1;
	background-color: #f2f2f2;
	left: 10px;
	right: 10px;
	top: 38px;
}

.dropdown-category {
	padding: 19px 15px;
	float: left;
	width: calc(100% / 3);
}

.dropdown-category:hover {
	background-color: #00cc99;
}

.dropdown-category:hover span {
	color: white;
}

.dropdown-category span,
.dropdown-category-image {
	float: left;
	cursor: pointer;
}

.dropdown-category-image img {
	height: 50px;
}

.dropdown-category-image img.white,
.dropdown-category:hover .dropdown-category-image img.green {
	display: none;
}

.dropdown-category:hover .dropdown-category-image img.white {
	display: block;
}

.dropdown-category span {
	line-height: 50px;
	margin-left: 10px;
	font-family:'Azbuka W01 Regular';
	font-size: 16px;
	color: #00cc99;
	font-weight: bold;
}

#consultancy h1 {
	float: left;
	margin-top: 0px;
}

#get-in-touch-button {
	float: right;
	background-color: #00cc99;
	padding: 6px 18px;
	margin-right: 5px;
	margin-bottom: 0;
	color: white;
	font-family:'Azbuka W01 Bold';
	font-weight: bold;
	font-size: 18px;
	height: 38px;
	margin-left: 5px;
	border-radius: 2px;
}

#get-in-touch-button:hover {
	text-decoration: none;
}

#consultancy .content,
#page .content,
#consultancy .bio p,
#consultancy .bio .social-media a {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 300;
	margin-bottom: 30px;
}

#consultancy .bio .social-media img {
	height: 20px;
}

#consultancy .bio .social-media a {
	color: #666666;
}

#consultancy .bio .headshot {
	max-width: 200px;
}

#consultancy .bio h2,
#specialties-title h3,
.specialties h3,
#consultancy .get-in-touch h3,
#consultancy .testimonials .main h2 {
	font-family:'Azbuka W01 Regular';
}

#specialties-title.row {
	margin-top: 20px;
}

#consultancy-main {
	margin-top: 25px;
}

#consultancy .bio {
	margin-top: 50px;
}

#consultancy .bio h2 {
	margin-top: 30px;
	color: #00cc99;
}

#consultancy .bio hr {
	border: 2px solid #f2f2f2 !important;
}

#consultancy .testimonials {
	margin-top: 100px;
	margin-bottom: 50px;
}

#consultancy .testimonials .main {
	background-color: #f2f2f2;
	padding: 30px 25px;
}

.specialties h3,
#consultancy .testimonials .main h2 {
	margin-top: 0px;
	color: #666666;
}

#consultancy .testimonials .testimonial {
	margin: 40px 0px 0px;
}

#consultancy .testimonials .testimonial .logo {
	width: 100%;
	text-align: center;
	margin-bottom: 40px;
}

#consultancy .testimonial-text,
#consultancy .testimonial-name {
	font-size: 30px;
	color: #666666;
	font-family:'Azbuka W01 Italic';
}

#consultancy .testimonial-name {
	text-align: right;
	margin-top: 20px;
}

.case-study hr {
	border: 1px solid #666666 !important;
}

.case-study .title {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 600;
	font-size: 18px;
	margin-bottom: 20px;
}

.case-study .text {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 300;
}

.case-study .text p {
	font-size: 15px;
}

.case-study .case-study-button {
	width: 100%;
	padding: 8px;
	text-align: center;
	color: white;
	background-color: #00cc99;
	font-family:'Azbuka W01 Bold';
	font-weight: bold;
	font-size: 18px;
	margin: 30px 0px 0px;
	display: block;
}

.case-study .case-study-button:hover {
	text-decoration: none;
}

#consultancy .get-in-touch {
	margin-top: 50px;
	margin-bottom: 100px;
}

#comments {
	margin-bottom: 100px;
}

#comments h3 {
	color: #00cc99;
	margin: 40px 0px;
	font-family:'Azbuka W01 Regular';
}

#comments img {
	border-radius: 100%;
}

.mftp-related-post {
	font-family: 'Source Sans Pro', sans-serif;
	background-color: #f2f2f2;
	color: #666666;
}

.mftp-related-post-related-read {
	font-size: 15px;
	margin-bottom: 5px;
	font-family: 'Source Sans Pro', sans-serif;
}

.mftp-related-post-title {
	font-family:'Azbuka W01 Regular';
	font-size: 22px;
}

.mftp-related-post.inline {
	width: 100%;
	margin: 20px -5px;
	height: 130px;
}

.mftp-related-post.inline .mftp-related-post-image {
	float: left;
	width: 33%;
	height: 130px;
}

.mftp-related-post.inline .mftp-related-post-details {
	float: right;
	width: 67%;
	padding: 10px 15px;
	position: relative;
	height: 100%;
}

.mftp-related-post.inline .mftp-related-post-sub-details {
	display: inline-flex;
	position: absolute;
	bottom: 10px;
}

.mftp-related-post.right {
	width: calc(16.66666667% + 60px);
	display: none;
}

.mftp-related-post.right .mftp-related-post-image {
	width: 100%;
	height: 100px;
}

.mftp-related-post-categories {
	margin-right: 25px;
}

.mftp-related-post-categories,
.mftp-related-post-categories a:hover {
	font-size: 12px;
	margin-top: 1px;
}

.mftp-related-post-categories,
.mftp-related-post-categories a:hover {
	color: #666666;
	text-decoration: none;
}

.mftp-related-post.right .mftp-related-post-details {
	padding: 15px;
}

.mftp-related-post.right .mftp-related-post-title {
	font-size: 18px;
}

.mftp-related-post.right .mftp-related-post-categories {
	margin-bottom: 50px;
}

.autocomplete-header {
	display: none;
}

.aa-dropdown-menu {
	background-color: white;
}

#popup {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(0, 192, 140, 0.8);
	z-index: 1000000;
	display: none;
}

#popup-inner {
	background-color: #f2f2f2;
	margin-top: 100px;
	padding: 25px;
	color: #666666;
}

#popup-close {
	color: #00cc99;
	float: right;
	cursor: pointer;
	line-height: 47px;
	margin-top: -20px;
	margin-right: -10px;
}

#popup-close,
#popup-inner h3 {
	font-family:'Azbuka W01 Bold';
	font-size: 47px;
}

#popup-inner h3 {
margin-top: 0px;
}

#popup-inner p {
	font-family:'Azbuka W01 Regular';
	font-size: 22px;
}

#popup-inner form {
	margin-bottom: 10px;
}

#menu-footer {
	padding: 0px;
	display: inline-flex;
}

#menu-footer li {
	list-style-type: none;
	margin-right: 20px;
}

#menu-footer a {
	text-transform: lowercase;
}

.suggestion-post-attributes {
	color: #666666;
	margin-bottom: 10px;
}

.suggestion-post-title {
	font-family:'Azbuka W01 Bold';
	font-size: 18px;
}

.suggestion-post-content {
	font-family:'Azbuka W01 Regular';
	font-size: 15px;
}

.suggestion-post-content em {
	box-shadow: inset 0 -2px 0 0
}

#mobile-head {
	height: 64px;
	display: none;
	position: relative;
}

#mobile-head button {
	display: block;
	float: left;
	padding: 15px 0px 15px 25px;
}

#mobile-search {
	width: 64px;
}

#mobile-search .algolia-autocomplete {
	position: absolute;
	right: 64px;
	top: 0;
	height: 100%;
	width: 0px;
}

#mobile-search {
	display: none;
}

#mobile-search-input {
	height: 100%;
	width: 100%;
	display: none;
	position: absolute !important;
	right: 0;
}

#mobile-search-button {
	width: 64px;
	height: 64px;
	border-bottom: 3px solid #349d7f !important;
	padding: 20px;
	position: absolute;
	right: 0;
	top: 0;
}

#mobile-search-button img {
	width: 24px;
	height: 24px;
}

#mobile-head a.title {
	float: right;
	color: white;
	padding: 15px 25px 15px 0px;
	font-family:'Azbuka W01 Bold';
	font-size: 22px;
	font-weight: bold;
	display: inline-flex;
}

.collapsed #mobile-head a.title {
	padding: 0;
	line-height: 64px;
	position: absolute;
	right: 75px;
}

#mobile-head a.title,
#mobile-head a.title:hover {
	text-decoration: none;
}

#mobile-close,
#mobile-header-mftp-hash {
	display: none;
}

#mobile-essay-categories {
	display: none;
}

#mobile-essay-categories a {
	text-transform: none !important;
	font-size: 18px !important;
}

#logo {
	width: 50%;
}

#logo-small {
	width: 70%;
}

.wpcf7-form .wpcf7-text,
.wpcf7-form textarea {
	width: 100%;
	margin: 10px 0px;
	padding: 10px;
	font-family:'Azbuka W01 Italic';
	font-style: 30px;
	border: 3px solid #f2f2f2;
	color: #666666;
}

.wpcf7-submit {
	float: right;
	text-align: center;
	color: white;
	background-color: #00cc99;
	font-family: 'Azbuka W01 Bold';
	font-weight: bold;
	font-size: 18px;
	border: 0;
	padding: 8px 25px;
}

#updates-div h2 {
	margin-top: 0px;
}

.collapsed #search {
	position: absolute;
	top: -2px;
	z-index: 23;
	height: 40px;
	right: 10px;
	margin-top: 0px;
	width: 73px;
}

.collapsed #search.open {
	width: 100%;
}

.collapsed #search .input-group {
	height: 100%;
	width: 100%;
	margin-top: 0px;
}

.collapsed #search #query {
	height: 100%;
	display: none;
}

.collapsed #search.open #query {
	display: block;
}

#algolia-search-box input {
	border-bottom: 2px solid #00cc99;
}

#algolia-search-box .search-icon {
	fill: #00cc99;
}

#algolia h2,
#algolia h2 a,
#algolia h3,
#algolia h3 a {
	font-family:'Azbuka W01 Bold';
	color: #666666;
}

#algolia .excerpt,
#algolia .ais-hierarchical-menu--item a,
#algolia .ais-menu--link {
	font-family:'Azbuka W01 Regular';
	color: #666666;
	font-size: 15px;
}

#algolia .ais-stats {
	position: relative;
	top: 0;
}

.ais-search-box {
	display: inline;
}

@media (max-width: 768px) {
	#meet-us-at .col-md-10 {
		padding: 5px 0px;
	}
}

@media (max-width: 650px) {
	#first-foot .social-media,
	#updates-div {
		text-align: left;
		width: 100%;
	}

	#updates-div {
		margin-top: 20px;
	}

	#updates-div .updates {
		display: block;
	}

	#updates-div .updates-text {
		margin: 0;
		display: block;
	}

	#updates-div form {
		width: 100%;
		margin-top: 10px;
	}
}

#ais-facets {
	width: 35%;
	padding: 10px;
	margin-left: 40px;
}

.fb-messengermessageus {
	float: right;
	width: auto !important;
}

.sharedaddy {
	margin-top: 10px;
}

@media (min-width: 500px) and (max-width: 700px) {
	#home-page-posts .col-sm-6 {
		width: 50%;
		float: left;
		padding: 0px 15px!important;
	}
}

@media (min-width: 500px) {
	/*#home-page-featured-post .home-page-post-image {
		width: 367.780821918px !important;
	}*/

	#home-page-featured-post .home-page-post-image,
	#home-page-featured-post .home-page-post-info {
		width: 50%;
		height: 225px;
		float: left;
	}

	#home-page-featured-post {
		width: 100%;
	}
}

@media (max-width: 500px) {
	#home-page-posts .col-sm-6 {
		width: 100%;
	}

	#menu-footer li {
		margin-right: 10px;
	}

	#footer-name {
		display: none;
	}

	#footer-name-mobile {
		display: block;
	}

	#consultancy .testimonials h2,
	#consultancy .testimonial-text,
	#consultancy .testimonial-name {
		font-size: 25px;
	}

	.fb-messengermessageus,
	#get-in-touch-button {
		float: left;
		margin: 10px 5px 10px 0px;;
	}

	.mftp-related-post.inline .mftp-related-post-sub-details {
		display: block;
		position: initial;
		bottom: 0px;
	}

	.mftp-related-post.inline .mftp-related-post-sub-details .mftp-related-post-name {
		margin-top: 5px;
	}

	.mftp-related-post.inline {
		height: auto;
	}
}

@media (min-width: 768px) {
	.home-post.first {
		padding-right: 12px;
	}

	.home-post.last {
		padding-left: 12px;
	}

	.specialties {
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		overflow: hidden;
	}

	.specialties .case-study {
		flex: 1;
		align-items: stretch;
	}

	.specialties .case-study .text {
		margin-bottom: 60px;
	}

	.specialties .case-study .case-study-button {
		 width: auto;
		 margin: auto;
		position: absolute;
		left: 15px;
		right: 15px;
		bottom: 0;
	}
}

@media (min-width: 1001px) {
	#home hr {
		margin: 88px 0px 44px;
	}

	#mobile-overlay {
		display: none !important;
	}

	#home-page-featured-post .home-page-post-image {
		height: 225px;
	}

	#main-content {
		margin-top: 100px;
	}

	#essay-categories,
	#home-sign-up,
	.mob-hidden {
		display: block;
	}

	#search {
		margin-top: 150px;
	}

	.collapsed .sidebar {
		position: fixed;
		top: 10px;
		padding-right: 30px;
	}

	.collapsed .next-to-side-bar {
		margin-left: 25%;
	}

	.collapsed.at-bottom .sidebar {
		position: absolute;
		top: initial;
		bottom: 15px;
	}

	img.image-far-right,
	.mftp-related-post.right  {
		margin-right:  calc(-16.66666667% - 85px);
	}

	.mftp-related-post.right {
		display: block;
	}

	/*.collapsed #logo,
	.collapsed #search,*/
	.collapsed #header-social-media {
		display: none;
	}

	.collapsed #sidebar-title {
		display: block;
	}

	.collapsed #collapsed-menu {
		background-color: #f2f2f2;
	}

	.collapsed #header-menu {
		padding-left: 10px;
		padding-right: 10px;
	}

	.collapsed #header-menu li > a {
		color: #666666;
		font-size: 19px;
		font-weight: normal;
		font-family: 'Azbuka W01 Regular';
		padding: 10px 30px;
		margin-right: 0px;
	}

	.collapsed #header-menu li:first-of-type > a {
		padding: 10px 30px 10px 20px;
	}

	.collapsed #head .container .container-fluid {
		background-color: #fafafa;
	}

	.collapsed #head #header-menu {
		border: 0;
		opacity: 1;
		position: absolute;
		left: 25%;
	}

	#collapsed-search {
		height: 40px;
		float: right;
	}

	.collapsed #collapsed-search {
		display: inline-flex;
	}

	#collapsed-search .algolia-autocomplete,
	#collapsed-search-input {
		width: 100%;
	}

	#collapsed-search-input {
		background-color: #fafafa;
	}

	#collapsed-search-button {
		width: 40px;
		height: 40px;
		padding: 10px;
	}

	#collapsed-search-button img {
		width: 20px;
		height: 20px;
	}

	#collapsed-search input {
		height: 100%;
		border: 0px;
		display: none;
	}

	.collapsed #logo-small {
		display: block;
	}

	#collapsed-menu {
		float: left;
	}

	.collapsed #collapsed-menu {
		float: none;
	}

	.collapsed #menu-main > li {
		height: 40px;
	}

	.collapsed #search #query,
	.collapsed #search .input-group .form-button {
		height: 40px !important;
		border-bottom: 0px !important;
	}

	.collapsed #search .input-group .form-button {
		width: 40px !important;
		height: 40px !important;
	}
}

@media (max-width: 1000px) {
	.next-to-side-bar {
		width: 100% !important;
	}

	.collapsed #search {
		top: 0px;
		height: 64px;
		right: 0px;
	}

	.collapsed #search .form-button {
		width: 64px;
	}

	#main-content {
		margin-top: 50px;
	}

	#search {
		margin-top: 160px;
	}

	#home-page-featured-post .home-page-post-image {
		height: 186.323px;
	}

	#helper {
		height: 0px;
		margin-top: -1px;
	}

	#header-menu {
		z-index: 9;
	}

	#header-menu li {
		text-align: left;
		float: none;
	}

	#header-menu li > a {
		font-size: 30px;
		padding: 0px;
		margin-right: 0px;
		margin: 15px 0px;
		font-size: 20px;
	}

	#header-menu li > a:hover {
		text-decoration: underline;
	}

	.icon-bar {
		background-color: white;
		height: 4px !important;
	}

	.navbar-toggle .icon-bar+.icon-bar {
		margin-top: 2px !important;
	}

	#home .hide-small,
	#sidebar {
		display: none;
	}

	#mobile-head {
		display: block;
	}

	#header-menu {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0px;
		z-index: 100;
		background-color: #00cc99;
		padding: 30px 20px;
	}

	#header-menu li.active > a {
		border: 0;
	}

	#mobile-close,
	#header-social-media,
	#menu-main {
		margin: 0px 30px 0px 20px;
	}

	#menu-main a,
	#menu-main a:hover {
		text-decoration: none !important;
	}

	#header-social-media {
		display: block;
		float: none;
	}

	#header-social-media img {
		width: 32px;
		height: 32px;
	}

	#header-menu {
		opacity: 1 !important;
	}

	#mobile-close {
		display: block;
		width: 25px;
		margin-bottom: 22px;
	}

	#mobile-header-mftp-hash {
		display: block;
		font-family:'Azbuka W01 Heavy';
		font-size: 18px;
		color: white;
		position: absolute;
		bottom: 0;
		right: 0;
		height: 60px;
		background-color: #32ac92;
		-webkit-transform: rotate(-45deg);
		-moz-transform:    rotate(-45deg);
		-ms-transform:     rotate(-45deg);
		-o-transform:      rotate(-45deg);
		bottom: -17px;
		width: 160px;
		right: -59px;
		height: 71px;
		padding-top: 10px;
	}

	#mobile-header-mftp-hash a {
		position: relative;
		text-align: center;
		display: block;
		color: white;
	}

	#mobile-header-mftp-hash a,
	#mobile-header-mftp-hash a:hover {
		text-decoration: none;
	}

	#header-menu {
		overflow: hidden;
	}

	#mobile-essay-categories {
		list-style: none;
		padding-left: 5px;
	}

	#mobile-essay-categories li {
		margin: 10px 0px;
	}

	#mobile-essay-categories li a {
		width: 100%;
		height: 100%;
		display: block;
		margin: 0px;
	}

	/*#mobile-essay-categories img,
	#mobile-essay-categories span {
		float: left;
	}*/

	#mobile-essay-categories img {
		height: 50px;
		width: 50px;
		margin-right: 5px;
	}

	#mobile-essay-categories span {
		line-height: 35px;
	}

	.collapsed #mobile-head {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		background-color: #fafafa;
		z-index: 3;
		border-bottom: 3px solid #f2f2f2;
	}

	#mobile-head .title span {
		margin: 0;
		padding: 0;
	}

	.collapsed #mobile-head .icon-bar {
		background-color: #00cc99;
	}

	.collapsed #mobile-head .black {
		color: #666666;
	}

	.collapsed #mobile-head .green {
		color: #00cc99;
	}

	.collapsed #mobile-search {
		display: inline-flex;
	}
}

@media (min-width: 768px) and (max-width: 1000px) {
	.container {
		width: 750px !important;
	}

	.col-md-9:not(#header-menu) {
		width: 100% !important;
	}

	.col-md-offset-3 {
		margin-left: auto !important;
	}

	.col-md-4 {
		width: 50% !important;
	}
}
