:root {
    --base-color: #026fd7;
    --second-color: #139fea;/* #73cb3e;*/
    --gray-color: #b8b8b8;
}

body {
    font-family: "Nunito", sans-serif;
}

::selection {
    background: rgba(230, 230, 230, 0.8);
}

::-moz-selection {
    background: rgba(230, 230, 230, 0.8);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.618;
}

.base-color {
    color: var(--base-color);
}

.bg-base-color {
    background-color: var(--base-color);
}

.second-color {
    color: var(--second-color);
}

.gray-color {
    color: var(--gray-color);
}

.pt-6, .py-6 {
    padding-top: 6rem;
}

.pb-6, .py-6 {
    padding-bottom: 6rem;
}

a, a:hover {
    text-decoration: none;
}

a, button {
    outline: none !important;
}

#page-content {
    overflow: hidden;
}

#page-content .content img {
    max-width: 100%;
}

.btn {
    background-color: var(--second-color);
    color: #fff;
    font-size: 0.8rem;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0;
    padding: 0.7rem 1.2rem;
    border: 2px solid var(--second-color);
    border-radius: 20px;
    transition: all 400ms ease-in-out;
    box-shadow: 0 10px 20px 0 rgba(90, 70, 176, 0.3);
}

.btn:hover {
    background-color: var(--second-color);
    box-shadow: none;
}

.btn-white {
    color: #333;
    background-color: #fff !important;
    border-color: #fff !important;
}

.btn-white:hover {
    color: #fff !important;
    background-color: var(--second-color) !important;
    border-color: var(--second-color) !important;
}

.btn-green {
    color: #333;
    background-color: var(--second-color) !important;
    border-color: var(--second-color) !important;
}

.btn-green:hover {
    color: var(--second-color) !important;
    background-color: var(--second-color) !important;
    border-color: var(--second-color) !important;
}

.section-title .title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
}

.section-title .sub-title {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--second-color);
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10099;
    background-color: #f5f5f5;
}

#loading .loading-box {
    position: absolute;
    margin: auto;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    box-shadow: 25px 25px var(--base-color), -25px 25px var(--second-color), -25px -25px var(--base-color), 25px -25px var(--second-color);
    animation: cssload-spin ease infinite 4.6s;
}

@keyframes cssload-spin {
    0%,
    100% {
        box-shadow: 28px 28px var(--second-color), -28px 28px var(--base-color), -28px -28px var(--second-color), 28px -28px var(--base-color);
    }
    25% {
        box-shadow: -28px 28px var(--base-color), -28px -28px var(--second-color), 28px -28px var(--base-color), 28px 28px var(--second-color);
    }
    50% {
        box-shadow: -28px -28px var(--second-color), 28px -28px var(--base-color), 28px 28px var(--second-color), -28px 28px var(--base-color);
    }
    75% {
        box-shadow: 28px -28px #dfdfdf, 28px 28px #4f4d49, -28px 28px #dfdfdf, -28px -28px #4f4d49;
    }
}

/* HEADER */
.header-sticky {
    background-color: #fff !important;
    z-index: 999;
    box-shadow: 0 3px 6px rgb(0 0 0 / 10%);
}

.header-sticky nav .nav-item .nav-link {
    color: #232323 !important;
}

.header-sticky nav a.navbar-brand {
    color: #232323 !important;
}

.header {
    height: 80px;
    padding: 0 0.5rem;
    transition: all 1s ease;
}

.header .navbar, .header .collapse {
    height: 80px;
}

.header .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 5rem;
    font-weight: 700;
}

.header .navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.header .navbar-light .navbar-nav .nav-link {
    color: #555;
}

.header .navbar-toggler {
    border: none;
    outline: none;
}

.header .navbar-toggler .navbar-bar-icon i {
    font-size: 1.5rem !important;
    color: #232323;
}

.header .navbar-nav .nav-item {
    margin: 0px;
    height: 80px;
    padding: 20px 0;
}

.header .navbar-nav .nav-item:hover {
    background-color: #f6f6f6;
}

.header .navbar-nav .nav-item .nav-link {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    padding: 12px 20px 25px 20px;
}

.header .navbar-nav .dropdown-menu {
    background-color: #fff;
    opacity: 0.95;
    padding: .25rem 0;
    margin: 0px;
    border: none;
    box-shadow: 0 3px 6px rgb(0 0 0 / 10%);
}

.header .navbar-nav .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    padding: 1.0rem 1.25rem;
}

.header .navbar-nav .dropdown-toggle::after {
    vertical-align: .275em;
}

.header .navbar-nav .dropdown-item.dropdown-toggle {
    position: relative;
}

.header .navbar-nav .dropdown-item.dropdown-toggle::after {
    vertical-align: .275em;
    position: absolute;
    right: 15px;
    top: 15px;
    border-left: .31em solid;
    border-top: .31em solid transparent;
    border-right: 0;
    border-bottom: .31em solid transparent;
}

.header .navbar-nav .roiton-menu li a:hover,
.header .navbar-nav .roiton-menu li a:focus,
.header .navbar-nav .navbar > .show > a,
.header .navbar-nav .navbar > .show > a:focus,
.header .navbar-nav .navbar > .show > a:hover {
    color: #fff;
    background: transparent;
    outline: 0;
}

.header .navbar-nav .roiton-menu .collapse ul ul > li:hover > a,
.header .navbar-nav .navbar .show .dropdown-menu > li > a:focus,
.header .navbar-nav .navbar .show .dropdown-menu > li > a:hover,
.header .navbar-nav .roiton-menu .collapse ul ul ul > li:hover > a {
    background-color: #f6f6f6;
    color: #292929;
}

#searchKeyword {
    background-color: var(--second-color);
    font-size: 0.8rem;
    line-height: 1;
    letter-spacing: 0;
    padding: 0.7rem 1.2rem;
    border: 2px solid var(--second-color);
    border-radius: 20px;
    transition: all 400ms ease-in-out;
    box-shadow: 0 10px 20px 0 rgba(90, 70, 176, 0.3);

    width: 40px;
    transition: width 0.5s;
    text-align: left;
    color: #FFFFFF;
    font-weight: bold;
    background-image: url("img/search.png") !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 22px;
    outline: none;
}

#searchKeyword:hover {
    background-color: var(--second-color);
    transition: width 0.5s;
    width: 160px;
    background-position: right;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .header .navbar-nav .nav-item .nav-link {
        font-size: 11px !important;
    }
}

@media only screen and (max-width: 992px) {
    .roiton-menu .show > .dropdown-toggle::after,
    .roiton-menu .navbar-toggler[aria-expanded="true"] {
        transform: rotate(-90deg);
    }

    .header, .header .navbar, .header .collapse, .header .navbar-nav .nav-item {
        height: unset;
    }

    .header .navbar-nav .dropdown-item {
        padding: 1rem 2.5rem;
    }

    .header .navbar-nav .nav-item .nav-link {
        padding: 10px;
    }

    .header .navbar-nav .nav-item {
        padding: 5px;
    }

    .header form {
        width: 100% !important;
        text-align: center;
    }

    .big-banner h1 {
        font-size: 1.1rem;
    }

    #searchKeyword {
        background-position: right !important;
        width: 60% !important;
        margin-bottom: 10px;
    }

    .signUpBtn {
        margin: 20px auto 20px 40%;
    }
}

@media only screen and (min-width: 992px) {
    .roiton-menu .collapse ul li {
        position: relative;
    }

    .roiton-menu .collapse ul li:hover > ul {
        display: block;
    }

    .roiton-menu .ul2colum {
        width: 500px;
        margin-left: -160px !important;
        /*border-top: 2px solid var(--second-color) !important;*/
    }

    .roiton-menu .ul2colum li {
        width: 250px;
        float: left;
        display: block;
        overflow: hidden;
    }
}

.big-banner {
    margin-top: 80px;
    background: linear-gradient(to bottom right, var(--base-color), var(--second-color)) !important;
    background-size: cover;
    background-position: center;
    height: 500px;
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.big-banner .big-banner-bg {
    background-size: cover;
    background-position: center;
    height: 500px
}

.hero {
    position: relative;
    background-size: cover;
    background-position: center center;
}

.hero .hero-center {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.hero .hero-center .hero-content p {
    max-width: 450px;
}

.hero .hero-center .hero-txt {
    color: #ffffff;
}

.hero .hero-center .hero-txt h1 {
    font-size: 4rem !important;
    font-weight: 800;
}

.hero .hero-center .hero-txt .hero-btns {
    margin-top: 35px;
}

/* PAGE-HERO */
#page-hero {
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    margin-top: 80px;
    z-index: 3;
}

#page-hero .hero-content {
    position: absolute;
    transform: translateY(-50%);
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

#page-hero .hero-content h2 {
    font-size: 3rem;
    font-weight: 800;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "";
    width: 6px;
    height: 6px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    border-radius: 50%;
    background-color: var(--second-color);
}

.breadcrumb-item.active {
    color: var(--second-color);
}

.hero .hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-35%);
    z-index: 2;
    right: 0;
}

.count-up .count-item:hover .count-icon i,
.count-up .count-item:hover p {
    font-size: 1.6rem;
    color: #444444 !important;
    transform: scale(1.1);
}

.count-up .count-item .count-icon i, .count-up .count-item p {
    font-size: 1.5rem;
    color: #a1a1a1;
}

.count-up .count-item .count-content {
    margin: 10px 0;
    font-size: 3rem;
    color: var(--second-color);
}

.card-pic {
    position: relative;
}

.card-pic .card-pic-Table {
    text-align: center;
    background: #ffffff;
    margin: 15px;
    padding-bottom: 40px;
    color: #cad0de;
    transform: scale(1);
    transition: all 0.5s ease 0s;
}

.card-pic .card-pic-Table:hover {
    border-bottom-color: #505050;
    background: #fff;
    box-shadow: 0 40px 80px 0 rgba(43, 35, 79, 0.14);
    transform: translateY(-10px);
}

.card-pic .card-pic-Table .card-pic-Table-header {
    padding: 30px 0;
    background: #f5f6f9;
    transition: all 0.5s ease 0s;
}

.card-pic .card-pic-Table:hover .card-pic-Table-header {
    background: var(--second-color);
}

.card-pic .card-pic-Table .heading {
    font-size: 20px;
    color: var(--second-color);
    margin-top: 20px;
    text-transform: uppercase;
}

.card-pic .card-pic-Table .content {
    font-size: 14px;
    color: #b8b8b8;
    margin-top: 20px;
    margin-bottom: 10px;
}

.card-pic .card-pic-Table .card-pic-button a {
    display: inline-block;
    font-size: 0.8rem;
    color: #fff;
    padding: 10px 30px;
    border-radius: 20px;
    background: var(--second-color);
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}

.card-pic .card-pic-Table.blue:hover .card-pic-Table-header,
.card-pic .card-pic-Table.blue .card-pic-button a {
    background: var(--base-color);
}

.card-pic .card-pic-Table.green:hover .card-pic-Table-header,
.card-pic .card-pic-Table.green .card-pic-button a {
    background: var(--second-color);
}

.card-pic .card-pic-Table.blue .heading {
    color: var(--base-color);
}

.card-pic .card-pic-Table.green .heading {
    color: var(--second-color);
}

.card-pic .card-pic-Table .card-pic-button a:hover {
    box-shadow: 0 0 10px var(--second-color);
}

.card-pic .card-pic-Table.blue .card-pic-button a:hover {
    box-shadow: 0 0 10px var(--base-color);
}

.card-pic .card-pic-Table.green .card-pic-button a:hover {
    box-shadow: 0 0 10px var(--second-color);
}

#blog {
    position: relative;
}

#blog .image-blog {
    position: relative;
    overflow: hidden;
}

#blog .image-blog img {
    width: 100%;
}

#blog .blog-item {
    background: #fff;
    transition: all .3s ease-in-out;
    padding: 15px;
}

#blog .blog-item .blog-link a {
    visibility: hidden;
}

#blog .blog-item:hover {
    box-shadow: 0 40px 80px 0 rgba(43, 35, 79, 0.14);
    transform: translateY(-10px);
}

#blog .blog-item:hover h5 a {
    color: var(--base-color) !important;
}

#blog .blog-item:hover .blog-link a {
    visibility: visible;
}

#blog .blog-section-author {
    font-size: 14px;
    margin-bottom: 16px;
}

#blog .blog-section-author span a {
    color: var(--base-color);
}

#blog .blog-title {
    position: absolute;
    background-color: #383838;
    padding: 15px 20px;
    bottom: -16px;
    left: 0;
    width: 100%;
    color: #ffffff;
}

#blog .blog-content h5 {
    margin-bottom: 0;
}

#blog .blog-content p {
    margin-top: 20px;
}

#blog .blog-link a {
    transition: all .3s ease-in-out;
}

#blog .blog-link a:hover {
    color: #ffffff !important;
}

#blog .blog-title ul li i {
    position: relative;
    top: 1px;
}

.contact ::-moz-placeholder, .contact .form-control::-moz-placeholder {
    color: #969696;
}

.contact .form-item .form-control {
    background: #ffffff;
    box-shadow: none;
    height: 44px;
    font-size: 14px;
    position: relative;
    transition: border .9s ease;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    color: #19c90e;
    box-shadow: 0 0 4px -3px #000;
}

.contact .form-item .form-control:focus {
    border: 1px solid #19c90e;
}

.contact .contact-form p {
    color: #333;
    font-size: 15px;
    line-height: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-left: 5px;
    display: block;
}

.contact .contact-img img {
    width: 100%;
}

.content-detail ul {
    list-style: square !important;
    padding-left: 2rem;
}

.content-detail img {
    max-width: 100%;
}

/* FOOTER */
#footer {
    position: relative;
    background-color: #F5F5F5;
}

#footer ul.social-link {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer ul.social-link li {
    display: inline-block;
}

#footer ul.social-link li:not(:last-child) {
    margin-right: 10px;
}

#footer ul.social-link li a {
    height: 45px;
    width: 45px;
    line-height: 45px;
    border: 1px solid #e6dbdb;
    display: block;
    border-radius: 50%;
    color: #9694a1;
    text-align: center;
    font-size: 20px;
    transition: all .3s ease-in-out;
}

#footer ul.social-link li a:hover {
    background: var(--second-color);
    border-color: var(--second-color);
    box-shadow: 0 20px 30px 0 rgba(196, 196, 196, 0.3);
    color: #fff !important;
}

/*RETURN TO TOP*/
.return-to-top {
    position: fixed;
    bottom: -55px;
    right: 30px;
    background: var(--second-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    z-index: 999;
    text-align: center;
}

.return-to-top i {
    color: #ffffff;
    margin: 0;
    position: relative;
    top: 11px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.return-to-top:hover {
    background: #ffad50;
}

.return-to-top.show {
    bottom: 30px;
}

.return-to-top.show:hover {
    transform: translateY(-10px);
}

/*-  PORTFOLIO -*/
.portfolio .portfolio-filter li a {
    color: #080e32;
    display: block;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 23px;
    border-radius: 100px;
    transition: all 0.5s ease-in-out;
}

.portfolio .portfolio-filter a.active {
    color: #ffffff !important;
    border-color: var(--second-color);
    background-color: var(--second-color);
}

.portfolio .portfolio-filter a:hover {
    border-color: var(--second-color);
    background-color: var(--second-color);
    color: #ffffff;
}

.portfolio .portfolio-item {
    padding: 20px !important;
}

.portfolio .portfolio-body {
    transition: all .3s ease-in-out;
}

.portfolio .portfolio-item img {
    transition: all .5s ease;
}

.portfolio .portfolio-item .box {
    text-align: center;
    overflow: hidden;
    position: relative;
}

.portfolio .portfolio-item .box:before,
.portfolio .portfolio-item .box:after {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--base-color);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.5s ease 0s;
}

.portfolio .portfolio-body:hover {
    transform: translateY(-10px);
    border-bottom-color: #505050;
    box-shadow: 0 40px 80px 0 rgba(43, 35, 79, 0.14);
}

.portfolio .portfolio-item:hover .box:before {
    opacity: 0.8;
}

.portfolio .portfolio-item:hover .box:after {
    left: -170%;
}

.portfolio .portfolio-item .box img {
    height: auto;
    max-height: 300px;
}

.portfolio .portfolio-item .box .box-content {
    width: 100%;
    position: absolute;
    top: -100%;
    left: 0;
    transition: all 0.5s ease 0s;
}

.portfolio .portfolio-item .box:hover .box-content {
    top: 20%;
}

.portfolio .portfolio-item .box:hover .box-title {
    display: none;
}

.portfolio .portfolio-item .portfolio-title {
    width: 100%;
    padding: 15px;
    height: 120px;
    overflow: hidden;
}

.portfolio .portfolio-item .box .box-content a {
    color: #ffffff;
}

.portfolio .portfolio-item .box .title {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.portfolio .portfolio-item .box .icon {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    position: absolute;
    bottom: 10%;
    left: 0;
    opacity: 0;
    transform: scale(0.5) rotateX(360deg);
    transition: all 0.3s ease 0.3s;
}

.portfolio .portfolio-item:hover .box .icon {
    opacity: 1;
    transform: scale(1) rotateX(0deg);
}

.portfolio .portfolio-item .box .icon li {
    display: inline-block;
}

.portfolio .portfolio-item .box .icon li a {
    display: block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    background: #fff;
    font-size: 20px;
    color: #000;
    margin-right: 10px;
    transition: all 0.3s ease 0.3s;
}

.portfolio .portfolio-item .box .icon li a:hover {
    background: var(--second-color);
    color: #fff;
    transition-delay: 0s;
}

.portfolio .portfolio-item .box .icon li a:hover {
    transform: rotate(360deg);
}

.portfolio .col-md-4:hover .box .box-content {
    top: 10%;
}

.portfolio .col-md-3:hover .box .box-content {
    bottom: 15%;
}

/*  LOGIN PAGE */
.login-page {
    border-radius: 20px !important;
}

.login-page p a {
    font-size: 14px;
}

.login-page .login-form .form-control {
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    height: 44px;
    font-size: 14px;
    position: relative;
    transition: border .9s ease;
    border: 1px solid #d8d8d8;
    border-radius: 20px;
    color: #19c90e;
    box-shadow: 0 0 4px -3px #000;
}

.login-page .login-form .form-control:focus {
    border: 1px solid #19c90e;
}

.login-page .login-form .form-group label {
    font-size: 15px;
    line-height: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-left: 5px;
    display: block;
}

.box-shadow {
    box-shadow: 0 40px 80px 0 rgba(43, 35, 79, 0.14);
}

@media (max-width: 991px) {
    .pt-6, .py-6 {
        padding-top: 4rem;
    }

    .pb-6, .py-6 {
        padding-bottom: 4rem;
    }

    .page-hero .hero-center {
        transform: translateY(-50%);
    }

    .login-page {
        font-size: 14px;
    }

    .page-hero {
        margin-top: 56px;
    }
}

@media (max-width: 768px) {
    .hero .hero-center h2 {
        font-size: 3rem !important;
        margin-top: 3rem;
    }

    .hero .hero-center .hero-txt h1 {
        font-size: 3rem !important;
        margin-top: 3rem;
    }

    #hero-02 .hero-txt h1 {
        font-size: 3rem !important;
        margin-top: 3rem;
    }

    p {
        font-size: 14px;
    }

    .pt-6, .py-6 {
        padding-top: 2.5rem;
    }

    .pb-6, .py-6 {
        padding-bottom: 2.5rem;
    }

    #hero .hero-txt {
        margin-top: 3rem;
    }

    #hero .hero-txt h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .pt-6, .py-6 {
        padding-top: 2rem;
    }

    .pb-6, .py-6 {
        padding-bottom: 2rem;
    }

    #hero .hero-txt {
        margin-top: 2rem;
    }

    #hero .hero-txt h1 {
        font-size: 2.5rem !important;
    }

    #count-up {
        text-align: center !important;
    }

    .portfolio .portfolio-item .box:hover .box-content {
        bottom: 20%;
    }

    .portfolio .portfolio-item .box {
        margin-bottom: 10px;
    }
}

@media (max-width: 414px) {
    .hero-btns .btn-white {
        margin-top: 1rem !important;
    }
}

.tns-nav {
    text-align: center;
    margin: 10px 0;
}

.tns-nav > [aria-controls] {
    width: 10px;
    height: 10px;
    padding: 0;
    margin: 0 5px;
    border-radius: 50%;
    background: #ddd;
    border: 0;
}

.tns-nav > .tns-nav-active {
    background: #999;
    width: 20px;
    border-radius: 5px;
}

.zindex-top {
    z-index: 999;
}

.cursor-pointer {
    cursor: pointer;
}

.alertify-notifier {
    color: #f8f8f8;
}

.error {
    color: #ff6a00;
    padding-top: 5px;
    font-size: 13px !important;
    font-weight: normal !important;
}
