/* Import Google Fonts */
@import url(//fonts.googleapis.com/css?family=Open+Sans:300,400,600&subset=latin,latin-ext,cyrillic,cyrillic-ext,greek,greek-ext,vietnamese);

/* Reset and base styles */
html {
    font: normal 13px/1.4 "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    overflow-y: scroll;
    color: #000;
}

html, body {
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    /* Full-page background */
    background: url('/assets/background.jpg') no-repeat center center;
    background-size: cover;
}

a { 
    background-color: transparent;
    color: #2498e3;
    text-decoration: none;
    cursor: pointer;
}

a:hover { 
    color: #188dd9;
    text-decoration: underline;
}

img {
    box-sizing: border-box;
    border: 0;
    vertical-align: middle;
    -ms-interpolation-mode: bicubic;
}

/* Page layout */
.page-container {
    position: relative;
    display: table;
    width: 100%;
    height: 100%;
    table-layout: fixed;
}

.page-header-wrapper,
.page-content-wrapper,
.page-footer-wrapper {
    box-sizing: border-box;
    display: table-row;
}

.page-content-wrapper { height: 100%; }

.page-header {
    padding: 0 10px;
    min-height: 50px;
    border-bottom: 1px solid #1c2229;
    background: #222a32;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 300;
}

.page-content {
    margin: auto;
    padding: 80px 10px 20px; /* add top padding for fixed header */
    max-width: 960px;
}

.page-footer {
    padding: 5px 10px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid #38444f;
    background: #222a32;
    font-size: 12px;
    line-height: 24px;
}

.page-footer a,
.page-footer a:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
}

.page-footer .separator {
    width: 1px;
    display: inline-block;
    height: 12px;
    vertical-align: -2px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.6);
}

/* Logos */
.product-logo { float: left; }
.product-logo img { height: 50px; }
.company-logo {
    float: right;
    margin-top: 9px;
}
.company-logo img { height: 31px; }

/* Page info boxes */
.page-info-wrapper { margin-bottom: 15px; }
.page-info {
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #ccc;
    background: #f2f2f2 url('/images/globe.png') no-repeat;
    background-size: 273px 240px;
}
.page-info-heading {
    margin: 0 0 15px;
    font-size: 20px;
    line-height: 24px;
}

/* Links/icons in product info */
.product-info-wrapper ul.links {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #ddd;
    text-align: center;
}

.links > li > a:before {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto 5px;
    background-repeat: no-repeat;
    background-size: 32px 32px;
}

/* Fixed image paths for icons */
.blog:before { background-image: url('/images/blog.png'); }
.forum:before { background-image: url('/images/forum.png'); }
.knowledge-base:before { background-image: url('/images/knowledge-base.png'); }
.facebook:before { background-image: url('/images/facebook.png'); }
.twitter:before { background-image: url('/images/twitter.png'); }
.linkedin:before { background-image: url('/images/linkedin.png'); }
.aspnet:before { background-image: url('/images/asp-net.png'); }
.php:before { background-image: url('/images/php.png'); }

/* Product info boxes */
.product-info {
    border: 1px solid #bebebe;
    background: #fafafa;
}
.product-info-heading {
    margin: -1px;
    padding: 5px 11px;
    font-size: 16px;
    color: #fff;
    background: #09729f;
}
.product-info-content { padding: 10px; }

/* Forms & buttons */
button, input, select, textarea {
    box-sizing: border-box;
    font: inherit;
    color: inherit;
    margin: 0;
}

button, select {
    text-transform: none;
    cursor: pointer;
}

button:disabled { cursor: default; }

input, select, textarea {
    vertical-align: middle;
    border: solid #afbac1;
    border-width: 0 0 1px;
    background: #ededed;
    padding: 3px 6px 4px;
    height: 26px;
}

input:focus, select:focus, textarea:focus {
    border-color: #0f7faf;
    outline: 0;
    background: #ecf5f9;
}

.btn {
    display: inline-block;
    padding: 5px 10px;
    background: #dedede;
    border: 1px solid transparent;
    color: #373737;
    text-align: center;
    cursor: pointer;
    min-height: 30px;
}
.btn-primary {
    background-color: #0f7faf;
    color: #fff;
}
.btn-primary:hover {
    background-color: #1e96c9;
    color: #fff;
}

/* Message boxes */
.msg-box {
    margin: 0 0 12px;
    padding: 10px 10px 10px 32px;
    color: #000;
    line-height: 18px;
    background: #dadada;
}
.msg-info { background: #bcdf94; }
#testFailed { background: #f4b3b3; }

/* Fixed icons for test boxes */
#testSuccessful:before { background-image: url('/images/ok.png'); }
#testFailed:before { background-image: url('/images/warning.png'); }

/* Responsive */
@media (max-width: 767px) {
    .page-header-wrapper { height: auto !important; }
}

@media (min-width: 768px) {
    .page-header-wrapper { height: 51px; }
    .page-content { padding: 80px 20px 20px; } /* space for fixed header */
    .page-info {
        padding: 20px 40px 20px 313px;
        min-height: 240px;
        background-size: 273px 240px;
    }
}
