/*
Theme Name: ICANN Human Rights
Theme URI: http://icannhumanrights.net
Author: U. Uhlig
Author URI: http://curlybracket.net
*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans|Roboto+Slab);

* {
    margin:0;
    padding:0;
}

body {
    margin: 0;
    font-size: 15px;
    line-height: 1.45em;
    -webkit-text-size-adjust: 100%;
    color: #000;
    background: #fff;
    font-family: "Open Sans", "Helvetica", Arial, sans-serif;
    box-sizing: border-box;
}

img {
    border:none;
}

hr {
    display: none;
}

a {
    text-decoration: none;
    color: #000;
}

a:hover {
    color: #0d00b2;
}

.read-more {
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

.read-more:hover {
    text-decoration: underline;
}

.read-more:before {
    content: "→";
    font-weight: bold;
}

.post-content a:not(.hasimg) {
    text-decoration: underline;
}

.post-content a:not(.hasimg):hover {
}

table tr, table th, table td {
    border: 1px solid #bbb;
}

table th, table td {
    padding: 0.1em 0.3em;
}

table th {
    font-weight: bold;
}

blockquote {
    padding: 1em;
    overflow: hidden;
}

pre, code {
    font-size: 1em;
    font-family: "Roboto Slab", monospace;
    font-weight: 300;
    background: #f0f0f0;
    overflow: auto;
}

pre {
    margin-bottom: 1em;
}

.wp-caption-text {
    text-align: left;
    font-size: 0.9em;
}

.alignright .wp-caption-text {
    margin-left: 10px;
}

.alignright {
    float: right;
    margin-left: 2.5em;
}

.alignleft {
    float: left;
    margin-right: 2.5em;
}

.aligncenter {
    text-align: center;
    margin: 0 auto 0.8em;
    display: block;
}

.clear {
    clear: both;
}

.screen-reader-text {
    display: none;
}

.mejs-container {
    text-align: center !important;
    margin-bottom: 1.5em;
}
.mejs-inner {
    margin: auto;
}

.mejs-container, video {
    max-width: 100%;
    height: auto;
}

/*************************************
* Structure
*************************************/

#wrap {
    text-align: left;
    position: relative;
    margin: 0 auto;
    font-size: 0.853em;
    padding-top: 0;
}

.wrapper {
    width: 80%;
    max-width: 1000px;
    margin: auto;
    padding: 0 2em;
    box-sizing: border-box;
}

#header {
    padding: 1.5em 0;
    text-align: right;
}

#header.fakeheader {
    background: #fefcea;
    background: -moz-linear-gradient(-45deg, #fefcea 0%, #0d00b2 100%);
    background: -webkit-linear-gradient(-45deg, #fefcea 0%,#0d00b2 100%);
    background: linear-gradient(135deg, #fefcea 0%,#0d00b2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefcea', endColorstr='#0d00b2',GradientType=1 );
    margin-bottom: 2em;
    color: #fff;
}

#header.fakeheader a {
    color: #fff;
}

#header h1 {
    text-transform: uppercase;
    font-size: 1.4em;
    float: left;
    margin-right: 1em;
}

/*************************************
* Top bars
*************************************/

.open {
    float: right;
    margin-left: .75em;
    margin-right: 0 !important;
    overflow: hidden;
    padding: 0 !important;
    border: 0 !important;
}

.open.open-menu a {
    background: url(images/icon_menu.png) no-repeat center 4px;
    display: block;
    width: 24px;
    height: 24px;
    text-indent: 10000px;
}

.fakeheader .open.open-menu a {
    background-image: url(images/icon_menu_inverse.png);
}

.top-bar {
    width: 100%;
    box-sizing: border-box;
    background: #000;
    color: #fff;
    overflow: hidden;
    -webkit-transition: color .5s linear;
    -moz-transition: color .5s linear;
    transition: .5s linear;
    padding: 0.5em;
    border-bottom: 1px solid #666;
}

.top-bar.visible {
    margin-top: 0 !important;
}

.top-bar a {
    color: #fff;
}

.widget_search .widget-title {
    display: none;
}

.top-bar .widget_search  {
    float:right;
}

/*************************************
* Menu
*************************************/

.menu {
    list-style: none;
}

.menu-header li {
    display: inline;
    margin-right: 1em;
    margin-right: 0.6em;
    padding-right: 0.7em;
    border-right: 2px solid;
    font-weight: bold;
}

.menu-header li:last-child {
    border: none;
}

#menu-main-menu li:nth-child(4n) {
    border: none;
}

.menu-header a {
    font-weight: bold;
    text-transform: uppercase;
    color: #000;
    padding: 0.1em 0.3em;
    -webkit-transition: color .3s ease-in-out;
    -moz-transition: color .3s ease-in-out;
    transition: color .3s linear;
}

.top-bar .menu-header a {
    color: #fff;
}

.menu .current_page_item a,
.menu .current-menu-item a, .menu .current-post-ancestor a,
.menu a:hover {
    /*color: #0d00b2;*/
    color: blue;
}

#menu-get-involved {
    margin-top: 1.5em;
}

#menu-get-involved li {
    display: inline-block;
    width: 100%;
    text-align: center;
}

#menu-get-involved li a {
    font-weight: bold;
    display: block;
    background: #0d00b2;
    padding: 0.75em 1em;
    color: #fff;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    transition: .3s linear;
}

#menu-get-involved li a:hover {
    background: #000;
}

#footer .menu-header li {
    border: none;
    margin-right: 0;
}

#footer .menu-header li:after {
    content: "//";
}

#footer .menu-header li:last-child:after {
    content: "";
}

#footer .menu-header li a {
    padding-right: 1em;
}

/*************************************
* Sidebar
*************************************/

.sidebar .widget {
    overflow: hidden;
    margin-bottom: 1.5em;
}

.sidebar .widget-title {
    font-size: 1.1em;
    font-family: "Roboto Slab", Courier, monospace;
}

.sidebar .widget li {
    margin-bottom: 0.75em;
}

.sidebar .widget ul {
    list-style: none;
}

.rss-widget-icon {
    display: none;
}

.rss-date {
    font-size: 0.8em;
}

/*************************************
* Content
*************************************/

#content {
    padding: 0 0 0.5em;
}

#contentwide {
    padding: 1em 0 0.5em;
}

/*************************************
* Post
*************************************/
.post {
    position: relative;
    overflow: hidden;
}

.post-title {
    font-size: 1em;
}

.blog .post,
.search .post {
    background: #fafafa;
    margin-bottom: 1em;
     padding: 1.5em 2em;
}

.widget-title, .page-title {
    font-family: "Roboto Slab", Courier, monospace;
    font-size: 1.4em;
    line-height: 1.3em;
    margin-bottom: 0.5em;
}

.page-title {
    margin-bottom: 1.5em;
}

.widget-title,
.page-title span {
    display: inline-block;
    border-bottom: 4px solid;
}

.widget-title:after, .page-title:after {
    clear: both;
}

.widget-title, .widget-title a, .page-title, .page-title a {
    color: #0d00b2;
}

.post .post-content h1,
.post .post-content h2,
.post .post-content h3,
.post .post-content h4,
.post .post-content h5 {
    margin: 0 0 .5em;
    line-height: 1.4em;
}

.post .post-content dl,
.post .post-content ul,
.post .post-content ol,
.post .post-content blockquote,
.post .post-content p {
    margin-bottom: 1.5em;
}

.post .post-content p:last-child {
    margin-bottom: 0;
}

.post .post-content ul,
.post .post-content ol {
    margin-left: 1.5em;
}

.post-content .wp-caption, .post-content img {
    max-width: 100% !important;
    height: auto;
}

.single .post-content img {
    box-sizing: border-box;
    margin-bottom: 2em;
    border: 3px solid #fff;
}

.gallery {
    margin: 1.5em 0 1em 1em;
    text-align: center;
    overflow: hidden;
}

.gallery a {
    width: 100%;
}

.gallery img {
    float: none;
    margin: auto;
    width: 100%;
    height: auto;
}

#summary {
    margin-left: 0;
    border-top: 1px dotted #ccc;
    border-bottom: 1px dotted #ccc;
    padding: 0.5em 0;
}

#summary li {
    list-style: none;
    font-size: 0.95em;
}

#summary li a {
    text-decoration: none;
}

#summary li a:hover {
    text-decoration: underline;
}

#backtotop {
    text-align: right;
    font-size: 2em;
    display: block;
}

/*************************************
* Navigation
*************************************/

.nav  {
    overflow: hidden;
}

.nav a {
    color: #222;
}

.nav .next {
    float: right;
}

.nav .previous {
}

.custom-pagination {
    text-align: center;
}

.page-num {
    display: block;
}

.page-numbers {
    padding: 1em;
}

.page-numbers.current,
.page-numbers:hover {
    font-weight: bold;
}

/*************************************
* Footer
*************************************/

#footer {
    clear: both;
    font-size: 0.9em;
    padding: 2em 0 1em;
    margin-top: 1em;
    overflow: hidden;
}

#footer .widget-title, #footer ul, #footer li {
    display: inline;
    margin: 0 0.5em 0 0;
    font-size: 1em;
}

#footer img {
    max-width: 100%;
    height: auto;
}

/*************************************
* Search
*************************************/

.searchresults-title {
    margin-bottom: 1em;
}

#searchform #s,
.form {
    padding: 0.1em 0.3em;
    box-shadow: -1px 1px 3px #ccc inset;
    border: 1px solid #ccc;
    color: #666;
    width: 150px;
}

#searchsubmit {
    background: #000;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    padding-left: 1em;
    font-size: 1em;
}

.submit {
    padding: 0 0.25em;
}

/******************************
 Comments
******************************/

#comments, #respond {
    border-top: 1px dashed #ccc;
    padding-top: 1em;
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: normal;
}

.commentlist li {
    margin-bottom: 0.5em;
}

#approval {
    margin: 0.5em 0;
    color: orange;
}

#commentform .inputbox {
    width: 300px;
    margin: 0 0.2em 0.5em 0;
}

#commentsubmit {
    position: relative;
    width: 305px;
    padding-bottom: 14px;
}

#commentsubmit #submit {
    display: block;
    right: 0;
    bottom: 0;
    position: absolute;
}

/*************************************
* Home
*************************************/

.section {
    overflow: hidden;
    margin-bottom: 3.5em;
}

.section#news .post,
.section#documents .post {
    width: 33%;
    float: left;
    vertical-align: top;
    padding: 0 2% 1em 0;
    box-sizing: border-box;
}

.section#news .post:last-child,
.section#documents .post:last-child {
    padding-right: 0;
    padding-left: 2%;
}

.section#documents .post a {
    font-weight: bold;
}

.section#news {
    background: #fefcea; /* Old browsers */
    background: -moz-linear-gradient(top, #fefcea 0%, #fff6d5 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #fefcea 0%,#fff6d5 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #fefcea 0%,#fff6d5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefcea', endColorstr='#fff6d5',GradientType=0 ); /* IE6-9 */
    padding: 2.5em 0 0.5em;
    margin-bottom: 0;
}

/******************************
 Rights
 *****************************/

#rights {
    margin-bottom: 2em;
    padding: 0.8em 0;
    background: #fefcea;
    background: -moz-linear-gradient(-45deg, #fefcea 0%, #0d00b2 100%);
    background: -webkit-linear-gradient(-45deg, #fefcea 0%,#0d00b2 100%);
    background: linear-gradient(135deg, #fefcea 0%,#0d00b2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefcea', endColorstr='#0d00b2',GradientType=1 );
}

#rights .wrapper {
    background: url(images/humanrightsprinciples.png) no-repeat center center;
    height: 350px;
    background-size: contain;
}

/******************************
 sitemap
 *****************************/
#sitemap ul {
    margin-left: 1.5em;
}

#sitemap h2 {
    margin-top: 1em;
    margin-bottom: 1em;
}

/******************************
 IE
 *****************************/

.chromeframe {
    display: none;
    background: lightgoldenrodyellow;
    padding: 0.5em;
    margin: 1em 0;
    text-align: center;
}

.chromeframe a {
    text-decoration: underline;
}

.lt-ie9 #header,
.lt-ie9 #footer {
    display: block;
}

/******************************
 d3js
 *****************************/

.section#d3js {
    background: #fefcea;
    background: -moz-linear-gradient(-45deg, #fefcea 0%, #0d00b2 100%);
    background: -webkit-linear-gradient(-45deg, #fefcea 0%,#0d00b2 100%);
    background: linear-gradient(135deg, #fefcea 0%,#0d00b2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefcea', endColorstr='#0d00b2',GradientType=1 );
    height: 450px;
    /*margin-bottom: 0;*/
    position: relative;
}

#d3js .scrolldown {
    position: absolute;
    left: 45%;
    bottom: -80px;
    background: #fff;
    border-radius: 75px;
    width: 150px;
    height: 150px;
    text-align: center;
    font-weight: bold;
    font-size: 2em;
    padding: 30px;
    box-sizing: border-box;
    text-decoration: none;
    -webkit-transition: .9s ease-in-out;
    -moz-transition: .9s ease-in-out;
    transition: .9s ease-in-out;
}

#d3js .scrolldown:hover {
    background: #0d00b2;
    color: #fff;
}

#d3js .pdflink {
    position: absolute;
    right: 1em;
    bottom: 1em;
    background: #fff;
    padding: 0.15em .5em;
    color: #0d00b2;
    font-size: 0.9em;
    font-weight: bold;
}

.node {
    cursor: pointer;
}

.overlay {
}

.node circle {
  fill: #fff;
  stroke: gold;
  stroke-width: 2.5px;
}

.node circle.post {
  fill: blue !important;
  stroke: blue !important;
}

.node text {
  font-size: 0.9em;
  font-weight: bold;
  font-family: "Roboto Slab", Courier, monospace;
  fill: #fff !important;
  stroke-width: 1px;
}

.link {
  fill: none;
  stroke: #aaa;
  stroke-width: 1px;
}

svg .xroot {
    display: none;
}

svg .link:nth-child(1),
svg .link:nth-child(2),
svg .link:nth-child(3),
svg .link:nth-child(4),
svg .link:nth-child(5),
svg .link:nth-child(6),
svg .link:nth-child(7) {
    display: none;
}

#colorbox {
    background: #fff;
    opacity: 0.95;
}

#colorbox iframe {
    width: 100%;
    height: 92%;
    margin-top: 2%;
}

.single-publication #header,
.single-publication #aside,
.single-publication #footer {
    display: none;
}

.single-publication #contentwide {
    text-align: justify;
    padding-top: 4em;
}

.single-publication #contentwide a {
    text-decoration: underline;
}

.single-publication #close {
    position: absolute;
    top: 0;
    right: 1em;
    font-weight: bold;
    cursor: pointer;
}

/******************************
 documnets
 *****************************/

.page-documents .post-content a {
    font-weight: bold;
}

/******************************
 Glossary
 *****************************/

.cminds_poweredby {
    display: none !important;
}

/******************************
 Media queries
 *****************************/

@media all and (min-width: 641px) {
    #content {
        width: 65%;
        float: left;
    }

    #sidebar {
        width: 31%;
        float: right;
    }

    #menu-get-involved li {
        width: 32%;
    }
}

#cboxClose {
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    height: 35px;
    opacity: 0;
    cursor: pointer;
}

#menu-item-145 {
    display: none;
}
