html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    background-color: #c7b29d;
    font-size: 19px;
    line-height: 1.2em;
}

.Card {
    position: relative;
    margin-bottom: 30px;
    padding: 15px;
    background-color: white;

}

.Card:last-child {
    margin-bottom: 0;
}

h2 {
    display: block;
    position: relative;
    padding: 10px;
    /*height:45px;*/
    top: -30px;
    margin-bottom: -15px;
    left: -15px;
    background-color: #5d719e;
    font-family: 'Ubuntu', sans-serif;
    font-size: 30px;
    line-height: 45px;
    float: left;
}

#BgTop {
    background-color: #171512;
    width: 100%;
    height: 150px;
    position: relative;
    top: 0px;
    left: 0px;
    margin-bottom: 50px;
}

#Logo {
    font-family: 'Ubuntu', sans-serif;
    background-color: #5d719e;
    /*min-width: 450px;*/
    height: 150px;
    position: absolute;
    top: -185px;
    left: 0;
    font-size: 60px;
    line-height: 75px;
    padding: 10px;
}
#LogoLeft {
    height: 130px;
    width: 130px;
    position:absolute;
    top: 0px;
    right: -135px;
}
#Logo img {
    height:130px;
    width:130px;
}
#ContentContainer {
    max-width: 1000px;
    position: relative;
}

#keypadup {
    height: 30px;
    width: 50px;
    line-height: 30px;
    position: fixed;
    bottom: -31px;
    right:15%;
    margin-right: 15px;
    line-height: 30px;
    background-color: white;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 1px solid #8c8c8c;
    border-bottom: none;
    transition:bottom .5s ease-in-out;
}
#keypadup img {
    height: 20px;
    width: 40px;
    margin-top: 5px;
    margin-bottom: 5px;
}

@media handheld, screen and (max-width: 600px) {

    #BgTop {
        height: 100px;
        margin-bottom: 50px;
    }

    #ContentContainer {
        margin-left: 10px;
        margin-right: 10px;
    }
    #keypadup {
        right: 15px;
        margin-right: 10px;

    }
    #Logo {
        min-width: 167px;
        height: 100px;
        top: -135px;
        font-size: 40px;
        line-height: 50px;
        position: absolute;

    }
    #LogoLeft {
        position:absolute;
        top: 0;
        right: -133px;
    }
    #Logo img {
        height:85px;
        width:85px;
    }
    h2 {
        font-size: 20px;
    }
}

@media handheld, screen and (min-width: 600px) {
    #ContentContainer {
        margin-left: 15%;
        margin-right: 15%;
    }
}

@media handheld, screen and (min-width: 1450px) {
    #ContentContainer {
        margin: 0 auto;
    }
}

.Title {
    margin-bottom: 30px;
    padding: 15px;
    /*padding-right:20%;*/
    text-align: left;
    background-color: white;
}
p.Title {
    margin-bottom: 10px;
    padding:0;
    font-size: 1.2em;
    line-height: 1.3em;
}

.InputPercent {
    width: 50px;
    text-align: center;
    padding-right: 3px;
    padding-left: 3px;
    height: 1.2em;
}
.InputPercent:focus {
    outline: 1px solid #a5c0ef!important;
}

.Calculator {
    padding-left: 15px;
    border-left: 5px solid #5d719e;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #fceedf;
}

p {
    margin-bottom: 10px;
    /*margin-top:15px;*/
}

p:last-child {
    margin-bottom: 0;
    /*margin-top:15px;*/
}

.CalculatorAnswer {
    margin-top: 15px;
    display: none;
}

form + p {
    margin-top: 15px;
}

h2 + * {
    clear: both;
}

#MainContainer {
    min-height: 100%;
    position: relative;
}

#ContentContainer {
    padding-bottom: 30px;
}

html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
}

#copyright {
    position: absolute;
    width: 100%;
    bottom: 0;
    color: #ad9985;
    text-align: center;
    font-size: 10px;
    height: 30px;
    line-height: 30px;
}
a {
    text-decoration: none;
}
a:link {
    color: #7b8fbf;

}
a:visited {
    color: #64739c;
}
a:hover,a:hover,a:active {
    color: #64739c;
    border-top: solid #7b8fbf 1px;
    border-bottom: solid #7b8fbf 1px;
}
.CalulateButton {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ebedf0), color-stop(1, #d0d3d9));
    background:-moz-linear-gradient(top, #ebedf0 5%, #d0d3d9 100%);
    background:-webkit-linear-gradient(top, #ebedf0 5%, #d0d3d9 100%);
    background:-o-linear-gradient(top, #ebedf0 5%, #d0d3d9 100%);
    background:-ms-linear-gradient(top, #ebedf0 5%, #d0d3d9 100%);
    background:linear-gradient(to bottom, #ebedf0 5%, #d0d3d9 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebedf0', endColorstr='#d0d3d9',GradientType=0);
    background-color:#d0d3d9;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    border:1px solid #394866;
    display:inline-block;
    cursor:pointer;
    color:#000000;
    padding:1px 10px;
    text-decoration:none;
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
    -webkit-touch-callout: none; /* Disable Android and iOS callouts*/
    user-select: none;          /* Likely future */
}

.CalulateButton:active {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #d0d3d9), color-stop(1, #ebedf0));
    background:-moz-linear-gradient(top, #d0d3d9 5%, #ebedf0 100%);
    background:-webkit-linear-gradient(top, #d0d3d9 5%, #ebedf0 100%);
    background:-o-linear-gradient(top, #d0d3d9 5%, #ebedf0 100%);
    background:-ms-linear-gradient(top, #d0d3d9 5%, #ebedf0 100%);
    background:linear-gradient(to bottom, #d0d3d9 5%, #ebedf0 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d0d3d9', endColorstr='#ebedf0',GradientType=0);
    background-color:#d0d3d9;
    position:relative;
    top:1px;
}

div.ReadMore {
    position: relative;
    margin-bottom: 15px;
    background-color: #fafafa;
    border-top: solid #e5e5e5 1px;
    border-left: solid #e5e5e5 1px;
    border-right: solid #e5e5e5 1px;
}

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

label.ReadMore {
    position: relative;
    display:block;
    text-align: center;
    border-bottom: solid #e5e5e5 1px;

    /*box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1), inset -1px -1px rgba(0, 0, 0, 0.1);*/
    /*margin-top: 15px;*/
    margin-bottom: 15px;
    background-color: #f5f6fa;
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
    -webkit-touch-callout: none; /* Disable Android and iOS callouts*/
    user-select: none;          /* Likely future */
}

label.ReadMore:hover  {
    background: rgba(0,0,0,.5);
    color: rgb(255,255,255);
}

label.ReadMore div:first-of-type {
    height: 100%;

    padding:15px;
}
label.ReadMore div:last-of-type {
    display: none;
    visibility: hidden;
}

label.ReadMore input.ReadMore:checked ~ div:first-of-type {
    display: none;
    visibility: hidden;

}
label.ReadMore input.ReadMore:checked ~ div:last-of-type {
    display: block;
    visibility: visible;
    border-top: solid #e5e5e5 1px;
    height: 100%;
    padding:15px;
}
div.ReadMore p {
    display: none;
    -webkit-transition: height 4s; /* Safari */
    transition: height 4s;
    padding:15px;
    padding-bottom: 0;
}
label.ReadMore:last-child {
    margin-bottom: 0;
}
.noBreak {
    white-space: nowrap
}
input:invalid, input.invalid {
    background-color: #FFCCCC;
}
input.empty {
    background-color: rgba(255, 255, 0, 0.34);
}
.b {
    font-weight: bold;
}
.i {
    font-style: italic;
 }
.errorText {
    color:#8d1010;
    margin-bottom:0;
    margin-top:10px;
}
.infoText {
    font-style: italic;
    margin-bottom:0;
    margin-top:10px;
 }
.scoreText {
    font-weight: bold;
    margin-top:10px;
    margin-bottom:0;
}
.scoreText + .infoText {
    margin-top: 0;
}
#NpsFromScratchScore:empty {
    display:none;
}
#NpsFromScratchScore {
    margin-bottom: 5px;
}

.togglelink img {
    position: relative;
    vertical-align: middle;
}
.togglelink:hover {
    border:hidden;
}
.togglelink:active img {
    top:1px;
}
#keyboard {
    transition:bottom .5s ease-in-out;
    position: fixed;
    bottom:-300px;
    left:0;
    right:0;
    z-index:100000;
    background-color: white;
    opacity: 0;
}
#keyboard.out{
    bottom:0;
    opacity: 100;
}
#innerkeyboard {
    width:200px;
    margin: 0 auto;
    padding-top: 15px;
    padding-bottom: 15px;
    position: relative;
}
#keyboard .key {
    width:42px;
    height:42px;
    margin:2px;
    float: left;
    border-radius: 10px;
    border: 2px solid black;
    text-align: center;
    line-height: 42px;
    font-size: 25px;
    color: #5d719e;
    position: relative;
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */

    /* Rules below not implemented in browsers yet */
    -o-user-select: none;
    user-select: none;
    vertical-align: middle;
    display:block;
}
.key.image {
    vertical-align: top;
}
.key .bksp {
    display: block;
    width:25px;
    position: relative;
    top: 50%;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
#keyboard .word {
    font-size: 15px;
}
#keyboard:focus { /*hide input border*/
    outline: 0;
}
#keyboard .key:active {
    transform: translateY(1px);
    -webkit-transform: translateY(1px);
    -ms-transform: translateY(1px);
    background-color: rgba(0,0,0,.5);
}


input[type='text'],
input[type='number'],
textarea {
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 13.33px;
}
.KeyPadInline{
    position: relative;
    display:inline-block;
    height: 1px;
    width: 25px;
    vertical-align: middle;
}
.KeyPadInline img {
    position: absolute;
    top:-10px;
    opacity: 0;
}
#keyboard .key.extra {
    position: absolute;
    right:-50px;
}
.clickIcon {
    display: inline-block;
    height: 25px;
    width: 25px;
    vertical-align: middle;
    background: url('/images/clickme.svg');
    background-size: 25px 25px;
}
.touchIcon {
    display: inline-block;
    height: 25px;
    width: 25px;
    vertical-align: middle;
    background: url('/images/touchme.svg');
    background-size: 25px 25px;
}
