/* Companion Custom CSS over-rides for [ Adopted Vietnamese International (AVI) ]:  -  */


/* ----- Relevanssi ----- */

.relevanssi-query-term {
background:#ebcc20;
}

.breadcrumbs .relevanssi-query-term {
background:none;
}

nav .relevanssi-query-term {
background:none;
padding: 0 0 0 0 !important;
}



/* ----- search header ----- */

#searchform label {
display: none;
}

#searchform {
margin: 0px;
}

#jess-header-search {
float: right;
position: absolute;
bottom: 50px;
right: 0;
}

#jess-header-search #searchform {
width: 250px;
text-align: right;
}

#jess-header-search #s {
width: 155px;
height: 15px;
font-size: 14px;
}

#jess-header-search #searchsubmit {
width: 22px;
height: 22px;
background: url(http://www.adoptedvietnamese.org/wp-content/uploads/websiteimgs/searchicon.png) 3px 3px no-repeat;
}

#jess-header-search input, .jess-header-search select, .jess-header-search textarea {
padding: 3px;
}

#jess-header-search {
border: 0px !important;
padding: 0 !important;
}

/* ----- breadcrumbs plugin ----- */

.breadcrumbs {
margin: 0 auto;
font-size: 12px;
max-width: 940px;
float: none;
}

.jess-breadcrumbs {
margin: 0 0 10px 13px;
font-size: 12px;
}

/* ----- search widget ----- */

#searchform label {
display: none;
}

.widget_search #searchform {
width: 190px;
margin: 0;
}

.widget_search #s {
width: 155px;
height: 15px;
font-size: 14px;
}

.widget_search #searchsubmit {
width: 21px;
height: 21px;
background: url(http://www.adoptedvietnamese.org/wp-content/uploads/websiteimgs/searchicon.png) 3px 3px no-repeat;
}

.widget_search input, .widget_search select, .widget_search textarea {
padding: 3px;
}

.widget_search {
border: 0px !important;
padding: 0 !important;
}



/* ----- 404 page----- */

.jess-404-page #searchform, .post-0 #searchform {
width: 300px;
}

.jess-404-page #s, #post-0 #s {
width: 200px !important;
height: 16px;
}

.jess-404-page .entry #searchsubmit, #post-0 .entry #searchsubmit {
width: 25px !important;
height: 25px !important;
}
.jess-404-page article #searchform, #post-0 article #searchform {
margin: 0;
}

.jess-404-page {}

.jess-404-page .entry p, #post-0 .entry p {
margin-bottom: 14px;
font-size: 14px;
}
.jess-404-page .entry, #post-0 .entry {
padding: 4px;
}

.jess-404-page .title h1, #post-0 .title h1 {
margin: 12px 10px;
}

.jess-404-page .title, #post-0 .title {
margin-bottom:8px;
}

.jess-404-page .title h1 a {
color: black;
}

.jess-404-page .title h1 a:hover {
color: #858585;
}

.jess-404-page .title h1 a:active {
color: #EBCC20;
}


/* ----- search form No matches search page ----- */

article #searchform, .entry-content #searchform {
width: 250px;
}

article #s, .entry-content #s {
width: 200px;
height: 19px;
}

article #searchsubmit, .entry-content #searchsubmit {
width: 27px;
height: 27px;
}

#post-0 {
padding: 0 0 0 10px;
margin: 0 0 30px 0;
}

#post-0 p {
margin-bottom: 14px;
font-size: 14px;
}

.search .page-title {
padding: 0 0 0 10px;
}

article #searchform {
margin: 0;
}


/* ----- List page styling ----- */

.list {
border-width: 0px;
border-radius: 0px;
-moz-border-radius: 0px;
-khtml-border-radius: 0px;
-webkit-border-radius: 0px;
}

.list .title {
text-shadow: none !important;
box-shadow: none !important;
-moz-box-shadow: none !important;
-webkit-box-shadow: none !important;
border-width: 1px;
border-color: #858585;
border-style: solid;
background-color: white;
border-bottom-left-radius: 8px 8px;
border-bottom-right-radius: 8px 8px;
border-top-left-radius: 8px 8px;
border-top-right-radius: 8px 8px;
}

.list .title h2 {
background-image: none;
min-height: 0;
}

.list .title h2 a {
    padding:6px 12px;
    color: black;
}

.list .title h2 a:hover {
color:#858585 !important;
}

.list .title h2 a:active {
	color: #ebcc20 !important;
}

.list .date {
    position:absolute;
    top:12px;
    right:12px;
	font-size:1.2em;
	font-weight:600;
}

.list .title .date {
    color:black;
}

/* ----- page/post navigation ----- */

.page-parent .navigation,
.home .navigation {
display:none;
}

.navigation {
height: 15px;
border: 1px solid #858585;
padding: 2px 5px;
border-bottom-left-radius: 5px 5px;
border-bottom-right-radius: 5px 5px;
border-top-left-radius: 5px 5px;
border-top-right-radius: 5px 5px;
margin-top: 15px;
font-size: 1.2em;
margin-left: 8px;
}


.navigation .alignleft a, .navigation .alignright a {
margin: 0 2px;
line-height: 18px;
}

.wp-pagenavi {
clear: both;
text-align: right;
margin: 0!important;
padding: 0;
}

article .pages {
padding: 2px 0px 2px 10px;
margin: 8px;
}

.wp-pagenavi a, .wp-pagenavi span {
border-width: 0 0 0 1px !important;
border-color: #AAA;
border-style:solid;
padding: 4px 5px;
margin: 0;
text-decoration: none;
color: black;
}

.wp-pagenavi span.current {
font-weight: none !important;
background: #CCC;
color: white;
}

.wp-pagenavi a:hover {
	background: #ebcc20;
}

/* ----- Body ----- */

body {
margin: 10px 0 15px 0;
}

a {
color: #858585;
}

a:active {
color: #ebcc20;
}

#header #title {
display:none;
}

h1, h1 a,
aside h1, aside h1 a,
.widget h1, .widget h1 a, {
line-height: 1.4em
}

h2, h2 a,
aside h2,aside h2 a,
.widget h2, .widget h2 a, {
line-height: 1.1em;
font-size:20px !important;
padding:0px !important;
}

h3, h3 a,
aside h3, aside h3 a,
liaside h3, liaside h3 a, {
line-height: 1.1em !important;
font-size:18px !important;
padding:0px !important;
margin: 0px !important;
}

p, p a,
.widget p, .widget p a,
.entry p, .entry p a, {
  line-height:1.2em;
  margin-bottom:14px;
  padding:0px !important;
}

blockquote {
background-image: url(http://www.adoptedvietnamese.org/wp-content/uploads/websiteimgs/avi-blockquote.png);
background-position: 50% 0%;
background-repeat: no-repeat;
margin: 0 0 15px 0;
padding: 15px 140px 0 140px;
text-align: center;
font-size: 1.2em;
border-bottom: 1px solid #858585;
}

small {
font-size:0.8em;
}

/* highlight */
::selection {
background: #CCC;
color: black;
}


/* ----- Menu Navigation (top) ----- */

#menu {
background-color: #858585;
width: 964px;
height:30px;
text-transform:uppercase;
}

#menu li {
border-left: 1px solid #cccccc;
}

#menu li a, #menu li span {
font-size: 11px;
color:white;
height: 30px;
font-weight: 500 !important;
padding: 0 15px;
line-height: 30px;
min-width:0px;
}

#menu li:hover {
background-color: #a6a6a6;
}


#menu li li {
color:white !important;
border: none;
background-color: #858585;
}

#menu li li a, #menu li li li a {
min-width:0px;
padding: 0 15px;
border: none;
}

#menu ul {
margin-left:8px;
}

#menu ul ul {
top:30px;
margin-left:0px !important;
border:0px;
}

#menu ul ul ul {
left:100%;
top:0px;
border:0px;
}

#menu li.current_page_item a {
color:#ebcc20 !important;
}

#menu li.current_page_parent a {
color:#ebcc20 !important;
}

#menu li.indicator {
background-image:none;
}


/* ----- Container box outline ----- */

#content {
border:0px;
}

#container {
min-height:500px !important;
}

#wrapcontent {
  margin: 10px 0;
}


/* ----- Sidebar line seperater ----- */

.layout-left #sidebar {
margin-left: -960px !important;
}
.layout-left aside {
border-right: 1px solid #858585;
}
.layout-left #container {
  border-left-color:#858585;
  border-left-style:solid !important;
  border-left-width:1px;
  margin-left:198px;
}


/* ----- Sidebar ----- */

aside {
	padding:0px;
    width: 196px;
    font-size: 1.3em;
}
aside h3{
    font-size:1.2em;
    padding:0px
}
aside p {

}
aside a {
    text-decoration:underline;
}
aside ul {
	padding-right:12px;
}
aside ul ul{
    margin:0px;
    padding:0 0 0 0px;
}
aside ul ul a {
line-height: 1.4em !important;
font-size: 1em;
}
aside li {
     margin:0 0 10px 0;
    line-height:1.3em;
    list-style:none;
    padding: 8px 10px;
}
aside li li {
	margin:0 0 0 0 !important;
    line-height:1.2em;
}
aside li li li {
    padding:0 0 0 0;
    list-style:none;
}

aside .current_page_item a, aside .current-cat a {
font-weight: 500;
border-color: #838383;
}


/* ----- Sidebar Widgets ----- */

.widget {
	margin-bottom: 10px;
	border: 1px solid #858585;
	border-radius: 8px;
	padding: 8px;
}
.widget h3 {
    padding:0 0 0 0 !important;
    line-height: 1.1em !important;
    font-size:1.2em !important;
	margin: 0 0 10px 0 !important;
}
.widget a {
    text-decoration:underline
}
.widget ul {
	padding: 0 0 0 0 !important;
	margin:0px !important;
	line-height:1.2em;
}
.widget ul ul {}

.widget li {
    padding:0px;
    list-style:none;
    line-height:1.2em;
}
.widget li li {
    padding:0 0 0 0;
    list-style:none;
    line-height:1.2em;
}

.widget_text {}
.widget_text .textwidget{
    padding:0 0px;
    line-height:1.2em;
}
#content-widget {
    clear:both;
    overflow:hidden;
    margin:0 0 10px 0
}
#content-widget .widget {
	float:left;
	width:30%;
	padding:4px 8px;
    }


/* ----- Sidebar plugins ----- */

.share_links {
	margin: 0 0 0 0px !important;
	padding: 8px !important;
}
ul.socialwrap li {
	height:16px;
	margin-right: 4px !important;
}
ul.socialwrap {
	margin: 0 0 0 0 !important;
}
.fb-root {
    margin: 0 0 0 10px !important;
    text-align:center;
}

  
/* ----- Posts ----- */
/* page title */

article {
margin: 0 0 0px 0;
padding:0 0 0px 8px;
}

#posts {
    padding: 0 0 0 10px;
}

article .title h1 a, article .title h2 a {
	display: block;
	padding: 5px 12px !important;
    color: black !important;
}

article > h1,
article > h2,
article > h3,
article header, .pagetitle {
    margin-bottom: 12px
}

article .title h1 a:hover, 
article .title h2 a:hover, 
article .title h3 a:hover {
	padding: 5px 12px !important;
	color: #858585 !important;
}

article .title h1 a:active, 
article .title h2 a:active, 
article .title h3 a:active {
	color: #ebcc20 !important;
}

.page-title {
padding: 0px 12px !important;
}

/* child list page title header thinner */
.child-list-excerpt-jess .title h1 a, .child-list-excerpt-jess .title h2 a {
	display: block;
	padding: 0px 12px !important;
    color: black !important;
    font-size: 0.85em;
}

.child-list-excerpt-jess .title h1 a:hover, 
.child-list-excerpt-jess .title h2 a:hover, 
.child-list-excerpt-jess .title h3 a:hover {
	padding: 0px 12px !important;
	color: #858585 !important;
	font-size: 0.85em;
}

.child-list-excerpt-jess .title h1 a:active, 
.child-list-excerpt-jess .title h2 a:active, 
.child-list-excerpt-jess .title h3 a:active {
	color: #ebcc20 !important;
}


/* normal post list title header thinner */

.list-posts-header-jess .title h1 a, .list-posts-header-jess .title h2 a {
	display: block;
	padding: 0px 12px !important;
    color: black !important;
    font-size: 0.85em;
}

.list-posts-header-jess .title h1 a:hover, 
.list-posts-header-jess .title h2 a:hover, 
.list-posts-header-jess .title h3 a:hover {
	padding: 0px 12px !important;
	color: #858585 !important;
	font-size: 0.85em;
}

.list-posts-header-jess .title h1 a:active, 
.list-posts-header-jess .title h2 a:active, 
.list-posts-header-jess .title h3 a:active {
	color: #ebcc20 !important;
}

.list-posts-jess {
margin-bottom:12px;
}


/* page entry */
article .entry {
	line-height: 1.3em;
	margin-bottom: 0px;
	padding:0 0 0 4px;
}
article .entry h1,
article .entry h2,
article .entry h3,
article .entry h4,
article .entry h5,
article .entry h6,
article .entry ul,
article .entry ol {
    margin-left:0px !important;
}
article .entry h1,
article .entry h1 a {
	font-size:2.0em;
	margin:0px 0; 
	padding:0px; 
	line-height: 1.4em; 
	margin-bottom: 14px;
}
article .entry h2,
article .entry h2 a {
	font-size:1.4em; 
	margin:0px 0; 
	padding:0px; 
	line-height: 1.1em;
	margin-bottom: 14px;
	text-transform: uppercase;
}
article .entry h3,
article .entry h3 a {
	font-size:1.2em;
	margin:0px 0; 
	padding:0px;
	line-height: 1.1em; 
	margin-bottom: 12px;
}
article .entry p,
article .entry p a {
	font-size:1em;
	margin:0px 0;
	padding:0px;
	line-height: 1.25em;
	margin-bottom: 1em;
}
article .entry ul {
    list-style:disc;
}
article .entry ol, article .entry ul {
	padding: 0 0 12px 35px;
}
article .entry li {
	padding: 0px;
}
article .entry li ol, article .entry li ul {
	padding-left: 30px;
	list-style:circle;
}
.page-template-template-parent-excerpt-php article .footer .links a {
font-size: 0.8em;
}

/* ----- Comments ----- */


.form-allowed-tags {
display: none;
}

.nocomments {
display:none;
}

#comments {
padding: 0 0 0 8px;
margin: 0;
}

.commentlist li{
border-bottom-left-radius: 8px 8px;
border-bottom-right-radius: 8px 8px;
border-top-left-radius: 8px 8px;
border-top-right-radius: 8px 8px;
}

.commentlist li li {
margin: 0 4px 1px 0;
}

.commentlist li li {
border-bottom-left-radius: 8px 8px;
border-bottom-right-radius: 8px 8px;
border-top-left-radius: 8px 8px;
border-top-right-radius: 8px 8px;
}

#comments h3 {
padding: 0px 8px;
}

#commentform p {
margin: 3px 0;
width: 99.3%;
}

#commentform input {
min-width: 150px;
padding: 4px;
margin-right: -8px;
float: right;
border-bottom-left-radius: 8px 8px;
border-bottom-right-radius: 8px 8px;
border-top-left-radius: 8px 8px;
border-top-right-radius: 8px 8px;
}

#commentform {
margin: 3px 0 0 0;
}

#commentform textarea {
border-bottom-left-radius: 8px 8px;
border-bottom-right-radius: 8px 8px;
border-top-left-radius: 8px 8px;
border-top-right-radius: 8px 8px;
height: 60px;
}


/* ----- Related Pages plugin ----- */

.jess-related {
margin: 15px 0 0 0;
padding: 2px 0px 4px 8px;
border-left: 4px solid #858585;
font-size: 1.4em;
}
.jess-related h1,
.jess-related h2,
.jess-related h3,
.jess-related h4,
.jess-related h5,
.jess-related h6,
.jess-related ul,
.jess-related ol {
    margin-left:0px !important;
}

.jess-related h4,
.jess-related h4 a {
	font-size:1em;
	margin:0px 0; 
	padding:0px;
	line-height: 1.1em; 
	margin-bottom: 12px;
}
.jess-related p,
.jess-related p a {
	font-size:1em;
	margin:0px 0;
	padding:0px;
	line-height: 1.25em;
	margin-bottom: 1em;
}
.jess-related ul {
    list-style:none;
    font-size: 0.9em;
}
.jess-related li {
	padding: 0px;
}

/* ------post footer ---*/

.page article footer {
display: none;
}

article footer {
margin-bottom: 10px;
}

/* ----- Footer ----- */

#footer .copy {
background: #858585;
height:25px;
text-align: center;
border-bottom-left-radius: 8px 8px;
border-bottom-right-radius: 8px 8px;
border: none;
border-top-left-radius: 8px 8px;
border-top-right-radius: 8px 8px;
color: white;
}

#footer {
padding: 6px 0 0 0;
width:964px;
}

#footer a {
color: #d7d7d7;
text-decoration: underline;
}

#footer a:hover {
color: black;
}

#footer a:active {
color: #ebcc20;
}


/* ----------- NEXTGen Gallery style -------------*/

.hentry .entry .crop, .hentry .entry img {
border:2px solid #FFFFFF;
padding: 0px;
/*border-radius: 8px;
padding: 5px;
background:#858585;*/
}

.hentry .entry .crop a img:hover, .hentry .entry a img:hover {
border:2px solid #858585;
}

.ngg-left {
float: left;
margin-right: 16px !important;
}

/* other nextgen styling must be done in options css */


/* ---------- optional rounded corners for browsers that support it ------ */

article .entry .crop,
article .entry img,
.commentlist li,
.wp-caption,
 input, select, textarea,
.button, .button:visited {
	border-radius: 0px; 
	-moz-border-radius: 0px; 
    -khtml-border-radius: 0px;
	-webkit-border-radius: 0px;
}