/*

Theme Name: X – Child Theme
Theme URI: http://theme.co/x/
Author: Ann Hu
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme (RSAWA) (EFM)
Version: 1.0.2
Template: x

*/

/* Mega Menu drop down */
.x-navbar-static-active .desktop .x-nav .x-megamenu>.sub-menu, .x-navbar-fixed-top-active .desktop .x-nav .x-megamenu>.sub-menu {
	border: 1px solid #DDDDDD;
}

/* footer link hover color */
.x-colophon.bottom .x-nav li a:hover {
  opacity: 1;
  color: #8BC34A;
}

.x-colophon.bottom a:hover, .x-colophon.bottom .x-social-global a:hover {
    color: #8BC34A;
}

.x-accordion-heading .x-accordion-toggle.collapsed:before {
    color: #8BC34A;
}

/*------- GENERAL LOOK ----------*/

body h1, .h1{
   font-size:170% !important;
   letter-spacing: 0.02em !important;
   font-weight:600 !important;
   line-height: 1.2 !important;
}

body h2, .h2 {  /* was 160% */
   font-size:145% !important;
   font-weight:600 !important;
}

body h3, .h3 { /* was 145% */
   font-size:115% !important;
   font-weight:600 !important;
}

body h4, .h4 { /* was 130% */
   font-size:115% !important;
}

body h5, .h5 { /* was 115% */
   font-size:105% !important;
   font-weight:600 !important;
}

body h6, .h6 {
   font-weight:600 !important;
}

h2, .h2{
    margin-bottom: 0.8em;
}

h3, .h3{
    margin-bottom: 0.5em;
}

h4, h5, h6, .h4, .h5, .h6 {
    margin-top: 1em;
}

a[href="#!"] {
  cursor: default !important;
}

.x-text li, .x-raw-content li {
    padding-top: 8px;
}

.x-text li:first-child, .x-raw-content li:first-child {
    padding-top: initial;
}

.x-text li li:first-child, .x-raw-conten li li:first-child {
    padding-top: 8px;
}

.site a:hover, .site a:focus { 
    text-decoration: underline; 
}

a.x-anchor-button:hover, a.x-anchor-button:focus {
    text-decoration: none !important;
}

.site .menu-item a:hover, .site .menu-item a:focus,{ 
    text-decoration: none; 
}

/*-- Darken the border line of tables and widget --*/
table th, table td {
    border-top: 1px solid #ddd;
}

table {
    border-bottom: 1px solid #ddd;
}

table.reset-css {
    border: initial;
} 

table.reset-css th, table.reset-css td {
    border: initial;
    line-height: 1.8;
    padding: initial;
} 

/*-- update text height from default 1.4 to 1.8 --*/
table td {
    line-height: 1.8;
}

/*-- Class for <table>: adding vertical border --*/

table.add-vertical-border th:first-child,  table.add-vertical-border td:first-child {
    border-left: 1px solid #ddd;
}

table.add-vertical-border th,  table.add-vertical-border td {
    border-right: 1px solid #ddd;
}

/*-- Class for <table>: making the text in the<th> and <td> to align to the top --*/
table.text-align-top th, table.text-align-top td {
	vertical-align:top;
}

/*-- change 2px to 1px and color to #ccdddd grayblue--*/
hr {
    border-top: 1px solid #ccd4dc;
}

/*-- change list number to bold; Inside <li> need to add <span> --*/
ol.list-bold-number {
	font-weight: bold;
}

ol.list-bold-number span {
	font-weight:normal;	
}

.widget_categories ul>li, .widget_product_categories ul>li, .widget_nav_menu ul>li, .widget_pages ul>li {
    border-top: 1px solid #ddd;
}

.widget_categories ul, .widget_product_categories ul, .widget_nav_menu ul, .widget_pages ul {
    border-bottom: 1px solid #ddd;
}

/*-- Customize Scroll to Top Anchor  --*/
.x-scroll-top { 
    color: #AAA; 
    border: 2px solid #AAA; 
}

.x-scroll-top:hover { 
    color: rgb(121,197,93); 
    border: 2px solid rgb(121,197,93); 
}

.x-scroll-top.in {
    opacity: 1;
}

/*-- Search Modal --*/
.x-searchform-overlay .form-search label,
.x-searchform-overlay .form-search input {
    text-transform: initial;
}

/*-------------------*/
/*  Accordion        */
/*-------------------*/

.x-accordion-heading .x-accordion-toggle {
    padding: 7px 12px;
    font-size: 100%;
}

.x-accordion-group {
    border: 1px solid #e5e5e5;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
}

.x-accordion-inner {
    border-top: 1px solid #e5e5e5;
}

.x-acc-content { /* for Element 2 Accordion */
	line-height: 1.8 !important;
}

/*-------------------*/
/*  Button           */
/*-------------------*/
/* Remove button text shadow */
a.x-btn {
text-shadow: none !important;
}


/*-------------------*/
/*  Post Page        */
/*-------------------*/
.x-header-landmark {
	background: #f6f6f6 url(../../uploads/banner.png) no-repeat center top;
}

/* Remove icon in front of the announcement title */
.single-post .entry-title:before {
    display: none;
}

/* Remove breadcrumbs */
.single-post .x-breadcrumbs-wrap {
    display: none;
}

/* Expand landmark width */
.single-post .x-landmark {
    width: 100%;
    padding-right: 0px;
}

/* Reduce top margin size of content container */
.single-post .x-container.offset {
    margin-top: 0px;
}

/*-------------------*/
/*  Magic Liquidizer - Staff Directory */
/*-------------------*/
#staff-directory-table .ml-responsive-table dd {
    font-size: 100%;
    margin-bottom: 0px;
}
	
#staff-directory-table .ml-table {
    padding: 0 0px 0px 10px;
}

#staff-directory-table dt {
	display:none;
}

/*-------------------*/
/*  Staff Directory Grid - reduce spaces above names */
/*-------------------*/
#staff-directory-grid li.x-block-grid-item {
	margin-top:2%;
}

/*-- for Renew.css --*/

.x-colophon.top {
    padding: 25px 0px;
}

.x-colophon.bottom {
    padding: 20px 0px;
}



/*-------------------*/
/*  Search Result page */
/*-------------------*/

.search-results h2.entry-title {
    font-size: 120% !important;
}

.search-results h2.entry-title a {
    color: #2574a9;
}

.search-results .entry-content {
    margin-top: 10px;
}

.search-results .hentry {
    margin-top: 30px;
}


/*-------------------*/
/*  LCP Catlist      */
/*-------------------*/
.lcp_post {
    font-weight: 600;
}

.lcp_date{
    padding-top: 20px;
    font-size:14px;
    color: #767676;
}

/*----------------------- */
/*  Image Custom Styles   */
/*----------------------- */
@media ( min-width: 980px ) {
    .image-left {
        float: left;
        padding-right: 15px;
        padding-bottom: 15px;
    }
    .image-right {
        float: right;
        padding-left: 15px;
        padding-bottom: 15px;
    }
}