/*
Theme Name:     Buildpress Child Theme
Theme URI:      http://www.proteusthemes.com
Description:    Child theme for the Buildpress
Author:         Primoz Cigler
Template:       buildpress
Version:        1.0
*/
/* add custom CSS code bellow */
body {
	font-size:16px
}

.entry-content h2 {
  margin-top:0;
  margin-bottom: 20px;
  background: #005596;
  color: #fff;
  padding: 10px;
  font-size: 20px;
}

.entry-content ul {
  margin-bottom: 30px;
}



h4 {
  margin: 3rem 0 2rem;
}

.contact-us__btn {
  background: #fbb034;
  color:#fff;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 15px;
  display: inline-block;
}

a:hover, a:focus {
  color: #333333 !important;
  text-decoration: underline;
}

.navigation--main>li>a:hover {
  color: #fff !important;
}
.navigation--top > li > a:hover {
	color: #fbb034 !important;
}

.header-light .navigation--main>li>a {
  font-size: 16px;
  text-transform:uppercase;
}
.navigation--main .sub-menu > li > a {
	text-transform:uppercase;
}

.main-title {
  min-height: 200px;
}

.advanced-sidebar-menu ul {
  margin: 0 0 0 .7rem;
  list-style: none;
  padding: 0 0 0 1.4rem;
}

.sidebar {
  margin: 3rem 0 0;
}

label {
  width: 100%;
}

.wpcf7-submit {
  padding: 1rem 4rem;
  background: #fbb034;
  border: none;
  color: #333333;
  font-weight: bold;
  font-size: 1.5rem;
}

.fa.fa-phone {
  top: 3px;
  position: relative;
}

.ow-button-base.ow-button-align-center {
  padding: 2rem 0 0 !important;
}

.contact-us__btn.ow-icon-placement-left.ow-button-hover {
  padding: 1rem 5rem !important;
  border-radius: 2px !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
}

.header-light .navigation--main>.current-menu-item>a,
.header-light .navigation--main>.current-menu-ancestor>a {
  background-color: #fbb034 !important;
  color: #fff;
}

.advanced-sidebar-menu li.current_page_item {
  list-style-type: none;
}

.wp-post-image {
  max-height: 240px;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: 'object-fit: cover;';
  z-index: 1;
  object-fit: cover;
}

.icon-box__subtitle, .widget-icon-box .icon-box, .textwidget {
  color: #3d3d3d !important;
}

.header-light .icon-box {
  border-right: none;
}

a.icon-box {
  padding: 0 !important;
  margin: 0 !important;
}

.footer .widget_nav_menu ul>li>a {
  display: block;
  padding: 6px 0;
  color: #3d3d3d;
}

.banner__text {
  color: #fff;
}

.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: 'object-fit: cover;';
  position: absolute;
}

.carousel-inner>.item {
  min-height: 500px;
}

.page_item {
    /* font-size: 1.2rem; */
    font-weight: bold;
}

@media (min-width: 480px) {
  .jumbotron {
    padding-bottom: 0;
  }
}

@media (max-width: 769px) {
  .carousel-inner>.item>img,
  .carousel-inner>.item>a>img {
    -o-object-fit: initial;
        object-fit: none;
        font-family: none;
        position: initial;
  }

  .navigation--main>li>a, .navigation--main>.menu-item-has-children>a::after, .navigation--main .sub-menu>li>a {
    color: #424242 !important;
  }

  .carousel-content {
    background: #333333;
    bottom: 0;
    position: absolute;
    width: 100%;
    padding: 2rem;
    left: 0;
  }
}

@media (max-width: 415px) {
  a>img {
    width: 100%;
  }
}

.sidebar__headings {
	text-transform: uppercase;
}

.advanced-sidebar-menu ul.child-sidebar-menu {
	padding: 0;
	margin: 0;
}

.advanced-sidebar-menu li {
	list-style: none !important;
}
.advanced-sidebar-menu a {
	font-size: 15px !important;
	transition: all 200ms ease-out;
	display: block;
	background-color: #eeeeee;
	color: #999999;
	font-family: "Montserrat", Helvetica, Arial, sans-serif;
	border-radius: 2px;
	padding: 15px 20px;
	font-weight: normal !important;
	margin-bottom: 2px;
	text-decoration: none;
}

.advanced-sidebar-menu a:hover,
.advanced-sidebar-menu .current_page_item a {
	background-color: #fbb034;
  color: #000;
  text-decoration: none;
}

.read-more--page-box {
	margin-top:10px
}

.home-box .page-box__content {
	min-height:155px;
}

.navigation--main .sub-menu > li > a:hover, .navigation--main .sub-menu > .current_page_item > a {
background: #0a4d96 !important;
	color:#fff !important;
}
.carousel-control.left:hover, .carousel-control.right:hover {
	color:#fff !important;
	opacity:0.8;
}

.sidebar {
  margin-top:0;
}

.main-title__primary {
  color: #fff;
  position: relative;
}
.header + .main-title {
	margin-top: 0;
}

.main-title { 
  position: relative;
}
.main-title::before {
  position: absolute;
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  top: 0px;
  left: 0;

}

.main-title {
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
}

@media (min-width: 640px) { 
	.main-title {
		height: 240px;
	}
}

@media (min-width: 1024px) { 
	.main-title {
		height: 480px;
	}
}

@media (min-width: 1200px) { 
	.main-title {
		height: 600px;
	}
}

/* @media (min-width: 1920px) {
	.main-title {
		background-size: cover;
	}
} */

.video iframe {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
}

.slider-for img {
  width: 100%;
}

.slider-nav .slide {
  padding:0 5px;
}

.slider-nav img {
  width: 100%;
  display: block;
  cursor: pointer;
}

h2.video-title {
  margin-top: 0;
  margin-bottom: 20px;
  background: #005596;
  color: #fff;
  padding: 10px;
  font-size: 20px;
}

.advanced-sidebar-menu a:hover {
  text-decoration: none !important;
}

.header-light .icon-box .fa {
  color: #fff;
  background: #fbb034;
  border-radius: 50%;
  width: 50px;
  height: 44px;
  text-align: center;
  padding: 0;
  line-height: 44px;
  font-size: 28px;
}

@media (min-width: 992px) {
  .sticky-offset {
    background-color: rgba(0, 85, 150, 0.8);
    position: absolute;
    width: 100%;
    z-index: 9;
  }

  .header-light .navigation {
    margin-bottom: 0;
  }
  
  .header-light .navigation--main > li > a {
    padding: 20px 22px;
    font-size: 13px;
  }

  .header-light .navigation--main > li > a:hover {
    padding: 20px 22px ;
  }

  .navigation {
    background: none !important;
  }

  .header-light .navigation--main > .menu-item-has-children > a::after { 
    bottom: 20px;
    right: 50px;
  }

  .header-light .navigation--main > .menu-item-has-children:hover > a { 
    border-bottom: 0; 
    padding-bottom: 20px; 
  } 

  .header-light .navigation--main > li.is-hover > a, .header-light .navigation--main > li:hover > a { 
    padding-top: 20px; 
    padding-bottom: 20px; 
    border-bottom: 0; 
  } 

  .navigation--main .sub-menu {
    background-color: rgba(0, 85, 150, 1);
    padding: 10px;
    border: none;
  }

  .navigation--main .sub-menu > li > a {
    background: none !important;
    border: none !important;
    font-size: 13px !important;
  }

  .navigation--main .sub-menu > li > a:hover {
    background: #fbb034 !important;
    color: #303030 !important;
  }

  .header-light .navigation--main > li > a::before {
    display: none;
  }

  .carousel-control.right {
    right: 5%;
  }

  .sticky-offset {
    z-index:9999;
    transition: all .3s;
  }

  .sticky-offset.hideheader {
    top:-150px;
  }

  .sticky-offset.js-scrolled {
    top:0;
    position: fixed;
  }
	
	.navigation--main .sub-menu > li > .sub-menu {
		left: calc(100% + 10px);
	}

}

#pop {
	text-align:center
}

.error-404 [type="submit"] {
  padding: 0 0;
}

.advanced-sidebar-menu ul ul.grandchild-sidebar-menu {
  margin: 0;
  padding: 0;
}

.advanced-sidebar-menu ul ul.grandchild-sidebar-menu li a {
  background-color: #eeeeee;
  color: #999999;
}

.advanced-sidebar-menu ul ul.grandchild-sidebar-menu li a:hover {
  background-color: #fbb034;
  color: #000;
  text-decoration: none;
}

.page-id-3670 .master-container .col-md-6.col-md-pull-6,
.page-id-2745 .master-container .col-md-6.col-md-pull-6 {
  width: 100%;
  right: 0;
}

@media screen and (min-width :992px) and (max-width:1199px){
  .header-light .navigation--main > .menu-item-has-children > a::after {
    bottom: 20px;
    right: 30px;
  }
}

.jumbotron__content p{
  font-size:18px;
  font-weight: bold !important;
}

/* Form Controls */
/* Select control */
select,
.gform_wrapper select,
.wigdet select {
	margin: 0 0 15px 0;
	padding: 5px 4px;
	height: 36px;
    line-height: 36px;
	border-color: #ddd;
	background-color: #f2f2f2;
    color: #3d3d3d;
}

/* Banner */
.banner__buttons .btn {
    font-weight: bold;
}

/* Social Links */
.social-icons__link {
	color: #165595 !important;
}

.social-icons__link:first-child {
    padding-left: 0;
}

.social-icons__link:last-child {
    padding-right: 0;
}

/* Gravity Form */
.gform_heading,
.gform_wrapper ul.gform_fields li.gfield {
	padding-left: 16px;
	padding-right: 16px;
}

div.gform_wrapper .gform_footer {
	padding: 0 16px;
}

div.gform_wrapper .gform_footer {
	text-align: right;
}

div.gform_wrapper .gform_footer [type="submit"] {
	float: none;
}

#gform_6 .gform_heading {
	display: none;
}

@media (min-width: 640px) {
	div.gform_wrapper .gform_footer {
		padding: 0;
	}
}

/* Header */
.header-widgets {
	display: none;
}

/* Video Banner */
.sow-slider-base.sow-slider-is-mobile video.sow-background-element:not(.sow-mobile-video_enabled) {
	visibility: visible !important;
}

/* Image Aspect Ratio Boxes */
.figure,
.page-box__picture {
    display: block;
    position: relative;
    padding-top: 56.25%;
}

.figure > img,
.figure__img,
.page-box__picture > img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}