body, html {
  font-family: "open-sans",sans-serif;
  font-style: normal; }

h1, h2, h3, h4, h5, h6, p {
  font-family: "open-sans",sans-serif;
  font-style: normal; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 800 !important;
  letter-spacing: -0.035em;
  color: #222; }

h1 {
  font-size: 32px;
  margin-top: 0px !important; }

p {
  font-weight: 300;
  font-size: 17px;
  color: #333; }

.lead {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  color: #858585 !important; }

a, a:link {
  text-decoration: none; }

hr {
  width: 75%;
  background-color: rgba(156, 196, 163, 0.5);
  height: 1px;
  border: none; }

#logo {
  background: url(../img/Upcon-logo.PNG) center center no-repeat;
  width: 274px;
  height: 50px; }
  
.logo-neg {
  background: url(../img/Upcon-logo-small.PNG) center center no-repeat;
  width: 165px;
  height: 30px; }

  .img-responsive {
	  margin-left: 45px;
  }
/*
.navbar {
	height: 100px;
}
*/
.navbar-default {
  background-color: #25205d;
  border-color: #25205d; }

.navbar-fixed-top {
  top: 0;
  border-width: 0px; }
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
	border-color: #25205d;
	background: #25205d;
}
.anchor{display: block; position: relative; top: -50px; visibility: hidden;}
@media screen and (min-width: 680px) {
  /* affix */
  #myNavbar, #logo {
    -webkit-transition: ease .3s;
    -moz-transition: ease .3s;
    transition: ease .3s; }

  #myNavbar {
    height: 100px;
    padding: 20px 0px 0px 0px; }

  #myNavbar.affix {
    height: 60px;
    padding: 5px 0px 0px 0px;
    background-color: #25205d; }

  #logo.test_affix {
    width: 205px !important;
    height: 42px !important;
    margin-top: 0px; }
  #top.anchor{ top:-100px; }
  /*
  #header-2 .main-nav .nav {
  	margin-top: 0px;
  }
  */ }
/*

#nav {
	margin-top: 40px;
}
*/
#header-2 .main-nav .navbar-nav > li.active a {
  border-bottom: 1px solid #9ac31c;
  color: #ccc; }

#header-2 .main-nav .navbar-nav > li a:hover {
  color: #fff !important; font-weight: 500;}

#header-2 .main-nav .navbar-nav > li a {
  font-family: "open-sans",sans-serif;
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  font-size: 15px;
  color: #eee;
  background: none;
  padding: 15px 5px 5px 5px !important;
  margin-right: 15px; }

#header-2 .main-nav .nav {
  margin-top: 0px; }

.overlay-lightgreen {
  background: #efefef !important; }

/**/
#content-1-1 {
  background: url(../img/background.jpg) right top no-repeat;
  /*
  background-blend-mode: hard-light;
  */
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  margin-top: 100px;
  /*
  padding: 100px 0px 100px 0px !important;
  */
  min-height: 550px;
  max-height: 550px; }

#content-1-2 {
  padding-top: 60px !important; }

.content-block {
  width: 100%;
  padding: 40px 0 40px 0;
  	/*
      z-index: 100;
      */
  position: relative;
  background-color: #ffffff; }

#content-1-1 .container {
  margin-top: 0px; }

.content-1-1 h1, .content-1-1 h2, .content-1-1 p {
  color: #fff; }

.content-1-1 h1, .content-1-1 h2 {
  text-transform: uppercase; }

.content-1-1 h1 {
  font-size: 65px;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 10px 10px 40px rgba(0, 0, 0, 0.5); }

.content-1-1 h2 {
  font-size: 60px;
  line-height: 1.1;
  margin-top: 0px;
  margin-bottom: 20px;
  text-shadow: 10px 10px 40px rgba(0, 0, 0, 0.4); }

.content-1-1 .lead {
  font-size: 20px;
  margin-bottom: 80px; }

#content-1-2 h1, #content-1-2 p, .content-1-5 h1, .content-1-5 p, #content-1-6 h1, #content-1-6 p {
  padding-left: 20px;
  padding-right: 20px; }

#content-1-2 .btn {
  width: 150px; }

#content-1-2 .content-block, #content-1-5 .content-block, #content-1-6 .content-block {
  padding-left: 0px;
  padding-right: 0px; }

.content-1-3 p {
  padding: 0px !important; }

/* ikoner */
.content-1-3 h1 {
  margin-bottom: 40px !important;
  margin-top: 0px !important; }

#content-1-4 p {
  text-align: center; }

.content-1-5 button {
  margin-left: 20px; }

.content-1-5 h1 {
  color: #222; }

.x-space {
  margin-bottom: 40px; }

.info-block {
  min-height: 250px; }

.services-wrapper .col-md-4 p {
  font-size: 16px;
  color: #4d4d4d;
  text-align: left; }

.services-wrapper h4 {
  font-size: 1.6em;
  line-height: 2;
  font-weight: 800 !important;
  color: #222; }

/* personal */
.personal {
  width: 300px !important;
  height: 300px !important;
  border-radius: 0px !important;
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  margin-bottom: 20px !important;
  margin: 0 auto; }

/* google maps */
.map-container {
  width: 100%;
  margin: 50px 0 0px;
  filter: gray;
  -webkit-filter: grayscale(99%);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; }

.map-container iframe {
  width: 100%;
  display: block;
  pointer-events: none;
  position: relative;
  /* IE needs a position other than static */ }

.map-container iframe.clicked {
  pointer-events: auto; }

/* referenser */
.content-1-6 .client-row img {
  opacity: 1;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  transition: all .3s ease;
  -webkit-backface-visibility: none;
  backface-visibility: hidden;
  display: block;
  max-height: 150px;
  margin: 0 auto;
  padding-bottom: 20px;
  /* margin: 20px 20px 30px 20px; */ }

.content-1-6 {
  padding-top: 0px; }

.content-block-nopad {
  background-color: #25205d; }

.client-row {
  padding-top: 20px !important; }

/* footer */
.footer-1-3 {
  padding-bottom: 20px; padding-top: 20px;}

.footer-1-3 li {
  float: left;
  list-style: none;
  margin-right: 20px; }

.footer-1-3 a {
  color: ghostwhite; }

.footer-1-3 .ico-social {
  margin-top: 30px; }
.footer-1-3 .address {  
	margin-left: 35px; margin-top: -5px; }

.footer-social {
  width: 120px;
  float: left;
  display: block;
  height: 30px; }

/*modal*/
.modal-backdrop.in {
  opacity: 1;
  filter: alpha(opacity=50); }

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background-color: white; }

.modal {
  display: none;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  -webkit-overflow-scrolling: touch;
  outline: 0; }

.modal-content {
  -webkit-box-shadow: none;
  box-shadow: none;
  margin-top: 80px !important;
  border: none;
  border-radius: 0px;
  z-index: 1080;
  padding: 40px; }

.modal-body {
  position: relative;
  padding: 0px 140px 40px 140px;
  margin: 0 auto; }

.modal-body img {
  margin: 0 auto; }

.modal-body h3 {
  font-weight: 800 !important;
  padding: 20px 0px 20px 0px !important; }

.modal-body h4 {
  font-size: 21px !important;
  padding: 20px 20px 0px 20px !important; }

.modal-body p {
  text-align: left !important; }

.modal-dialog {
  width: 100%;
  margin: 0px auto;
  background-color: #333 !important; }

/* knappar */
.btn-success {
  background: #9ac31c !important; }

.btn {
  color: #fff !important;
  background-color: #9ac31c;
  border-color: #9ac31c;
  font-size: 15px !important;
  padding: 10px 20px 10px 20px;
  margin-top: 10px;
  border: 0 none;
  border-radius: 60px; }

.btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info {
  color: #ffffff;
  background-color: #9ac31c;
  border-color: #9ac31c;
  font-size: 15px !important;
  padding: 10px 20px 10px 20px;
  margin-top: 10px;
  margin-bottom: 40px; }

.btn-info-sm:active, .btn-info-sm.active, .open > .dropdown-toggle.btn-info {
  color: #ffffff;
  background-color: #9ac31c;
  border-color: #9ac31c;
  font-size: 14px !important;
  padding: 8px 15px 8px 15px !important;
  margin-top: 10px;
  margin-bottom: 40px; }

.btn:active, .btn.active {
  outline: 0;
  background-image: none;
  -webkit-box-shadow: none;
  box-shadow: none; }

.btn.active:hover, .btn-info:focus {
  background-color: #25205d;
  border-color: #25205d; }

.btn-close {
  background: #25205d;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 80px;
  border: none;
  margin: 0 auto !important;
  display: block; }

.padd-t-20 {
  padding-top: 0px;
  display: block; }

.padd-b-20 {
  padding-bottom: 0px;
  display: block; }

/* > 1280  */
@media screen and (max-width: 1024px) {
  .modal-body {
    position: relative;
    padding: 0px 100px 40px 100px;
    max-width: 980px;
    margin: 0 auto; }
  }

@media screen and (min-width: 1140px) {
  .modal-body {
    position: relative;
    padding: 0px 100px 40px 100px;
    max-width: 1280px;
    margin: 0 auto; } }
@media (min-width: 768px) {
  .navbar-nav > li > a {
    padding-top: 15px;
    padding-bottom: 5px; } }
@media (min-width: 1280px) {
  .modal-body h3 {
    font-size: 32px !important; }

  .modal-body p {
    font-size: 19px !important;
    padding: 0px 100px 10px 100px !important; }

  .modal-body h4 {
    font-size: 21px !important;
    padding: 10px 100px 5px 100px !important; } }
@media screen and (max-width: 990px) {
  .content-1-1 h2 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 10px 10px 40px rgba(0, 0, 0, 0.4); } }
@media screen and (max-width: 768px) {
  .padd-b-20 {
    padding-bottom: 20px;
    display: block; } }
/* mobile */
@media screen and (max-width: 680px) {
  .nav > li {
    position: relative;
    display: block;
    /*background-color: #fff;*/
    padding-bottom: 20px;
    margin-top: -10px !important; }
  .img-responsive {
	  display: block;
    margin-left: auto;
    margin-right: auto;
  }
  #myNavbar {
    padding: 0px 0px 0px 0px; }

  #myNavbar.affix .nav {
    padding-top: 38px; }

  .footer-social {
    width: 120px;
    float: none;
    margin: 0 auto;
    display: block;
    /*height: 60px; */
	text-align: center; }

  .footer-1-3 .ico-social {
    margin-top: 10px; }

  .logo-neg {
    margin: 0 auto; }

  .footer-1-3 .address {
    text-align: center; margin-left: -10px; }

  .padd-t-20 {
    padding-top: 20px !important;
    display: block; }

  hr {
    height: 2px; }

  #erbjudande, #om, #kontakt {
    padding-top: 0px; }

  .info-block {
    min-height: 100px;
    padding-bottom: 20px; }

  .lead {
    margin-bottom: 20px;
    font-size: 17px !important;
    font-weight: 300;
    line-height: 1.4;
    color: #444 !important; }

  #header-2 .navbar-toggle {
    margin-right: 0;
    margin-top: 0px;
    background: none;
    position: relative;
    right: 20px;
    top: 20px;
    border: none;
    z-index: 999; }

  .navbar {
    height: 70px; }

  #header-2 .main-nav .navbar-nav > li.active a {
    border-bottom: none;
    /*color: #333;*/ }

  #header-2 .main-nav .navbar-nav > li a {
    text-align: center; }

  #logo {
    width: 274px;
    height: 70px;
    margin-left: 10px;
    margin-top: 0px; }

  #content-1-1 {
    background: url(../img/background.jpg) 70% 0% no-repeat !important;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin-top: 60px;
    height: 450px; }

  h1 {
    font-size: 28px;
    text-align: center; }

  #content-1-1 h1 {
    font-size: 45px; }

  #content-1-2 .btn {
    width: 200px;
    display: block;
    margin-top: 20px !important;
    margin-bottom: 30px !important;
    margin: 0 auto; }

  #content-1-1 .container {
    margin-top: 0px;
    min-height: 350px;
    padding: 100px 20px 60px 20px; }

  .content-1-1 .lead {
    font-size: 18px;
    margin-bottom: 50px; }

  #content-1-2 {
    padding-top: 20px !important; }

  /* personal */
  #content-1-4 .col-md-12, #content-1-4 .col-md-4 {
    padding-left: 0px;
    padding-right: 0px; }

  .personal {
    width: 100% !important;
    height: 100% !important; }

  /**/
  .modal-content {
    -webkit-box-shadow: none;
    box-shadow: none;
    margin-top: 20px !important;
    border: none;
    border-radius: 0px;
    z-index: 1080;
    padding: 0px 10px 10px 10px; }

  .modal-body {
    position: relative;
    padding: 0px 10px 10px 10px;
    max-width: 1140px;
    margin: 0 auto; }

  .content-1-5 button.btn-info {
    margin-left: 0px;
    margin-top: 20px !important;
    margin: 0 auto;
    display: block;
    width: 60%;
    margin-bottom: 10px !important; }

  .btn-close {
    margin: 0 auto !important;
    display: block !important; } 
}
