body {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px;
    line-height: 1.42857;
    color: #666666;
    background-color: #fff !important;
  }

  body * {
    border-radius: 0 !important;
}

.container {
    max-width: 1170px !important;
}

/** Headings */

h2, h3, h4, h5, h6 {
    color: #634B77;
    max-width: 900px;
}

h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600 !important;
    color: #634B77;
}
h1, .h1 {
    font-size: 2.5rem;
}

h1.frontpage-title {
    font-size: 32px;
    border-bottom: 3px solid #efefef;
    padding-bottom: 2rem;
}

.theme-title{
    font-size: 28px;     
}

/* .heading--h2 {
    font-size: 18px;
    color: #634B77;
    font-weight: 600;
}   */


/** Links */
 a{
    color: #006699;
    text-decoration: none ;
  }

 a:hover {
    color: #00334d ;    
    text-decoration: underline;
  }

  a:focus {
    outline-style: solid !important;
    outline-color: #000 !important;
  }

  a:focus, button:focus{
    outline: 5px auto #000000 !important;
    outline-offset: -2px !important;
    border-radius: 0 !important;
   
  }

  .btn:focus, a:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus { 
    color: #495057;  
    border-color: #000000 !important;
    border-radius:0 !important; 
    outline-style: double !important;
    outline-width: 2px !important;; 
    outline-color: #000000 !important;
    outline-offset: 3px !important;
     -webkit-box-shadow: 0 !important;; 
    box-shadow: 0 !important;;  
    -webkit-box-shadow:0 !important;
    box-shadow:0 !important;
}

.formatted-text a, .help-block a {
    font-weight: bold !important;
    text-decoration: underline !important;
}

.strong{
    font-weight:600;
}

/** buttons */

.btn-primary {
    border:0;
    background-color: #00829A !important;
    color: #fff !important;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.2;    
    display: inline-block;
    vertical-align: auto;
    
    text-decoration: none;    
    border-radius: 0  !important;  
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus, input[type="button"]:hover, input[type="button"]:active, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:active, input[type="submit"]:focus, .btn-primary:not(:disabled):not(.disabled):active{
    background-color: #006c81 !important;
    border-color: #006c81;
    color: #fff !important;
    border-radius: 0  !important;
}

.text-large{
    font-size: 20px;
}

*:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.page-header__fluid--header {
    border-bottom: 1px solid #e6e6e6;
}
.page-header__right {
    height: 75px;
    display: flex;
    align-items: center;
    float: right;
}

.page-header__menu, .page-header__slogan, .page-header__search, .page-header__lang, .page-header__logo {
    display: inline-block;
    vertical-align: middle;
}

/** Nav */
#nav-header {   
    list-style-type: none;
    
}
#nav-header li {
    display: inline-block;
}
#nav-header a {
    color: #666666 !important;
    font-weight: bold;
    padding: 0 15px;
    text-decoration: none
}
#nav-header a:hover {
    color: #000000 !important;
}

.page-header ul {
    padding: 0;
}

.page-header__search {
    height: 75px;
    padding-top: 16px;
    padding-left: 15px;
    padding-right: 15px;
    width: 70px;
    position: relative;
}

.page-header .custom-logo{
    height: 75px;
    width: auto;
}
  
  .page-header__slogan {
    color: #666666;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.1;
    padding-top:1rem;
    width: 330px;
  }

.container.nav-primary{
    padding-right:0;
}

#nav-header {
    padding-top:1rem;
}

#nav-primary  li {
    margin: 0;
    margin-left: 4.75rem;
    font-size: 18px;
    font-weight: bold;
    
}
#nav-primary a{
    color: #634B77 !important;
}


#nav-primary a:hover{
    text-decoration: none;
    color: #00829A !important;
}

#nav-primary .current-menu-item a, #nav-primary .current-post-ancestor a{
    color: #00829A !important;
}

/* .page-header .navbar-brand {
    display: none;
} */

.main-navigation{
    padding:0.5% !important;
}
.navbar-brand {
    float: left;    
    font-size: 20px;
    line-height: 22px;
    height: 75px;
    padding: 10px 0;
    
}


@media (min-width: 480px){
    .navbar {
        border-radius: 0px;
    }    
}

@media (max-width: 480px){
   
    .link-card {
        width:100%;
        margin:auto;
    }
}

/** SVG Logos and images */
svg.ext {
    width: 14px;
    height: 14px;
    padding-right: 0.2em;
    fill: #727272;
    font-weight: 900;
}

a.ext:after, li.ext:after{   
    min-width: 11px;
    min-height: 16px;
    display:inline-block;
    content: "";    
    background: url("../../assets/images/ext-link.svg") no-repeat left 6px;     
}

a.btn-chevron{
    -moz-transition: background-color 0.3s;
    -o-transition: background-color 0.3s;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    text-align: center;
    text-decoration: none !important;    
    padding: 9px 20px;
    color:#fff;
    background-color: #634B77;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;    
}

a.btn-chevron:hover{
    background-color: #564167;
}

a.btn-chevron:after{
    font-family: "Icons";
    /* position: absolute;
    right:15px; */    
    font-size: 1rem;
    font-weight:300;
    content:'\e036';
    margin-left: 20px;
    vertical-align:middle;
}


.file{  
    min-width: 450px;
    max-width: 450px;
    padding: 20px;
    color: #333;
}

.file-link {   
    padding-left: 70px; 
    background-size: 44px 44px !important;
    background-position: left center; 
    background-repeat: no-repeat; 
}

.file-link a{   
    margin-top: -10px !important;
    font-weight: bold !important;
    font-size: 18px !important;
    color: #634B77;
    text-decoration: none !important;
}
.file-link a:hover{
    text-decoration:underline  !important;;
}

.esrc-logo{
    display:block; 
    height: 70px;
    width: auto;      
    text-indent: 100%;
	white-space: nowrap;
    overflow: hidden; 
    background: url("../../assets/images/ESRC_logo.svg") no-repeat; 
}

.publication-teaser .post-image {
    background: url("../../assets/images/default_publication.png") no-repeat;
    background-size: contain;
}

.single-publication-thumb{  
    height: 460px;
    width: 99%;
    max-width: 322px;  
}

.single-person-thumb{
    height: 315px;
    width: 99%;
    max-width: 315px;    
    -moz-border-radius: 100% !important;
    -webkit-border-radius: 100% !important;
    border-radius: 100% !important;    
}


#nav-socials a {
	display:block;
	width: 32px;
	height: 32px;
	text-indent: 100%;
	white-space: nowrap;
    overflow: hidden;     
}

li.facebook a  {
    background: url("../../assets/images/facebook.svg") no-repeat;    
	
}

li.twitter a {
    background: url("../../assets/images/twitter.svg") no-repeat;
}

 li.youtube a {
    background: url("../../assets/images/youtube.svg") no-repeat; 
}


/** Person page */

 .person-twitter{    
    background: url("../../assets/images/twitter-solid.svg") no-repeat;
}


/** Footer */


#footer-1 section{
    display: inline-block;
    vertical-align: center;
    margin: auto;   
}

footer a{
    color: #006699;
    text-decoration: none;
    font-weight: 600;
    line-height: 22px;    
}

footer .site-description{   
    font-size: 18px;
    color: #634B77;
    font-weight: 600;    
}

footer .site-footer-logos a {    
    padding-left: 20px;
    padding-right: 20px;
}

footer #nav-footer li {    
    font-size:0.96rem;             
}

footer #nav-footer li a{    
   padding: 0  5px 0 0;           
}

/* Post styles */

.entry-content{
    margin-top:0 !important;
}

.post__date {
    font-weight: 600;
    margin-bottom: 5px;
}
.post__date-label, .tags-label{   
    color: #333;
    width: 100px;
    float: left;
}

.post__date-value {
    color: #555555;
    float: left;
    width: calc(100% - 100px);
}

.tags-label{
    font-weight: 600;
    color: #333;
    width: 120px;
    float: left;
}

.project-meta .tags-label{
    width:160px;
}

/** Card */

.card{
    border-radius: 0 !important;
    border: transparent !important;
}

.card, .person-image {
    background-repeat: no-repeat !important;
    background-position: center center !important;    
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;   
}

article.card{
    border-color: transparent ;
} 

.single .card-body{
    padding: 0;
}



/** Colours */

.black {
    color: #000000;
}

.teal{
    color: #00829A;
}

.charcoal {
	color: #333333;
}

.grey{
    color: #555555; 
}

.white {
    color: #ffffff;
}

.purple {
    color: #3b0a4c;    
}

.bg-grey{
    background: #ededed;    
}

.bg-blue{
    background: #8BBCEA;
}

.bg-purple {
    background: #3b0a4c;    
}


/** Sidebars and widgets */

.widget-title{
    font-size: 24px;
    color:#333;    
}

.widget .side-widget {    
    margin-bottom: 30px;
}

/** Search/filter forms */

form.search{
    background: #e6e6e6;
    color: #333333;
}

form.search .label-search{
    font-size:24px;  
    font-weight: 600;
}

form.search .label-filter{
    font-size:18px;
    font-weight: 600;
}

form.search select, form.search input{
    border: 1px solid #333;
}

form.search select{    
    cursor: pointer;
    height: 42px;
}

form.search .input-keywords{
    padding: 12px;
}

form.search button.submit{
    min-width: 210px;
}

/** HR */
hr {
    color: transparent !important;
   
    margin-top: 22px;
    margin-bottom: 22px;    
    border-bottom: 1px solid #eeeeee;
}

.hr-thick {
    border-top-width: 3px !important;
    margin-bottom: 35px;
    margin-top: 35px;
}

.hr-space {
    margin-bottom: 35px;
    margin-top: 35px;
}

.border, .border-top, .border-bottom, .border-right, .border-left{
    border-color: #e6e6e6 !important;

}

/** blockquote */

blockquote {
    background: transparent;
    border-top: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    border-left: 0;
    position: relative;
    padding: 35px 0 35px 95px;
    margin: 35px 0;
}

blockquote, blockquote p{
    font-weight: 600;
    font-style: normal; 
    text-align: justify; 
    color: #634B77;
    font-size: 24px !important;
}

blockquote:before {
    font-size: 95px;
    top: 4px;
    content: open-quote;
    position: absolute;
    left: 0px;
    font-size: 150px;
    line-height: 1;
    top: 8px;
    color: #e1dee3;
  }

/** person teaser and profile */

.person .person-bio{   
    min-width: 270px;
    padding: 13px 40px;
}
.person .contact{
    font-family: Arial, Helvetica, sans-serif !important;  
}

.person .person-twitter{
    padding-left: 38px;
    display:block;
    display:block;
    background-position: left 2px; 
    background-size: 16px 16px;  
}


.person .person-image img {
    -moz-border-radius: 100% !important;
    -webkit-border-radius: 100% !important;
    border-radius: 100% !important;

  

    margin-bottom: 30px;
}

.person .person-image img, .person-teaser .person-image img{
    -moz-border-radius: 100% !important;
    -webkit-border-radius: 100% !important;
    border-radius: 100% !important;
}

.person .person-role, .person .person-twitter, .person .person-email{
    font-weight:600;
}

 .person .person-email, .email:before {    
    color: #00829A; 
    font-weight: 600;

}

/** Publications page */

.pub-top-links a{
    display:block;
    font-size: 1.3rem;
    color: #3b0a4c;     
}
.pub-top-links img{
    margin-right: 9%;
}

/* .publication .post-image img, .teaser .post-image img{
    border: 1px solid #efefef;
} */

 .teaser .post-image img{
    border: 1px solid #efefef;
}


/** Pagination */

.page-link {
    font-size:1.2rem;
    font-weight:600;
    position: relative;
    display: block;
    padding: 0.2rem 0.9rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #634B77;
    background-color: #fff;
    border:0;
    border-left: 1px solid #dee2e6 !important;
    border-right: 1px solid #dee2e6 !important;
}
.page-item.active .page-link {
    z-index: 1;
    color:#00829A;
    background-color:transparent;   
    font-weight:600;
}

/** Teasers */

.news.teaser{
    border-bottom: 1px solid #e6e6e6;
}

.homepage.teaser {
    border-bottom:none;
}

.homepage a.posts-link {
    font-size: 15px;
}

.teaser .teaser-title{
    color: #634B77;
    font-size: 24px;
    font-weight:600;
    display:block;
}

.teaser .post-body{
    color:#666666;
}

.teaser-category {
    padding: 5px 10px;
    background: #8BBCEA;
    margin-bottom: 10px;
    display: inline-block;
    vertical-align: middle;       
    vertical-align: auto;       
    zoom: 1;       
    display: inline;
    font-weight: bold;
    color: #333333;
}

.person-teaser .person-name {
    font-size: 18px;
    color: #634B77;
    margin: 0 0 10px 0;
    font-weight: bold;
    line-height: 1.1;
}

.person-teaser .person-role, .person-teaser .person-institution{
    font-size: 15px;
}

.person-teaser .person-role{
    font-weight: 600;
}

/** Projects **/

.project-team-title {
    font-size: 28px;
    color: #634B77;
    font-weight: 600;
    padding-bottom: 25px;
}

.project-team-label {
    max-width: 20%;
}

.project-team .person-name {
    font-size: 18px;
    color: #666;
    font-weight: 600;
    display: block;
    margin-bottom: 3px;

}
.project-team a.person-name{
    color: #634B77;
}

.project-meta .post-tags{ 
    border-left: 4px solid #00829A; 
    padding-left: 30px;  
}

/** Events */
.event-date {
    font-size: 1.5rem;
    font-weight: 600;
}


/** images */

img.rounded{
    display: block;
    height: 40px;
    width: 40px;
    -webkit-border-radius: 100% !important;
    -moz-border-radius: 100% !important;
    -ms-border-radius: 100% !important;
    -o-border-radius: 100% !important;
    border-radius: 100% !important;
}

img.round{    
    height: 40px;
    width: 40px;
    -webkit-border-radius: 100% !important;
    -moz-border-radius: 100% !important;
    -ms-border-radius: 100% !important;
    -o-border-radius: 100% !important;
    border-radius: 100% !important;
}

h2.no-results {
    font-weight: 600;
    color: #634B77;
    font-size: 24px;
    display: block;   
}

.content ol li, body.cke_editable ol li, .content ul li {
    margin: 0 0 10px 0;
}

/** Tags and categories*/

.post-tags{   
    color: #636363;
}

.post-tags a{
    font-weight: 600;    
}

.post-tags .sep{
    font-weight: 600;
    padding-right:4px;
    padding-left: 4px;
}

.post-tags .post-date, .post-tags .project-date, .post-tags .project-status, .post-tags .event-location{
    font-weight:600;
    color: #636363
}
.post-tags .related-content a, .post-tags .people a, .post-tags .project a {   
    color: #634B77;
}

.post-tags .theme-category a{   
    color: #00829A;
}

.post-category{  
    padding: 7px 10px;
    background: #8BBCEA;
    font-weight: bold;
    color: #333333;
}

a.btn {
    text-decoration: none !important;
}

/** New Buttons */

.btn-wiserd{
    -moz-transition: background-color 0.3s;
    -o-transition: background-color 0.3s;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    text-align: center;
    text-decoration: none !important; 
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
    margin: 5px 0;    
}

.btn.icon:after{
    font-family: "Icons";      
    font-size: 1rem;
    font-weight:300;
    margin-left:0.75rem;
    vertical-align:middle;
    content:'';
}

.btn.x-large{
    font-size: 1.8rem !important;
    padding: 0.3rem 1.4rem;
}
.btn.x-large.icon:after{
    font-size: 1.4rem !important;    
}
.btn.large{
    font-size: 1.4rem !important;
    padding: 0.3rem 1.2rem;
    
}
.btn.large.icon:after{
    font-size: 1rem !important;
}
.btn.regular{
    font-size: 1rem !important;   
}
.btn.regular.icon:after{
    font-size: 0.9rem !important;
}

.btn.purple{
    color:#fff !important;
    background-color: #634B77;
}

.btn.purple:hover{
    background-color: #564167;
}

.btn.teal{
    color:#fff !important;
    background-color: #00829a;
}

.btn.teal:hover{
    background-color: #006c81;
}

.btn.chevron-right:after{
    content:'\e036';
}

.btn.external-link:after{
    content:'\e064';
}