/*
Theme Name:     Modernize Child Theme for jbpierce.org
Theme URI:      http://jbpierce.org/
Description:    Child theme for the Modernize theme. Updates: 10-30-20 - updated for Modernize 3.4.0 / 12-06-18 - added code to display Recent News on lab pages and show Representative Publications on faculty pages / 7-10-18 - added code to add social links via Monarch plugin
Author:         Rockel Design
Author URI:     http://www.rockeldesign.com/
Template:       modernize                           
Version:        1.0.4
*/

@import url("../modernize/style.css");

body { font-family: "HelveticaNeue", "Helvetica Neue", Arial, sans-serif!important; }
h1, h2, h3, h4, h5, h6, .gdl-title { line-height: 1.1; }
tr th, tr td { border-bottom: 1px solid; }
table { border-bottom: none; }

img.attachment-lab-image { border: 1px solid #fff; }
img.attachment-lab-image:hover { border: 1px solid #666; }
.researchlab h2 img { display: inline; }
.researchlab h2 img.labheaderimg { margin-left: 20px; }
.directoryitem { margin: 0 0 20px; }
.directoryitem p { margin: 0; }
.editthis, .editthis a { color: #ccc; }

#custom_homethree ul { list-style: none; margin-left: 0; }
#custom_homethree ul h2, #custom_homethree ul a { color: #eee; }
#custom_homethree ul a:hover { color: orange; }
#custom_homethree .cta { margin-bottom: 15px!important; }
#custom_homethree .cta a:hover { color: #fff; }
#custom_homepage_block #custom_homethree .widget_recent_entries a {
	color: #EEE;
	background-image: url(https://jbpierce.org/wpbuild/wp-content/uploads/custom/custom_home_a2-trans.png);
	background-repeat: no-repeat;
	background-position: left 3px;
	display: block;
	text-decoration: none;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 20px;
	margin-bottom: 10px;
}
#custom_homepage_block #custom_homethree .widget_recent_entries a:hover { color: orange; }

.et_monarch .et_social_networks { width: 180px!important; }
.et_monarch .et_social_autowidth .et_social_icons_container li { margin-bottom: 0!important; }
@media (max-width: 767px) {
	div.top-navigation-left ul { display: inline-block; margin-bottom: 5px; }
}

.social-share-title.gdl-link-title.gdl-title { display:none!important; }

@media only screen and (max-width: 768px) {
	.container { padding: 0!important; }
	div.top-navigation-left ul { margin-top: 10px; }
	div.gdl-page-content { margin-top: 0!important; }
	#custom_homepage_block #custom_homethree { display:block; padding:0!important; width:100%!important; }
	#custom_homethree ul { padding: 10px; margin-bottom: 0; }
	.home .right-sidebar-wrapper { margin-left: -20px; padding-left: 20px; padding-bottom: 1px; }
	div.outer-social-wrapper, div.social-wrapper, div.social-wrapper-text { width: 100%; margin: 0!important; }
	div.social-wrapper-text div { text-align: center!important; }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	div.slider-wrapper.fullwidth { width: 420px!important; margin-left: -10px!important; }
	#custom_homepage_block { width: 420px!important; }
	div.footer-wrapper { width: 420px!important; margin-left: 0px!important; }
}

@media only screen and (max-width: 480px) {
	div.slider-wrapper.fullwidth { width: 300px!important; margin-left: -10px!important; }
	#custom_homepage_block { width: 300px!important; }
	div.footer-wrapper { width: 300px!important; margin-left: 0!important; }
	#custom_homethree ul#menu-home-lower-menu { padding: 0 5px!important; }
}

#custom_homepage_block #custom_homeone {
	float: left;
	height: 155px;
	background-image: url(https://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_homepage_top_bar_bg.jpg);
	background-repeat: repeat-x;
	width: 950px;
	padding-left: 30px;
	margin-left: -20px;
}

#custom_homepage_block #custom_homeone .custom_home_p_block1 {
	width: 270px;
	float: left;
	margin-right: 30px;
	padding-left: 20px;
	background-image: url(https://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_home_p_block-trans.png);
	background-repeat: no-repeat;
	background-position: left top;
}

.gdl-page-item .column-service-content a {
	background-image: url(https://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_home_a-trans.png);
	background-repeat: no-repeat;
	padding-left: 22px;
	text-decoration: none;
	background-position: 2px;
	margin-top: 20px;
	display: block;
}

.home div.column-service-content {
	margin: 0px 5px 0px 5px;
}

.column-service-content h2.column-service-title {
	color: #0068cb !important;
}

.sixteen.columns .column-service-content h2.column-service-title {
	color: #494949 !important;
	font-size: 20px;
}

.sixteen.columns .column-service-content {
	font-size: 14px;
}

div.gdl-right-sidebar ul {
	margin: 0;
}

div.gdl-right-sidebar li {
	list-style: none;
}

div.gdl-right-sidebar li li {
	list-style: none;
	line-height: 18px;
	padding-top: 9px;
	padding-bottom: 9px;
	border-bottom: 1px solid;
	border-color: #ececec !important;
	background: url(https://jbp.rockeldesign.com/wp-content/themes/modernize/images/icon/dark/arrow4.png) no-repeat 0px 14px;
	padding-left: 15px;
}

h2.widgettitle {
	margin-top: 20px;
}

ol, ul.square, ul.circle, ul.disc, ul {
	margin-left: 13px;
	margin-bottom: 15px;
}

.home .right-sidebar-wrapper {
	background-color: #666;
	margin-right: -20px;
	padding-right: 20px;
}

.home h2.widgettitle {
    color: #fff;
}

.home .right-sidebar-wrapper a {
	color: #fff;
}

.home .right-sidebar-wrapper a:hover {
	color: #ffa500;
}

div.gdl-right-sidebar li li {
	background-image: url(https://jbpierce.org/wpbuild/wp-content/uploads/custom/custom_home_a2-trans.png);
	border-color: #555 !important;
}

.home .gdl-right-sidebar p {
	margin-top: 20px;
}

.buttonlike {
	padding: 5px 15px;
	font-weight: bold;
	text-transform: uppercase;
	color: #7a7a7a;
	background-color:  #f9f9f9;
	border: 1px solid #dbdbdb;
}

.buttonlike:hover {
	color: #3d3d3d;
	background-color:  #dbdbdb;
	border: 1px solid #dbdbdb;
}

.wbe-entry, .featherlight-content {
  font-family: inherit!important;
}