/* GLOBAL STYLES FOR CDF

   developer:   suef
   ========================================================================== */

/* ==========================================================================
   MAIN
   ========================================================================== */
@import url("//fonts.googleapis.com/css?family=PT+Serif");

* { box-sizing: border-box; }

#main {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    padding: 0 0 5rem 0;
    display: block;
}

.inner {
    width: 1115px;
    padding: 55px 50px 0;
    margin: 0 auto;
    color: #545454;
}

.inner p {
    font-size: 1rem;
    margin: .8rem 0;
}

html[lang="zh"] .inner p,
html[lang="ja"] .inner p,
html[lang="ko"] .inner p {
    font-size: .9rem;
    line-height: 1.5;
}

.inner a {
    color: #dd1100;
    text-decoration: none;
}

.inner a:hover { color: #f77700; }

.inner img { border: 0; }

.inner h1 {
    color: #dd1100;
    font-weight: 400;
    font-size: 2.8125rem;
    margin: 0 0px 30px;
    line-height: 1;
}

.inner h2 {
    margin: 2rem 0 1rem;
    font-size: 2.3rem;
    line-height: 1.3;
    color: #dd1100;
    font-weight: 300;
}

.pod h2 {
    margin: 1rem 0;
    font-weight: 400;
}

sup {
    font-size: 1rem;
    top: 0;
    position: relative;
}

p.intro {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.5;
}

html[lang="zh"] p.intro,
html[lang="ja"] p.intro,
html[lang="ko"] p.intro { font-size: 1.3rem; }

a.breadcrumb { color: #636363; }

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

section .left ul {
    list-style: none;
    margin: 0 0 0 .5rem;
    padding: 0;
}

section .left ul li {
    position: relative;
    font-size: .85rem;
    margin: 0 0 1rem;
    color: #666;
}

section .left ul li:before {
    content: '';
    width: 4px;
    height: 4px;
    display: inline-block;
    background: #dd1100;
    top: .4rem;
    left: -.5rem;
    vertical-align: top;
    position: absolute;
}

section .left ol {
    margin: 0 0 0 1.5rem;
    padding: 0;
}

section .left ol li { margin: 0 0 1rem; }

table { border-collapse: collapse; }

/* ==========================================================================
   ARCHIVAL
   ========================================================================== */

.archival-wrapper {
    background:#4b758f;
    box-sizing: border-box;
    height: 80px;
    margin: 0 auto 20px auto;
    padding: 8px 0 0;
    width: 100%;
}
#archival{
    display:block;
    margin: 0 auto;
    max-width: 960px;
}
#archival .column-one{   
    display:inline-block;
    padding-top: 12px;
    vertical-align: top;
    width: 26%;
}

#archival .column-two a,
#archival .column-two a:visited{
    color:#ffffff;
    text-decoration: none;
}

#archival .column-two a:hover{
    color: #ffbb5c;    
}

#archival .column-two{
    display: inline-block;
}

#archival .column-one span{
    color: #ffffff;    
    font-size: 25px;
    font-family: 'PT Serif', serif;    
    vertical-align: top;
}

#archival .column-two span{
   color:#ffffff;
   font-family: 'Source Sans Pro', Arial, sans-serif;   
   font-size:14px;
   font-weight:300;
   line-height:20px;
}

#infokit #archival,
#infokitPearson #archival { margin-bottom: 0; }

#header #archival img{ 
    float: none; 
    margin: 5px 12px 0 0;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

#header {
    overflow: hidden;
    padding: 0 0 1.4rem 0;
    background: #f0f0f0;
}

#header .inner {
    width: 1145px;
    padding: 0 50px;
}

#header img {
    float: left;
    margin: 5px 12px 0 18px;
    z-index: 100;
}

#header .inner h1 {
    margin: 0;
    padding: 2px 0 0 0;
    color: #dd1100;
    font-size: 1.875rem;
    font-weight: 400;
    line-height: 1;
    vertical-align: top;
}

#header .inner h2 {
    margin: 0;
    padding: 5px 0 0 0;
    color: #3c3b3b;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1;
}

/* ==========================================================================
   TOP NAVIGATION
   ========================================================================== */

#topnav {
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
}

#topnav .inner {
    width: 1145px;
    padding: 0 50px;
}

#topnav ul li {
    display: inline-block;
    bottom: -1px;
    position: relative;
}

#topnav ul li a {
    display: inline-block;
    padding: 6px 20px 7px 20px;
    border-bottom: 1px solid #ddd;
    color: #545454;
    height: auto;
}

#topnav ul li a:hover { color: #f77700; }

#overview #overviewtab a,
#uses #usestab a,
#compare #whytab a,
#adopting #adoptingtab a,
#resource #resourcetab a,
#faq #faqtab a {
    background: #fff;
    border: 1px solid #d2d2d2;
    border-bottom: 1px solid #fff;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.button {
    font-weight: 400;
    border: 1px solid #bb0000;
    line-height: 1;
    display: inline-block;
}

.button.large {
    font-size: 16px;
    border-radius: 4px;
    padding: 9px 25px;
}

.button.medium {
    font-size: 14px;
    border-radius: 4px;
    padding: 8px 16px;
}

.button.small {
    font-size: 12px;
    border-radius: 2px;
    padding: 4px 12px;
}

a.button.red {
    background: #dd1100;
    color: #fff;
}

a.button.red:hover {
    background: #fe0000;
    color: #fff;
}

a.button.red:active {
    background: #b00f00;
    color: #fff;
}

a.button.white {
    background: #fff;
    color: #dd1100;
    border: 1px solid #dd1100;
}

a.button.white:hover {
    background: #fe0000;
    color: #fff;
    border: 1px solid #b00f00;
}

a.button.white:active {
    background: #b00f00;
    color: #fff;
}

/* ==========================================================================
   OTHER
   ========================================================================== */

.pod {
    box-shadow: 0 0 5px #ddd;
    border: 1px solid #ddd;
    padding: .2rem 1.5rem;
    margin: 1.5rem 0;
}

.pod-title {
    display: block;
    padding: 1rem 1.5rem;
    background: #f9f9f9;
    margin: -.2rem -1.5rem 1.5rem;
}

.pod-title.white {
    background: #fff;
    border-bottom: 4px solid #dd1100;
    color: #dd1100;
    margin: -.2rem -1.5rem 0;
    font-weight: 600;
    font-size: 1.2rem;
}

.pod-title .alignright { font-size: 1rem; }

.pod-title+table { margin: 0 0 1.5rem; }

.pod-body {
    background: #f9f9f9;
    padding: 1.5rem;
    margin: 0 -1.5rem -.2rem;
}

.pod-body .half { vertical-align: middle; }

.pod-body li a { color: #545454; }

table.pod { padding: 0; }

table.pod td { padding: 0 1.5rem; }

.text-aligncenter { text-align: center; }

.alignright { float: right; }

.text-alignright { text-align: right; }

.left {
    width: 70%;
    display: inline-block;
    vertical-align: top;
    margin: 0 3% 0 0;
}

.half {
    display: inline-block;
    width: 49%;
}

p.next-prev {
    border-top: 1px solid #ddd;
    margin: 5rem 0 0 0;
    padding: .4rem 0 0 0;
    font-size: .8rem;
    font-weight: 600;
}

.inner .nomargin { margin: 0; }

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.sidebar {
    width: 24%;
    display: inline-block;
}

.sidebar .pod {
    padding: 0 1rem;
    margin: 1.2rem 0;
}

.sidebar .button {
    width: 100%;
    text-align: center;
}

.sidebar .button.white { margin: 1.5rem 0 1rem; }

.sidebar .sb_item a { border-bottom: 1px solid #dedede; }

.sidebar a {
    color: #666;
    padding: .5rem .2rem;
    font-size: 13px;
    display: block;
}

.sidebar .sb_item:last-child a { border-bottom: 0; }

.adopting1a_sub a,
.adopting1b_sub a { display: none; }

.adopting1a .adopting1a_sub a,
.adopting1a1 .adopting1a_sub a,
.adopting1a2 .adopting1a_sub a,
.adopting1b .adopting1b_sub a,
.adopting1b1 .adopting1b_sub a,
.adopting1b2 .adopting1b_sub a,
.adopting1b3 .adopting1b_sub a {
    display: block;
    padding: .5rem 0 .5rem 1.5rem;
}

.compareAll .compareAll a,
.compare1a .sb_item.compare1a a,
.compare1b .sb_item.compare1b a,
.compare1c .sb_item.compare1c a,
.compare1d .sb_item.compare1d a,
.adoptingAll .adoptingAll a,
.adopting1a .sb_item.adopting1a a,
.adopting1a1 .sb_item.adopting1a1,
.adopting1a2 .sb_item.adopting1a2,
.adopting1b .sb_item.adopting1b a,
.adopting1b1 .sb_item.adopting1b1,
.adopting1b2 .sb_item.adopting1b2,
.adopting1b3 .sb_item.adopting1b3,
.adopting1c .sb_item.adopting1c a,
.adopting1d .sb_item.adopting1d a,
.adopting1e .sb_item.adopting1e a,
.adopting1f .sb_item.adopting1f a,
.resourceAll .resourceAll a,
.resource1a .sb_item.resource1a a,
.resource1b .sb_item.resource1b a {
    display: block;
    font-weight: 600;
    color: #dd1100 !important;
}

#adoptingSB,
#compareSB,
#resourceSB { display: none; }

#adopting #adoptingSB,
#compare #compareSB,
#resource #resourceSB { display: block; }

#faq .sidebar .pod {
    box-shadow: none;
    border: none;
}

.sidebar .contact {
    font-family: 'Walter Turncoat', Arial, sans-serif;
    background: url('/cdf/img/chat-icon.png') no-repeat left .7rem;
    padding: 0 0 0 2.3rem;
    white-space: nowrap;
}

.sidebar .contact small { color: #dd1100; }

.sidebar .contact:hover small { color: #f77700; }

/* ==========================================================================
   THICKBOX
   ========================================================================== */

#TB_title {
    background: white;
    height: 25px;
}

#TB_window {
    border: 0;
    border-top: 6px solid #d00;
    background-color: white;
}

#TB_closeWindowButton {
    float: right;
    width: 21px;
    height: 21px;
}

#TB_closeAjaxWindow {
    background: url('/common/images/TBcloseButton_sm.gif') no-repeat 48px 5px;
    margin: 0;
    float: right;
    height: 21px;
    width: 69px;
}

body#thickboxPopup { background-image: none; }

body#thickboxPopup div#pageWrapper { padding: 30px 20px 0 20px; }

body#thickboxPopup table { margin-top: 10px; }

body#thickboxPopup table td {
    vertical-align: top;
    padding-right: 30px;
}

/* ==========================================================================
   SUPER TABLE
   ========================================================================== */

.superTable .first-heading th { color: #dd1100; }

.superTable+.licensing-button h2 { margin: 0; }

.superTable+.licensing-button+.licensing-posts {
    background: transparent;
    padding: 0;
}

.superTable { border-top: 5px solid #dd1100; }

.superTable .title th {
    background: #f3f3f3;
    padding: .7rem 1.2rem;
    border: 1px solid #ddd;
    text-align: left;
}

.superTable .firstcell,
.superTable .othercell {
    border: 1px solid #ddd;
    padding: .7rem 1.2rem;
    font-size: .9rem;
    vertical-align: middle;
}

.superTable .othercell { text-align: center; }

.superTable .button { margin: 0; }

.superTable h3 {
    text-align: left;
    margin: 0;
    display: inline-block;
}

.superTable.notopborder { border-top: 0; }

.superTable .noborders,
.superTable .outsidePod td {
    border: 0;
    font-size: .8rem;
}

.superTable .outsidePod td { padding-top: 1.5rem; }

iframe {
    border: 0;
    overflow: visible;
    margin: 0 auto;
    display: block;
}

.infoText,
.infoWrapper { display: inline; }

.infoWrapper {
    top: 2px;
    left: 5px;
    position: relative;
    cursor: pointer;
}

.infoBoxWrapper {
    position: absolute;
    width: 12rem;
    padding: .8rem 1rem;
    background: #fff;
    box-shadow: 0 0 5px #ddd;
    border: 1px solid #ddd;
    top: -10px;
    left: 25px;
    font-size: .8rem;
    font-weight: 400;
    text-align: left;
}

.infoBoxWrapper:after {
    content: '';
    border-right: 9px solid #fff;
    border-top: 9px solid transparent;
    border-left: 10px solid transparent;
    border-bottom: 9px solid transparent;
    display: inline-block;
    position: absolute;
    top: 7px;
    left: -18px;
}

.infoBoxWrapper:before {
    content: '';
    border-right: 10px solid #ddd;
    border-top: 10px solid transparent;
    border-left: 11px solid transparent;
    border-bottom: 10px solid transparent;
    display: inline-block;
    position: absolute;
    top: 6px;
    left: -21px;
}