/*
	Theme Name: Bring Me a Book Theme
	Author: Naira Grigoryan
    Version: 1.1
*/
* {
    -webkit-box-sizing: border-box; /* Safari 3.0 - 5.0, Chrome 1 - 9, Android 2.1 - 3.x */
    -moz-box-sizing: border-box;    /* Firefox 1 - 28 */
    box-sizing: border-box;         /* Safari 5.1+, Chrome 10+, Firefox 29+, Opera 7+, IE 8+, Android 4.0+, iOS any */
}
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
img, iframe {
    max-width: 100%;
    height: auto;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    padding: 0 4px 5px;
}

/* 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:hover,
.screen-reader-text:active,
.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. */
}
/***/
html#main-html {
    margin-top: 0 !important;
}
body {
    background: #f0efed;
    /*font-family: "QuickSand";*/
    font-family: "Gotham";
}
a:hover {
    text-decoration: none;
}
h1 {
    font-size: 42px;
}
.has-separator:after {
    color: #ddd;
    content: "|";
    font-size: 18px;
    line-height: 30px;
    padding-left: 15px;
}
.fleft {
    float: left;
}
.fright {
    float: right;
}
.aleft {
    text-align: left;
}
.aright {
    text-align: right;
}
.acenter {
    text-align: center;
}
#header-top {
    background: none repeat scroll 0 0 #f9f9f9;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.12);
    padding: 10px;
}
#header-middle {
    text-align: center;
}
#header-right {
    text-align: right;
}
#language-container, #language-bar, #search-container, #social-container {
    display: inline-block;
}
#language-bar a {
    padding: 7px 15px;
    color: #fff;
    display: inline-block;
    background-color: #aaa;
    margin: 0;
    float: left;
}
#language-bar a.active {
    /*background-color: #c6070e;*/
    background-color: #023723;
    border: none;
}
#language-bar a.inactive:hover {
    background-color: #555;
}
#contact-us {
    margin-left: 10px;
}
#contact-us .fa {
    display: inline-block;
    font-size: 22px;
    vertical-align: middle;
    margin-right: 5px;
}
#contact-us a {
    color: #555;
    font-size: 16px;
}
#contact-us a:hover {
    text-decoration: underline;
}
#search-container {
    vertical-align: top;
}
#searchform {
    display: inline;
    float: left;
}
#searchsubmit {
    background-color: #aaa;
    border: medium none;
    color: #fff;
    line-height: 20px;
    padding: 7px 10px;
}
#searchsubmit:hover {
    background-color: #555;
}
input#s {
    border: 1px solid #aaa !important;
    /*line-height: 32px;*/
    /*padding: 6px 5px;*/
    height: 34px;
    font-size: 1em;
    padding-left: 5px;
    padding-right: 5px;
    /*line-height: 0;*/
}
#header-right #social-container {
    margin-left: 10px;
}
#header-right .social-icons {
    display: inline-block;
    vertical-align:middle;
}
#header-right .social-icons span {
    padding: 7px 15px;
    font-size: 20px;
    color: #fff;
}
#header-right .social-icons .fa-facebook {
    background-color: #3b5998;
}
#header-right .social-icons .fa-facebook:hover {
    background-color: #233f79;
}
#header-right .social-icons .fa-youtube {
    background-color: #bb0000;
}
#header-right .social-icons .fa-youtube:hover {
    background-color: #9a0101;
}
#header-right .social-icons .fa-instagram {
    background-color: #3f729b;
}
#header-right .social-icons .fa-instagram:hover {
    background-color: #1f5c9b;
}
#header-main-left {
    text-align: center;
}
#logo {
    margin-top: 15px;
}
#main-slogan {
    font-family: "Comic Relief";
    color: #c6070e;
    line-height: 27px;
    font-size: 15px;
}

#donate-btn {
    padding: 9px 5px;
    line-height: 24px;
    background-color: #c6070e;
    display: inline-block;
    color: #fff;
    font-size: 18px;
    margin: 40px 0;
    /*font-family: "QuickSand Bold";*/
    font-family: "GothamMed";
}
#donate-btn a {
    color: #fff;
    text-decoration: none;
}
#donate-btn:hover {
    background-color: #a0040a;
}
#donate-btn span {
    display: inline-block;
    vertical-align: text-bottom;
}
#donate-icon {
    background: url('assets/img/donate-icon.png') 0 0 no-repeat;
    width: 29px;
    height: 24px;
    display: inline-block;
    margin-right: 10px;
}
#subscription-container {
    background-color: #e1e1e1;
    padding: 15px 10px 10px;
    display: table;
    margin-right: -15px;
}
.note-text {
    color: #555;
    /*font-family: "QuickSand Bold";*/
    font-family: "GothamMed";
    font-size: 16px;
}

.note-text-s {
    color: #555;
    /*font-family: "QuickSand Bold";*/
    font-family: "GothamMed";
    font-size: 14px;
}
#fengzikai-logo {
    display: inline-block;
    vertical-align: middle;
}
#fengzikai-logo a {
    display: inline-block;
}
#fengzikai-logo {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}
#header-main-right .wysija-submit.wysija-submit-field {
    background-color: #023723;
    color: #fff;
    border: none;
    padding: 7px 15px;
    vertical-align: middle;
}
#header-main-right .wysija-submit.wysija-submit-field:hover {
    background-color: #012215;
}
#header-main-right .wysija-input {
    border: 1px solid #aaa !important;
    height: 34px;
    font-size: 1em;
    /*line-height: 0;*/
    padding-left: 5px;
    padding-right: 5px;
    width: 400px;
}
#header-main-right .wysija-paragraph {
    float: left;
    margin-right: 5px;
}
/*** Main Menu ***/
nav.main_menu ul {
    list-style:none outside none;
    margin:0px;
    padding:0px 10px;
    text-align: center;
}
nav.main_menu ul li {
    display: inline-block;
    padding: 0px;
    margin: 0px;
    background-repeat: no-repeat;
    background-position: right;
}
nav.main_menu ul li a {
    color: #555;
    cursor: pointer;
    display: inline-block;
    /*font-family: "QuickSand Bold";*/
    font-family: "GothamMed";
    font-size: 14px;
    line-height: 60px;
    margin: 0;
    padding: 0 9px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
}
nav.main_menu ul li ul {
    text-align: left;
}
/*nav.main_menu > ul > li > a span {*/
    /*position: absolute;*/
    /*height: 3px;*/
    /*width: 100%;*/
    /*top: 0px;*/
    /*left: 0px;*/
    /*background-color: transparent;*/

/*}*/
nav.main_menu > ul > li:hover > a {
    color: rgba(255,255,255,1);
}
nav.main_menu > ul > li {

}
nav.main_menu > ul > li:hover {
    background-color: #023723;
}
/*nav.main_menu > ul > li:hover > a span {*/
    /*background-color: #023723;*/
/*}*/
nav.main_menu ul li a.current {
    background-color: #023723;
    color: #fff
}
nav.main_menu > ul > li > a > i {
    margin: 0 8px 0 -8px;
    position: relative;
    top: -1px;
}
nav.main_menu > ul > li > a > i.blank {
    display: none;
}
.menu-two-line > a {
    height: 100px;
    line-height: 25px !important;
    padding-top: 27px !important;
    text-align: center;
}
.drop_down ul{
    list-style: none;
}

.drop_down ul li{
    position: relative;
}

.drop_down .second{
    left: 0px;
    margin: 0px;
    position: absolute;
    display: block;
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    z-index: 10;
    height: 0px;
}
.nav_container {
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.12);
    border-top: 2px solid #023723;
    display: table;
    width: 100%;
    background-color: #f9f9f9;
}

nav.main_menu > ul > li:hover > .second{
    z-index: 20;
}

.drop_down .second .inner{
    padding: 0px;
    display: block;
    background-color: rgba(2,55,35,1);

    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.5);
}

.drop_down .second .inner ul{
    display:inline-block;
    position: relative;
    padding: 0px;
    padding: 5px 0px 5px 0px;

}

.drop_down .second .inner ul li{
    display: block;
    padding: 0px 22px;
    position: relative;
    float: none;
    height: auto;
    background: none;
    width: 250px;


}

.drop_down .second .inner ul li a,
.drop_down .second .inner ul li h5{
    position: static;
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    height: auto;
    line-height: 20px;
    letter-spacing: 0px;
    margin: 0px;
    padding: 10px 0px 10px 0px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    text-transform: none;
    /*font-family: "QuickSand";*/
    font-family: "Gotham";
}

.drop_down .second .inner ul li:last-child > a{
    border-width: 0px;
}

.drop_down .narrow .second .inner ul li a span{
    display: none;
}

.drop_down .second .inner ul li.sub a {
    background-image: url("assets/img/sub_menu_arrow_right.png");
    background-position: right center;
    background-repeat: no-repeat;
}
.drop_down .second .inner ul li.sub ul li a, .drop_down .second .inner ul.right li.sub ul li a {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
}
/*.drop_down .second .inner ul.right li.sub a {*/
    /*background-image: url("img/sub_menu_arrow_left.png");*/
    /*background-position: 0px center;*/
    /*background-repeat: no-repeat;*/
/*}*/

/*@media only screen and (-webkit-min-device-pixel-ratio:1.5), only screen and (min--moz-device-pixel-ratio:1.5), only screen and (-o-min-device-pixel-ratio:150/100), only screen and (min-device-pixel-ratio:1.5), only screen and (min-resolution:160dpi) {*/
    /*.drop_down .second .inner ul li.sub a{*/
        /*-o-background-size: 5px 9px;*/
        /*-webkit-background-size: 5px 9px;*/
        /*-moz-background-size: 5px 9px;*/
        /*background-size: 5px 9px;*/
        /*background-image: url("img/sub_menu_arrow_right@2x.png");*/
    /*}*/
/*}*/
/*@media only screen and (-webkit-min-device-pixel-ratio:2.0), only screen and (min--moz-device-pixel-ratio:2.0), only screen and (-o-min-device-pixel-ratio:200/100), only screen and (min-device-pixel-ratio:2.0), only screen and (min-resolution:210dpi) {*/
    /*.drop_down .second .inner ul li.sub a{*/
        /*-o-background-size: 5px 9px;*/
        /*-webkit-background-size: 5px 9px;*/
        /*-moz-background-size: 5px 9px;*/
        /*background-size: 5px 9px;*/
        /*background-image: url("img/sub_menu_arrow_right@2x.png");*/
    /*}*/
/*}*/
.drop_down .narrow .second .inner ul li:hover a span{
    opacity: 1;
}

.drop_down .second i{
    display: none;
}

.drop_down .second .inner ul li ul{
    position: absolute;
    left: 100%;
    top: -5px;
    background-color: rgba(2,55,35,1);
    height: auto;
    display: none;
    overflow: hidden;
    z-index: 10;
}

.drop_down .narrow .second .inner ul li ul{
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1);
}

.drop_down .second .inner ul li:hover ul{
    z-index: 20;
    display: block;
}

.drop_down .second.right{
    right: 0px;
    left: auto;
}

.drop_down .second .inner ul.right li a,
.drop_down .second .inner ul.right li h5{
    text-align: right;
    padding: 10px 0px 10px 0px;
}

.drop_down .narrow .second .inner ul.right li a span{
    left: auto;
    right: 0px;
}

.drop_down .second .inner ul.right li ul{
    left: -100%;
}

.drop_down .second .inner ul li:hover {
    background: #ffffff;

}
.drop_down .second .inner ul li:hover > a {
    color: rgba(2,55,35,1);
}

/*@media only screen and (-webkit-min-device-pixel-ratio:1.5), only screen and (min--moz-device-pixel-ratio:1.5), only screen and (-o-min-device-pixel-ratio:150/100), only screen and (min-device-pixel-ratio:1.5), only screen and (min-resolution:160dpi) {*/
    /*.drop_down .second .inner ul li.sub a{*/
        /*-o-background-size: 5px 9px;*/
        /*-webkit-background-size: 5px 9px;*/
        /*-moz-background-size: 5px 9px;*/
        /*background-size: 5px 9px;*/
        /*background-image: url("img/sub_menu_arrow_left@2x.png");*/
    /*}*/
/*}*/
/*@media only screen and (-webkit-min-device-pixel-ratio:2.0), only screen and (min--moz-device-pixel-ratio:2.0), only screen and (-o-min-device-pixel-ratio:200/100), only screen and (min-device-pixel-ratio:2.0), only screen and (min-resolution:210dpi) {*/
    /*.drop_down .second .inner ul li.sub a{*/
        /*-o-background-size: 5px 9px;*/
        /*-webkit-background-size: 5px 9px;*/
        /*-moz-background-size: 5px 9px;*/
        /*background-size: 5px 9px;*/
        /*background-image: url("img/sub_menu_arrow_left@2x.png");*/
    /*}*/
/*}*/

.drop_down .narrow .second .inner ul li.sub ul li:hover a span{
    opacity: 1;
}
#layer-container {
    margin-top: 25px;
}
.slide-more-btn.ls-l:hover {
    background-color: #012215;
}
#home-middle-blocks {
    margin-top: 25px;
}
.home-text-container {
    background-color: #f9f9f9;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.12);
    height: 320px;
    padding: 10px 30px 20px;
    border-color: #023723 #ddd #ddd;
    border-style: solid;
    border-width: 2px 1px 1px;
}
.news-block {
    background-color: #f9f9f9;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.12);
    /*min-height: 300px;*/
    padding: 10px 30px 20px;
    border-color: #aaa #ddd #ddd;
    border-style: solid;
    border-width: 2px 1px 1px;
    margin-top: 25px;
    position: relative;
    display: table;
    height: 340px;
}
.category .news-block {
    height: auto;
    display: table;
}
.news-block h4 {
    font-size: 20px;
    height: 50px;
    line-height: 25px;
    overflow: hidden;
}

.news-block h4, .news-block h3, .middle-block h3, .ls-slide h3 {
    font-weight: bold;
}
.middle-block {
    position: relative;
}
.middle-block h3 {
    color: #c6070e;
    margin-bottom: 10px;
}
.middle-block  .read-more {
    padding: 8px 20px;
    background-color: #555;
    font-size: 16px;
    position: absolute;
    right: 40px;
    bottom: 20px;
    color: #fff;
}
.news-block .read-more {
    padding: 7px 15px;
    background-color: #555;
    font-size: 14px;
    position: absolute;
    right: 30px;
    bottom: 15px;
    color: #fff;
}
.middle-block  .read-more:hover, .news-block .read-more:hover {
    background-color: #c6070e;
}
.news-block a {
    color: #c6070e;
}
.news-block img {
    margin: 10px 10px 10px 0;
}
.news-block p {
    display: table;
    padding: 10px 10px 25px 10px;
}
#latest-entries {
    margin-top: 15px;
}
#latest-entries h2 {
    color: #555;
    border-bottom: 1px solid #e1e1e1;
    padding: 0 15px 15px 15px;
}
.footer_menu > ul {
    list-style: none;
    margin-top:20px;
}
.footer_menu> ul li {
    float: left;
    margin: auto 10px 5px 10px;
}
.footer_menu> ul li a {
    color: #fff;
    font-size: 14px;
}
#footer-container {
    background-color: #555;
    margin-top: 25px;
    padding-right:120px;
    position:relative;
    min-height:100px;
}
#footerLogo {
    position:absolute;width:93px;height:70px;
    background:url('/images/HKCSS-01.png') center center no-repeat;
    background-size:contain;right:30px;top:15px;
}
#copyright {
    margin: 0 0 10px 35px;
    color: #fff;
}
#privacy-links {
    margin-left: 20px;
    display: inline-block;
}
#privacy-links a {
    color: #aaa;
}
#privacy-links a:before {
    display: inline-block;
    content: "|";
    padding-right: 15px;
    padding-left: 15px;
}
.page .content, .single .content {
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.12);
}
.page .content h1, .single .content h1 {
    color: #c6070e;
}
.navigation .alignleft, .navigation .alignright {
    font-size: 18px;
    margin-top: 15px;
}
.category-title {
    border-bottom: 1px solid #e1e1e1;
    color: #555;
    padding: 0 15px 15px;
}
.home-thumb {
    float: left
}
.mobile_menu_button {
    display: none;
}

.mobile_menu_button .menu-icon {
    background-image: url("assets/img/menu_button.png");
    background-position: right center;
    background-repeat: no-repeat;
    cursor: pointer;
    display: inline-block;
    height: 40px;
    position: relative;
    width: 33px;
    z-index: 50;
    vertical-align: middle;
}
nav.mobile_menu{
    display: none;
    width: 100%;
    float: left;
    position: relative;
    top: 0px;
    text-align: left;
    overflow: hidden;
}

nav.mobile_menu ul{
    display: none;
    width: 100%;
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav.mobile_menu > ul{
    margin-bottom: -1px !important;
    overflow: hidden;
}

nav.mobile_menu ul li{
    margin: 0px;
    padding: 0px;
}

nav.mobile_menu ul li a{
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

nav.mobile_menu ul li a,
nav.mobile_menu ul li h3,
nav.mobile_menu ul li ul li a,
nav.mobile_menu ul li.open_sub > a:first-child{
    border-bottom: 1px solid #5b6064;
}

nav.mobile_menu ul > li.has_sub > a span.mobile_arrow, nav.mobile_menu ul > li.has_sub > h3 span.mobile_arrow {
    display: inline-block;
    float: right;
    height: 17px;
    padding: 14px 29px;
    position: relative;
    text-align: center;
    width: 17px;
    z-index: 9000;
}
nav.mobile_menu ul > li.has_sub > a span.mobile_arrow,
nav.mobile_menu ul > li.has_sub > h3 span.mobile_arrow{
    background-image: url(assets/img/mobile_menu_arrow_right.png);
    background-position: center center;
    background-repeat: no-repeat;
}

nav.mobile_menu ul > li.has_sub.open_sub > a span.mobile_arrow,
nav.mobile_menu ul > li.has_sub > a span.mobile_arrow:hover,
nav.mobile_menu ul > li.has_sub.open_sub > h3 span.mobile_arrow,
nav.mobile_menu ul > li.has_sub > h3 span.mobile_arrow:hover{
    background-image: url(assets/img/mobile_menu_arrow_down.png);
}

nav.mobile_menu ul li a, nav.mobile_menu ul li h3 {
    color: #242424;
    display: block;
    font-size: 13px;
    font-weight: 400;
    padding: 14px 0;
    position: relative;
    text-transform: uppercase;
}
nav.mobile_menu ul li a:hover,
nav.mobile_menu ul li.active > a{
    color: #ae2933;
}

nav.mobile_menu ul li ul li{
    margin: 0px 0px 0px 20px;
}
nav .menu-txt {
    color: #023723;
    cursor: pointer;
    display: inline-block;
    font-size: 21px;
    line-height: 40px;
    margin-left: 5px;
    vertical-align: middle;
}

/*---------------------------------------- 
			Map & Video Iframe
---------------------------------------- */	
.video-box {
	width:560px;
	max-width:100%;
	position:relative;
	margin:0 auto;
}	
.map,
.video {
	position: relative;
	padding-bottom: 63%;
	height: 0;
	overflow: hidden;
}
.map iframe,
.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

/*---------------------------------------- 
			Header Subscribe Form
---------------------------------------- */
.header-subscribe-form {
	padding:20px 0 10px 3px;
	overflow:hidden;
}
	.header-subscribe-form input[type="text"] {
		float:left;
		width:150px;
		height:34px;
		font-size:1em;
		padding:1px 5px;
		margin-right:5px;
		border: 1px solid #aaa !important;
	}
	.header-subscribe-form input[type="submit"] {
		float:left;
		color:#fff;
		padding:7px 15px;
		vertical-align: middle;
		background-color:#023723;
		border:none;
	}
		.header-subscribe-form input[type="submit"]:hover {
			background-color:#012215;
		}


#raisely-donate iframe {
   height: 670px;
  width: 100%;
}

.donate-intro {
    font-size: 16px;
}

.donate-intro p {
    margin-bottom: 20px;
}

@media only screen and (min-width: 768px) {
	#raisely-donate {
  		width: 35%;
		float: left;
	}
    
    #raisely-donate iframe {
        height: 670px;
    }

	.donate-intro {
		width: 60%;
        margin-right: 20px;
		float: left;
        font-size: 18px;
        line-height: 150%;
	}
}


/*---------------------------------------- 
		Raisely iframe height fix: 
		iframe#raisely-donate {height: 670px;}
---------------------------------------- */


