/* Fixes */
/*Menu in tablet z-index issue */
div#drop_mainmenu_container ul.fm2_drop_mainmenu {
	z-index: 1000 !important;
}

/*Menu Styling */
/* Stop the stickings! */
ul.sub-menu {
    display: none !important; 
}
ul li:hover ul.sub-menu {
    display: block !important;
}

.flexbox-list {
    display: table;
    display: flex;
}

@media only screen and (max-width: 768px){
    .inner-header-description{
        padding-bottom: 15%!important;
    }
    .wp-embedded-content{
        width: 100%!important;
    }
	.about-big-images-textrow, .about-images-right-innerrow, .about-text-grid-innerrow, .about-text-icons-innerrow, .blog-postsrow, .content-right-image-gridcol, .features-image-cards-innerrow, .features-square-image-innerrow, .numbers-innerrow, .team-colors-membersrow, .team-small-memberrow, .testimonials-boxed-itemsrow {
		margin-left: 0px;
		margin-right: 0px;
		width: auto;
		max-width: 100%;
	}
}

@media (max-width: 1024px) {
    .page-row .page-content{
        width: 100%!important;
    }
}

/* Contact */
.contact-formcol {
    background-color: rgba(255, 255, 255, 0.8);
}
.wpcf7-form [type="submit"] {
	-webkit-appearance: none;
	border-radius: 0;
}
.wpcf7-form [type="submit"]:hover, 
.wpcf7-form [type="submit"]:active, 
.wpcf7-form [type="submit"]:focus {
    background-color: #005570!important;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: #03a9f5 !important;
    outline: none;
	background-color: #ffffff !important;
}
input[type=text], input[type=tel], input[type=url], input[type=email], input[type=password], input[type=number], textarea {
    background-color: #fafafa !important;
	border: 1px solid #DDDDDD !important;
	border-radius: 0;
}
input[type="radio"] {
    -webkit-appearance: radio;
    padding: 0px;
    width: auto;
    height: auto;
    margin-top: 0px;
}
input[type="checkbox"] {
    -webkit-appearance: checkbox;
    padding: 0px;
    width: auto;
    height: auto;
    margin-top: 0px;
}





body {
	color: #415364; 
}

/* Header  */
.header {
	background-size: 100%;
	background-position: top;
}
@media screen and (max-width: 1024px) {
	.header {
		background-size: cover;
		background-position: center;
	}
}

/* Part of customizer 
@media screen and (max-width: 1024px) {
	.inner-header-description {
		padding-top: 8%;
		padding-bottom: 15%;
	}
	.header-homepage + .header-separator svg,
	.header-separator svg {
		height: 90px!important;
	}
}

@media screen and (max-width: 768px) {
	.inner-header-description {
		padding-top: 0%;
		padding-bottom: 17%;
	}
	.header-homepage + .header-separator svg,
	.header-separator svg {
		height: 60px!important;
	}
}
*/


/* IE 10 fix header */
@media screen and (min-width: 768px) {
	.logo_col {
		float: left;
	}
}

@media screen and (max-width: 1180px) and (min-width: 768px) {
	.navigation-wrapper.gridContainer {
		padding-left: 0px;
		padding-right: 0px;
	}
	.logo_col {
		width: 20%;
		margin-right: 10px;
	}
	#drop_mainmenu > li {
		margin-left: 1.0%;
		margin-right: 1.0%;
	}
	.header-top.homepage #drop_mainmenu>li>a, 
	.header-top.homepage a#fm2_drop_mainmenu_mobile_button .caption ,
	.header-top:not(.homepage) #drop_mainmenu>li>a, 
	.header-top:not(.homepage) a#fm2_drop_mainmenu_mobile_button .caption, 
	.header-top:not(.homepage) #drop_mainmenu>li>a, 
	.header-top:not(.homepage) a#fm2_drop_mainmenu_mobile_button .caption{
		font-size: 15px !important;
	}
}

@media screen and (max-width: 768px) {
	.header, 
	.header-homepage {
		padding-top: 90px !important;
	}
	.header-homepage .header-description-row {
		padding-top: 7% !important;
		padding-bottom: 22% !important;
	}		
}

/* Menu */
.header-top:not(.homepage) #drop_mainmenu>li.current_page_item>a, 
.header-top:not(.homepage) #drop_mainmenu>li:hover>a, 
.header-top:not(.homepage) #drop_mainmenu>li.hover>a, 
.header-top:not(.homepage) a#fm2_drop_mainmenu_mobile_button .caption,  
.header-top.homepage.coloured-nav #drop_mainmenu>li.current_page_item>a, 
.header-top.homepage.coloured-nav #drop_mainmenu>li:hover>a, 
.header-top.homepage.coloured-nav #drop_mainmenu>li.hover>a, 
.header-top.homepage.coloured-nav a#fm2_drop_mainmenu_mobile_button .caption, 
.header-top.homepage.fixto-fixed #drop_mainmenu>li.current_page_item>a, 
.header-top.homepage.fixto-fixed #drop_mainmenu>li:hover>a, 
.header-top.homepage.fixto-fixed #drop_mainmenu>li.hover>a, 
.header-top.homepage.fixto-fixed a#fm2_drop_mainmenu_mobile_button .caption,
.header-top.fixto-fixed:not(.homepage) #drop_mainmenu>li.current_page_item>a, 
.header-top.fixto-fixed:not(.homepage) #drop_mainmenu>li:hover>a, 
.header-top.fixto-fixed:not(.homepage) #drop_mainmenu>li.hover>a, 
.header-top.fixto-fixed:not(.homepage) a#fm2_drop_mainmenu_mobile_button .caption, 
.header-top.alternate:not(.homepage) #drop_mainmenu>li.current_page_item>a, 
.header-top.alternate:not(.homepage) #drop_mainmenu>li:hover>a, 
.header-top.alternate:not(.homepage) #drop_mainmenu>li.hover>a, 
.header-top.alternate:not(.homepage) a#fm2_drop_mainmenu_mobile_button .caption,
.header-top:not(.homepage) #drop_mainmenu>li.current-menu-ancestor>a , 
.header-top.homepage.coloured-nav #drop_mainmenu>li.current-menu-ancestor>a, 
.header-top.fixto-fixed:not(.homepage) #drop_mainmenu>li.current-menu-ancestor>a,
.header-top.alternate:not(.homepage) #drop_mainmenu>li.current-menu-ancestor>a {
    -webkit-text-shadow: none !important;
    -moz-text-shadow: none !important;
    text-shadow: none !important;
	color: #7fbc03;
}

.header-top:not(.homepage) #drop_mainmenu ul li.current-menu-item a, 
.header-top:not(.homepage) #drop_mainmenu ul li.current-menu-item a {
	background-color: #7fbc03 !important;
}

/* Mobile */
.header-top.fixto-fixed a#fm2_drop_mainmenu_mobile_button span.caption, 
.header-top.coloured-nav a#fm2_drop_mainmenu_mobile_button span.caption {
    color: #005571 !important;
	padding-top: 0px !important;
    line-height: 27px !important;
}
div#fm2_drop_mainmenu_jq_menu_back {
    background-color: #005571 !important;
}


/* Homepage */
.home .features-icon-container-nomargin {
    display: none !important;
}


/* Body Elements edits */
.about-four-boxes-imgcol,
.about-four-boxes-imgcol2 {
	background-position: center center !important;
	background-size: cover !important;
}

.features-icon-container-nomargin {
    display: none;
}



@media screen and (min-width: 1024px) {
	div#overlapable-1 {
		margin-top: -130px;
		background: transparent !important;
	}
}


@media screen and (min-width: 1024px) {
	.mobile-hide {
		display: block;
	}
	.mobile-show {
		display: none;
	}
}
@media screen and (max-width: 1023px) {
	.mobile-hide {
		display: none;
	}
}

@media screen and (max-width: 767px) {
	/*.header-homepage {
		background-image: url(images/PTCNJ-Mobile-Logo-Backdrop.png) !important;
	}*/
	.header-homepage h1.heading8 {
		font-size: 2.3em !important;
	}
	.mobile-custom  .about-four-boxes-imgcol,
	.mobile-custom .about-four-boxes-imgcol2	{
		display: none !important;
	}
	
	.mobile-custom .about-four-boxes-textcol,
	.mobile-custom .about-four-boxes-textcol2 {
		padding-bottom: 30px;
		border-bottom: 1px solid #005570;
	}
	
	.mobile-custom .about-four-boxes-textcol.no-border,
	.mobile-custom .about-four-boxes-textcol2.no-border {
		border-bottom: none;
	}
}






/* Footer */
.footer {
    background-color: #005570!important;
	font-size: 16px;
}
.footer ul {
	padding-top: 16px;
}
.footer li{
	font-size: 16px;
}
.footer-column-colored{
    background-color: #005570!important;
}
ul#menu-footer-menu {
    list-style: none;
}
.footer a.custom-logo-link {
    height: 150px;
	margin-bottom: 15px;
}
.footer img.custom-logo {
    max-height: 150px;
}
.footer a {
		color: #fff;
}

@media screen and (min-width: 768px){
	.column_210 {
		border-left-width: 0px !important;
		width: 23% !important;
	}
	.larger-on-desktop {
		font-size: 30px;
	}
}
@media screen and (max-width: 768px){
	.column_210 .textwidget{
		padding: 0px !important;
	}
	.column_210 {
		padding-top: 0px !important;
	}
	.footer {
		padding-top: 20px;
	}
}

@media screen and (max-width: 1024px){
	.mobile-border-bottom {
		border-bottom: 2px solid #005570;
		padding-bottom: 35px;
	}
}
