/*-----------------------------------------------------------
* Template Name    : UONE - Fully Responsive Personal Template
* Author           : Retrina Group
* Version          : 1.0.0
* Created          : November 2019
* File Description : Main css file of the template
*------------------------------------------------------------
*/
/***********************
    1.GENERAL
    2.PRELOADER
    3.HEADER
    4.HERO
    5.ABOUT
    6.SERVICES
    7.BANNER
    8.PORTFOLIO
    9.PRICING
    10.CLIENT
    11.BLOG
    12.CONTACT
    13.FOOTER
    14.COLOR-SCHEME
    15.RETURN TO TOP
    16.BLOG PAGE
    17.SINGLE BLOG
    18.SINGLE PORTFOLIO
    19.UONE-DARK
    20.RESPONSIVE
************************/
/*-------------------------
         GENERAL
-------------------------*/
body {
  font-family: "Muli", sans-serif;
  overflow-x: hidden; }

::selection {
  background: rgba(230, 230, 230, 0.8); }

::-moz-selection {
  background: rgba(230, 230, 230, 0.8); }

.full-screen {
  height: 100vh; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  line-height: 1.618; }

h1 {
  font-size: 3rem; }

p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.618; }

.base-color {
  color: #d23e50 !important; }

.bg-base-color {
  background-color: #d23e50 !important; }

.z-index {
  z-index: 2; }

.w-40 {
  width: 40% !important; }

h2 span {
  font-weight: 600; }

.pt-6, .py-6 {
  padding-top: 6rem; }

.pb-6, .py-6 {
  padding-bottom: 6rem; }

.bg-grey {
  background-color: rgba(0, 0, 0, 0.03); }

.max-width-450 {
  max-width: 450px;
  margin: 0 auto; }

a:hover {
  text-decoration: none; }

a, button {
  outline: none !important; }

.pill-button {
  background-color: #d23e50;
  border: 2px solid #d23e50;
  border-radius: 0.25rem;
  padding: 10px 30px;
  color: #ffffff;
  transition: all 0.3s ease;
  font-size: 16px;
  display: inline-block; }

.pill-button:hover {
  background-color: #bf2739;
  border-color: #bf2739;
  color: #ffffff; }

.white-pill-button {
  background-color: transparent;
  border-color: #ffffff;
  border-radius: 25px; }

.white-pill-button:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff; }

/*-------------------------
        PRELOADER
-------------------------*/
#overlayer {
  position: fixed;
  z-index: 9999;
  background: #ffffff;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; }

.loader {
  position: fixed;
  top: calc(50% - 20px);
  left: calc(50% - 20px);
  z-index: 99999;
  border: 4px solid #ebebeb;
  border-radius: 50%;
  border-top: 4px solid #d23e50;
  width: 40px;
  height: 40px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite; }

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg); } }

@keyframes spin {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }

/*-------------------------
        HEADER
-------------------------*/
.header {
  padding: 10px 0;
  transition: all 0.8s ease; }
  .header nav a {
    color: #ffffff;
    font-size: 1rem;
    background-color: transparent !important;
    margin: 0 7px;
    line-height: 1.5em;
    transition: all 0.5s;
    font-weight: 400; }
    .header nav a:hover {
      color: #d23e50 !important; }
  .header nav a.navbar-brand {
    color: #ffffff;
    font-size: 24px; }
  .header nav .nav-pills a.active {
    color: #d23e50 !important; }

.header-sticky {
  background-color: #ffffff;
  padding: 5px 0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border-bottom: none !important; }
  .header-sticky nav li a {
    color: #222; }
  .header-sticky nav a.navbar-brand {
    color: #222; }

/*-------------------------
          HERO
-------------------------*/
.hero {
  position: relative;
  background-size: cover;
  background-position: center center; }
  .hero::before {
    content: '';
    background-color: rgba(0, 0, 0, 0.75);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1; }
  .hero .hero-center {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3; }
  .hero .hero-content p {
    max-width: 500px; }
  .hero .hero-icon {
    text-align: center;
    position: absolute;
    bottom: 40px;
    z-index: 1;
    left: calc(50% - 8px);
    animation: bounce 2s infinite; }
  .hero .video-overlay {
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
    bottom: 0; }

/*-------------------------
         About
-------------------------*/
.checkmark-list li > span:before {
  content: '\e94c';
  font-family: LineIcons, sans-serif;
  color: #d23e50;
  padding-right: 8px; }

/*-------------------------
         Services
-------------------------*/
.flip-container {
  margin-top: 30px; }
  .flip-container:hover .flipper {
    transform: rotateY(180deg); }
  .flip-container .flipper {
    transition: .5s all ease;
    transform-style: preserve-3d;
    position: relative; }
    .flip-container .flipper .services-item-front {
      margin-top: 30px;
      backface-visibility: hidden;
      text-align: center;
      padding: 2rem;
      z-index: 2;
      transform: rotateY(0deg);
      background: #ffffff;
      border-radius: 0.25rem; }
    .flip-container .flipper .services-item-back {
      backface-visibility: hidden;
      text-align: center;
      padding: 2rem;
      content: "";
      position: absolute;
      top: 0;
      height: 100%;
      margin-top: 0;
      transition: .5s all ease;
      border-radius: 0.25rem;
      transform: rotateY(180deg);
      background: crimson;
      color: #ffffff; }
      .flip-container .flipper .services-item-back .services-item-back-content {
        position: relative;
        top: 50%;
        transform: translateY(-50%); }
      .flip-container .flipper .services-item-back i {
        font-size: 138px;
        position: absolute;
        opacity: 0.2;
        left: calc(50% - 69px);
        top: calc(50% - 69px); }

/*-------------------------
          BANNER
-------------------------*/
.banner {
  background-image: url("http://placehold.it/1920x1080");
  background-attachment: fixed;
  background-size: cover;
  position: relative; }
  .banner:before {
    content: '';
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }

/*-------------------------
         PORTFOLIO
-------------------------*/
.portfolio .portfolio-filter li a {
  color: #6c757d;
  border-radius: 0.25rem;
  display: block;
  padding: 5px 15px;
  transition: all 0.3s; }

.portfolio .portfolio-filter a.active {
  background-color: #d23e50 !important;
  color: #ffffff; }

.portfolio .portfolio-filter a:hover {
  background-color: #d23e50;
  color: #ffffff; }

.portfolio .portfolio-item {
  margin-top: 30px; }
  .portfolio .portfolio-item:last-child a {
    top: 65px; }

.portfolio .portfolio-item-content {
  position: relative; }
  .portfolio .portfolio-item-content:hover .img-overlay {
    opacity: 1;
    visibility: visible;
    border-radius: 0.25rem; }
  .portfolio .portfolio-item-content img {
    border-radius: 0.25rem;
    width: 100%; }

.portfolio .img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  border-radius: 50%; }

.portfolio .img-overlay-content {
  position: relative;
  top: 50%;
  transform: translate(0, -50%); }
  .portfolio .img-overlay-content a {
    background-color: rgba(255, 255, 255, 0.8);
    color: #343a40;
    width: 35px;
    height: 35px;
    line-height: 39px;
    margin: 0 8px;
    display: inline-block;
    border-radius: 0.25rem;
    transition: all 0.3s ease; }
    .portfolio .img-overlay-content a i {
      font-size: 18px;
      font-weight: 700; }
    .portfolio .img-overlay-content a:hover {
      background-color: #d23e50;
      color: #ffffff; }

/*-------------------------
         PRICING
-------------------------*/
.pricing-item {
  margin-bottom: 0; }
  .pricing-item .shape {
    position: absolute;
    width: 200px;
    height: 100px;
    background-color: #d23e50;
    top: -30px;
    left: -73px;
    transform: rotate(-43deg); }
  .pricing-item .recommend {
    position: absolute;
    color: #ffffff;
    top: 30px;
    left: -2px;
    transform: rotate(-43deg);
    z-index: 1;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600; }
  .pricing-item:nth-child(2) .pricing-item-content {
    position: relative;
    overflow: hidden; }
  .pricing-item .pricing-item-content {
    transition: all 0.3s ease; }
    .pricing-item .pricing-item-content:hover {
      transform: translateY(-10px);
      cursor: pointer; }
  .pricing-item p {
    font-size: 27px; }
    .pricing-item p span {
      font-size: 17px; }
  .pricing-item ul {
    line-height: 2em; }

/*-------------------------
       TESTIMONIAL
-------------------------*/
.testimonial {
  background: url("http://placehold.it/1920x1080");
  background-size: cover;
  position: relative; }
  .testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5); }
  .testimonial .testimonial-item {
    max-width: 750px;
    margin: 0 auto; }
    .testimonial .testimonial-item::before {
      content: '\e989';
      font-family: LineIcons, sans-serif;
      font-size: 50px;
      transform: rotateZ(180deg);
      display: block;
      color: #ffffff; }
    .testimonial .testimonial-item p {
      font-size: 24px;
      font-weight: 400; }
    .testimonial .testimonial-item h4 {
      font-size: 18px;
      font-weight: 300 !important; }
      .testimonial .testimonial-item h4 span {
        font-size: 18px;
        font-weight: 300 !important; }
  .testimonial .owl-dot span {
    display: block;
    width: 15px;
    height: 5px;
    background-color: #ffffff;
    margin: 0 4px;
    border-radius: 15px;
    transition: all 0.5s ease; }
  .testimonial .owl-dot.active span {
    width: 30px;
    background-color: #d23e50; }
  .testimonial .owl-carousel .testimonial-item img {
    width: 80px; }

/*-------------------------
          BLOG
-------------------------*/
.blog .image-blog img {
  width: 100%; }

.blog .blog-link a {
  border-bottom: 1px solid #6c757d; }
  .blog .blog-link a:hover {
    color: #d23e50 !important;
    border-bottom-color: #d23e50; }

.blog .more-blogs a {
  font-size: 20px;
  border-bottom: 1px solid #6c757d;
  padding-bottom: 5px;
  font-weight: 600; }
  .blog .more-blogs a:hover {
    color: #d23e50 !important;
    border-bottom: 1px solid #d23e50; }

/*-------------------------
          CONTACT
-------------------------*/
.contact .form-item .form-control {
  background: #ffffff;
  padding: 12px 10px;
  border-radius: 0.25rem;
  box-shadow: none;
  height: 44px;
  color: #d23e50;
  font-size: 1rem;
  position: relative;
  transition: border .9s ease; }

.contact .contact-form textarea {
  min-height: 175px; }

.contact ::-moz-placeholder, .contact .form-control::-moz-placeholder {
  color: #969696; }

.contact #message.toast {
  max-width: 500px;
  padding: 2px 0 1px;
  position: relative;
  top: 18px;
  display: inline-block;
  left: 20px; }

.contact .toast button span {
  position: relative;
  top: 8px; }

.contact .contact-info {
  margin-top: 8rem; }

.contact .form-item .form-control:focus {
  border: 1px solid #d23e50;
  box-shadow: none; }

/*-------------------------
          FOOTER
-------------------------*/
footer ul li a {
  color: #ffffff; }
  footer ul li a:hover {
    color: #d23e50 !important; }

footer ul .list-inline-item i {
  font-size: 1.5rem; }

footer ul li.list-inline-item:not(:last-child) {
  margin-right: 1.5rem; }

/*-------------------------
       COLOR SCHEME
-------------------------*/
.color-scheme {
  position: fixed;
  z-index: 999;
  right: -48px;
  top: 75px;
  padding: .5rem .75rem;
  border-radius: 5px 0 0 5px;
  transition: all 0.5s ease; }
  .color-scheme span {
    padding-left: .75rem;
    transition: all 0.3s ease; }
  .color-scheme:hover {
    right: 0; }
    .color-scheme:hover span {
      padding-left: 0.5rem; }
  .color-scheme i {
    position: relative;
    top: 1px; }
  .color-scheme:hover {
    color: #ffffff; }

/*-------------------------
      RETURN TO TOP
-------------------------*/
.return-to-top {
  position: fixed;
  bottom: -55px;
  right: 30px;
  background: #d23e50;
  width: 45px;
  height: 45px;
  border-radius: 0.25rem;
  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: 10px;
    font-size: 24px;
    transition: all 0.3s ease; }
  .return-to-top:hover {
    background: #bf2739; }

.return-to-top.show {
  bottom: 30px; }
  .return-to-top.show:hover {
    transform: translateY(-5px); }

/*-------------------------
       BLOG PAGE
-------------------------*/
.page-header {
  padding: 2px 0 !important; }

.banner-hero {
  background-image: none; }

.blog-section .blog-link a:hover {
  color: #343a40 !important; }

.pagination-blog li .page-link {
  color: #343a40;
  box-shadow: none !important; }
  .pagination-blog li .page-link:hover {
    background-color: #d23e50;
    border-color: #d23e50;
    color: #ffffff !important;
    cursor: pointer; }

.pagination-blog li.active .page-link {
  background-color: #d23e50;
  border-color: #d23e50;
  color: #ffffff !important;
  cursor: pointer; }

/*-------------------------
       SINGLE BLOG
-------------------------*/
.page-hero {
  background-image: url("http://placehold.it/1920x1080");
  height: 500px; }
  .page-hero .hero-content a:hover {
    color: #d23e50 !important; }

.pt-hero {
  padding-top: 66px; }

.comments img {
  width: 80px;
  border-radius: 50%; }

.comments .comment-info {
  margin-left: 100px; }

.comments .comment-info a {
  color: #0b0b0b; }
  .comments .comment-info a:hover {
    color: #d23e50 !important; }

/*-------------------------
     Single Portfolio
-------------------------*/
.single-portfolio .owl-nav {
  display: block;
  position: absolute;
  bottom: -25px;
  left: calc(50% - 48px); }
  .single-portfolio .owl-nav .owl-prev span, .single-portfolio .owl-nav .owl-next span {
    background: #d23e50;
    color: #ffffff;
    width: 38px;
    height: 38px;
    font-size: 30px;
    line-height: 35px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    border-radius: 30px;
    margin: 0 5px; }
    .single-portfolio .owl-nav .owl-prev span:hover, .single-portfolio .owl-nav .owl-next span:hover {
      background: #bf2739; }
  .single-portfolio .owl-nav .owl-prev span {
    user-select: none; }

.single-portfolio .owl-carousel .owl-stage-outer {
  border-radius: 0.25rem;
  margin-bottom: 10px; }

.related-portfolio .owl-nav {
  display: block;
  position: absolute;
  bottom: -25px;
  left: calc(50% - 48px); }
  .related-portfolio .owl-nav .owl-prev span, .related-portfolio .owl-nav .owl-next span {
    background: #d23e50;
    color: #ffffff;
    width: 38px;
    height: 38px;
    font-size: 30px;
    line-height: 35px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    border-radius: 30px;
    margin: 0 5px; }
    .related-portfolio .owl-nav .owl-prev span:hover, .related-portfolio .owl-nav .owl-next span:hover {
      background: #bf2739; }

.related-portfolio .owl-stage-outer {
  margin-bottom: 10px; }

.p-title-border {
  border-right: 1px dotted #929292;
  border-left: 1px dotted #929292; }

/*-------------------------
       UONE DARK
-------------------------*/
body.uone-dark {
  background-color: #0b0b0b;
  color: #ffffff; }

.uone-dark .bg-grey {
  background-color: rgba(255, 255, 255, 0.015) !important; }

.uone-dark .header-sticky {
  background-color: #1b1e21 !important; }
  .uone-dark .header-sticky nav li a, .uone-dark .header-sticky .navbar-brand {
    color: #ffffff; }

.uone-dark .text-dark {
  color: #ffffff !important; }

.uone-dark a.text-dark:hover {
  color: #ffffff !important; }

.uone-dark a.text-dark:focus {
  color: #ffffff !important; }

.uone-dark .comment-info a {
  color: #ffffff !important; }
  .uone-dark .comment-info a:hover {
    color: #d23e50 !important; }

.uone-dark .form-item .form-control {
  color: #ffffff !important; }

.uone-dark .text-muted {
  color: rgba(226, 226, 217, 0.95) !important; }

.uone-dark .portfolio-filter li a {
  color: rgba(226, 226, 217, 0.95) !important; }

.uone-dark .bg-dark, .uone-dark .bg-white {
  background-color: #1b1e21 !important; }

.uone-dark .services-item-front {
  background-color: rgba(27, 30, 33, 0.9) !important; }

.uone-dark .blog .blog-link a:hover {
  color: #bf2739 !important;
  border-bottom-color: #bf2739; }

.uone-dark .blog-content h5 a:hover {
  color: #d23e50 !important; }

.uone-dark .img-thumbnail {
  background-color: transparent;
  border: 1px solid rgba(222, 226, 230, 0.77); }

.uone-dark .form-item .form-control {
  border-bottom: 1px solid #ffffff;
  background: #0b0b0b; }
  .uone-dark .form-item .form-control:focus {
    border-bottom: 1px solid #d23e50; }

.uone-dark .navbar-nav .nav-item a:hover, .uone-dark .navbar a:hover {
  color: #d23e50 !important; }

.uone-dark .navbar a:hover {
  color: #d23e50 !important; }

.uone-dark .pagination-blog li .page-link {
  background-color: rgba(27, 30, 33, 0.9);
  border-color: #555;
  color: #ffffff !important; }
  .uone-dark .pagination-blog li .page-link:hover {
    background-color: #d23e50;
    border-color: #d23e50;
    color: #ffffff !important;
    cursor: pointer; }

.uone-dark .pagination-blog li.active .page-link {
  background-color: #d23e50;
  border-color: #d23e50;
  color: #ffffff !important; }
  .uone-dark .pagination-blog li.active .page-link:hover {
    cursor: pointer; }

.uone-dark .pagination-blog li.disabled .page-link {
  color: #6c757d !important; }

@media (max-width: 991px) {
  .uone-dark .header {
    background-color: #1b1e21 !important; }
    .uone-dark .header nav a.navbar-brand {
      color: #ffffff; }
    .uone-dark .header nav li a {
      color: #ffffff; }
    .uone-dark .header button span {
      color: #ffffff; } }

/*--------------------------------------
       prefers-color-scheme: dark
--------------------------------------*/
@media (prefers-color-scheme: dark) {
  body {
    background-color: #0b0b0b;
    color: #ffffff; }
  .bg-grey {
    background-color: rgba(255, 255, 255, 0.015) !important; }
  .header-sticky {
    background-color: #1b1e21 !important; }
    .header-sticky nav li a, .header-sticky .navbar-brand {
      color: #ffffff; }
  .text-dark {
    color: #ffffff !important; }
  a.text-dark:hover {
    color: #ffffff !important; }
  a.text-dark:focus {
    color: #ffffff !important; }
  .comment-info a {
    color: #ffffff !important; }
    .comment-info a:hover {
      color: #d23e50 !important; }
  .form-item .form-control {
    color: #ffffff !important; }
  .text-muted {
    color: rgba(226, 226, 217, 0.95) !important; }
  .portfolio-filter li a {
    color: rgba(226, 226, 217, 0.95) !important; }
  .bg-dark, .bg-white {
    background-color: #1b1e21 !important; }
  .services-item-front {
    background-color: rgba(27, 30, 33, 0.9); }
  .blog .blog-link a:hover {
    color: #bf2739 !important;
    border-bottom-color: #bf2739; }
  .blog-content h5 a:hover {
    color: #d23e50 !important; }
  .img-thumbnail {
    background-color: transparent;
    border: 1px solid rgba(222, 226, 230, 0.77); }
  .form-item .form-control {
    border-bottom: 1px solid #ffffff;
    background: #0b0b0b; }
    .form-item .form-control:focus {
      border-bottom: 1px solid #d23e50; }
  .navbar-nav .nav-item a:hover, .navbar a:hover {
    color: #d23e50 !important; }
  .navbar a:hover {
    color: #d23e50 !important; }
  .pagination-blog li .page-link {
    background-color: rgba(27, 30, 33, 0.9);
    border-color: #555;
    color: #ffffff !important; }
    .pagination-blog li .page-link:hover {
      background-color: #d23e50;
      border-color: #d23e50;
      color: #ffffff !important;
      cursor: pointer; }
  .pagination-blog li.active .page-link {
    background-color: #d23e50;
    border-color: #d23e50;
    color: #ffffff !important; }
    .pagination-blog li.active .page-link:hover {
      cursor: pointer; }
  .pagination-blog li.disabled .page-link {
    color: #6c757d !important; } }

@media (prefers-color-scheme: dark) and (max-width: 991px) {
  .header {
    background-color: #1b1e21 !important; }
    .header nav a.navbar-brand {
      color: #ffffff; }
    .header nav li a {
      color: #ffffff; }
    .header button span {
      color: #ffffff; } }

/*-------------------------
       MEDIA SCREENS
-------------------------*/
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-brand {
    width: 120px; } }

@media (max-width: 991px) {
  body {
    padding-top: 63px; }
  .full-screen {
    height: auto; }
  .header {
    background-color: #ffffff;
    padding: 0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }
    .header button span {
      color: #000000; }
    .header nav li a {
      color: #222; }
    .header nav a.navbar-brand {
      color: #222; }
  .hero .hero-center {
    transform: translateY(0); }
  .page-hero .hero-center {
    transform: translateY(-50%); }
  .portfolio .portfolio-item:last-child a {
    top: 0; } }

@media (max-width: 767px) {
  h1 {
    font-size: 2.5rem !important; }
  .p-title-border {
    border-right: none;
    border-left: none; } }

@media (max-width: 576px) {
  .comments img {
    width: 85px; }
  .comment-info {
    margin-left: 100px; }
  #message.toast {
    top: 18px;
    left: inherit;
    font-size: 12px;
    padding: 3px 0; } }
