/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

/*
// FROM OLD Initilizr
//  TB COLOUR CONVERSIONS:
//           ORANGE   -->   soton --> saidai
// Dark:     #e44d26  -->  #014359  -->  #009933
// Light:    #f16529  -->  #0A96A9  -->  #999933
// HOVER t:    -->   #FFFF66  -->  #FFFF66
// Title H:  -->   #006666  -->  #00990d
// Header TEXTs:  #006600  
// links a:   #669933   
////////////////////////////
//////////// TB SaiDai Colour Scheme ///////////////
// (Space after #, so copy & replace safety)
// Darkest Green:  # 006600  
// Dark Green:     # 009933
// Bright Green:  # 00990d
// Pale Green:   # 669933   
// Pale browny-green (light):   # 999933
// Pale Yellow:    # FFFF66
// FYI, not used:  PURE GREEN: # 009933
*/

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 12px/22px Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    border-bottom: 4px solid #009933;
}

.footer-container{
    border-top: 2px solid #009933;
}

.main aside {
    border-top: 2px solid #009933;
    border-bottom: 2px solid #009933;
    border-left: 2px solid #009933;
    border-right: 2px solid #009933;
}

.header-container,
.footer-container{
    background: #FFFFFF;
}

.main aside {
    background: #999933;
	width: 5%
	}

.main profilephoto {
    border-top: 2px solid #009933;
    border-bottom: 2px solid #009933;
    border-left: 2px solid #009933;
    border-right: 2px solid #009933;
    background: #999933;
}

h1, h2, h3, h4, h5 { 
    color: #006600;
}

h1, h3, h4, h5 { 
	/* font-family:"Times New Roman",Georgia,Serif; */
	font-family:Helvetica, Helvetica Neue, Arial;
}

.pgtitle {
    color: #006600;
    font-size: 2.5em;
	font-variant:small-caps;
	float: left;
	font-family:"Times New Roman",Georgia,Serif;
}


/* ==============
    MOBILE: Menu
   ============== */

nav_toppage ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav_toppage a {
    display: block;
    margin-bottom: 8px;
    padding: 1px 0;

    text-align: center;
    text-decoration: none;
    /* font-weight: bold; */

    color: #009933;
    background: #FFFFFF;
}

nav_toppage a:hover,
nav_toppage a:visited {
    color: #999933;
}

nav_toppage a:hover {
    color: #FFFF66;
	background:#00990d;
    /* text-decoration: underline;  */
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 25px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 1px;
}

.footer-container footer {
    color: #999933;
    padding: 1px 0;
	font-size: .7em;
	}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .pgtitle {
    padding-top: 3px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*
// Additional
*/


a  {
    color: #669933;
    text-decoration: none;
}

a:hover {
    color: #009933;
	background:#FFFF66;
}


#alignright      { 
	text-align: right;
}
#aligncenter      { 
	text-align: center;
}

// SIDE PADDING NOT WORKING... 
.sidepadded {
	padding:30px 40px 20px 40px
    vertical-align: top;
}

.verticaldotted {
   border-left: 1px dotted #999933;
	padding:30px 40px 20px 40px
    vertical-align: top;
}



/*  TB added FROM UoS for ep_citations */
/* eprints styles */
.ep_citations_item {
  font-family: verdana, sans-serif;
  margin-bottom: 1em;
  line-height: 150%;
}

.ep_citations_item
{
  text-indent : -2em ;
  margin-left :  2em ;
}

.ep_citations_item a {
  color: #009933;
}

.ep_citations_level_1 h2 {
  font-size: 1.3em;
  margin-bottom: 0.1em;
  font-weight: 600;
}


/*
RECENT
*/
.publication , .book_title , .event_title , .series_name {
    font-style: italic;
}





/* ==========================================================================
   Media Queries
   ========================================================================== */

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

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav_toppage a {
        float: left;
		/* https://github.com/verekia/initializr-template/issues/4 */
        /* width: 12%;  */
        margin: 0 .3%;
        padding: 12px 1%;
        margin-bottom: 0;
    }

    nav_toppage li:first-child a {
        margin-left: 0;
    }

    nav_toppage li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav_toppage ul li {
        display: inline;
    }

    .oldie nav_toppage a {
        margin: 0 0.7%;
    }
}

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

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

    .main profilephoto {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

/* ============
    WIDE: Menu
   ============ */

    . {
        float: left;
		color: #006600;
    }

    nav_toppage {
        float: right;
		/* https://github.com/verekia/initializr-template/issues/4 */
        width: 58%;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
		/* width not working */
    }

    .main profilephoto {
        float: right;
		/* width not working */
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[pgtitle]:after {
        content: " (" attr(pgtitle) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}