/*
Theme Name: IFB
Theme URI: http://dreamproduction.com
Description: Custom WordPress theme developed for IFB.
Author: Dream Production
Author URI: http://dreamproduction.com/
Version: 4.7.8
Text Domain: ifb
*/

/*
   Nothing here. See css/general.css and scss/*.scss
*/


.section-title.new {
	display: block;
	text-align: center;
}
.home .module-news .module-wrap h3 {
	/*display: none;*/
	font-size: 25px;
	font-weight: bold;
	text-align: center;
	border-bottom: none;
}
.module-raw-box h3:empty {
	display: none;
}
.section-title.new {
	display: block;
	text-align: center;
	padding: 20px 0;
}
.home .module-news .details .date {
	padding: 5px 0 10px;
}
body #franchise-opportunities-child.Opportunities_sale .column_for_sale .column {
	border: none;
}
.home .franchise-info-wrapper {
	margin-top: 20px;
	border: 2px solid #ddd;
	padding: 20px;
}
.home .franchise-info-wrapper .columns {
	padding: 0;
}


body.blog .post-details .title {
	margin-bottom: 5px;
}
.view_all_blogs {
	color: #2574b0;
	border: 1px solid #2574b0;
	padding: 8px 20px;
	border-radius: 5px; 
}
.view_all_blogs:hover {
	background: #000;
	border: #000;
	color: #fff;
	text-decoration: none;
}
    

.featured-franchises-grid, .wrap-brand {
	display: block;
	margin: 0 auto;
	overflow: hidden;
}
body .detail-brand {
	width: 20%;
	float: left;
	overflow: hidden;
	min-height: 150px;
	margin: 0 auto 30px;
	text-align: center;
}
body .detail-brand img {
	max-height: 90px;
	width: auto;
}
.mobile-more {
	margin: 0 auto;
}
.view-more-brand, .read-less-brand {
	display: block;
	margin: 0 auto;
	text-align: center;
}
.home .module-quick-search-box, .home .module-opportunities-for-sales, .home .module-news {
	background: #fff;
}

.home .module-quick-search-box{ 
	margin-bottom: 0;
	padding-bottom: 40px;
}
.home .hero-section .hero-overlay-inner {
	background: rgba(40,43,60,0.8);
	max-width: 70%;
	left: 15%;
	padding: 30px;
	border-radius: 10px;
	bottom: 8%;
}
.home .hero-section .hero-overlay-inner .franchise-search-form, .home .hero-section .hero-overlay-inner .franchise-search-form input {
	max-width: 100%;
}
.home .hero-section .hero-overlay-inner h1 {
	font-size: 24px;
	text-align: left;
}
.home .hero-section .hero-overlay-inner .franchise-search-form input {
	border-radius: 5px;
}
.home .hero-section .hero-overlay-inner .franchise-search-form input[type="submit"] {	
	right: 0;	
	background: rgba(40,43,60,0.9);
	padding: 21px 35px;
	top: 0;
	border-radius: 0;
}
.home .detail-brand.more-brand {
	display: none;
}
.home .detail-brand.more-brand.show {
	display: block;
}
.home #franchise-opportunities-child.Opportunities_sale .bottom_btn {
	padding: 0;
	margin-top: 10px;
}
.home #franchise-opportunities-child.Opportunities_sale .button {
	display: inline-block;
	vertical-align: middle;
	width: 31%;
	color: #282b3c;
	background: no-repeat;
	border: 1px solid #282b3c;
	font-size: 13px;
	font-weight: bold;
	font-family: Lato,"Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
	border-radius: 0;
	margin-bottom: 0;
	padding: 0.85em 1em;
	float: none;
	margin-right: 5px;
	font-size: 14px;
}
.home #franchise-opportunities-child.Opportunities_sale .franchise-info-wrapper h4 {
	margin: 5px 0 10px;
}
.home .franchise-info-wrapper .description-wrapper h4 {
	min-height: 43px;
}
.home .franchise-info-wrapper .description {
	margin-top: 10px;
	min-height: 101px;
}
body.home div.featured-frachises-wrapper {
	width: 100%;
	padding-left: 0;
}
body .detail-brand a {
	position: relative;
	overflow: hidden;
	display: block;
	margin: 0 auto;
}
body .detail-brand img {
	width: 100%;
	max-width: 100%;
	max-height: 100%;
	height: 100%;
}
body .detail-brand .field-image {
	height: 150px;
	position: relative; 
}
body .detail-brand .field-title {
	position: absolute;
	bottom: 0;
	display: block;
	margin: 0 auto;
	width: 100%;
	background: rgba(100,101,110,0.8);
	overflow: hidden;
	display: none;
}
body .detail-brand p {
	color: #fff;
	padding: 6px;
	overflow: hidden;
	white-space: nowrap;
	max-width: 70%;
	text-align: center;
	margin: 0 auto;
}
.home .hero-section .hero-overlay-inner .franchise-search-form input {
	border-radius: 5px;
	background-image: url(assets/images/search.png);
	background-position: 10px center;
	padding-left: 50px;
	background-repeat: no-repeat;
	/*background-color: #dddddf;*/
	color: #000;
}  
.home .hero-section .hero-overlay-inner .franchise-search-form::placeholder {
  	color: #000 !important;
  	opacity: 1 !important;
}
.home .hero-section .hero-overlay-inner .franchise-search-form::-webkit-input-placeholder { 
	color: #000 !important;
  	opacity: 1 !important;
}  
.home .hero-section .hero-overlay-inner .franchise-search-form::-moz-placeholder { 
  	color: #000 !important;
  	opacity: 1 !important;
}
.home .hero-section .hero-overlay-inner .franchise-search-form:-ms-input-placeholder { 
  	color: #000 !important;
  	opacity: 1 !important;
}
.home .hero-section .hero-overlay-inner .franchise-search-form:-moz-placeholder { 
  	color: #000 !important;
  	opacity: 1 !important;
}
.hide{
	display: none !important;
}
.home #franchise-opportunities-child.Opportunities_sale .enquire-franchise-reveal-button {
	margin-right: 0;
}
.home header#masthead {
	background-color: rgba(40,43,60,0.8) !important;
}
body.home header#masthead .row.top-header {
	background: transparent;
}
.container_search.mobile, .mobile-more{  
	display: none;
}

.container_search.mobile { 
    margin: 0 auto;
    text-align: center;
}
.quick-search-box .container_search.mobile select {
	-moz-appearance:none; 
	-webkit-appearance:none; 
	appearance:none;
}
.container_search.mobile select#quick-search-select {
    height: 60px;
    max-width: 80%;
    margin: 0 auto;
    overflow: hidden;
	overflow: -moz-hidden-unscrollable;
	background: url(assets/images/icon-select.png) no-repeat right white;
}
.social-top{
	text-align: center;
	padding: 20px;
	height: 138px;
	display: table;
}


body .notfound {
	display: block;
	margin: 0 auto;
	text-align: center;
	padding: 100px 0;
}
.number_found h1 {
	color: #dece89;
	font-size: 120px;
	font-weight: bold;
}
.notfound .title-text {
	font-size: 30px;
	font-weight: bold;
	line-height: 1.2;
}
.notfound p {
	font-size: 18px;
}
.notfound .button,.notfound .button:hover {
	background: none;
	padding-top: 25px;
}
.notfound .button a {
	background: #2774b0;
	color: #fff; 
	padding: 10px 30px;
	border-radius: 37px;
	font-weight: bold;
}
.notfound .button a:hover {
	background: #282b3c;
	text-decoration: none;
}


#video-items .gallery-item  img {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    padding: 4px;
}




@media all and ( min-width: 768px ) and ( max-width: 1024px ){
	#article-panel .article-wrapper .article-item {
	    width: 50%;
	}
	#article-panel .article-wrapper .article-item:nth-of-type(3n+1) {
	    clear: none;
	}
	#article-panel .article-wrapper .article-item:nth-of-type(2n) {
	    clear: right;
	}
	body .featured-article-posts-wrapper .article-wrapper .article-item .article-item-content {
		padding: 10px 10px 10px 190px;
	}
}

@media all and ( min-width: 768px ) and ( max-width: 1024px ) and ( orientation:landscape ){
	.home .module-news .story {
		overflow: hidden;
	}
	.home a.story-image {
		height: auto;
	}
	body #franchise-opportunities-child .franchise-teaser-image-wrapper {
		height: 180px;
	}
	.home #franchise-opportunities-child.Opportunities_sale .button {
		display: block;
		width: 100%;
		text-align: center;
		margin-top: 5px;
	}
  
	header .large-6 {
		width: 45%;
	}
	header .large-6:first-child {
		width: 55%;
	}

	.sub-menu-wrapper .fca-member {
		padding-bottom: 5px;
	}
	body #masthead #main-menu {
		margin-top: 0;
	}
	body .desktop-menu {
		margin-bottom: 0;
	}
	body #masthead #main-menu li {
		padding: 7px 5px 0 5px;
	}

}


@media all and ( min-width: 768px ) and ( max-width: 1024px ) and ( orientation:portrait ){
	body #franchise-opportunities-child .franchise-teaser-image-wrapper {
		height: 160px;
	}
	.home #franchise-opportunities-child.Opportunities_sale .button {
		display: block;
		width: 100%;
		text-align: center;
		margin-top: 5px;
	}
	body .box-social-wrapper {
		padding-left: 5px;
		padding-right: 5px;
	}
	.module-social-links a {
		float: left;
		width: 20%;
		padding: 0%;
	}


	body header#masthead div.row.top-header {
		padding: 0 0 3px 0;
	}
	body.single-franchise .brand-section-wrapper{
		height: auto;
		min-height: 270px;
	}
	.single-franchise .brand-section-wrapper .info-wrapper div.cta-wrapper {
		margin: 0 auto;
		text-align: center;
	}
	body .sub-menu-wrapper .fca-member, body .sub-menu-wrapper .fca-member {
		display: inline-block;
		float: none;
		width: 49%;
		padding-bottom: 15px;
		text-align: right;
		vertical-align: top;
	}
	body div.sub-menu-wrapper .fca-member:last-child{
		text-align: left;
	}
	footer .first-column img {
		max-width: 300px;
		margin-top: 20px;
	}
	body .fixed.sub-menu-wrapper .fca-member, body .fixed.sub-menu-wrapper .fca-member {
		padding-top: 10px;
	}
	body .franchises-for-sale div.cell.column_for_sale {
		width: 33%;
	}
	body .single-franchise-parent .franchises-for-sale .franchise-teaser-image-wrapper {
		height: 200px !important;
	}
	body .featured-article-posts-wrapper .article-wrapper .article-item img {
		min-height: 150px;
	}
	body .single-franchise-parent .franchises-for-sale .franchise-info-wrapper .description-wrapper .buttons button {
		padding: 10px 5px;
	}
}




@media all and (max-width: 768px){

	body header#masthead div.row.top-header {
		display: block;
	}
	body .top-header .title {
		margin-left: 5px;
		font-size: 10px;
	}
	body .top-header .right-align {  
		display: none;
	}
	.franchises-for-sale div.cell.column_for_sale {
		/*width: 33%;*/
	}

}

@media all and ( max-width: 767px ){
	#masthead #main-menu #main-nav.mobile-menu li.menu-item {
		text-decoration: none;
	}
	body #masthead nav#main-menu ul.sub-menu li {
		padding: 10px 15px;
	}  
	body #masthead #main-menu li.menu-item.menu-item-has-children > a {
		width: 92%;
	}
	#masthead #main-menu li.menu-item.menu-item-has-children > a:hover {
		width: 100%;
		border: 1px solid #2574b0;
	}
	#masthead #main-menu li.menu-item.menu-item-has-children ul a {
		border: none;
	}
	#masthead #main-menu li.menu-item.menu-item-has-children:hover::before {
		/*content: "-";
		top: 0;
		right: 0;
		line-height: 5px;*/
	}
	body #masthead #main-menu #main-nav.mobile-menu li.menu-item.menu-item-has-children::before {
		font-size: 22px !important;
		font-weight: 100 !important;
	}
	body #masthead #main-menu {
		border-top: none;
	}
	.nav > li > a:hover, .nav > li > a:focus {
		border: 1px solid #2574b0;
	}

	.single-franchise .menu-box .sub-menu-wrapper, 
	.single-service_supplier .menu-box .sub-menu-wrapper { 
		padding-top: 50px; 
	}

	body .module-social .social-wrapper {
	    padding: 0;
	}
	.social-top{
		height: auto;
	}
	body .module-social .newsletter {
		text-align: center;
	}
	body .module-social-links a {
	    display: inline-block;
	    overflow: hidden;
	    height: auto; 
	}
	body .module-social .social-wrapper .module-social-links [class^="icon-"]{
		display: block;
	}
	body .module-social .social-wrapper .module-social-links {
		margin-top: 0;
		margin-bottom: 0;
	}
	body .detail-brand {
		min-height: 0;
	}
	body .detail-brand {
		width: 33.333%;
	}
	.home .detail-brand.more-brand {
		display: block;
	}
	.home .detail-brand.more-brand-mobile {
		display: none;
	}
	.home .detail-brand.more-brand-mobile.show {
		display: block;
	}
	.module .quick-search-box h4 {
		font-size: 20px;
	}
	
	.container_search.mobile, .mobile-more{
		display: block;
	}
	.container_search.desktop, .desktop-more{
		display: none;
	}
	body .module-social .newsletter {
		height: auto;  
	}
	#franchise-opportunities-child .franchise-teaser-image-wrapper {
		height: auto;
	}
	.home .franchise-info-wrapper .description-wrapper h4 {
		min-height: 0;
	}

	.home .hero-section .hero-overlay-inner h1 {
		text-align: left; 
		margin-bottom: 15px;
	} 
	.home .hero-section .hero-overlay-inner {
		max-width: 100%;
		left: 0;
		padding: 20px;
		bottom: 3%;
	}
	.home .hero-section .hero-overlay-inner .franchise-search-form input {
		height: 60px;
		font-size: 20px;
		margin-bottom: 10px;
		width: 100%;
		display: block;
		background: #fff; 
		padding: 3px 30% 3px 3px;
	}
	.home .hero-section .hero-overlay-inner .franchise-search-form input[type="submit"] {
		position: absolute;
		padding: 10px;
		top: 0;
		bottom: 0;
		right: 0;
		border-radius: 3px;
	}

	.home #franchise-opportunities-child.Opportunities_sale .button {
		white-space: nowrap;
		padding: 13px 5px;
	}

	.postid-52704 #snapshot-panel .col-sm-6:first-child p {
		font-weight: bold;
	}
	body .fancybox-container {
		z-index: 9999999;
	}
	body.single-franchise .brand-info a.button {
		color: #fff;
	}
	body.single-franchise .brand-info a.button:hover {
		background: #405a7c;
		color: #fff;
	}
	.franchises-for-sale div.cell.column_for_sale {
		width: 100%;
	}
	body header#masthead div.row.top-header {
		padding: 0 0 3px 0;
	}
	body.single-franchise .brand-section-wrapper{
		height: auto;
		min-height: 185px;
	}
	body .tabs-title {
		float: none;
		text-align: center;
		display: block;
		border-bottom: 1px solid #d3d3d3;
		background: #ebebec;
	}
	body .single-franchise-parent .block.col-sm-12 {
		padding-left: 0;
		border: none;
		padding-right: 0;
		background: none;
	}
	.sub-menu-wrapper #brand-tabs {
		background: #fff;
		border: none;
		padding-top: 0;
		margin-top: 0;
	}
	body .sub-menu-wrapper .fca-member, body .sub-menu-wrapper .fca-member {
		display: inline-block;
		float: none;
		margin: 15px auto;
		text-align: center;
		width: 48%;
	}
	body div.sub-menu-wrapper .fca-member img{
		float: right;
	}
	body div.sub-menu-wrapper .fca-member:last-child img{
		float: left;
	}
	.sub-menu-wrapper.fixed {
		position: relative !important;
	}
	body.single-franchise .brand-info a {
		color: #2574b0;
	}
	
	#snapshot-panel .col-sm-12:last-child {
		padding-top: 10px;
	}
	#snapshot-panel .col-sm-12:last-child strong{
		font-size: 1.125rem;
	}
	#snapshot-panel .col-sm-6 {
		padding: 0;
	}
	#snapshot-panel .col-sm-12:last-child .col-sm-12 {
		padding: 0;
	}
	#snapshot-panel .small-12.section-title {
		padding: 0;
	}
	body .single-franchise-parent .franchises-for-sale .section-title{
		margin-top: 5px;
		margin-bottom: 5px;
	}
	body .single-franchise-parent .date{
		color: #b7b7b7;
	}
	.single-franchise-parent .featured-article-posts-wrapper .article-wrapper .article-item .article-item-content p {
		color: #000;
	}
	.single-franchise .featured-article-posts-wrapper .article-wrapper .article-item img {
		min-height: 0;
		width: 100%;
		height: auto;
	}
	footer#colophon .column.third-column .copyright, footer#colophon p, footer#colophon a, .contact-box.ss-contact.column p {
		font-weight: bold;
	}
	.single-franchise .article-item-content a {
		font-size: 20px;
		margin-top: 10px;
	}
	footer#colophon .first-column img {
		max-width: 250px;
	}
	#snapshot-panel p strong {
		width: 100%;
		min-width: 200px;
		overflow: hidden;
		display: inline-block;
	}

}

@media all and ( max-width: 767px ) and ( orientation: landscape ) {

	.home .hero-section .hero-overlay-inner {
		max-width: 70%;
		left: 15%;
	}
	body .detail-brand .field-image {
		height: 200px;
	}

	.single-franchise-parent div .tabs .tabs-title a{
		padding: 15px 0 15px 0;
	}
	.single-franchise-parent .franchises-for-sale img.franchise-teaser-image-wrapper {
		height: auto;
	}
	.single-franchise .enquire-from-iframe {
		height: 620px;
	}
	.single-franchise .featured-article-posts-wrapper .article-wrapper .article-item .article-item-content {
		padding: 5px 5px 5px 240px;
	}
	.single-franchise .featured-article-posts-wrapper .article-wrapper .article-item .article-item-content a {
		display: block;
		width: 100%;
	}
	.single-franchise  .featured-article-posts-wrapper .article-wrapper .article-item a {
		width: 230px;  
	}
}
@media all and ( max-width: 767px ) and ( orientation: portrait ) {
	body .detail-brand .field-image {
		height: 100px;
	}

}

@media all and (max-width: 520px){
	.single-franchise-parent .enquire-from-iframe,
	.single-service_supplier .enquire-from-iframe {
		height: 1150px;
	}
	.single-franchise-child .enquire-from-iframe {
		height: 750px;	
	}
	body.single-franchise .brand-section-wrapper {
		min-height: 115px;
	}
	.single-franchise .menu-box .sub-menu-wrapper, 
	.single-service_supplier .menu-box .sub-menu-wrapper { 
		padding-top: 30px; 
	}
	.home #franchise-opportunities-child.Opportunities_sale .button{
		font-size:11px;
	}
	.home .hero-section .hero-overlay-inner{
		bottom: 50px;
	}
}
