/* Resets */

* {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 15px;
    line-height: 140%;
    font-style: normal;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: 'Roboto', "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    color: #000;
}

li {
    list-style: none;
}

a {
    color: #000;
    text-decoration: underline;
    cursor: pointer;
}

p a,
span a {
    text-decoration: underline;
}

p a:hover,
span a:hover {
    color: #00B4FA;
}

a:hover {
    color: #00B4FA;
}

.bold {
    font-weight: 700;
}

.rotate {
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition: 300ms linear all;
    transition: 300ms linear all;
}

.rotate-back {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 300ms linear all;
    transition: 300ms linear all;
}

img {
    width: 100%;
}

.light-gray {
    background-color: #f8f8f8;
}

.dark-gray {
    background-color: #e6e6e6;
}

.mx-img {
    margin-bottom: 15px;
    cursor: pointer;
}

.icon-magnifier {
    width: 25px;
    height: 25px;
    background: url(../img/icon_search.png) 50% 50% no-repeat;
    background-color: rgba(0, 0, 0, 0.3);
    background-size: 15px 15px;
    display: inline-block;
    position: absolute;
    top: 0;
    right: 15px;
    cursor: pointer;
}


/* Gallery */

#medignition-gallery .pswp__button--close {
    width: 40px;
    height: 40px;
    display: inline-block;
    webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 2px solid #000;
    background: url(../img/icon_gallery_close.png) no-repeat 50% 50% #FFF;
    background-size: 20px 20px;
    margin: 15px;
}

#medignition-gallery .pswp__button--close:hover {
    background: url(../img/icon_gallery_close.png) no-repeat 50% 50% #ffffdc;
    background-size: 20px 20px;
}

#medignition-gallery .pswp__bg,
#medignition-gallery .pswp__top-bar {
    background: #f2f2f2;
}

#medignition-gallery .pswp__caption {
    background: #FFF;
}

#medignition-gallery .pswp__counter {
    bottom: 0;
    left: 60px;
    color: #1E4678;
    top: auto;
    z-index: 2;
    font-size: 13px;
    font-weight: 700;
    opacity: 1;
}

#medignition-gallery .pswp__caption__center {
    color: #1E4678;
    font-weight: 700;
    margin: 2px 30px 0 120px;
}

#medignition-gallery .pswp__button--arrow--right,
#medignition-gallery .pswp__button--arrow--left {
    width: 14px;
    height: 30px;
    display: inline-block;
    background: url(../img/icon_gallery_right.png) no-repeat 50% 50% #FFF;
    background-size: 12px 25px;
    top: 57px;
    position: absolute;
}

#medignition-gallery .pswp__button--arrow--left {
    background: url(../img/icon_gallery_left.png) no-repeat 50% 50% #FFF;
    background-size: 12px 25px;
    left: 15px;
}

#medignition-gallery .pswp__button--arrow--right {
    background: url(../img/icon_gallery_right.png) no-repeat 50% 50% #FFF;
    background-size: 12px 25px;
    right: 15px;
}

#medignition-gallery .pswp__button--arrow--right:before,
#medignition-gallery .pswp__button--arrow--left:before {
    background-image: none;
    right: auto;
    background: none;
}


/* Container */

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    position: relative;
}

.content-wrapper {
    clear: both;
    overflow: hidden;
}

.content {
    padding: 30px;
    height: calc(100vh - 90px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}


/* Header View */

header {
    border-bottom: 3px solid #ececec;
    height: 80px;
}

.nav-large-screen {
    margin-left: 110px;
}

.nav {
    margin-top: -50px;
}

.nav li {
    display: inline-block;
}

.nav a {
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    margin-left: 30px;
    padding: 5px 0;
}

.nav a:hover,
.nav a:visited,
.nav a:active,
.nav a:focus {
    text-decoration: none;
}

.nav li:first-of-type a {
    margin-left: 0;
}

.nav-item {
    border-top: solid #FFF 3px;
}

.nav .active {
    border-top: solid #000 3px;
}

header .language {
    display: inline-block;
    float: right;
    margin-top: -68px;
}

.language a {
    border-bottom: solid #000 3px;
    text-transform: capitalize;
}

.logo {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: url(../img/mx.png) no-repeat #000 50% 50%;
    background-size: 22px 50px;
    margin-left: -15px;
}

.logo:hover {
    background-color: #464646;
    ;
}


/* Introduction */

.intro * {
    font-size: 28px;
    margin-bottom: 30px;
}


/* Accordion */

.accordion {
    border-top: 1px solid #000;
    margin-bottom: 60px;
}


/*
.accordion .row {
    margin-left: 0;
    margin-right: 0;
}

.accordion .row > * {
    padding-right: 0;
}
*/

.accordion-title {
    cursor: pointer;
}

.accordion-title h3 {
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 5px;
    width: 85%;
}

.accordion .icon-down {
    margin-top: 12px;
}

.accordion .icon-up {
    margin-top: 12px;
}

.accordion-header-right {
    display: inline-block;
    float: right;
}

.accordion > li {
    border-bottom: 1px solid #000;
}

.accordion-content {
    margin-top: 15px;
    padding-bottom: 10px;
    display: none;
}

.accordion .accordion {
    margin-bottom: 0;
}

.accordion .embedded-accordion {
    margin-top: 0;
    padding-bottom: 0;
}

li .accordion-content-init {
    display: block;
}

.accordion-header {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 10px;
    background-color: #f8f8f8;
    cursor: default;
}

.accordion-header img {
    width: 80%;
}

.accordion-active > .light-gray,
.accordion-active > .accordion-title > .accordion-header {
    background-color: #FFF;
}

.accordion-content p {
    margin-bottom: 15px;
}

.accordion-content .row div:last-of-type p:last-of-type {
    margin-bottom: 0;
}

#business .process-wrapper {
    margin-bottom: 5px;
}


/* Process */

.process-wrapper {
    text-align: left;
    position: relative;
    height: 100px;
}

.line {
    border-bottom: 3px solid #000;
    display: block;
    width: 94%;
    margin-left: 3%;
    position: absolute;
    top: 53px;
}

.start-process,
.end-process {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #000;
    background-color: #FFF;
    display: inline-block;
    position: absolute;
    top: 47px;
}

.start-process {
    left: 3%;
}

.end-process {
    right: 3%;
}

.modules {
    margin-left: 6%;
    width: 88%;
    position: absolute;
    top: 15px;
}

.module {
    border: 2px solid #000;
    width: 12.5%;
    padding: 15px 5px;
    font-weight: 700;
    text-align: center;
    border-radius: 5px;
    background-color: #FFF;
    display: inline-block;
    margin-right: 1%;
    cursor: pointer;
    float: left;
    font-size: 14px;
}

.modules .single-line {
    padding: 22px 5px 8px 5px;
}

.modules .empty-module {
    border: none;
    background-color: transparent;
}

.module-active {
    background-color: #ffffdc;
}

.accordion-not-active .module-active {
    background-color: #FFF;
}

.module br {
    line-height: 115%;
}

.module:last-of-type {
    margin-right: 0;
}


/* Icons */

.icon-up,
.icon-down {
    width: 16px;
    height: 18px;
    display: inline-block;
    float: right;
    margin: 3px 15px 0 0;
}

.icon-down {
    background: url(../img/icon_down.png) no-repeat;
    background-size: 16px 18px;
}


/* Channel View */

.channel-images img {
    cursor: pointer;
}


/* Business View */

#business .accordion {
    margin-top: 30px;
    margin-bottom: 30px;
}


/* Contact View */

#contact.accordion-active {
    border-bottom: none;
}

.contact ul,
.impressum ul {
    margin-bottom: 15px;
}

.accordion .accordion-title-impressum {
    font-weight: normal;
}

@media (max-width:1400px) {
    .module {
        font-size: 11px;
    }
}

@media (max-width:1150px) {
    .module {
        font-size: 9px;
    }
    .module br {
        line-height: 85%;
    }
}


/* Small devices (less than 992px) */

@media (max-width:991px) {
    header {
        border-bottom: none;
    }
    header .language {
        margin-top: 5px;
    }
    .nav-large-screen {
        display: none;
    }
    .logo-wrapper {
        margin-bottom: 15px;
        margin-left: 0;
    }
    .language {
        padding-right: 0;
    }
    .content {
        margin-top: 30px;
        padding: 0 15px;
        height: auto;
        overflow: initial;
    }
    .content>.accordion > li:last-of-type {
        border-bottom: none;
    }
    .content>.accordion > li {
        border-bottom: 3px solid #000;
    }
    .content>.accordion {
        border-top: 3px solid #000;
    }
    .light-gray,
    .dark-gray,
    .accordion-header {
        background-color: #FFF;
    }
    .intro * {
        font-size: 20px;
    }
}
