/*--------------------------------------------------
  Variables
--------------------------------------------------*/

:root {
    --main-font: 'Titillium Web', sans-serif;
    --second-font: 'Raleway', sans-serif;
    --light-gray: #a6acb3;
    --dark-gray: #29333f;
    --light-blue: #1975E6;
    --blue: #114c97;
    --dark-blue: #071e39;
    --green: #7fbd42;
}

/*--------------------------------------------------
  General
--------------------------------------------------*/

body,
html {
    padding: 0;
    margin: 0;
    background-color: #f0efef;
    font-family: var(--main-font);
}

a {
    text-decoration: none;
}

.flex {
    display: flex;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

.text-left,
.text-center,
.text-right {
    display: block;
}

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

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

.text-center {
    text-align: center;
}

h2 {
    color: var(--light-blue);
    font-size: 30px;
}

.btn {
    display: inline-block;
    height: 40px;
    line-height: 33px;
    padding: 0 20px;
    border: 3px solid var(--blue);
    color: var(--blue);
    font-weight: 700;
    font-size: 15px;
}

.hide {
    display: none;
}

/*--------------------------------------------------
  Header
--------------------------------------------------*/

header {
    padding: 10px 0 15px;
    border-bottom: 3px solid #D5D5D5;
}

header .col-xs-9.flex {
    align-items: center;
}

header .top-logo {
    margin-top: 20px;
}

header .top-nav nav ul {
    list-style-type: none;
}

header .top-nav nav ul li {
    display: inline-block;
    margin-right: 20px;
}

header .top-nav nav ul li a,
header .right-top-nav .bottom a:first-child {
    font-weight: 700;
    color: var(--dark-gray);
}

header .right-top-nav .top {
    margin-bottom: 14px;
}

header .right-top-nav .bottom a {
    display: inline-block;
    margin-right: 10px;
}

header .right-top-nav .bottom a:first-child:after {
    content: "";
    width: 2px;
    border-left: 1px solid #AAA9A9;
    border-right: 1px solid #fff;
    height: 40px;
    margin-left: 20px;
}

header .right-top-nav .top a,
header .right-top-nav .bottom a.search {
    font-weight: 600;
    color: var(--blue);
}

header .right-top-nav .bottom a.join-us {
    border: 3px solid var(--dark-gray);
    color: var(--dark-gray);
    font-weight: 700;
    font-size: 18px;
}

/*--------------------------------------------------
  Top slider
--------------------------------------------------*/

.block-slider-full-width .owl-carousel .item {
    height: 600px;
    color: #fff;
}

.block-slider-full-width .owl-carousel .item .overlay {
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    width: 100%;
    height: 100%;
}

.block-slider-full-width .owl-carousel .item .content {
    position: relative;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

.block-slider-full-width .owl-carousel .item h2 {
    font-size: 50px;
    color: #fff;
}

.block-slider-full-width .owl-carousel .item p {
    font-size: 26px;
    font-weight: 300;
    margin-bottom: 50px;
}

.block-slider-full-width .owl-carousel .item .btn {
    border: 1px solid #fff;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    line-height: 36px;
    padding: 0 60px;
}

.block-slider-full-width .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    margin-top: -20px;
    width: 100%;
}

.block-slider-full-width .owl-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    line-height: 40px;
    text-align: center;
    background-color: #fff;
    outline: none;
}

.block-slider-full-width .owl-carousel .owl-nav button.owl-prev {
    float: left;
    margin-left: 50px;
}

.block-slider-full-width .owl-carousel .owl-nav button.owl-next {
    float: right;
    margin-right: 50px;
}

.block-slider-full-width .owl-carousel .owl-nav button i {
    color: var(--blue);
}

.block-slider-full-width .owl-carousel .owl-dots {
    position: absolute;
    width: 100%;
    bottom: 25px;
}

.block-slider-full-width .owl-carousel .owl-dots button {
    outline: none;
}

.block-slider-full-width .owl-theme .owl-dots .owl-dot span {
    width: 15px;
    height: 15px;
}

/*--------------------------------------------------
  BLUE TWO COLUMNS
--------------------------------------------------*/

.block-bg-two {
    background-color: var(--blue);
    padding: 90px 0 50px;
}

.block-bg-two .flex {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.block-bg-two .col-md-6 {
    text-align: center;
    color: #fff;
}

.block-bg-two .col-md-6 h3 {
    font-size: 80px;
    line-height: 1;
    margin: 80px 0 50px;
}

.block-bg-two .col-md-6 p {
    font-size: 22px;
    font-weight: bold;
    width: 80%;
    margin: 0 auto;
}

.block-bg-two .text-hero-center {
    margin-top: 50px;
    font-weight: 300;
    font-size: 35px;
    padding: 0 12%;
    color: #fff;
}

.block-bg-two .text-hero-center strong {
    color: var(--green);
}

/*--------------------------------------------------
  Block overlay four
--------------------------------------------------*/

.block-overlay-four {
    padding: 50px 0;
    height: 370px;
}

.block-overlay-four h2 {
    margin-bottom: 60px;
}

.block-overlay-four .overlay {
    height: 400px;
    position: relative;
    padding: 0;
    display: block;
    margin-bottom: 30px;
}

.block-overlay-four .overlay .title {
    position: absolute;
    width: 100%;
    background-color: rgba(127, 189, 66, .8);
    bottom: 0;
    text-align: center;
    color: #fff;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-overlay-four .overlay .title h3 {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 22px;
    line-height: 1;
    padding: 0 20px;
}

/*--------------------------------------------------
  Block image left
--------------------------------------------------*/

.block-image-left {
    padding: 280px 0 80px;
    background-color: #fff;
}

.block-image-left h2 {
    margin-top: 0;
}

.block-image-left p {
    font-size: 22px;
    line-height: 1.2;
}

.block-image-left p strong {
    color: var(--green);
    font-weight: 700;
}

.block-image-left .btn {
    margin-top: 20px;
}

/*--------------------------------------------------
  Block carousel center four
--------------------------------------------------*/

.block-carousel-center-four {
    padding: 50px 0 80px;
}

.block-carousel-center-four .top {
    margin-bottom: 20px;
}

.block-carousel-center-four h2,
.block-carousel-center-four .nav-container {
    display: inline-block;
}

.block-carousel-center-four .nav-container {
    margin-left: 20px;

}

.block-carousel-center-four .nav-container button {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 2px solid var(--dark-blue);
    color: var(--dark-blue);
    text-align: center;
    line-height: 30px;
    outline: none;
    cursor: pointer;
    background: none;
    margin-right: 10px;
    position: relative;
    bottom: 5px;
}

.block-carousel-center-four .btn.right {
    margin-top: 35px;
}

.block-carousel-center-four .owl-carousel .item {
    height: 250px;
    color: #fff;
}

/*--------------------------------------------------
  Block carousel center four
--------------------------------------------------*/

.block-carousel-center-four .owl-carousel .item>div {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 25px 25px 10px 25px;
    font-family: var(--second-font);
    font-size: 14px;
    line-height: 1.5;
}

.block-carousel-center-four .owl-carousel .item>div h3 {
    margin-bottom: 0;
}

/*--------------------------------------------------
  Block-overlay-three
--------------------------------------------------*/

.block-overlay-three {
    padding: 40px 0 70px;
    background-color: var(--blue);
}

.block-overlay-three h2 {
    color: #fff;
}

.block-overlay-three .overlay {
    position: relative;
    height: 400px;
    color: #fff;
}

.block-overlay-three .overlay h3 {
    font-weight: 300;
    font-size: 38px;
    padding: 30px;
}

.block-overlay-three .overlay>div {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px;
    font-family: var(--second-font);
    font-size: 14px;
    line-height: 1.5;
}

.block-overlay-three .overlay>div .flex {
    justify-content: center;
}

.block-overlay-three .overlay>div .flex .btn {
    color: #fff;
    border: 1px solid #656260;
    font-family: var(--main-font);
    line-height: 38px;
}

/*--------------------------------------------------
  Block background left
--------------------------------------------------*/

.block-bg-left {
    background-color: #fff;
}

.block-bg-left .text {
    font-size: 40px;
    color: var(--blue);
    font-weight: 300;
    padding: 50px 0 320px;
    line-height: 1.2;
    text-align: right;
}

.block-bg-left .text p {
    margin-right: 100px;
}

/*--------------------------------------------------
  Block text darkblue two
--------------------------------------------------*/

.block-text-darkblue-two {
    background-color: var(--dark-blue);
    color: #fff;
}

.block-text-darkblue-two .row.flex {
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
}

.block-text-darkblue-two .col-sm-6 {
    padding: 80px 0;

}

.block-text-darkblue-two .col-sm-6:first-child {
    border-right: 1px solid #435160;
}

.block-text-darkblue-two .col-sm-6:first-child .left {
    margin-right: 20px;
}

.block-text-darkblue-two .col-sm-6:last-child>div {
    padding: 30px 0 30px 30px;
}

.block-text-darkblue-two .col-sm-6:first-child h4 {
    font-weight: 300;
    font-size: 26px;
    margin: 20px 0 0;
}

.block-text-darkblue-two .col-sm-6:first-child p {
    font-size: 22px;
    margin: 0;
    font-weight: 300;
}

.block-text-darkblue-two .col-sm-6:last-child {
    text-align: center;
}

.block-text-darkblue-two .col-sm-6:last-child h4 {
    font-size: 26px;
    font-weight: 300;
}

.block-text-darkblue-two .col-sm-6:last-child .flex {
    justify-content: center;
}

.block-text-darkblue-two .btn {
    color: #fff;
    border: 1px solid #616F81;
    padding: 0 100px;
    line-height: 38px;
}

.block-text-darkblue-two .btn i {
    margin-right: 10px;
}

/*--------------------------------------------------
  Footer
--------------------------------------------------*/

footer {
    padding: 20px 0;
}

footer .flex {
    align-items: center;
}

footer .copy {
    font-weight: bold;
    font-size: 14px;
    margin-right: 30px;
    color: var(--light-gray);
}

footer nav ul {
    margin: 0;
    padding: 0;
}

footer nav ul li {
    display: inline-block;
    margin-right: 30px;
}

footer nav ul li a {
    font-weight: bold;
    font-size: 14px;
    color: var(--light-gray);
}

footer .social-buttons a {
    background-color: var(--blue);
    color: #fff;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    margin-left: 20px;
}

/*--------------------------------------------------
  Off-canvas menu
--------------------------------------------------*/
.offcanvas-menu-button {
    font-size: 30px;
    cursor: pointer;
    float: right;
    display: none;
    margin-top: 35px;
}

.sidenav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 100;
    top: 0;
    right: -250px;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav .closebtn {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    transition: 0.3s;
}

.sidenav .closebtn:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.submenu {
    margin: 0;
}

.submenu,
.dropdown-container {
    list-style-type: none;
    padding: 0;
}

.submenu a,
.dropdown-btn {
    padding: 6px 8px 6px 25px;
    text-decoration: none;
    font-size: 20px;
    color: #818181;
    display: inline-block;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.submenu a:hover,
.dropdown-btn:hover {
    color: #f1f1f1;
}

.active {
    background-color: green;
    color: white;
}

.dropdown-container {
    display: none;
    background-color: #262626;
    padding-left: 8px;
}

.fa-caret-down {
    float: right;
    padding-right: 8px;
}

/*--------------------------------------------------
  Mobile
--------------------------------------------------*/

@media(max-width: 1200px) {

    header .top-nav,
    header .right-top-nav {
        display: none;
    }

    .offcanvas-menu-button {
        display: block;
    }
}

@media (max-width: 992px) {
    .block-slider-full-width .owl-carousel .item h2 {
        font-size: 30px;
    }

    .block-slider-full-width .owl-carousel .item p {
        font-size: 20px;
    }

    .block-slider-full-width .owl-carousel .item .content>div {
        padding: 0 50px;
    }

    .block-bg-two .col-md-6:first-child {
        margin-bottom: 50px;
    }

    .block-overlay-four {
        height: auto;
    }

    .block-image-left {
        padding-top: 50px;
    }

    .block-image-left .col-md-4,
    .block-image-left .col-md-8 .button-wrap {
        display: flex;
        justify-content: center;
    }

    .block-image-left .col-md-8 h2 {
        margin-top: 50px;
        text-align: center;
    }
}

@media (max-width: 768px) {

    h2 {
        color: var(--light-blue);
        font-size: 26px;
    }

    .block-bg-two .col-md-6 h3 {
        font-size: 60px;
        margin: 80px 0 30px;
    }

    .block-bg-two .text-hero-center {
        font-size: 25px;
    }

    .block-bg-two {
        padding-top: 50px;
    }

    .hide-small {
        display: none;
    }

    .show-small {
        display: block;
    }

    .block-carousel-center-four {
        padding: 20px 0 50px;
    }

    .block-carousel-center-four .col-sm-12.flex {
        margin-top: 50px;
        justify-content: center;
    }

    .block-bg-left .text p {
        margin: 0 50px;
        font-size: 25px;
    }

    .block-text-darkblue-two .row.flex {
        padding: 50px 0;
    }

    .block-text-darkblue-two .col-sm-6 {
        padding: 0;
    }

    .block-text-darkblue-two .col-sm-6:first-child {
        border-right: none;
    }

    .block-text-darkblue-two .col-sm-6:last-child>div {
        border-top: 1px solid #435160;
        margin: 50px 50px 0;
        padding: 30px 0;
    }

    .block-text-darkblue-two .col-sm-6:first-child .left {
        float: none;
        margin-right: 0;
        text-align: center;
    }

    footer .flex {
        flex-wrap: wrap;
        text-align: center;
        float: none;
    }

    footer .flex .left {
        text-align: center;
        float: none;
        display: block;
        width: 100%;
    }

    footer .social-buttons.right {
        display: flex;
        float: none;
        justify-content: center;
        margin-top: 20px;
    }

    footer .social-buttons.right a {
        margin: 0 10px;
    }

}

@media (max-width: 480px) {
    .block-slider-full-width .owl-carousel .owl-nav button.owl-prev {
        margin-left: 15px;
    }

    .block-slider-full-width .owl-carousel .owl-nav button.owl-next {
        margin-right: 15px;
    }

    .block-slider-full-width .owl-carousel .item .content>div {
        padding: 0 30px;
    }

    .block-bg-left .text {
        padding: 50px 0 220px;
    }

    .block-text-darkblue-two .col-sm-6:last-child>div {
        margin: 50px 30px 0;
    }

    .block-text-darkblue-two .btn {
        display: block;
        padding: 0;
        width: 100%;
    }

    footer nav ul li {
        margin-right: 10px;
    }

}