/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@import url('fonts.css');

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    background-color: #ebeae5;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




/* ==========================================================================
   Author's custom styles
   ========================================================================== */
#Layout {
    width: 970px;
    padding: 0 10px;
    position: relative;
}

/*
 * H1 Typography */
#Layout .typography h1 {
    font-family: MuseoSlab700, Arial, sans-serif;
    font-weight: normal;

    font-size: 32px;
    line-height: 1;
    margin: 0 0 10px 0;
    
    color:#76b7e1;
}

#Layout .typography h1.heading-underline {
    border-bottom: 1px dotted #999;
    padding-bottom: 5px;
    margin-bottom: 0;
}
.LandingPage #Layout h1 {
    text-transform: uppercase;
    color: #FFF;
}

.LandingPage #Layout #landing-header h1 {
    font-family: MuseoSlab700, Arial, sans-serif;
    font-weight: normal;
    font-size: 32px;
    line-height: 1;
}

.LandingPage #Layout #landing-header h1 {
    position: absolute;
    top: 80px;
    left: 20px;
}

.LandingPage #Layout #main-content h1 { color: #999;}    

header#top {
    height: 160px;
    width: 970px;
    margin: 0 10px 12px 10px;
    padding: 0;
    border-bottom: 1px solid #CCC;
    
    position: relative;
}

a#logo h1.ir{
    background-image: url('../images/logo.png');
    background-repeat: no-repeat;
    width: 120px;
    height: 120px;
    
    position: absolute;
    top: 30px;
    left: 0px;
    
    margin: 0;
    padding: 0;
}

#tagline{
    margin: 84px 0 0 0;
    float: right;
    color: #76b7e1;
    font-weight: normal;
    font-size: 24px;
    font-family: MuseoSlab300, Arial, sans-serif;    
}

#tagline .tagline-bold {
    font-family: MuseoSlab700, Arial, sans-serif;
}

nav#main{
    width: 800px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    float: right;
    clear: right;
}
nav#main ul {
    float: right;
    margin: 11px 0 0 0;
}

nav#main ul li {
    list-style: none;
    margin: 0;
    float: left;
    line-height: 33px;
    display: block;
}

nav#main ul li a:link,
nav#main ul li a:visited,
nav#main ul li a:active {
    float: left;
    text-decoration: none;
    text-transform: lowercase;
    display: block;
    font-size: 14px;
    line-height: 17px;
    padding: 0 0 0 24px;
    color: #666;
    font-family: MuseoSlab700, Arial, sans-serif;
    font-weight: normal;

    transition: color 0.2s ease-in;
    
}

nav#main ul li a:before {
    content: "+";
    color: #76b7e1;
    display: inline;
}
.DocumentationHolderPage section#column,
.ProductHolderPage section#column {
    margin: 10px 0 0 0;
    width:  650px;
    background: #fafafa;
}
section#column {
    margin: 10px 0 0 0;
    width:  620px;
    background: #fafafa;
}

.ContentPage section#column,
.UserDefinedForm section#column {
    float: left;
    width: 625px;
    min-height: 200px;
    box-shadow: 0 0 10px 0 #CCC;
    margin: 0 15px 10px 0px;
    padding: 0;
    display: inline;
    border: 1px solid #DDD;
    position: relative;    
}

.pageInner,
.productInner {
    padding: 10px;
}
.TutorialFeature,
.ProductFeature {
    float: left;
    width: 308px;
    min-height: 200px;
    box-shadow: 0 0 10px 0 #CCC;
    margin: 0 15px 10px 0px;
    padding: 0;
    display: block;
    border: 1px solid #DDD;
    background-color: #FFF;
    position: relative;    
}

/*.-webkit- #pos2.ProductFeature { margin-bottom: 44px;}*/

.TutorialFeature {height: 317px;}

.TutorialFeature .time {
    position: absolute;
    top: 32px;
    left: 64px;
    color: #FFF;
    
}
.PageFeature img,
.ProductFeature img {
    position: absolute;
    top: 5px;
    left: 10px;
}



.PageFeature .pageInner p,
.ProductFeature .productInner p {
    font-size: 12px;
}


/*#pos3.ProductFeature{margin-top: -95px;}
.-moz- #pos3.ProductFeature{margin-top: -78px;}
#pos5.ProductFeature{margin-top: -210px;}
.-moz- #pos5.ProductFeature{margin-top: -196px;}
#pos7.ProductFeature{margin-top: -278px;}
.-moz- #pos7.ProductFeature{margin-top: -264px;}
*/
.pageFeatureHeader,
.productFeatureHeader {
    padding: 10px 10px 10px 80px;
    margin: 0 0 10px 0;
}
.pageFeatureHeader {padding-left: 100px; padding-bottom: 20px;}

.typography .pageFeatureHeader h3 {
    font-size: 22px;
    margin: 4px 0 0;
}

.video-modal {
    width: 308px;
    height: 316px;
    display: block;
/*    background-color: yellow;*/
    
}

.documentationHeader{
    background: transparent url('../images/play-video.png') no-repeat 10px 0px scroll;
    padding: 5px 10px 10px 70px;
    margin: 0;
    height: 80px;
    position: absolute;
    bottom: 0;
}

.documentationHeader .tutorial-heading {
    margin: 0 0 5px 0;
    display: block;
    font-size: 15px;
    color: #76b7e1;   
}

.documentationHeader .tutorial-teaser {
    display: block;
    font-size: 11px;
    line-height: 14px;
}

.ProductFeature h4.bucket-heading {
    margin: 0;
}
.ProductFeature .feature {
    color: #76b7e1;
    font-size: 13px;
}
.ProductFeature .feature:before {
    content: "+";
    color: #666;
    display: inline;
}
.PageFeature span.subtitle{
    font-size: 11px;
    line-height: 13px;
    max-width: 450px;
    display: block;
}
.ProductFeature span.subtitle{
    font-size: 11px;
    line-height: 1;
}

nav#main ul li a:hover,
nav#main ul li a.current,
/*nav#main ul li a.section {color: #003366;}*/
nav#main ul li a.section {color: #76b7e1;}

nav#main ul li a.current:before,
nav#main ul li a.section:before {color: #666;}



#Container {
    width: 990px;
    margin: 0 auto;
    background-color: #FFF;
    box-shadow: 0 0 20px 0 #333;
}

/*.ProductHolderPage #Container {padding-bottom: 20px;}*/

/*
 * HomePage & Landing Page Bucket(s)  */
.HomePage #content-area {
    float: left;
    padding: 40px 30px 50px;
/*    padding: 60px 30px 40px;*/
    
}

.buckets.hp-row-2 {}

.moreinfo {
    float: left; 
    width: 320px;
}

#right-column {
    width: 305px;
    padding: 10px;
    background-color: #FFF;
    position: absolute;
    top: -40px;
    right: 7px;
    z-index: 1;
}

#right-column #frame {
    width: 285px;
    padding: 10px;
    background-color: #b8d7f1;
    position: relative;
    z-index: 10;
    
    background-color: #b8d7f1;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b8d7f1), color-stop(100%, #FFF));
    background-image: -webkit-linear-gradient(top, #b8d7f1, #FFF);
    background-image: -moz-linear-gradient(top, #b8d7f1, #FFF);
    background-image: -ms-linear-gradient(top, #b8d7f1, #FFF);
    background-image: -o-linear-gradient(top, #b8d7f1, #FFF);
    background-image: linear-gradient(top, #b8d7f1, #FFF);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#b8d7f1, endColorstr=#FFFFFF);    
}

.ie7 #right-column #frame,
.ie8 #right-column #frame,
.ie9 #right-column #frame {
    background-color: #b8d7f1;
    background-image: none;
}

#frame #inner-frame {
     border: 1px solid #FFF; 
     padding: 10px;
}

#right-column #frame p strong {
    font-family: MuseoSlab500, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
}

#right-column #frame p,
#right-column #frame p strong,
#right-column #frame h4,
#right-column #frame li {
    color: #006a98 !important;
    font-size: 12px;
}


#right-column #frame #inner-frame h3 {
    font-size: 16px;
    color: #FFF;
    font-family: MuseoSlab300, Arial, sans-serif;
    text-shadow: -1px 0px 2px #666
}

#right-column #frame #inner-frame h4 {
    font-size: 12px;
    margin-bottom: 10px;
/*    font-family: MuseoSlab300, Arial, sans-serif;*/
}
#frame #inner-frame h3:before {
    content: '+';
    color: #999;
}

#banner {
    position: relative;
    z-index: 0;
    width: 970px;
    height: 259px;
}

#banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 970px;
    height: 259px;
}

.buckets {
    margin: 0px;
    padding: 0px;
    float: left;
    width: 100%;
/*    background: #CCC;*/
}

.gradient-gry {
    color: #666;
    background-color: #e1e1e1;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FFF), color-stop(100%, #e1e1e1));
    background-image: -webkit-linear-gradient(top, #FFF, #e1e1e1);
    background-image: -moz-linear-gradient(top, #FFF, #e1e1e1);
    background-image: -ms-linear-gradient(top, #FFF, #e1e1e1);
    background-image: -o-linear-gradient(top, #FFF, #e1e1e1);
    background-image: linear-gradient(top, #FFF, #e1e1e1);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#FFFFFF, endColorstr=#e1e1e1);    
}

.ie7 .gradient-gry,
.ie8 .gradient-gry,
.ie9 .gradient-gry {
    background-color: #e1e1e1;
    background-image: none;
}

.bucket { 
    width: 303px; 
    margin: 0;
    padding: 20px 14px 20px 0;
    float: left;
    
    overflow: hidden;
    position: relative;
}

.hp-row-1 .bucket.first {padding-left: 14px;}

.hp-row-2 .bucket.first {margin-top: 14px;}
.hp-row-2 .bucket {
    padding: 10px;
    margin: 5px 0px;
    height: 80px;
    background: white;
    box-shadow: 0 0 10px 0 #CCC;
    width: 291px;
    border: 1px solid #DDD;
}

.bucket article > a {width: 100%;}

.bucket p {
    color: #999;
    font-size: 11px;
    line-height: 13px;
    margin: 0;
    padding: 0 15px 0 0;
    font-family: MuseoSlab300, Arial, sans-serif;
}


.bucket.last { margin-right: 0}

.hp-row-1 .bucket { height: 68px;}

.hp-row-1 .bucket a,
.hp-row-2 .bucket a {
    display: block;
    float: left;
    text-decoration: none;
    border-right: 1px solid #CCC;
}

.hp-row-2 .bucket a {border: none;}

.hp-row-1 .bucket a img,
.hp-row-2 .bucket a img {
    float: left;
    margin: 0 8px 0 0;
}
.hp-row-1 .bucket.last a {border: none;}

.hp-row-1 .bucket .bucket-heading,
.hp-row-2 .bucket .bucket-heading{ 
    display: block;
    margin: 3px 0 10px 0;
    font-family: MuseoSlab700, Arial, sans-serif;
    font-size: 17px;
    line-height: 1;
    font-weight: normal;
/*    width: 200px;*/
}

.hp-row-2 .bucket .bucket-heading{ 
    display: block;
/*    font-size: 14px;*/
    margin: 3px 0 5px 0;
}

.hp-row-1 .bucket .bucket-heading,
.hp-row-2 .bucket .bucket-heading{color: #76b7e1;}

/*
 * Side Bar Area */
#side-bar {
    float: left; 
    clear: left; 
    width: 238px; 
    margin: 0 12px 0 0;    
}

#side-bar #promo {
    float: left;
    margin: 10px 0 0 0;
}

#side-bar #promo h2,
#side-bar #promo h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

#side-nav {
    border-radius: 6px; 
    background: #999; 
    display: block; 
    padding: 22px 20px; 
    margin: 0 0 12px 0; 
    width: 198px; 
    float: left;
}

#side-nav ul {
    margin: 0;
    padding: 0;
}

#side-nav ul li {
    margin: 0;
    padding: 4px 0 5px;
    border-bottom: 1px dotted #65554E;
}

#side-nav ul li.last { border-bottom: none; padding-bottom: 3px;}

#side-nav ul li a:link,
#side-nav ul li a:visited,
#side-nav ul li a:active {
    font-family: MuseoSlab700, Arial, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 1;
    color: #FFF;
    text-decoration: none;
    
    padding: 4px 0 3px;
    display: block;
    
    transition: color 0.2s ease-in;
}

#side-nav ul li.last a { padding-bottom: 0}

#side-nav ul li a:hover,
#side-nav ul li a.section,
#side-nav ul li a.current {
    color: #76b7e1;
}


#side-nav ul li ul#sub-nav { margin-left: 10px;} 
#side-nav ul li ul#sub-nav li { border-bottom: none; padding: 0;} 
#side-nav ul li ul#sub-nav li > a { 
    font-size: 14px;
    text-transform: capitalize;
} 

#side-content {
    border-radius: 6px; 
    background: #d6cfbf url('../images/side-content-bg.jpg') no-repeat center top scroll; 
    display: block; 
    padding: 22px 20px; 
    margin: 0; 
    width: 198px; 
    float: left;
}

a#global-signup {
    float: left;
    
    font-family: MuseoSlab700, Arial, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 1;
    
    text-decoration: none !important;
    
    padding: 5px 5px 5px 20px;
    margin: 6px 0;
    color: #999;
    background: transparent url('../images/plus-dk.png') no-repeat 5px center scroll;
}

a#global-signup:hover {
    color: #76b7e1;
    background: transparent url('../images/plus-org.png') no-repeat 5px center scroll;
}

/*
 * Main Content Area */


#landing-header {
    border-radius: 6px;
    margin: 0 0 12px 0;
    padding: 0;
    float: left;
    width: 740px;    
    position: relative;
}

#landing-header.news-events {
    background-color: #76b7e1;
    padding: 20px;
    width: 700px;
}

#landing-header img {height: 181px;}

#content {
    float: left;
    width: 740px;
    position: relative;
    min-height: 540px;
}

.ContentPage #content,
.UserDefinedForm #content {
    width: 960px;
    padding: 10px 0 0 10px;
}

.DocumentationHolderPage #content,
.ProductHolderPage #content {
    width: 970px;
}

.typography a.download_btn {
    padding-left: 125px;
    background: transparent url('../images/download_btn.png') no-repeat 0 0 scroll;
    font-size: 11px;
    display: block;
    height: 20px;
    padding-top: 5px;
}

.typography a:hover.download_btn {background-image: url('../images/download_btn_hover.png');}

#main-content {
    background: #FFF;
    border-radius: 6px;
    margin: 0;
    padding: 30px 20px;
    float: left;
    width: 700px;
}

/*
 * Footer */

footer{
    clear: both;
    width: 990px;
    padding: 0;
    margin: 0 auto;
}

footer .footerTop {
    width: 100%;
    display: block;
    margin-top: 25px;
    float: left;
    clear: left;
}

footer #copyright {
    padding: 10px 0px;
    float: left;
    color: #999;
    font-size: 10px;
    width: 350px;
}

footer #siteowner {
    padding: 10px 0px;
    float: right;
    background: transparent url('../images/polar-sun-logo.png') no-repeat right center scroll;
    width: 95px;
    height: 30px;
    width: 350px;
}

nav#footer-nav {
    margin-bottom: 20px;
    padding: 0 0 0 20px;
    display: block;
    float: left;
    width: 970px;
}
.footerSection {
    width: 165px;
/*    height: 180px;*/
    float: left;
    padding-right: 10px;
}
.footerSection.sec-Board {float: right; padding: 0;}

.footerSection h4 {
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    line-height: 20px;
    font-size: 16px;
    padding: 0;
    margin: 0 0 5px 0;
    color: #999;
    font-family: MuseoSlab700, Arial, sans-serif;
    font-weight: normal;
}

nav#footer-nav h4 a:link, 
nav#footer-nav h4 a:visited, 
nav#footer-nav h4 a:active {
    text-decoration: none;
    color: #999;
    display: block;
    float: left;
    transition: color 0.2s ease-in;
}
nav#footer-nav .footerSection.sec-Board h4 a:link {float: right;}
nav#footer-nav h4 a:hover {color: #76b7e1;}

nav#footer-nav ul {
    margin: 0;
    padding: 0;
    display: block;
    float: left;
    clear: both;
}

nav#footer-nav ul li {
    margin: 0;
    list-style: none;
    float: left;
    width: 100%;
    display: block;
    clear: left;
}

nav#footer-nav ul li a {
    display: block;
    color: #999;
    font-family: MuseoSlab700, Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-size: 16px;
    height: 24px;
    line-height: 24px;
    float: left;
    text-decoration: none;
    width: 100%;
    
    transition: color 0.2s ease-in;
}

nav#footer-nav ul li a:hover {color: #76b7e1;}

/*
 * Search Form */
#SearchForm_SearchForm {
    float: right;
    height: 24px;
    width: 166px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    padding: 0;
    margin: 20px 30px 0 0;
}

#SearchForm_SearchForm .middleColumn {
    float: left;
    width: 168px;
    height: 25px;
    margin: 0;
    padding: 0;
}

#SearchForm_SearchForm .middleColumn input.text {
    border: 1px solid #d6d6d6;
    border-radius: 4px;
/*    float: left;*/
    background-color: #ebeae5;
    color: #999;
    padding: 3px;
    height: 15px;
    width: 160px;
    
}

#SearchForm_SearchForm #SearchForm_SearchForm_action_results {
    float: left;
    margin: 0 0 0 -26px;
    background: transparent url('../images/search.png') no-repeat 0 0 scroll;
    text-indent: -9999em;
    cursor: pointer;
    border: none;
    width: 26px;
    height: 25px;
    display: block;
}

.ie7 #SearchForm_SearchForm #SearchForm_SearchForm_action_results{
    margin-top: 1px;
    text-transform: capitalize;
}

.ie9 #SearchForm_SearchForm #SearchForm_SearchForm_action_results{
    height: 24px;
    width: 24px;
}

/*.event-table {}
.typography .event-table { width: 360px;}
.typography .event-table tr td { 
    border-bottom: 1px dotted #999;
    padding: 5px 0 5px 1px;
}

.typography .event-table tr td { font-weight: bold; vertical-align: text-top;}
.typography .event-table tr td:first-child { font-weight: normal; width: 70px;}

.typography .event-table tr td.no-border { border:none;}*/


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}