/*
 Theme Name:   Square BCT Child
 Theme URI:    http://bct.eco.umass.edu/
 Description:  A child theme for the BCT program
 Author:       Alex Schreyer
 Author URI:   http://alexschreyer.net
 Template:     square
 Version:      1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:
 Text Domain:  square-bct-child
*/

/* UMass Header */
#umass-header-container {background-color: #881c1c;color: #fff; box-sizing: initial;}
#umass-header, #umass-dropdown {height:50px; max-width:1100px; margin:0 Auto;}
#umass-dropdown {display:none; text-align: right; padding: 10px;}
#umass-logo {width:200px; height:20px; margin-top:15px; float:left;}
#umass-wordmark {color: transparent;}
#umass-links {width:100px; height:20px; margin-top:15px; float:right; text-align:right;}
#umass-links a, #umass-dropdown a {color:#fff;}

/* Header */
header {height: 135px;}
#sq-masthead .sq-container {display: block;}
.sq-site-title, .sq-main-title { font-weight: 900; }
#sq-site-branding { padding: 20px 0 0 0; }
.sq-menu .menu-item-190020 {background-color: #c69214;}
.sq-menu .menu-item-190020 a {color: white;}
.sq-main-navigation ul ul {margin-top: -15px;}
.sq-main-navigation ul ul ul {margin-top: 0;}

/* Home page */
#sq-bx-slider a {font-size:0.8em;color:#fff;text-decoration:none;background-color:var(--square-template-color, #5bc2ce); padding: 5px 10px;}
#sq-bx-slider a:hover {color:inherit; text-decoration:underline;}

/* Content */
#breadcrumbs {font-size: 0.9em; font-style: italic;}
.entry-content a, .entry-content a:active, .entry-content a:visited {color:#4863A0!important;}
.entry-content a[href$=".pdf"]:after { content:" \f1c1  "; font-family: fontawesome; }
h1 { font-weight:900; }
h2, h3, h4, h5, h6 { font-weight:900; clear:both; margin-top:10px;}
aside h4, h5, h6 { font-weight:600;}
.entry-content h2 {margin-top: 30px; border-top: 1px solid #ccc; padding-top: 20px;}
.entry-content a {text-decoration:underline;}
.entry-content a:hover {text-decoration:none;}
.entry-content li > ul {margin-left:2em;}
img.round {border-radius:50%; margin-bottom: 1em; max-width: 200px; max-height: 200px; object-fit: cover;}
hr {clear:both;margin:20px 0;}
blockquote { margin: 25px; padding-left: 15px; font-style: italic; border-left: 1px solid #ccc; }
.wp-caption-text { text-align: center; font-style: italic; font-size: 0.9em; }
form {background-color: #F6F6F6; padding: 10px;}
form.search-form, form#umass-search {background-color: inherit; padding: inherit;}
select {background-color:#fff; width:100%; height: 46px;}
.icon-right {float:right; font-size:2em!important; background-color:#c69214; color: #fff; border-radius:10px; margin: 0 0 10px 10px; padding: 0.25em 0; width: 80px; height: 80px; text-align: center;}
.thirdbox { width: 33%; padding:0.5em 0.5em 2em 0.5em;; float: left; }

/* Boxes */
.entry-box { background-color: #eee; border-radius: 2px; box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); margin-bottom: 2em; }
.left-half { width:48%; float:left; }
.right-half { width:48%; float:right; }
.ibox {width:15px;height:15px;display:inline-block;vertical-align:baseline;}
.c1 {background-color:lightblue;}
.highlightbox {padding: 1em; line-height:2em; background-color: #ece9d4; clear: both; display: flow-root;}
.highlightbox::before { font-family: "FontAwesome"; font-weight: 900; content: "\f0a9";font-size:2em; display: inline-block; font-style: normal; font-variant: normal; text-rendering: auto; -webkit-font-smoothing: antialiased; margin-right:0.5em; vertical-align:middle;}

table {border:1px solid #efefef; width:100%;}
table td {padding:5px 10px;}
table tr:nth-child(even) {background-color:#efefef;}
table thead {background-color:#881c1c; color:#fff;}

/* Buttons */
a.button, input[type='submit'] {background-color: #c69214; color: white!important; font-weight:bold; text-decoration: none; font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 2em; display:inline-block; padding: 5px 30px;}
button:hover, a.button:hover, input[type='submit']:hover {box-shadow: 3px 3px 10px rgba(0,0,0,0.2); transition: background-color .3s,box-shadow .3s;}
a.button:visited, input[type='submit']:visited {color: white!important;}

.sq-featured-excerpt li {clear:both;list-style: none;height:120px;margin-left:0;padding-left:0;}
.sq-featured-excerpt img {border-radius:50%!important;}

.sq-site-social a {font-size:24px;margin:0 2px;}

footer .ai1ec-date-title {background-color:#fff;}
.footerlinks { border: 1px solid #7e8b93; padding: 0 0.5em; margin: 0.2em; display: inline-block; transition: 0.2s; }
.footerlinks:hover {color: #fff; border-color: #fff;}
footer form {background:none;}

.application_button {padding:0 1em!important;}

.grecaptcha-badge {display: none;}

@media screen and (max-width: 1100px){

	#umass-header {width:100%;}
	#umass-logo {margin-left:10px;}
	#umass-links {margin-right:10px;}
	#bct-logo {display: none;}
	.sq-toggle-nav {}

}


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

	header { padding-top: 15px;}
	#sq-masthead .sq-container {display:flex;}
	.sq-main-header {padding-top: 15px;}
	#sq-site-navigation {padding:0;}
	.sq-main-navigation ul ul {margin-top: 0;}

}

@media screen and (max-width: 480px){

	.thirdbox { width: inherit; float: none; }
	.sq-featured-post {padding:40px 20px;}
	.entry-box {float:none!important; width:100% !important;}
	img.alignleft, img.alignright {margin:0 0 10px 0;float:none!important;width:100%;}
	img.round {margin-right: 1em;}
  .entry-content img.alignnone, .entry-content figure.alignnone, .entry-content iframe {
    margin-left: -10px !important;
    width: 110% !important;
    max-width: calc( 100% + 20px) !important;}
}

@media print {

  @page {margin:1.5cm;}

  * { color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
  body {font-size:14pt;overflow: visible;}
  header, footer { background: transparent !important; }
  footer img.white { filter:invert(100%) !important; }
  a, a:visited, a:focus, a:hover, a:active { text-decoration: underline; color:#000000 !important; }
  pre, blockquote { page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
  h2 {border-top-color: black !important;}
  #bct-logo {content:url('https://bct.eco.umass.edu/wp-content/uploads/2018/12/Logo-2018-small-100x100.png');}
  .sq-site-info, .sq-site-social {float:none;}
  .sq-main-header {padding-bottom:0;}

  #umass-header-container, nav, #secondary, .sharedaddy, .widget_search, .widget_ai1ec_agenda_widget {display: none;}
  #primary {width:95%}

} /*------- PRINT CSS ONLY -------------*/
