/*
Theme Name: UCON Byggservice
Theme URI: https://webbyrankonsulterna.se
Description: Theme for UCON Byggservice AB
Author: Webbyran Konsulterna 
Author URI: https://webbyrankonsulterna.se
Version: 1.0
*/

body {
    /*background: #f0ebe1;*/
    background: #fff !important;
    font-family: 'Montserrat', sans-serif !important;
}
h1,h2,h3,h4,h5,.h5,
.navbar li a,
.btn  {
    font-family: 'Montserrat', sans-serif !important;
}
.bi {
	width:auto;
}
.navbar-sticky {
    backdrop-filter: blur(10px) contrast(100%);
}
/*
.bg-holder.overlay.wk-overlay.vh-100.w-100:before {
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background: #1c1c1c;
    opacity: 0.48;
}
*/
.wk-overlay::after {
    transition: opacity 0.8s;
    position: absolute;
    opacity: 0.6;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    background: #000;
}
.navbar-collapse {
    flex-grow: initial;
}
.navbar-expand-lg .navbar-collapse {
    margin-left: auto;
    margin-right: 2rem;
}
.btn,
.navbar li a {
  font-weight: 600 !important;
  text-transform: uppercase;
}
.navbar li a {
    color: #fff;
    padding: 0.7rem 1.5rem;
}
.nav li a {
	color:#fff;
	font-size:1.7rem;
	padding:0.5rem 0;
	display:block;
	font-weight:600;
}
.offcanvas-header .btn-close {
    margin: 0;
    border-radius: 500px;
}
.offcanvas-title {
	color:#fff;
}
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 2rem;
}
.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}
img, svg {
    max-width: 100%;
    height: inherit;
}
.display-1,
.display-2,
.display-3,
.display-4 {
    text-transform: inherit;
}
b,
.font-weight-bold {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
}
.bg-warning {
    background: #BB2124 !important;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-weight: 400;
}
.btn-danger:hover,
.btn-danger:focus {
    background: #BB2124;
    border-color:#BB2124;
}
.navbar-brand img {
    width: auto;
    max-height: 3.5rem;
}
a {
    color: #EA4A3B;
    text-decoration: none;
}
.bg-holder {
    position: absolute;
    width: 100%;
    min-height: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    will-change: transform, opacity, filter;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-repeat: no-repeat;
}
#wk-video-container {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover!important;
    height: 100vh !important;
}
.section-hero h1#hero-title {
    line-height: 1.5;
}
@media (max-width: 768px) { 
	.btn {
		font-size:0.8rem;
		padding:0.8rem 1rem;
	}
    .alignleft {
        width: 100%;
        display: block;
        float: none;
        margin-right: 0;
        margin-bottom: 1.5rem;
        margin-top: 1.5rem;
    }
    .alignright {
        width: 100%;
        display: block;
        float: none;
        margin-left: 0;
        margin-bottom: 1.5rem;
        margin-top: 1.5rem;
    }
    .section-hero h1,
    h2, .h2,
    .display-1 {
      font-size:1.5rem;	
  }
  .lead {
      font-size: 1.05rem;
      font-weight: 400;
  }
  .section-hero #wk-video-container,
  .section-hero .min-vh-100,
  .section-hero .vh-100 {
      height:450px !important; 
      min-height:auto !important;
      padding:0 !important;
  }
  .navbar-brand img {
      max-height: 2.5rem;
  }
  .gallery {
      margin-bottom:1.5rem;
  }
  .gallery figure {
      min-height:250px;
  }
  .w-30 {
      width: 43% !important;
  }
}
.nav-link {
	outline:0 !important;
}
.btn-with-icon {
    padding-right: 4rem !important;
}
.offcanvas {
	background:#EA4A3B;
}
.offcanvas-logo {
    border-radius: 5px;
}
.logo-footer .logo-box {
	background: #fff;
	border-radius: 5px;
	margin-bottom:1.5rem;
}
.logo-footer .logo-box img {
	max-height: 101px;
    padding: 1rem 0.2rem;
    width: inherit;
}
.smaller {
    font-size: 0.75rem;
}
.btn-danger{
    background-color: #ea4a3b !important;
    border-color: #ea4a3b !important;
}
.bg-danger {
    background-color: #ea4a3b !important;
}
.bg-grey {
    background-color: #bcc0c1;
}
.btn-danger:hover {
    background-color: #BB2124 !important;
    border-color: #BB2124 !important;
}
/*
.bg-danger:hover {
    background-color: #BB2124 !important;
}
*/
.text-danger {
    color: #ea4a3b !important;
}
a.text-danger:hover {
    color: #BB2124 !important; 
}
.wk-arrow.card-arrow::after { 
    right: 5rem;
    bottom: 2.5rem;
}
.wk-arrow.inverted.border-black {
    border-color: #000!important;
}
.wk-arrow.card-arrow:not(.card-hover-arrow):hover::after {
    right: 3.5rem;
    bottom: 2.25rem;
}
.red-underline-on-hover {
    text-decoration-color: #BB2124;
}
.red-underline-on-hover:hover, div#navbar ul li.menu-item:hover, div#navbar ul li.menu-item:active, div#navbar ul li.menu-item.current-menu-item {
    text-decoration: underline;
    text-decoration-color: #BB2124;
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
}
div#navbar ul li.menu-item {
    text-decoration-color: #fff;
}
div#navbar ul li.menu-item:hover, div#navbar ul li.menu-item:active, div#navbar ul li.menu-item.current-menu-item {
    text-decoration: underline;
    text-decoration-color: #fff;
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
}

/* HALF-HALF */

.half-half {
    color:#fff;
}
/*
.half-half:nth-child(odd) {
    background:#034a83;
}
.half-half:nth-child(even) {
    background:#1c9ad6;
}
*/
.half-half:nth-child(even) .row {
    flex-flow: row-reverse wrap;
}
.half-half .col-12 {
    display:flex;
    align-items:center;
}
.half-half .inner {
    padding:0 3rem;
    max-width:700px;
    margin: 0 auto;
}
@media (max-width: 991px) { 
    .half-half .inner {
        padding:2rem;
    }
}
@media (max-width: 767px) { 
    .half-half .inner {
        padding:1.25rem;
    }
}
.half-half figure {
    width:100%;
    height:100%;
    margin:0;
}
.half-half figure img {
    max-width:100%;
    object-fit:cover;
    width:100%;
}
@media (max-width: 991px) { 
    .half-half figure img { 
        height: 450px;
    }
}
@media (max-width: 767px) { 
    .half-half figure img {
        height: 250px;
    }
}
.half-half .btn-blue:hover, .half-half .btn-blue:focus, li.btn.btn-darkblue.nav-item a.nav-link:hover, li.btn.btn-darkblue.nav-item a.nav-link:focus {
    background: #fff !important;
    color: #004B87 !important;
}
.border-danger {
    border: 1px solid #ea4a3b !important;
}
.shadow-danger {
    box-shadow: 0 0.5rem 1rem #ea4a3b !important;
}
/* CAROUSEL */
.carousel-control-next, .carousel-control-prev {
    z-index: 600;
    width: 4rem;
    opacity: 1;
    width: fit-content !important;
    height: fit-content !important;
    top: 45%;
    padding: 0 1rem;
}
.carousel-indicators {
    margin-bottom: 5rem;
    z-index: 600;
}
@media (max-width: 998px) {
  .carousel-control-next,
  .carousel-control-prev {
      top: 65%;
  }
  .carousel-indicators {
      display: none;
  }
}
/* MEDIA IMAGE & VIDEO HOVER EFFECT */
.media[class*="-image"]:hover img {
    transform: scale(1.05);
}
.media[class*="-image"] img {
    transition: transform 0.3s ease-in-out;
    transform: scale(1);
}
.media img, .media video {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}
/* CF7 Label */
.lead .wpcf7 label {
    font-size: 1.25rem;
    font-weight: 400;
}
