/*
 Theme Name:   CDD Avada Child
 Description:  Avada Child Theme
 Author:       John J. Walker
 Template:     Avada
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fourteen-child
*/
/* CDD */

.post-content {
    margin-bottom: 0;
    padding-bottom: 0;
}

#wrapper .header-social {
    background: none repeat scroll 0 0 #8c1515 !important;
    box-shadow: 0 -4px 8px -2px rgba(0, 0, 0, 0.2) inset !important;
    min-height: 30px !important;
}

/* stanford header */
#wrapper .fusion-secondary-header {
    background: none repeat scroll 0 0 #8c1515 !important;
    box-shadow: 0 -4px 8px -2px rgba(0, 0, 0, 0.2) inset !important;
    min-height: 30px !important;
}

#wrapper .fusion-secondary-header .fusion-alignright {
    margin-bottom: -6px;
    margin-top: -6px;
}

#wrapper .fusion-social-networks-wrapper img {
    max-height: 23px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-top: 5px !important;
}

.fusion-social-links-header {
    margin-top: 5px;
}

.fusion-page-title-secondary {
    display:none !important;
}

.fusion-reading-box-container {
    margin-bottom: 10px;
}

#mission {
    padding-bottom:0px !important;
    margin-bottom:0px !important;
}

.wp-caption-text {
    width: 490px;
    font-size: 12px;
}
.cap {
    font-size: 12px;
    text-align: center;
    margin-top: -1.5em;
}
#latest-news {
    padding-top:0px !important;
    margin-top:0px !important;
    margin-bottom: 0px;
}

#recent-pubs {
    padding-top: 0px;
    margin-top: -10px;
    margin-bottom: 0px;
}

.fusion-title {
    margin-bottom: 10px !important;
}

.fusion-post-timeline .fusion-content-sep {
    display:none;
}

.fusion-checklist {
    margin: 0 !important;
}

.content-box-heading {
    color: #fff !important;
}

body, #sidebar .slide-excerpt h2, .footer-area .slide-excerpt h2, #slidingbar-area .slide-excerpt h2, #jtwt .jtwt_tweet, #sidebar #jtwt .jtwt_tweet {
    font-size: 14px !important;
}

body.has-sidebar #main .sidebar {
    display:none !important;
}

#main .sidebar, #sidebar {
    display:none !important;
}

#gview {
    min-height: 800px !important;
    height: 800px !important;
}

#main {
    padding-top: 20px !important;
}

#wrapper .page-title h1 {
    font-size: 22px  !important;
}

/*
.post-content li {
    line-height:1.5;
    padding-bottom: .3em;
    list-style: square;
    font-size: 14px;
}
*/
.post-content li {
    padding-bottom: .3em;
}

#content {
    width: 100% !important;
}

#content a {
    color: #046c9b !important;
/*    width: 100% !important;*/
}

#content a:hover {
    color: #0586c1;
}

#content a:visited {
    color: #034c6c;
}

div.homebox {
    background-color: #1a80b6;
    border-radius: 3px;
    color: #000;
    margin-left: auto;
    margin-right: auto;
    margin-top: 16px;
    padding: 22px; 
    width: 100%;
    height: 10em;
    font-size: 15px;
}

.homebox h2 {
    font-size: 22px !important;
    text-align: center;
    color: #fff !important;
}
.homebox h3 {
    text-align: center;
}

.homebox a {
    color: #fff !important;
}

.homebox a:hover {
    color: #d9dbdc !important;
}

.homebox img {
    padding-bottom: 10px !important;
}

.homebox a:hover img {
	opacity:.8;
	filter:alpha(opacity=80);
}

.fusion-mobile-menu-icons a::before {
    color: #343434;
}

.timeline-icon {
    display:none;
}
/* Remove hong kong dp from timeline */
.blog-timeline.post-700 {
    display:none;
}

.read-more {
    font-size: 14px;
}

.post-content .aligncenter {
    margin-bottom: 10px;
}

@media only screen and (max-width: 800px) {
div.homebox {
    height: 14em;    
    margin-bottom: 10px;
}

#mission {
    font-size: 10px;
}

.mobile-nav-holder,
.mobile-topnav-holder {
    display:block!important;
}

}
