/* http:/*meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	/*vertical-align: baseline;*/
}

body{
    margin: 0;
    padding: 0;
    font-family: OpenSans-Light, Helvetica, Arial, Times, serif;
    /* background-color: rgb(0, 0, 0); */
}

h1{
    font-family: OpenSans-Regular;
    font-size: 1em;
}

a{
    text-decoration: none;
    color: #000000;
}

table{
    border-spacing: 0px;
}

/* Fixes some Safari issues */
th{
    font-weight: normal;
}

.bold{
    font-family: OpenSans-Regular, Helvetica, Arial, Times, serif;
}

.displayNone{
    display: none;
}

.visibleLink{
    color: rgb(108, 138, 255);
}

.textAlignRight{
    text-align: right;
}

.javaOnly{
    display: none;
}
.verticalAlign{
    text-align: center;
    display:table-cell;
    vertical-align:middle;
}

.container{
    position: relative;
    margin: 0 auto;
    width: 1200px;
    float: none;

}
.headingDivider{
    font-family: Raleway-ExtraLight;
    font-size: 3em;
    height: 100px;
    line-height: 100px;
}

.floatBoxContainer{
    width: 800px; 
}
.floatBoxText{
    width: 500px;
}
.headingSelectionBG{
    background-color: rgba(49, 55, 82, 0.5);
    padding: 5px 20px;
}
.clearFloat{
    clear: both;
}

/************************/
/* Responsive columns */
/************************/
.col-2{
    width: 50%;
}

.col-7{
    width: 12%;        /* RELATIVE VALUE: 1/8 */
    float: left;
}

/************************/
/* Section BGs */
/************************/
.productsBG{
    background-color: rgb(255,255,255);
    min-width: 640px;
    /* For JS */
    position: relative;
}
.specialOffersBG{
    /*    
    background-size: 400px auto;
    background-attachment: fixed;
    background-image: url("/site/templates/images/carBG2.png");
    min-width: 640px;
    */    


    background-attachment: fixed;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-image: url("/site/templates/images/stoneBG1.jpg");
    min-width: 640px;

}
.locationBG{
    background-color: rgb(243,243,244);
    color: rgb(131, 145, 183);
    min-width: 640px;
    background-repeat: no-repeat;
}
.aboutBG{
    background-attachment: fixed;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-image: url("/site/templates/images/stoneBG2.jpg");
    min-width: 640px;
}
.footerBG{
    background-color: rgb(49, 55, 82);
    min-width: 640px;
    background-repeat: no-repeat;
}

/************************/
/* Header */
/************************/
/*.headerBGcover{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    height: 400px;
    width: 100%;
    /*opacity: 0.9;
    background-color: rgb(49, 55, 82);
}*/
.header{
    /*background-image: url("/site/templates/images/RAvuokrausfleet.gif");*/
    /*background-size: cover;*/
    background-color: rgb(49, 55, 82); /*rgb(59,60,64);*/
    height:150px;
}
.RAVuokrausLogo{
    margin-top: 25px;
    height: 100px;
    width: auto;
}
/*.logo{
/*    position: relative;
/*    z-index: 1;
    /*float: left;
    margin: 0 auto;
    width: 395px;
}
.logo img{
    width: 100px;
    height: auto;
    margin-top: 25px;
}*/
.headerContactsWrapper{
    height: 200px;
    color: rgb(131, 145, 183);
    display: block;
    float: right;
}
.headerContacts{
    /*z-index: 1000;*/
    text-align: right;
    display:table-cell;
    vertical-align:middle;
    height: 200px;
}
/*
.headerContactsMap{
    display:table-cell;
    vertical-align:middle;
    height: 200px;
    width: 75px;
}*/

/************************/
/* SplashScreen */
/************************/
.splashScreen a, .splashScreen a:visited{
    color: rgb(71, 174, 229);
}
.splashLogo{
    width: 100%;
    position: absolute;
    top: 5vh;
}
.splashLogo img{
    width: 300px;
    height: auto;
    float: left;
}
.splashLinks{
    float: right;
    color: rgb(71, 174, 229);
    font-size: 0.4em;
    /*line-height: */
}

.splashContainer{
    /*z-index: 2;*/
    height: 640px;
    height: 80vh;
    width: 1200px;
    display: table-cell;
    vertical-align: middle;
    margin: 0 auto;
}
.splashText{
    text-align: center;
    width: 100%; /*1200px;*/
    color: rgb(71, 174, 229);
}

.splashArrow{
    position: absolute;
    top: 500px;
    top: 90vh;
    width: 100%;
    margin: 0 auto;
}
.splashScreen{
    display: none;
    font-family: Raleway-ExtraLight;
    font-size: 4em;
    position: relative;
    z-index: 0;
    height: 640px;
    height: 100vh;
    width: 100%;
    background-image: url("/site/templates/images/wheelBG.jpg");
    /*background-position-x: 50%;*/
    /*background-position-y: 50%;*/
    background-position: center bottom 0px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/*
.splashOverlay{
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    height: 100vh;
    width: 100%;
    background-color: rgb(49, 55, 82);
    opacity: 0.0;
}*/
/*
.splashDown{
    width: 1024px;
    margin: 0 auto;
    width: 40px;
}*/
/************************/
/* Navigation */
/************************/

/* Narrow devices */
.mainCategoryNavigationNarrow{
    margin-bottom: 50px;
    display: none;
    background-color: rgb(49, 55, 82);
}
.mainCategoryNavigationNarrow a, .mainCategoryNavigationNarrow a:visited{
    color: #fff;
}

.mainCategoryImageInv{
    margin-right: 15px;
    height: 30px;
    width: auto;
    vertical-align: middle;
}

/* Wide devices */
.mainCategoryNavigation{
    height: 115px;
   /* For JS */
   position: absolute;
   top: 40px;
   width: 100%;
   background-color: #fff;
   z-index: 1000;
}

.mainCategoryLinkBG{
    width: 75px;
    height:75px;
    margin: 0 auto;
    border-radius: 100%;
}

.selectedMainCategory .mainCategoryLinkBG{
    /*background-color: rgb(49, 55, 82);*/
    border: 2px solid;
    border-color: rgb(104, 110, 137);
    -webkit-transition:background 1s;
    -moz-transition:background 1s;
    -o-transition:background 1s;
    transition:background 1s
}

.mainCategoryNavigationCell{
    text-align: center;
    margin-top: 5px;
}

.mainCategoryNavigationLink{
    font-family: OpenSans-Regular;
    font-size: 0.75em;
    color: rgb(49, 55, 82);
    text-decoration: none;
    line-height: 40px;
}

.mainCategoryImageBlu{
    width: auto;
    height: 75px;
}

/************************/
/* Horizontaly scrolling box */
/************************/
.noItems{
    height: 200px;
}
.noImagePlaceHolder{
    margin: 0 10px 0 10px;
}

.productTable {
  table-layout: fixed; 
  /*width: 600px;             */              /* SET BY PHP = width of all <td>s*/
  *margin-left: -100px;/*ie7*/
}
.productTable td, th {
  vertical-align: top;
  border-top: 1px solid #ECEAEA;
  padding:10px;
}
.productTable th {
  position:absolute;
  *position: relative; /*ie7*/
  left:0;
}
.verticalScrollContainer {
    position:relative;
}
.verticalScroll img{
    opacity: 0.7;
    width: auto;
    height: 75px;
}
.verticalScrollLeft{
    display: none;
    position: absolute;
    top: 300px;
    left: 200px;
    height: 75px;
    width: 35px;
}
.verticalScrollRight{
    display: none;
    position: absolute;
    top: 300px;
    right: 0px;
    height: 75px;
    width: 35px;
}
.verticalScrollRow {
  overflow-x:scroll;
  overflow-y:visible;
  margin-left:200px;
  width: 1000px;    /* (.container - margin-left)  */
}

.productImagesContainer{
    position: relative;
}

.productImage{
    height: 230px;
    width: 230px;
    margin-right: 10px;
    margin-left: 10px; 
}

.productImageNavigation{
    /* IE fix for this in <head>*/
    /*pointer-events: none;*/
}
.productImageNavigation img{
    height: auto;
    width: 25px;
    opacity: 0.7;
}
.productImagePrev{
    width: 25px;
    height: 25px;
    position: absolute;
    margin-top: -125px;
    /*margin-left: -245px;*/
    left: 7px;
}

.productImageNext{
    width: 25px;
    height: 25px;
    position: absolute;
    margin-top: -125px;
    right: 7px; 
}

.darkColumn{
    background-color: rgb(241,243,247); /*rgb(242,244,252);*/
}

/************************/
/* Special Offers */
/************************/
.specialOffersHeading{
    margin-top: -30px;
    color: #fff;
}
.specialOffersIcon{
    width: 100px;
    height: 100px;
    border-radius: 100%;
    background-color: rgb(131, 145, 183);
    margin: 0 auto;
}
.specialOffersContainer{
    /*background-color: rgb(49, 55, 82);/*rgb(255, 243, 213);*/
                          /* MAKE APPROPRIATE SCALING RULES! */
    /*height: 280px;*/
    margin: 0 auto;
}
.specialOffersImage{
    float: left;
    background-color: rgb(95, 96, 107);
    display: inline-block;
    vertical-align: top;
    width: 250px;
    height: 280px;
}
.specialOffersImageInner{
    margin: 20px 20px;
    width: 210px;
    height: 240px
}

.specialOffersText{
    float: right;
    width: 500px;
    margin-top: 25px;
    display: inline-block;
    color: #fff;/*color: rgb(82, 92, 137);*/
    text-align: center;
}
.specialOffersTextInner{
    color: rgb(131, 145, 183);
    text-align: center;
    height: 280px;
    width: 500px;
    display: table-cell;
    vertical-align: middle;
}
/***********************/
/* Service and repairs */
/***********************/
.serviceAndRepairsBG{
    background-color: #fff;
}

/************************/
/* Google map */
/************************/
#map-canvas {
    width: 100%;
    height: 400px;
    background-image: url("/site/templates/images/noJavaMapBG.jpg");
    background-position: center bottom 0px;
    background-repeat: no-repeat;
    background-size: cover;
}

/************************/
/* Contacts */
/************************/
.contactHeading{
    text-align: center;
    background-color: rgb(131, 145, 183);
    color: #fff;
}
.contactsCell{
    vertical-align: top;
    width: 50%;
    display: inline-block;
}
.contactsCellInner{
    margin: 0 auto;
    width: 300px;
    font-size: 1em;
}
.contactsText{
    height: 50px;
    display: inline-block;
    vertical-align: middle;
}
.contactsImage{
    vertical-align: top;
    padding: 0 20px 0 0;
}
.phoneLink{
    color: rgb(131, 145, 183);
}


/************************/
/* Form styling */
/************************/
.tableTableContainer{
    width: 100%;
}
.formTable{
    width: 100%;
}
.formTable td{
    padding: 0px 20px 0px 0px;
}

.tableInput{
    width: 100%;
}
.formInputStyle{
    border-top: 1px solid rgb(192, 192, 200);
    border-left: 1px solid rgb(192, 192, 200);
    border-bottom: 1px solid rgb(211, 211, 224);
    border-right: 1px solid rgb(211, 211, 224);
}

.formField{
    width: 100%;
    height: 30px;
}
.formTextarea{
    height: 220px;
    width: 100%;
}
.tdError{
    color: rgb(183, 131, 131);
    height: 30px;
}
.formButton{
    width: 99%;
}
.formButtonInner{
    margin-left:auto;
    margin-right:0px;
    width: 141px;
}
.bigButton {
   cursor: pointer;
   border: 0px;
   background: rgb(131, 145, 183);
   padding: 17.5px 35px;
   -webkit-border-radius: 9px;
   -moz-border-radius: 9px;
   border-radius: 9px;
   color: white;
   font-size: 1em;
   text-decoration: none;
   vertical-align: middle;
   }
.bigButton:hover {
   color: #ccc;
   }
.bigButton:active {
   border-color: #1b435e;
   background: #1b435e;
}

/************************/
/* About */
/************************/
.aboutHeading{
    color: #fff;
    /*background-color: rgb(49, 55, 82);*/
}
.aboutContainer{
    color: #fff;
    margin: 0 auto;
    padding: 50px 50px;
   /* background-color: rgb(131, 145, 183);*/
}
.aboutImage{
    width: 200px;
    height: 250px;
    float: right;
    background-color: rgb(95, 96, 107);;
}
.aboutImageInner{
    margin: 20px 20px;
    width: 160px;
    height: 210px;
    background-color: #fff;
}

/************************/
/* Footer */
/************************/

.footerWrapper{
    display: table-cell;
    vertical-align: middle;
    color: rgb(131, 145, 183);
    height: 400px;
}



@media (max-width: 1250px) {
    /*
    .splashText{
    /*    width: 1024px;
    }
    .splashContainer{
      /*  width: 1024px;
    }*/
  .container {
    width: 1024px;
  }
  .verticalScrollRow {
      width: 824px;
  }
  .floatBoxContainer{
      width: 800px;
  }
}
@media (max-width: 1024px){
    .splashScreen{
        display: none;
    }
    .header{
        /*display: block;*/
    }
    .hideOnSmallDevice{
        display: none;
    }
    
    .container{
        width: 95%;
        min-width: 640px;
    }
    
    .verticalScrollRow {
        width: 65%;
    }
    
    .col-2{
        display: block;
        width: 100%;
    }
    .tableHead{
        display: block;
    }
    .tableInput{
        display: block;
    }
    .tdError{
        display: block;
    }
    .tdErrorPre{
        display: block;
        height: 0px;
    }
    .formTable td{
        padding: 0 0 0 0;
    }
    
    /* Main navigation */
    .mainCategoryNavigation{
        display: none;
    }
    .mainCategoryNavigationNarrow{
        margin-top: -2px; /* fixes an iPhone issue */
        display: block;
    }
    .selectedMainCategory{
        display: none;
    }
    .mainCategoryNavigationCell{
        margin-top: 0px;
    }
    /* Float Box */
    .floatBoxContainer{
        width: 530px;
    }
    .specialOffersText{
        width: 275px;
    }
    .aboutBG{ /* Fixes an iPhone issue */
    background-attachment: scroll;
    }
    .specialOffersBG{
        background-attachment: scroll;
    }
}

@media (max-width: 640px){
    .header{
        width: 640px;
    }
    .mainCategoryNavigation{
        width: 640px;
    }
}