body {
    margin:0;
    font-family: 'Open Sans', sans-serif;
}

.byline a {
    color:#848484;
    font-weight:bold;
    text-decoration:none;
    vertical-align:top;
}
.byline a:hover {
    text-decoration:underline;
}

/* CONTENT */
#container {
    clear: both;
    margin: 0 auto;
    overflow: hidden;
    width: 980px;
    border-bottom: 0px solid #CCCCCC;
/* JAL uncomment the next line when we mobilize 3 homepages
    padding-top: 90px;
*/
}

#content { 
    /*
    styles were moved to #container since we're now inheriting from publications/base.html. 
    */
    border: 0px solid #CCCCCC;
}

#content img { border: 0; }
#section-top { float: left; }
#column-1 {
    float: left;
    margin-right: 40px;
    width: 640px;
}
#column-2 { float: left; width: 300px; }
h2 {
    color: #7e97a8;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 25pt;
    margin-top:0px;
    margin-bottom: 10px;
}

/* SHARE ICONS */
.share-icon img { opacity:.3; padding-left: 5px; }
.share-icon img:hover {opacity:1;}
.tools {
    background: white;
    border: 1px solid #999;
    box-shadow: 0px 5px 5px 0px #999;
    display: none;
    list-style-type: none;
    margin: -15px 0 0 0;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 100%;
    width: 260px;
}
.tools li {
    float: left;
    padding: 0 5px;
    text-align:left;
}
.tools:before {
    border-width: 0 0 9px 9px;
    border-style: solid;
    border-color: #999 transparent;
    content: "";
    display: block;
    position: absolute;
    right: -1px;
    top: -10px;
    width: 0;
}
/* creates the smaller  triangle */
.tools:after {
    border-width: 0 0 9px 8px;
    border-style: solid;
    border-color: #fff transparent;
    top: -8px;
    content: "";
    display: block;
    position: absolute;
    right: 0;
}

.active-tools {
    display: block;
    z-index: 2;
}

/* TOP FEATURED ARTICLE */
#top-featured-article { padding-bottom: 18px; }
#top-featured-article .headline {
    color: #3f647e;
    display: block;
    font-family: 'Cardo', serif;
    font-size: 30pt;
    line-height: 33pt;
    margin-bottom: 5px;
    text-decoration: none;
}
#top-featured-article .headline:hover {
    text-decoration: underline;
}
#top-featured-article .short {
    color: #000;
    font-family: 'Open Sans', sans-serif;
    font-size: 11pt;
    line-height: 16pt;
    margin: 0;
    padding-bottom: 6px;
}
#top-featured-article .byline {
    border-bottom: 1px solid #8ca2b2;
    color: #848484;
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 9pt;
    line-height: 13pt;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    text-align: right;
}

/* FEATURED ARTICLES */
#featured-articles-l {
    float: left;
    width: 300px;
    margin-right: 20px;
}
#featured-articles-r {
    float: left;
    width: 300px;
    margin-left: 20px;
}
#featured-articles img.primary-image { margin-bottom: 10px; }
#featured-articles .headline {
    color: #3f647e;
    display: block;
    font-family: 'Cardo', serif;
    font-size: 18pt;
    line-height: 21pt;
    margin-bottom: 5px;
    text-decoration: none;
}
#featured-articles .headline:hover {
    text-decoration: underline;
}
#featured-articles .short {
    color: #000;
    font-family: 'Open Sans', sans-serif;
    font-size: 10pt;
    line-height: 15pt;
    margin: 0;
    padding-bottom: 6px;
}
#featured-articles .byline {
    border-bottom: 1px solid #8ca2b2;
    color: #848484;
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 9pt;
    line-height: 13pt;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    text-align: right;
}
#featured-articles #featured-articles-l .article:last-child .byline,
#featured-articles #featured-articles-r .article:last-child .byline {
    border-bottom: none;
}

/* OPINION */
.opinion .superhead {
    color: #3f647e;
    font-size: 10pt;
    text-transform: uppercase;

}
.opinion .headline {
    color: #000;
    display: block;
    float: left;
    font-family: 'Cardo', serif;
    font-size: 15pt;
    line-height: 17pt;
    margin-top: 2px;
    padding-bottom: 5px;
    text-decoration: none;
    width: 225px;
}
.opinion .headline:hover {
    text-decoration: underline;
}
.opinion .headshot {
    background-size: 100%;
    border-radius: 100px;
    float: left;
    height: 65px;
    padding: 5px;
    width: 65px;
}
.opinion .short {
    clear: both;
    color: #000;
    font-family: 'Open Sans', sans-serif;
    font-size: 10pt;
    line-height: 15pt;
    margin: 0;
    padding-bottom: 6px;
}
.opinion .byline {
    color: #848484;
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 9pt;
    line-height: 13pt;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    text-align: right;
}
#todays-opinions .byline {
    border-bottom: 1px solid #8ca2b2;
}
a.morelink {
    color: #3f647e;
    font-size: 10pt;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    float:right;
    text-align:right;
    text-decoration: none;
	padding:5px 0;
	margin-bottom:20px;
	width:100%;
	border-top: 1px solid #8ca2b2;
	border-bottom: 1px solid #8ca2b2;
}
a.morelink:hover {
    text-decoration: underline;
}

/* EVENTS BOX */
#events-box {
    /* border: 1px solid #8ca2b2; */
    border-radius: 6px;
    margin-bottom: 40px;
    background: #c6d0d9;
}
#events-box .title {
    background: #839cad;
    background: linear-gradient(to bottom,  #839cad 0%,#577082 100%);
    color: #fff;
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 16pt;
    padding: 8px 12px 2px 14px;
    position: relative;
    text-decoration: none;
}
#events-box .title:nth-child(1) {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom: 1px solid #ffffff;
}
#events-box .title:last-child {
    border-top: 1px solid #ffffff;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    height: 36px;
}
#events-box p {
    font-family: 'Open Sans', sans-serif;
    font-size: 11pt;
    line-height: 15pt;
    margin: 0;
    padding: 14px 20px 20px 20px;
}
#more_events {
    float:left;
}
#more_awards {
    float:right;
}
a.more_button {
    color: #325066;
    text-decoration: none;
    padding: 1px 8px;
    border: 1px solid #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-weight:bold;
    font-size: 11px;
    text-align: center;
    -moz-box-shadow: 0px 0px 2px #888;
    -webkit-box-shadow: 0px 0px 2px #888;
    box-shadow: 0px 0px 2px #888;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: #a5b4be; 
}
a.more_button:hover {
    cursor: pointer;
    color: #ffffff;
    background: #a5b4be; 
}
#event-video {
    background: #000;
    font-size: 14px;
    margin: 0 20px 10px 20px;
    min-height: 165px;
    position: relative;
}
#event-video a {
    color: #fff;
    text-decoration: none;
}
#event-video a:hover {
    opacity: .9;
}
#event-video img#show-logo {
    max-width: 100%;
}
#event-video img#play-icon {
    left: 68px;
    opacity: .7;
    position: absolute;
    top: 33px;
}
#event-video-title {
    background: #577082;
    color: #fff;
    font-size: 14px;
    padding: 5px;
    text-decoration: none;
}

/* NEWSFEED */
#newsfeed .headline {
    color: #000;
    font-family: 'Cardo', serif;
    font-size: 14pt;
    line-height: 16pt;
    text-decoration: none;
}
#newsfeed .headline:hover {
    text-decoration: underline;
}
#newsfeed .byline {
    color: #848484;
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 9pt;
    line-height: 13pt;
    margin-top: 0px;
    margin-bottom: 9px;
}

/* MIDDLE SECTION */
#section-middle {
    border-top: 1px solid #7e97a8;
    clear: both;
    float: left;
    margin-top: 10px;
}
#section-middle #most-read-news { float: left; margin-right: 40px; width: 300px; }
#section-middle #most-read-blogs { float: left; margin-right: 40px; width: 300px; }
#section-middle #most-commented-on { float: left; width: 300px; }
#section-middle h3 {
    color: #7e97a8;
    font-family: 'Open Sans', sans-serif;
    font-size: 14pt;
    font-weight: 400;
    margin: 10px 0;
    padding: 0;
}
#section-middle .story { margin-bottom: 12px; }
#section-middle .headline {
    color: #000;
    font-family: 'Cardo', serif;
    font-size: 11pt;
    font-weight: 700;
    line-height: 13pt;
    text-decoration: none;
}
#section-middle .headline:hover {
    text-decoration: underline;
}
#section-middle .byline {
    color: #848484;
    font-family: 'Open Sans', sans-serif;
    font-size: 9pt;
}

/* BOTTOM SECTION */
#section-bottom {
    border-top: 1px solid #7e97a8;
    font-size: 10pt;
    line-height: 16pt;
    clear: both;
    float: left;
    margin-top: 10px;
    padding: 10px 0;
}
#section-bottom h3 {
    color: #7e97a8;
    font-family: 'Open Sans', sans-serif;
    font-size: 14pt;
    font-weight: 400;
    margin: 0;
    padding: 0;
    padding-bottom: 14px;
}
#section-bottom ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#section-bottom ul li { float: left; width: 245px; height: 130px; }
#section-bottom a {
    color: #7d7d7d;
    font-family: 'Open Sans', sans-serif;
    font-size: 10pt;
    line-height: 15pt;
    text-decoration: none;
}
#section-bottom a:hover {
    text-decoration: underline;
}
/*
------
FOOTER
------
*/
#speedbump {
    padding-top: 40px;
}
#footer {
    border-top: 1px solid #7e97a8;
    clear: both;
    font-size: 10px;
    overflow: auto;
    margin-top: 20px;
    padding: 10px 0 100px 0;
}
#footer #footer-logo {
    float: left;
    margin-right: 2%;
}
#footer-logo img { max-width: 100%; }
#footer #footer-r { float: left; width: 78%; }
#footer ul {
    float: left;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#footer ul li { float: left; line-height: 20px; margin-right: 2px; }
#footer ul li a {
    border-right: 1px solid #3F647E;;
    color: #3F647E;
    font-weight: 600;
    font-size: 12px;
    margin-right: 6px;
    padding-right: 6px;
    text-decoration: none;
}
#footer ul li:last-child a { border-right: 0; }
#footer ul li a:hover { text-decoration: underline; }
#footer #copy {
    clear: both;
    color: #999;
    font-size: 12px;
    line-height: 17px;
    padding-top: 10px;
}
#footer #copy a { color: #999; }
#adtech-logo {
    clear: both;
    margin: 5px 0 20px 0;
    padding-top: 20px;
    text-align: center;
}

/*
-----------------------------------
MOBILE MENU
-----------------------------------
*/
#mobile_menu,
#menu_button {
    display: none;
}

@media (min-width: 1019px) {
    /* HEADER */
    .navbar {
        min-height: 85px !important;
/* JAL Remove the next line when we mobilize 3 homepages */
		position: static !important;
    }
    .navbar .container-fluid {
        margin: 0 auto;
        position: relative;
        width: 1000px;
    }
    /* Todo: find a way to make this use S3_STATIC_URL */
    .navbar-brand {
        background: url('http:///static.mediapost.com/images/mp_sprites.svg') 0 -108px no-repeat;
        height: 85px;
        padding-right: 390px;
        margin-left:-25px  !important;
    }
    .navbar-nav {
        margin-top: 51px !important;
    }
        
	.navbar-nav #nav_news.dropdown-menu { margin-left: -300px;}
	.navbar-nav #nav_events.dropdown-menu { margin-left: -350px;}
	.navbar-nav #nav_search.dropdown-menu { margin-left: -100px;}

    .navbar .dropdown-toggle {
        border-top: 1px solid #d8d6d6;
        font-size: 17px !important;
    }
    .navbar-right .dropdown-toggle, .navbar-right li:nth-child(2) a, .navbar-right li:nth-child(3) a {
        border-top: 0;
        border-bottom: 1px solid #d8d6d6;
        font-size: 14px !important;
        line-height: 12px !important;
    }
    .navbar-right {
        position: absolute;
        right: 5px;
        top: -33px;
    }
    #facebook_nav_icon, #twitter_nav_icon, #linkedin_nav_icon {
        position: absolute;
        bottom: -37px;
    }
    #facebook_nav_icon { right: 60px; }
    #twitter_nav_icon { right: 33px; }
    #linkedin_nav_icon { right: 6px; }

    #facebook_nav_icon a, #twitter_nav_icon a, #linkedin_nav_icon a {
        border: 0;
        height: 33px;
    }
}