/*
 Theme Name:   CWD Base
 Theme URI:    http://www.cornell.edu
 Description:  CWD CSS Framework WordPress Theme
 Author:       Cornell University Custom Web Development
 Author URI:   http://it.cornell.edu/custom-web
 Version:      1.1.4
 Text Domain:  cwd_base
*/


/* Campus Press footer */
#global-footer-content {
	display: none;
}
.search-excerpt {
	font-weight: bold;
}

/*
 * Default WP Alignment Classes
 *****************************************************************************/

.aligncenter,.alignleft,.alignright {
    display: block;
    padding: 0;
}

.aligncenter {
    float: none;
    margin: .5em auto 1em;
}

.alignright {
    float: right;
    margin: .5em 0 1em 1em;
}

.alignleft {
    float: left;
    margin: .5em 1em 1em 0;
}

.wp-caption {
    border: 1px solid #555;
    background: #444;
    text-align: center;
}
.wp-caption img {
    display: inline;
    width: 100%;
}
.expander.scripted .wp-caption {
    padding-left: 0;
    border: 1px solid #555;
}
.expander.scripted .wp-caption img {
    width: 100%;
    height: auto;
}
.expander.scripted .wp-caption.alignright {
	float: right;
    margin: .5em 0 1em 1em;
}
.expander.scripted .wp-caption.alignleft {
	float: left;
    margin: .5em 1em 1em 0;
}
.expander.scripted .wp-caption.alignnone,
.expander.scripted .wp-caption.aligncenter {
    float: none;
    margin: 20px auto;
}
@media (max-width:768px) {
	.wp-caption {
		width: 96% !important;
		float: none;
		max-width: 540px;
		margin-left: auto;
		margin-right: auto;
	}
	.wp-caption img {
		max-width: 96%;
		height: auto;
	}
	.mobile-expander-heading.open + div {
		padding-bottom: 2em;
	}
	.simple-section-nav {
		padding-bottom: 0 !important;
		margin-bottom: 0;
	}
}

.wp-caption .wp-caption-text {
    margin: 5px 0 0;
    text-align: center;
    font-family: freight-sans-pro, sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    color: #ddd;
	font-size: 16px;
    line-height: 22px;
    padding: 0 12px 12px;
}