/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Fonts
# Elements
# Galleries
# Forms
# Footer
## Powered-By
# Newsletter Form
# Comments
# Newsletter in Content
# Search Form
# Images
# Tables
# Quotes
# Blocks
--------------------------------------------------------------*/

.screen-reader-text {
    text-indent: -100rem;
}

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

.text-center {
    text-align: center;
}

code {
    background-color: #eef;
    padding: .2rem .5rem .1rem .5rem;
}

pre {
    border: 1px solid #e8e8e8;
    background-color: #eef;
    overflow-x: scroll;
    padding: .5rem;
}

/*--------------------------------------------------------------
# Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.button,
button,
.button:visited,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background: #6A1BC4;
    color: #fff;
    line-height: 1.5;
    padding: .6rem 1rem;
    border: 0 none;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    text-decoration: none;
    cursor: pointer;
    background-color: #480693;
    color: #fff;
}

.button:focus,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
.button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    text-decoration: none;
    background-color: #e54e52;
    color: #fff;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    padding: .7rem;
}

select {
    border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #243B53;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.twitter-heart {
    cursor: pointer;
}

.site-footer {
    margin: 4rem 0;
}

.site-footer menu {
    padding: 0;
    margin: 0;
}

.footer-last {
    margin-top: 2rem;
}

.footer-last ul {
    list-style: none;
}

.widgets {
    background-color: #253142;
    color: #a2b4cc;
    padding: 2rem 0;
}

.widgets a {
    color: #a2b4cc;
}

.widgets a:hover {
    color: #2488e1;
}

.site-footer .widget {
    margin-bottom: 2rem;
}

/*--------------------------------------------------------------
## Powered-By
--------------------------------------------------------------*/

.powered-by {
    display: block;
    text-align: center;
    font-size: .8rem;
    margin-top: 2rem;
}

.powered-by a {
    text-decoration: none;
    color: inherit;
}

.powered-by a:hover {
    color: #e54e52;
}

.powered-by a:hover svg {
    fill: #e54e52;
}

.powered-by svg {
    vertical-align: middle;
}


/*--------------------------------------------------------------
# Newsletter Form
--------------------------------------------------------------*/
.newsletter-form {
    margin: 2rem 0;
}

.newsletter-form .datenschutz a {
    color: inherit;
}

/*--------------------------------------------------------------
# Boxes
--------------------------------------------------------------*/

.box-info {
    background-color: #fffce6;
    border: 1px dotted #bbb;
    padding: .5rem;
}

/*--------------------------------------------------------------
# Newsletter in Content
--------------------------------------------------------------*/

.newsletter-now {
    margin: 1em 0;
    position: relative;
    border: 1px dashed #e54e52;
}

.newsletter-now-form {
    display: none;
    left: 0;
    width: 100%;
    top: 4rem;
}

.newsletter-now-checkbox {
    display: none;
}

.newsletter-now > label {
    padding: 1em;
    cursor: pointer;
    display: block;
    font-size: .85em;
}

label.newsletter-now-label-last {
    position: absolute;
    top: 0;
    left: 50%;
    padding-left: 0;
}

.newsletter-now input:checked + section {
    padding-top: 1em;
    display: block;
}

.newsletter-now-form {
    background-color: #e26f04;
    color: #fff;
    padding: 1em;
}

.newsletter-now-form.dev {
    background-color: #a6bfd4;
}

.newsletter-now h1 {
    margin-top: 0;
    font-size: 1.5em;
}

.newsletter-now-content-left {
    width: 50%;
}

.newsletter-now .newsletter-input {
    margin-bottom: .5rem;
}

.newsletter-now button {
    padding: .5em;
}

.newsletter-now svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.newsletter-now svg path {
    fill: #fff;
}

.newsletter-now-form input {
    width: 100%;
}

label.datenschutz {
    cursor: pointer;
    padding-left: 0;
    display: block;
    margin: .5em 0 1em 0;
}

.datenschutz input {
    display: inline-block;
    width: auto;
    margin: 0 1rem 0 0;
    cursor: pointer;
}

.datenschutz a {
    color: #fff;
    text-decoration: underline;
}

@media (min-width: 700px) {
    .newsletter-now > label {
        font-size: 1em;
    }

    .newsletter-now input:checked + section {
        display: flex;
    }

    .newsletter-now-form > div {
        flex: 0 0 50%;
    }

    .newsletter-now-form {
        background: #e26f04 url(/wp-content/themes/lynk/img/newsletter-pirat.jpg) no-repeat -70% 0;
        background-size: contain;
    }

    .newsletter-now-form.dev {
        background: #a6bfd4 url(/wp-content/themes/lynk/img/newsletter-superhero.jpg) no-repeat -50% 0;
        background-size: contain;
    }

}


/*--------------------------------------------------------------
# Search Form
--------------------------------------------------------------*/
.search-form {
    display: flex;
}

.search-field {
    flex: 1 1 auto;
}

/*--------------------------------------------------------------
# Images
--------------------------------------------------------------*/

.wp-block-image.bordered img {
    border: 1px solid #d5d2d0;
}

/*--------------------------------------------------------------
# Tables
--------------------------------------------------------------*/

.lynk-comparison {
    position: relative;
    margin: .4rem 0 0 0;
    overflow: hidden;
    font-size: .8em;
}

.lynk-comparison-inner {
    overflow-x: scroll;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}

.lynk-comparison table {
    table-layout: fixed;
    width: auto;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    padding-right: 100px;
}

.lynk-comparison tbody th,
.lynk-comparison tbody td {
    padding: .5rem 1rem;
    vertical-align: top;
}

.lynk-comparison tbody td {
    width: 220px;
    min-width: 220px;
}

.lynk-comparison thead tr > th:first-child,
.lynk-comparison tbody th {
    padding: .5rem 1rem;
    text-align: right;
    width: 220px;
}

.lynk-comparison tbody td:first-of-type {
    padding-left: 1rem;
}

.lynk-comparison td {
    border-right: 1px solid #E2E7EE;
    border-bottom: 1px solid #E2E7EE;
}

.lynk-comparison tbody > tr:first-child {
    border-top: 1px solid #E2E7EE;
}

.lynk-comparison tbody > tr:last-child td {
    border-bottom: 0 none;
}

.lynk-comparison-headline th, .lynk-comparison-model td:first-of-type {
    border-color: transparent;
}

.lynk-comparison:after {
    content: ' ';
    position: absolute;
    height: 100%;
    width: 3rem;
    top: 0;
    right: 0;
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 1%, white 100%);
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 1%, white 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 1%, white 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#001e5799', endColorstr='#ffffff', GradientType=1);
}

.lynk-comparison tbody .lynk-comparison-model th {
    vertical-align: middle;
}

.lynk-comparison thead th:first-child {
    min-width: 160px;
    text-align: right;
}

/*--------------------------------------------------------------
# Quotes
--------------------------------------------------------------*/

blockquote {
    margin: 2rem 0;
    padding: 1rem;
    position: relative;
    border: 2px solid #e54e52;
}


blockquote p {
    padding-left: 1rem;
    font-style: italic;
    text-align: justify;
}

blockquote cite {
    font-size: .8rem;
    text-align: right;
    display: block;
    font-style: normal;
}

/*--------------------------------------------------------------
# Blocks
--------------------------------------------------------------*/
.lynk-columns-highlighted {
    background-color: #F0F4F8;
}

