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;
}

/* HEADER */
#top_menu_container {
    background: #839cad;
    background: linear-gradient(to bottom,  #839cad 0%,#577082 100%);
}
#top_menu_wrap { width: 1020px; }
#primary_menu {
    height: 85px;
    margin: 0;
    padding: 0;
    line-height: normal;
}
#primary_menu li.float_right {
    border-bottom: 1px solid #dce1e6;
    width: 610px;
    margin:13px 0 0 20px;
    top: 31px;
}
#primary_menu .menu_logo { height: 30px; }
#primary_menu .drop { font-size: 18px; }
#primary_menu li a #logo_drop_icon {
    background: url('//s3.amazonaws.com/static.mediapost.com/images/mp_sprites.png') no-repeat 0 -107px transparent;
    height: 85px;
    width: 388px;
}
#primary_menu li .drop, #primary_menu .active .drop {
    padding:5px 10px 7px 10px;
}
#primary_menu li:nth-child(2) .drop {
    bottom: 0;
    position: absolute;
    left: 400px;
}
#primary_menu li:nth-child(3) .drop {
    bottom: 0;
    position: absolute;
    left: 470px;
}
#primary_menu li:nth-child(4) .drop {
    bottom: 0;
    position: absolute;
    left: 550px;
}
#primary_menu li:nth-child(5) .drop {
    bottom: 0;
    position: absolute;
    left: 630px;
}
#primary_menu li:nth-child(6) .drop {
    bottom: 0;
    position: absolute;
    left: 730px;
}
#primary_menu li:nth-child(7) {
    bottom: 0;
    display: inline;
    position: absolute;
    left: 810px;
}
#advertise {
    position: absolute;
    right: 0px;
    top: 20px;
    border-left:1px solid #dce1e6;
    height:20px;
    padding:0 0 2px 10px;
    font-size:14px;
}
#primary_menu .drop_user, #primary_menu .drop_signin {
    position: absolute;
    right:80px;
    top:15px;
    display:block;
}
#primary_menu #signin, #primary_menu #signout {
    font-size:14px;
}

#primary_menu #signout {
    position: absolute;
    right:10px;
    top:5px;
}
#signin_menu {
    right: 109px;
    top:30px;
}
#signout_menu {
    right:74px;
    top:48px;
}

#icons {
    bottom: 0;
    position: absolute;
    right: 0;
}
#icons li {
    padding: 6px 5px;
}
#icons li a { height: 22px; }

/* SEARCH BOX */
#search.active-search {
    background: url('//s3.amazonaws.com/static.mediapost.com/images/mp_sprites.png') -113px 8px no-repeat #c5ced5;
    box-shadow: 1px 1px 1px #d7d7d7;
}
#search {
    position: relative;
    top: auto;
    left: auto;
    background: url('//s3.amazonaws.com/static.mediapost.com/images/mp_sprites.png') -113px 8px no-repeat transparent;
    height: 36px;
    width: 30px;
}
#search-box {
    display: none;
    padding: 10px 20px;
    position: absolute;
    top: 85px;
    left: 488px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    box-shadow: 1px 1px 1px #d7d7d7;
}
#search-box form {
    position: relative;
}
#search-box a {
    color: #000000;
    font-size:12px;
    padding-left:5px;
}
#search-box input[type="text"] {
    border: 1px solid #999999;
    font-size: 14px;
    padding: 6px;
    height: 16px;
}
#search-box input[type="submit"] {
    position: absolute;
    top: 5px;
    right: 5px;
}

/* CONTENT */
#container {
    clear: both;
    margin: 0 auto;
    overflow: hidden;
    width: 980px;
    padding:0 20px;
    border-bottom: 0px solid #CCCCCC;
}

#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:28px;
    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: 25px;
}
#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 */
#footer {
    border-top: 1px solid #7e97a8;
    clear: both;
    float: left;
    padding: 10px 0 100px 0;
}
#footer #footer-logo {
    float: left;
    margin-right: 24px;
    width: 66px;
}
#footer #footer-r {
    float: left;
    width: 670px;
}
#footer ul {
    float: left;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#footer ul li {
    float: left;
    margin-right: 6px;
}
#footer ul li a {
    border-right: 1px solid #000;
    color: #3F647E;
    font-family: 'Open Sans', sans-serif;
    font-size: 9pt;
    font-weight: 600;
    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-family: 'Open Sans', sans-serif;
    font-size: 10pt;
    line-height: 12pt;
    padding-top: 10px;
}
#footer #copy a {
    color: #999;
}
#footer #adtech-logo {
    float: left;
    margin-left: 26px;
    width: 194px;
}