/*
  Standard styles for the savvy7 GmbH.
*/

* {
    box-sizing: border-box;
}

body {
    background-color: #ccc;
    border-spacing: 0px;
    padding: 0px;
    margin: 0px;
    font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
    font-size: 12pt;
    color: #000;
}

pre {
    overflow: hidden;
}

.address {
    margin: 10px 0px 20px 0px;
    text-align: left;
}

.screenshot {
    margin: 20px 0px 20px 0px;
    text-align: center;
}

.screenshot img {
    border: 1px solid #e0e0e0;
}

.iphone-download {
    margin: 20px 0px 20px 0px;
    text-align: center;
}

.iphone-download img {
    border: none !important;
}

.title {
    margin: 10px 0px 0px 0px;
    text-align: right;
    font-weight: bold;
}

.text {
    margin: 20px 0px 0px 0px;
    text-align: left;
}

.disabled {
    color: #bbb;
}

/* Get rid of anoying paddings but keep in certain classes */

form, table, tr, td {
    padding: 0px;
    margin: 0px;
}

hr {
    margin-top: 15px;
    margin-bottom: 15px;
}

/*
  Paragraphs have to start with no margin to work inside DIVs: This the
  only place they are used of (because of textile library RedCloth).
*/

p {
    margin-top: 0px;
    margin-bottom: 5px;
}

/* Headings all have a box and float in the text. */

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #000000;
}

/* The sizes of the different headings. */

h1 {
    font-size: 180%;
}

h2 {
    font-size: 160%;
}

h3 {
    font-size: 140%;
}

h4 {
    font-size: 120%;
}

h5 {
    font-size: 100%;
}

h6 {
    font-size: 100%;
}

/* We define our own list styles. */

ul {
    list-style-type: square;
    margin-left: 0px;
    padding-left: 25px;
}

ul.branded {
    list-style-image: url('../images/bullet.gif');
    padding-left: 0;
}

ol {
    list-style-type: upper-roman;
    margin-left: 0px;
    padding-left: 30px;
}

dt {
    font-weight: bold;
    margin-left: 0px;
    padding-left: 25px;
}

li {
    padding-left: 0px;
    list-style-position: inside;
}

code {
    font-family: "monospace";
    color: #0000aa;
}

em {
    color: #444444;
}

strong {
    color: #000000;
}

textarea {
    font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
    font-size: 12pt;
}

/* We define our own link behaviour to look less clumsy. */

a:link, a:visited, a:active {
    color: #000000;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: #000000;
    text-decoration: underline;
}

blockquote {
    border-left: 5px solid #ddd;
    margin-left: 0;
    padding-left: 0.5em;
}

body .card {
    width: 95%;
    max-width: 650px;
    position: absolute;
    background: white;
    margin: 0 auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    transition: all 0.3s;
}

body .card.expanded {
    top: 25px;
    transform: translate(-50%, 0);
}

body .card:hover {
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

body .card nav {
    width: 100%;
    color: #727272;
    text-transform: uppercase;
    padding: 20px;
    border-bottom: 2px solid #efefef;
    font-size: 14px;
}

body .card .footer {
    width: 100%;
    color: #727272;
    clear: both;
    text-transform: uppercase;
    padding: 20px;
    border-top: 2px solid #efefef;
    font-size: 14px;
}

body .card nav svg.envelope {
    height: 24px;
    width: 24px;
    float: right;
    margin-top: -3px;
    transition: all 0.3s ease;
    cursor: pointer;
}

body .card nav svg.envelope:hover {
    fill: red;
}

body .card nav svg.heart {
    float: left;
    height: 16px;
    width: 16px;
    margin-right: 5px;
}

body .card .photo {
    padding: 50px 0.3vw;
    width: 45%;
    text-align: center;
    float: left;
}

body .card .photo img {
    max-height: 240px;
}

body .card .sidebar {
    padding: 35px 0.3vw 0 0;
    float: left;
    width: 55%;
    border-left: none;
}

body .card .description {
    padding: 0.5em 1em;
}

h1 {
    color: #515151;
    font-weight: 300;
    padding-top: 15px;
    margin: 0;
    font-size: 30px;
    font-weight: 300;
}

h2 {
    color: #515151;
    margin: 0;
    text-transform: uppercase;
    font-weight: 500;
}

h4 {
    margin: 0;
    color: #727272;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12px;
}

p, li {
    font-size: 12px;
    line-height: 1.5em;
    color: #727272;
    padding: 0.5em 0;
    margin: 0;
}

.sidebar p {
    line-height: 20px;
    padding: 1em 0;
}

button {
    outline: 0;
    border: 0;
    background: none;
    border: 1px solid #d9d9d9;
    padding: 8px 0px;
    margin-bottom: 30px;
    color: #515151;
    text-transform: uppercase;
    width: 125px;
    font-family: inherit;
    margin-right: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

button:hover {
    border: 1px solid #aedaa6;
    color: #aedaa6;
    cursor: pointer;
}

body .card .more {
    padding: 1em;
}

@media (max-width: 640px) {
    body .card .photo {
        float: none;
        padding: 0.5em 1em;
    }
    body .card .sidebar {
        padding: 0.5em 1em;
        float: none;
        width: 100%;
        border-left: none;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
        background: #FFFFFF;
    }
    body .card,
    body .card.expanded {
        position: initial;
        border: none;
        transform: none;
        box-shadow: none;
        width: 100%;
        margin: 0;
    }
    body .card:hover {
        box-shadow: none;
    }
}