/*
Theme Name: SoHE 2016
Theme URI: sohe.wisc.edu
Author: Teaching and Research Application Development, University of Wisconsin-Madison
Description:
Version: 1.0.2:20160909
Tags:

Based on the BlankSlate WordPress Theme © 2011-2015 TidyThemes
Based on the Twenty Sixteen Theme
*/

/* reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}


/* Colors *************************************************************************************************************/
/*
    badger-red:             b70101
    badger-red variation:   b50511
    badger-red variation:   9e0101
    badger-red variation:   6b0101
*/


/* General ************************************************************************************************************/



/* Normalize */

abbr[title] {
    border-bottom: 1px dotted;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

hr {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

code,
kbd,
pre,
samp {
    font-size: 1em;
    font-family: monospace;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

select {
    text-transform: none;
}

button {
    overflow: visible;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
    opacity: .5;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-right: 0.4375em;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #d1d1d1;
    margin: 0 0 1.75em;
    padding: 0.875em;
}

fieldset > :last-child {
    margin-bottom: 0;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

optgroup {
    font-weight: bold;
}



/* WordPress Core [http://codex.wordpress.org/CSS#WordPress_Generated_Classes]  --------------------------------------*/
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
    /*margin-bottom: 1.6em;*/
    /*max-width: 100%;*/
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
    /*display: block;*/
    /*margin: 0;*/
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
.wp-caption p.wp-caption-text {
    /*color: #707070;*/
    opacity: 0.8;
    /*font-family: "Noto Sans", sans-serif;*/
    font-size: 13px;
    /*font-size: 1.2rem;*/
    line-height: 1.5;
    padding: 0.5em 0;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/* Old SoHE theme imports --------------------------------------------------------------------------------------------*/

blockquote {
    -webkit-font-smoothing: antialiased;
    background-color: #78b85e;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAAyCAQAAABPYbXlAAAAtElEQVR4Ae3VQQ3CQBBG4ZWAlEqoBCRUQiUgAQlIqQSk4OBxJyV94e+F5J8578t3mGTHt2E+3ImhVrX2H17YOJ5NEHRr7+nEEwKIaBnIzAsCiGgZyAIQQETLQB4QQKKWOCoNiVriqDQkaomj0pCo5Y/KQILWYIXTIEFrcDsNIlopZGWoDVrm8VUykpaCWEbQyiGFFFJIIf/y1xTip5BCCimkkEIKKaSQQgopZGH7ce+fkKT1BuF41GVmfqNtAAAAAElFTkSuQmCC'), url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAAyCAMAAADSto1cAAAAMFBMVEUAAAD///////////////////////////////////////////////////////////87TQQwAAAAD3RSTlMAwIBAMPCkcBBgUODQkCAeuk4wAAAAlElEQVR42u3TwQrEIAxF0Zcaq1Zb//9vuxFkxvIIzGIo5K7DCQSCU0gFoyKkE9JJG0ZbJ4kjjjjiiCOOvA/5aEWeEkcc+Rk5TIhWhqRuQUL8xwMmE7JTpGAizCBIDLAgCQRpCgMSDxBEMgxIVRBkBwxIyyBIwYKwTcJOypEEgjQFQ+ZJCSIZBqQqZhq+w0PXMpUxuwGFMYnX93uUzgAAAABJRU5ErkJggg==');
    background-position: 2% -1px, 98% 100.2%;
    background-repeat: no-repeat, no-repeat;
    border-left: 0;
    /*border-left: 5px solid #eeeeee;*/
    color: #fff;
    font-family: "Oswald", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 25px !important;
    /*padding: 12px 25px;*/
    padding: 72px 20px;
    text-transform: uppercase;
}
blockquote p:last-child, blockquote ul:last-child, blockquote ol:last-child {
    margin-bottom: 0;
}



/* Typography --------------------------------------------------------------------------------------------------------*/

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #b70101;
}
a:hover, a:focus {
    color: #6b0101;
}

h1, h2, h3, h4, h5, h6 {
    color: #4d4d4d;
    font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.2;
    margin: 0.4em 0;
    clear: both;
}
h1 {
    font-size: 36px;
}
h2 {
    font-size: 32px;
}
h3 {
    font-size: 28px;
}
h4 {
    font-size: 24px;
}
h5 {
    font-size: 20px;
}
h6 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1.entry-title {
    font-size: 40px;
    margin-bottom: 0.4em;
    color: #4d4d4d;
    text-transform: uppercase;
    letter-spacing: 2px;
}

b,
strong {
    font-weight: 700;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

/* Elements ----------------------------------------------------------------------------------------------------------*/

ul,
ol,
blockquote,
pre,
address,
nav,
p {
    margin-bottom: 1.6em;
}

ul,
ol {
    padding-left: 26px;
}

ul {
    list-style: disc;
}
ol {
    list-style: decimal;
}

table,
th,
td {
    border: 1px solid #d1d1d1;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.75em;
    table-layout: fixed;
    width: 100%;
}

caption,
th,
td {
    font-weight: normal;
    text-align: left;
}

th {
    border-width: 0 1px 1px 0;
    font-weight: 700;
}

td {
    border-width: 0 1px 1px 0;
}

th,
td {
    padding: 0.4375em;
}

/* Media ------------------------------------------------------------------------------------------------------------ */

img {
    max-width: 100%;
    height: auto;
}

.wp-caption {

}
.wp-caption-text {

}


/* General ---------------------------------------------------------------------------------------------------------- */

#content {
    padding-top: 30px;
}

.aspect-frame {
    display: block;
    position: relative;
    background-size: cover;
    background-position: top center;
}
.aspect-frame:before {
    content: " ";
    display: block;
    width: 100%;
    padding-top: 100%;  /* 1:1 */
}
.aspect-frame > .aspect-fill {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}
.aspect-fill .center {
    display: inline;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    text-shadow: #000000 0 0 36px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.aspect-fill .center .button-frame {
    display: block;
    opacity: 0;
    overflow: hidden;
    position: relative;
    -webkit-transform: translate(0, 50%);
    -moz-transform: translate(0, 50%);
    -o-transform: translate(0, 50%);
    transform: translate(0, 50%);
    -webkit-transition: 200ms ease-in-out;
    -moz-transition: 200ms ease-in-out;
    -o-transition: 200ms ease-in-out;
    transition: 200ms ease-in-out;
}
.aspect-fill:hover .button-frame,
.aspect-fill:focus .button-frame {
    opacity: 1;
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}
.aspect-fill .button-frame .button-content {
    /*font-size: 16px;*/
    background-color: rgba(255, 255, 255, 0.6);
    text-shadow: #ffffff 0 0 18px;
    border: 2px solid #ffffff;
    clear: both;
    color: #b70101;
    display: inline-block;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    line-height: 16px;
    margin-top: 12px;
    padding: 8px 16px 8px 16px;
    text-transform: uppercase;
}

/* Column System */
.col {
    display: inline;
    float: left;
    margin-bottom: 2em;
}
.col:last-child:after {
    content: "";
    display: table;
    clear: both;
}
@media screen and (min-width: 701px) {
    .col {
        margin-left: 8%;
        width: 28%;
    }
    .col:nth-child(3n+1) {
        clear: left;
        margin-left: 0;
    }
}
@media screen and (min-width: 601px) and (max-width: 700px) {
    .col {
        margin-left: 8%;
        width: 46%;
    }
    .col:nth-child(2n+1) {
        clear: left;
        margin-left: 0;
    }
}
@media screen and (max-width: 600px) {
    .col {
        width: 100%;
        clear: left;
    }
}

/* Buttons */

.btn {
    background-image: none;
    border-radius: 0;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-block;
    font-family: "Oswald", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: normal;
    letter-spacing: 1px;
    line-height: 1.8;
    margin-bottom: 0;
    padding: 6px 12px;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.btn-primary {
    color: #ffffff;
    background-color: #b70101;
    border-color: #b70101;
}
.btn-primary:hover, .btn-primary:focus {
    color: #ffffff;
    background-color: #9e0101;
    border-color: #6b0101;
}

/* Clear */
/* @link: http://www.cssmojo.com/latest_new_clearfix_so_far/ */
.clear{
    content:"";
    display:table;
    clear:both;
}

/* Tabs */
.sohe-tabs {}
ul.sohe-tab-nav {
    margin: 0 0 1em 0;
    padding: 0 0 1em 0;
    list-style: none;
    border-bottom: 1px solid #d0d0d0;
}
ul.sohe-tab-nav:after {
    content: "";
    display: table;
    clear: both;
}
ul.sohe-tab-nav li {
    display: inline-block;
    float: left;
}
ul.sohe-tab-nav li.active {
    font-weight: bold;
}

ul.sohe-tab-nav li a {
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 1em;
}
ul.sohe-tab-nav li:last-child a {
    margin-right: 0;
}

.sohe-tab-pane {
    display: none;
}
.sohe-tab-pane.active {
    display: block;
}


.hidden {
    display: none !important;
}

/* Footer ----------------------------------------------------------------------------------------------------------- */

/* Footer general styling */

#footer {
    font-size: 16px;
    line-height: 20px;
    color: #000;
}
#footer .title {
    color: #b50511;
    font-size: 20px;
    line-height: 24px;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
#footer ul {
    padding-left: 0;
    list-style: none;
}

/* Footer quick links */
#quick-links {
    background-color: #efeff3;
    padding: 30px 4%;
    margin-bottom: 30px;
    border: 1px dotted #777;
}
#quick-links h3.title {
    color: #444;
    padding-bottom: 0.2em;
    border-bottom: 1px solid #444444;
}
#quick-links ul {
    display: inline-block;
    float: left;
}
#quick-links ul:last-child {
    margin-right: 0;
}

#quick-links ul,
#quick-links ul li {
    margin-bottom: 0.6em;
}
#quick-links ul li:last-child {
    margin-bottom: 0;
}
@media screen and (min-width: 1025px) {
    #quick-links .wrapper-col-2 {
        display: none;
    }
    #quick-links ul {
        width: 22%;
        margin-right: 4%;
    }

}
@media screen and (max-width: 1024px) and (min-width: 601px) {
    #quick-links .wrapper-col-4 {
        display: none;
    }
    #quick-links ul {
        width: 48%;
        margin-right: 4%;
    }
}
@media screen and (max-width: 600px) {
    #quick-links .wrapper-col-2 {
        display: none;
    }
    #quick-links ul {
        display: block;
        float: none;
    }
}

/* Footer menu styling */

#footer .menus .menu li {
    margin-bottom: 16px;
}
#footer .menus .menu a {
    color: #000;
}
#footer .menus .menu a:hover,
#footer .menus .menu a:focus {
    color: #b50511;
}

/* Footer info area styling */
#footer .info {
    padding-top: 30px;
}
#footer .info p {
    padding-left: 74px;
    margin-top: 20px;
}
#footer .info p .title {
    text-transform: none;
}
#footer .info p.copyright {
    font-size: 12px;
    line-height: 16px;
    color: #555555;
}
#footer .info ul.social-icons {
    padding-left: 74px;
}
#footer .info ul.social-icons li {
    display: inline-block;
    float: left;
    margin-left: 20px;
}
#footer .info ul.social-icons li:first-child {
    margin-left: 0;
}
#footer .info ul.social-icons li img {
    width: 32px;
    height: 32px;
}

/* Footer layout */
#footer {}
#footer .menus {
    display: inline-block;
    float: left;
    width: 67.22%;
    border-top: 1px dotted #000;
    padding-top: 30px;
}
#footer.narrow .menus {
    width: 100%;
}
#footer .menus > .menu {
    display: inline-block;
    float: left;
    width: 26%;
    margin-left: 9%;
}
#footer .menus > .menu:first-child {
    margin-left: 4%;
}
#footer .info {
    width: 29.41%;
    display: inline;
    float: right;
}

@media screen and (max-width: 1024px) {
    #footer .menus {
        width: 100%;
    }
    #footer .info {
        display: block;
        clear: both;
        float: none;
        width: 300px;
        margin: 0 auto;
    }
}
@media screen and (max-width: 600px) {
    #footer .menus > .menu {
        display: block;
        float: none;
        width: 100%;
        margin: 0 0 40px 0;
        text-align: center;
    }
    #footer .menus > .menu:first-child {
        margin-left: 0;
    }
}


/* Header *************************************************************************************************************/

#header {}
#header .top {
    max-width: 1120px; /* 1190 w padding */
    margin: 0 auto 0 auto;
    padding: 0 30px 0 40px;
}
#header .top .branding {
    display: inline-block;
    float: left;
    margin-bottom: 16px;
    margin-top: 16px;
    max-width: 424px;
    position: relative;
    width: 100%;
}
#header .top .branding img.crest {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 15.35%;
    z-index: 100;
}
#header .top .branding img.title {
    position:relative;
    left: 15.35%;
    max-width: 84.64%;
    padding-left: 1em;
}
#header .top nav {
    display: inline-block;
    float: right;
    z-index: 90;
}

/* Secondary nav and search positioning */
#header .secondary-menu-search {
    text-align: right;
    padding: 10px 0 0 0;
}
#header .secondary-menu-search {
    text-align: center;
    padding-top: 40px;
}
#header .secondary-menu-search .menu-secondary-menu-container,
#header .secondary-menu-search ul,
#header .secondary-menu-search li,
#header .secondary-menu-search .search {
    display: inline-block;
}
/* position the search for all pages but the home page */
#header .secondary-menu-search {
    margin-right: 28%;
}
.home #header .secondary-menu-search {
    margin-right: 0;
}

/* Search Form(s) */
.search-form {
    position: relative;
    font-size: 0;
}
.search-form input[type="search"] {
    -webkit-appearance: textfield;
    padding: 2px 3px;
    margin: 0;
    font-size: 14px;
    line-height: 19px;
    background: #f7f7f7 -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    border: 1px solid #d1d1d1;
    border-radius: 0;
    color: #686868;

}
.search-form .search-submit:before {
    content: '\f400';
    font: normal 19px/1 'Genericons';
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 0;
    margin: 0;
}
.search-form .search-submit {
    cursor: pointer;
    position: absolute;
    top: 2px;
    right: 2px;
    display: inline-block;
    height: 21px;
    width: 19px;
    margin: 0;
    padding: 1px 0 0 0;
    background-color: #f7f7f7;
    border: none;
}
/* Search Form(s), Targeted */
#header .main-menu .search {
    display: none;
    padding: 0 8% 10px 8%;
}
#header .main-menu .search input {
    width: 100%;
    line-height: 26px;
}
#header .main-menu .search-form .search-submit {
    width: 26px;
    height: 26px;
}
#header .main-menu .search-form .search-submit:before {
    font-size: 26px;
}

@media screen and (max-width: 1024px) {
    #header .secondary-menu-search {
        margin-right: 0;
    }
}
@media screen and (max-width: 700px) {

    #header .top .branding {
        margin-bottom: 10px;
    }
    #header .secondary-menu-search {
        margin-right: -28px;
    }
    #header .secondary-menu-search .search {
        display: none;
    }
}


/* Page Template ---------------------------------------------------------------------------------------------------- */

/* Breadcrumbs */
ul.breadcrumbs {
    padding-left: 0;
    list-style: none;
}
ul.breadcrumbs {}
ul.breadcrumbs li {
    display: inline-block;
    float: left;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1.6;
    text-transform: uppercase;
    white-space: nowrap;
}
ul.breadcrumbs li:after {
    content: '<';
    padding: 0 4px;
}
ul.breadcrumbs li:last-child:after {
    content: none;
}

/* Child Pages */
.child-pages {
    display: block;
    font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 20px;
    padding-bottom: 0.6em;
    margin-bottom: 2em;
    text-transform: uppercase;
    border-bottom: 1px dotted #808080;
}
.child-pages ul {
    display: inline-block;
    float: left;
    list-style: none;
    max-width: 45%;
    margin: 0;
    padding: 0;
}
.child-pages ul:first-child {
    margin-right: 10%;
}
.child-pages ul li {
    padding-bottom: 8px;
}

@media screen and (max-width: 600px) {
    .page header .child-pages ul {
        display: block;
        float: none;
        width: 100%;
    }
    .child-pages ul {
        padding-left: 0px;
        max-width: 100%;
    }
}

/* Directory */
#directory-content {}
#taxonomy-dropdown {
    position: relative;
    margin-bottom: 2em;
}
#directory-dropdown-button {
    display: inline-block;
    float: left;
}
h5.dropdown-label {
    display: inline-block;
    float: left;
    clear: none;
    margin-left: 1em;
}
#directory-content .dropdown-menu {
    list-style: none;
    position: absolute;
    background-color: rgba(255,255,255,0.95);
    border: 1px solid #c0c0c0;
    z-index: 2001;
    padding: 0.7em 0;
}
#directory-content .dropdown-menu li {

}
#directory-content .dropdown-menu li a {
    display: block;
    padding: 0.3em 1em;
}

/* A modified version of the column system for staff on the directory page */
.staff-col {
    display: inline;
    float: left;
    margin-bottom: 2em;
}
.staff-col:last-child:after {
    content: "";
    display: table;
    clear: both;
}
@media screen and (min-width: 701px) {
    .staff-col {
        margin-left: 8%;
        width: 28%;
    }
    .staff-col.first-of-three {
        clear: left;
        margin-left: 0;
    }
}
@media screen and (min-width: 601px) and (max-width: 700px) {
    .staff-col {
        margin-left: 8%;
        width: 46%;
    }
    .staff-col.first-of-two {
        clear: left;
        margin-left: 0;
    }
}
@media screen and (max-width: 600px) {
    .staff-col {
        width: 100%;
        clear: left;
    }
}


/* Events */
.page-template-page-template-calendar .event h2 {
    font-size: 18px;
}
.page-template-page-template-calendar .event .entry-summary {
    margin-top: -0.4em;
}


/* Meat +3 */
.meat-plus-three {
    margin-bottom: 2em;
}
.meat-plus-three .col-3 {
    width: 28%;
    margin-left: 7.5%;
}
.meat-plus-three .col-3:first-child {
    margin-left: 0;
}
.meat-plus-three .meat-image {
    margin-bottom: 1em;
}

@media screen and (max-width: 700px) {
    .meat-plus-three {
        margin-bottom: 2em;
    }
    .meat-plus-three .col {
        display: block;
        float: none;
        width: 100%;
        margin: 0 0 1em 0;
    }
    .meat-plus-three .col:after {
        content: "";
        display: table;
        clear: both;
    }
    .meat-plus-three h3 {
        display: inline;
    }
    .meat-plus-three .meat-image {
        display: inline;
        float: left;
        margin-right: 2em;
        max-width: 40%;
        height: auto;
    }
}

/* archive post navigation */
#nav-below {
    display: block;
    margin-top: 2em;
}
#nav-below > div {
    display: inline-block;
}
#nav-below a {
    display: inline-block;
    border: 1px solid #b70101;
    padding: 8px 12px;
}
#nav-below .nav-previous { float: left; }
#nav-below .nav-next { float: right; }

/* Comments --------------------------------------------------------------------------------------------------------- */

#comments {
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1px dotted #777;
}
.comments-navigation {
    border: 0 solid #e0e0e0;
    border-top-width: 1px;
    padding: 2em 0 0 0;
    margin-bottom: 2em;
}

.comments > ul {
    padding-left: 0;
}

.comments > ul,
.comments ul.children {
    list-style: none;
}

.comment {
    border-top: 1px solid #e0e0e0;
    padding-top: 2em;
    margin-top: 2em;
}

.comment-reply-link {
    border: 1px solid #e0e0e0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 6px;
}
.comment-reply-link:hover, .comment-reply-link:focus {
    background-color: #e0e0e0;
}
.comment-meta {
    margin-bottom: 1em;
}
.comment-form label {
    display: block;
}
.comment-form textarea,
.comment-form input[type="text"] {
    width: 100%;
}


/* Main Menu **********************************************************************************************************/

#header .main-menu {
    z-index: 90;
    margin-bottom: 0;
}
#header .main-menu a {
    font-family: 'Oswald', sans-serif;
    color: #ffffff;
}
#header .main-menu ul {
    list-style: none;
}
#header .main-menu-wrapper {
    margin: 0 1px;
}

#give-wrapper {
    position: relative;
    max-width: 1190px;
    margin: 0 auto;
    z-index: 100;
}
#give-ribbon {
    position: absolute;
    right: 30px;
    top: -14px;
    display: block;
    width: 82px;
    height: 36px;
    padding: 0 !important;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 36px;
    text-align: center;
    text-transform: uppercase;
}
#give-ribbon .give-bg {
    display: block;
    position: absolute;
    left: -22px;
    height: 14px;
    width: 22px;
    background: url("img/give-bg.png") top right no-repeat;
}
#give-ribbon .give-front {
    width: 100%;
    height: 36px;
    background: #cda349; /* Old browsers */
    background: -moz-linear-gradient(top, #cda349 0%, #c3922e 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #cda349 0%,#c3922e 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #cda349 0%,#c3922e 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cda349', endColorstr='#c3922e',GradientType=0 ); /* IE6-9 */
}

#give-ribbon,
#give-ribbon .give-bg {
    -webkit-transition: 100ms ease-in-out;
    -moz-transition: 100ms ease-in-out;
    -o-transition: 100ms ease-in-out;
    transition: 100ms ease-in-out;
}
#give-ribbon:hover,
#give-ribbon:focus {
    top: -22px;
    height: 44px;
}
#give-ribbon:hover .give-bg,
#give-ribbon:focus .give-bg {
    height: 22px;
}
#give-ribbon:hover .give-front,
#give-ribbon:focus .give-front {
    background: #dba940;
}

#header #give-button-mobile {
    display: none;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #c3922e;
    padding: 8px 10px;
    margin: -62px 8% 40px 8%;
}


@media screen and (min-width: 701px) {
    #header .main-menu {
        -webkit-flex-flow: row;
        display: -webkit-flex;
        display: flex;
        flex-flow: row;
        /*margin-bottom: 10px;*/
        position: relative;
        width: 100%;
    }
    #header .main-menu .menu-main-menu-container {
        -webkit-flex-grow: 0;
        flex-grow: 0;
    }
    #header .main-menu .fill {
        -webkit-flex-grow: 1;
        flex-grow: 1;
        background-color: #b70101;
    }
    #header .main-menu .menu-main-menu-container,
    #header .main-menu ul,
    #header .main-menu li,
    #header .main-menu a {
        display: inline-block;
    }
    #header .main-menu ul {
        padding: 0;
        font-size: 0; /* whitespace fix */
    }
    #header .main-menu > ul {
        padding: 0 1px;
    }
    #header .main-menu a {
        padding: 0 20px;
    }
    #header .main-menu .menu > li > a {
        font-size: 24px;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0 1px;
        background-color: #b70101;
        line-height: 47px;
        height: 47px;
    }
    #header .main-menu .menu > li:hover > a,
    #header .main-menu .menu > li:focus > a {
        background-color: #9e0101;
    }


    /* dropdowns */
    #header .main-menu li {
        position: relative;
    }
    #header .main-menu ul.sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 1px;
        min-width: 170px;
        max-width: 100%;
    }
    #header .main-menu .sub-menu a,
    #header .main-menu .sub-menu li {
        position: relative;
        display: block;
    }
    #header .main-menu .sub-menu li {
        background-color: rgba(0, 0, 0, 0.8);
    }
    #header .main-menu .sub-menu li:hover,
    #header .main-menu .sub-menu li:focus {
        background-color: rgba(107, 1, 1, 0.8);
    }
    #header .main-menu li:hover ul.sub-menu,
    #header .main-menu li:focus ul.sub-menu {
        display: block;
    }
    #header .main-menu .sub-menu a {
        font-size: 20px;
        line-height: 26px;
        padding: 10px 20px;
    }
    #header .main-menu .sub-menu > li:first-child:before {
        content: "&nbsp;";
        font-size: 0;
        display: block;
        position: absolute;
        top: 0;
        left: 20px;
        /*background-color: #b70101;*/
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #9e0101;

    }
    #header .main-menu .sub-menu > li:first-child a {
        padding-top: 20px;
    }
    #header .main-menu .sub-menu > li:last-child a {
        padding-bottom: 20px;
    }

    /* Mobile main menu */
    #header .main-menu .toggle {
        display: none;
        margin: 0;
        padding: 10px;
        position: absolute;
        top: 3px; right: 10px;
    }
    #header .main-menu .toggle:before {
        /*-moz-osx-font-smoothing: grayscale;*/
        /*-webkit-font-smoothing: antialiased;*/
        color: #fff;
        content: '\f419';
        display: inline-block;
        font: normal 24px/1 'Genericons';
        margin: 0;
        padding: 0;
    }

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

    #header .main-menu {
        display: block;
        position: relative;
        width: 100%;
        background-color: #b70101;
        padding-top: 47px;
    }
    /* Header: responsive menu - see also the sohe.all.js file */
    #header .main-menu .main-menu-wrapper {
        display: none;
    }
    #header .main-menu .search {
        /*padding: 0 8% 10px 8%;*/
        display: block;
    }
    /*#header .main-menu .search input {*/
    /*width: 100%;*/
    /*line-height: 26px;*/
    /*}*/
    #header .main-menu .menu a {
        display: block;
        font-size: 16px;
        line-height: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
        background-color: rgba(255, 255, 255, 0.3);
        padding: 8px 10px;
    }
    #header .main-menu .fill {
        display: none;
    }
    #header .main-menu .toggle {
        display: block;
        margin: 0;
        padding: 10px;
        position: absolute;
        top: 3px; right: 10px;
    }
    #header .main-menu .toggle:before {
        color: #fff;
        content: '\f419';
        display: inline-block;
        font: normal 24px/1 'Genericons';
        margin: 0;
        padding: 0;
    }
    #header .main-menu .menu-main-menu-container {
    }
    #header .main-menu ul.menu {
        padding: 0 8% 40px 8%;

    }
    #header .main-menu ul.menu li {
        margin-bottom: 10px;
    }
    #header .main-menu ul.sub-menu {
        padding: 10px 0 0 4%;
    }

    #give-wrapper { display: none; }
    #header #give-button-mobile {
        display: block;
    }

}
@media screen and (max-width: 1210px) and (min-width: 1025px) {
    #header .main-menu .menu > li > a {
        font-size: 20px;
    }
    #give-ribbon {
        font-size: 16px;
    }
}
@media screen and (max-width: 1024px) and (min-width: 901px) {
    #header .main-menu .menu > li > a {
        font-size: 18px;
        padding: 0 18px;
    }
    #give-ribbon {
        font-size: 16px;
        width: 62px;
    }
}
@media screen and (max-width: 900px) and (min-width: 701px) {
    #header .main-menu .menu > li > a {
        font-size: 16px;
        padding: 0 14px;
    }
    #give-ribbon {
        font-size: 16px;
        width: 62px;
    }
}


/* Sidebar ************************************************************************************************************/

#sidebar {
    /*background-color: #aaaaff;*/
}
#sidebar .stamp {
    -webkit-filter: sepia(100%);
    filter: sepia(100%);
    -webkit-transition: 200ms ease-in-out;
    -moz-transition: 200ms ease-in-out;
    -o-transition: 200ms ease-in-out;
    transition: 200ms ease-in-out;
}
#sidebar .stamp:hover,
#sidebar .stamp:focus {
    -webkit-filter: sepia(0%);
    filter: sepia(0%);
}
#sidebar .stamp.large {
    width: 100%;
    margin-right: 0;
}


/* Grid Banner - Front end customization ---------------------------------------------------------------------------- */

.grid-banner {
    display: block;
    position: relative;
    width: 100%;
    background: #c0c0c0 top left;
    background-size: cover;
}

@media screen and (max-width: 1024px) and (min-width: 601px) {
    .grid-banner .full { display: none; }
    .grid-banner .medium { display: block !important; }
}
@media screen and (max-width: 600px) {
    .grid-banner .full { display: none; }
    .grid-banner .small { display: block !important; }
}


/* Majors and Stamps **************************************************************************************************/

.major,
.stamp {
    position: relative;
    display: inline-block;
    float: left;
    color: #fff;
    width: 100%;
}

.major a,
.stamp a {
    color: #fff;
}
.major .content:before,
.stamp .content:before {
    content: " ";
    display: block;
    width: 100%;
    padding-top: 100%;
}

.major .wrapper,
.stamp .wrapper {
    display: block;
    background-size: cover;
    background-color: #c0c0c0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.major .center,
.stamp .center {
    display: inline;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    text-shadow: #000000 0 0 36px, #000000 0 0 6px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.major .center {
    font-size: 32px;
    font-family: 'Oswald', sans-serif;
    line-height: 36px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.major .button-frame {
    display: block;
    height: 0;
    overflow: hidden;
    opacity: 0;
    -webkit-transition: 200ms ease-in-out;
    -moz-transition: 200ms ease-in-out;
    -o-transition: 200ms ease-in-out;
    transition: 200ms ease-in-out;
}
.major .wrapper:hover .button-frame,
.major .wrapper:focus .button-frame {
    height: 50px;
    opacity: 1;
}
.major .button-content {
    border: 2px solid #ffffff;
    clear: both;
    display: inline-block;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 16px;
    margin-top: 12px;
    padding: 8px 16px 8px 16px;
}

.stamp .center {
    width: 80%;
}
.stamp .icon {
    font-size: 48px;
}
.stamp .decoration {
    -webkit-transition: 200ms ease-in-out;
    -moz-transition: 200ms ease-in-out;
    -o-transition: 200ms ease-in-out;
    transition: 200ms ease-in-out;
    height: 0;
    margin-top: -4px;
    border-bottom: 4px solid rgba(255, 255, 255, 0);
}
.stamp .wrapper:hover .decoration,
.stamp .wrapper:focus .decoration {
    height: 10px;
    border-bottom-color: rgba(255, 255, 255, 1);
}
.stamp .label {
    clear: both;
    display: inline-block;
    font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 18px;
    line-height: 20px;
    margin-top: 10px;
    max-width: 100%;
}

/* Bootstrap Column Support - sohe-column- ****************************************************************************/

/*********
*
* This section is to support wordpress column shortcodes. The shortcodes were translated to bootstrap column classes in the
* old theme. The shortcode.php file was changed so the classes are now 'sohe-column-[user-defined number]' instead of the traditional
* bootstrap syntax 'col-sm-[user-defined number]' where [user-defined number] is 1-12 (per bootstrap design syntax).
* Each number represents the elements size as a proportion of twelve within its container(sohe-column-6 is approximately half
* of the container, sohe-column-3 is approximately one quarter).
*
**********/
.sohe-column-6 {
    display: inline;
    float: left;
    width: calc((100% - 20px) / 2);
    padding-right: 10px;
}

.sohe-column-5 {
    display: inline;
    float: left;
    width: calc((100% - 20px) * (5 / 12));
    padding-right: 10px;
}

.sohe-column-4 {
    display: inline;
    float: left;
    width: calc((100% - 30px) / 3);
    padding-right: 10px;
}

.sohe-column-3 {
    display: inline;
    float: left;
    width: calc((100% - 40px) / 4);
    padding-right: 10px;

}

.sohe-column-2 {
    display: inline;
    float: left;
    width: calc((100% - 50px) / 6);
    padding-right: 10px;
}

.sohe-column-1 {
    display: inline;
    float: left;
    width: calc((100% - 30px) / 12);
    padding-right: 5px;
    min-height: 2em;
}

@media screen and (max-width: 700px) {
    .sohe-column-6 {
        width: 100%;
        padding-right: 0;
        display: block;
    }

    .sohe-column-4 {
        width: 100%;
        padding-right: 0;
        display: block;
    }

    .sohe-column-3 {
        width: 100%;
        padding-right: 0;
        display: block;
    }

}


/* SoHE Grid and Grid Items *******************************************************************************************/

.sohe-grid .grid-row {
    padding-bottom: 10px;
}
.sohe-grid .grid-item {
    position: relative;
    width: 100%;
}
.sohe-grid .grid-item.stamp {
    width: calc((100% - 10px) / 2);
}
.sohe-grid .grid-item.stamp:first-child {
    margin-right: 10px;
}

#front-page-grid.sohe-grid {
    padding-top: 10px;
}
#front-page-grid.sohe-grid .grid-column-4 {
    display: inline-block;
    float: left;
    width: calc((100% - 30px) / 4);
    padding-right: 10px;
}
@media screen and (min-width: 1025px) {
    #front-page-grid.sohe-grid .grid-column-4:last-child {
        padding-right: 0;
    }
}
@media screen and (max-width: 1024px) and (min-width: 601px) {
    #front-page-grid.sohe-grid .grid-column-4 {
        width: calc((100% - 10px) / 2);
    }
    #front-page-grid.sohe-grid .grid-column-4:nth-child(odd) {
        clear:both;
    }
    #front-page-grid.sohe-grid .grid-column-4:nth-child(1n+3) {
        float: right;
    }
    /* columns 2 and 3 */
    #front-page-grid.sohe-grid .grid-column-4:nth-child(n+2):nth-child(-n+3) {
        padding-right: 0;
    }
}
@media screen and (max-width: 600px) {
    #front-page-grid.sohe-grid .grid-column-4 {
        width: 100%;
        padding-right: 0;
        display: block;
    }
}


/* Structural *********************************************************************************************************/

/* Page wrapper */
#wrapper {
    position: relative;
}
/* Header */
#header {
    position: relative;
    z-index: 10;
}

/* Content container */
#container {
    max-width: 1190px;
    margin: 0 auto;
    position: relative;
}

/* Page content */
#content {
    margin-right: 32.77%;
}
.full #content {
    margin-right: 0;
}

#sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 25.2%;

}

#footer {
    max-width: 1190px;
    margin: 30px auto 0 auto;
    padding-bottom: 40px;
}

#footer.narrow .wrapper {
    padding-right: 32.77%;
}

#footer .uw-wisconsin-crest {
    width: 293px;

}

/* Responsive *********************************************************************************************************/

/* Structural -> -----------------------------------------------------------------------------------------------------*/

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

    #container,
    #footer {
        width: 90%;
        margin: 0 5%;
    }

}

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

    #content {
        margin-right: 0;
    }

    #sidebar {
        display: none;
    }

    #footer.narrow .wrapper {
        padding-right: 0;
    }

}

/* <- Structural -----------------------------------------------------------------------------------------------------*/



/* Staff Posts ********************************************************************************************************/

.staff-card {
    width: 25%;
    float: left;
    margin-top: 1em;
}

.staff-content {
    width: 72%;
    margin-left: 15px;
    display: inline-block;
    margin-top: 1em;

}
.staff-email {
    overflow-x: scroll;
}

.callout {
    background-color: #e6e6e6;
    padding: 24px;
    border: 1px solid #dedede;
    margin-bottom: 25px;
}

.well-content{
    margin-bottom: 1.5em;
}

.well-title {
    margin-top: 0px;
}

@media screen and (max-width: 700px) {
    .staff-card {
        float: none;
        width: 300px;
    }
    .staff-content{
        width: auto;
        margin-left: 0px;
    }
}

/* Sidebar Shortcode Support ******************************************************************************************/

.sidebar.pull-left.extra {
    margin: 20px;
    margin-left: 0px;
}
.sidebar.pull-right.extra {
    margin: 20px;
    margin-right: 0px;
}

.sidebar.grayback {
    background-color: #E6E6E6;
    color: #333333;
    font-size: 14px;
}

.sidebar.pull-left {
    float: left !important;
    padding: 10px;
}
.sidebar.pull-right {
    padding: 10px;
    float: right !important;
}

.sidebar {
    display: block;
}

.sidebar h4{
    font-size: 18px;
    margin-top: 12.5px;
    margin-bottom: 12.5px;
}

.sidebar h5{
    font-size: 14px;
    margin-top: 12.5px;
    margin-bottom: 12.5px;
}


@media (min-width: 768px) {
    .col-sm-3.sidebar {
        width: 25%;
    }
}

/* Blog post list image formatting ************************************************************************************/
.blog_search_thumbnail {
    float: left;
    margin-right: 1em;
    margin-top: .4em;

}
.square-placeholder {
    float:left;
    margin-right: 1em;
    margin-top: .4em;
    height: 150px;
    width: 150px;
    background-color: #BF8B4A;
    opacity: 0.5;
}

.blog_search_header {
    display: inline-block;
    width: calc((100% - 170px));
}

h2.entry-title {
    margin-top: 0em;
}

footer.entry-footer {
    /*margin-top: 1em;*/
    margin-bottom: 2em;
}

section.entry-summary p {
    margin-bottom: .5em;
}


@media screen and (max-width: 600px) {
    .blog_search_thumbnail {
        float: none;
    }
    .square-placeholder {
        float: none;
    }
    .blog_search_header {
        display: block;
        width: 90%;
    }
}

@media screen and (min-width: 1025px) {
    .blog_search_header {
        width: calc((100% - 200px));
    }
}

.page-list-article {
    display: inline-block;
    width: 100%;
}

.search .page-list-article {
    margin-bottom: 2em;
}
