/*
Theme Name: Unimelb Design System
Theme URI: http://blogs.unimelb.edu.au
Author: Unimelb
Author URI: https://unimelb.edu.au/
Description: Theme based on the University of Melbourne Design System. http://web.unimelb.edu.au/
Version: 1.2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: uom, responsive, dark blue, white, gray
Text Domain: unimelb
*/

@media screen and (min-width: 481px) {
    .uomcontent  .alignleft,
    .uomcontent  .alignright {
        margin-bottom: 30px;
        margin-bottom: 1.875rem;
        padding-right: 60px;
        padding-right: 3.75rem;
        border: 0 none;
        float: left;
        max-width: 62%;
        text-align: left;
    }

    .uomcontent  .alignright {
        padding-left: 60px;
        padding-left: 3.75rem;
        float: right;
        margin-right: 0;
        text-align: right;
        padding-right:0;
    }
}

.uomcontent img.alignleft,
.uomcontent img.alignright,
.uomcontent svg.alignleft,
.uomcontent svg.alignright {
    max-height: 500px;
    max-height: 31.25rem;
}

.uomcontent h1 > a,
.uomcontent h2 > a,
.uomcontent h3 > a,
.uomcontent h4 > a,
.uomcontent h5 > a,
.uomcontent h6 > a {
    color:inherit;
    text-decoration:inherit;
}


/** Archives **/
body.home .hentry section,
body.search .hentry section,
body.archive .hentry section,
body.home .hentry footer,
body.search .hentry footer,
body.archive .hentry footer{
    padding-bottom:0;
    padding-top:0;
}

body.home article.hentry {
    padding-bottom: 24px;
    padding-bottom: 1.5rem;
    padding-top: 24px;
    padding-top: 1.5rem;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* 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. */
}


/** Meta **/
.entry-meta,
.entry-meta a {
    color:#848484;
    text-decoration:none;
    font-size:0.9rem;
}

.entry-meta .post-edit-link {
    margin-left:15px;
}

.uomcontent hr {
    max-width: 43.75rem;
    margin: 0 auto;
}

.uomcontent article aside ul {
    padding-bottom:0;
}


/** Images **/
img {
    height: auto;
}


/** Archives **/
.uomcontent ol.search-results li {
    clear:both;
}

.uomcontent ol.search-results li > .archive-post-link {
    display: inline-block;
}


/** Single Post **/
body.single-post .uomcontent [role="main"]>*:first-child {
    padding-top: 100px;
    padding-top: 6.25rem;
}

body.single article.post aside .share li {
    display: inline-block;width:24px;
}

body.single article.post ul.search-pagination {
    margin-left:0;
    font-size:0.8rem;
}

body.single article.post ul.search-pagination li {
    width:auto;
    max-width:auto;
    margin-right:3px;
}

body.single article.post ul.search-pagination li > span.page-numbers,
body.single article.post ul.search-pagination li > span.page-numbers > a {
    font-size:0.8rem;
}

body.single article.post ul.search-pagination li > span.page-numbers {
    padding: 0.28rem 0.8rem;
}

body.single article.post ul.search-pagination li > span.page-numbers > a {
    padding:0;

}

/** General **/
body.admin-bar .uomcontent .page-header,
body.admin-bar .uomcontent [role="navigation"],
body.admin-bar .uomcontent [role="navigation"]#sitemap,
body.admin-bar .uomcontent .sitemap-label,
body.admin-bar .uomcontent [role="sitemap"],
body.admin-bar .uomcontent #globalsitemap,
body.admin-bar .uomcontent .page-header,
body.admin-bar .uomcontent [role="navigation"],
body.admin-bar .uomcontent [role="navigation"]#sitemap,
body.admin-bar .uomcontent .sitemap-label,
body.admin-bar .uomcontent [role="sitemap"],
body.admin-bar .uomcontent #globalsitemap {
    margin-top:32px;
}


@media screen and ( max-width: 782px ){
    body.logged-in .page-header { margin-top: 0px; }
}

/** Pages **/
body.page article.page:not( .has-post-thumbnail ) .entry-content {
    padding-top:0;
}


/** Post content **/
@media screen and (min-width: 769px) {
    .uomcontent [role="main"] dl,
    .uomcontent [role="main"] dl.mobile-friendly {
        max-width: 900px;
        max-width: 56.25rem;
        overflow: visible;
        margin-left: auto;
        margin-right: auto;

    }

    .uomcontent [role="main"] dl dd,
    .uomcontent [role="main"] dl.mobile-friendly dd {
        width:70%;
    }
}

.uomcontent address {
    max-width: 700px;
    max-width: 43.75rem;
    margin-left:auto;
    margin-right:auto;
    padding-bottom: 1.5rem;
}



/** Comments **/
.uomcontent h2#comments {
    background: #F2F5F8;
    clear: both;
    font-weight: 400;
    padding: 30px;
    width: 100%;
}

.uomcontent ol.commentlist {
    background: #F2F5F8;
    list-style-type: none;
    padding: 0 30px 15px;
}

.uomcontent ol.commentlist li.comment {
    border-top: 1px solid rgba(0, 0, 0, .05);
    margin: 0;

}

.uomcontent ol.commentlist div.comment-body {
    padding-top:1rem;
    padding-bottom:1rem;
}

.uomcontent .comment .comment-author {
    color: #666;
    padding: 15px 0;
}

.uomcontent .comment .comment-author img {
    margin-right: 10px;
    vertical-align: middle;
}


.uomcontent .comment .comment-author a {
    color:#666;
    text-decoration:none;
}

.uomcontent .comment .comment-meta a {
    color:#AAA;
    text-decoration:none;
}

.uomcontent .comment .comment-author a:hover,
.uomcontent .comment .comment-meta a:hover {
    color:#333;
    text-decoration:underline;
}

.uomcontent .comment .comment-meta  {
    margin-bottom:1rem;
}

.uomcontent .comment ol.children {
    padding-bottom:0;
}

.uomcontent .comment .children > li {
    list-style-type: none;
}

.uomcontent #reply-title  {
    font-weight: bold;
    letter-spacing: 1px;
    padding-bottom: 15px;
    padding-top: 45px;
    text-align: center;
    text-transform: uppercase;
}

.uomcontent .comment #commentform {
    background:transparent;
}

.uomcontent .comment #respond {
    background-color: #DEDEDE;
    border: 1px solid #BDBDBD;
}

.uomcontent #commentform .comment-form-comment label[for="comment"] {
    display:none;
}

.uomcontent #commentform .comment-form-comment #comment {
    width:100%;
    height: 200px;
}

.uomcontent fieldset input[type="url"] {
    border-radius: 3px;
    border-radius: 0.1875rem;
    margin-top: 5px;
    margin-top: 0.3125rem;
    padding: 8px 10px;
    padding: 0.5rem 0.625rem;
    font-family: Roboto,Helvetica,Arial,sans-serif;
    font-weight: 300;
    width:100%;
    font-size: 20px;
    font-size: 1.25rem;
    background-color: #f6f6f6;
    border: 1px solid lightgray;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.15);
}



/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

/*
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}
*/

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.wp-smiley,
.wp-smiley,
.wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

article.news .article .image-gallery li {width:100%;}
@media screen and (min-width: 481px) {
	article.news .article .image-gallery li {width:50%;}
}
@media screen and (min-width: 769px) {
	article.news .article .image-gallery li {width:25%;}
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}



/*--------------------------------------------------------------
# Childs Tabs
--------------------------------------------------------------*/
body.childs_tabs h1.entry-header {
    display: none;
}
body.childs_tabs .headerless {
    height: 70px;
}
.tabbed-nav a span.small {
    pointer-events: none;
}
body.childs_tabs article.hentry, body.childs_tabs .uomcontent [role=main] section {
    padding-top: 0px;
    padding-bottom: 0px;
}
body.childs_tabs .uomcontent .tabbed-nav>[role=tabpanel] {
    padding-top: 106px;
    padding: 6.625rem 0 0;
}