/*
 Theme Name:   IFSEC Global
 Description:  Darwin Child
 Template:     darwin
 Version:      2.0.0
*/

/* 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:767px) {
#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: #007ac3 !important;
}

#ec-siteBody .ec-linkContainer .ec-feedArticleText p {
font-size: 12px !important;
    line-height: 17px !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: middle !important;
}

#div-gpt-ad-outofpage {
display:none !important;	
}
button {
padding:10px 5px !important;
border:0px;
color:#fff !important;
letter-spacing:0.2px;
background-color:#007ac3 !important;
}

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:#007ac3 !important;
}

@media (min-width:992px) {

#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);
0px rgba(156,156,156,1);
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);
0px rgba(156,156,156,1);
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-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);
0px rgba(156,156,156,1);
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;
}


}





.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-siteBody p, p span {
font-size:13px !important;
line-height:19px !important;}

#ec-secondStoryImage {
margin-bottom:15px;
}



.ec-downloadSearch {
    min-height: 280px !important;
   
}



@media (min-width:768px) {
#ec-siteBody .ec-sidebarDownload {
position:relative;
padding:0px !important;
margin-bottom:20px !important;
}

#ec-siteBody .ec-sidebarDownload h4 {
font-size:16px !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 > * {
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:16px !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;
}
}