/*
orange: #ffad00
rot: #690d23

*/

@font-face {
    font-family: 'PT Sans';
    src: url('PTS55F-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'PT Sans';
    src: url('PTS75F-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'PT Sans';
    src: url('PTS76F-webfont.woff') format('woff');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'PT Sans';
    src: url('PTS56F-webfont.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Merriweather';
    src: url('mi-webfont.woff2') format('woff2'),
    url('mi-webfont.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Merriweather';
    src: url('m-webfont.woff2') format('woff2'),
    url('m-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('mb-webfont.woff2') format('woff2'),
    url('mb-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('mbi-webfont.woff2') format('woff2'),
    url('mbi-webfont.woff') format('woff');
    font-weight: 700;
    font-style: italic;
}

body {
    background:#efefef;
    font-family: "PT Sans",sans-serif;
    background: #f3f3f3;
    cursor: default;
    /*
    background: url('/theme/schwaebischmedia/img/space.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    */
}

body.mt4 {
    margin-top: 4rem;
}

#main-content {
    margin-top: 6rem;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "PT Sans",sans-serif;
    /*color: #690d23;*/
}

.nav-item a {
    display: block;
    padding: 1.5em 2em 1.2em 2em;
    color: #555;
}

@media (max-width: 576px) {
    li.nav-item.active a {
        color: #ffad00;
    }
}

.text-lightgrey {
    color: #ccc;
}

.merriweather, .navbar .nav-item {
    font-family:"Merriweather",serif;
    color: #555;
}

.title.merriweather {
    text-transform: uppercase;
}

.titlebox h1 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 4em;
    word-break: break-all;
}

.titlebox h6, .titlebox p {
    opacity: 0.85;
}

.content a{
    text-decoration:none;
    color: #ffad00;
}

.content a:hover {
    text-decoration:underline;
    color: #690d23;
}

.portfolionav {
    box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
    padding: 0;
}

.portfolionav .navbar-brand-logo {
    max-height: 40px;
}

.portfolionav .nav-item {
    font-family:Merriweather;
    border-bottom: 3px solid #fff;
    flex-grow:1;
}

@media (min-width: 768px) {

    .portfolionav .nav-item.active, .portfolionav .nav-item:hover {
        background-color:#eee;
        border-bottom: 3px solid #ffad00;
        color: #333;
    }
}

/* Grid Filter Area */
.grid {
    min-height: 350px;
}

.sm_prod_filters button {
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
    -webkit-transition: background-color 0.25s;
    transition: background-color 0.25s;
}

.sm_prod_filters .btn.active {
    background: #ffad00;
}

.sm_prod_filters .btn:not(.active):hover {
    color: #ffad00;
}


.sm_prod_filters .btn.description, .sm_prod_filters .btn.description:hover {
    background: #ccc;
    font-weight: bold;
    color: #000;

}

.sm_product_teaser {
    color: #444;
    -webkit-transition: border 0.25s;
    transition: border 0.25s;
}


.sm_product_teaser:hover {
    border: 1px solid rgba(0,0,0,.25);
}

.sm_product_teaser h6 {
    font-weight: 700;
    text-decoration: none;
    margin-bottom: .3rem;
    height: 1.2em;
    overflow: hidden;
    font-family: "PT Sans",sans-serif;
    /*color: #690d23;*/
}

.sm_product_teaser span.subtitle {
    font-size: 0.8em;
    color: #999;
    height: 1.5em;
    overflow: hidden;
    margin-bottom: 1em;
}

.sm_product_packshot_wrapper {
    max-width: 100%;
    height: auto;
}

.sm_product_packshot_wrapper .img-fluid {
    display: block;
    max-width: 100%;
    max-height: 160px;
    width: auto;
    height: auto;
}

.sm-product-discount {
    position: absolute;
    right: -0.2em;
    top: -0.5em;
    width: 4rem;
    height: 4rem;
    background: #690d23;
    border-radius: 50%;
    color: #fff;
    font-size: 0.8em;
    line-height: 1em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(10deg);
    transition: transform 0.2s ease-in-out;
}

.sm_product_teaser:hover .sm-product-discount {
    transform: scale(1.5) rotate(20deg);
}


.sm_product_teaser span.teasertext,
.svmd_product_archive svmd_product_teaser_text {
    font-size: 0.8em;
    color: #333;
    height: 4.5em;
    overflow: hidden;
}

.sm_product_teaser span.teasertext p {
    margin-bottom:0;
}

#product-sharing-dialog {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 600px;
    margin: 20px auto;
}

/* Custom container */
.container-fluid {
    margin: 0 auto;
    max-width: 1000px;
}
.container-fluid > hr {
    margin: 60px 0;
}

/* rocket */
.sm-rocket-front {
    padding-top: 2em;
    background: #faba05;
    margin: 2em 0 3em 0;
}

#rocket-wrapper {
    margin-bottom: 6rem;
}

#rocket-offset {
    position: absolute;
    left: 50%;
    height: 100%;
    width: auto;
}

#rocket {
    height: 100%;
    width: auto;
    position: relative;
    left: -55%;
    top: -20px;
    z-index: 100;
    transform: rotate(17deg);

}

#rocket img {
    max-height: 100%;
    width: auto;
    animation: rocketspeed 1s ease infinite;
}

#rocket-space {
    width: 50vw;
    height: 50vw;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    overflow: hidden;
    background: url('/theme/schwaebischmedia/img/rocket_space.jpg') repeat #000;
    position: relative;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

@media (min-width: 800px) {
    #rocket-space {
        width: 30vw;
        height: 30vw;
    }
}

#rocket-space-background {
    width: 1500px;
    height: 3000px;
    background: url('/theme/schwaebischmedia/img/rocket_space.jpg') repeat #000;
    animation: spaceflight 60s linear infinite;
    position: absolute;
}

@keyframes spaceflight {
    0%{
        transform: translate3d(0, -2500px, 0);
    }
    100%{
        transform: translate3d(-1000px, 0, 0);
    }
}

@keyframes rocketspeed {
    0%{
        transform: rotate(7deg) translate(-1px, 1px);
    }
    25%{
        transform: rotate(6.9deg) translate(0px, 1px);
    }
    45%{
        transform: rotate(7eg) translate(-1px, 0px);
    }
    65%{
        transform: rotate(7.1deg) translate(-1px, 1px);
    }
    85%{
        transform: rotate(7deg) translate(-1px, 1px);
    }
    95%{
        transform: rotate(7.1deg) translate(-1px, 1px);
    }
    100%{
        transform: rotate(7deg) translate(-1px, 1px);
    }
}

#rocket-clouds {
    position: absolute;
    bottom: -2px;
    left: -150px;
    width: 1000px;
    height: 179px;
    background: url('/theme/schwaebischmedia/img/rocket_clouds.png') no-repeat;
}


/* Factsheet table layout */
.factsheet {
    cursor: default;
    padding: 1em;
    font-size: 0.9em;
}

.factsheet tr:first-child td, .factsheet tr:first-child th {
    border-top: none;
}

.factsheet .row {
    vertical-align: middle;
    position: relative;
    padding: 0.3em 0;
}
/*
.factsheet .row a {
    color: #333;
}
*/

.factsheet .mainrow {
    border-bottom: 1px solid #ccc;
    padding: .7rem;
}

.factsheet .mainrow:hover {
    background: #eee;
}

.factsheet .links {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.factsheet .links a {
    display: inline-block;
    color: #690d23;
    padding-left: 0.5em;
    font-size: 0.9em;
}

.factsheet .links a:hover, .factsheet .row a:hover {
    color: #ffad00;
}



.factsheet-head {
    background: #f3f3f3;
    border-bottom: 1px solid #aaa;
    display: none;
}

.factsheet tr:hover td.sharing-buttons a {
    color: #333;
}
/*
.factsheet td a, .factsheet th a {
    color: #333;
}
*/

.factsheet td a:hover, .factsheet th a:hover {
    color: #ffad00;
}

.sm_factsheet_actions {
    text-align: right;
}

.sm_factsheet_actions a, .sm_factsheet_actions span {
    width: 1.4em;
    height: auto;
    opacity: 0.8;
}

td.sharing-buttons {
    padding: 0 !important;
    margin: 0;
    text-align: right;
}

td.sharing-buttons a {
    display: inline-block;
    padding: 0 0.5em;
    color: #fff;
}

td.sharing-buttons a:hover {
    color: #ffad00 !important;
}

.sm-product-gallery {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}

@media (min-width: 768px) {
    .sm-product-gallery {
        flex-wrap: wrap;
        overflow-x: none;
    }
}

.sm-product-gallery div {
    flex: 0 0 auto;
}

.footer {
    background: #222;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: #ffad00;
}

.footer .card {
    background:none;
    border: none;
}

.footer .copyright {
    background: #282828;
}

.footer .links a {
    display: block;
}

.footer .logos img {
    height: 1.5em;
    width: auto;
    display: block;
    margin: 1em 0;
    opacity: 0.8;
}

.footer .logos a:hover img {
    opacity: 1;
}

.sm-separator {
    border-left: 1px solid #555;
    height: 80%;
}

.btn-outline-sm {
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}


/* Detail Page Styles */

.card-nav-tabs {
    border-bottom: none;
    margin-bottom: 1px;
}

.card-nav-tabs .nav-item {

}

.card-nav-tabs .nav-item .active {
    border-bottom: 2px solid #ffad00;
}

.sm_product_pros ul {
    list-style: none;
    padding: 0;
}

.sm_product_pros li {
    position:relative;
    padding-bottom: 1em;
    padding-left: 2em;
}

.sm_product_pros li strong {
    color: #690d23;
}

.sm_product_pros ul li:before {
    display:inline-block;
    position: absolute;
    top: 0.1em;
    left: 0;
    font-family: "Font Awesome 5 Free";
    content:"";
    color: #690d23;
    transition: transform .2s ease-in-out;
    font-size: 1.1em;
    font-weight: bold;

}

.sm_product_pros ul li:hover::before {
    transform: scale(1.4);
}

/* Responsive Video */
.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.responsive-video {
    position: relative;
    padding-bottom: 56.25%; /* Default for 1600x900 videos 16:9 ratio*/
    padding-top: 0px;
    height: 0;
    overflow: hidden;
    cursor: pointer;
}

.responsive-video img {
    width: 100%;
    height: auto;
}

.sm-play-button {
    position: absolute;
    top: 45%;
    left: 45%;
    width: 4em;
    height: 4em;
    color: #fff;
    background: #690d23;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease-in-out;
}

.sm-play-button i {
    margin-left: 4px;
}

.responsive-video:hover .sm-play-button {
    background-color: #ffad00;
}


#sm-yt-iframe {
    display:none;
}

.specs_pricing_html table {
    border: none;
}

.specs_pricing_html table td:not(:first-child), .specs_pricing_html table th:not(:first-child), .specs_pricing_html table th[colspan]:not([colspan="1"]){
    text-align:center;
}

.specs_pricing_html table th[colspan]:not([colspan="1"]){
    background: #f3f5f6;
}

.specs_pricing_html table td:not(:first-child){
    font-size: 80%;
    vertical-align: middle;
}

.specs_pricing_html table tr:first-child th:first-child {
    border-top: none;
    border-left: none;
    background: #fff;
}

.product-sharing {
    position:absolute;
    top: 2em;
    right: -1em;
}

.product-sharing div {
    display: inline-block;
}

.product-sharing a{
    cursor: pointer;
    display: flex;
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 1em;
    border-radius: 25px;
    overflow: hidden;
    background-color: #690d23;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.product-sharing a:hover {
    background-color: #ffad00;
    color: #333;
    text-decoration: none;
}



.btn-red {
    background: #690d23;
    color:#fff;
}



.sm-button {
    background: #ffad00;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.sm-button img {
    height: 50%;
    width: auto;
    margin: 0px 0px 1px 2px;
}

.sm-button:hover {
    background: hsl(41, 100%, 40%);
}

.sm-button-small{
    width: 1.5em;
    height: 1.5em;
}

.sm-factsheet-buttons {
    padding: 0;
}

.pricing-packages ul {
    padding-inline-start: 1em;
}

.pricing-packages ul li {
    margin-bottom: 0.5em;
}

/* CONTACT SEARCH */

.contactsearch-hint {
    font-size: 90%;
    line-height: 1.2;
}

#contact-search-map {
    height: 150px;
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

#contactsearch-result-address p {
    display: inline-block;
    margin: 0;
    margin-top: -5px;
}

#contactsearch-result-contacts .col-border {
    border-left: 1px solid #999;
    padding-left: 1em;
}

#contact-search-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: #333;
    opacity: 0.8;
    z-index: 100;
}

#contactsearch-result {
    position: relative;
    z-index: 0;
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    margin-top: 20px;
    margin-bottom: -90px; /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
}
.navbar-wrapper .navbar {

}

/* Remove border and change up box shadow for more contrast */
.navbar .navbar-inner {
    border: 0;
    -webkit-box-shadow: 0 2px 10px rgba(0,0,0,.25);
    -moz-box-shadow: 0 2px 10px rgba(0,0,0,.25);
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

/* Downsize the brand/project name a bit */
.navbar .brand {
    padding: 14px 20px 16px; /* Increase vertical padding to match navbar links */
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}

/* Navbar links: increase padding for taller navbar */
.navbar .nav > li > a {
    padding: 15px 20px;
}

/* Offset the responsive button for proper vertical alignment */
.navbar .btn-navbar {
    margin-top: 10px;
}




/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .span4 {
    text-align: center;
}
.marketing h2 {
    font-weight: normal;
}
.marketing .span4 p {
    margin-left: 10px;
    margin-right: 10px;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (max-width: 979px) {

    .container.navbar-wrapper {
        margin-bottom: 0;
        width: auto;
    }
    .navbar-inner {
        border-radius: 0;
        margin: -20px 0;
    }

    .carousel .item {
        height: 500px;
    }
    .carousel img {
        width: auto;
        height: 500px;
    }

    .featurette {
        height: auto;
        padding: 0;
    }
    .featurette-image.pull-left,
    .featurette-image.pull-right {
        display: block;
        float: none;
        max-width: 40%;
        margin: 0 auto 20px;
    }
}


@media (max-width: 767px) {

    .navbar-inner {
        margin: -20px;
    }

    .carousel {
        margin-left: -20px;
        margin-right: -20px;
    }
    .carousel .container {

    }
    .carousel .item {
        height: 300px;
    }
    .carousel img {
        height: 300px;
    }
    .carousel-caption {
        width: 65%;
        padding: 0 70px;
        margin-top: 100px;
    }
    .carousel-caption h1 {
        font-size: 30px;
    }
    .carousel-caption .lead,
    .carousel-caption .btn {
        font-size: 18px;
    }

    .marketing .span4 + .span4 {
        margin-top: 40px;
    }

    .featurette-heading {
        font-size: 30px;
    }
    .featurette .lead {
        font-size: 18px;
        line-height: 1.5;
    }

}

.contactfooter {
    background:#333;
}