/*
Theme Name: FairAction
*/

.wp-caption-text,
.sticky,
.gallery-caption,
.bypostauthor,
.main-page {}

/*****new css by anil****/

.top-bar .text-area {
	color: #204C97 !important;
}

.masthead:not(.mixed-header) {
	background: none !important;
	background-size: cover !important;
}

.masthead:not(.side-header):not(.full-width):not(.side-header-v-stroke):not(.side-header-menu-icon), .side-header .mobile-header-bar, .side-header .top-bar, .wf-wrap {
	padding: 0 30px !important;
}

.top-bar-bg {
	background: #fff !important;
}

.masthead .top-bar .soc-ico a .soc-font-icon, .masthead .top-bar  .soc-ico a:not(:hover) .soc-font-icon {
	color: #1C499B !important;
}

.mini-contacts.phone.mini-icon-off.show-on-desktop.in-top-bar-left.in-menu-second-switch.first, .mini-contacts.address.mini-icon-off.show-on-desktop.in-top-bar-left.hide-on-second-switch.last {
	color: #0E3E96 !important;
}

.main-nav > li:not(.wpml-ls-item) > a .menu-text {
	color: #fff !important;
	font-weight: bold !important;
}

.page-id-1672 .main-nav > li:not(.wpml-ls-item) > a .menu-text, .page-id-1669 .main-nav > li:not(.wpml-ls-item) > a .menu-text, .page-id-1660 .main-nav > li:not(.wpml-ls-item) > a .menu-text, .page-id-871 .main-nav > li:not(.wpml-ls-item) > a .menu-text, .page-id-1126 .main-nav > li:not(.wpml-ls-item) > a .menu-text {
	color: #000 !important;
	font-weight: bold !important;
}

.branding a img, .branding img {
	max-width: 230px !important;
	height: auto;
}

.branding {
	margin-top: -4px;
}

.masthead:not(.side-header):not(.mixed-header) .header-bar, .header-space {
	min-height: 60px !important;
}

.header-elements-button-1.microwidget-btn-bg-on::before {
	background: rgba(0,0,0,0) !important;
	border: 1px solid #fff !important;
}

.main-nav .sub-nav>li.act:not(.dt-mega-parent):not(.wpml-ls-item)>a .menu-text, .mini-nav .sub-nav>li.act:not(.dt-mega-parent):not(.wpml-ls-item)>a .menu-text, .main-nav .sub-nav>li.act:not(.dt-mega-parent):not(.wpml-ls-item)>a .subtitle-text, .mini-nav .sub-nav>li.act:not(.dt-mega-parent):not(.wpml-ls-item)>a .subtitle-text, .main-nav .sub-nav>li.dt-mega-parent.current-menu-item:not(.wpml-ls-item)>a .menu-text, .mini-nav .sub-nav>li.dt-mega-parent.current-menu-item:not(.wpml-ls-item)>a .menu-text, .main-nav .sub-nav>li.dt-mega-parent.current-menu-item:not(.wpml-ls-item)>a .subtitle-text, .mini-nav .sub-nav>li.dt-mega-parent.current-menu-item:not(.wpml-ls-item)>a .subtitle-text{
	color: #204c97 !important;
}

.header-elements-button-1:not(:hover) span {
	color: #fff !important;
}

.header-elements-button-1:hover span {
	color: #333 !important;
}

.header-elements-button-1:hover span {
	color: #fff;
}

.header-elements-button-1:hover .header-elements-button-1.microwidget-btn-hover-bg-on::after {
	background: #fff !important;
}

.header-elements-button-1.microwidget-btn-hover-bg-on::after {
    background: #fff !important;
    background: -webkit-linear-gradient("");
    background: linear-gradient("");
}

#page .header-banner, #page #main-slideshow, #page #main {
	top: -70px !important;
	position: relative !important;
	margin-bottom: -30px !important;
}

.masthead:not(.side-header):not(.side-header-menu-icon) .top-bar, .masthead:not(.side-header):not(.side-header-menu-icon) .header-bar, .masthead:not(.side-header):not(.side-header-menu-icon) .mobile-header-bar {
	max-width: calc(1300px - 20px) !important;
}

.top-bar > .mini-widgets {
	padding-left: 5px !important;
}

.top-bar .mini-widgets.right-widgets, .top-bar .mini-widgets:last-child {
	margin-right: 3px !important;
}

.header-bar::before, .home .header-bar::before {
	position: absolute;
	content: "";
	left: -500px;
	width: 500px;
	background: #fff;
	height: 70px;
	bottom: 0px;
	top: auto;
}

.home .vc_column-inner{
	padding-left: 0px !important;
	padding-right: 0px !important;
}

.l-to-r-line > li > a i.underline {
	bottom: -6px;
	background-color: #fff !important;
	background: #fff !important;
	/* background: -webkit-linear-gradient(""); */
	background: linear-gradient("");
	height: 2px;
}

.header-elements-button-1:hover span {
	color: #000;
}

.header-elements-button-1.microwidget-btn-hover-bg-on::after {
	background: #fff;
	background: -webkit-linear-gradient("");
	background: linear-gradient("");
}

.header-elements-button-1.microwidget-btn-bg-on::before {
	background: rgba(0,0,0,0) !important;
	border: 1px solid #fff !important;
}

/*****responsive css start here*******/

@media (max-width:1050px){
	.masthead.masthead-mobile-header:not(#phantom) {
		background: rgba(255,255,255,0.9) !important;
		height: 115px !important;
	}
	
	.show-device-logo .branding img.mobile-logo, .show-device-logo .mobile-branding img.mobile-logo {
		display: block;
		max-width: 100%;
		height: auto;
		width: 150px !important;
	}
	
	.text-area.show-on-desktop.near-logo-first-switch.in-menu-second-switch.show-on-first-switch.first {
		display: none;
	}
	
	.text-area.show-on-desktop.near-logo-first-switch.in-menu-second-switch {
		display: block;
		position: absolute;
		right: 15%;
	}
	
	.header-elements-button-1.microwidget-btn-bg-on::before {
		background: rgba(0,0,0,0) !important;
		border: 1px solid #090909 !important;
	}
	
	.header-elements-button-1:not(:hover) span {
		color: #000 !important;
	}
}

@media (max-width:991px){
	#page .masthead.inline-header.center.widgets.full-height.shadow-decoration.small-mobile-menu-icon.show-device-logo.show-mobile-logo.masthead-mobile-header.masthead-mobile {
		background: #fff !important;
	}
	
	.show-mobile-logo .mobile-branding img.mobile-logo {
		max-width: 220px !important;
	}
	
	.masthead.masthead-mobile-header:not(#phantom) {
		background: rgba(255,255,255,0) !important;
		height: auto !important;
	}
	
	.vc_custom_1553147657578 {
		margin-top: -35px !important;
	}
	
	.wpb_button, .wpb_content_element, ul.wpb_thumbnails-fluid > li {
		margin-bottom: 30px;
		top: 20px !important;
		position: relative;
	}
	
	#page .header-banner, #page #main-slideshow, #page #main {
		top: 0px !important;
		position: relative !important;
		margin-bottom: 0px !important;
	}
	
	
	
	.text-area.show-on-desktop.near-logo-first-switch.in-menu-second-switch {
		display: block;
		position: relative;
		right: auto;
	}
}

@media (max-width:768px){
	.show-mobile-logo .branding img.mobile-logo, .show-mobile-logo.show-device-logo .branding img.mobile-logo, .show-device-logo .branding img, .show-mobile-logo .mobile-branding img.mobile-logo, .show-mobile-logo.show-device-logo .mobile-branding img.mobile-logo, .show-device-logo .mobile-branding img, .transparent .mobile-branding img.mobile-desktop-logo {
		width: 150px;
	}
	
	.show-mobile-logo .mobile-branding img.mobile-logo {
		max-width: 140px !important;
	}
}

@media (max-width:420px){
	.show-mobile-logo .mobile-branding img.mobile-logo {
		max-width: 150px !important;
	}
	
	#main {
		padding: 50px 0 !important;
	}
}