/* Accessibility */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Typography */

@font-face {
    font-family: "Amazon Ember Light";
    font-style: normal;
    src: url("../fonts/amazonember_lt-webfont.woff") format("woff");
}

@font-face {
    font-family: "Amazon Ember Regular";
    font-style: normal;
    src: url("../fonts/amazonember_rg-webfont.woff") format("woff");
}

@font-face {
    font-family: "Amazon Ember Bold";
    font-style: normal;
    src: url("../fonts/amazonember_bd-webfont.woff") format("woff");
}

html {
    font-size: .625rem;
    font-family: Amazon Ember Light, Helvetica Neue, Roboto, Arial, sans-serif;
}

body,
button,
input,
select,
textarea {
    font-size: 1.4rem;
    margin: 0;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
p {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1
 {
    padding-bottom: 1em;
}

h2,
p {
    padding-bottom: 1.5em;
}

b,
strong {
    font-weight: bold;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

pre {
    background: #fff;
    padding: 1.5em;
}

hr {
    display: none;
}

/* Global buttons */

.buttons a {
    display: block;
    font-family: "Amazon Ember Bold";
    margin-right: 0.2em;
    padding-top: 0.5em;
    padding-right: 2em;
    padding-bottom: 0.5em;
    padding-left: 2em;
    text-align: center;
    vertical-align: middle;
    letter-spacing: 0.25px;
    color: #545b64;
    border: 1px solid #545b64;
    transition: all 0.3s linear;
    text-decoration: none;
    white-space: nowrap;
}

.buttons a:hover,
.buttons a:focus {
    background: #f2f2f2;
    color: #16191f;
    border-color: #16191f;
    cursor: pointer;
}

a {
    color: #007dbc;
    text-decoration: none;
    font-weight: 700;
}

a:hover {
    text-decoration: underline;
}



/* Card */

.card {
    background-color: #fff;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,28,36,0.5);
    box-shadow: 0 1px 2px 0 rgba(0,28,36,0.5);
    border-top: 1px solid #eaeded;
    border-radius: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 2rem;
    padding-bottom: 0;
    word-wrap: break-word;
}

.card-header {
    background-color: #fafafa;
    border-bottom: 1px solid #eaeded;
    padding: 1.9rem 2rem;
}

.card-header h2 {
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 2rem;
    text-decoration: none;
    margin: 0;
}

.card-content {
    font-size: 1.4rem;
    line-height: 2rem;
    color: #16191f;
    font-weight: 400;
}

.card-items-row {
    border-top: 1px solid #eaeded;
}

.card-items-row > ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.card-items-row > ul::after {
    content: "";
    flex-grow: 1;
}

.card-item {
    position: relative;
    padding: 2em;
    flex-basis: 25%;
    flex-grow: 0;
    flex-shrink: 1;
}

.card-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.card-item a {
    color: #007dbc;
    text-decoration: none;
}

.card-item a:hover {
    text-decoration: underline;
}

/* Banner card */

.banner-card {
    background-color: #fff;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,28,36,0.5);
    box-shadow: 0 1px 2px 0 rgba(0,28,36,0.5);
    border-top: 1px solid #eaeded;
    border-radius: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 4rem;
    padding-bottom: 0;
    word-wrap: break-word;
    text-align: center;
}

/* General styling */

:root {
    --ink: #232f3e;
    --grey: #f2f3f3;
    --white: #ffffff;
    --orange: #ff9d00;
    --blue: #58afd6;
}

* {
    box-sizing: border-box;
}

img {
    background-color: transparent !important;
}

body {
    background-color: #f2f3f3;
    color: #16191f;
    text-align: center;
}

/* Background */

.inkbg {
    background-color: #232f3e;
    color: #ffffff;
    background-image: url(../images/BG-Pattern_Offset-Cubes_ink.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    background-attachment: fixed;
}

.graybg {
    background-color: #f2f3f3;
    /*background-image: url(../images/BG-Pattern_Offset-Cubes_lightgrey.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    background-attachment: fixed;*/
}

.bluebg {
    background-color: #58AFD6;
    background-image: url(../images/BG-Pattern_Offset-Cubes_blue.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    background-attachment: fixed;
}



/* .bluebg, .inkbg,  buttons title and p*/

.bluebg h2,
.bluebg p,
.inkbg h2,
.inkbg p{
    color: #fff;
}   

.bluebg .buttons a, 
.inkbg .buttons a {
    color: #fff;
    border: 1px solid #fff;

}

.bluebg .buttons a:hover,
.bluebg .buttons a:focus,
.inkbg .buttons a:hover,
.inkbg .buttons a:focus {
    color: #16191f;
    border-color: #16191f;
    text-decoration: none;

}

.graybg .buttons a:hover,
.graybg .buttons a:focus {
    text-decoration: none;
}


/* Basic responsive layout for all browsers */

.wrapper {
    display: block;
    max-width: 1024px;
    text-align: left;
    margin: 0 auto;
}

header,
footer,
section {
    padding: 1em;
}

section {
    padding-top: 4em;
    padding-bottom: 2em;
}

h2.big-title {
    font-size: 2.4rem;
    font-family: "Amazon Ember Bold";
    padding-bottom: 0;
    line-height: 1.2em;
}

p.big-text {
    font-size: 1.8rem;
}

header {
    display: block;
    width: 100%;
    box-shadow: 0 1px 1px 0 rgba(0, 28, 36, .5);
    z-index: 900;
}

nav ul {
    font-size: 1.5rem;
}

nav ul li {
    font-family: "Amazon Ember Light";
    float: left;
    padding-right: 0.9em;
}

nav a,
nav ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s linear;
    font-weight: normal;
}

nav ul li a:focus,
nav ul li a:hover {
    color: #ff9d00;
    border-bottom: 1px dotted #ff9d00;
}


/* About */

.about {
    /*padding-top: 2em;*/
}

.nice_logo {
    width: 90%;
    height: auto;
    display: block;
}
.dcv_logo {
    width: 200px;
    height: auto;
    display: block;
}

/* Products */

.product-name {
    color: #007dbc;
    letter-spacing: 0.25px;
}

.container {
    background-color: #fff;
    box-shadow: 0 1px 1px 0 rgba(0, 28, 36, .5);
    border-top: 1px solid #eaeded;
    border-radius: 0;
    box-sizing: border-box;
    margin-bottom: 2rem;
    word-wrap: break-word;
    padding: 2em;
}

/* buy */

.tabs {
    display: block;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 6px;
}

.tabs li {
    display: inline;
    padding-right: 0.9em;
    margin: 0.5em 2em 4em 0;
    font-size: 1.8rem;
}

.tabs li a {
    color:#ffffff;
    cursor: pointer;
}

.tabs li a:focus, .tabs li a:hover {
    text-decoration: none;
} 

.tabs li a.current {
  color: #ff9d00;
  border-bottom: 3px solid #ffffff;
  padding-bottom: 6px;
}

@-moz-document url-prefix() {
    .tabs li a.current {
        padding-bottom: 5px;
    }
}

.tabarea h3 {
    text-transform: uppercase;
    margin: 1em 2em 1.5em 0;
    letter-spacing: 2px;
    color: #58afd6;
}

.tabarea ul {
    display:flex;
    flex-wrap: wrap;
}

.tabarea ul li {
    padding-bottom: 2em;
    min-width: 250px;
}

.tabarea ul li a {
    color: #ffffff;
    transition: all 0.3s linear;
}

.tabarea ul li a:focus, .tabarea ul li a:hover {
    color: #ff9d00;
}

.tabarea ul li a.light {
    font-weight: normal;
}

.tabarea h3.resellers {
    margin: 0 0 1em 0;
}

.tabarea div.spacer {
    margin-bottom: 2.5em;
}

.tabarea input.filter {
    width: auto;
    margin-right: 0.5em;
}

.tabarea select.filter {
    width: 20em;
    margin-top: 0.3em;
}

.tabarea .tag {
    color: #000;
    background-color: #bbb;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: bold;
    cursor: default;
    margin-left: 6px;
    padding: 2px;
}

/* tooltips */

.tooltip {
    position: relative;
    display: inline-block;
  }

  .tooltip .tooltiptext {
    visibility: hidden;
    width: 180px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -90px;
    opacity: 0;
    transition: opacity 0.3s;
  }

  .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }

  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }

/* contact us */

.contactus div.validation-error {
    color: #d13212;
    background: url("../images/error_icon.png") no-repeat left center;
    font-size: 1.3rem;
    padding-left: 20px;
    margin: -0.5rem 0 1rem 0;
}

.contactus .required {
    box-shadow: 0 0 2px 1px #ff0000;
}

form.contactus {
    width: 100%;
}

input, textarea, select {
    margin-bottom:1em;
    width: 100%;
}

textarea {
    min-height: 200px;
    font-family: "Amazon Ember Light";
    font-style: italic; padding:1em;
}

form .buttons {
    margin-top:2em;
}

.modal {
    display: block;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(35,47,62,0.15);
    cursor: default;
}

.modal img {
    margin: 15% auto;
}

.modal-content {
    background-color: #ffffff;
    border: 1px solid #16191f;
    padding: 0.3em 1em;
    font-size: 1.8rem;
    margin: 14.2% auto;
    width: 30em;
}

.modal-content div {
    padding: 2em 1.4em;
}

.modal-content span.close {
    font-family: Arial, Helvetica, sans-serif;
    color: #aaa;
    float: right;
    font-size: 34px;
    font-weight: bold;
    transition: all 0.3s linear;
}
.modal-content span.close:hover,
.modal-content span.close:focus {
    color: #16191f;
    text-decoration: none;
    cursor: pointer;
}

.privacy-note {
    text-align: justify;
    text-justify: inter-word;
}

/* Footer */

footer .wrapper {
    font-size: 80%;
}

footer p {
    display: block;
    width: 100%;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    font-family: "Amazon Ember Light";
    letter-spacing: 0.5px;
    transition: all 0.3s linear;
    font-weight: normal;
}

.footer a:focus,
.footer a:hover
    {color: #ff9d00;
}

.footer-links a,
.footer-links span {
    display: inline-block;
    margin: 0.5em 0.8em;
}

/* @media queries and grids */

@media screen and (min-width: 700px) {

    nav ul {
        display: flex;
        justify-content: flex-start;
        letter-spacing: 0.5px;
    }

    nav ul li {
        padding-right: 2em;
    }

    .nice_logo {
        width: 35%;
        margin-bottom: 0.5em;
    }

    .dcv_logo {
        margin-top: 1em;
        /*margin-bottom: 2em;*/
    }

    .buttons a {
        display: inline-block;
          font-weight: normal;
    }

    section {
        padding-top: 5em;
        padding-bottom: 4em;
        /*min-height: 600px;*/
    }

    footer .wrapper {
        display: flex;
    }

    .footer-links {
        flex: 100%;
        text-align: right;
    }

    form.contactus {
        width: 70%;
    }

    /* Scrolling effects */
    @media screen and (min-width:1900px) {

        .products {
            position: relative;
        }

        .screen {
            display: block;
            width: 50%;
            height: auto;
            position: absolute;
            overflow: hidden;
            left: -28%;
        }

        .screen.one {
            top: -10em;
            z-index: 200;
        }

        .screen.two {
            top: 10em;
            z-index: 100;
        }
        .screen.three {
            top: 30em;
        }

        .screen img {
            width: 100%;
            height: auto;
        }
    }
}

.hidden {
    display: none;
}
