/* Basics *************************************************************************/

html,body {
    height: 100%;
}
body {
    padding-top: 0px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
    font-size: 16px;
    font-family: 'Exo', Arial, Helvetica, sans-serif;
}

p {
    font-weight: 300;
    font-size: 1em;
    line-height: 1.6;
}

a {
    color: #B30000;
    transition: color 400ms ease-out;
}

a:hover {
    color: #000;
    text-decoration: none;
}

.arrow {
    background-image: url('/media/Images/trekant.png');
    background-repeat: no-repeat;
    background-size: 11px;
    background-position: 0px center;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    padding: 2px 0px 2px 20px;
    margin-top: 2em;
}

ul {
    font-size: 1em;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
}

h1 {
    color: #B30000;
    font-size: 3em;
    font-weight: normal;
    margin: 0 0 1em;
}

h3 {
    font-size: 1.6em;
    line-height: 1.3;
    margin-bottom: 1.4em;
}

h4 { 
    font-size: 1.1em;
    padding: 10px 0px 10px 0px;
}

h5 {
    color: #000000;
    font-size: 1.5em;
}

h6 {
    color: #B30000;
    font-size: 1.5em;
    font-weight:900;
}

img {
    width: 100%;
}

video {
    width: 100% !important;
}

.white { 
    background-color: #ffffff;
}

blockquote {       
    background-image: url('/media/Images/red-line.png'), url('/media/Images/quote.png');
    background-repeat: repeat-x, no-repeat;  
    background-position: top 40px left 0px, top 0px left 0px;
    background-size:auto, auto;         
    color: #a5a4a4;
    font-style: italic;
    margin: 0px 0px 0px 0px;
    padding: 65px 30px 0px 0px; 
    border:0px solid #000000;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

div.hr {
    border : 0;
    height : 11px;
    background : url('/media/Images/red-line.svg') 50% 0 no-repeat;
    background-size:cover;
    margin : 1em 0;
}

div.hr hr {
    display: none;
}

/* Priority Nav */

.header {
    height: 80px;
    background-color: #ffffff;
    padding-top: 0px;
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 0px;
    position: relative;
    z-index: 20;
}

.header .container {
    height: 100%;
}

.header .logo {
    display: block;
    max-width: 70px;
}

.header .logo img {
    width: 100%;
}

@media screen and (min-width: 768px) {
    .header {
        height: 140px;
    }

    .header .logo {
        max-width: 120px;
    }
}

nav.greedy {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

nav.greedy button {
    outline: none;
    background-color: transparent;
    border: none;
    width: 26px;
    height: 14px;
    position: relative;
    margin-left: 1em;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

nav.greedy button span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #000;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

nav.greedy button span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

nav.greedy button span:nth-child(2) {
    top: 6px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

nav.greedy button span:nth-child(3) {
    top: 12px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

nav.greedy button.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: -2px;
    left: 4px;
}

nav.greedy button.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

nav.greedy button.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 17px;
    left: 4px;
}

nav.greedy button.hidden {
    transition: none;
    width: 0;
    padding: 0;
    overflow: hidden;
}

ul.links {
    display: flex;
    justify-content: flex-end;
    flex: 1;
    margin: 0;
    list-style: none;
}

ul.links li {
    flex: none;
    padding: 1em;
}

ul.links li a {
    color: #404040;
    text-transform: uppercase;
    text-decoration: none;
}

ul.hidden-links {
    position: absolute;
    background: white;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
    top: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    left: -15px;
    right: -15px;
}

ul.hidden-links li a {
    display: block;
    color: #404040;
    padding: 0.8em 1em;
    text-decoration: none;
    text-transform: uppercase;
}

ul.hidden-links li a.active {
    background-color: #efefef;
}

.footer_img {
    text-align: right;  
    max-width:200px;

}

@media screen and (max-width: 768px) {
    .footer_img {
        text-align: left;
       
      
    }
}


.linkedin {
    position: absolute;
    right: -1px;
    top: 16px;
}

.linkedin-mobile {
    position: absolute;
    right: -1px;
    top: -1px;
}


.linkedin img, .linkedin-mobile img {
    width: 25px;
    height: 25px;
}

    .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
        color: #000;
    }

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu >. active > a:hover {
    color: #000 !important;
    background-color: #efefef;
}

ul.hidden-links.hidden {
    display: none;
}

@media screen and (min-width: 480px) {
    ul.hidden-links {
        width: 20em;
        left: auto;
        right: 0;
    }
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
    padding: 0;
    margin: 0;
    right: 0;
    left: auto;
    border-radius: 0;
}

.hidden-links > .dropdown.open > .dropdown-menu {
    width: 100%;
}

.dropdown-submenu {
    padding: 0 !important;
}

.dropdown-menu > li {
    padding: 0 !important;
}

.dropdown-menu > li > a {
    padding: 1em !important;
}

.dropdown-menu > li > a.active {
    background-color: #efefef;
}

.caret {
    position: relative !important;
    top: -2px !important;
    margin-left: 4px !important;
}

/* Polka campaign ************************************************************************/

.polka_div {
	width: 50% !important;
	margin: 0 auto;
}
	
.polka_div #polkaLink {
  margin: auto;
  padding-left: 14%;
}

@media screen and (max-width: 480px) {
    .polka_div {
		width: 75% !important;
		margin: 0 auto;
	}
	
	.polka_div #polkaLink {
		margin: none;
	  	padding-left: none;
		width: 100%;
	}
}

/* Language bar *************************************************************************/

.langbar { margin: 4px; letter-spacing: 10px; font-size: 18px; position: relative; float: right; padding-top: 9px; right:80px;}
.langbar a { color: #B30000;}
.langbar a:hover { color: #000000;}


/* Search *****************************************************************************/

        #search {float: right; margin-top: 0px; width: 250px;}
        .search {padding: 5px 7px 3px 3px; width:230px; height:30px; position: absolute; top:0px; right:70px; float:left; line-height: 22px; text-align:left;}        
        .search input {position:absolute; width:0px; float:left; margin-left:210px; margin-right:30px;
        -webkit-transition: all 0.4s ease-in-out;
        -moz-transition: all 0.4s ease-in-out;
        -o-transition: all 0.4 ease-in-out;
        transition: all 0.4 ease-in-out;
        background:#efefef; height:30px; line-height: 18px; padding: 0px 2px 0px 2px;
        font-size: 15px;color: #000; outline: none; -webkit-appearance: none; border-radius: 0; border-width:0;}
        .search:hover input, .search input:focus { width: 200px; margin-left: 0px;}
        .search input:focus {background: #999; color: #fff;}        
        .srch_btn {height:30px; width:30px; 
        background: #ffffff no-repeat; padding:3px 5px 0px 5px; border:0px solid #ffffff;
        position: absolute;right:0;top:5px;
        cursor: pointer;}  


/* Main Areas *************************************************************************/

.mainareas-icon {
    display: block;
    text-indent: -9999px;
    height: 100px;  
    background-repeat:no-repeat;
    background-position: top center;
    width: 100%;
    padding:10px;     
}

.icon-pil-red {
    display: block;
    text-indent: -9999px;
    height: 65px;
    background: url('/media/Images/icon_arrow.svg') no-repeat top center;
    background-size: contain;
    width: 100%;
    margin-top: 20px;
}

.mainareas-headlines {
    background-color: #fafafa;
    padding: 4em 0;
    color: #B30000;
}

.mainareas-headlines h3 {
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 0;
}

.mainareas-descriptions { 
    padding: 3em 1em;
}

@media screen and (min-width: 768px) {
    .mainareas-descriptions {
        padding: 5em 0;
    }
}

/*bulletlist macros*/
/*small*/

.smallbulletlist ul {
    list-style-type: none;
    padding: 0px;
    margin: -25px 0px 0px 0px;
}

.smallbulletlist p {color: #B30000; font-size:1.2em; font-weight:900;}

.smallbulletlist ul li, h4 a {
    background-image: url('/media/Images/trekant.png');
    background-repeat: no-repeat;
    background-size: 11px;
    background-position: 0px center;
    padding: 2px 0px 2px 15px;
}

.smallbulletlist { margin-top: -55px}
.smallbulletlist div { height:25px; padding:0px 0px 0px 0px;}
.smallbulletlist div.hr {            
       border: 0;             
       background : url('/media/Images/red-line.png') repeat-x;     
       margin : 1em 0;   }   

.smallbulletlist a { font-size: 1.2em; }

/*large*/
.largebulletlist ul {
    list-style-type: none;
    padding: 0px;
    margin: -25px 0px 0px 0px;
}

.largebulletlist p {color: #B30000; font-size:1.5em; font-weight:900;}

.largebulletlist ul li, h4 a {
    background-image: url('/media/Images/trekant_roed.png');
    background-repeat: no-repeat;
    background-size: 35px;
    background-position: 0px center;
    padding: 7px 0px 7px 40px;    
}

.largebulletlist { margin-top: -60px}

.largebulletlist div { height:25px; padding:0px 0px 0px 0px;}
.largebulletlist a { font-size: 1.5em; font-weight:600;} 
.largebulletlist div.hr {            
       border: 0;             
       background : url('/media/Images/red-line.png') repeat-x;     
       margin : 1em 0;   
}   

/* Cases */

.cases {
    padding: 1em 0;
}

.cases h3 {
    margin-top: 0;
}

@media screen and (min-width: 768px) {
    .cases {
        padding: 3em 0;
    }
}

/* Case boxes */

.case-box {
    padding-top: 1em;
}

.case-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-box ul li:before, .case-box ul li::before {
    content: "\2022";
    color: #B30000;
}

.case-box h3 {
    margin-top: 1.6em;
}

@media screen and (min-width: 480px) {
    .case-box {
        padding-top: 0;
    }
}

@media screen and (min-width: 970px) {
    .case-box {
        float: right;
    }

    .case-box h3 {
        margin-top: 0;
    }
}

/* Ikoner */

.icon-pil-red {
    display: block;
    text-indent: -9999px;
    height: 65px;
    background: url('/media/Images/icon_pil.svg') no-repeat top center;
    background-size: contain;
    width: 100%;
}

.icon-pil-grey {
    display: block;
    text-indent: -9999px;
    height: 65px;
    background: url('/media/Images/icon_pil.svg') no-repeat top center;
    background-size: contain;
    width: 100%;
}


/* Side Navigation Menu *************************************************************************/

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    right: 0;
    width: 320px;
    height: 100%;
    margin-right: -320px;
    font-size: 1.2em;
    overflow-y: auto;
    background: #fff;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    box-shadow: 1px 1px 5px #888888;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 320px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-transform: uppercase;
    font-weight: 400;
    text-indent: 20px;
    line-height: 42px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #333;
}

.sidebar-nav li ul {
    background-color: #ffffff;
    border-radius: 0px;
    border: 0px solid #fff;
    width: 100%;
    background: rgba(250, 250, 250, 1.2);
}

.sidebar-nav li li a {
    text-transform: none;
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 1.1em;
    text-indent: 3px;
}

.sidebar-nav li li a:hover {
    display: block;
    text-decoration: none;
    color: #333;
    text-indent: 0px;
    -webkit-transition: all 0.0s ease 0s;
    -moz-transition: all 0.0s ease 0s;
    -ms-transition: all 0.0s ease 0s;
    -o-transition: all 0.0s ease 0s;
    transition: all 0.0s ease 0s;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #B30000;
    background: rgba(250, 250, 250, 1.2);
    border-left: 3px solid #B30000;
    text-indent: 27px;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -ms-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
    background: rgba(250, 250, 250, 1.2);
    border-bottom: 2px solid rgba(250, 250, 250, 1.2);
    text-indent: 27px;
    border-left: 3px solid #B30000;
}

.sidebar-nav > .sidebar-brand {
    height: 55px;
    font-size: 18px;
    line-height: 55px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

#menu-toggle {
    z-index: 2;
    position: absolute;
    float: right;
    top: 13px;
    right:3px;
    font-weight:bold;
    letter-spacing:2px;
}

#menu-toggle a {
    color: #000000;
}

#sidebar-wrapper.active {
    right: 320px;
    width: 320px;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -ms-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}

.toggle {
    margin: 5px 25px 0 0;
}

/* Slider / Carousel *************************************************************************/

#myCarouselDesktop {
  max-height: 500px !important;
}

header.carousel { height: 50%;}
header.carousel .item,header.carousel .item.active,header.carousel .carousel-inner { height: 100%;}
header.carousel .fill { width: 100%; height: 100%; background-position: center; background-size: cover;}

.carousel-inner{
  width:100%;
  max-height: 500px !important;
}

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 60px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
    color: #000000;
}

.carousel-captioncontent {
    position: relative;
    z-index: 10;
    bottom: 94%;
    color: #000000;
    font-size: 0.9em;
}

.carousel-captioncontent h1 {
    color: #B30000;
    font-size: 3.8em; 
    padding-bottom:35px;  
}

.carousel-captioncontent h1 a {
    color: #B30000;  
 }

.carousel-captioncontent h2 {
    color: #000000;
    font-size: 3.8em;
    padding-bottom:35px;  
}

.carousel-captioncontent h2 a {
    color: #000000;   
}

.carousel-captioncontent h6 {
    color: #000000;
    font-size: 5.4em;
    font-weight:100;
    padding-bottom:35px;  
}

.carousel-captioncontent h6 a {
    color: #000000;
}

.carousel-box-readmore {
    position: relative;
    top: 10px;
    background-color: #B30000;
    -webkit-border-radius: 0px 0px 25px 25px;
    border-radius: 0px 0px 25px 25px;
    padding: 1px 10px 10px 15px;
    width: 50%;
    text-transform: uppercase;
    color: #ffffff;
    height: 110px;
}


.carousel-box-readmore h4 a {
    background-image: url('/media/Images/trekant_white.svg');
    background-repeat: no-repeat;
    background-size: 11px;
    background-position: 0px center;
    padding-left: 15px;
    color: #ffffff;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  z-index: 15;
  width: 60%;
  padding-left: 0;
  margin-left: -30%;
  text-align: center;
  list-style: none;
}
.carousel-indicators li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 1px;
  text-indent: -999px;
  cursor: pointer;
  /*background-color: #000 \9;*/
  background-color: rgba(0, 0, 0, 0);
  border: 0px solid #B30000;
  background-color:#dbdbdb;
  border-radius: 10px;
}
.carousel-indicators .active {
  width: 12px;
  height: 12px;
  margin: 0;
  background-color: #B30000;
}


/*  Main content *************************************************************************/

.maincontent {
   padding: 60px 0px 50px 0px; 
}

.maincontent h1 {
    color:#B30000;
    padding: 0px 0px 20px 0px;
}

.maincontent h2 {
    color:#B30000;
    padding: -10px 0px 0px 0px;
    font-size:1.1em;
    font-weight:bold;}

.medarbejderimgdiv {
background: #fcfcfc; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZjZmNmYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjM0JSIgc3RvcC1jb2xvcj0iI2Y3ZjdmNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY4JSIgc3RvcC1jb2xvcj0iI2RiZGJkYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijc4JSIgc3RvcC1jb2xvcj0iI2VmZWZlZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijc4JSIgc3RvcC1jb2xvcj0iI2VmZWZlZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZWZlZmUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #fcfcfc 0%, #f7f7f7 34%, #dbdbdb 68%, #efefef 78%, #efefef 78%, #fefefe 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(34%,#f7f7f7), color-stop(68%,#dbdbdb), color-stop(78%,#efefef), color-stop(78%,#efefef), color-stop(100%,#fefefe)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #fcfcfc 0%,#f7f7f7 34%,#dbdbdb 68%,#efefef 78%,#efefef 78%,#fefefe 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #fcfcfc 0%,#f7f7f7 34%,#dbdbdb 68%,#efefef 78%,#efefef 78%,#fefefe 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #fcfcfc 0%,#f7f7f7 34%,#dbdbdb 68%,#efefef 78%,#efefef 78%,#fefefe 100%); /* IE10+ */
background: linear-gradient(to bottom,  #fcfcfc 0%,#f7f7f7 34%,#dbdbdb 68%,#efefef 78%,#efefef 78%,#fefefe 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#fefefe',GradientType=0 ); /* IE6-8 */
}

.medarbejderbox {
    padding: 25px 0px 10px 0px;
}

.medarbejderbox div.hr {            
    border: 0;             
    background: url('/media/Images/red-line.png') repeat-x;     
    margin: 1em 0;   
}

.medarbejderbox h2 {
    margin:20px 0px 0px 0px;
}  

.medarbejderbox p {
    padding:5px 0px 5px 0px;
    min-height:130px;
}  

.medarbejderbox h4 a {
    position: absolute; 
    bottom:28px; 
    padding-bottom:0px;    
}

.medarbejderbox_email  {
    background-image: url('/media/Images/trekant.png');
    background-repeat: no-repeat;
    background-size: 11px;
    background-position: 0px center;
    padding: 3px 0px 3px 15px;
    font-weight:bold;
}

/*  Bottom / Footer *************************************************************************/

.business-bottom {
    background: #ECECEC;
    position: relative;
    color: #000;
    margin-top: 3em;
}

.business-bottom-text {
    padding: 2em;
}

.business-bottom p {
    color: #000;
    font-weight: normal;
}

.business-bottom span {
    color: #B30000;
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}


.input-group .form-control {
    margin-bottom: 0;
    width: 80%;
}

footer { 
    margin: 50px 0;
}

#slideoutbottom_support {
    display: none;
}
.supportopen{
    display:none;
    cursor:pointer;
}
.supportclosed {
    cursor: pointer;
}
/*  Responsive Styles *************************************************************************/
@media(max-width:1169px) {
    .customer-img, .img-related {
        margin-bottom: 30px;
    }
    .carousel-box-readmore {
        width: 100%;
    }
    .carousel-captioncontent {
        font-size: 0.9em;
    }
    .carousel-box-readmore-mobile {
        display: none;
    }
        
   /* Search *********************************************************************************/
   .search {padding: 5px 7px 3px 3px; width:230px; height:30px; position: absolute; top:1px; right:70px; float:left; line-height: 22px;}
      #slideout_support {display:none;}
    #slideoutbottom_support {
        display: block;
    }
 }

@media(max-width:1250px) {

     #slideout_support {display:none;}
    #slideoutbottom_support {
        display: block;
    }
}   

@media(max-width:991px) {
    .largebulletlist { margin-top: 20px}
    .smallbulletlist { margin-top: 20px} 
      #slideout_support {display:none;}
    #slideoutbottom_support {
        display: block;
    }

            
   /* Search *********************************************************************************/
   .search {padding: 5px 7px 3px 3px; width:230px; height:30px; position: absolute; top:1px; right:70px; float:left; line-height: 22px;}
}


@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }
    header.carousel .carousel {
        height: 70%;
    }
    .carousel-box-readmore-mobile {
        display: none;
    }
     #slideout_support {display:none;}
    #slideoutbottom_support {
        display: block;
    }

     #menu-toggle {
        z-index: 2;
        position: absolute;
        float: right;
        top: 20px;
        right:20px;
    }

     .langbar {
        margin: 4px;
        letter-spacing: 0px;
        font-size: 25px;
        position: absolute;
        float: left;             
        right:130px;       
    }

       /* Search *********************************************************************************/
   .search {padding: 5px 7px 3px 3px; width:230px; height:30px; position: absolute; top:7px; right:75px; float:left; line-height: 22px;}
 }

@media(max-width:500px) {
    #menu-toggle {
        z-index: 2;
        position: absolute;
        float: right;
        top: 20px;
        right:20px;
    }

    .langbar {
        margin: 4px;
        letter-spacing: 0px;
        font-size: 25px;
        position: absolute;
        float: left;
        padding-top: 80px;
        right:18px; 
    }
    .carousel-box-readmore {
        display: none;
    }
    .carousel-box-readmore-mobile {
        display: block;
    }

    /* Search *********************************************************************************/  
    .search {padding: 5px 7px 3px 3px; width:230px; height:30px; position: absolute; top:77px; right:75px; float:left; line-height: 22px;}
}

/* Slideout Support *************************************************************************/
#slideout_support {
    position: fixed;
    top: 210px;
    left: 0;
    width: 45px;
    height: 150px;
    padding: 15px 5px 5px 5px;
    text-align: center;
    background: #ffffff;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-border-radius: 0 10px 10px 0;
    -moz-border-radius: 0 10px 10px 0;
    border-radius: 0 10px 10px 0;
    z-index: 9999;
    border:1px solid #e0e0e0;
    border-left:0px solid;
}

#slideoutbottom_support {
    position: fixed;
    bottom: 0px;
    width: 100%;
    height: 50px;
    padding: 15px 5px 5px 5px;
    text-align: center;
    background: #B30000;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-border-radius: 0 10px 10px 0;
    -moz-border-radius: 0 10px 10px 0;
    border-radius:0px;
    z-index: 9999;
    border: none;
   color:white;
}

#slideout_inner {
    position: fixed;
    top: 210px;
    left: -300px;
    background: #ffffff;
    width: 300px;
    padding: 25px;
    height: 530px;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    text-align: left;
    -webkit-border-radius: 0 0 5px 0;
    -moz-border-radius: 0 0 5px 0;
    border-radius: 0 0 5px 0;
    font-size: 0.9em;
    border:1px solid #e0e0e0;     
}

#slideout_support:hover {
    left: 300px;
}

#slideout_support:hover #slideout_inner {
    left: 0;
}

#slideout_support li {
    position: absolute;
    padding: 3px 0px 0px 100px;
}

#slideout_support div.hr {            
    border: 0;             
    background: url('/media/Images/red-line.png') repeat-x;     
    margin: 10px 1px 1px 1px;
}

#slideout_support .btn-primary {
    background-color: #B30000;
    border: none;
    width: 100%;
    margin: 1em 0;
}

.rotate {
    font-size: 1.4em;
    color: #B30000;
    /* Safari */    
    -webkit-transform: rotate(90deg);
    /* Firefox */    
    -moz-transform: rotate(90deg);
    /* IE */    
    -ms-transform: rotate(90deg);
    /* Opera */    
    -o-transform: rotate(90deg);
    /* Internet Explorer */
        filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=3);
}

/* Hero */
.hero {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;

    -webkit-align-items: center;
    display: flex; 
	/*height: 500px;*/
    align-items: center;
    position: relative;
}

.hero__inner {
    max-width: 100%;
    z-index: 1;
    position: relative;
}

.hero__image {
    background-image: url("../media/1093/balance-hero.png");
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

@media screen and (min-width: 480px) {
	.hero__mobile {
		display: none;
	}
}

@media screen and (max-width: 480px) {
    #videoBG {
        display: none;
    }

    #videoLink {
        display: none;
    }
}

/* Newsletter */
.newsletter {
    background-color: #B30000;
}

.newsletter__inner {
    display: block;
    padding: 2em 0;
}

.newsletter__inner h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 2rem;
}

.newsletter__inner input[type="email"] {
    background: transparent;
    border: 1px solid white;
    border-radius: 2px;
    color: white;
    font-size: 16px;
    height: 50px;
    padding: 0 1.2em;
    width: 100%;
}

.newsletter__inner input[type="email"]::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter__inner input[type="email"]:-moz-placeholder {
   color: white;
   opacity: 0.8;
}

.newsletter__inner input[type="email"]::-moz-placeholder {
   color: white;
   opacity: 0.8;
}

.newsletter__inner input[type="email"]:-ms-input-placeholder {
   color: rgba(255, 255, 255, 0.8);
}

.newsletter__inner input[type="submit"] {
    border: none;
    border-radius: 2px;
    font-size: 1em;
    font-weight: normal;
    height: 50px;
    margin: 1em 0 0;
    padding: 0 3em;
    vertical-align: initial;
    width: 100%;
}

@media screen and (min-width: 480px) {
    .newsletter__inner {
        display: -webkit-flex;
        -webkit-align-items: center;
        align-items: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;

        -webkit-justify-content: space-around;
        justify-content: space-between;
    }

    .newsletter__inner {
        margin-bottom: 0;
    }

    .newsletter__inner h3 {
        margin-bottom: 0;
    }

    .newsletter__inner input[type="submit"] {
        margin: 0;
        width: auto;
    }

    .newsletter__inner input[type="email"] {
        width: auto;
    }
}

.teaser {
    padding: 5em 0;
}

.teaser .col-sm-6:last-child .teaser__item {
    margin-bottom: 0;
}

.teaser__item 
{
    background-color: white;
    border-radius: 2px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
  /*  display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;*/
/*    -webkit-jusitfy-content: space-between;
    -webkit-flex-direction: column;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    position: relative;*/
    margin-bottom:20px;
    -moz-transition: box-shadow 800ms ease-out;
    -o-transition: box-shadow 800ms ease-out;
    -webkit-transition: box-shadow 800ms ease-out;
    transition: box-shadow 800ms ease-out;
    overflow: hidden;

/*  background-color: white;
    border-radius: 2px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-jusitfy-content: space-between;
    -webkit-flex-direction: column;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 14em;
    margin-bottom: 2em;
    padding: 2.5em;
    position: relative;
    -moz-transition: box-shadow 800ms ease-out;
    -o-transition: box-shadow 800ms ease-out;
    -webkit-transition: box-shadow 800ms ease-out;
    transition: box-shadow 800ms ease-out;
    overflow: hidden;*/
}

.teaser__item:hover {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
}

.teaser__item h3 {
    color: #000000;
    margin-top: 0;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.teaser__item a, .teaser__item span {
    position: relative;
    z-index: 1;
}

.teaser__item__image {
 /* bottom: 1.5em;
    width: 50%;
    position: absolute;
    right: 1.5em;
    height: auto;*/  

}

@media screen and (min-width: 480px) {
    .teaser__item {
      /*  height: 18em;*/
    }
}

@media screen and (min-width: 768px) {
    .teaser__item {
      margin-bottom: 0;
    }

    .teaser__item__image {
      /*  height: 55%;*/
       /* width: auto;*/
    }
}

::-ms-clear {
    display: none;
}
/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
