/*

Theme Name: X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: Birgit Hertel
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

@font-face {
    font-family: 'futura_no8_dregular';
    src: url('fonts/futurano8d-regular.woff2') format('woff2'), url('fonts/futurano8d-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: white;
    border: 0px;
    font-family: "Hausschrift", 'letter-gothic-std' !important;
    font-weight: normal !important;
}

a {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#x-root {
    color: black !important;
}
/* Farben Hintergründe Body und Container */

.page-template-template-layout-portfolio-php .site {
    background-color: white;
}

.x-boxed-layout-active .site,
.x-boxed-layout-active .x-site {
    border: 0px;
}
/* Font and Text Styling*/

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    letter-spacing: 0.008em !important;
    color: black !important
}

.h1,
h1 {
    font-size: 270%;
    font-weight: normal !important;
}

h3,
.h3,
h4,
.h4 {
    margin: 0px 0px 20px 0px;
    font-weight: normal !important;
}

.subline {
    font-size: 0.7em !important;
    padding: 0px !important;
    margin-top: -8px !important;
}

.midiline {
    font-size: 1em !important;
    padding: 0px !important;
}

.topline {
    font-size: 0.7em !important;
    padding: 0px !important;
    margin-bottom: -8px !important;
}

p {
    line-height: 1.5em;
    letter-spacing: -0.065em;
    font-size: 1.1em
}

.post .x-text {
    padding-bottom: 20px;
}

.post .x-text li p {
    margin-bottom: 6px !important;
}

.ubermenu-nav a,
.ubermenu-nav a:hover,
.ubermenu-nav a:active {
    text-decoration: underline !important;
}

a:hover {
    color: grey !important;
}

.x-text.list p {
    line-height: 2.2em;
}
/* Bilder Abstände etc.*/

.x-img, .x-video {
    margin-bottom: 1em;
}
.hochformat .x-video-inner{
 padding-bottom:180% !important;
}
.x-header-landmark {
    border: 0px;
    padding-top: 90px;
}

.centered {
    margin: 0 auto;
    text-align: center
}
/* change that Headlines are overwritten */

h1.x-text-content-text-primary,
h1 {
    font-size: 3em !important;
    text-transform: uppercase !important;
    margin-top: -6px !important;
    line-height: 1em !important;
    font-family: 'futura_no8_dregular', "futura-pt-bold" !important;
}

h2.x-text-content-text-primary,
h2,
.h2 {
    font-size: 3em !important;
    text-transform: uppercase !important;
    margin-top: -0.35em !important;
    line-height: 1.3em !important;
    font-weight: normal !important;
    font-family: 'futura_no8_dregular', "futura-pt-bold" !important;
}

h3.x-text-content-text-primary,
h3,
.h3 {
    font-size: 2.2em !important;
    text-transform: uppercase !important;
    margin-top: -6px !important;
    font-family: 'futura_no8_dregular', "futura-pt-bold" !important;
}
/* h3 on mobile devices*/

@media only screen and (max-width: 460px) {
    h1.x-text-content-text-primary,
    h1,
    h2.x-text-content-text-primary,
    h2,
    .h2 {
        font-size: 2.4em !important;
    }
    h3,
    .h3 {
        font-size: 1.9em !important;
        line-height: 1.2em !important;
    }
}

@media only screen and (max-width: 320px) {
    h3,
    .h3 {
        font-size: 1.5em !important;
        line-height: 1.2em !important;
    }
}

.x-text.list p {
    letter-spacing: -0.065em;
}

h4.x-text-content-text-primary {
    font-size: 2.2em !important;
    text-transform: uppercase !important;
    line-height: 1.6em !important;
    padding-bottom: 10px;
    font-family: 'futura_no8_dregular', "futura-pt-bold" !important;
}
/* ------------------- MENU --------------------------------- */
/* Hide Logo on all other than mobile dimensions*/

.x-navbar-inner{
    min-height: 58px !important;
    background: white;
}

@media only screen and (min-width: 960px) {
    /* Größer als Mobile Brakpoint */
    
    .x-logobar,
    .x-brand {
        display: none;
    }
    .x-navbar {
        border-bottom: solid black 0px;
    }
    .ubermenu {
        border-bottom: solid black 1px !important;
    }
}

@media only screen and (max-width: 960px) {
    /* Kleiner als Mobile Brakpoint */
    
    #menu-item-234 {
        display: none
    }
    .ubermenu .ubermenu-target {
        padding: 0px 0px 10px 0px !important;
    }
    .x-navbar {
        border-bottom: solid black 1px;
    }
    .ubermenu {
        border-bottom: solid black 0px !important;
    }
}

.ubermenu-responsive-toggle {
    padding: 20px 0 0 0 !important;
}
/* MOBILE MENUE PADDINGS and thus height*/

.ubermenu-responsive-default.ubermenu-responsive.ubermenu,
.ubermenu-responsive-default.ubermenu-responsive.ubermenu-responsive-collapse {
    padding-top: 20px;
    padding-bottom: 50px;
}

.ubermenu-responsive-default.ubermenu-responsive.ubermenu-responsive-collapse:not(.ubermenu-in-transition) {
    padding-top: 0px;
    padding-bottom: 0px;
}

.ubermenu,
.ubermenu .ubermenu-column,
.ubermenu .ubermenu-divider,
.ubermenu .ubermenu-item,
.ubermenu .ubermenu-nav,
.ubermenu .ubermenu-retractor,
.ubermenu .ubermenu-row,
.ubermenu .ubermenu-search,
.ubermenu .ubermenu-search-input,
.ubermenu .ubermenu-search-submit,
.ubermenu .ubermenu-submenu,
.ubermenu .ubermenu-submenu-footer,
.ubermenu .ubermenu-tabs,
.ubermenu .ubermenu-tabs-panels,
.ubermenu .ubermenu-target,
.ubermenu-responsive-toggle {
    margin-top: 5px !important;
    margin-bottom: -2px !important
}

body:not(.rtl) .ubermenu.ubermenu-horizontal .ubermenu-item-level-0:first-child>.ubermenu-target {
    padding-left: 0px !important;
    margin-left: 0px !important;
    /* margin-right:-220px !important;   MENUE gleicht Logo aus*/
}

.ubermenu .ubermenu-target-text {
    letter-spacing: -0.065em;
    font-size: 1.1em
}

.ubermenu .ubermenu-current-menu-item a span {
    text-decoration: underline !important
}
/* -------Insta button ------*/

#menu-item-135 {
    position: absolute;
    right: -18px;
    bottom: auto;
    top: 0;
}

#menu-item-135 .ubermenu-custom-content-padded{padding:15px 20px 15px 0px!important;}
#menu-item-134 .ubermenu-custom-content-padded {padding:15px 20px !important;}


.insta_button {
    width: 20px;
    height: 20px;
    background-image: url(images/insta_icon.svg);
    background-size: contain;
    background-position: bottom;
}
/* -------FB button ------*/

#menu-item-134 {
    position: absolute;
    right: 10px;
    bottom: auto;
    top: 0;
}

.facebook_button {
    background-image: url(images/faceb_icon.svg);
    background-size: contain;
    background-position: bottom;
    width: 20px;
    height: 20px;
}

@media only screen and (min-width: 973px) {
    #shiftnav-main {
        display: none
    }
}

@media only screen and (max-width: 972px) {
    #shiftnav-main {
        display: block
    }
    #menu-item-134,
    .menu-item-134 {
        left: -14px;
        bottom: 0px;
        top: auto;
    }
    #menu-item-135,
    .menu-item-135 {
        left: 20px;
        bottom: 0px;
        top: auto;
    }
}
/*  Shiftnav Burger Replace */

#shiftnav-toggle-main .shiftnav-toggle-burger,
#shiftnav-toggle-main.shiftnav-toggle-main-entire-bar:before {
    display: none;
}
/* Icon 3 */

#nav-icon3 {
    position: absolute;
    width: 26px;
    right: 10%;
    top: 22px;
}

#nav-icon3 span {
    display: block;
    position: absolute;
    height: 4px;
    width: 26px;
    background: lightgrey;
    border-radius: 4px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon3 span:nth-child(1) {
    top: 0px;
}

#nav-icon3 span:nth-child(2),
#nav-icon3 span:nth-child(3) {
    top: 9px;
}

#nav-icon3 span:nth-child(4) {
    top: 18px;
}

#nav-icon3.open span:nth-child(1) {
    top: 9px;
    width: 0%;
    left: 50%;
}

.shiftnav-open #nav-icon3 span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.shiftnav-open #nav-icon3 span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.shiftnav-open #nav-icon3 span:nth-child(4) {
    top: 14px;
    width: 0%;
    left: 13px;
}

.shiftnav-open #nav-icon3 span:nth-child(1) {
    top: 4px;
    width: 0%;
    left: 13px;
}
/*SHIFTNAV button Icons*/

#shiftnav-toggle-main {
    z-index: 100000 !important;
}

#shiftnav-main {
    z-index: 99999 !important;
    left: 0px;
}

.menu-item-135 > a.shiftnav-target {
    background-image: url(https://sjaustria.com/wp/wp-content/themes/sj_x_child/images/insta_icon.svg);
    left: -10px;
}

.menu-item-134 > a.shiftnav-target {
    background-image: url(https://sjaustria.com/wp/wp-content/themes/sj_x_child/images/faceb_icon.svg);
    left: 14px;
}

.menu-item-134 > a.shiftnav-target,
.menu-item-135 > a.shiftnav-target,
.menu-item-134 > a.shiftnav-target:hover,
.menu-item-135 > a.shiftnav-target:hover {
    margin-top: 20px;
    background-size: contain;
    background-position: bottom;
    width: 24px;
    height: 24px;
    color: transparent !important;
    background-repeat: no-repeat;
    display: inline-flex !important;
    float: left;
}
/*LOGO*/

#logo-left {
    position: absolute;
    background-image: url(images/Logo_SJ.svg);
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
    width: 200px;
    max-width: 200px;
    height: 24px;
    top: 16px;
    left: 0px;
}

#menu-item-234 {
    padding-right: 100px;
}
/*     MNEU Shiftnav on */
/* ------------------  PAGES  -------------------------------- */
/* ------------------  Layout  -------------------------------- */

.x-main > .x-container.width {}

div.el1.x-section {
    margin-top: -45px
}

.entry-content {
    padding: 0px !important;
}

.x-container .entry-content {
    margin: 0 auto;
    /*margin-top: 45px;*/
}

.tg-grid-wrapper {
    padding-top: 45px;
    padding-bottom: 45px;
    border-bottom: 1px solid lightgrey;
}

.fullwidth .x-container .entry-content {
    /*width:100% !important;*/
}

.x-column {
    padding-bottom: 40px;
}

@media only screen and (max-width: 782px) {
    .x-column {
        padding-bottom: 20px;
    }
    .x-flexslider-shortcode-container{
        margin-bottom: 0px;
    }
}

.x-colophon.top {
    border-top: 0px
}

.entry-wrap.x-container {
    /*width:90% !important;*/
}

#cs-content .x-section .x-container,
.x-navbar .x-container {
    /*width:100% !important;*/
}

.x-section {
    /*width:100% !important;*/
    
    border-bottom: 1px solid lightgrey;
}
/* -----------------------------------   CASES  --------------------------------- */

.proz_breit_80 {
    width: 80%;
}

.proz_breit_70 {
    width: 70%;
}

.proz_breit_60 {
    width: 60%;
}

.proz_breit_50 {
    width: 50%;
}

@media only screen and (max-width: 560px) {
    .proz_breit_80,
    .proz_breit_70,
    .proz_breit_60,
    .proz_breit_50 {
        width: 100%;
    }
}

.mehr_client_btn .x-anchor-content,
.mehr_alle_btn .x-anchor-content {
    padding: 0px !important;
}

@media only screen and (max-width: 782px) {
    .mehr_client_btn .x-anchor-content {
        flex-direction: row !important;
    }
    .mehr_client_btn {
        text-align: left !important;
    }
    .mehr_client_btn img {
        transform: rotate(180deg);
    }
    x-lightbox-1 {
        display: none
    }
}

@media only screen and (min-width: 783px) {
    x-lightbox-1 {
        display: inherit
    }
}




/*   LIGHTBOX   */

a.ilightbox-fullscreen {
    display: none;
}

.ilightbox-toolbar.light {
    top: 24px
}

@media only screen and (max-width:782px) {
.sj_gallery {
    pointer-events: none;
   cursor: default;
}
}



/* VIDEO PLAYER */

.has-stack-styles .mejs-time-current {
    background-color: #aaa;
}

.has-stack-styles .mejs-button button:hover,
.has-stack-styles .mejs-button button:focus {
    color: #aaa;
}

.mejs-time {
    display: none !important;
}

/* hide line on bottom of case entries----*/
.single .hentry .entry-wrap{
    border-bottom: 0px !important;
}

/* -----------------  AGENTUR -----------------------------------*/

#e_carousel .flex-direction-nav a {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 2px;
    height: 30px;
    width: 30px;
    border: 0;
    left: 0px;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    color: #000 !important;
    background-color: #fff;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 10
}

#e_carousel .flex-direction-nav a.flex-prev {
    margin-left: -32px;
}

#e_carousel .flex-direction-nav a.flex-next {
    margin-right: -32px;
    left: initial;
    right: 0px;
}

#e_carousel .flex-direction-nav {
    margin-top: 20px;
}
/* ----------------- The GRID ----------------------------------- */

.tg-sj .tg-element-2,
.tg-sj-image-only .tg-element-2 {
    letter-spacing: -0.08em;
    font-size: 1.6em !important;
    line-height: 1.2em !important;
}

@media (pointer: coarse)  {
    .tg-item-overlay {
        opacity: 0.6!important;
        visibility: visible!important;
    }
    .tg-sj .tg-element-2 {
        font-size: 1.4em !important;
        ;
        opacity: 1!important;
        visibility: visible!important;
        -webkit-transform: scale3d(1, 1, 1)!important;
        -moz-transform: scale3d(1, 1, 1)!important;
        -ms-transform: scale3d(1, 1, 1)!important;
        transform: scale3d(1, 1, 1)!important
    }
}
/* ------------------  ICON GRID  -------------------------------- */

@media only screen and (min-width: 480px) {
     div.esg-media-poster {
        filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
        /* Firefox 3.5+ */
        
        filter: gray;
        /* IE6-9 */
        
        -webkit-filter: grayscale(100%);
        opacity: 0.6 !important;
    }
}


#referenzen_grid,
#referenzen_mobil{
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    /* Firefox 3.5+ */
    
    filter: gray;
    /* IE6-9 */
    
    -webkit-filter: grayscale(100%);
    opacity: 0.6 !important;
}

.eg-sj-icons-wrapper div.esg-media-poster:hover, .eg-sj-nolink-wrapper div.esg-media-poster:hover  {
    filter: none;
    -webkit-filter: grayscale(0%);
    opacity: 1 !important;
}

#referenzen_mobil .esg-entry-media {
    height: 100%;
}
#referenzen_mobil div.esg-media-poster{
   
}

/* Karusell*/

article.esg-filters.esg-singlefilters.esg-navbutton-solo-right {
    margin-right: -40px !important;
    top: 40% !important;
}

article.esg-filters.esg-singlefilters.esg-navbutton-solo-left {
    margin-left: -40px !important;
    top: 40% !important;
}
/* -------------------- Banner -------------------------------*/

iframe {
    margin-top: 0px;
    margin-bottom: 8px;
}

.medium_rectangle > iframe {
    width: 300px;
    height: 250px;
    overflow: hidden;
}

.sitebar > iframe {
    width: 300px;
    height: 600px;
    overflow: hidden;
}
/* -------------------  Maps --------------------------------*/

.map {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}
/*--------------- FOOTER ----------------------------------*/
.hentry .entry-wrap {
    padding-bottom: 0px !important;
    padding-top: 50px !important;
}
footer.x-colophon.top {
    padding: 0px;
    text-align: right;
    margin-top: 7px;
}

footer.x-colophon.top a {
    padding-right: 0px !important;
}
