/*
Theme Name: Digital Industri Theme
Theme URI: http://digitalindustri.no/
Author: Abby
Author URI: http://digitalindustri.no/
Description: A basic theme using the Bootstrap framework.
Version: 1.0
Text Domain: digitalindustri
*/

html { 
    overflow-x: hidden;
}

* { outline: none !important; }

body {
    font-family: 'Roboto', sans-serif;
    background: #f8f8f8;
    font-size: 18px;
    line-height: 30px;
    overflow-x: hidden;
}

a, a:focus, a:hover {
    text-decoration: none;
}

a {
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

p {
    color: #404040;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    color: #000;
}

h1 { font-size: 48px; }
h2 { font-size: 42px; }
h3 { font-size: 36px; }
h4 { font-size: 30px; }
h5 { font-size: 24px; }
h6 { font-size: 18px; }

@media (max-width: 500px) {

    h1 { font-size: 33px; }
    h2 { font-size: 30px; }
    h3 { font-size: 27px; }
    h4 { font-size: 24px; }
    h5 { font-size: 21px; }
    h6 { font-size: 18px; }

    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }

}

b, strong {
    font-weight: 500;
}

.menu-trigger {
    position: relative;
    /*top: 123px;*/
    /*right: 120px;*/
    cursor: pointer;
    z-index: 1500;
    width: 30px;
    height: 24px;
    overflow: visible;
}

.menu-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    position: fixed;
    top: 100px;
    right: 100px;
    z-index: 750;
    opacity: 0;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.menu-circle.visible {
    opacity: 1;
}

.bar {
    background: #00aeef;
    width: 30px;
    height: 4px;
    position: absolute;
    right: 0;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.bar-2 {
    top: 10px;
}

.bar-3 {
    top: 20px;
}

.hasx .bar-1 {
    transform: rotate(45deg);
    top: 10px;
}

.hasx .bar-2 {
    opacity: 0;
}

.hasx .bar-3 {
    transform: rotate(-45deg);
    top: 10px;
}

.blog-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.blog-nav.display {
    opacity: 1;
    pointer-events: all;
}

.logo {
    position: fixed;
    top: 100px;
    left: 100px;
    z-index: 2000;
}

.logo a:first-of-type span {
    background: #00aeef;
    color: #fff;
    text-transform: uppercase;
    font-size: 50px;
    font-weight: 300;
    padding: 4px 12px;
}

.logo a:last-of-type {
    font-size: 30px;
    color: #000;
    margin-left: 20px;
}

.logo > * {
    vertical-align: middle;
    display: inline-flex;
    line-height: initial;
}

.blog-nav .menu-main-menu-container {
    position: absolute;
}

.blog-nav #menu-main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-nav #menu-main-menu a {
    font-size: 50px;
    font-weight: 300;
    color: #404040;
    text-transform: uppercase;
}

.blog-nav #menu-main-menu a:hover {
    color: #000;
}

.blog-nav #menu-main-menu .menu-item {
    text-align: center;
    margin: 30px;
}

.home-page {
    background: #fff;
    overflow: hidden;
    /*position: relative;*/
}

.max-width-1400 {
    max-width: 1400px;
    width: 100%;
    overflow: hidden;
}

.home-page .max-width-1400 { 
    margin: 250px auto 50px;
    text-align: center;
}

.home-page.dark-header .max-width-1400 {
    margin: 250px auto;
    text-align: center;
}

.home-page .featured-image {
    text-align: center;
    /*position: absolute;*/
    /*bottom: 0;*/
    width: 100%;
    margin: auto;
}

.home-post {
    /*padding: 100px 0;*/
    padding: 50px 0;
}

/*.home-post.first { padding-top: 200px; }*/
/*.home-post.last { padding-bottom: 200px; }*/

.home-post.first { padding-top: 100px; }
.home-post.last { padding-bottom: 100px; }


.home-post .left,
.home-post .right {
    width: 50%;
    max-width: 50%;
    /*height: 700px;*/
    /*float: left;*/
    /*position: relative;*/
    display: inline-block;
    vertical-align: top;
}

.home-post img {
    max-width: 100%;
    height: auto;
}

.what-we-do .left,
.what-we-do .right {
    /*float: right;*/
}

.contact-home-page {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.contact-info {
    position: absolute;
    left: 100px;
    bottom: 100px;
}

.contact-info p,
.contact-info a {
    color: #00baff;
}

.contact-info a:focus,
.contact-info a:hover {
    color: #337ab7;
}

.home-post .inner {
    max-width: 700px;
    width: 100%;
    /*position: absolute;*/
    /*right: 100px;*/
    float: right;
    padding: 0 100px;
}

.what-we-do .inner {
    float: left;
}

.home-post .right-inner {
    right: auto;
    left: 100px;
}

.contact-page {
    overflow: hidden;
}

.contact-page > div:first-of-type {
    background: #fff;
    overflow: hidden;
}

.contact-page > div:last-of-type {
    position: relative;
    padding: 0 !important;
}

.wpcf7 {
    /*    max-width: 500px;
        width: 100%;
        position: absolute;*/
    max-width: 600px;
    width: 100%;
    margin: 150px auto !important;

}

.wpcf7 h1 {
    margin-bottom: 80px;
    text-align: center;
}

.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    margin-bottom: 22px;
    padding: 10px 0 10px 20px;
}

.wpcf7 textarea {
    resize: none;
}

.wpcf7 textarea {
    height: 150px;
}

::-webkit-input-placeholder {
    font-style: italic;
    color: #ccc;
    text-transform: capitalize;
}

span.wpcf7-not-valid-tip {
    font-size: .5em;
    margin-top: -25px;
    color: #00aeef;
}

input.wpcf7-submit {
    padding: 0 20px 0 0;
    border: none;
    width: auto;
    margin: auto;
    background: none;
    color: #404040;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

input.wpcf7-submit:hover {
    color: #000;
}

.wpcf7-submit, .wpcf7 svg {
    display: inline-block;
}

.wpcf7 svg {

}

.wpcf7-form p:last-of-type {
    text-align: center;
    position: relative;
}

.wpcf7-form p:last-of-type .ajax-loader {
    position: absolute;
    left: 0;
    top: 0;
}

.logo-text {
    opacity: 1;
    pointer-events: all;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.hidden-logo {
    opacity: 0;
    pointer-events: none;
}

.contact-page .left,
.contact-page .right {
    float: left;
    width: 50%;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.contact-page .right ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-page .right span {
    display: none;
}

.contact-page .right ul,
.contact-page .right li,
.contact-page .right iframe {
    height: -webkit-fill-available;
}

.page-kontakt-oss .logo-text {
    display: none;
}

/* continue kontakt oss here */

/*.about-page .left,
.about-page .right {
    width: 50%;
    float: left;
    position: relative;
}

.about-page .text-content {
    position: absolute;
    width: 100%;
    max-width: 500px;
}*/

.about-page .about-text {
    max-width: 600px;
    width: 100%;
    margin: 150px auto 50px;
}

.products-page,
.services-page {
    background: #fff;
    /*height: 500px;*/
    overflow: hidden;
}

.products-page-inner,
.services-page-inner {
    /*margin: 250px auto auto;*/
    width: 100%;
    max-width: 1400px;
    margin: 250px auto 100px;
    text-align: center;
}

.post-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 200px auto;
    /*overflow: hidden;*/
}

.post-wrapper.odd > div {
    /*    vertical-align: middle;
        display: inline-block;
        float: none;*/
}

.post-wrapper .col-md-6.post_thumbnail img {
    max-width: 100%;
    height: auto;
}

.post-wrapper .col-md-6.text {
    padding: 0 100px;
}

.start-here {
    overflow: hidden;
    display: block;
}

.start-here-inner {
    text-align: center;
    margin: 150px auto;
}

.start-here-inner h1 {
    color: #fff;
}

.start-here-inner p {
    margin: 50px;
}

.start-here-inner a {
    background: #fff;
    padding: 20px 50px;
    border-radius: 100px;
}

.post-header {
    background: #fff;
    overflow: hidden;
}

.post-header-inner {
    max-width: 1200px;
    margin: 250px auto 100px;
    text-align: center;
}

.single-post-inner {
    max-width: 1200px;
}

.dark-background {
    /*background: rgba(0,174,239,1);*/
    background: rgba(0,0,0,.2);
    overflow: hidden;
}

.read-more {
    background: #00aeef;
    padding: 15px 50px;
    border-radius: 100px;
    color: #fff;
}

.read-more:hover {
    color: #eee;
}

.desktop-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2000;
}

.admin-bar .desktop-nav {
    top: 32px;
}

.desktop-nav {
    background: #fff;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;

    max-width: 100%;
    /*overflow: hidden;*/
}

.desktop-nav.shadow-nav {
    box-shadow: rgba(0,0,0,0.1) 0 0 3px 1px;
}

.logo-horizontal {
    padding: 20px 0;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.logo-horizontal:hover {
    opacity: .9;
}

.desktop-nav-inner {
    max-width: 1300px;
    margin: auto;
    padding: 0 50px;
}

.desktop-nav .menu-main-menu-container {
    display: block;    
}

.desktop-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: auto;
    float: right;
}

.desktop-nav li {
    display: inline-block;
    padding: 30px 10px;
    vertical-align: middle;
}

.inside-grid-column img {
    max-width: 100%;
    height: auto;
}

/* responsive modifications */

.home-page .featured-image {
    max-width: 1400px;
    width: 100%
}

.home-page .featured-image img,
.home img {
    max-width: 100%;
    height: auto;
}

.left-content,
.right-content {
    /*.home .left-content,
    .home .right-content {*/
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 0 50px;
}

.responsive-nav-inner { 
    display: none;
}

@media (min-width: 768px) {
    .home-post.reversed > div:first-of-type {
        float: right;
    }

    .home-post.reversed > div:last-of-type {
        float: left;
    }
}

@media (max-width: 1024px) {

    .home-post .inner {
        padding: 0 50px;
    }

    .home-post,
    .post-wrapper {
        padding: 50px 0;
    }

    .post-wrapper {
        margin: 0 auto;
    }

    .home-post.first { padding-top: 100px; }
    .home-post.last { padding-bottom: 100px; }

    .home-page .max-width-1400,
    .products-page .products-page-inner {
        padding: 0 100px;
    }

    .home .left-content, .home .right-content,
    .post-wrapper .col-md-6.text {
        padding: 0 25px;
    }

} 

@media (max-width: 768px) {

    .post-wrapper {
        padding: 20px 0;
    }

    .post-wrapper .col-md-6.text {
        margin-bottom: 30px;
    }

    .responsive-nav-inner { 
        display: block;
    }

    .home-post.reversed > div:first-of-type,
    .home-post.reversed > div:last-of-type {
        float: none;
    }

    .home-post {
        padding: 25px 0;
    }

    .home-post.first { padding-top: 50px; }
    .home-post.last { padding-bottom: 0; }

    .home .left-content, .home .right-content {
        padding: 25px;
    }

    .desktop-nav-inner,
    .responsive-main-menu {
        display: none;
    }

    .admin-bar .desktop-nav {
        top: 46px;
    }

    .responsive-nav-inner {
        padding: 10px 20px;
        /*overflow: hidden;*/
        overflow: auto;
    }

    .responsive-nav-inner .logo-horizontal {
        padding: 0;
    }

    .logo-horizontal {
        float: left;
        width: 50%;
        /*z-index: 5000;*/
    }

    .menu-trigger {
        float: right;
        margin: 10px 0;
        /*z-index: 5001;*/
    }

    .desktop-nav ul {
        width: 100%;
        text-align: center;
    }

    .responsive-main-menu {
        /*z-index: 4999;*/
        -webkit-transition: all .3s ease-out;
        -moz-transition: all .3s ease-out;
        -o-transition: all .3s ease-out;
        transition: all .3s ease-out;
    }

    .responsive-main-menu.display {
        display: block;
    }

}

@media (max-width: 500px) {

    .desktop-nav li {
        display: block;
        padding: 10px;
    }

    .desktop-nav ul {
        padding: 50px 0;
    }

    .home-page .max-width-1400,
    .products-page .products-page-inner {
        margin: 100px auto 30px;
        text-align: center;
        padding: 0 30px;
    }

    .start-here-inner p {
        margin: 50px 0;
    }

    .wpcf7 {
        max-width: 300px;
        width: 100%;
        margin: 50px auto;
    }

    .wpcf7 h1 {
        font-size: 30px;
        margin: initial;
        margin-bottom: 40px;
    }

} 

@media (max-width: 1024px) {
    .about-page .left, .about-page .right {
        position: initial;
        float: none;
        width: 100%;
        height: auto !important;
    }

    .about-page .text-content {
        width: 100%;
        position: initial;
        max-width: initial;
        padding: 100px;
    }

    .about-page,
    .contact-page {
        height: auto !important;
    }

    .about-page .right {
        height: 800px !important;
    }

    .contact-page .left, .contact-page .right {
        overflow: hidden;
        position: relative;
        background: #fff;
        float: none;
        width: 100%;
        height: 700px !important;
    }

    .wpcf7 {
        position: initial;
    }

    div.wpcf7 {
        /*        margin: 0;
                width: 100%;
                position: initial;
                max-width: 100%;
                width: 100%;
                padding: 100px;*/

    }

    .contact-page .left {
        height: auto !important;
    } 
}

@media (max-width: 768px) {

}

@media (max-width: 500px) {

    .about-page .text-content {
        margin: 100px auto 30px;
        text-align: center;
        padding: 0 30px;
    }

    .about-page .right {
        height: 400px !important;
    }

    div.wpcf7 {
        padding: 100px 30px;
        margin: 100px auto 50px !important; /*luni*/
        padding: 50px 30px; /*luni*/
    }

    .contact-info {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        padding: 30px 0;
        text-align: center;
    }

    #the-map {
        height: 550px !important;
    }

    .about-page .about-text {
        padding: 0 30px;
    }

    .about-page .col-md-6.about-image {
        height: 400px !important; 
    }

}

.footer {
    background: #fff;
    padding: 100px 0;
}

.home .footer,
.page-kontakt-oss .footer {
    background: #f8f8f8;
}

.footer.row > div {
    max-width: 1400px;
    width: 100%;
    padding: 0 10%;
    margin: auto;
    float: none;
    text-align: center;
}

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

.footer li {
    display: inline-block;
}

.footer li:after {
    content: '\2022';
    margin-left: 10px;
    margin-right: 7px;
}

.footer li:last-of-type:after {
    display: none;
}

.general-page .page-inner {
    width: 100%;
    max-width: 1000px;
    margin: 250px auto 100px;
    text-align: center;
}

.product-post-1400 {
    width: 100%;
    max-width: 1400px;
    margin: 100px auto;
}

.product-post-1400 .text {
    padding: 0 50px;
}

@media (min-width: 992px) {
    .product-post-1400.even > div {
        float: right;
    }
}

.product-post-1400 h3.title {
    margin: 0 0 20px;
}

.product-post-1400 .image img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.product-post-1400 .col-md-6.text {
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    /*max-height: 400px;*/
    height: 500px;
    position: relative;
    overflow: hidden;
}

.product-post-1400 .col-md-6.text.unhide {
    /*padding-bottom: 100px;*/
}

.les-mer {
    background: #00aeef;
    /*padding: 15px 50px;*/
    padding: 2px 30px;
    border-radius: 100px;
    color: #fff;
    border: none;
    font-size: 15px;

    position: absolute;
    /*left: 50px;*/
    right: 50px;
    bottom: 0;
}

.post-bottom-gradient {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    /*height: 150px;*/
    height: 60px;
    background: #f8f8f8;
    background: -moz-linear-gradient(top, rgba(248,248,248,0) 0%, rgba(248,248,248,1) 50%, rgba(248,248,248,1) 100%);
    background: -webkit-linear-gradient(top, rgba(248,248,248,0) 0%,rgba(248,248,248,1) 50%,rgba(248,248,248,1) 100%);
    background: linear-gradient(to bottom, rgba(248,248,248,0) 0%,rgba(248,248,248,1) 50%,rgba(248,248,248,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f8f8f8', endColorstr='#f8f8f8',GradientType=0 );
}

@media (max-width: 1000px) {
    .product-post-1400.row .col-md-6.image {
        margin-top: 50px;
    }
}

@media (min-width: 500px) {
    .secret-enter {
        display: none;
    }
}

/* home page modification */
/* home page modification */
/* home page modification */

.home-page.dark-header .max-width-1400 {
    margin: 260px auto;
    text-align: center;
}

.home-page.dark-header .max-width-1400 p,
.home-page.dark-header .max-width-1400 h1,
.home-page.dark-header .max-width-1400 h2,
.home-page.dark-header .max-width-1400 h3,
.home-page.dark-header .max-width-1400 h4,
.home-page.dark-header .max-width-1400 h5,
.home-page.dark-header .max-width-1400 h6 {
    color: #fff;
}

.home-page.dark-header .max-width-1400 a {
    color: #3fa2f3;
}

@media(min-width: 769px) {

    .home .desktop-nav,
    .desktop-nav.dark-menu {
        background: -moz-linear-gradient(top, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 100%);
        background: -webkit-linear-gradient(top, rgba(0,0,0,0.3) 0%,rgba(0,0,0,0) 100%);
        background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%,rgba(0,0,0,0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d000000', endColorstr='#00000000',GradientType=0 );
    }

    .desktop-nav.dark-menu a {
        color: #e8e8e8;
    }

    .desktop-nav.dark-menu a:hover,
    .desktop-nav.dark-menu a:focus,
    .desktop-nav.dark-menu a:active {
        color: #fff;
    }

    .desktop-nav.dark-menu.shadow-nav {
        background: #fff;
    }

    .desktop-nav.dark-menu.shadow-nav a {
        color: #337ab7;
    }

    .desktop-nav.dark-menu.shadow-nav a:hover,
    .desktop-nav.dark-menu.shadow-nav a:focus,
    .desktop-nav.dark-menu.shadow-nav a:active {
        color: #23527c;
    }

}


.white-logo {
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.white-logo {
    opacity: 1;
}

.white-logo.hide-white {
    opacity: 0;
}

@media(max-width:768px) {
    .white-logo {
        display: none;
    }

    .home-page.dark-header .max-width-1400 {
        margin: 100px auto 50px;
    }

}
.wp-post-image{
    max-width: 100%;
    height: auto;
}
/* test */
.home-page{
    background-position: 80%;
    background-repeat: no-repeat;
}
.testfield{
    text-align: center;
}
.ptp-cta{
    display: none;
}
.tt-ptp-empty-row{
    display: none;
}