/*--------------------------------------------------------------
# Global Styles
--------------------------------------------------------------*/
a {
    text-decoration: none;
}

h1 {
    font-size: 1.5em;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.25;
    text-shadow: 2px 2px 2px rgba(0,0,0,.5);
}

h1 > small {
    font-weight: 300;
}

.owl-dots {
    margin-top: 15px;
    text-align: center;
}

.owl-dot {
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
}

.owl-dot span {
    background-color: rgba(0,0,0,.1);
    height: 10px;
    width: 10px;
    display: inline-block;
    border-radius: 50%;
}

.owl-dot.active span {
    background-color: rgba(255,255,255, 1);
}



/*--------------------------------------------------------------
# Header Styles
--------------------------------------------------------------*/
.header-bar {
    background-color: #fff;
}

.entry-header {
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

video {
    left: 50%;
    position: fixed;
    top: 0;
    transform: translateX(-50%);
    z-index: -1;
}

.header-content {
    color: #fff;
    left: 50%;
    position: absolute;
    text-align: center;
    top: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    min-width: 350px;
    z-index: 1;
}

.header-content a {
    border: 1px solid #fff;
    color: #fff;
    font-weight: 300;
    padding: 10px 5%;
    text-shadow: 2px 2px 2px rgba(0,0,0,.5);
}

.header-content a:hover {
    background-color: #00a2df;
    border-color: transparent;
}

.video-overlay {
    background-color: rgba(0,0,0,.5);
    background-image: url("/wp-content/uploads/pattern-overlay-1.png");
    background-attachment: scroll;

    color: inherit;
    position: absolute;
    width: 100%;
    height: 100% !important;
    left: 0;
    top: 0;
}


/*--------------------------------------------------------------
# Content Styles
--------------------------------------------------------------*/
h2 {
    text-transform: uppercase;
}

section {
    background-color: #fff;
}

section .row {
    position: relative;
}


section .col {
    display: inline-block;
}



/* Section 1 */
#section-1 {
    background-color: #eee;
    padding-bottom: 5%;
    padding-top: 5%;
    text-align: center;
}

#section-1 h2 {
    margin-top: 0;
}


/* Section 2 */
#section-2 {
    padding-bottom: 2.5%;
    padding-top: 5%;
}

#section-2 header {
    margin-bottom: 7%;
    text-align: center;
}

#section-2 h2 {
    font-weight: 300;
}

#section-2 .row.tabs {
    border-bottom: 1px solid #eee;
    position: relative;
    border-top: 1px solid #eee;
    text-align: center;
}

#section-2 .row.tabs > .col {
    margin: 0;
    padding: 25px 5%;
    position: relative;
}

@keyframes arrowReveal {
    0% { color: transparent; bottom: -25px }
    65% { color: transparent;  bottom: -25px }
    100% { color: #019ddb; bottom: -57px; }
}

/*
.tabs > .col.active::after {
    color: #019ddb;
    content: "";
    bottom: -57px;
    font-family: "Fontawesome";
    font-size: 70px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}
*/

.tabs > .col > svg {
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    color: #019DDB;
    opacity: 0;
    /*animation: arrowReveal .5s ease-in-out 0s;*/
    transition: bottom .25s ease-in-out 0s, opacity .25s ease-in-out 0s;
}

.tabs > .col.active > svg {
    bottom: -38px;
    opacity: 1;
}



#section-2 .row.tabs > .col:not(.active) {
    cursor: pointer;
}

#section-2 .row.tabs p {
    font-size: 1.5em;
}

#section-2 .row.tabs .col.active {
    background-color: #019ddb;
    color: #fff;
    -webkit-transition: background-color .5s ease-in-out 0s;
    -o-transition: background-color .5s ease-in-out 0s;
    transition: background-color .5s ease-in-out 0s;
}

#section-2 .row.tabs .col.active img {
    background-color: #fff;
    border-radius: 50%;
}

#section-2 .tab-item {
    padding-bottom: 5%;
    padding-top: 5%;
}

#section-2 .tab-item:not(.active) {
    display: none;
}

#section-2 .tab-item .col.col-left {
    color: #019DDB;
    vertical-align: top;
}

#section-2 .tab-item .col.col-left p {
    margin: 0;
}

#section-3 {
    background-color: #2c9fe3;
    padding-bottom: 5%;
    padding-top: 2.5%;
}

#section-3 > h2 {
    color: #fff;
    font-size: 1.5em;
    font-weight: 300;
    margin-top: 0;
    text-align: center;
    text-transform: capitalize;
}

#section-3 .owl-item h2 {
    margin: 0;
    font-size: 1.25em;
}

#section-3 .portfolio-item .content-wrap p {
    font-size: 14px;
}

#section-3 .item.portfolio-item {
    padding: 75px 25px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}

#section-3 .learn-more {
    background-color: #2c9fe3;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    margin-bottom: 15px;
    padding: 10px 25px;
    text-align: center;
}

#section-3 .content-wrap {
    display: inline-block;
    background-color: rgba(255,255,255,.9);
    padding: 25px 5%;
}

.owl-nav > div {
    position: absolute;
    background-color: rgba(255,255,255,.75);
    width: 25px;
    height: 100%;
    text-align: center;
    top: 0;
    vertical-align: middle;
}

.owl-next {
    right: 0;
}

.owl-nav > div > svg {
    top: 50%;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
}

.owl-nav:not(:hover)  > div > svg:not(:hover) {
    color: rgba(0,0,0,.15);
}



#section-4 {
    background-color: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding-bottom: 10%;
    padding-top: 10%;
    text-align: center;
}

#section-4 .industry-items {
    margin: auto;
    padding: 0;
}

#section-4 .idustry-item {
    box-shadow: 1px 1px 10px -.5px rgba(0,0,0,.1);
    background-color: #fff;
    display: inline-block;
    margin: 15px;
    width: calc(100%/2 - 30px);
    overflow: hidden;
    padding: 15px;
    position: relative;
    text-align: center;
    transition: background-color .5s ease-in-out 0s;
}

.idustry-item > * {
    transition: all 0.5s ease-in-out 0s;
}

#section-4 .idustry-item > img,
#section-4 .idustry-item > span {
    display: block;
    margin: auto;
}

#section-4 .idustry-item > span:not(.caption) {
    color: #019DDB;
    font-weight: 600;
    font-style: normal;
    margin-top: 15px;
}

#section-4 .idustry-item > .caption {
    color: #fff;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 1px;
    margin-left: -15px;
    padding: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#section-4 a.learn-more {
    border: 1px solid #fff;
    display: block;
    font-style: normal;
    margin-bottom: 10px;
    margin-top: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-transform: uppercase;
}

#section-4 a.learn-more:not(:hover) {
    color: inherit;
}

#section-4 a.learn-more:hover {
    background-color: #fff;
}



#section-5 {
    background-color: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding-bottom: 5%;
    padding-top: 5%;
    text-align: center;
}

#section-5 .gallery {
  -webkit-columns: 2;
     columns: 2;
}

#section-5 .gallery > img {
    display: block;
    -webkit-column-break-inside: avoid;
                   break-inside: avoid;
    padding: 10px;
}


#section-6,
#section-6 .row  {
    padding-bottom: 5%;
    padding-top: 5%;
}

section#section-6 .row:first-child {
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
}

#section-6 header {
    padding-bottom: 2.5%;
    text-align: center;
}

#section-6 header p {
    max-width: 800px;
    margin: auto;
}

section#section-6 blockquote {
    font-style: italic;
    margin-left: 0;
}



/*--------------------------------------------------------------
# @Media Styles
--------------------------------------------------------------*/
@media screen and ( max-width: 767px ) {
    #section-4 .idustry-item > .caption {
        display: none;
    }
}

@media screen and ( min-width: 768px ) {
    html, body {
        height: 100%;
        position: relative;
    }

    .header-content {
        min-width: 1000px;
    }

    .entry-header {
        height: calc(100vh - 130px);
        background-image: none !important;
    }

    h1 {
        font-size: 4em;
    }

    video {
        -o-object-fit: cover;
           object-fit: cover;
        -o-object-position: top;
           object-position: top;
        height: 100vh;
        width: 100%;
    }

    .video-overlay {
        z-index: -1;
    }

    .owl-nav .fa {
        font-size: 3em
    }

    .owl-nav > div {
        width: 150px;
    }

    #section-2 header h2 {
        font-size: 2em;
    }

    #section-2 .row.tabs .col {
        width: calc(100% / 3 - 35px);
        margin-top: -40px;
        max-width: 100%;
    }

    #section-2 .tab-item .col.col-left {
        font-size: 1.6em;
        max-width: calc(35% - 35px);
        padding-bottom: 20px;
    }

    #section-2 .tab-item .col.col-right {
        max-width: calc(65% - 35px);
    }

    #section-2 .tab-item .col.col-right p:first-child {
        margin-top: 0;
    }


   


    #section-3 > h2 {
        font-size: 3em;
    }

    #section-3 .owl-item h2 {
        font-size: 2em;
    }

    #section-3 .portfolio-item .content-wrap p {
        font-size: 1.25em;
    }

    #section-3 .item.portfolio-item {
        padding: 20% 0;
    }

    #section-3 .learn-more {
        width: 300px;
    }

    #section-4 .section-content {
        background-color: #fafafa;
    }

    #section-4 .idustry-item {
        margin: 15px;
        width: calc(100%/5 - 30px);
        padding: 25px 15px;
    }

    #section-4 .idustry-item:hover > img,
    #section-4 .idustry-item:hover > span:not(.caption) {
        transform: translateX(160%);
    }

    #section-4 .idustry-item:hover {
        background-color: #00a2df;
    }

    #section-4 .idustry-item:not(:hover) > img,
    #section-4 .idustry-item:not(:hover) > span:not(.caption) {
        transform: translateX(0);
    }

    #section-4 .idustry-item:not(:hover) .caption {
        opacity: 0;
    }

    #section-5 .gallery {
      -webkit-columns: 3;
         columns: 3;
    }

    section#section-6 .row > .col {
        margin: 0;
    }

    section#section-6 .row:first-child .col-left {
        padding-left: 15%;
        max-width: 55%;
        vertical-align: middle;
    }

    section#section-6 .row:first-child .col-right {
        text-align: right;
        max-width: calc(45% - 4px);
        vertical-align: middle;
    }

    section#section-6 .row:last-child .col-left {
        max-width: calc(45% - 4px);
        vertical-align: middle;
    }

    section#section-6 .row:last-child .col-right {
        padding-left: 5%;
        padding-right: 10%;
        max-width: 55%;
        vertical-align: middle;    }
}

@media screen and ( max-width: 767px ) {
    .entry-header {
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    #section-2 .col.active + .tab-content p {
        font-size: initial !important;
    }

    .tabs > .col:not(.active) {
        border-bottom: 1px solid #eee;
    }

    #section-2 .tab-item .col {
        padding: 0 !important;
        text-align: left;
    }

    #section-2 .tab-item.active {
        border-bottom: 1px solid #eee;
    }

    #section-4 .container {
        padding: 0;
    }

    #section-4 .industry-items {
        padding: 10px 5px;
    }

    #section-4 .idustry-item .caption {
        opacity: 0;
    }

    section#section-6 .row:first-child .col-right,
    section#section-6 .row:last-child .col-left {
        margin: 0;
    }

    section#section-6 .row:first-child .col-left > p:first-child,
    section#section-6 .row:last-child .col-right > p:first-child {
        text-align: center;
    }

    section#section-6 .row:last-child {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-flow: column nowrap;
                flex-flow: column nowrap;
    }

    section#section-6 .row:last-child .col-left {
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
    }

    section#section-6 .row:last-child .col-right {
        -webkit-box-ordinal-group: 1;
            -ms-flex-order: 0;
                order: 0;
    }

    section#section-6 .row:first-child::after {
        background-color: #00a2df;
        max-width: 50px;
        height: 3px;
    }
}


@media screen and ( min-width: 800px ) {
     #section-2 {
        padding-bottom: 10%;
        padding-left: 15px;
        padding-right: 15px;
     }

     #section-2 > .container {
        border-bottom: 1px solid #eee;
        display: grid;
        grid-column-gap: 5%;
        grid-template-columns: 30% auto;
    }
    
    #section-2 header {
        border-bottom: 1px solid #eee;
        grid-column: 1 / span 2;
        margin-bottom: 0;
        padding-bottom: 5%;
        text-align: center;
    }

    #section-2 .row.tabs {
        grid-column: 1;
        border: none;
    }

    #section-2 .row.tabs .col {
        align-items: center;
        display: flex;
        margin-top: 0;
        padding: 15px;
        width: auto;
    }

    #section-2 .tab-item {
        padding: 0;
    }

    #section-2 .row.tabs p {
        margin: 0;
        text-align: left;
    }

    #section-2 .row.tabs .col.col-2 {
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    #section-2 .row.tabs .col.active img {
        border-radius: 0;
        max-width: 100px;
        margin-right: 25px;
    }

    #section-2 > .container .tab-content {
        grid-column: 2;
        padding-bottom: 25px;
        padding-top: 25px;
    }

    #section-2 .tab-item .col {
        max-width: none !important;
        margin: 0;
    }

    .tabs > .col.active > svg,
    .tabs > .col > svg {
        bottom: 30px;
        right: -25px;
        transform: rotate(-90deg);
    }

    #section-2 .tab-item .col.col-right p:last-child {
        margin-bottom: 0;
    }
}

