/*
 Theme Name:   IFSEC Global
 Description:  Darwin Child
 Template:     darwin
 Version:      2.3
*/

body #ec-sidebarDownloadArticle {
position:relative;
}

/* #1 Regular Weight */
@font-face {
	font-family: "CooperHewitt";
	font-style: normal;
	font-weight: normal;
	src: url("fonts/CooperHewitt-Medium.otf");
}

/* #2 Italic Style */
@font-face {
	font-family: "CooperHewitt";
	font-style: italic;
	font-weight: normal;
	src: url("fonts/CooperHewitt-MediumItalic.otf");
}

/* #3 Bold Weight */
@font-face {
	font-family: "CooperHewitt";
	font-style: normal;
	font-weight: bold;
	src: url("fonts/CooperHewitt-Heavy.otf");
}

/* #4 Bold Italic Style */
@font-face {
	font-family: "CooperHewitt";
	font-style: italic;
	font-weight: bold;
	src: url("fonts/CooperHewitt-HeavyItalic.otf");
}

h1, h2, h3, h4, h5, h6 {
font-family: 'CooperHewitt', 'Helvetica' !important;	
}

ul, p, li, a {
font-family: 'Roboto', 'Helvetica';
}


body h1,body  #ec-topStory h2{
font-weight:900 !important;
}

/* Directory hover fix */
.directoryItem:hover .directoryItemName {
    color: #999 !important;
}

#ec-sidebarPromoBox {
	border: solid 2px #403d61;
	width: 100%;
	padding: 20px 8px;
}
.ec-sidebarPromoBoxTitle,.ec-sidebarPromoBoxVideo,.ec-sidebarPromoBoxImage{
	text-align:center;
}
.ec-sidebarPromoBoxImage {
    height: 180px;
	width:280px;
    background-size: cover;
    margin: 10px 0;
}
.ec-sidebarPromoBoxVideo{
	margin: 10px 0;
	
}
#ec-sidebarPromoBox:hover{
	opacity:.8;
}
.ec-sidebarPromoBoxLink,.ec-sidebarPromoBoxLink:hover{
    color: initial !important;
	
}

.ec-sidebarPromoBoxLogoImage{
  background-repeat: no-repeat;
  background-position:center;
  height: 90px;
  margin-bottom:6px;
}

#ec-navigationRow .dropdown-menu{
  background-color: #d3d3ef;
  border-radius:0px;
  padding:5px 0 0 0 !important;
  top:91%;
}

#ec-navigationRow .dropdown-menu li{
  border-bottom:3px solid #d3d3ef;
  padding:5px 0;
}

#ec-navigationRow .dropdown-menu li:hover{
  border-bottom:3px solid #fff;
}

#ec-navigationRow .dropdown-menu li a:hover{
  background-color: #d3d3ef;
}

#ec-navigationRow .dropdown-menu > .active > a{
  background-color: #d3d3ef;
}

#ec-navigationRow #ec-headerNavInLine ul li.open{
  border-bottom:none;
}

#ec-homeSidebar .ginput_recaptcha, #ec-postSidebar .ginput_recaptcha, #ec-tagSidebar .ginput_recaptcha, #ec-searchSidebar .ginput_recaptcha{
  transform: scale(0.82);
  -webkit-transform: scale(0.82);
  transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
}

#ec-homeSidebar .ginput_recaptcha > div, #ec-postSidebar .ginput_recaptcha > div, #ec-tagSidebar .ginput_recaptcha > div{
  width:248px !important;
}

#ec-postContent a{
  text-decoration:underline;
}	

#ec-postContent a:hover{
  text-decoration:underline !important;
}

#ec-resourceFormColumn .hidden_sub_label{
  display:none;
}

#dw-hubBannerDownloadButton{
  color:#fff !important;
}

#ec-socialIconsContainer i{
  font-family: FontAwesome;
  font-weight: normal;
}

.ec-siteContainer .ssbp-wrap{
	display:none;
}

/*  Related Topics */

.ec-relatedArticleImage > div {
height:160px;
background-size:cover;
}

@media (min-width:992px) {
.ec-relatedArticleText h5 {
line-height:20px !important;
}
}

/* End related topics */

/* Share Buttons Fix */
.ssbp-btn:before{
font-size:30px;
line-height:59px !important;
}
/* Share Buttons end */

/* Home titles */
body #ec-siteWrap .dw-sectionTitle, body .dw-sectionTitle, body #widgetContainer .dw-sectionTitle {
font-size:16px !important;
text-transform:uppercase;
letter-spacing:0.3px !important;
font-weight:500 !important;
}

/* Date in searches */
.facetwp-template article .dw-articleAuthorDate, #ec-searchContent article .dw-articleAuthorDate{
margin-top:5px !important;
}

/* end dates in searches */

/* Front page headings and authors */
article .dw-articleAuthorDate {
margin-top:-5px !important;
margin-bottom:5px !important;
}
body #ec-homeArticleFeed article .dw-articleAuthorDate {
margin-top:-8px !important;
margin-bottom:-5px !important;
}

#ec-topStory h2 {
font-weight:500 !important;
font-size:22px !important;
line-height:25px !important;
}
body #ec-resourceRow article h2, body #ec-resourceRow article h3, article h2, body #ec-homeArticleFeed article h3,#ec-secondStory h2,body #ec-secondStory article #ec-secondStoryText h3,article h2, article h3, article h4, body #ec-homeContainer #ec-secondStory h3 {
font-weight:500 !important;
font-size:18px !important;
line-height:21px !important;
color:#000;
}
#ec-resourceRow article h3 {
margin-bottom:5px;
}

#ec-secondStoryText {
padding:0px;
}
/* end headings */


.dw-inlineRadio li {
float:left !important;
margin-right:20px !important;
}

.dw-inlineRadio li input {
margin-top:0px !important;
}

/* reskins */
body #ec-siteWrap #ec-postBannerContainer, body #ec-siteWrap #ec-postBannerContainer * {
position:relative;
}

/* Widget */


@media (min-width:767px) {
	
body #widgetContainer {
display:block !important;
clear:both !important;
float:none !important;
clear:both !important;
margin:15px auto 30px !important;
width:100% !important;
max-width:1170px !important;

}

body #widgetContainer h3 {
color:#000;
margin:0px 0px 15px 15px;
}

.directoryItem {
    width: 25% !important;
    float: left;
    padding: 0px 15px;
}
}

@media (min-width:768px) {
#ec-postAuthorMobile{
	display:none;
}	
	
/* Other */
#menu-new-top-level-nav {
margin-right:20px;
}

#menu-new-top-level-nav li a { 
border-right: 1px solid #000 !important;
}

#menu-new-top-level-nav > li:last-child a { 
border-right: 0px !important;
}

body #menu-new-top-level-nav li:hover {
border-bottom: #000 solid 2px !important;
}
}


#ec-headerNavAdditional > ul > li > a {
background-color: #424242 !important;
}


#ec-headerNavAdditional > ul > li > a:hover {
background-color: #424242 !important;
cursor:default !important;
}

#ec-homeContent h3, #ec-homeContent h2 {
font-weight:600;
}

#ec-siteBody .ec-downloadSearch {
min-height:295px !important
}
/* Doubleclick Fix */

#widgetContainer {
border-top-color: #403d61 !important;
}

#ec-siteBody .ec-linkContainer .ec-feedArticleText p {
font-size: 14px !important;
    line-height: 19px !important;
padding-top:0px !important;

}

form ul {
padding:0px !important;
margin:0px !important;
}

.ec-siteContainer form ul li input  {
margin-bottom:15px !important;
padding:5px !important;
}

#ec-siteBody footer .gform_fields {
list-style:none;
margin:0px;
}

#ec-siteBody #ec-signupFooterFloat .gform_wrapper form > * {
    display: table-cell;
    vertical-align: top !important;
}

#div-gpt-ad-outofpage {
display:none !important;	
}
button {
padding:10px 5px;
border:0px;
color:#fff;
letter-spacing:0.2px;
background-color:#403d61;
}

button:hover {
opacity:0.8;
}

#ec-hubSidebarFloat #ec-hubFeaturedDownloads a p, #ec-hubSidebarFloat h3 {
color:#fff !important;
}

#ec-hubSidebarFixedFloatOuter {
display:none;
}

#ec-hubSidebar {
background-color:#403d61 !important;
}

@media (min-width:992px) {


#ec-hubPageBannerOverlay {
	width:100%;
    position: absolute;
   /*  get_template 10%; */
left:0px;
    background-color: rgba(255, 255, 255, 0.7);
padding:30px 25px;
display:table;
}

#ec-hubPageBannerOverlay h2 {
font-size:30px !important;
line-height:42px !important;
margin:0px;
font-weight:500;
display:table-cell;
vertical-align:middle;
}

#ec-hubBannerButtonContainer {
display:table-cell;
vertical-align:middle;
float:none;
}

#ec-hubBannerButtonContainer button {
padding: 25px 20px !important;
font-size:20px !important;
}

#ec-siteBody #ec-hubContent {
padding:15px 30px !important;
}

#ec-hubBanner {
height:auto;
background-size:cover;
background-repeat: no-repeat;
padding:150px 30px !important;
position:relative;
}

#ec-hubBanner h2 {
font-size:38px;
margin:15px 0px 30px 0px;
text-align:left;
color:#000;
}

#ec-hubBannerButton {
padding:10px !important;
}

#ec-hubSidebar { 
padding-top:15px !important;
}
}

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

#ec-postSidebar #div-gpt-ad-mpu {
margin-left:-15px;
}

#ec-hubPageBannerOverlay {
	width:100%;
    position: absolute;
   /* get_template: 10%;*/
left:0px;
    background-color: rgba(255, 255, 255, 0.7);
padding:30px 25px;
display:table;
}

#ec-hubPageBannerOverlay h2 {
font-size:30px !important;
line-height:42px !important;
margin:0px;
font-weight:500;
display:table-cell;
vertical-align:middle;
}

#ec-hubBannerButtonContainer {
display:table-cell;
vertical-align:middle;
float:none;
}

#ec-hubBannerButtonContainer button {
padding: 25px 20px !important;
font-size:20px !important;
}

#ec-siteBody #ec-hubContent {
padding:15px 30px !important;
}

#ec-hubBanner {
height:auto;
background-size:cover;
background-repeat: no-repeat;
padding:150px 30px !important;
position:relative;
}

#ec-hubBanner h2 {
font-size:38px;
margin:15px 0px 30px 0px;
text-align:left;
color:#000;
}

#ec-hubBannerButton {
padding:10px !important;
}

#ec-hubSidebar { 
padding-top:15px !important;
}
}






@media (max-width:767px) {
  #ec-siteBody #ec-siteWrap p, p span, #ec-siteBody #ec-siteWrap li a, #ec-siteBody #ec-siteWrap  li, #ec-siteBody #ec-siteWrap  article p, #ec-siteBody #ec-siteWrap p a {
	font-size:16px !important;
  }
  #ec-topNavigationContainerMobile .dropdown-menu{
    background-color: #f5f5f5;
    border-radius: 0px;
    border: 0px;
    margin: 0px 0 19px;
    position: relative;
    top: -2px;
    width: 100%;
  }

  #ec-topNavigationContainerMobile .dropdown-menu > .active > a{
    background-color: #f5f5f5;
  }
#ec-sidebarPromoBox {
	margin:10px auto !important;
	max-width:100% !important;
}	

#ec-feedArticleImageFloat {
background-position:top !important;
}

#ec-homeContainer {
padding:0px !important;
}

.ec-siteContainer > div {
padding:0px !important;
}

#ec-siteBody article#ec-topStory, #ec-siteBody article#ec-secondStory, #ec-resourceRow article, #ec-siteBody .ec-siteContainer #ec-articleFeedCol1 article,#ec-siteBody .ec-siteContainer #ec-articleFeedCol2 article, #ec-siteBody .directoryItem, #ec-siteBody #ec-sidebarDownloadsContainer article {
display:table !important;
max-width:100% !important;
padding:0px;
border:0px !important;
min-height: 100% !important;
margin:0px auto 10px auto !important;
}

#ec-siteBody #widgetContainer {
padding: 10px !important;
}

#ec-siteBody .directoryItem a {
display:table !important;
}


#ec-siteBody #ec-resourceRow article, #ec-articleFeedCol1  .ec-siteContainer article,  #ec-articleFeedCol2  .ec-siteContainer article, #ec-siteBody #widgetContainer .directoryItem   {
padding:0px !important;
}

article#ec-topStory > div, article#ec-secondStory > div, #ec-resourceRow article > div, #ec-articleFeedCol1 .ec-siteContainer #ec-articleFeedCol1  article > div, #ec-articleFeedCol2 .ec-siteContainer #ec-articleFeedCol1  article > div, #widgetContainer .directoryItem a > div, #ec-siteBody #ec-sidebarDownloadsContainer article > div {
float:none !important;
border:0px !important;
}

article#ec-topStory > #ec-topStoryImage, article#ec-secondStory > #ec-secondStoryImage, #ec-resourceRow article > .ec-rowResourceImage, #widgetContainer .directoryItem a .directoryImage, #ec-siteBody .ec-siteContainer #ec-articleFeedCol1  article .ec-feedArticleImage, #ec-siteBody .ec-siteContainer #ec-articleFeedCol2 article .ec-feedArticleImage, #ec-siteBody #ec-sidebarDownloadsContainer article .ec-downloadImage {
clear:none;
width:35% !important;
display:table-cell !important;
white-space: nowrap !important;
vertical-align:top !important;
position:relative;
min-height:20px !important;
height: 120px !important;
min-width:160px;
max-width:170px;
}

#ec-siteBody .ec-siteContainer #ec-articleFeedCol1  article .ec-feedArticleImage > div, #ec-siteBody .ec-siteContainer #ec-articleFeedCol2  article .ec-feedArticleImage > div, #ec-siteBody #ec-sidebarDownloadsContainer article .ec-downloadImage  {
height:120px !important;
}

article#ec-topStory > #ec-topStoryText, article#ec-secondStory > #ec-secondStoryText, #ec-siteBody .ec-siteContainer #ec-articleFeedCol1  article .ec-feedArticleText, #ec-siteBody .ec-siteContainer #ec-articleFeedCol2 article .ec-feedArticleText, #widgetContainer .directoryItem a > .directoryText,  #ec-siteBody #ec-sidebarDownloadsContainer article .ec-downloadName  {
display:table-cell !important;
padding-left:10px;
vertical-align:top !important;
}

#ec-siteBody .ec-siteContainer article#ec-topStory > #ec-topStoryText h2, #ec-siteBody .ec-siteContainer  article#ec-secondStory #ec-secondStoryText h3, #ec-siteBody .ec-siteContainer #ec-resourceRow article h3, #ec-siteBody .ec-siteContainer #widgetContainer article h3, #ec-siteBody .ec-siteContainer #ec-articleFeedCol1 article .ec-feedArticleText h3, #ec-siteBody .ec-siteContainer #ec-articleFeedCol2 article .ec-feedArticleText h3,  #ec-siteBody #ec-sidebarDownloadsContainer article .ec-downloadName {
font-size:14px !important;
line-height:18px !important;
margin:5px 0px !important;
text-align:left !important;
padding:0px !important;
margin:0px !important;
}

#ec-siteBody .ec-siteContainer #ec-resourceRow article h5 {
display:none !important;
}

#ec-siteBody .ec-siteContainer #ec-resourceRow article h3, #widgetContainer .directoryItem a .directoryText h3, #ec-siteBody #ec-sidebarDownloadsContainer article .ec-downloadName {
padding-left:10px !important;
font-size:14px !important;
line-height:24px !important;
text-align:left !important;
}

#ec-siteBody .ec-siteContainer #widgetContainer .directoryItem a .directoryText h3 {
padding: 0px !important;	
margin:0px !important;
}

article#ec-topStory h5, #ec-secondStoryText h5, #ec-articleFeedCol1 article .ec-feedArticleText h5, #ec-articleFeedCol2 article .ec-feedArticleText h5 {
margin:0px 0px 5px 0px !important;
font-size:12px;
padding:0px !important;
}


article#ec-topStory > #ec-topStoryText p, article#ec-secondStory #ec-secondStoryText p, body .ec-siteContainer #ec-articleFeedCol1 article .ec-feedArticleText p, body .ec-siteContainer #ec-articleFeedCol2 article .ec-feedArticleText p {
font-size:13px !important;
line-height:15px !important;
margin:0px 0px 5px 0px !important;
padding:0px !important;}

.ec-readMore {
display:none !important;
}
#ec-siteBody .ec-siteContainer h1 {
	font-size:27px;
	line-height:30px;
	margin: 0px 0px 15px 0px;
	color:#000;
}

#ec-postContainer .ec-strapline {
	font-size:14px !important;
	line-height:18px !important;
}

#ec-hubSidebar {
display:none !important;
}

#ec-hubContainer {
padding-top:30px !important;
}




#ec-hubBanner {
min-height:230px;
position:relative;
}

#ec-hubPageBannerOverlay {
  position: absolute;
   /* get_template 20%;*/
left:0px;
    background-color: rgba(255, 255, 255, 0.7);
padding:0px;
}
#ec-hubBanner {
    height: 300px;
    width: 100%;
    padding: 0px;
    margin: 0px;
}

#ec-hubPageBannerOverlay h2 {
font-size:23px !important;
line-height:32px !important;
margin:0px;
font-weight:500;
display:block;
width:100%;
padding:5px 15px;
}

#ec-hubBannerButtonContainer {
margin: 10px 0px;
}

#ec-hubBannerButtonContainer button {
padding: 10px 10px !important;
}

#ec-hubBanner {
width:100%;
height:auto;
background-size: 100%;
background-repeat: no-repeat;
padding:30px 30px 60px 30px;
position:relative;
text-align:center;}

#ec-hubBanner h2 {
font-size:38px;
margin:0px 15px 30px 15px;
color:#000;
}


#ec-hubBannerButton {
padding:10px !important;
float:none;
margin-left:auto;
margin-right:auto;
}

#ec-hubSidebar {
padding:0px !important;
}

#ec-postAuthorMobile{
	display:block;
}

#ec-postSidebar #ec-sidebarAuthor{
	display:none;
}
	
#ec-postAuthorMobile img.avatar{
	border-radius:50%;
	display:inline;
	width:15% !important;
}

#ec-postAuthorMobile h6{
	display:inline;
	margin:5px;
}

#ec-postAuthorMobile h6 a{
	text-decoration:none;
}
}





.contentBlock {
position:relative;
z-index: 999 !important;
}

#contentContainer form {
background: #f5f5f5;
padding:15px;
width:100%;
} 

#postContainer .gform_wrapper {
background:#e5e5e5 ;
padding:15px 15px 30px 15px;
}

#ec-searchBox {
border: solid 1px #999 !important;
}

#ec-headerTopNav ul li a {
    border-right: #888 1px solid;
}

.nav>li>a:focus, .nav>li>a:hover {
background-color:transparent !important;
}

#ec-headerNavInLine > ul > li:last-child > a {
border-right:0px;
}

h2 {
font-size:18px !important;
line-height:22px !important;
}

#ec-homeContainer article h3 {
font-size:14px !important;
line-height:20px !important;
}

#ec-siteBody #ec-homeArticleFeed h3 {
/* padding-get_template0px !important; */
}

#ec-secondStoryImage {
margin-bottom:15px;
}



.ec-downloadSearch {
    min-height: 280px !important;
   
}



@media (min-width:768px) {
#ec-siteBody #ec-siteWrap p, p span, #ec-siteBody #ec-siteWrap li a, #ec-siteBody #ec-siteWrap  li:not(.ssbp-list li), #ec-siteBody #ec-siteWrap  article p, #ec-siteBody #ec-siteWrap p a {
font-size:14px !important;
line-height:19px !important;
}

#ec-siteBody .ec-sidebarDownload {
position:relative;
padding:0px !important;
margin-bottom:20px !important;
}

#ec-siteBody .ec-sidebarDownload h4 {
font-size:18px !important;
line-height:20px;
}

.ec-sidebarPHP {
margin-top:0px !important;
}
}

@media (max-width:767px) {

.ec-sidebarDownload {
position:relative;
}

#ec-homeSidebarFloat {
width:100% !important;
text-align:center;
}

#ec-homeSidebarFloat > div:not(#ec-sidebarPromoBox) {
float:none;
margin:0px auto !important;
max-width:100% !important;
}

.ec-sidebarDownload {
    border-left: 0px !important;
    border-right: 0px !important;
    width: 95% !important;
    max-width: 440px !important;
    margin: 0px auto 30px auto !important;
    float: none !important;
  /*  border-get_template 1px solid #e6e6e6; */
    border-top: 0px !important;

}

#ec-siteBody .ec-sidebarDownload h4 {
font-size:18px !important;
line-height:20px;
padding:10px 0px !important;
}

.ec-sidebarPHP {
margin-top:0px !important;
}

#ec-homeSidebarFloat .gform_footer {
text-align:center;
}

#ec-footerBlock a {
display:inline-block !important;
}

#ec-siteBody .toggleHamburger span {
background-color:#999 !important;
}
}

/* Infogram Fix */
.infogram-embed  .ec-videoWrapper {
    position: relative;
    padding-bottom: 0px;
    padding-top: 0px;
    height: auto !important;
    margin:  0px;
}

.infogram-embed  .ec-videoWrapper iframe {
position:relative;
}

.apester-media .ec-videoWrapper iframe {
	height:550px !important;
}