/* ipad pro */

@media only screen and (min-device-width: 1024px) and (max-device-width :1366px) {

    footer#STEF_footer section.col-md-6 {
        width: 100%;
    }

    .ImgSection {
        margin-left: 0;
    }

    .col-sm-12.col-md-6.service-right {
        width: 100%;
        padding: 0 15px;
    }

    section.col-md-offset-1.col-md-10 {
        display: inline-block;
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin: 0;
        text-align: center;
    }

    #STEF_footer #STEF_copyrights {
        font-size: 16px;
        display: inline-block;
    }

    #STEF_footer span.pull-right {
        display: inline-block;
        text-align: right;
        margin-left: 30px;
    }

    section.col-md-3.col-xs-6.col-xxs-12 {
        width: 50%;
        margin-top: 20px;
    }

    .STEF_contacts-box a {
        transform: translateX(172px);
        -webkit-transform: translateX(172px);
        -o-transform: translateX(172px);
        -moz-transform: translateX(172px);
    }

    div#header-container .col-md-1.col-xs-12 {
        width: 100%;
    }

    .fa-phone:before {
        content: "\f095" !important;
    }

    .fa-envelope:before {
        content: "\f0e0" !important;
    }


    .collapse.in {
        display: block !important;
    }

    img.IconLogo {
        position: relative;
        float: left;
        left: 0;
    }

    .STEF_dropdown-icon-xs {
        position: relative;
        left: inherit;
        font-size: 24px;
        top: 0px;
        right: 0;
        float: right;
        font-weight: bold;
    }

    .STEF_bg-img-fullsize {
        height: auto;
        padding-bottom: 0
    }

    .STEF_contacts-box {
        font-size: 16px;
        position: absolute;
    }

    .teams-btn-desktob {
        width: 150px;
    }
    .teams-btn-mob {
    display: none;
}

}

/* ipad */
@media only screen and (min-device-width : 768px) and (max-device-width : 1023px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 2) {
    .teams-btn-desktob {
        width: 150px;
    }
    .teams-btn-mob {
    display: none;
}
    
    .topIcons a {

        padding: 18px 15px;
    }

    .navbar-toggle {
        padding: 18px;
    }

    .welbFooter .copy-r a {

        margin-left: 0;
        margin-right: 8px;
    }

    div#header-container {
        position: relative;
        padding: 0 2em;
    }

    .navbar-header {
        margin: 0 !important;
    }

    .pageSpace {
        padding: 5em 2em;
    }

    section.row {
        margin: 0 0 35px 0;
    }

    .m-y {
        margin-bottom: 4em;
        margin-top: 4em;
    }

    .ce-bodytext {
        margin: 2em 0;
    }

    .ce-textpic.ce-center.ce-above {
        margin-bottom: 4em;
    }

    .welbFooter {
        padding-right: 2em;
        padding-left: 2em;
        padding-bottom: 1em;
    }

    .welbFooter iframe {
        height: 350px;
        padding-right: 0;
        margin-bottom: 1em;
    }

    .text-right {
        text-align: left;
    }

    .TopLogo {
        position: absolute;
        top: 10%;
        left: 2%;
        z-index: 10;
        transform: translate(0, 0%);
        -webkit-transform: translate(0, 0%);
        -moz-transform: translate(0, 0%);
        -ms-transform: translate(0, 0%);
        -o-transform: translate(0, 0%);
        width: 400px;
    }

    .BG img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        object-position: 59%;
    }
}

@media only screen and (min-width: 769px) and (max-width :992px) {

    .logoRow .col-md-6.col-xs-12 {
        width: 50%
    }

    ul.teaser.news.newsfeed {
        margin: 0;
        padding: 10px 0 0 0;
        border-top: 1px solid transparent;
    }

    body {
        font-size: 16px
    }

    .STEF_HomeCaption {
        margin-top: 5rem;

    }

    .navbar-fixed-top .navbar-collapse {
        overflow-y: auto !important
    }

    .STEF_bg-img-fullsize {
        height: 70vh
    }


    .STEF_dropdown-icon-xs {
        position: relative;
        left: inherit;
        font-size: 12px;
        top: 0px;
        right: 0;
        float: right;
    }

    .jole_news-carousel .carousel-caption {
        width: 60%
    }

    .ImgSection {
        margin-left: 0;
    }

    footer#STEF_footer section.col-md-6 {
        width: 100%;
    }

    .teams-btn-desktob {
        width: 150px;
    }

    .teams-btn-mob {
    display: none;
    }

}


@media only screen and (max-width :767px) {
    .teams-btn-desktob {
        display: none;
    }
    .teams-btn-mob {
        font-size: 18px;
        display: flex !important;
        justify-content: center;
        align-items: center;
        background: #c0cdc5;
    }
    .teams-btn-mob img {
        width: 40px;
        height: auto;
    }
    .teams-btn-mob a {
        font-weight: 700;
        color: #849791;
        text-transform: uppercase;
    }
    
    .MobPadding .row.pageSpace {
        padding: 6em 1em;
    }

    .MobPadding .row.pageSpace h1 {
        font-size: 32px;
    }

    .termina-h.mobile .termina {
        top: 58px;
    }

    span.termina-h.mobile.visible-xs {
        display: inline-block;
        float: left;
    }

    span.termina-h.mobile.visible-xs a {
        color: #e9e9e9;
        padding: 18px 10px;
        display: inline-block;
        font-size: 18px;
    }

    .scrolla {
        position: absolute;
        left: 50%;
        margin-left: 0;
        bottom: 100px;
        color: #849791;
        cursor: pointer;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        z-index: 1000;
        font-size: 25px;
    }

    .panel-body .contenttable td {
        display: inline-block;

        width: 100%;
    }

    .panel-body .contenttable p {
        white-space: normal;
    }

    .panel-body .contenttable tr {
        margin-bottom: 15px;
        display: block;
    }

    section.row.STEF_contacts-box.STEF_headerContacts-xs.visible-xs {
        margin: 0;
        float: left;
    }

    section.row.STEF_contacts-box.STEF_headerContacts-xs.visible-xs p {
        margin: 0;
        display: inline-block;
    }

    span.STEF_contacts {
        display: none;
    }

    section.row.STEF_contacts-box.STEF_headerContacts-xs.visible-xs a {
        color: #e9e9e9;
        padding: 18px 10px;
        display: inline-block;
        font-size: 18px;
    }

    .topIcons {
        display: none;

    }

    .navbar-toggle {
        padding: 18px;
    }

    .welbFooter .copy-r a {

        margin-left: 0;
        margin-right: 8px;
    }

    section.row {
        margin: 0 0 35px 0;
    }

    .m-y {
        margin-bottom: 4em;
        margin-top: 4em;
    }

    .ce-bodytext {
        margin: 2em 0;
    }

    .ce-textpic.ce-center.ce-above {
        margin-bottom: 4em;
    }

    .welbFooter {
        padding-right: 2em;
        padding-left: 2em;
        padding-bottom: 1em;
    }

    .welbFooter iframe {
        height: 250px;
        padding-right: 0;
        margin-bottom: 1em;
    }

    .text-right {
        text-align: left;
    }

    div#header-container {
        position: relative;
        padding: 0 2em;
    }

    .navbar-header {
        margin: 0 !important;
    }

    span.copyRight p:nth-child(2) {
        display: none;
    }

    .pageSpace {
        padding: 3em 2em;
    }

    .BG img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        object-position: left;
    }

    .TopLogo {
        width: 100%;
        padding: 3em;
        top: 50%;
        left: 50%;
        z-index: 10;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
    }

    .jole_accordion .service-bottom h5 {
        visibility: visible;
        opacity: 1;
        padding: 12px 20px;
        position: relative;
        bottom: 0;
        text-align: center;
        left: 0;
        right: 0;
        max-width: 100%;
        width: 100%;
        margin-top: 10px;
    }

    .jole_accordion .service-bottom h5:hover {
        bottom: 0;
    }

    .padd {
        padding: 0;
        margin-top: 35px;
        margin-bottom: 20px;
    }

    .col-sm-12.col-md-6.service-right {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .MainAccordion .container .panel-group {
        padding: 0 0em;
    }

    .STEF_contacts-box.MobIcons {
        margin-top: 162px;
    }

    ul.teaser.news.newsfeed {
        margin: 0;
        padding: 10px 0 0 0;
        border-top: 1px solid transparent;
    }

    div#newsprovider-content {
        width: 90% !important;
        margin: 0 !important;
        top: 21px !important;
        left: 23px !important;

    }

    div#newsprovider-content span.body {
        max-height: 360px !important;
        display: block;
        clear: both;
        overflow-y: scroll;
    }

    div#newsprovider-close {
        z-index: 10005 !important;
        position: absolute;
        right: 0;
        top: 0;
    }

    /*

    .panel-body p {
        padding: 0 15px;
    }
*/

    .BgBackground section.row > .img-responsive {

        padding: 0 15px;
    }

    .MainAccordion h4.panel-title:after {
        top: 0;
    }

    body {

        min-height: 100%;
        overflow-x: hidden;
    }

    ul.row.video-block {
        list-style: none;
    }

    .MainAccordion .panel-body {
        padding: 20px 10px;
    }

    section.col-md-offset-1.col-md-10 {
        display: inline-block;
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .video-block .video-thumb {
        width: 100%;
        margin-bottom: 41px;
    }

    .col-sm-12.col-md-6.service-right .col-md-6 {
        width: 100%;
    }

    .MainAccordion .panel-title {
        word-break: break-all;
    }



    h1 {
        font-size: 37px;
        font-weight: 400;
        line-height: 40px;
        text-align: left;
    }

    h2 {
        font-size: 37px;
        font-weight: 400;
        line-height: 40px;
        text-align: left;
    }

    h3 {
        font-size: 18px;
        line-height: 26px;
    }

    h4 {
        font-size: 20px;
    }

    .contenttable p {
        margin: 0;
        white-space: nowrap;
        letter-spacing: -1px;
    }

    table.contenttable td {
        padding: 0 2px;
        vertical-align: top;
    }

    .footer-btn {
        width: 100%;
    }

    .panel-title {
        font-size: 20px;
    }

    .row.centerSpace.container .col-md-11 {
        padding: 0;
    }

    section.col-md-3.col-xs-6.col-xxs-12 {
        width: 100%;
        margin-top: 15px;
    }

    .col-md-6.col-xs-12.video-thumb {
        margin: 10px 0;
        width: 100%;
    }

    .jole_accordion .col-md-4 {
        width: 100%;
    }

    .contacts-box {
        float: none;
    }

    .joko_video-thumb h5 {
        color: #fff;
        z-index: 1;
        font-size: 30px;
    }

    footer#taru_footer section.col-md-12 {
        clear: both;
    }

    .joko_video-thumb .text-center {
        margin-top: 9%;
        font-size: 16px;
    }



    .ImgSection {
        margin-left: 0;
    }



    div#header-container .col-md-1.col-xs-12 {
        width: 100%;
    }


    .fa-phone:before {
        content: "\f095" !important;
    }

    .fa-envelope:before {
        content: "\f0e0" !important;
    }

    .collapse.in {
        display: block !important;
    }

    img.IconLogo {
        position: relative;
        float: left;
        left: 0;
    }

    .STEF_dropdown-icon-xs {
        position: relative;
        left: inherit;
        font-size: 24px;
        top: 0px;
        right: 0;
        float: right;
        font-weight: bold;
    }

    .STEF_bg-img-fullsize {
        height: auto;
        padding-bottom: 0
    }


    .carousel-inner .caption {
        padding: 15px;
        width: inherit;
    }

    .topPadd {
        padding-top: 0;
    }

    .STEF_back-to-top {
        display: none;
        bottom: 52px;
    }

    .navbar-nav {
        float: none;
        margin: 0;
        padding: 1em 2em;
    }

    .BG {
        height: 91vh;
    }
}

@media only screen and (max-width :375px) {
    .topIcons {
        display: none;

    }

    div#header-container {
        position: relative;
        padding: 0 1em;
    }


    .welbFooter iframe {
        height: 250px;
        padding-right: 0;
        margin-bottom: 1em;
    }

    .welbFooter {
        padding-right: 1em;
        padding-left: 1em;
        padding-bottom: 1em;
    }

    .pageSpace {
        padding: 3em 1em;
    }

    .navbar-nav {
        float: none;
        margin: 0;
        padding: 1em 1em;
    }

    .navbar-default .navbar-nav > li > a {
        font-size: 20px;
        line-height: 18px;
    }
}

@media only screen and (max-width :320px) {
    section.row.STEF_contacts-box.STEF_headerContacts-xs.visible-xs a {
        color: #e9e9e9;
        padding: 10px 10px;
        display: inline-block;
        font-size: 18px;
    }

    .topIcons {
        display: none;

    }

    .navbar-toggle {
        padding: 12px 18px;
    }

    .TopLogo {

        top: 40%;
    }

    .BG {
        width: 100%;
        height: 83vh;
    }

    /*
div#header-container {
    display: flex;
    flex-direction: column-reverse;
}

section.row.STEF_contacts-box.STEF_headerContacts-xs.visible-xs {
    float: none;
    width: 100%;
    display: flex !important;
    justify-content: space-around;
}
*/

    /*
    .navbar-header {
        position: relative;
        z-index: 1000;
        float: none;
    }
*/
    .termina table.contenttable p {
        font-size: 14px;
    }

    .termina-h.mobile .termina {
        top: 48px;
        width: 280px;
    }

    span.termina-h.mobile.visible-xs a {
        font-size: 20px;
        padding: 10px 15px;
    }

    .topIcons a {
        padding: 10px 15px;
        font-size: 20px;
    }
}
