html,body {
    height:100%;
}
html {
    background-color:rgb(242,242,242);
}
body {
    color:black;
}
p {
    margin-top: 5px;
    margin-bottom: 10px;
}
h2 {
    margin-bottom: 0px;
    font-size: 1.27em;
    font-size: 1.4em;
    font-weight: 700;
}
h3 {
    margin-top: 0px;
    font-size: 1.67em;
    margin-bottom: .67em;
}
.icon {
    font-family: 'icomoon';
    content: attr(data-icon);
    speak: none;
    font-weight: normal;
    /* line-height: 1; */
    -webkit-font-smoothing: antialiased;
}
.pane {
    padding:20px;
    padding-top:40px;
    padding-bottom:40px;
    min-height:90%;
    background: #fff; /* Old browsers */
    background: -moz-linear-gradient(top, #fff 0%, #f2f2f2 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #fff 0%,#f2f2f2 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #fff 0%,#f2f2f2 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#f2f2f2',GradientType=0 ); /* IE6-9 */
}
table.pane {
    width:100%;
    padding-left:0px;
    padding-right:0px;
    text-align: center;
}
table.pane td {
    padding:20px;
}
.half-pane {
    display:inline-block;
    width:50%;
    text-align:left;
    float:left;
}
.half-pane img {
    max-width:100%;
}
.content-wrapper {
    display:inline-block;
    width:100%;
    max-width:1320px;
}
#header,.header-spacer {
    height:70px;
}
#header {
    position:fixed;
    top:0;
    left:0;
    right:0;
    background-color: rgba(15,15,15,.9);
    text-align: center;
    z-index: 80;
}
#header #logo div {
    height:30px;
    width:30px;
    background-position:center center;
    background-repeat:no-repeat;
    background-image:url(../images/header-logo.svg);
    background-size:contain;
    display:inline-block;
    padding-top: 40px;
}
#header #logo:hover div {
    padding-top:30px;
}
#header a {
    color:white;
    box-sizing:border-box;
    display:table-cell;
    vertical-align:middle;
    padding-left: 5px;
    padding-right: 5px;
}
#header a:hover {
    text-decoration:none;
    border-bottom:4px solid #fff;
    padding-top:4px;
}


#header table, #header .table-wrapper {
    width:100%;
    max-width:1320px;
    height:100%;
}
#header .table-wrapper {
    display:inline-block;
}
.device-container {
    color:white;
}
.footer {
    padding-top:40px;
    padding-bottom:40px;
    padding-left: 20px;
    padding-right: 20px;
}
.footer, .footer a, .footer .social {
    background-color:#252525;
    color:#4d4d4d;
    text-align:left;
}
.footer .text a:hover {
    color:#8c8c8c;
}
.social {
    padding-left:12px;
    padding-bottom:10px;
    float:right;
    font-size:1.4em;
    display:inline-block;
    line-height:64px;
}
.social a {
    text-decoration:none;
    color: #8c8c8c;
    padding-left: 6px;
}
.social a:hover {
    color: white;
}
.footer .text {
    display:inline-block;
}
p, h1, h2, h3 {
    text-align:left;
}
.footer p {
    width: 100%;
    max-width: 1320px;
    display: inline-block;
}
.footer .disclaimer {
    font-size:.8em;
}
#programs {
    display:none;
    height: 320px;
    padding-bottom: 0px;
}
#programs .ico {
    display:inline-block;
    position:relative;
    left:0px;
}
#programs object {
    width:170px;
    padding:60px;
    position:relative;
    z-index:3;
}
#programs .caption {
    position:relative;
    top:0px;
    z-index:2;
    font-size: 16px;
    font-weight: 700;
}
#programs-overlay {
    position: relative;
    top: -270px;
}
#programs-overlay object {
    width: 1105px !important;
    padding: 0px !important;
}
#programs-simple object {
    width:100%;
}
.video-selector {
    background-color: rgb(55,55,55);
    width:100%;
    max-width:1280px;
    display:inline-block;
    
}
.video-selector a, .mobile-demo {
    display: inline-block;
    cursor: pointer;
    color: #bbb;
    font-weight: normal;
/*    width: 300px;*/
    padding-left:20px;
    padding-right:20px;
    line-height: 45px;
}
.video-selector a.current {
    color:white;
    background-color: rgba(0,0,0,.85);
}
.video-selector a:hover, .mobile-demo:hover {
    background-color: rgba(0,0,0,.95);
    color: #eee;
    text-decoration: none;
}
.mobile-demo {
    display:none;
    background-color: rgba(55,55,55,.8);
}
.no-large {
    display:none;
}
div.grid {
    width: 100%;
    border-spacing: 20px;
    padding-top: 20px;
}
div.grid .left, div.grid .right {
    width:50%;
    padding: 10px;
    box-sizing:border-box;
}
div.grid .text, div.grid .image {
    background-color: white;
    padding: 100px;
    vertical-align: top;
    height:400px;
}
div.grid .row {
    display:inline-block;
    width:100%;
}
div.grid .left {
    float:left;
    padding-left:20px;
}
div.grid .right {
    float:right;
    padding-right:20px;
}
div.grid p {
    font-size:1.2em;
    color: #aaa;
}
div.grid div.image {
    background-size: cover;
    background-position:center center;
}

@media (max-width: 1024px) { 
    .device-container {
        display:none;
    }
    .mobile-demo {
        display:inline-block;
    }
}
@media (max-width: 970px) { 
    div.grid {
        border-spacing:0px;
    }
    div.grid .left, div.grid .right {
        display:block;
        width: 100%;
    }
    div.grid .text {
        margin-bottom:10px;
    }
    div.grid .image {
        margin-top:10px;
    }
    .half-pane {
        width:100%;
        height:inherit !important;
    }
    .vimeo_player {
        height:546px;
    }
    #header #logo div {
        height: 10px;
    }
    #header,.header-spacer {
        height:50px;
    }
    #header a:hover {
    }
    .intro-table td {
        display: block;
        width: inherit !important;
    }
    h1 {
        margin-top: 0px;
        font-size:1.6em;
    }
    h2 {
        font-size:1.1em;
    }
    h3 {
        font-size:1.1em;
    }
    p {
        font-size:.9em !important;
    }
    .no-large {
        display:inherit;
    }
    .no-small {
        display:none;
    }
    div.grid div.left, div.grid div.right {
        padding:0px;
        float:left;
    }
    div.grid div.image {
        height:400px;
        padding:0px;
    }
    div.grid div.text {
        height:auto;
        padding: 50px;
    }
}
@media (max-width: 720px) { 
    .vimeo_player {
        height:405px;
    }
    #header a {
        font-size: 1.1em;
    }
    div.grid div.image {
        height:300px;
    }
    div.grid div.text {
        padding: 40px;
    }
}
@media (max-width: 540px) { 
    .vimeo_player {
        height:304px;
    }
    #header a {
        font-size: .9em;
    }
    div.grid div.image {
        height:250px;

    }
    div.grid div.text {
        padding: 25px;
    }
    .social {
        display:block;
        text-align:center !important;
        float:none;
    }
}
@media (max-width: 414px) { 
    .vimeo_player {
        height:233px;
    }
    #header a {
        font-size: .75em;
    }
    div.grid div.image {
        height:200px;

    }
    div.grid div.text {
        padding: 15px;
    }
}
@media (max-width: 320px) { 
    .vimeo_player {
        height:180px;
    }
    #header a {
        font-size: .65em;
    }
    div.grid div.image {
        height:150px;

    }
    div.grid div.text {
        padding: 10px;
    }
}
@media (min-width: 1236px) { 
    #programs {
        display:block;
    }
    #programs-simple {
        display:none;
    }
}