
/* ==========================================================================
   Base Styles, Bootstrap Modifications & Fonts Import
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #333;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

.perezvoniWidget_button {
left: -5px !important;
border-radius: 0 10px 10px 0 !important;
}

.perezvoniWidget_button:hover {
left: 0 !important; 
}

.perezvoniWidget_popup-wrapper {
z-index: 100000 !important;	
}


::-moz-selection {
    background: #f2c2c9;
    color: #a4003a;
    text-shadow: none;
}

::selection {
    background: #16a085;
    color: #a4003a;
    text-shadow: none;
}


	/* Centered texts in each section
	* --------------------------------------- */
	.section{
		text-align:center;
		background-size: cover;
    	-moz-background-size: cover;  /* Firefox 3.6 */
        background-position: center;  /* Internet Explorer 7/8 */
	}
	
	.slide {
    	background-size: cover;
    	-moz-background-size: cover;  /* Firefox 3.6 */
        background-position: center;  /* Internet Explorer 7/8 */
		}


	/* Backgrounds will cover all the section
	* --------------------------------------- */


	/* Defining each section background and styles
	* --------------------------------------- */
	#home{
		background-image: url(../img/bg-main.jpg);
		padding: 6% 0 0 0;
	}
	

	
	div.section#contacts{
		padding: 5% 0 0 0 !important;
	}


 
 
/*
 * A better looking default horizontal rule
 */
 
.menu-wrap p {
 	margin: 15px 20px;
    color: #fff;
}
 
.contbtn {
position: absolute;
top: 0;
left: 1%;
font-size: 1em;
z-index: 1000;
padding: 10px 0px 10px 10px;
background: #333;
color: #fff;
font-weight: bold;
	}

.contbtn a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 15px;
    background: #000;
}
 
.contbtn a:hover {
	background: #999;
	color: #fff;
} 

.toptitle {
	padding: 5px 10px 4px 11px;
    font-size: 1em;
    background-color: #fff;
    color: #000;
    letter-spacing: .05em;
    text-align: center;
    display: inline-block;
	opacity: 1;
    filter: alpha(Opacity=100); /* IE */
	text-transform: uppercase;
	}

.toptitle.black {
	background-color: #111;
    color: #fff;
}

.title {
padding: .3em 0 .3em;
color: #fff;
letter-spacing: 0.05em;
display: inline-block;
font-size: 3em;
display: inline-block;
line-height: 1.1em;
font-weight: bold;
opacity: 1;
filter: alpha(Opacity=100); /* IE */
	text-transform: uppercase;
text-shadow: 2px 2px 3px #000;
}

.title.black {
   color: #333;
   text-shadow: none;
}

.center {
	text-align:center;
	}

#container {
	position: relative;
	overflow: hidden;
}


#contacts input, .btn {
	border: 2px solid #555;
	margin: 10px 0;
	border-radius: 0;
    -webkit-border-radius: none;
    -moz-border-radius: none;	 
    -o-border-radius: none;	 
	font-weight: bold;
	 }
 
.btn-default {
width: 250px;
margin-bottom: 0px !important;
} 
 
 hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

.centered {
	text-align: center
}


/* ==========================================================================
   General styles
   ========================================================================== */

html,
body {
    height: 100%;
}

body {
    font-family: "Open Sans" sans-serif;
    font-weight: 400;
    font-size: 160%;
    color: #555;

    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
	
	background: url(../img/bg.png) repeat;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Open Sans", sans-serif;
	font-weight: 600;
	margin-top: 20px;
    margin-bottom: 5px;
}


h1.volvo {
   font-family: "volvo_broad", "Open Sans", sans-serif;
   color: #fff;
   font-size: 8em;
   letter-spacing: 0.05em;

}

h2.volvo {
   font-family: "volvo_broad", "Open Sans", sans-serif;
   color: #fff;
   font-size: 4.5em;
   margin: -25px 0 35px;
   letter-spacing: 0.05em;
   text-shadow:0 0 20px #fff;
}

h2.volvo a {
   color: #fff;
   text-decoration: none;
}

a.buy {
   font-family: "Open Sans", sans-serif;
   color: #fff;
   font-size: 1.75em;
   letter-spacing: 0.05em;
   padding: 10px 25px;
   background: #f00;
   border-radius: 7px;
   font-weight: bold;
}

a.buy:hover {
   text-decoration: none;
   background: #900;
}

/* ==========================================================================
   MENU CONFIGURATION
   ========================================================================== */

.menu {
	position: fixed;
	right: -200px;
	width: 260px;
	height: 100%;
	top: 0;
	z-index: 10;
	text-align: left;
}

.menu.menu-open {
	right: 0px;
	z-index: 1000;
}

.menu-wrap {
	position: absolute;
	top: 0;
	left: 60px;
	background: #1a1a1a;
	width: 200px;
	height: 100%;
}

.menu h1.logo a {
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.15em;
	line-height: 20px;
	text-transform: uppercase;
	color: #ffffff;
	margin-top: 20px;
}

.menu h1.logo a:hover {
	/*color: #808080;*/
}

.menu img.logo {
	margin: 20px 0;
	max-width: 160px;
}

.menu a {
	margin-left: 20px;
	color: #808080;
	display: block;
	font-size: 12px;
	font-weight: 700;
	line-height: 30px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.menu span {
	margin-left: 20px;
	color: #fff;
	display: block;
	line-height: 40px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.menu a:hover {
	color: #ffffff;
}

.menu a:active {
	color: #ffffff;
}

.menu a > i {
	float: left;
	display: inline-block;
	vertical-align: middle; 
	text-align: left;
	width: 25px;
	font-size: 14px;
	line-height: 40px;
	margin: 25px 2px;
}

.menu-close {
	cursor: pointer;
	display: block;
	position: absolute;
	font-size: 14px;
	color: #808080;
	width: 40px;
	height: 40px;
	line-height: 40px;
	top: 20px;
	right: 5px;
	-webkit-transition: all .1s ease-in-out;
	   -moz-transition: all .1s ease-in-out;
		-ms-transition: all .1s ease-in-out;
		 -o-transition: all .1s ease-in-out;
			transition: all .1s ease-in-out;
}

.menu-close:hover {
	color: #ffffff;
	-webkit-transition: all .1s ease-in-out;
	   -moz-transition: all .1s ease-in-out;
		-ms-transition: all .1s ease-in-out;
		 -o-transition: all .1s ease-in-out;
			transition: all .1s ease-in-out;
}

/* Push the body after clicking the menu button */
.body-push {
	overflow-x: hidden;
	position: relative;
	left: 0;
}

.body-push-toright {
	left: 200px;
}

.body-push-toleft {
	left: -200px;
}

.menu,
.body-push {
	-webkit-transition: all .3s ease;
	   -moz-transition: all .3s ease;
		-ms-transition: all .3s ease;
		 -o-transition: all .3s ease;
			transition: all .3s ease;
}

#menuToggle {
	position: absolute;
	top: 20px;
	left: 0;
	z-index: 11;
	display: block;
	text-align: center;
	font-size: 14px;
	color: #ffffff;
	width: 40px;
	height: 40px;
	line-height: 40px;
	cursor: pointer;
	background: rgba(0,0,0,0.7);
	-webkit-transition: all .1s ease-in-out;
	   -moz-transition: all .1s ease-in-out;
		-ms-transition: all .1s ease-in-out;
		 -o-transition: all .1s ease-in-out;
			transition: all .1s ease-in-out;
}

#menuToggle:hover {
	color: #ffffff;
	background: rgba(0,0,0,0.2);
	-webkit-transition: all .1s ease-in-out;
	   -moz-transition: all .1s ease-in-out;
		-ms-transition: all .1s ease-in-out;
		 -o-transition: all .1s ease-in-out;
			transition: all .1s ease-in-out;
}

#down {
	width: 100px; 
	height: 100px;
	}
	
.flip1, .flip2  {
	cursor: pointer;
	
	}


/* ==========================================================================
   Wrap Sections
   ========================================================================== */

a.btn-down-tip:hover .btn-down-tip-text, .btn-down-tip:hover .btn-down-tip-text {
opacity: 1;

}
a.btn-down-tip .btn-down-tip-text, .btn-down-tip .btn-down-tip-text {
display: inline-block;
opacity: 0;
color: #fff;
left: 0;
transition: all .25s ease-out;
letter-spacing: 0.05em;
width: 100%;
margin-top: 5px;

}

.btn-down-tip-text.black {
color: #000;	
	}

#contacts small {
  color: #333;	
	
	}

.toggle-box {
  display: none;
}
.toggle-box + label {
  display: block;
}
.toggle-box + label + div {
  display: none;
}
.toggle-box:checked + label + div {
  display: block;   
}


#video .video {
	width: 100%;
	background: #000 url(../img/video_poster.jpg) center center fixed;
	}
	
#extvideo {
/* position: absolute; */
bottom: 0px;
right: 0px;
min-width: 100%;
min-height: 100%;
/* width: auto; */
height: auto;
	}

#controls {
	color: #fff;
    position: absolute;
	top: 10%;
	left: 30%;
	right: 30%;
	z-index: 10;
}

.newcontrols {
	color: #fff;
    position: absolute;
	top: 5%;
	left: 30%;
	right: 30%;
	z-index: 10;
}

#containervid {
	position: relative;
	}

#playpause {
	width: 100%;
	height: 100px;
	background: url(../img/play.png) center center no-repeat;
	cursor: pointer;
	}
	
.newsv {
	width: 100px !important;
    top: 45%;
    right: 9%;
	position: absolute;
	}

#end {
	width: 100%;
	height: 50px;
	background: #000 url(../img/volvo-logo-sm.png) center no-repeat;
	position: absolute;
    bottom: 0;
	color: #fff;
	padding: 16px;
    text-align: left;
	}

.copyright {
	font-size: 12px;
	color: #fff;
	padding: 15px;
	}

#copy {
	float: left;
	}
	
#ddi {
	float: right;
	}
	
#ddi a,#copy a {
	color: #fff;
	}

#clear {
	width: 100%;
	height: 10px;
}

#myCarousel .nav a small {
    display:block;
	font-weight: normal;
}
#myCarousel .nav {
	background:#eee;
}
#myCarousel .nav a {
    border-radius:0px;
	color: #333;
	font-weight: bold;
}

#myCarousel .nav li.active a {
    background-color:#999;
}

#myCarousel .nav a:hover {
    background-color:#999;
}

.img-responsive {
margin: 0 auto  !important;
} 

.text {
	text-align:left;
}

.text2 {
	text-align:left;
	width: 100%;
	height: 90%;
}

.text h3, text2 h3 {
 margin-top: 10px;
	}

.text.white, .text2.white {
    color: #fff;
}

.text p, .text2 p {
	text-align:justify;
}

@media (max-height: 1080px) {
.wrap { top: 50%;}
}
}

@media (max-height: 800px) {
}

@media (max-height: 760px) {
.wrap { top: 0 !important;}
.container { width: 75% !important; }
.container.bottom { width: 80% !important; }
}


@media (max-width: 1920px) {
	
.title {
font-size: 2.5em;
}

.xc90-badge {
max-width: 415px;
}
.text h3, .text2 h3 {
font-size: 1.5em;	
}
.text p, .text2 p {
font-size: 0.95em;	
}

.wrap { top: 50% !important;}

#menuToggle {
display: none}

.menu {
	right: -190px;
	z-index: 10000;
}

.menu:hover {
	right: 0;
	-webkit-transition: all .2s ease-in-out;
	   -moz-transition: all .2s ease-in-out;
		-ms-transition: all .2s ease-in-out;
		 -o-transition: all .2s ease-in-out;
			transition: all .2s ease-in-out;
}

.menu-close {display: none !important;}

}
@media (max-width: 1400px) {
	
.title {
font-size: 2em;
}

.xc90-badge {
max-width: 300px;
}
.text h3, .text2 h3 {
font-size: 1.2em;	
}
.text p, .text2 p {
font-size: 0.8em;	
}

#menuToggle {
display: none  !important;}

.menu {
	right: -190px;
	z-index: 10000;
}

.menu:hover {
	right: 0;
	-webkit-transition: all .2s ease-in-out;
	   -moz-transition: all .2s ease-in-out;
		-ms-transition: all .2s ease-in-out;
		 -o-transition: all .2s ease-in-out;
			transition: all .2s ease-in-out;
}

.menu-close {display: none !important;}

.wrap { top: 0 !important;}

}

@media (max-width: 960px) {

.xc90-badge {
max-width: 250px;
} 

.title {
font-size: 1.5em;
}

.text h3, .text2 h3 {
font-size: 1em;	
}
.text p, .text2 p {
font-size: 0.65em;	
}

.wrap { top: 55% !important;}

#controls {
	left: 15% !important;
	right: 15% !important;
}

.container {
	width: 80% !important;
	}

.section {
    padding: 40px 0 0;
}

.contbtn {
padding: 15px 10px;
width: 100%;
background: #000;
text-align: center;
left: 0;
}

#menuToggle {
top: 55px;
left: 10px;

}

#home {
padding: 10% 0 0 0;
}

#contacts {
padding: 10% 0 0 0;
}

.menu a {
line-height: 25px;
}

.menu-wrap {
top: 40px;
}

.contbtn a {
padding: 15px 40px;
}

.title-paragraph {
    font-size: 0.7em !important;
	line-height: 1.1em !important;
	padding: 0 !important;
}

.title {
    font-size: 1.5em !important;
}

.toptitle {
    font-size: 0.8em !important;
}

#end {
height: 40px !important;
background-position: center 12px !important;
	}
	
small {
display: none;	
	}

	
#copy {
top: 20px;
position: relative;
width: 100%;
float: left;
}

#ddi {
width: 100%;
position: relative;
float: left;
}

.copyright {
padding: 10px;
}

.fp-controlArrow {
	width: 50px !important;
	height: 77px !important;
	
	}


.fp-controlArrow.fp-prev {
	background: url(../img/larrow-sm.png) no-repeat !important;

}

.fp-controlArrow.fp-next {
	background: url(../img/rarrow-sm.png) no-repeat !important;

}

#fp-nav {
display:none !important;
}

.rarrow {
height: 60px; 
background: url(../img/arrowrightw-sm.png) center no-repeat !important;	
}

.rarrow.black {
background: url(../img/arrowright-sm.png) center no-repeat !important;	
}

#down {
width: 60px !important;
height: 60px !important;
}


}

@media (max-width: 360px) {
	
.wrap {
top: 25% !important;
}

}




.xc90-badge {
margin: 10px 0 30px;

}

.wrap {
	/* display:table-cell; */
    vertical-align: middle;
    text-align: center;/* for IE6 */

	}
	
.wrap.opacity {
    opacity: 0.7;
    filter: alpha(Opacity=70); /* IE */
	background: #fff;
    min-height: 100%;
	_height:100%;
	position: relative;
	top: 15%;
	}
	
.container {
	display:block;
    width: 70%;
    margin: 0 auto;
}

.container.bottom {
    bottom: 0;
	padding-bottom: 80px; 
    position:relative;
}

.section h1 {

}

.row.left {text-align:left;}

.rarrow {
	width: 100%; 
	height: 100px; 
	background: url(../img/arrowrightw.png) center no-repeat;	
	margin-top: 2%;
	}

.rarrow.black {
	background: url(../img/arrowright.png) center no-repeat;	
	}


p.title-paragraph {
/*border-bottom: 3px solid #fff;
border-top: 3px solid #fff;*/
color: #fff;
padding: 0.5em 0;
margin: 0 0 0.5em;
line-height: 1.3em;
letter-spacing: .075em;
font-size: 1.02em;
text-align: left;
font-weight: bold;
opacity: 1;
filter: alpha(Opacity=100); /* IE */
text-shadow: 1px 1px 2px #000;
}

p.title-paragraph.black {
	color: #111;
	text-shadow: none;
}

.top-logo {
position: absolute;
width: 100%;
z-index: 2;
top: 45px;
}

#volvo-of-sweden {
width: 117px;
height: 9px;
position: relative;
}

.scroll-down-tip {
position: absolute;
width: 100%;
bottom: 1%;
left: 0;
text-align: center;
}

.scroll-down-next {
width: 100%;
height: 50px;
left: 0;
text-align: center;
}


/* About Wrap & Conf */

.name {
	text-align: center;
}
.name p {
	font-size: 22px;
	font-weight: lighter;
	margin-top: 15px;
	letter-spacing: 2px;
}

.name-label {
	width: 60px;
	height: 60px;
	margin: 0 auto 45px;
	border-top: 1px solid #000;
	background: url(../img/name-label.png) center bottom no-repeat;
	background-size: 35px 35px;
}

.name-zig {
	width: 73px;
	height: 17px;
	margin: 38px 0 38px;
	background: url(../img/name-zig.png) 0 0 no-repeat;
	background-size: 73px 17px;
}

.name-desc h2 {
	font-family: 'Open Sans', sans-serif;
	font-size: 40px;
	line-height: 1.45;
	font-weight: 400;
}

/* Separator About - Parallax Section */
.sep {
	background-attachment: fixed;
	background-position: 50% 0;
	background-repeat: no-repeat;
	height: 450px;
	position: relative;
}
.about {
	background-image: url(../img/about-sep.jpg);
}

/* Portfolio Wrap Section */


.portfolio {
	background-image: url(../img/portfolio-sep.jpg);
}





/* Gallery Configuration */
.photo-wrapper {
  display: block;
  position: relative;
  overflow: hidden;
  background-color: #2f2f2f;
  -webkit-transition: background-color 0.4s;
  -moz-transition: background-color 0.4s;
  -o-transition: background-color 0.4s;
  transition: background-color 0.4s;
}
.project .overlay {
  position: absolute;
  text-align: center;
  color: #fff;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  transition: opacity 0.4s;
  
}

.project:hover .photo-wrapper {
  background-color: #2f2f2f;
	background-image:url(../img/zoom.png);
	background-repeat:no-repeat;
	background-position:center;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	position: relative;
}
.project:hover .photo {
  opacity: 10;
  filter: alpha(opacity=4000);
  opacity: 0.1;
  filter: alpha(opacity=40);
}
.project:hover .overlay {
  opacity: 100;
  filter: alpha(opacity=10000);
  opacity: 1;
  filter: alpha(opacity=100);
}

.desc {
	margin-top: 25px;
}

.modalDialog {
 position: fixed;
 font-family: Arial, Helvetica, sans-serif;
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
 background: rgba(0,0,0,0.5);
 z-index: 99999;
 opacity:0;
 -webkit-transition: opacity 400ms ease-in;
 -moz-transition: opacity 400ms ease-in;
 transition: opacity 400ms ease-in;
 pointer-events: none;
 text-align: left;
}
.modalDialog:target {
 opacity:1;
 pointer-events: auto;
}
.modalDialog > div:nth-child(1) {
width: 80%;
position: relative;
margin: 5% auto;
}
.modalDialog > div:nth-child(2) {
width: 80%;
height: 80%;
position: relative;
margin: 0 auto;
padding: 5px 45px 0px 20px;
border-radius: 10px;
background: #fff;
overflow-y: scroll;
border: 10px solid #fff;
}
#openModal > div > a.close, #openModal2 > div > a.close {
 color: #fff;
 font-size: 50px;
 position: absolute;
 right: -30px;
 text-align: center;
 top: -30px;
 width: 24px;
 text-decoration: none;
 opacity: 1;
 -moz-transform: rotate(45deg);
 -ms-transform: rotate(45deg);
 -webkit-transform: rotate(45deg);
 -o-transform: rotate(45deg);
 transform: rotate(45deg);
}

.modhead {
  padding: 10px;
  background: #eee;
  margin-bottom: 5px;
}

.odd td, .overall .odd-sub td {
  background-color: #e7e8ec;
}

tr.section-title {
  font-weight:bold;	
  margin-bottom: 5px;
}