/*   
Theme Name: Human Rights Defenders
Theme URI: http://in-progress
Description: Human Rights Defenders
Author: NCW
Author URI: http://in-progress

Version: 1.0
.
No copyright.
.
*/

body {
	margin: 0;
	text-align:center;
	background-color: #fff;
	margin: 0;
}
@font-face {
  font-family: 'Open Sans';
  font-weight: 400;
  font-style: normal;
  src: url('/fonts/Open-Sans-regular/Open-Sans-regular.eot');
  src: url('/fonts/Open-Sans-regular/Open-Sans-regular.eot?#iefix') format('embedded-opentype'),
       local('Open Sans'),
       local('Open-Sans-regular'),
       url('/fonts/Open-Sans-regular/Open-Sans-regular.woff2') format('woff2'),
       url('/fonts/Open-Sans-regular/Open-Sans-regular.woff') format('woff'),
       url('/fonts/Open-Sans-regular/Open-Sans-regular.ttf') format('truetype'),
       url('/fonts/Open-Sans-regular/Open-Sans-regular.svg#OpenSans') format('svg');
}

#boximg {
	width: 100%;
	height: 300px;
	margin-top: 60px;
	overflow: auto;
}
img {
	top: 0;
	margin: 0 auto;
}
.blackmob {
	position: absolute;
    top: 60px;
    left: 0;
    height: 300px;
    width: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}
#mobile-header-text {
	position: absolute;
    z-index: 2;
    padding: 0 20px;
    top: 150px;
    left: 0;
    right: 0;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    margin-left: auto;
    margin-right: auto;  
}
#mobile-sub {
	    margin-top: 20px;
}
#mobile-header-text h1 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 30px; 
	line-height: 30px;
	padding: 0px;
  	margin-bottom: 20px;/* ?*/
	letter-spacing: 0.5px;
  	text-transform: uppercase;
  	display: inline;
}
#mobile-header-text h2 {
	text-align:center;
  	text-transform: none;
	font-family: 'Open Sans', sans-serif;
  	-webkit-font-smoothing: antialised;
  	font-weight: 400;
	font-size: 16px; 
  	top: 25%;
	padding: 0px 0px 0px; /*?*/
	letter-spacing: normal;
  	line-height: 16px;
  	margin: 0px;
}
h2.bott {
	position: absolute;
	width: 100%;
	text-align:center;
	bottom: 10%;
	margin: 0 auto;
	z-index: 2;
	text-transform: none;
	font-family: 'Open Sans', sans-serif;
  	-webkit-font-smoothing: antialised;
  	font-weight: 400;
	font-size: 12px; 
	letter-spacing: normal;
    color: #ffffff;
  	line-height: 25px;
    
}

.list-text h2 {
  	opacity: 1!important;
}

#hrdm #main2 .dropcap-quote, #hrdm .nav-link.text, #hrdm .angle-down.small, #hrdm .share-btn, .slide:first-child, .slide:nth-child(3), .nextdesc, .more, .vk,.fb, .tw, .ok, .help  {
	display: none;
}

#hrdm .textarea {
	padding: 20px;
	width: initial;
}

#hrdm .list-container {
    padding: 0px 0px;
}

#hrdm ul.list {
	padding:0;
	margin:0;
	background: #757575;
}

#hrdm .list__item {
	width: 100%!important;
	padding: 0 20px;
	border-bottom: 1px solid #999;
}

#hrdm .list__item.inactive .list-text {
	color: #ccc;
}
#hrdm .list__item.inactive i:before {
	content: "\f023";
}	
#hrdm ul.list-item {
	background: #757575;
}
#hrdm .list-image {
    width: initial; 
    background: #757575;
    color: #fff;
}

#hrdm .list-text {
	padding: 20px 0px;
	font-size: 14px;
    line-height: 13px;
}

#hrdm figure {
	margin:0;
}

.mobile-title {
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform:uppercase;
	background-color: #333;
    color: #fff;
    padding: 20px;
    line-height: 20px;
}

#accordion h3, #hrdm figcaption h2 {
	font-size: 12px;
	font-weight: 700;
	text-transform:uppercase;
}
.list__item a {
	    width: 100%;
}
.list__item .left {
	width: calc(100% - 30px);
	width: -webkit-calc(100% - 30px);
    width: -moz-calc(100% - 30px);
}
.left {
	display: inline-block;
	float: left;
}
.right {
	display: inline-block;
	position: absolute;
	float: right;
	width: 30px;
    height: 100%;
    color: #fff;
}
.list__item .right {
	font-size: 15px;
}





.Center-Container.is-Inline {
  text-align: center;
  overflow: auto;
}

.Center-Container.is-Inline:after,
.is-Inline .Center-Block {
  display: inline-block;
  vertical-align: middle;
}

.Center-Container.is-Inline:after {
  content: '';
  height: 100%;
  margin-left: -0.25em; /* To offset spacing. May vary by font */
}

.is-Inline .Center-Block {
  max-width: 99%; /* Prevents issues with long content causes the content block to be pushed to the top */
  /* max-width: calc(100% - 0.25em) /* Only for IE9+ */
}
#footer-inner {
	background: #333;
	border-top: none;
	padding-top: 23px;
}
#footer-inner a, #section-footer a {
	color: #fff;
}

.nav-link.person {
	margin: 0 auto;
}

.dropcap-quote {
    /* float: left; */
    margin: 20px auto;
    width: 100%;
    text-align: center;
    
}

iframe {
	position: inherit;
	height: 300px;
}


/* ACCORDION */
#accordion h3 {

	border-bottom: 1px solid #999;
    background: #757575;
    color: #fff;
    padding: 20px;
    text-align: left;
    text-transform: uppercase;
    margin: 0;
    cursor: pointer;
      display: -webkit-box;           /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;              /* OLD - Firefox 19- (doesn't work very well) */
  display: -ms-flexbox;           /* TWEENER - IE 10 */
  display: -webkit-flex;          /* NEW - Chrome */
  display: flex;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
    
}
#accordion h3 span, .nav-center span, nav span {
	display: block;
    font-family: 'PT Serif', serif;
    font-size: 14px;
    line-height: 13px;
    text-transform: none;
    font-weight: normal;
    margin-top: 2px;
}

#accordion .right {
	display: inline-block;
    position: inherit;
    /* float: right; */
    width: 60px;
    height: 100%;
    right: 0;
    color: #fff;
    font-size: 15px;
}
#accordion .right i {
	padding-top: 10px;
	float: right;
}


.right {
    display: inline-block;
    position: absolute;
    /* float: right; */
    width: 60px;
    height: 100%;
    right: 0;
    color: #fff;
    font-size: 15px;
}
#accordion .Center-Container.is-Inline {
    
    overflow: inherit;
}
#accordion h3:focus {outline:0;}

.ep {
	font-family: 'Open Sans', sans-serif;
    display: inline-block;
    width: calc(100% - 50px);
	width: -webkit-calc(100% - 50px);
    width: -moz-calc(100% - 50px);
    float: left;
}

.ui-accordion-header-active i.fa-play:before {
    content: "\f04c";
}


/* MENU */
#header {
	padding:0;
}
.blue {
	margin-left: 0;
}
nav {
    position: absolute;
    width: 100%;
    max-width: 500px;
    top: 0;
    right: 0;
}
nav input[type=checkbox] {
  position: absolute;
  top: -9999px;
  left: -9999px;
}
nav label {
    position: relative;
    display: block;
    float: right;
    padding: .45em;
    margin: 0;
    height: 61px;
    width: 60px;
    padding: 0;

}

nav ul {
	display:none;
	    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: calc(100vh - 60px);
	height: -webkit-calc(100vh - 60pх);
    height: -moz-calc(100vh - 60pх);
}
nav input[type=checkbox]:checked ~ ul {
        display: block;
    	overflow: auto;
    	overflow-y: scroll; /* has to be scroll, not auto */
  		-webkit-overflow-scrolling: touch;
		text-align: right;
		background: #333;
}
nav input[type=checkbox]:checked ~ label {
	background: #008fc5;
}

nav ul li {
		
	    display: block;
}

nav a {
	display: block;
	position: relative;
	font-family: 'Open Sans', sans-serif;
	font-size: 12px; 
	
}
.nav-center {
	font-family: 'Open Sans', sans-serif;
	text-align: left;
	padding: 20px 0;
	border-top: 1px solid #999;	
	    line-height: 13px;
}
li:first-child .nav-center {
	border-top:none;
}
li.page_item .nav-center {
	border-top:none;
}
li.page_item {
	border-top: 1px solid #999;
}
.current_page_item {
	background: #008fc5;
	margin-bottom: -1px;
}
.nav-right, .nav-left {
	opacity: 1;
	font-family: FontAwesome;
	font-size: 15px;
    width: 60px;
    position: relative;
    height: 100%;
    overflow: auto;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
}


.nav {
	display:inline-block;
	
}
.nav-right {
	left: auto;
	right: 0;
    float: right;  
}
.nav-left {
	text-align: left;
	left: 0;
	right: auto;
    float: left;  
}


/* HEADER */
#footer-inner a, #section-footer a, #footer-inner, #section-footer a:hover, #navigation li a.on, #header a:hover, #footer a:hover {
    text-decoration: none;
    filter: alpha(opacity=100);
    opacity: 1!important;
}
#header a {
	opacity: 1;
}
#title {
	text-align: center;
	display: table;
    height: auto;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 300px;
    width: calc(100% - 140px);
    width: -webkit-calc(100% - 140px);
    width: -moz-calc(100% - 140px);
    min-width: 200px;
    line-height: 13px;
}

#back {
	position: relative;
    width: 60px;
    height: 60px;
    font-size: 15px;
    cursor:pointer;
}
.displaynone {
	display:none!important;
}
#header.displaynone ~ #main1 #boximg {
	margin-top: 0;
}
#header.displaynone ~ #main1 .blackmob {
	top: 0;
}
#header.displaynone ~ #main1 #mobile-header-text {
	top: 100px;
}

/**PERSON PAGE**/
.quote-img-wrapper img {
    margin:0 auto;
    float: none;
  }
  .nav-link.person {
    margin:0 auto;
  }
  .dropcap-quote {
    width: 100%;
  }
  
.inline-img-wrap,  img.in-line {
        width: 100%;
    max-width: none;
}

.pulledquote {
    margin: 0px 0 30px 0px;;
    width: auto;
}

.textarea {
	    /*text-align: justify;*/
}
.center-me {
overflow: auto;
  margin: auto;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  text-align: center;
}

/**READ MORE**/

/* Fix Android */
body { 
  -webkit-animation: bugfix infinite 1s; 
}
@-webkit-keyframes bugfix { 
  from {padding:0;} 
  to {padding:0;} 
}

/* Hide checkbox */
#main2 input[type=checkbox] {
   display:none;
}

.read-more-target {
  display: none;
}

#main2 input[type=checkbox]:checked ~ .read-more-target {
  display: block;
}

#main2 input[type=checkbox] ~ label:before {
  content: 'узнать больше';
}

#main2 input[type=checkbox]:checked ~ label:before {
  content: 'СКРЫТЬ';
}

#main2 input[type=checkbox] ~ .read-more-trigger-en:before {
  content: 'read more';
}

#main2 input[type=checkbox]:checked ~ .read-more-trigger-en:before {
  content: 'hide';
}

#main2 .textarea {
	padding-bottom: 45px;
}

#main2 label {
	cursor: pointer;
    display: inline-block;
    position: absolute;
    right: 0px;
    padding: 10px 20px;
    color: #fff;
    background-color: #008fc5;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/*MODAL BOX*/
.modalDialog {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}
.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialog > div.modal-inner {
	width: 80%;
	max-width: 400px;
	position: relative;
	margin: 10% auto;
	padding: 30px 20px 20px 20px;
	background: #fff;
}
.modal-buttons.nav-link.button a:first-child {
	margin-right: 20px;
}
.modalDialog p {
	padding-bottom: 20px;
}
.modal-inner a.close {
    float: right;
    margin: -25px -5px 0 0;
    cursor: pointer;
}

/**MEDIA QUERIES**/
@media screen and ( max-width: 640px ) {
#mobile-header-text h1 {
	font-size: 27px; 
}
}