/* 01. FONTS
//----------------------------------------------------------------------------------------- */

$font1: 'Work Sans', sans-serif;
$font2: 'Montserrat', sans-serif;
$font_icons: 'FontAwesome';

/* 02. PRELOADER
//----------------------------------------------------------------------------------------- */

@import 'preloader';

/* 03. GENERAL
//----------------------------------------------------------------------------------------- */

/* Global styles */

body {
    font-family: $font1;
    font-weight: normal;
    color: #555;
    background-color: $body-bg-color;
    overflow-x: hidden;
    font-size: 14px;
}
hr {
    border-top: 1px solid rgba(#000,0.1);
    margin-top: 35px;
    margin-bottom: 35px;
}
a {
    color: $color5;
    text-decoration: none;
    &:visited {
        color: $color4;
        text-decoration: none;
    }
    &:hover {
        color: $color3;
        text-decoration: none;
    }
    &:focus, &:active {
        outline: none;
        text-decoration: none;
    }
    &[title]:hover:after {
        background-color: rgba($color5,0.06); 
        color: $color5;
    }
}
h1,h2,h3,h4,h5,h6 {
    font-family: $font2;
    font-weight: bold;
    padding-top: 5px;
    margin-top: 0;
    margin-bottom: 18px;
    line-height: 1.7;
}
h3 {
    font-size: 27px;
}
h4 {
    font-size: 22px;
}
h5 {
    font-size: 18px;
}
h6 {
    font-size: 15px;
}
p, dd {
    margin-bottom: 14px;
    line-height: 1.6;
}
code, kbd, pre, samp, acronym {
    background-color: $color1;
    color: $color6;
}
.no-menu {
    text-align: right;
}
.bg-white.not-empty-header,
.not-empty-header {
    padding-top: 110px;
}
#wp-toolbar a {
    color: #eee !important;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif !important;
    font-size: 13px !important;
    line-height: 32px !important;
}
#wp-toolbar a:hover {
    color: #00b9eb !important;
}
.title {
    overflow: hidden;
    margin-left: -1px;
    text-align: left;
    h2, h3, h4, h5, h6, p {
        color: $color5; 
        font-weight: bold; 
        font-size: 35px; 
        text-transform: uppercase;
        position: relative;
        display: inline-block;
        padding-right: 25px;
        &:after {
            content: '-';
            font-size: 2px;
            background: rgba(#000,0.1);
            color: rgba(#000,0.1);
            height: 4px;
            display: block; 
            width: 2000%;
            position: absolute;
            right: -2000%;
            top: 50%;
        }
    }
}
.title-r {
    overflow: hidden;
    text-align: right;
    margin-right: -1px;
    h2, h3, h4, h5, h6, p {
        color: $color5; 
        font-weight: bold; 
        font-size: 35px; 
        text-transform: uppercase;
        position: relative;
        display: inline-block;
        padding-left: 25px;
        &:after {
            content: '-';
            font-size: 2px;
            background: rgba(#000,0.1);
            color: rgba(#000,0.1);
            height: 4px;
            display: block; 
            width: 2000%;
            position: absolute;
            left: -2000%;
            top: 50%;
        }
    }
}
.title-c {
    overflow: hidden;
    text-align: center;
    margin-right: -1px;
    h2, h3, h4, h5, h6, p {
        color: $color5;
        font-weight: bold;
        font-size: 35px;
        text-transform: uppercase;
        position: relative;
        display: inline-block;
        padding-left: 25px;
        padding-right: 25px;
        &:before {
            content: '-';
            font-size: 2px;
            background: rgba(#000,0.1);
            color: rgba(#000,0.1);
            height: 4px;
            display: block;
            width: 2000%;
            position: absolute;
            left: -2000%;
            top: 50%;
        }
        &:after {
            content: '-';
            font-size: 2px;
            background: rgba(#000,0.1);
            color: rgba(#000,0.1);
            height: 4px;
            display: block;
            width: 2000%;
            position: absolute;
            right: -2000%;
            top: 50%;
        }
    }
}
.line {
    display: block;
    font-size: .875em;
    margin-bottom: 1em;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 1;
    color: rgba($color5,0.5);
    &:before {
        width: 40px;
        height: 10px;
        background-color: #f9f9f9;
        content: '';
        margin: -5px 0 0 -20px;
        left: 50%;
        position: absolute;
        top: 50%;
        z-index: -1;
    }
    &:after {
        border-bottom: 1px solid rgba($color5,0.15);
        content: '';
        display: block;
        position: absolute;
        top: 49%;
        width: 100%;
        z-index: -2;
    }
}
ul {
    &.listicon-check li {
        padding-left: 1em;
        list-style: none;
        margin-bottom: 4px;
        &:before {
            content: '\f00c';
            font-family: $font_icons;
            display: inline-block;
            width: 1.5em;
            margin-left: -2.5em;
            color: $color4;
        }
    }
    &.listicon-times li {
        padding-left: 1em;
        list-style: none;
        margin-bottom: 4px;
        &:before {
            content: '\f00d';
            font-family: $font_icons;
            display: inline-block;
            width: 1.5em;
            margin-left: -2.5em;
            color: $color4;
        }
    }
    &.listicon-chevron-right li {
        padding-left: 1em;
        list-style: none;
        margin-bottom: 4px;
        &:before {
            content: '\f054';
            font-family: $font_icons;
            display: inline-block;
            width: 1.3em;
            margin-left: -2.5em;
            font-size: 11px;
            color: $color4;
        }
    }
}
.text-italic {
    font-style: italic;
}

/* Tables */

table {
    width: 100%;
    margin-bottom: 20px;
    th,
    td {
        border: 1px solid #d3d3d3;
        padding: 5px;
    }
}

table.vc-table-plugin-theme-classic_blue tr:nth-child(2n+2) {
    background-color: #f9f9f9 !important;
}

table.vc-table-plugin-theme-classic_blue tr:nth-child(2n+1),
table.vc-table-plugin-theme-classic_blue tr:hover {
    background-color: transparent !important;
}

table.vc-table-plugin-theme-classic_blue tr:hover {
    background-color: inherit !important;
}

.wpb_vc_table {
    table {
        width: 100%;
        & {
            border:0;
            tr.vc-th,
            tr:last-child {
                td {
                    font-family: $font2;
                    font-weight: 600;
                }
            }
            &>tbody>tr>td,&>tbody>tr>th,
            &>tfoot>tr>td,&>tfoot>tr>th,
            &>thead>tr>td,&>thead>tr>th {
                padding: 9px;
                line-height: 1.5;
            }
        }

        &.vc-table-plugin-theme-classic {
            tr:last-child {
                background-color: #F9F9F9;
                border-color: #F9F9F9;
            }
        }

        &.vc-table-plugin-theme-classic_purple {
            tr:nth-child(2n+1) {
                background-color: #f9f9f9;
            }
            tr:hover {
                background-color: inherit;
            }
            tr.vc-th,
            tr:last-child {
                background-color: #044A67;
                border-color: #044A67;
                color: #fff;
            }
            tr.vc-th {
                td {
                    background: #044A67;
                }
            }
            & >tbody>tr>td, & >tbody>tr>th,
            & >tfoot>tr>td, & >tfoot>tr>th,
            & >thead>tr>td, & >thead>tr>th {
                border-color: rgba(#aaa,0.2);
            }
            & >thead>tr>th {
                border-top: solid 1px #044A67;
            }
            & >tfoot>tr>th {
                border-bottom: solid 1px #044A67;
            }
        }

        &.vc-table-plugin-theme-classic_green {
            tr:last-child {
                background-color: #98c407;
                border-color: #98c407;
                color: #fff;
            }
        }

        &.vc-table-plugin-theme-classic_pink {
            tr:last-child {
                background-color: #f64747;
                border-color: #f64747;
                color: #fff;
            }
        }

        &.vc-table-plugin-theme-classic_orange {
            tr:last-child {
                background-color: #ffac14;
                border-color: #ffac14;
                color: #fff;
            }
        }

        &.vc-table-plugin-theme-classic_blue {
            tr.vc-th,
            tr:last-child {
                td {
                    font-family: $font2;
                    font-weight: 600;
                    background-color: $color3;
                    border-color: $color3;
                    color: #fff;
                    a {
                        color: #fff;
                        &:hover {
                            color: #fff;
                        }
                    }
                }
            }
            & >tbody>tr>td, & >tbody>tr>th,
            & >tfoot>tr>td, & >tfoot>tr>th,
            & >thead>tr>td, & >thead>tr>th {
                border-color: rgba($color3,0.2);
            }
            & >thead>tr>th {
                border-top: solid 1px $color3;
            }
            & >tfoot>tr>th {
                border-bottom: solid 1px $color3;
            }
        }

    }
}

.table-theme-2 {
    border:0;
    &>tbody>tr>td,&>tbody>tr>th,
    &>tfoot>tr>td,&>tfoot>tr>th,
    &>thead>tr>td,&>thead>tr>th {
        padding: 9px;
        line-height: 1.5;
    }
    &.table-bordered>tbody>tr>td, &.table-bordered>tbody>tr>th, 
    &.table-bordered>tfoot>tr>td, &.table-bordered>tfoot>tr>th, 
    &.table-bordered>thead>tr>td, &.table-bordered>thead>tr>th {
        border-color: rgba(#aaa,0.2);
    }
    &.table-bordered>thead>tr>th {
        border-top: solid 1px $color5;
    }
    &.table-bordered>tfoot>tr>th {
        border-bottom: solid 1px $color5;
    }
    th {
        font-family: $font2;
        font-weight: 600;
        background-color: $color5;
        border-color: $color5;
        color: #fff;
        a {
            color: #fff;
            &:hover {
                color: #fff;
            }
        }
    }
}
.lead {
    margin-bottom: 30px;
}
.bg-gray {
    background-color: rgba(#455A64,0.06);
    padding: 60px 0;
}
.bg-white {
    padding: 60px 0;
}
.bg-buy {
    padding: 40px 0;
    background: rgba(#455A64,0.06);
    background-size: cover;
}
.fs404 {
    padding-top: 0.3em;
    font-size: 75%;
}

.error404 .bg-white {
    padding: 10% 0;
}

/* Breadcrumb */

.breadcrumb-container {
    font-family: $font1;
    font-weight: 500;
    text-transform: uppercase;
    width: 100%;
    margin: 0;
    padding-top: 85px;
    background-color: $color5;
    color: #d5d5d5;
}
.breadcrumb {
    width: 100%;
    margin: 0;
    padding: 20px 0;
    list-style: none;
    background-color: transparent;
    font-size: 13px;
    letter-spacing: 0.1em;
    @include border-radius(0);
    > {
        li {
            display: inline-block;
            a {
                color: #e9e9e9;
                &:hover {
                    color: #f9f9f9;
                }
            }
            + li:before {
                font-family: 'FontAwesome';
                content:'\f105';
                padding: 0 10px;
                color: rgba(#fff,0.7);
                font-weight: normal;
            }
        }
        .active {
            color: #fff;
            font-weight: 600;
        }
    }
}
.corp-tooltip + .tooltip {
    margin-left: -2px;
}
.corp-tooltip + .tooltip > .tooltip-inner {
    background-color: rgba($color5,0.06); 
    color: $color5;
}
.corp-tooltip + .tooltip > .tooltip-arrow { @include opacity(0);}

/* Nav-tabs */

.nav-tabs {
    border-bottom: 1px solid rgba($color5,0.2);
    background: transparent;
    > li {
        float: left;
        margin-bottom: -1px;
        background: transparent;
        > a {
            margin-right: 2px;
            line-height: 1.42857143;
            padding: 10px 16px;
            background-color: rgba($color5,0.07);
            color: $color4;
            font-weight: 600;
            cursor: pointer;
            border-top: 0;
            border-left: 0;
            border-right: 0;
            border: 1px solid transparent;
            @include border-radius(4px 4px 0 0);
            @include transition(all 0.2s ease);
            &:hover, &:focus {
                background: $color3;
                border-color: $color3;
                color: #fff;
                border-top: 0;
                border-left: 0;
                border-right: 0;
                border: 1px solid transparent;
            }
        }
        &.active {
            a:hover, :focus {
                background: transparent;
                border-color: transparent;
            }
        }
        &.active > a,
        &.active > a:hover,
        &.active > a:focus  {
            cursor: default;
            background: $body-bg-color;
            color: $color4;
            border: 1px solid rgba($color5,0.2);
            border-bottom-color: #fff;
        }
    }
}
.tab-content {
    padding: 10px;
    ul {
        padding-left: 20px;
        li {
            padding-left: 1em;
            list-style: none;
            margin-bottom: 4px;
            &:before {
                content: '\f00c';
                font-family: $font_icons;
                display: inline-block;
                width: 1.5em;
                margin-left: -2.5em;
                color: $color4;
            }
        }
    }
}

/* Nav-about-carousel */

.nav-about-carousel {
    width: 100%;
    margin-top:-87px;
    border-bottom: 1px solid $body-bg-color;
    > li {
        > a {
            background-color: rgba($color5,0.55);
            color: #fff;
            border: 1px solid $body-bg-color !important;
            @include border-radius(0!important);
            &:hover, &:focus {
                border: 1px solid $color3;
            }
        }
        &:first-child, &:last-child  {
            > a {
                border-left: 0!important;
                border-right: 0!important;
            }
        }
        &.active > a,
        &.active > a:hover,
        &.active > a:focus  {
            cursor: default;
            background: $body-bg-color;
            color: $color4;
            border: 1px solid $body-bg-color !important;
            border-bottom-color: #fff;
        }
    }
}

/* Nav-wizard */

.nav-wizard {
    > li {
        float: left;
        > a {
            position: relative;
            color: $color5;
            background-color: $body-bg-color;
            &:hover, &:focus {
                color: $color5;
                background-color: $body-bg-color;
            }
            .badge {
                margin-left: 3px;
                color: #eeeeee;
                background-color: $color3;
            }
        }
        &:not(:first-child) > a {
            padding-left: 34px;
            &:before {
                width: 0px;
                height: 0px;
                border-top: 20px inset transparent;
                border-bottom: 20px inset transparent;
                border-left: 20px solid #f2f4f5;
                position: absolute;
                content: "";
                top: 0;
                left: 0;
            }
        }
        &:not(:last-child) > a {
            margin-right: 6px;
            &:after {
                width: 0px;
                height: 0px;
                border-top: 20px inset transparent;
                border-bottom: 20px inset transparent;
                border-left: 20px solid $body-bg-color;
                position: absolute;
                content: "";
                top: 0;
                right: -20px;
                z-index: 2;
            }
        }
        &:first-child > a {
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }
        &:last-child > a {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }
        &.done:hover > a, &:hover > a {
            background-color: $color4;
            color: #fff;
        }
        &.done:hover > a:before, &:hover > a:before {
            border-right-color: $color4;
        }
        &.done:hover > a:after, &:hover > a:after {
            border-left-color: $color4;
        }
        &.done > a {
            background-color: $color4;
            &:before {
                border-right-color: $color4;
            }
            &:after {
                border-left-color: $color4;
            }
        }
        &.active > a {
            color: #ffffff;
            background-color: $color3;
            &:hover, &:focus {
                color: #ffffff;
                background-color: $color3;
            }
            &:after {
                border-left-color: $color3;
            }
            .badge {
                color: $color3;
                background-color: #ffffff;
            }
        }
        &.disabled > a {
            color: #777777;
            &:hover, &:focus {
                color: #777777;
                text-decoration: none;
                background-color: $body-bg-color;
                cursor: default;
            }
            &:before {
                border-right-color: $body-bg-color;
            }
            &:after {
                border-left-color: $body-bg-color;
            }
        }
    }
    &.nav-justified > li {
        float: none;
        > a {
            padding: 10px 15px;
        }
    }
}

@media (max-width: 767px) {
    .nav-wizard.nav-justified > li > a {
        border-radius: 4px;
        margin-right: 0;
        &:before, &:after {
            border: none !important;
        }
    }
}

/* Helpers */

@import 'helpers';

/* 04. NAVBAR
//----------------------------------------------------------------------------------------- */

/* Bootstrap navbar */

.navbar-default {
    font-family: $font2;
    background: #fff;
    margin: 0;
    padding: 0;
    border: 0;
    border-top: solid 3px $color3;
    text-transform: uppercase;
    @include box-shadow(2px 2px 2px 0px rgba(5,5,5,0.06));
    @include transition(all 0.25s ease-out);
    .navbar-nav {
        > {
            li {
                margin: 0;
                padding: 0;
                > a {
                    margin: 0 3px;
                    padding: 9px 13px;
                    font-size: 14px;
                    text-transform: uppercase;
                    color: $color4;
                    font-weight: 700;
                    letter-spacing: .01em;
                    @include border-radius(4px);
                    @include transition(all 0.2s ease-out);
                    &:hover, &:focus, &:active {
                        background-color: $color3;
                        color: #fff !important;
                        @include transition(background-color 0.15s linear);
                    }
                }
                .dropdown-menu:before {
                    border-bottom-color: #fff;
                }
                &.current-menu-ancestor,
                &.current-menu-item {
                    > a {
                        background-color: $color3;
                        color: #fff !important;
                    }
                    .current-menu-ancestor,
                    .current-menu-item {
                        background-color: $color3;
                        > a {
                            color: #fff !important;
                        }
                    }
                }
            }
            .active > a {
                background-color: $color3;
                color: #fff;
                @include transition(background-color 0.15s linear);
                &:hover, &:focus, &:active {
                    background-color: $color3;
                    color: #fff;
                    @include transition(background-color 0.15s linear);
                }
            }
            .open > a {
                background-color: $color3;
                color: #fff;
                @include transition(background-color 0.15s linear);
                &:hover, &:focus, &:active {
                    background-color: $color3;
                    color: #fff;
                    @include transition(background-color 0.15s linear);
                    .caret {
                        border-bottom-color: #fff;
                        border-top-color: #fff;
                    }
                }
                .caret {
                    border-bottom-color: #fff;
                    border-top-color: #fff;
                }
            }
            .dropdown > {
                a {
                    .caret {
                        border-bottom-color: $color4;
                        border-top-color: $color4;
                        margin-left: 0;
                        margin-right: -4px;
                    }
                    &:hover .caret, &:focus .caret {
                        border-bottom-color: #fff;
                        border-top-color: #fff;
                    }
                }
            }
        }
        .active > a .caret {
            border-bottom-color: #fff;
            border-top-color: #fff;
        }
        .dropdown-menu {
            background: #fff;
            padding: 0;
            padding-top: 2px;
            margin: 0;
            border: 0;
            min-width: 80px;
            text-transform: capitalize;
            font-weight: 500;
            @include border-radius(0);
            @include box-shadow(1px 2px 2px 0px rgba(5,5,5,0.04));
            > li {
                border: 0;
                padding: 0;
                > a {
                    display: inline-block;
                    padding: 0 22px;
                    margin: 0;
                    color: $color4;
                    font-size: 13px;
                    white-space: nowrap;
                    width: 100%;
                    height: 42px;
                    line-height: 42px;
                    border-left: solid 1px rgba(#000,0.025);
                    border-right: solid 1px rgba(#000,0.025);
                    border-bottom: solid 1px rgba(#000,0.05);
                    background: rgba(#000,0.015);
                    @include border-radius(0);
                    @include transition(all 0.15s linear);
                    &:hover, &:focus {
                        background: $color3;
                        color: #fff !important;
                        border-left: solid 1px rgba(#000,0.025);
                        border-right: solid 1px rgba(#000,0.025);
                        border-bottom: solid 1px rgba(#000,0.05);
                    }
                }
                &:first-child > a {
                    border-top: solid 1px rgba(#000,0.05);
                }
                &:last-child > a {
                    @include border-radius(0);
                    border-bottom: solid 1px rgba(#000,0.025);
                }
                .sub-menu {
                    position: relative;
                    top: -100%;
                    left: 100%;
                    background: #fff;
                    padding: 0;
                    padding-top: 2px;
                    margin: 0;
                    border: 0;
                    min-width: 80px;
                    text-transform: capitalize;
                    font-weight: 500;
                    border-radius: 0;
                    list-style: none;
                    box-shadow: 1px 2px 2px 0 rgba(5, 5, 5, 0.04);
                    a {
                        display: inline-block;
                        padding: 0 22px;
                        margin: 0;
                        color: #2574A9;
                        font-size: 13px;
                        white-space: nowrap;
                        width: 100%;
                        height: 42px;
                        line-height: 42px;
                        border-left: solid 1px rgba(0, 0, 0, 0.025);
                        border-right: solid 1px rgba(0, 0, 0, 0.025);
                        border-bottom: solid 1px rgba(0, 0, 0, 0.05);
                        background: rgba(0, 0, 0, 0.015);
                        border-radius: 0;
                        transition: all 0.15s linear;
                        &:hover, &:focus {
                            background: $color3;
                            color: #fff;
                            border-left: solid 1px rgba(#000,0.025);
                            border-right: solid 1px rgba(#000,0.025);
                            border-bottom: solid 1px rgba(#000,0.05);
                        }
                    }
                }
            }
        }
    }
    &.tiny .navbar-nav {
        > li > a {
            padding: 8px 13px;
        }
        li > .dropdown-menu {
            margin-top: -4px;
        }
    }
    .navbar-toggle {
        background-color: $color3;
        border: none;
        color: #fff;
        margin-top: 20px;
        @include border-radius(3px);
        &:hover, &:focus {
            background-color: $color3;
            border: none;
            color: #fff;
            margin-top: 20px;
            @include border-radius(3px);
        }
        .icon-bar {
            background-color: #f9f9f9;
        }
    }
}
.navbar-brand {
    color: $color5;
    margin: 0;
    padding: 0;
    height: 75px;
    line-height: 75px;
    font-size: 28px;
    font-weight: 700;
    img {
        display: inline;
        width: 184px;
    }
}

/* 05. SLIDER
//----------------------------------------------------------------------------------------- */

/* Slider and background slider */

.intro-slider {
    text-align: center;
    height: 600px;
    overflow: hidden;
    padding-top: 160px;
    margin-top: 85px;
}
.flexslider {
    margin: 0;
    border: 0;
    position: relative;
    zoom: 1;
    @include border-radius(0);
    @include box-shadow(none);
}
.bg-slider-wrapper {
    content: '';
    position: absolute;
    width: 100%;
    top: 85px;
    left: 0;
    height: 600px;
    .flexslider {
        margin: 0;
        border: none;
        @include border-radius(0);
        @include box-shadow(none);
        @include background-clip(padding-box);
        max-height: 600px;
        overflow: hidden;
        .slide {
            margin: 0;
            display: block;
            height: 600px;
            &.slide-1 {
                background: #222 no-repeat 50% top;
                background-size: cover;
                &:before {
                    background: rgba(34, 34, 34, 0.5);
                    content: '';
                    position: absolute;
                    width: 100%;
                    top: 0;
                    left: 0;
                    height: 600px;
                    z-index: 5;
                }
            }
            &.slide-2 {
                background: #222 no-repeat 50% top;
                background-size: cover;
                &:before {
                    background: rgba(34, 34, 34, 0.5);
                    content: '';
                    position: absolute;
                    width: 100%;
                    top: 0;
                    left: 0;
                    height: 600px;
                    z-index: 5;
                }
            }
            &.slide-3 {
                background: #222 no-repeat 50% top;
                background-size: cover;
                &:before {
                    background: rgba(34, 34, 34, 0.5);
                    content: '';
                    position: absolute;
                    width: 100%;
                    top: 0;
                    left: 0;
                    height: 600px;
                    z-index: 5;
                }
            }
        }
        .flex-control-nav {
            z-index: 20;
            bottom: 45px;
            position: relative;
            margin-bottom: 0;
            li a {
                background: rgba(255, 255, 255, 0.4);
                &.flex-active {
                    background: rgba(255, 255, 255, 0.7);
                }
            }
        }
    }
}
.push-text-slide {
    height: 180px;
}

/* Static background image and background video */

.bg-img-fixed {
    content: '';
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 600px;
    background: url($static1ImgBg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    @include opacity(0.5);
}
.bg-medical {
    background-image: url($static1ImgBgMedical);
    @include opacity(0.75);
}
.bg-law {
    background-image: url($static1ImgBgLaw);
}
.bg-img-fixed-content {
    background-color: #222;
    margin: 85px 0 0;
    padding-top: 160px;
    position: relative;
    text-align: center;
    @include background-clip(padding-box);
    height: 600px;
    overflow: hidden;
}
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    @include opacity(0.3);
}

/* Text promo section */

.home-promo {
    font-family: $font2;
    display: inline-block;
    color: #fff;
    position: relative;
    z-index: 10;
    width: auto;
    margin: 0 auto;
    .titlepro {
        font-size: 30px;
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
        margin-bottom: 40px;
        text-transform: uppercase;
        background: transparent;
        font-weight: 700;
        span {
            display: block;
        }
        .middle {
            margin-top: 20px;
            margin-bottom: 20px;
            font-size: 56px;
            font-weight: 800;
            color: $color1;
            strong {
                color: $color2;
            }
        }
        .bottom {
            font-size: 20px;
            text-transform: lowercase;
            font-weight: 700;
        }
    }
}
.bg-slider > ul {
    margin: 0;
    padding: 0;
}
.flex-direction-nav a {
    height: 45px;
    &:before {
        font-size: 42px;
        font-family: $font_icons;
        content: '\f104';
        color: rgba(255, 255, 255, 0.8);
        text-shadow: none;
    }
    &.flex-next:before {
        content: '\f105';
        margin-right: 15px;
    }
}

/* 06. HOME
//----------------------------------------------------------------------------------------- */

/* Intro text and icons */

.intro-text {
    text-transform: uppercase;
    letter-spacing: .01em;
    color: $color5;
}
.home-icons {
    padding: 18px 0 22px;
    margin-top: -20px;
    text-align: center;
    overflow: hidden;
    .fa, .glyphicon {
        background-color: rgba(#455A64,0.08);
        color: $color4;
        width: 100px;
        height: 100px;
        font-size: 40px;
        line-height: 100px;
        text-align: center;
        margin: 20px 0 10px;
        text-decoration: none;
        @include border-radius(70px);
        @include transition(all 0.25s linear);
        @include box-sizing(border-box);
        &:hover {
            background-color: $color4;
            color: #fff !important;
            animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
            transform: translate3d(0, -5px, 0);
        }
    }
    h4 {
        color: $color5;
        text-transform: uppercase;
        font-size: 20px;
        font-weight: bold;
    }
    h5 {
        font-size: 13px;
        font-family: $font1;
        line-height: 22px;  
        font-weight: normal;
        margin-top: -5px;
        padding-top: 0;
        color: #777;
    }
}

/* News */

.blognews {
    h4 {
            font-size: 20px;
            line-height: 28px;
            font-weight: bold;
            color: $color5;
        }
    ul {
        padding-top: 7px;
    }
    a {
        display: inline-block;
        color: $color5;
        img {
            @include transition(all 0.5s linear);
            @include grayscale(40%);
            &:hover {
                @include grayscale(0%);
            }
        }
        &:hover, &:focus {
            color: $color4;
        }
    }
}

.gallery img {
    width: 70px;
    height: 50px;
    margin-right: 8px;
    margin-bottom: 10px;
    @include opacity(0.9);
    @include transition(all 0.5s ease);
    @include grayscale(80%);
    &:hover {
        @include opacity(1);
        @include grayscale(0%);
    }
}
a.gallery:hover {
    text-decoration: none !important;
}

.nav-tabs.nav-justified>li>a:hover {
    color: #fff !important;
}

/* 07. SLICK CAROUSEL
//----------------------------------------------------------------------------------------- */

.slick-carousel {
    .slick-list {
        .slick-slide {
            text-align: inherit;
            outline: none;
        }
    }
}

/* Clients logos */

#clients > div > div > div > a,
#clients-rtl > div > div > div > a {
    display: inline-block;
    padding: 5px;
    &> img {
        @include grayscale(100%);
        @include transition(all 0.5s linear);
        &:hover,&:focus {
            @include grayscale(0);
        }
    }
}

/* About carousel */

#aboutCarousel .slick-list .slick-slide,
#aboutCarousel-rtl .slick-list .slick-slide {
    padding: 0;
}

@media (max-width: 767px) {
    #navAboutCarousel, #navAboutCarousel-rtl {
        margin-top:-20px;
    }
}

/* Slick theme */

@import 'slick-theme';

/* 08. ABOUT & SERVICES
//----------------------------------------------------------------------------------------- */

/* Progress bar */

.progress-bar {
    background-color: $color4;
    font-size: 13px;
    line-height: 20px;
    font-weight: bold;
}
.progress-bar-striped {
    background-size: 20px 20px;
    background-image: linear-gradient(135deg, rgba($color1, 0.05) 25%, transparent 25%,
                        transparent 50%, rgba($color1, 0.05) 50%, rgba($color1, 0.05) 75%,
                        transparent 75%, transparent);
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    -o-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;            
}

/* Panel - Accordion */

.panel {
    @include box-shadow(none);
}
.panel-collapse {
    border: 0;
}
.panel-group {
    margin-bottom: 30px;
    .panel {
        background: transparent;
        margin-top: 2px;
        border: 0;
        @include border-radius(3px);
    }
    .panel-heading {
        position: relative;
        background-color: rgba(#455A64,0.08);
        border-bottom: 0;
        @include border-radius(3px);
        h4 {
            margin-top: 0;
            padding-top: 0;
        }
        a {
            font-weight: 500;
            color: $color5;
            display: block;
            padding: 12px 15px;
            &:hover, &:focus, &:active {
                color: $color4;
                text-decoration: none;
            }
            i {
                margin-right: 5px;
                color: #e91b23;
            }
            &:after {
                font-family: $font_icons;
                content: '\f146';
                font-size: 15px;
                font-weight: 700;
                color: rgba($color6,0.7);
                position: absolute;
                right: 15px;
                top: 45%;
                margin-top: -8px;
            }
            &.collapsed {
                &:after {
                    content: '\f0fe';
                }
            }
        }
    }
    .panel-body {
        border: 0!important;
        p {
            margin-bottom: 0;
            line-height: inherit;
        }
    }
}
a.accordion-toggle{
    text-decoration: none;
}
.panel-heading {
    padding: 0;
}

/* Skills */

.skills > h5 {
    color: $color6;
    margin-bottom: 5px;
}

.skills h5:first-child {
    padding-top: 0;
}

/* Team */

.socialstaff li a {
    display: inline-block;
    @include transition(color 0.15s linear);
    .fa:hover {
        color: $color6 !important;
    }
    .fa-facebook-square {
        color: $color_facebook;
        border: 0;
        &:hover, &:focus {
            color: $color6;
        }
    }
    .fa-twitter-square {
        color: $color_twitter;
        border: 0;
        &:hover, &:focus {
            color: $color6;
        }
    }
    .fa-google-plus-square {
        color: $color_google;
        border: 0;
        &:hover, &:focus {
            color: $color6;
        }
    }
    .fa-pinterest-square {
        color: $color_pinterest;
        border: 0;
        &:hover, &:focus {
            color: $color6;
        }
    }
    .fa-flickr-square {
        color: $color_flickr;
        border: 0;
        &:hover, &:focus {
            color: $color6;
        }
    }
    i.fa-linkedin-square {
        color: $color_linkedin;
        border: 0;
        &:hover, &:focus {
            color: $color6;
        }
    }
    i.fa-instagram {
        color: $color_instagram;
        border: 0;
        &:hover, &:focus {
            color: $color6;
        }
    }
    i.fa-envelope-square {
        color: lighten($color5,5%);
        border: 0;
        &:hover, &:focus {
            color: $color6;
        }
    }
}
.team-name {
    text-align: center;
    h4 {
        color: $color5;
        margin-top: 5px;
        margin-bottom: 0;
        text-transform: uppercase;
        font-size: 25px;
    }
    h5 {
        padding-top: 0;
        font-weight: normal;
        font-size: 16px;
        margin-top: -4px;
        margin-bottom: 8px;
    }
    ul {
        display: inline-block;
        li a {
           display: inline-block; 
        }
    }
}

/* Facts */

.counter {
    font-family: $font1;
}
.number {
    font-family: $font1;
}
.facts-title {
    padding: 0;
    margin: -25px 0 -10px;
    color: $color5;
    font-size: 35px;
    letter-spacing: 0.01em;
}

/* Services */

.big-icon {
    .ico-services {
        font-size: 5em;
    }
}

.ico-services {
    color: $color4;
    text-align: center;
    padding-top: 10px;
}
.servdesc {
    > h3 {
        color: $color6;
        margin-bottom: 5px;
    }
}

/* 09. PORTFOLIO
//----------------------------------------------------------------------------------------- */

/* Single porfolio and filters */

.bg-portfolio-single {
    padding: 35px 0;
    border-top: solid 1px #f0f0f0;
    border-bottom: solid 1px #f0f0f0;
}
.portfolio-filters {
    display: inline-block;
    margin-bottom: 30px;
    margin-top: 12px;
    text-align: center;
    li {
        display: inline-block;
        padding: 11px 15px;
        text-transform: uppercase;
        color: $color4;
        background-color: rgba($color5,0.06);
        font-weight: 600;
        @include border-radius(3px);
        cursor: pointer;
        @include transition(all 0.2s ease);
        &:hover, &:focus {
            background-color: $color3;
            color: #fff !important;
        }
        &.active {
            background-color: $color4;
            color: #fff !important;
            &:hover, &:focus {
                background-color: $color3;
                color: #fff !important;
            }
        }
    }
}

/* Images with zoom and hover effect */

.item-img-wrap {
    position: relative;
    text-align: center;
    overflow: hidden;
    width: 99.9%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    img {
        @include transition(all 0.2s linear);
    }
    &:hover .item-img-overlay div {
        @include opacity(.9);
    }
    &:hover img {
        @include transform(scale(1.1));
    }
    .img-responsive {
        width: 100%;
    }
}
.item-img-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    div {
        display: inline-block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        padding-top: 25%;
        text-align: center;
        font-size: 32px;
        color: #fff;
        background: rgba($color6,0.5);
        @include opacity(0);
        @include transition(all 0.25s linear);
        h5 {
            width: 100%;
            font-size: 17px;
            line-height: 1.5;
            font-weight: 500;
            position: absolute;
            bottom: -18px;
            text-align: center;
            color: #fff;
            text-transform: uppercase;
            background: rgba(34, 34, 34, 0.4);
            padding: 10px 5px;
            span {
                font-family: $font1;
                color: $color1;
                font-weight: normal;
                padding: 0;
            }
        }
    }
    .team-social {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        padding: 38% 15px 0;
        background: rgba(#fff,0.8);
        font-size: 14px;
        color: #555;
        @include opacity(0);
        @include transition(all 0.25s linear);
        strong {
            font-size: 110%;
        }
    }
    .news {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        padding-top: 21%;
        background: rgba(#555,0.3);
        @include opacity(0);
        @include transition(all 0.25s linear);
    }
    .about {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        padding-top: 13%;
        background: rgba(#555,0.3);
        @include opacity(0);
        @include transition(all 0.25s linear);
    }
}
#grid .mix {
    @include opacity(0);
    display: none;
    padding: 8px;
}

.portfolio-wrap .item-img-wrap {
    height: 250px;
}

/* Vanillabox (lightbox) */

@import "vanillabox";

/* Call to action */

.contact-por h4 {
    display: inline-block;
    margin-bottom: 0;
    padding: 10px;
}

/* 10. PRICING
//----------------------------------------------------------------------------------------- */

/* Pricing tables */

.corp-pricing {
    border: 0;
    text-align: center;
    background-color: #f9f9f9;
    @include border-radius(5px);
    @include box-shadow(1px 2px 2px 0px rgba(5,5,5,0.05));
    &:hover span.popular-tag {
        @include transform(translateY(-5px));
    }
    .panel-body {
        border-left: 1px solid rgba(#000,0.07);
        border-right: 1px solid rgba(#000,0.07);
        border-bottom: 1px solid rgba(#000,0.07);
        @include border-radius(0 0 5px 5px);
    }
}
.corpboot-price-title {
    padding: 15px 0;
    background: $color4;
    position: relative;
    @include border-radius(5px 5px 0 0);
    color: #fff;
    h2 {
        font-size: 40px;
        margin-bottom: 0;
        padding-top: 0;
    }
    h3 {
        margin: 0;
        font-size: 18px;
        text-transform: uppercase;
        color: #fff !important;
        padding-top: -5px;
        margin-bottom: 0 !important;
    }
    sup {
        top: -0.1em;
        font-size: 32px;
        margin-right: 3px;
    }
    sub {
        bottom: -0.2em;
        color: #f9f9f9;
        font-size: 18px;
        margin-left: 2px;
    }
    &.popular-title {
        background-color: $color5;
        h2 {
            color: #fff;
        }
        h3 {
            color: #fff;
        }
    }
}
.corpboot-price-content {
    padding: 0;
    ul {
       margin: 0;
       padding: 0;
       li {
            list-style: none;
            margin: 0;
            padding: 12px 0;
            border-left: 1px solid rgba(#000,0.07);
            border-right: 1px solid rgba(#000,0.07);
            border-bottom: 1px solid rgba(#000,0.07);
            &:last-child {
                border-bottom: 0;
            }
       } 
    }
}
.corp-pricing-btn {
    padding-top: 5px;
    padding-bottom: 10px;
    border-left: 1px solid rgba(#000,0.07);
    border-right: 1px solid rgba(#000,0.07);
    border-bottom: 1px solid rgba(#000,0.07);
    @include border-radius(0 0 5px 5px);
    .btn {
        width: 90%;
        height: 45px;
        line-height: 45px;
    }
}
.popular-title sub {
    color: #f5f5f5;
}
span.popular-tag {
    position: absolute;
    right: -6px;
    top: -8px;
    font-weight: 600;
    padding: 7px 10px;
    color: #fff;
    background-color: $color2;
    border: solid 1px $color2;
    font-size: 14px;
    letter-spacing: 0.01em;
    @include border-radius(50px);
    @include box-shadow(1px 2px 2px 0px rgba(5,5,5,0.06));
    @include transition(all 0.15s linear);
}
.wpb_wrapper {
    .login-box {
        .corpboot-price-title {
            h3 {
                color: #fff !important;
            }
        }
    }
}

/* 11. BLOG
//----------------------------------------------------------------------------------------- */

/* Post */

.post,
.single,
.page {
    .post-thumbnail {
        height: 385px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        margin-bottom: 30px;
    }
}

.post {
    .entry-title {
        padding-top: 5px;
    }
}

.blog-default {
    .post-thumbnail {
        height: inherit;
        background-image: none !important;
        img {
            max-width: 100%;
            height: auto;
            display: block !important;
        }
    }
}

.entry-title {
    padding-top: 0;
    margin-top: 0;
    color: $color5;
    word-wrap: break-word;
    a {
        color: $color5;
        &:hover, &:focus {
            color: $color4;
        }
    }
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
iframe {
    width: 100%;
}
.wp-caption {
    max-width: 100%;
    position: relative;
    padding: 8px 8px 0 8px;
    margin: 10px 0 20px;
    border: none;
    color: #555;
    text-align: center;
    @include border-radius(3px);
    img {
        margin: 0;
        padding: 0;
        border: 0 none;
    }
    &.alignright {
        margin-left: 20px;
        margin-top: 2px;
    }
    &.alignleft {
        margin-right: 20px;
        margin-top: 2px;
    }
    &.aligncenter {
        margin: 25px auto 0;
        display: block;
    }
    .wp-caption-text {
        padding: 5px;
    }
    p.wp-caption-text {
        font-size: 13px;
        font-weight: 500;
        line-height: 17px;
        padding: 8px 4px;
        margin: 0;
    }
}
.wpb_text_column :last-child,
.wpb_text_column p:last-child {
    margin-bottom: 14px !important;
}
.wpb_text_column img:last-child {
    margin-bottom: 22px !important;
}
.wpb_text_column hr:last-child {
    margin-bottom: 35px !important;
}
.wpb_text_column .mb-none:last-child,
.wpb_text_column label:last-child {
    margin-bottom: 0 !important;
}
.gallery-caption {
    font-size: 13px;
    font-weight: 500;
    line-height: 17px;
    padding: 8px 4px;
    margin: 0;
}
.post_content {
    img {
        max-width: 100%;
        display: block;
        height: auto;
    }
    h1 {
        text-align: left;
    }
    h2 {
        text-align: left;
    }
    h3 {
        text-align: left;
    }
    h4 {
        text-align: left;
    }
    h5 {
        text-align: left;
    }
    h6 {
        text-align: left;
    }
    p img {
        max-width: 100%;
    }
    li {
        span, em, strong {
            font-size: inherit !important;
            line-height: inherit !important;
        }
    }
    a {
        font-weight: 500;
    }

    .gallery:before,
    .gallery:after {
        content: "";
        display: table;
    }
    .gallery:after {
        clear: both;
    }

}
.post-thumbnail {
    width: 100%;
    img {
        max-width: 100%!important;
        margin-bottom: 30px;
    }
}
.post-password-form {
    label {
    }
    input[type="password"] {
        border: solid 1px rgba(0, 0, 0, 0.15);
        border-radius: 3px 0 0 3px !important;
        background-color: #f9f9f9;
        font-family: "Work Sans", sans-serif, "FontAwesome";
        font-size: 14px;
        line-height: 1.42857143;
        height: auto;
        min-height: 40px;
        padding: 8px 10px;
        color: #777;
        box-shadow: none;
        transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        width: 100%;
    }
    input[type="submit"] {
        width: 12%;
        font-family: "Montserrat", sans-serif, "FontAwesome";
        font-weight: bold;
        font-size: 14px;
        background-color: #1E8BC3;
        border-color: #1E8BC3;
        color: #fff;
        text-transform: uppercase;
        padding: 0 16px;
        border: 0;
        border-radius: 0 3px 3px 0;
        height: 40px;
        line-height: 40px;
        letter-spacing: 0.02em;
        position: relative;
        transition: background-color 0.15s ease-in-out;
        z-index: 2;
        margin-left: -1px;
        &:hover {
            background-color: #3498DB;
        }
    }
}
.bypostauthor {
    display: none;
}
.author-list {
    font-size: 12px;
    text-transform: uppercase;
    color: $color5;
    line-height: 22px;
    margin-bottom: 15px;
    margin-left: 1px;
    letter-spacing: .02em;
    i {
        color: $color3;
        margin-right: 3px;
    }
    span {
        color: #999;
    }
    a {
        display: inline-block;
        color: #2574A9;
    }
}
.more-link {
    display: none;
}
.entry-meta {
    padding-top: 15px;
}
blockquote {
    font-size: 16px;
    text-align: left;
    border-left: 4px solid #f2f1ef;
    font-style: italic;
}
.subscribe-label {
    font-weight: 400;
    font-size: 13px;
}
code {
    color: $color5;
}
pre {
    background-color: #f9f9f9;
    border: solid 1px #e9e9e9;
    color: #555;
}
.sticky {
    background-color: #f9f9f9;
    border: solid 1px #e9e9e9;
    color: #555;
    padding: 20px 20px 10px;
    &:before {
        content: '\f0c6';
        font-family: FontAwesome;
        font-size: 24px;
        position: absolute;
        top: 0;
        left: 20px;
    }
}
.shotcodes {
    margin: 0;
    padding: 0;
    background: transparent;
}

.medical-banner .btn-transparent {
    background-color: #00ACC1;
    border-color: transparent;
    color: #fff !important;
    font-size: 15px;
    padding: 0 25px;
    height: 50px;
    line-height: 50px;
    font-weight: normal;
    text-transform: uppercase;
}

/* Search page */
.search {
    .info-search {
        color: #fff;
    }
    .search-form {
        label {
            width: 50%;
        }
        .search-field {
            border: 1px solid #555;
            padding: 8px;
            width: 100%;
            color: #555;
            font-weight: 300;
        }
        .search-submit {
            background-color: #555;
            border: 1px solid #555;
            color: #fff;
            padding: 8px 12px;
            transition: all .3s ease-out;
            &:hover {
                background-color: #333;
            }
        }
    }
    article {
        margin-bottom: 40px;
    }
}

/* Posts navigation */

.pagination {
    margin: 0;

    a {
        display: inline-block;
        float: left;
        padding: 6px 12px;
        min-width: 40px;
        text-align: center;
        margin-left: 0!important;
        margin-right: 1px!important;
        font-size: 14px;
        line-height: 1.5;
        color: $color3;
        border: none;
        background-color: #f5f5f5;
        @include transition(background-color 0.2s ease);
        &:hover {
            border: none;
            background-color: $color3;
            color: #fff !important;
        }
        &:first-child {
            @include border-radius(4px 0px 0px 4px!important);
        }
        &:last-child {
          @include border-radius(0px 4px 4px 0px!important);
        }
        &.prev:before {
            content: '\f104';
            font-family: FontAwesome;
        }
        &.next:before {
            content: '\f105';
            font-family: FontAwesome;
        }
    }
    span {
        display: inline-block;
        float: left;
        padding: 6px 12px;
        min-width: 40px;
        text-align: center;
        margin-left: 0!important;
        margin-right: 1px!important;
        font-size: 14px;
        line-height: 1.5;
        color: $color3;
        border: none;
        background-color: #f5f5f5;
        @include transition(background-color 0.2s ease);
        &:hover {
            border: none;
            background-color: $color3;
            color: #fff !important;
        }
        &.current {
            display: inline-block;
            min-width: 40px;
            text-align: center;
            margin-left: 0!important;
            margin-right: 1px!important;
            font-size: 14px;
            line-height: 1.5;
            color: $color3;
            border: none;
            background-color: #f5f5f5;
            @include transition(background-color 0.2s ease);
            background-color: #e9e9e9;
        }
        &:first-child {
            @include border-radius(4px 0px 0px 4px!important);
        }
        &:last-child {
            @include border-radius(0px 4px 4px 0px!important);
        }
        &.prev:before {
          content: '\f104';
          font-family: FontAwesome;
        }
        &.next:before {
          content: '\f105';
          font-family: FontAwesome;
        }
    }
}
.posts-nav {
    > div a {
        padding: 6px 12px;
        text-decoration: none;
        @include border-radius(3px);
    }
    div a {
        display: inline-block;
        min-width: 40px;
        text-align: center;
        margin-left: 0!important;
        margin-right: 1px!important;
        font-size: 14px;
        line-height: 1.5;
        color: $color3;
        border: none;
        background-color: #f5f5f5;
        @include transition(background-color 0.2s ease);
        &:hover {
            border: none;
            background-color: $color3;
            color: #fff;
        }
    }
}

/* Sidebar */

.sidebar {
    padding-top: 0;
    margin-top: 10px;
    ul {
        padding: 0;
        margin: 0;
    }
}
.widget {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 35px;
    font-size: 14px;
    letter-spacing: .03em;
    list-style: none;
    @include box-shadow(none);
    line-height: 1.5;
    .corpboot-title-w {
        .rsswidget {
            color: #fff;
        }
    }
    h2 {
        font-family: $font1;
        background: $color4;
        padding: 7px 15px;
        font-size: 16px;
        font-weight: 500;
        line-height: 35px;
        text-transform: uppercase;
        margin-bottom: 19px;
        color: #fff;
        @include border-radius(3px);
    }
    ul {
        margin: 0;
        padding: 0;
        li {
            margin-bottom: 8px;
            padding-bottom: 7px;
            padding-left: 7px;
            border-bottom: solid 1px #f2f2f2;
            list-style: none;
            font-weight: 400;
            color: #777;
            a {
                color: #777!important;
                &:before {
                    font-family: $font_icons;
                    content: '\f105';
                    margin-right: 5px;
                }
                &:hover {
                    text-decoration: none;
                    color: $color4!important;
                }
            }
        }
        &.children {
            padding: 0;
            padding-top: 7px;
            border-top: solid 1px #f2f2f2;
            margin-left: 0;
            background: transparent;
            margin: 10px 0 0 15px;
            li:last-child {
                border-bottom: none;
                margin-bottom: 0;
                padding-bottom: 0;
            }
        }
    }
    li span a {
        color: #777!important;
        &:hover {
            text-decoration: none;
            color: $color4!important;
        }
    }
    > ul > li > a {
        > span.badge {
            background: transparent;
            color: #bbb;
            padding: 3px 6px;
            border: solid 1px #eee;
            margin-left: 5px;
            @include transition(all 0.1s ease-in-out);
            &:hover {
                background: #eee;
                border: solid 1px #eee;
                color: $color4;
            }
        }
        &:hover > span.badge {
            background: #eee;
            border: solid 1px #eee;
            color: $color4;
        }
    }
    select {
        padding: 5px;
        width: 100%;
    }
    &.widget_rss {
        ul {
            li {
                padding-bottom: 15px;
                margin-bottom: 15px;
                .rsswidget {
                    display: block;
                    font-weight: 600;
                }
                .rss-date,
                cite {
                    font-weight: 600;
                }
            }
        }
    }
    &.widget_text {
        img {
            max-width: 100%;
            display: block;
            height: auto;
        }
        strong {
            display: inline-block;
            margin-bottom: 10px;
        }
        p {
            margin-bottom: 0;
        }
        .wp-caption.alignnone {
            margin: 0;
            border: 1px solid #f0f0f0;
        }
    }
    &.widget_nav_menu {
        ul {
            li:last-child {
                border-bottom: none;
                margin-bottom: 0;
                padding-bottom: 0;
            }
        }
        .sub-menu {
            border-top: 1px solid #f1f1f1;
            padding-top: 7px;
            margin-top: 7px;
        }
    }
}

#main {
    padding-top: 10px;
}

.sidebar-right > .widget {
    width: 92%;
    float: right;
}

.footer-widget {
    margin-bottom: 15px;
    &.widget_archive,
    &.widget_categories,
    &.widget_meta,
    &.widget_recent_comments,
    &.widget_nav_menu,
    &.widget_rss,
    &.widget_recent_entries,
    &.widget_pages {
        ul {
            margin: 0;
            padding: 0;
            li {
                margin-bottom: 8px;
                padding-bottom: 7px;
                padding-left: 7px;
                border-bottom: solid 1px #f2f2f2;
                list-style: none;
                font-weight: 400;
                color: #fff !important;
                a {
                    &:before {
                        font-family: $font_icons;
                        content: '\f105';
                        margin-right: 5px;
                    }
                    &:hover {
                        text-decoration: none;
                        color: #d3d3d3;
                    }
                }
            }
            &.children {
                padding: 0;
                padding-top: 7px;
                border-top: solid 1px #f2f2f2;
                margin-left: 0;
                background: transparent;
                margin: 10px 0 0 15px;
                li:last-child {
                    border-bottom: none;
                    margin-bottom: 0;
                    padding-bottom: 0;
                }
            }
        }
        li span a {
            color: #777!important;
            &:hover {
                text-decoration: none;
                color: $color4!important;
            }
        }
        > ul > li > a {
            > span.badge {
                background: transparent;
                color: #bbb;
                padding: 3px 6px;
                border: solid 1px #eee;
                margin-left: 5px;
                @include transition(all 0.1s ease-in-out);
                &:hover {
                    background: #eee;
                    border: solid 1px #eee;
                    color: $color4;
                }
            }
            &:hover > span.badge {
                background: #eee;
                border: solid 1px #eee;
                color: $color4;
            }
        }
    }
    select {
        padding: 5px;
        width: 100%;
        color: #333;
    }
    &.widget_recent_comments {
        .recentcomments,
        .url,
        .comment-author-link {
            color: #fff !important;
        }
    }
    &.widget_rss {
        ul {
            li {
                padding-bottom: 15px;
                margin-bottom: 15px;
                color: #fff;
                .rsswidget {
                    display: block;
                    font-weight: 600;
                }
                .rss-date,
                cite {
                    font-weight: 600;
                }
            }
        }
    }
    &.widget_text {
        img {
            max-width: 100%;
            display: block;
            height: auto;
        }
        strong {
            display: inline-block;
            margin-bottom: 10px;
        }
        p {
            margin-bottom: 0;
        }
        .wp-caption.alignnone {
            margin: 0;
            border: 1px solid #f0f0f0;
        }
    }
    &.widget_nav_menu {
        ul {
            li:last-child {
                border-bottom: none;
                margin-bottom: 0;
                padding-bottom: 0;
            }
        }
        .sub-menu {
            border-top: 1px solid #f1f1f1;
            padding-top: 7px;
            margin-top: 7px;
        }
    }
}
.widgettitle {
    font-family: $font1;
    background: $color3;
    padding: 7px 15px;
    font-size: 16px;
    font-weight: 500;
    line-height: 35px;
    text-transform: uppercase;
    margin-bottom: 19px;
    color: #fff;
    @include border-radius(3px);
}
.widget_search {
    .search-form {
        position: relative;
        &:after {
            content: '\f002';
            font-family: FontAwesome;
            font-size: 18px;
            color: #fff;
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            background-color: #2574A9;
            border-color: #2574A9;
            height: 40px;
            width: 13%;
            text-align: center;
            line-height: 40px;
            border-radius: 0 3px 3px 0;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        }
        label {
            position: relative;
            float: left;
            width: 87%;
            margin-bottom: 0;
        }
        .search-field {
            border: solid 1px rgba(0, 0, 0, 0.15);
            border-radius: 3px 0 0 3px !important;
            background-color: #f9f9f9;
            font-family: "Work Sans", sans-serif, "FontAwesome";
            font-size: 14px;
            line-height: 1.42857143;
            height: auto;
            min-height: 40px;
            padding: 8px 10px;
            color: #777;
            box-shadow: none;
            transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
            width: 100%;

            &::-webkit-input-placeholder {
              font-weight: normal;
            }
            &::-moz-placeholder {
              font-weight: normal;
            }
            &:-moz-placeholder {
              font-weight: normal;
            }
            &:-ms-input-placeholder {
              font-weight: normal;
            }
        }
        .search-submit {
            width: 13%;
            font-family: "Montserrat", sans-serif, "FontAwesome";
            font-weight: bold;
            font-size: 18px;
            background-color: transparent;
            border-color: transparent;
            color: transparent;
            text-transform: uppercase;
            padding: 0 16px;
            border: 0;
            border-radius: 0 3px 3px 0;
            height: 40px;
            line-height: 40px;
            letter-spacing: 0.02em;
            position: relative;
            transition: background-color 0.15s ease-in-out;
            z-index: 2;
            margin-left: -1px;
            &.hover {
                background-color: #3498DB;
                border-color: #3498DB;
                .widget_search .search-form:after {
                  background-color: #333;
                }
            }
        }
    }
}

/* Comments */

.comment-reply-title {
    position: relative;
    color: $color5;
    font-size: 22px;
    line-height: 30px;
    padding-top: 5px;
}
.commentlist {
    padding-bottom: 20px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    li {
        list-style: none;
        margin: 0;
        padding: 0;
    }
}
.comments-title {
    font-family: $font1;
    font-weight: 600;
    color: #676767;
    margin: 25px 0;
}
.comment-block {
    background-color: #f6f6f6;
    padding: 20px;
    margin: 17px 0;
    overflow: hidden;
    border-bottom: solid 1px #e1e1e1;
    @include border-radius(3px);
    ul ul li, ol ul li {
        list-style-type: disc;
    }
}
.author-bio {
    background-color: #f6f6f6;
    padding: 20px;
    margin: 17px 0;
    overflow: hidden;
    border-bottom: solid 1px #e1e1e1;
    @include border-radius(3px);
    background-color: #f9f9f9;
    border: solid 1px #e9e9e9;
    padding-bottom: 5px;
    margin-bottom: 25px;
    margin-top: 10px;
    .media-heading {
        padding-top: 0;
    }
}
.social-author {
    font-size: 20px;
    padding: 0;
}
.view-all {
    font-family: $font1;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    color: #337ab7;
    margin-bottom: 0;
    padding-bottom: 0;
}
.reply {
    margin: 0;
    padding: 0;
    text-align: right;
    border: 0;
}
.comments {
    ol {
        margin: 0;
        li {
            margin: 0;
            padding: 0;
            &.comment {
                list-style: none;
            }
        }
    }
    div h5 small {
        font-family: $font1;
    }
}
.corpboot-comments-list {
    > ol {
        padding: 0;
    }
}
.comment-notes {
    font-size: 13px;
}
.form-allowed-tags {
    font-size: 12px;
    code {
        color: #777;
        background-color: #f7f7f7;
    }
}
.btn-reply, .btn-edit a {
  color: #fff;
}
.comment-edit-link:before {
    content: '\f044';
    font-family: FontAwesome;
    margin-right: 3px;
}
.btn-reply, .btn-edit,
.comment-edit-link, .comment-reply-link {
    display: inline-block;
    padding: 6px 12px;
    margin: 7px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-color: $color3;
    border: 0;
    @include border-radius(3px);
    min-width: 90px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff!important;
    text-decoration: none;
    @include transition(background-color 0.4s ease-out);
    &:hover, &:focus, &:active {
        background-color: $color2;
        text-decoration: none;
    }
    i {
        margin-right: 3px;
    }
}

/*Calendar*/

#wp-calendar {
    width: 100%;
    font-size: 11px;
    tfoot {
        background: #f5f5f5;
        border: 1px solid #ddd;
        font-size: 11px;
        td {
            padding-top: 1px;
            padding: 4px;
        }
        tr td {
            &#prev {
                padding: 10px;
                text-transform: uppercase;
            }
            &#next {
                text-align: right;
                padding: 10px;
                text-transform: uppercase;
            }
        }
    }
    tbody {
        td {
            text-align: center;
            border: 1px solid #ddd;
            line-height: 2.5em;
            @include transition(background 0.15s ease);
            &:hover {
                background: #f1f1f1;
                color: #333;
                a {
                    background: #999;
                    color: #fff;
                }
            }
            a {
                display: block;
                text-decoration: none;
                background: #f1f1f1;
                color: #333;
            }
        }
        a {
            display: block;
            text-decoration: underline;
        }
    }
    caption {
        font-family: $font1;
        text-align: center;
        background: #eee;
        border: solid 1px #ddd;
        padding: 7px 15px;
        font-size: 16px;
        font-weight: 500;
        line-height: 35px;
        text-transform: uppercase;
        margin-bottom: 0;
        @include border-radius(3px);
    }
    th {
        text-align: center;
        border: 1px solid transparent;
        border-top: none;
        padding: 7px 0;
        color: #a3a3a3;
    }
    thead th {
        background: #f5f5f5;
        border: 1px solid #ddd;
        border-top: none;
        font-size: 11px;
    }
}
div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
a img {
    &.alignright {
        float: right;
        margin: 5px 0 20px 20px;
    }
    &.alignnone {
        margin: 5px 20px 20px 0;
    }
    &.alignleft {
        float: left;
        margin: 5px 20px 20px 0;
    }
    &.aligncenter {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}
aside ul form div {
    padding-left: 18px;
}
.tags-links a, .tagcloud a {
    color: #777;
    background: transparent;
    font-size: 10px!important;
    line-height: 18px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .05em;
    display: inline-block;
    max-height: 28px;
    padding: 4px 8px;
    margin: 3px 2px;
    border: 1px solid #f0f0f0;
    @include border-radius(3px);
    @include transition(all 0.1s ease-in-out);
    margin: 0 1px 10px 0;
    &:hover {
        background-color: $color3;
        border: 1px solid $color3;
        color: #fff;
        text-decoration: none;
    }
}
.media-body > p.small > a {
    color: #777;
}
.media-heading a {
    font-style: normal;
    color: #555;
}
.avatar img {
    max-width: 64px;
    min-width: 48px;
    margin: 0 15px 15px 0;
    @include border-radius(3px);
}
ul.children {
    padding: 0;
    margin-left: 0;
    background-color: #f4f4f4;
    margin: -17px 0 17px;
    li {
        list-style: none;
    }
    .comment-block {
        padding-left: 4em;
        margin-bottom: 0;
    }
}
#cancel-comment-reply-link {
    display: block;
    margin-top: 15px;
    color: #555;
    font-weight: 600;
}
.comment-respond {
    margin-bottom: 35px;
    background-color: #fff;
}
#footer #wp-calendar {
    thead th {
        background: #222;
    }
    tbody td {
        border-color: #222;
    }
}

/* 12. CONTACT & GENERAL FORMS
//----------------------------------------------------------------------------------------- */

/* Contact info and map canvas */

.cinfo {
    .vc_column-inner {
        padding-right: 10px !important;
        padding-top: 0;
    }
    padding-right: 10px;
    padding-top: 0;
    p {
        margin-bottom: 0;
    }
    address {
        padding-top: 2px;
        i {
            width: 25px;
            min-width: 25px;
            text-align: center;
            font-size: 14px;
            color: #fff;
            margin: 4px 8px 8px 0;
            background-color: $color4;
            padding: 5px 0;
            @include border-radius(3px);
        }
        p {
            border-bottom: 1px solid rgba(#000,0.1);
            margin-bottom: 7px;
        }
    }
}
#map-canvas {
    width: 100%;
    height: 250px;
    bottom: 0;
    overflow: hidden;
    margin-bottom: 20px;
    @include border-radius(3px);
}
#mapcontent {
    padding: 0;
}

/* General forms and buttons */

.btn > i, a > i {
    &.le {
        margin-right: 4px;
    }
    &.ra {
        margin-left: 4px;
    }
}
.btn, .submit {
    font-family: $font2, $font_icons;
    letter-spacing: 0.02em;
    font-weight: bold;
    border: 0;
    padding: 0 15px;
    height: 40px;
    line-height: 40px;
    @include transition(all 0.4s ease);
    &:hover, &:focus {
        @include box-shadow(1px 2px 2px 0px rgba(5,5,5,0.04));
    }
}
.btn-primary-corp, .submit {
    background-color: $color3;
    color: #fff!important;
    text-transform: uppercase;
    &:hover, &:focus, &:active {
        background-color: $color2;
        color: #fff;
    }
}
.btn-alternative-corp {
    background-color: $color4;
    color: #fff!important;
    text-transform: uppercase;
    &:hover, &:focus, &:active {
        background-color: $color2;
        color: #fff;
    }
}
.btn-primary-corp-big {
    background-color: $color3;
    color: #fff!important;
    padding: 0 25px;
    height: 48px;
    line-height: 48px;
    text-transform: uppercase;
    &:hover, &:focus, &:active {
        background-color: $color2;
        color: #fff;
        opacity: .8;
    }
}
.btn-primary-medical {
    background-color: $color3;
    color: #fff!important;
    font-size: 15px;
    padding: 0 25px;
    height: 50px;
    line-height: 50px;
    font-weight: normal;
    text-transform: uppercase;
    &:hover, &:focus, &:active {
        background-color: $color2;
        color: #fff;
    }
}
.btn-transparent {
    border: solid 2px #fff;
    background: rgba(0, 0, 0, 0.05);
    color: #fff !important;
    font-size: 16px;
    padding: 0 25px;
    height: 50px;
    line-height: 50px;
    text-transform: uppercase;
    font-weight: normal;
    &:hover, &:focus, &:active {
        border-color: $color3;
        background: $color3;
        color: #fff;
    }
    i {
        margin-right: 5px;
    }
}
.btn-transparent-sm {
    border: solid 1px #fff;
    background: rgba(0, 0, 0, 0.05);
    color: #fff!important;
    font-size: 13px;
    letter-spacing: 0.01em;
    padding: 0 13px;
    height: 30px;
    line-height: 28px;
    text-transform: uppercase;
    font-weight: normal;
    white-space: nowrap;
    vertical-align: middle;
    &:hover, &:focus, &:active {
        border: solid 1px #fff;
        background: rgba(0, 0, 0, 0.07);
        color: #fff;
    }
    i {
        margin-right: 2px;
    }
}
input, textarea, select, button, .btn {
    &:focus {
        outline: none;
    }
}

.wpcf7-form {
    label {
        width: 100%;
    }
    p {
        margin-bottom: 0;
    }
    input:not([type="submit"]),
    textarea {
        display: block;
        font-family: "Work Sans", sans-serif, "FontAwesome";
        font-size: 14px;
        font-weight: normal;
        line-height: 1.42857143;
        width: 100%;
        height: auto;
        min-height: 40px;
        padding: 8px 10px;
        border: solid 1px rgba(0, 0, 0, 0.11);
        background-color: #f9f9f9;
        color: #777;
        border-radius: 3px;
        box-shadow: none;
        transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        padding-left: 32px;
        margin-bottom: 15px;

        &:focus {
            border-color: #bdc3c7;
            box-shadow: none;
        }

        &::-webkit-input-placeholder {
            font-weight: normal;
        }
        &::-moz-placeholder {
            font-weight: normal;
        }
        &:-moz-placeholder {
            font-weight: normal;
        }
        &:-ms-input-placeholder {
            font-weight: normal;
        }
    }

    input.wpcf7-submit,
    button[type="submit"] {
        display: inline-block;
        border-radius: 4px;
        font-family: "Montserrat", sans-serif, "FontAwesome";
        font-size: 14px;
        background-color: #1E8BC3;
        color: #fff;
        letter-spacing: 0.02em;
        font-weight: bold;
        border: 0;
        padding: 0 25px;
        height: 48px;
        line-height: 48px;
        text-transform: uppercase;
        box-shadow: 1px 2px 2px 0px rgba(5, 5, 5, 0.04);
        transition: all 0.4s ease;
        &:hover {
            background-color: #3498DB;
        }
    }

    button[type="submit"] {
        &:before {
            content: '\f1d9';
            margin-right: 8px;
        }
    }

    select {
        height: 40px;
        padding: 8px 10px;
        border: solid 1px rgba(0, 0, 0, 0.11);
        background-color: #f9f9f9;
        color: #777;
        border-radius: 3px;
        text-transform: capitalize;
        width: 100%;
        margin-bottom: 15px;
        -webkit-appearance: menulist;
    }

    .wpcf7-form-control-wrap {
        display: block;
        &:before {
            font-family: FontAwesome;
            color: #858585;
            font-size: 14px;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 12px;
        }
    }

    .wpcf7-form-control-wrap {
        &.your-message:before {
            top: 8px;
            transform: none;
        }
    }

    .your-name:before {
        content: '\f007';
    }
    .your-email:before {
        content: '\f0e0';
    }
    .your-subject:before {
        content: '\f040';
    }
    .your-tel:before {
        content: '\f095';
    }
    .your-message:before {
        content: '\f075';
    }
}

span.wpcf7-not-valid-tip {
    position: absolute;
    top: -17px;
}

div.wpcf7-validation-errors {
    margin: 2em 0;
}

.form-control, .selectcorp, textarea {
    font-family: $font1, $font_icons;
    width: 100%;
    height: auto;
    min-height: 40px;
    padding: 8px 10px;
    border: solid 1px rgba(#000,0.11);
    background-color: #f9f9f9;
    color: #777;
    @include border-radius(3px);
    @include box-shadow(none);
    &:focus {
        border-color: #bdc3c7;
        @include box-shadow(none);
    }
    &:-ms-input-placeholder {
        color: #999;
        @include opacity(1);
    }
    &::-ms-input-placeholder {
        color: #999;
        @include opacity(1);
    }
    &::-moz-placeholder {
        color: #999;
        @include opacity(1);
    }
    &::-webkit-input-placeholder {
        color: #999;
        @include opacity(1);
    }
}
.selectcorp {
    padding-top: 0;
    padding-bottom: 0;
    font-weight: normal;
    font-family: $font1;
    .caret {
        color: #777;
    }
    &:hover, &:focus {
        color: #676767;
        .caret {
            color: rgba($color6,0.7);
        }
    }
}
.newsletter, .search-form {
    .form-control {
        border: 0;
        margin: 5px 0;
        border: solid 1px #f9f9f9;
        background-color: #f9f9f9;
        @include border-radius(3px 0 0 3px !important);
    }
    .input-group-btn button {
        background-color: $color3;
        border-color: $color3;
        color: #fff;
        margin-left: -1px;
        text-transform: uppercase;
        font-size: 18px;
        padding: 0 16px;
        @include border-radius(0 3px 3px 0);
        @include transition(background-color 0.15s ease-in-out);
        &:hover, &:focus {
            background-color: $color2;
            border-color: $color2;
            color: #fff;
        }
    }
}
.search-form {
    & > .form-control {
        border: solid 1px rgba(#000, 0.15);
    }
    & > .input-group-btn button {
        background-color: $color4;
        border-color: $color4;
        &:hover, &:focus {
            background-color: $color2;
            border-color: $color2;
        }
    }
}
.newsletter-desc {
    display: inline-block;
    padding-top: 15px;
    font-size: 12px;
}
.bootstrap-select {
    > {
        .open {
            padding-top: 10px;
            border: solid 1px #bdc3c7;
            background-color: #f9f9f9;
            margin-top: -11px;
            border-top: 0;
            @include border-radius(0 4px 4px 0);
        }
        .dropdown-menu {
            @include border-radius(3px);
            @include box-shadow(0 2px 0 0 rgba(0, 0, 0, 0.08));
            min-height: 110px;
            li {
                height: 28px;
                line-height: 28px;
                a {
                    height: 28px;
                    line-height: 28px;
                }
                &.selected a {
                    background-color: #e5e5e5;
                }
            }
        }
    }
    &.btn-group {
        .dropdown-menu {
            overflow-y: scroll;
            &.inner {
                background: transparent;
                @include box-shadow(none);
                > li > a:hover {
                    background-color: #f1f1f1;
                    color: #333;
                }
            }
            li a {
                color: #777;
                font-weight: 400;
            }
        }
        .dropdown-menu::-webkit-scrollbar {
            width: 8px;
        }
        .dropdown-menu::-webkit-scrollbar-track {
            background-color: #d5d5d5;
            @include border-radius(8px);
            @include box-shadow(none);
        }
        .dropdown-menu::-webkit-scrollbar-thumb {
            background-color: #d5d5d5;
            @include border-radius(8px);
            @include box-shadow(none);
        }
    }
}
.btn-group.open .dropdown-toggle {
    border-color: #bdc3c7;
    @include box-shadow(none);
}
.inner-addon {
    position: relative;
    i {
        position: absolute;
        top: 12px;
        padding: 0 12px;
        pointer-events: none;
        color: #858585;
    }
}
.left-addon {
    i {
        left:  0px;
    }
    input, textarea  {
        padding-left:  32px;
    }
}
.right-addon {
    i {
        right: 0px;
    }
    input, textarea {
        padding-right: 32px;
    }
}

/* Alerts */

#alertform {
    padding: 20px 5px;
    background: none;
    border: none;
    text-align: right;
    margin-top: -20px;
    font-size: 13px;
    display: none;
}
.text-danger {
    color: $danger-color;
}
.text-warning {
    color: $warning-color;
}
.text-success {
    color: $success-color;
}
.text-info {
    color: $info-color;
}
.alert-info {
    background-color: lighten($info-color,45%);
    border-color: lighten($info-color,25%);
    color: $info-color;
}
.alert-success {
    background-color: lighten($success-color,48%);
    border-color: lighten($success-color,25%);
    color: $success-color;
}
.alert-warning {
    background-color: lighten($warning-color,46%);
    border-color: lighten($warning-color,25%);
    color: $warning-color;
}
.alert-danger {
    background-color: lighten($danger-color,40%);
    border-color: lighten($danger-color,25%);
    color: $danger-color;
}
.has-error .form-control {
    border-color: lighten($danger-color, 25%);
    @include box-shadow(none);
    &:focus {
        border-color: lighten($danger-color,15%);
        @include box-shadow(none);
    }
}
.msgcontact {
    padding: 10px 0;
    margin-bottom: 15px;
    margin-top: -10px;
}

/* Text block */
.wpb_wrapper .wpb_content_element {
    margin-bottom: 0;
    h1, h2, h3, h4, h5, h6 {
        color: #044A67;
        margin-bottom: 18px;
    }
    img {
        max-width: 100%;
        height: auto;
        display: block;
        margin-top: 0;
    }

    a:visited {
        color: #0097A7;
    }

    .lead {
        margin-bottom: 30px;
    }

    .panel {
        margin-bottom: 20px;
    }

    hr {
        margin-bottom: 35px;
    }
}

/* 13. FOOTER
//----------------------------------------------------------------------------------------- */

/* Footer top */

.footer-top {
    padding: 45px 0 40px;
    background-color: $color5;
    margin: 0;
    color: $color1;
    a {
        color: #fff;
        font-weight: 600;
        &:hover {
            text-decoration: underline;
        }
    }
    .footer-widget {
        h3 {
            font-size: 17px;
            line-height: 20px;
            color: #eee;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            padding-bottom: 12px;
        }
        p {
            font-size: 13px;
            font-weight: 300;
            text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
            line-height: 20px;
        }
        ul li {
            font-size: 13px;
            font-weight: 300;
            text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
            line-height: 20px;
            margin-bottom: 10px;
            i {
                margin-right: 4px;
            }
        }
        .list-unstyled {
            a {
                font-weight: 300;
            }
        }
        .mc4wp-form-fields {
            p {
                float: left;
                &:first-child {
                    width: 86%;
                }
            }
            input[type="email"] {
                font-family: "Work Sans", sans-serif, "FontAwesome";
                font-size: 14px;
                color: #777;
                border: solid 1px #f9f9f9;
                background-color: #f9f9f9;
                -webkit-border-radius: 3px 0 0 3px !important;
                -khtml-border-radius: 3px 0 0 3px !important;
                -moz-border-radius: 3px 0 0 3px !important;
                -ms-border-radius: 3px 0 0 3px !important;
                border-radius: 3px 0 0 3px !important;
                -webkit-box-shadow: none;
                -khtml-box-shadow: none;
                -moz-box-shadow: none;
                -ms-box-shadow: none;
                box-shadow: none;
                position: relative;
                z-index: 2;
                width: 100%;
                height: auto;
                min-height: 40px;
                padding: 8px 10px;
                &:-ms-input-placeholder {
                    color: #999;
                    font-weight: normal;
                    opacity: 1;
                }
                &::-ms-input-placeholder {
                    color: #999;
                    font-weight: normal;
                    opacity: 1;
                }
                &::-moz-placeholder {
                    color: #999;
                    font-weight: normal;
                    opacity: 1;
                }
                &::-webkit-input-placeholder {
                    color: #999;
                    font-weight: normal;
                    opacity: 1;
                }
            }
            button[type="submit"],
            input[type="submit"] {
                font-family: "Montserrat", sans-serif, "FontAwesome";
                letter-spacing: 0.02em;
                font-weight: bold;
                border: 0;
                height: 40px;
                line-height: 40px;
                position: relative;
                background-color: #1E8BC3;
                border-color: #1E8BC3;
                border-top-left-radius: 0;
                border-bottom-left-radius: 0;
                color: #fff;
                margin-left: -1px;
                text-transform: uppercase;
                font-size: 18px;
                padding: 0 16px;
                z-index: 2;
                -webkit-border-radius: 0 3px 3px 0;
                -khtml-border-radius: 0 3px 3px 0;
                -moz-border-radius: 0 3px 3px 0;
                -ms-border-radius: 0 3px 3px 0;
                border-radius: 0 3px 3px 0;
                -webkit-transition: background-color 0.15s ease-in-out;
                -moz-transition: background-color 0.15s ease-in-out;
                -ms-transition: background-color 0.15s ease-in-out;
                -o-transition: background-color 0.15s ease-in-out;
                transition: background-color 0.15s ease-in-out;
                &:hover {
                    background-color: #3498DB;
                    border-color: #3498DB;
                    color: #fff;
                }
            }
        }
    }
}

/* Footer bottom */

.footer-bottom {
    width: 100%;
    background-color: $color6;
    color: #fff;
    margin: 0;
    padding: 0 0 18px 0;
    font-size: 14px;
    font-weight: 400;
    border-top: solid 5px $color5;
    a {
        color: #fff;
        font-weight: 600;
        color: $color1;
        display: inline-block;
        &:hover {
            text-decoration: underline;
            color: #fff;
        }
        &:visited {
            color: $color1;
            display: inline-block;
        }
    }
}
.social {
    li {
        padding: 0 2px;
        .fa {
            margin-top: 35px;
            display: inline-block;
            color: rgba($color1, 0.9);
            background-color: rgba(#000, 0.07);
            width: 48px;
            height: 48px;
            line-height: 48px;
            @include border-radius(3px);
            text-align: center;
            font-size: 20px;
            @include transition(all 0.4s ease);
            &:hover, &:focus {
                background-color: $color5;
                text-decoration: none;
                color: $color1;
            }
        }
    }
}
.credits {
    text-align: right;
    font-size: 13px;
    padding-top: 30px;
    color: rgba($color1, 0.9);
    p {
        margin-bottom: 0;
        font-size: 13px;
        &.small {
            font-size: 12px;
            margin-top: 5px;
        }
    }

    a {
        margin-top: 5px;
    }
}

/* Back to top */

.scrollToTop {
    width:40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    text-align:center;
    font-weight: bold;
    color: #fff!important;
    font-size: 20px;
    text-decoration: none;
    position:fixed;
    bottom:10px;
    right:15px;
    z-index: 99;
    display:none;
    background: rgba(darken($color6,1%),0.9);
    @include border-radius(3px);
    @include opacity(0.9);
    @include transition(all 0.3s);
}
.scrollToTop:hover{
    background: rgba($color4,1);
    text-decoration:none;
    @include opacity(1);
    color:#fff;
}

/* 14. RESPONSIVE
//----------------------------------------------------------------------------------------- */

@import 'responsive';

/* 15. SPECIAL CSS FOR RTL LAYOUTS
//----------------------------------------------------------------------------------------- */

@import 'rtl-compatible';