/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 937px;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
	background-image:url(header.jpg)/*tpa=http://www.vilnersa.com/templates/vilnersa/img/header.jpg*/!important;
	background-repeat:repeat-x;
	height:350px;

}

.footer-container {
	background-image:url(footer.jpg)/*tpa=http://www.vilnersa.com/templates/vilnersa/img/footer.jpg*/!important;
	background-repeat:repeat-x;
	height:135px;
}
.main aside {

}

.header-container,
.footer-container,
.main aside {

}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;

}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
	padding-top:115px;
	background-color:#eaeaea;
	border-style:solid;
	border-width:1px;
	border-color:#b9bcbe;
	border-top:none;
	border-bottom:none;
}

.main article h1 {
    
}

.main aside {
    
}

.main aside h1 {
font-family:Arial, Helvetica, sans-serif;
	font-size:18px;
	font-weight:normal;
	color:#FFF;
	width:250px;
	height:26px;
	background-color:#02a6ed;
	text-align:right;
	padding-right:10px;
	padding-top:8px;
	text-decoration:none;
	text-transform:uppercase;
}

.footer-container footer {
		background-color:#eaeaea;
    padding: 20px 0;
	height:50px;
	border-style:solid;
	border-width:1px;
	border-color:#b9bcbe;
	border-top:none;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.menu li a {
padding:10px;
margin:0 auto!important;

}
div.default {
background-color:#eaeaea!important;
	height:350px!important;
	width:100%;

		border-style:solid!important;
	border-width:1px!important;
	border-color:#b9bcbe!important;
	border-top:none!important;
	border-bottom:none!important;
z-index:1000;	
}

 div.logo {
	float:left;
	width:280px;
	height:157px;
	background-image:url(logo-1.png)/*tpa=http://www.vilnersa.com/templates/vilnersa/img/logo.png*/;
	background-repeat:no-repeat;
	position:absolute;
	top:46px;
	margin-left:-25px;
}

div#menubg {
	position:absolute;
	top:134px;
	margin-left:255px;
	float:left;
	clear:both;
	width:700px;
	height:69px;
	background-image:url(menubg-1.jpg)/*tpa=http://www.vilnersa.com/templates/vilnersa/img/menubg.jpg*/;
	background-repeat:repeat-x;
}

div#menubg ul {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#FFF;
	text-transform:uppercase;
	margin-top:0px;
	float:right;
}

div#menubg ul li {
	float:left;
	padding:15px;
	padding-top:30px;
	text-align:center;
	list-style-type:none;
	cursor:pointer;
	width:100px;
	height:64px;
}

div#menubg ul li:hover {
	background-image:url(menuover-1.jpg)/*tpa=http://www.vilnersa.com/templates/vilnersa/img/menuover.jpg*/;
	background-repeat:repeat-x;
}

div#mainnavbg {
	position:absolute;
	top:203px;
	margin-left:-25px;
	width:980px;
	height:13px;
	background-image:url(mainnavbg-1.png)/*tpa=http://www.vilnersa.com/templates/vilnersa/img/mainnavbg.png*/;
	background-repeat:no-repeat;	
}

div#banner {
	width:980px;
	height:190px;
	border:solid 1px #01a6ec;	
	position:absolute;
	top:230px;
	margin-left:-25px;
}

div#banerbg {
	width:980px;
	height:36px;
	background-image:url(bannerbg-1.png)/*tpa=http://www.vilnersa.com/templates/vilnersa/img/bannerbg.png*/;
	background-repeat:no-repeat;
	position:absolute;
	top:687px;
	margin-left:-23px;	
}
div#banner img {
	width:980px;
	height:190px;	
}

div.home {
	height:455px!important;
}



div.title {
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
	font-weight:Bold;
	color:#FFF;
	width:240px;
	height:26px;
	background-color:#02a6ed;
	position:absolute;
	top:725px;
	text-align:right;
	padding-right:10px;
	padding-top:8px;
}













/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {

    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: right; 
	  width:100%;
    }

    .main aside {
        float: right;
        width: 250px;
		/* display:none; */
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 935px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
