/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 06.03.2018, 11:20
    Author     : mobotix
*/

/* 
 * Seitenübergreifende, allgemeine Styles 
 */

/* Entfernt die gestrichelte Linie in den Selekt-Boxen des Firefox */
@-moz-document url-prefix() {
    select, select:-moz-focusring, select::-moz-focus-inner {
       color: transparent !important;
       text-shadow: 0 0 0 #58585a !important;
       background-image: none !important;
       border:0;
    }
}

/* Entfernt die gestrichelte Linie vom Link-Button */
.button,
a
{
   outline: none;
}  
.plain_link {
    text-decoration: none;
}


/* korrigiertes Checkbox-Style für Formulare (dadurch mehrzeilige Texte
 * möglich)
 */
 
.drupal__form .form-type-checkbox,
.webform__form .form-type-checkbox 
{
    flex-flow: unset !important;
    align-items: first baseline !important;
}

/* DIV Table */
div.mx-table { 
    display: table; 
    border-collapse:collapse;
    width: 100%;
}
div.mx-tr { 
    display:table-row; 
}
div.mx-td, div.mx-th { 
    display:table-cell;
    border:1px solid rgba(140,140,140,.3);
    font-family: "Source Sans Pro Regular";
    padding:5px; 
}
div.mx-th {
    color:#444;
    font-weight: bold;
    background-color:#e9e9ea;
    text-align: center;
}
div.mx-td {
    vertical-align: middle;
}

/* Table Scroll Bar */
.table-scrollbar {
    overflow-x:auto;
}



/* Buttons */
/*
#edit-actions {
  width: 100%;
}

.form-prev.button input {
  padding-right: 0px;
  text-align:right;
}

div#edit-actions div:nth-of-type(1) {
  float: left;
}

div#edit-actions div:nth-of-type(2) {
  float: right;
}

div#edit-actions div:nth-of-type(1):after {
  transform: translateY(-50%) rotate(180deg);
  left: 20px;
  right: unset;
}
*/


/* Webforms */
/* Form confirmation */
div.webform-confirmation div.webform-confirmation__message p
{
   font-size: 16px;
   line-height: 30px;
   letter-spacing: normal;
   margin-bottom: 10px;
   font-family: "Source Sans Pro Light";
}

.ui-dialog {
    z-index:1000 !important;
}

.webform-progress-tracker.progress-tracker {
    margin-top: 20px;
    margin-bottom: 40px;
}


/**
 * Override of modules/contrib/webform/css/webform.progress.tracker.css
/**
 * Disable hover state because webform wizard progress markers are not clickable.
 */
.webform-progress-tracker .progress-step .progress-marker {
  background-color: #b6b6b6;
}

.webform-progress-tracker .progress-step.is-complete .progress-marker {
  background-color: #004499;
}

.webform-progress-tracker .progress-step.is-active .progress-marker {
  background-color: #004499;
}
.progress-title {
 margin-top: 0;
 padding-bottom: 5px;
}

/**
 * Override layout of error messages from drupal-messages.scss
*/

.messages--error {
  margin: 40px 0;
  padding: 30px;
  border: 2px solid red;
}


/* Additional class for label display */
.inline
{
    display:inline;
}


/*
 * Styles für die Gallery 
 */

.paragraph-gallery__swiper-pagination {
        position: relative;
        z-index:100;
        top:20px;
        width:100%;
        text-align:center;
}

.paragraph-gallery__swiper-pagination span {
        margin-left:8px; 
        width:15px; 
        height:15px; 
        opacity: 1;
        -moz-box-shadow: 1px 2px 2px 0px #666666;
        -webkit-box-shadow: 1px 2px 2px 0px #666666;
        box-shadow: 1px 2px 2px 0px #666666;
        
}
.paragraph-gallery__swiper-pagination span.swiper-pagination-bullet
{ 
        background: #ffffff; 
}
.paragraph-gallery__swiper-pagination span.swiper-pagination-bullet-active 
{ 
        background: #004494; 
}

.header-section__container
{
    justify-content: flex-start;
}


.header-section__title .icon {
    -webkit-transition:margin .2s;
    transition:margin .2s;
    margin-right:10px;
    margin-left:0;
}

.header-section__title:hover .icon {
    margin-left:10px;
    margin-right:0;
}

.header-section__title span {
    padding-right: 20px;
}

.news-slider
{
    padding-left: 20px;
    padding-bottom: 50px;
}


.view-header-section .paragraph {
    max-height:none !important;
}

/*
 * Styles for dropdown menu 
 */

@media only screen and (min-width:1001px) {
    .menu__list {
        overflow: visible !important;
    }

    .menu__list .is-active {
        font-weight: bold !important;
        color: #004494 !important;
    }

    .menu__list .is-active:after{
        display:none;
    }

/*    .menu__list-item--expanded
    {
        position:relative; 
        display:inline-block;
        padding-right: 10px !important;
    }*/

/*    .menu__list--level-1
    {
        position:absolute; 
        list-style-type: none; 
        top:70px; 
        left:0; 
        padding-right:35px;
        
        -webkit-box-shadow:rgba(0,0,0,.2) 3px 3px 5px 2px;
        box-shadow:rgba(0,0,0,.2) 3px 3px 5px 2px;
        
    
        overflow:visible !important;
        width: auto !important;
        max-with: auto !important;
    }*/

    ul.menu__list--level-1 li
    {
        white-space:nowrap;
    }

    div.header__mobile-menu-list-container .menu__list-item--level-0 {
        width: 100%;
    }

 /*   .menu__list-item-link
    {
        width:100% !important;
        padding-right:10px !important;
    }*/

    div.header__mobile-menu-list-container .menu__list--level-1 {
        position: relative !important;
    }
}

/*
 * Optic Planing tool 
 */

.icon--info-circle:before
{
    font-family:FontAwesome,sans-serif;
    content:"\F05A"
}

/* 
 * Technology Alliance Partner 
 */

.tap_img_wrapper
{
    width: 50%;
    /* whatever width you want */
    display: inline-block;
    position: relative;
    margin-bottom:15px;
}

.tap_img_wrapper:after
{
    padding-top: 56.25%;
    /* 16:9 ratio
       To calculate the padding-top percentage of something else than 16:9 ratios, use this formula 
       (for example using a 22:5 ratio where 22 is A and 5 is B): 
       B / (A / 100) = C%. So 22:5 is 5 / .22 = 22.72%. 
    */
    display: block;
    content: '';
}

.tap_img_main
{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    color: white;
    max-height: 100%;
}

div.view-technology-alliance-partner li.grid
{
    margin-bottom: 50px;
}


@media only screen and (min-width:1001px) {
    div.view-technology-alliance-partner div.grid__content
    {
        padding: 30px 0;
    }
}

@media only screen and (max-width:1000px) {
    div.view-technology-alliance-partner div.grid__content
    {
        padding: 30px 20px;
    }
}

/* Trainings-Kalender */
#training-cal-table div.mx-td {
    height: 50px;
    line-height: 20px;
}
#training-cal-table div.mx-td table tr th {
    font-weight: bold;
    text-align: left;
    padding: 10px 5px 10px 0;
}
.align-right {
    text-align: right;
}
.align-center {
    text-align: center;
}
.filter-dropdown {
    overflow-x: hidden;
}
div.nowrap {
    white-space: nowrap;
}
div.row-radios fieldset .form-item {
    line-height: 30px;
}
div.row-radios div input {
    vertical-align: 2px;
}
div.row-radios div label {
    float: left;
    padding: 0 10px 0 20px;
}
div.row-radios legend {
    margin: 3px 0 0 0 !important;
}
div.row-radios fieldset {
    padding-top: 10px;
    margin-bottom: 0 !important;
}
div.row-radios div {
    margin-bottom: 0 !important;
}
input, button {
    outline: 0;
}

.training-registration-form fieldset.webform-composite-hidden-title {
    margin-top:0 !important;
}

.training-registration-form label.form-required
{
    display: none !important;
}

.ui-dialog .training-registration-form .input__submit-container
{
    display: none !important;
}

.training-teaser-text
{
    background-color: #eee;
    padding: 10px;
}
@media only screen and (min-width:1000px) {
    .small-display{
        display:none !important;
    }
}
@media only screen and (max-width:1000px) {
    .large-display{
        display:none !important;
    }
}


/* Disclaimer 3D-Data */
#block-disclaimer3d{
    margin:0 auto;
    width:100%;
    max-width:730px;
    padding-left:20px;
    padding-right:20px;
    z-index:1020;
    position:relative;
    background-color:#fff
}
@media screen and (min-width:421px){
    #block-disclaimer3d{
        padding-left:25px;
        padding-right:25px
    }
}
@media screen and (min-width:701px){
    #block-disclaimer3d{
        padding-left:30px;
        padding-right:30px
    }
}
@media screen and (min-width:1001px){
    #block-disclaimer3d{
        padding-left:35px;
        padding-right:35px
    }
}
@media screen and (min-width:1301px){
    #block-disclaimer3d{
        padding-left:40px;
        padding-right:40px
    }
}
#block-disclaimer3d{
    padding-top:20px;
    max-height:350px;
    overflow-y:auto
}
@media screen and (min-width:421px){
    #block-disclaimer3d{
        padding-top:25px
    }
}
@media screen and (min-width:701px){
    #block-disclaimer3d{
        padding-top:30px
    }
}
@media screen and (min-width:1001px){
    #block-disclaimer3d{
        padding-top:35px
    }
}
@media screen and (min-width:1301px){
    #block-disclaimer3d{
        padding-top:40px
    }
}
#block-disclaimer3d h2,#block-disclaimer3d p{
    margin-bottom:10px
}
@media screen and (min-width:421px){
    #block-disclaimer3d h2,#block-disclaimer3d p{
        margin-bottom:15px
    }
}
@media screen and (min-width:701px){
    #block-disclaimer3d h2,#block-disclaimer3d p{
        margin-bottom:20px
    }
}
@media screen and (min-width:1001px){
    #block-disclaimer3d h2,#block-disclaimer3d p{
        margin-bottom:25px
    }
}
@media screen and (min-width:1301px){
    #block-disclaimer3d h2,#block-disclaimer3d p{
        margin-bottom:30px
    }
}
#block-disclaimer3d h2{
    font-family:"Source Sans Pro Light";
    letter-spacing:normal
}
@media screen and (min-width:0px){
    #block-disclaimer3d h2{
        font-size:18px;
        line-height:23px
    }
}
@media screen and (min-width:421px){
    #block-disclaimer3d h2{
        font-size:22px;
        line-height:29px
    }
}
@media screen and (min-width:701px){
    #block-disclaimer3d h2{
        font-size:26px;
        line-height:34px
    }
}
@media screen and (min-width:1001px){
    #block-disclaimer3d h2{
        font-size:30px;
        line-height:39px
    }
}
@media screen and (min-width:1301px){
    #block-disclaimer3d h2{
        font-size:35px;
        line-height:45px
    }
}
#block-disclaimer3d p{
    font-family:"Source Sans Pro Light";
    letter-spacing:normal
}
@media screen and (min-width:0px){
    #block-disclaimer3d p{
        font-size:14px;
        line-height:18px
    }
}
@media screen and (min-width:421px){
    #block-disclaimer3d p{
        font-size:15px;
        line-height:19px
    }
}
@media screen and (min-width:701px){
    #block-disclaimer3d p{
        font-size:16px;
        line-height:21px
    }
}
@media screen and (min-width:1001px){
    #block-disclaimer3d p{
        font-size:16px;
        line-height:24px
    }
}
@media screen and (min-width:1301px){
    #block-disclaimer3d p{
        font-size:16px;
        line-height:30px
    }
}

/* Kontakt Stellenbeschreibung */

.node-contact__body, .node-contact__field-company, .node-contact__field-department, .node-contact__field-email, .node-contact__field-phone, .node-contact__field-image {
    margin-top:0 !important;
}

.node-contact__field-phone-label {
    margin-top:0 !important;
    margin-left: 40px;
    display: inline-flex;
}

.node-contact-mail-to-button {
    margin-top:15px !important;
}
.node--type-contact__wrapper {
    max-width: 700px;
}

.node-contact__field-image {
    padding-left:30px;
}

.node--type-contact__wrapper h2 {
    padding-bottom:20px;
}

@media screen and (max-width:700px){
    .node-contact__field-image {
        width:100px;
        padding: 20px 0px;
    }
}

/* Software-Downloads */
.media-readme__field-readme-paragraph, .media-release-notes__field-release-notes-paragraph, .media-checksum__field-checksum-paragraph {
    display: inline-flex;
}

.media-readme__field-item, .media-release-notes__field-item, .media-checksum__field-item {
    padding-right: 5px;
}
.paragraph-readme-paragraph--view-mode-default, .paragraph-release-notes-paragraph--view-mode-default, .paragraph-checksum-paragraph--view-mode-default {
    padding: 10px 0 10px 0;
}

/* Software-Download Formular */
.software-download-form .form-item-address-address label.form-required,
.software-download-form .form-item-address-city label.form-required,
.software-download-form .form-item-address-postal-code label,
.software-download-form .form-item-address-country label.form-required
{
    display: none !important;
}

.software-download-form div.autocomplete-form
{
    margin-bottom:30px;
}

/* neues Button Design */

.active_button,
.active_button--next,
.active_button_container::after,
.active_button_container_next:after
{
    background-color: #004494 !important;
    color: white !important;
    border: 1px solid #004494 !important;
    outline: 0;
}

.active_button_container_next {
  float: right;
}

.button--back {
  padding-left: 50px;
}

.input__submit-container.button_container_back:before {
  font-family: "FontAwesome", "sans-serif";
  content: "\";
  position: absolute;
  left: 20px;
  top: 50%;
  padding-right: 20px;
  transform: translateY(-50%);
  z-index: 10;
}

.input__submit-container.button_container_back:after {
  content: ' ';
}

.button_type2:hover::after,
.active_button:hover::after,
.active_button_container:hover::after
{
    font-size: 160%;
    font-weight: normal !important;
}

.active_button_container::after
{
    font-weight: normal !important;
}

.ui-button:hover 
{
    font-weight: bold !important;
}

.ui-button
{
    margin-left: 10px !important;
}

.custom-autocomplete-button
{
    display:none !important;
}


/* Start button for contact form. */

@keyframes scale_contact_button {
    from {transform: scale(1.5);}
    to {transform: scale(1.0);}
}

.active_button_contact,
.active_button_contact_container::after {
    position: fixed;
    top: 400px;
    right: 0px;
    background-color: #004494 !important;
    color: white !important;
    border: 1px solid #fff !important;
    outline: 0;
    z-index: 1000;
    min-width: 100px;
    padding-top: 0;
    display: none;
    animation-name: scale_contact_button;
    animation-duration: 2s;
}
/* End button for contact form. */

/* Start Button für Newsletter-Anmeldung. */

@keyframes scale_news_button {
    from {transform: scale(1.5);}
    to {transform: scale(1.0);}
}

.active_button_news,
.active_button_news_container::after {
    position: fixed;
    top: 450px;
    right: 0px;
    background-color: #004494 !important;
    color: white !important;
    border: 1px solid #fff !important;
    outline: 0;
    z-index: 1000;
    min-width: 100px;
    padding-top: 0;
    display: none;
    animation-name: scale_news_button;
    animation-duration: 2s;
}

@media only screen and (min-width: 421px) {
    .active_button_news,
    .active_button_news_container::after {
        padding-top: 8px;
        min-height: 60px;
    }
}

@media only screen and (min-width: 701px) {
    .active_button_news,
    .active_button_news_container::after {
        padding-top: 0;
        min-height: auto;
    }
}

@media only screen and (min-width: 1001px) {
    .active_button_news,
    .active_button_news_container::after {
        padding-top: 0;
        min-height: auto;
    }
}

/* Ende Button für Newsletter-Anmeldung */



.button_type2 
{
    color: #004494 !important;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.2s;
    height: 40px;
    line-height: 40px !important;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 45px;
    outline: 0;
}


@media screen and (min-width:1001px)
{
    .button_type2 {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (min-width:701px)
{
    .button_type2 {
        padding-left: 15px;
        padding-right: 15px;
        min-width: 210px;
    }
}

.button_type2::after,
.button_type2:hover::after
{
    font-family: "FontAwesome", "sans-serif";
    content: "\";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* News Back button */

div.news-page-link {
    position: fixed;
    bottom: 0px;
    right: 0px; 
    z-index: 1000;
}
@media screen and (min-width:421px){
    div.news-page-link {
        bottom: 10px;
        right: 10px; 
    }
}
@media screen and (min-width:701px){
    div.news-page-link {
        bottom: 15px;
        right: 15px; 
    }
}
@media screen and (min-width:1001px){
    div.news-page-link {
        bottom: 40px;
        right: 20px; 
    }
}
@media screen and (min-width:1301px){
    div.news-page-link {
        bottom: 100px;
        right: 50px; 
    }
}


div.news-overview-page-link {
    position: fixed;
    z-index: 1000;
}
@media screen and (min-width:421px){
    div.news-overview-page-link {
        top: auto;
        bottom: 10px;
        right: 10px;
    }
}
@media screen and (min-width:701px) {
    div.news-overview-page-link {
        top: auto;
        bottom: 15px;
        right: 15px;
    }
}
@media screen and (min-width:1001px) {
    div.news-overview-page-link {
        top: 400px;
        right: 20px;
    }
}



/* Replace the default ajax progress with a fullscreen overlay CSS spinner. */

.ajax-progress,
.ajax-progress-throbber,
.ajax-progress-fullscreen {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  opacity: 1;
  background: rgba(255, 255, 255, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  overflow: hidden;
  text-indent: -99999em;
}
 
.ajax-progress-throbber:before,
.ajax-progress-fullscreen:before {
  content: " ";
  display: block;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 0.8s infinite linear;
  animation: spin 0.8s infinite linear;
  border-radius: 120px;
  border-width: 10px;
  border-style: solid;
  border-color: #004494 transparent #004494 transparent;
  overflow: hidden;
  text-indent: -99999em;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99998;
}
 
@-webkit-keyframes spin {
  to {
    transform: rotate(360deg); 
  }
}
 
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Label bei Radio Buttons im Form hinter dem Button */

.drupal__form .form-type-radio,
.webform__form .form-type-radio {
   display: flex;
/*   flex-flow: row wrap; */
   flex-flow: row;
   align-items: center;
}

.webform__form .webform-options-display-side-by-side .form-type-radio {
  display: inline-block;
}
    
.drupal__form .form-type-radio label,
.webform__form .form-type-radio label {
  margin-left: 10px;
  font-family: "Source Sans Pro Bold";
  letter-spacing: normal;
  margin-bottom:0;
}

@media screen and (min-width: 0px) {
  .drupal__form .form-type-radio label,
  .webform__form .form-type-radio label {
    font-size: 14px;
    line-height: 18px; } }
@media screen and (min-width: 421px) {
  .drupal__form .form-type-radio label,
  .webform__form .form-type-radio label {
    font-size: 15px;
    line-height: 19px; } }
@media screen and (min-width: 701px) {
  .drupal__form .form-type-radio label,
  .webform__form .form-type-radio label {
    font-size: 16px;
    line-height: 21px; } }
@media screen and (min-width: 1001px) {
  .drupal__form .form-type-radio label,
  .webform__form .form-type-radio label {
    font-size: 16px;
    line-height: 24px; } }
@media screen and (min-width: 1301px) {
  .drupal__form .form-type-radio label,
  .webform__form .form-type-radio label {
    font-size: 16px;
    line-height: 30px; } }
    
/* Simple block popup */ 
    
.node__content .mediaid_3681 {
  display: none;
}

#phone-message {
  display: none;
}

#newsletter-trigger {
  display: none;
}

/* Vermeidet, dass Unterlängen im Progress-Tracker abgeschnitten werden */
.webform-progress-tracker .progress-step .progress-text {
  line-height:20px;
}

/* dadurch werden die Bilder bei der Filteransicht der Apps nicht mehr verzerrt */
.autoheight a img {
  height:auto;
}

/* Modal-Dialog Anpassungen */

.ui-dialog .ui-dialog-titlebar {
        border: 0;
        background: inherit;
        color: #004494;
        padding-bottom:30px;
}


.ui-dialog .ui-dialog-buttonpane {
        border: 0;
        background: inherit;
        padding-top:30px;
}

.ui-dialog {
        border: 0 !important;
        box-shadow: 5px 5px 5px gray;
        padding: 15px 30px;
}

.ui-dialog .ui-button .ui-icon-closethick {
        background-image: url(/themes/mobotix/assets/img/close.png);
        background-size: 20px 20px;
        width: 20px;
        height: 20px;
        margin-top: -10px;
        margin-left: -10px;
        background-position: 0 0; 
}

div.row-radios div label {
        float: left;
        padding: 0 10px 0 10px;
}

.ui-dialog .ui-dialog-titlebar-close {
        right: -12px;
        width: 40px;
        margin: -30px 0 0 0;
        height: 40px;
}


/* Capture */

.mx_capture {
    padding:15px 15px 0 15px;
    background: #ededed;
}

.mx_capture > p {
    margin-bottom: 10px;
    line-height: 30px;
}

.mx_capture > div {
    background: #ededed;
}

.mx_capture > div > div > div > span {
    white-space: nowrap;
    margin-right: 10px;
    margin-left: 50px;
}

.mx_capture > div > div > div > input {
    width: 10em !important;
    margin-bottom:15px;
}

.mx_capture > div > div > div > div {
    padding-bottom: 15px;
    line-height: 30px;
}

.mx_capture > div > div > div > label,
.mx_capture > div > div > div > div {
    display:none;
}



.mx_capture2 {
    padding:15px 15px 0 15px;
    background: #ededed;
}

.mx_capture2 > div:first-child > div > div {
    margin-bottom: 10px !important;
}

.mx_capture2 > div > div > div > p {
    line-height: 30px;
}

.mx_capture2 > div > div {
    background: #ededed;
}

.mx_capture2 > div > div > div > div > span {
    white-space: nowrap;
    margin-right: 10px;
    margin-left: 50px;
}

.mx_capture2 > div > div > div > div > input {
    width: 10em !important;
    margin-bottom:15px;
}

.mx_capture2 > div > div > div > div > div {
    padding-bottom: 15px;
    line-height: 30px;
}

.mx_capture2 > div > div > div > div > label,
.mx_capture2 > div > div > div > div > div {
    display:none !important;
}

.webform-options-display-two-columns > div {
    display:inline-block;
}

.webform-options-display-two-columns div.form-type-radio {
    align-items:baseline;
}

/* disabled radios als deaktiviert hervorheben */
input[type="radio"]:disabled + label,
input[type="radio"]:disabled {
	opacity: 0.5;
}

.messages {
  padding:10px;
}

.messages--error {
	color: red;
	font-family: "Source Sans Pro Bold" !important;
}

/* sehr schmutzige, temporäre Notlösung, da die Untermenüs des ersten Pulldown-Menüs sonst nicht erreichbar sind. */
/* HTML-Struktur des Menüs muss verändert werden um das Problem richtig zu lösen (LSt 20.04.2023) */
.menu__list.menu__list--main.menu__list--level-0 li:first-child ul {
	min-height: 500px;
}
