/*
 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 */

.responsive-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 0px;
	height: 0;
	overflow: hidden;
}

.responsive-container iframe,
.responsive-container object,
.responsive-container embed,
.responsive-container video
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

figure.is-type-video, figure.wp-block-video {
    max-width: 800px;
}

.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;
}

object.embed-pdf-viewer {
    width: 100%;
}

#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: 1em !important;
}

.fusion-li-item {
    font-size: 1.1em !important;
}

.fusion-meta-info, .cap, .wp-caption-text {
    font-size: .9em  !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;
}

#content .wp-block-button__link {
    background-color: #046c9b;
    font-size: 14px;
    color: #fff !important;
    
}


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;
}

.fusion-logo a {
    max-width: 90%;
    max-height: 50px;
}

.fusion-mobile-menu-icons a {
    margin-top: -25px;
}

.read-more {
    font-size: 14px;
}

.post-content .aligncenter {
    margin-bottom: 10px;
}

.post {
    margin-bottom: 2em;
}

@media only screen and (max-width: 800px) {
div.homebox {
    height: 8em;    
    margin-bottom: 10px;
}

#wrapper .page-title h1 {
    font-size: 30px  !important;
}

.wp-block-button__link {
    font-size: 18px;
}

div.homebox {
    font-size: 20px;
}

.homebox h2 {
    font-size: 30px !important;
}

.mobile-nav-holder,
.mobile-topnav-holder {
    display:block!important;
}

}
