
@font-face {
font-family: 'Roboto Condensed';
src: url('../fonts/RobotoCondensed-Light.woff') format('woff');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Roboto Condensed';
src: url('../fonts/RobotoCondensed-LightItalic.woff') format('woff');
font-weight: 300;
font-style: italic;
}

@font-face {
font-family: 'Roboto Condensed';
src: url('../fonts/RobotoCondensed-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Roboto Condensed';
src: url('../fonts/RobotoCondensed-Italic.woff') format('woff');
font-weight: 400;
font-style: italic;
}

@font-face {
font-family: 'Roboto Condensed';
src: url('../fonts/RobotoCondensed-Bold.woff') format('woff');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Roboto Condensed';
src: url('../fonts/RobotoCondensed-BoldItalic.woff') format('woff');
font-weight: 700;
font-style: italic;
}




@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Thin.woff') format('woff');
font-weight: 200;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-ThinItalic.woff') format('woff');
font-weight: 200;
font-style: italic;
}


@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Light.woff') format('woff');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-LightItalic.woff') format('woff');
font-weight: 300;
font-style: italic;
}


@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Italic.woff') format('woff');
font-weight: 400;
font-style: italic;
}

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Medium.woff') format('woff');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-MediumItalic.woff') format('woff');
font-weight: 500;
font-style: italic;
}

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Bold.woff') format('woff');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-BoldItalic.woff') format('woff');
font-weight: 700;
font-style: italic;
}

@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Black.woff') format('woff');
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-BlackItalic.woff') format('woff');
font-weight: 800;
font-style: italic;
}






body {
margin: 0;
padding: 0;
color: #000;
font-size: 16px;
font-family: 'Roboto Condensed', sans-serif;
background-color: #d1d1d1;
}

a {
color: #F20000;
text-decoration: none;
outline: none;
}

img {
display: block;
border: none;
}

b, strong {
font-weight: 700;
}
.lining:after, .inner:after{
content: " ";
display: block;
clear: both;
height: 0;
visibility: hidden;
}


#top .lining, #head .lining, #content .lining {
position: relative;
margin: 0 auto;
max-width: 1200px;
}
#footer .lining {
margin: 0 auto;
max-width: 1200px;
display: flex;
flex-flow: row nowrap;
justify-content: center;
}
#footer .lining .col {
float: none;
}


#top {
margin: 0;
background-color: #eee;
border-bottom: 1px solid #d1d1d1;
}
#langnav {
float: left;
color: #fff;
}
#langnav a, #top-right a {
display: block;
float: left;
height: 40px;
width: 40px;
line-height: 40px;
font-size: 15px;
text-align: center;
color: #000;
border-right: 1px solid #d1d1d1;
}
#langnav a:first-child {
border-left: 1px solid #d1d1d1;
}

#langnav a:hover, #top-right a:hover {
color: #fff;
background-color: #F20000;
}
#langnav a.active {
color: #F20000;
}
#langnav a.active:hover {
background-color: transparent;
}


a.to-bottom, a.homelink {
display: block;
float: right;
height: 40px;
padding: 0 10px;
line-height: 40px;
font-size: 15px;
color: #000;
border-left: 1px solid #d1d1d1;
}
a.to-bottom:hover, a.homelink:hover {
color: #fff;
background-color: #F20000;
}
#langnav a.homelink {
float: left;
width: auto;
}

a.linkedin {
display: block;
float: right;
width: 40px;
height: 40px;
background: url(../img/linkedin.png) no-repeat left center;
border-left: 1px solid #d1d1d1;
}
a.linkedin:hover {
background: #F20000 url(../img/linkedin.png) no-repeat right center;
}


/**** Search ****/
.search {
position: relative;
float: right;
}
.search a {
display: block;
width: 40px;
height: 40px;
background: url(../img/magnifier.png) no-repeat left center;
border-left: 1px solid #d1d1d1;
border-right: 1px solid #d1d1d1;
}
.search a:hover {
background: #F20000 url(../img/magnifier.png) no-repeat right center;
}

.searchcontainer {
display: none;
position: absolute;
right: 0;
top: 40px;
width: 250px;
padding: 20px;
background-color: #eee;
-webkit-box-shadow: 0 4px 8px 0 #333;
-moz-box-shadow: 0 4px 8px 0 #333;
-o-box-shadow: 0 4px 8px 0 #333;
box-shadow: 0 6px 6px 0 #999;
border: 1px solid #d1d1d1 ;
z-index: 20;
}

.searchform {
display: block;
}
.searchform:after {
clear: both;
content: " ";
display: block;
visibility: hidden;
}
.searchcontainer .inputbox {
float: left;
width: 180px;
height: 36px;
padding: 0 10px;
margin: 0;
font: 300 1em/36px "Roboto Condensed", sans-serif;
color: #444;
background-color: #fff;
border: 1px solid #d1d1d1;
}
.searchcontainer .button {
float: left;
height: 36px;
width: 36px;
margin-left: 10px;
background: #616161 url(../img/arr_wh.png) no-repeat center center;
border: 1px solid #d1d1d1;
}
.searchcontainer .button:hover {
background: #F20000 url(../img/arr_wh.png) no-repeat center center;
}
.searchbox {
display: table;
width: 100%;
margin-bottom: 20px;
background-color: #EEEEEE;
border-radius: 4px;
}
.fieldcontainer {
display: table-row;
}
.inputcontainer, .buttoncontainer {
display: table-cell;
padding: 20px;
}
.buttoncontainer {
width: 70px;
text-align: right;
}
input#search-searchword {
width: 100%;
background-color: #fff;
border: medium none;
border-radius: 3px;
font-family: "Roboto Condensed",sans-serif;
font-size: 16px;
padding: 10px;
}
button.searchbutton {
background-color: #414141;
border: medium none;
border-radius: 3px;
color: #fff;
cursor: pointer;
display: inline-block;
font-family: "Roboto Condensed",sans-serif;
font-size: 16px;
padding: 10px 15px;
}
button.searchbutton:hover {
background-color: #F20000;
}

/**** end Search ****/



#head {
padding: 22px 0 18px;
background-color: #fff;
}
.home #head {
padding: 35px 0 30px;
}

#logo a {
display: block;
width: 90px;
height: 90px;
margin: 0 auto;
background: url(../img/logo2.png);
}
#sitetitle {
text-align: center;
}
#head h1 {
margin: 10px 0 0;
font-size: 36px;
font-weight: 300;
text-align: center;
}
#head h2 {
display: inline-block;
margin: 0 auto;
padding: 10px;
font-size: 16px;
font-weight: 400;
border-top: 1px solid #dadada;
border-bottom: 1px solid #dadada;
}


/**** Slider ****/

.sliderwrap {
position: relative;
height: 400px;
/*min-width: 1024px;*/
}
.slider {
position: relative;
height: 400px;
overflow: hidden; 
-ms-touch-action: pan-y; 
touch-action: pan-y; 
background: #ccc url(../img/mast7.jpg) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

#slide1, #slide2, #slide3, #slide4 {
position: relative;
width: 100%;
height: 400px;
}


/* Arrows */
.as-prev-arrow, .as-next-arrow {
display: none;
position: absolute;
height: 100px;
width: 50px;
top: 50%;
margin-top: -50px;
text-indent: 100%;
overflow: hidden;
cursor: pointer;
z-index: 1;
}

.as-prev-arrow {
left: 0;
background: url(../img/arrows.png) no-repeat left center;
}

.as-next-arrow {
right: 0;
background: url(../img/arrows.png) no-repeat right center;
}

.slider:hover .as-prev-arrow, .slider:hover .as-next-arrow {
display: block;
}

/* Slide indicator */
.as-nav {
position: absolute;
bottom: 15px;
left: 50%;
width: 100px;
margin: 0 0 0 -55px;
padding: 5px;
text-align: center;
border-radius: 4px;
background: url(../img/blk30.png);
z-index: 5;
}

.as-nav a {
display: inline-block;
width: 16px;
height: 16px;
margin: 0 4px -1px;
overflow: hidden;
text-indent: 100%;
font-size: 1px;
line-height: 1px;
background: url(../img/bullets.png) no-repeat;
}

a.as-active, .as-nav a:hover {
background-position: 0 -16px;
}

/* Caption */
.caption {
width: 100%;
height: 400px;
}
.caption .lining {
display: table;
max-width: 900px;
height: 100%;
margin: 0 auto;
color: #fff;
}
.textframe {
display: table-cell;
padding: 70px 30px;
text-align: center;
vertical-align: middle;
}
.caption h2 {
font-weight: 300;
font-size: 36px;
line-height: 100%;
margin: 0 0 20px;
}
.caption p {
margin: 0;
padding: 0;
font-weight: 300;
font-size: 22px;
}

/**** end Slider ****/

.mast {
height: 100px;
background: #ccc url(../img/mast7m.jpg) no-repeat center top;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

.home .mast {
height: 400px;
background: #ccc url(none)
}














/**** Navi ****/

#navmain {
background-color: #eee;
border-bottom: 1px solid #d1d1d1;
}
#navmain .lining {
max-width: 1200px;
margin: 0 auto;
}
#navmain .navitem {
position: relative;
float: left;
/*width: 275px;*/
width: 25%;
/*min-width: 250px;*/
font-size: 18px;
line-height: 18px;
}

#navmain .inner {
border-right: 1px solid #d1d1d1;
}
#navmain .navitem:nth-of-type(1) .inner {
border-left: 1px solid #d1d1d1;
}
#navmain a {
display: block;
padding: 20px;
color: #000;
background-color: transparent;
}

#navmain a:hover {
color: #fff;
background-color: #F20000;
}

#navmain a.trig-hidden {
display: none;
}

#navmain a.trig-visible {
padding-right: 42px;
background: transparent url(../img/trigger1.png) no-repeat right top;
}
#navmain a.trig-visible:hover {
background: #F20000 url(../img/trigger1.png) no-repeat right bottom;
}

#navmain a.subtrig {
background: transparent url(../img/trigger2.png) no-repeat right top;
}
#navmain a.subtrig:hover {
background: #F20000 url(../img/trigger2.png) no-repeat right bottom;
}


.sub {
display: none;
width: 100%;
position: absolute;
z-index: 20;
background-color: #eee;
-webkit-box-shadow: 0 6px 8px 0 #333;
-moz-box-shadow: 0 6px 8px 0 #333;
-o-box-shadow: 0 6px 8px 0 #333;
box-shadow: 0 6px 8px 0 #333;
}

#navmain .sub a {
height: auto;
width: auto;
padding: 15px 20px;
font-size: 16px;
line-height: 100%;
border-top: 1px solid #d1d1d1;
}
#navmain .sub a:hover {
color: #fff;
}

.subsub {
display: none;
}

.subnavitem {
border-top: 1px solid #fff;
}

#navmain .sub .subsub a {
background-color: #d1d1d1;
border-top: none;
border-left: 8px solid #ADADAD;
}
#navmain .sub .subsub a:hover {
background-color: #F20000;
border-left: 8px solid #C10000;
}

/*********/

#navsecondary {
margin: 0 0 50px;
border-bottom: 1px solid #d1d1d1;
}
#navsecondary ul {
margin: 0;
padding: 0;
list-style: none;
}
#navsecondary li {
margin: 0;
padding: 0;
border-top: 1px solid #d1d1d1;
}
#navsecondary .sub2 li {
border-top: 1px solid #fff;
}

#navsecondary a {
display: block;
padding: 15px;
color: #000;
background-color: #eee;
border-left: 1px solid #d1d1d1;
border-right: 1px solid #d1d1d1;
}
#navsecondary a:hover {
color: #fff;
background-color: #F20000;
}
#navsecondary .sub2 a {
background-color: #d1d1d1;
border-left: 8px solid #ADADAD;
}
#navsecondary .sub2 a:hover {
background-color: #F20000;
border-left: 8px solid #C10000;
border-bottom: 1px solid #F20000;
}
#navsecondary a#subtrigger {
/*padding: 10px 15px;
font-size: 14px;
line-height: 16px;*/
color: #fff;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
background-color: #414141;
/*display: inline-block;*/
/*display: none;*/
}
#navsecondary a#subtrigger:hover {
background-color: #F20000;
}



/**** end Navi ****/






/**** start Content containers ****/

#content {
margin: 0 auto;
padding: 50px 0;
background-color: #fff;
}

.contentpad {
margin: 0 20px;
}
.home .contentpad {
margin: 0;
}


.leftcol, .rightcol {
float: left;
width: 240px;
}


.midcol {
margin: 0 auto;
padding: 0 40px;
width: 680px;
}
.wide .midcol, 
.home .midcol {
float: none;
width: 100%;
padding: 0;
}
.nosidebars .midcol {
float: none;
margin: 0 auto;
}


.article {
padding: 0 60px;
}



/**** end Content containers ****/


.grid_container {
display: grid;
grid-template-columns: 1fr 1fr;
justify-content: center; 
gap: 10px;
margin: 50px;
}

.grid_item {
min-height: 125px;
padding: 0 10px;
text-align: center;
place-items: center;
}
a.grid_item {
border: 1px solid #ccc;
border-radius: 4px;
display: grid;
}

a.grid_item:hover {
border-color: #f20000;
}
/*.grid_item img {
width: 100%;
}*/

.flex_container {
display: flex;
flex-flow: row wrap;
justify-content: center;
gap: 10px;
margin: 50px;
}

.flex_item {
width: 25%;
min-height: 125px;
padding: 0 15px;
text-align: center;
place-items: center;
}
a.flex_item {
border: 1px solid #ccc;
border-radius: 4px;
display: grid;
}

a.flex_item:hover {
border-color: #f20000;
}




.single_item {
margin: 50px;
}

.single_item a {
display: grid;
place-items: center;
min-width: 300px;
max-width: 360px;
margin: 0 auto;
border: 1px solid #ccc;
border-radius: 4px;
}


h1 {
font-size: 32px;
font-weight: 300;
line-height: normal;
text-align: center;
margin: 25px 0;
}


h2.section {
margin: 0 20px 40px;
text-align: center;
font-weight: 300;
font-size: 26px;
line-height: 100%;
background: url(../img/rule1.png) repeat-x center center;
}
.home h2.section {
margin: 0 20px 10px;
font-size: 24px;
}

h2.section span {
background-color: #fff;
padding: 0 20px;
}
ul.outdent {
margin: 0;
padding: 0 0 0 1em;
}
ul.outdent li {
margin-top: 5px;
}

/*#content {
margin: 0 auto;
padding: 40px 0;
background-color: #fff;
}
*/
.searchform_results {
max-width: 760px;
padding: 0 20px;
margin: 0 auto;
}
.result-text {
margin: 10px 0;
}


.boxcontainer {
width: 600px;
float: left;
}
.boxcontainer.widget .boxed1 .inner {
padding: 15px;
background-color: #eee;
min-height: 220px;
}
.boxcontainer.widget .boxed1 .inner table:nth-of-type(1) {
}
.boxed1 {
float: left;
width: 50%;
text-align: center;
}
.boxed1 .inner {
margin: 20px;
background-color: #eee;
}
.padded {
padding: 20px;
}
.boxed1 table:nth-of-type(1) {
margin: 0 auto;
}

.table {
display: table;
width: 100%;
border-collapse: collapse;
}
.table-row {
display: table-row;
}
.table-cell {
display: table-cell;
border: 1px solid #d1d1d1;
background-color: #f2f2f2;   
}

#logos .table-cell {
width: 50%;
height: 123px;
}
#logos .table-cell a {
display: block;
width: 100%;
height: 100%;
}
#logos .table-cell a:hover {
background-color: #fff;
}

.table-cell#nynas a {
background: #eee url(../img/logo_nynas.png) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.table-cell#euroshell a {
background: #eee url(../img/logo_euroshell.png) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.table-cell#cjr_wind a {
background: #eee url(../img/logo_cjr_wind.png) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.table-cell#chemlube_adbase a {
background: #eee url(../img/logo_chemlube_adbase.png) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.table-cell#ramoil a {
background: #eee url(../img/logo_ramoil.png) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

.table-cell#energys a {
background: #eee url(../img/logo_energys.png) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}


.boxed2 {
max-width: 600px;
margin: auto;
}
.boxed2 .inner {
margin: 30px 20px 20px;
padding: 10px 20px 10px 130px;
font-size: 15px;
background: #eee url(../img/logo2.png) no-repeat 20px 30px;
border: 1px solid #d1d1d1;
border-radius: 4px;
}
.boxed3 {
padding: 20px 30px 30px;
margin-top: 40px;
background: #eee;
border: 1px solid #d1d1d1;
border-radius: 4px;
}
.clearfix {
display: block;
height: 30px;
clear: both;
}


.logo-title {
width: 100%;
max-width: 560px;
margin: 0 auto 20px;
padding-bottom: 10px;
border-bottom: 1px dotted #999;
}
.logo-title img {
margin: 0 auto;
}

h3, .smalltitle h1 {
margin: 20px 0;
font-weight: 700;
font-size: 20px;
line-height: 100%;
text-align: left;
}
.boxed1 h3 {
margin: 0;
padding: 17px 20px 10px;
font-weight: 300;
font-size: 22px;
}
.boxed1 p {
margin: 0;
padding: 0 20px 20px 20px;
font-size: 15px;
}
.boxed1 img {
width: 100%;
}

.illustration {
margin: 2em 0;
}
.illustration img {
width: 100%;
}


h2.footer-title {
position: relative;
margin: 0 auto;
text-align: center;
background-color: #fff;
z-index: 10;
}
h2.footer-title span {
display: inline-block;
margin-bottom: -10px;
padding: 10px 20px;
font-size: 14px;
line-height: 14px;
text-transform: uppercase;
color: #fff;
background-color: #F20000;
border-radius: 4px;
}

#footer {
font-size: 15px;
color: #444;
background-color: #eee;
border-top: 1px solid #d1d1d1;
}
#footer p {
margin: 0 0 10px 0;
}

.col {
float: left;
width: 25%;
}
.col .inner {
border-right: 1px solid #d1d1d1;
min-height: 130px;
padding: 30px 20px;
}
#footer .col:first-child .inner {
border-left: 1px solid #d1d1d1;
}

/**** page navigation ****/

.pager.pagenav {
margin-top: 50px;
padding-top: 15px;
border-top: 1px solid #dadada;
text-align: center;
}
.pager.pagenav .inner {
max-width: 100px:
/*height: 40px;*/
margin: 0 auto;
}
.pager.pagenav div {
display: inline;
}

.next a, .previous a {
display: inline-block;
width: 40px;
margin: 0 10px;
height: 40px;
border-radius: 4px;
}
.previous a {
background: #414141 url(../img/ico_prev.png) no-repeat center center;
}
.next a {
background: #414141 url(../img/ico_next.png) no-repeat center center;
}
.next a:hover, .previous a:hover {
background-color: #F20000;
}

/*end page navigation*/


/**** articles pagination ****/

.blogspacer {
height: 60px;
clear: both;
}

.pagination {
margin: 40px 0 0;
padding-top: 15px;
border-top: 1px solid #dadada;
}

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

.pagination ul li, .pagination-list li {
display: inline-block;
margin-right: 10px;
margin-bottom: 10px;
}
.pagination a {
display: block;
width: 34px;
height: 34px;
line-height: 34px;
text-align: center;
border-radius: 3px;
}
.pagination a {
color: #fff;
background-color: #414141;
}
.pagination a:hover {
background-color: #F20000;
}

.pagination li.disabled, .pagination-list li.disabled {
display: none;
}
.pagination li.active a, .pagination-list li.active a {
color: #000;
background-color: #ccc;
}


/*end articles pagination*/



/******* to top *******/
.fixed {
display: none;
height: 40px;
position: fixed;
bottom: 20px;
right: 20px;
z-index: 100;
}
.fixed a {
display: block;
float: left;
width: 40px;
height: 40px;
border-radius: 4px;
line-height: 40px;
-webkit-box-shadow: 0 4px 8px 0 #333;
-moz-box-shadow: 0 4px 8px 0 #333;
box-shadow: 0 4px 8px 0 #333;
}

#to_top {
background: #414141 url(../img/ico_top.png) no-repeat center center;
}
#to_top:hover {
background: #F20000 url(../img/ico_top.png) no-repeat center center;
}
/******* end to top *******/


.imgleft {
float: left;
margin: 4px 20px 10px 0;
}
.imgright {
float: right;
margin: 4px 0 10px 20px;
}
.squeeze {}
.image-link {}

.squeeze img {
width: 100%;
border-radius: 5px;
}
.product,
.product_right {
width: 100%;
border-collapse: collapse;
}
.product td,
.product_right td {
padding: 20px 0;
vertical-align: top;
border-bottom: 1px solid #F6D415;
}
.product tr:last-child td,
.product_right tr:last-child td {
border-bottom: none;
}

.product tr td:first-child {
padding-right: 20px;
}
.product_right tr td:last-child {
padding-right: 10px;
}
.product_right h3 {
margin-top: 0;
}

.display h3 {
margin-top: 0;
}
.display p {
margin: 0;
}
.display img {
display: inline;
}


.bottomspace {
margin-bottom: 30px;
}

/**** CSS3 table ******/

.display .table-cell {
padding-top: 20px;
padding-bottom: 20px;
background-color: transparent;
vertical-align: top;
border: none;
}
.display .table-row {
border-bottom: 1px solid #F6D415;
}
.display .table-row .table-cell:first-child {
padding-right: 15px;
}

.display .table-row .table-cell:last-child {
width: 190px;
text-align: right;
}

.display .table-row:last-child {
border-bottom: none;
}


/**** end CSS3 table ******/











/**** MEDIA QUERIES ****/



@media all 
and (max-width : 1219px)
{
.boxcontainer {
float: none;
margin: 0 auto;
}

#content .boxcontainer:first-child {
margin: 0 auto 30px;
}


}


@media all and (max-width : 1024px) {
#top .lining, #head .lining, #navmain .lining, #content .lining, #footer .lining {
width: auto;
max-width: 1024px;
}

#content .lining {
min-width: 600px;
}
.leftcol, .rightcol {
width: 190px;
}
.midcol {
width: 604px;
}
.logo-title {
max-width: 484px;
}


}


@media all and (max-width : 1023px) {

.flex_container {
display: block;
margin: 50px 0;
}
.flex_item {
min-width: 300px;
margin: 15px auto;
padding: 0 10px;
}


}





@media all and (max-width : 980px) {

h2.section {
line-height: 1.4;
background: none;
}
h2.section span {
padding: 0;
}


.article {
padding: 0;
}
.midcol {
float: none;
width: 560px;
margin-left: auto;
margin-right: auto;
}
.logo-title {
max-width: 560px;
}


.leftcol {
display: none;
}


.rightcol {
float: none;
position: relative;
width: 340px;
margin: 40px auto 0;
}

#navsecondary a#subtrigger {
background: #414141 url(../img/trigger1.png) no-repeat right -64px;
}
#navsecondary a#subtrigger:hover {
background: #f20000 url(../img/trigger1.png) no-repeat right -64px;
}


.sub1 {
display: none;
position: absolute;
width: 100%;
z-index: 10;
-webkit-box-shadow: 0 6px 8px 0 #333;
-moz-box-shadow: 0 6px 8px 0 #333;
-o-box-shadow: 0 6px 8px 0 #333;
box-shadow: 0 6px 8px 0 #333;
}


#petrol_widget {
text-align: center;
margin: 0 auto;
}


}








@media all 
and (max-width : 950px)
{

.sliderwrap {
min-width: 320px;
}
.textframe {
padding: 70px 50px;
}

#top .lining, #head .lining, #navmain .lining, #content .lining, #footer .lining {
min-width: 320px;
}
.boxcontainer {
width: 100%;
}

.boxed1 {
width: 50%;
}
#navmain .navitem:first-child .inner {
border-left: none;
}
.col {
width: 50%;
}
.col .inner {
border-bottom: 1px solid #d1d1d1;
min-height: 125px;
}
#footer .col:first-child .inner {
border-left: none;
}


}


@media all and (max-width : 960px) {

/*** Navmain ***/

#navmain {
background-color: #d1d1d1;
}
#navmain .lining,
#navmain .mainsub {
width: 480px;
}
#navmain .navitem {
width: 100%;
}
#navmain .inner {
border-top: 1px solid #d1d1d1;
border-right: none;
}
#navmain a.trig-hidden {
display: block;
padding: 20px;
background: #eee url(../img/trigger1.png) no-repeat right top;
/*border-top: 1px solid #d1d1d1;
border-bottom: 1px solid #d1d1d1;*/
height: 18px;
}
#navmain a.trig-hidden:hover {
background: #F20000 url(../img/trigger1.png) no-repeat right bottom;
}
#navmain a.subtrig {
background: transparent url(../img/trigger2.png) no-repeat right bottom;
}

#navmain a.trig-hidden::before {
content: "Sadržaj"
}
.english #navmain a.trig-hidden::before {
content: "Contents"
}




#navmain .mainsub {
display: none;
position: relative;
/*width: 100%;*/
position: absolute;
z-index: 20;
background-color: #eee;
-webkit-box-shadow: 0 4px 8px 0 #333;
-moz-box-shadow: 0 4px 8px 0 #333;
-o-box-shadow: 0 4px 8px 0 #333;
box-shadow: 0 6px 6px 0 #333;
}


.sub {
position: static;
background-color: #868686;
-webkit-box-shadow: none;
-moz-box-shadow: none;
-o-box-shadow: none;
box-shadow: none;
}
#navmain .sub a {
color: #fff;
border-top: 1px solid #ADADAD;
border-left: none;
border-right: none;
}
.subnavitem {
border-top: 1px solid #8B8B8B;
}
#navmain .sub .subsub a {
background-color: #666;
border-left: 8px solid #333;
}

/*** end Navmain ***/

}






@media all and (max-width : 640px) {

.sliderwrap, .slider, #slide1, #slide2, #slide3, #slide4, .caption {
height: 300px;
}
.home .mast {
height: 300px;
}
.textframe {
padding: 0 50px;
}
.caption h2 {
margin: -20px 0 20px;
}
.nosidebars .midcol {
width: 100%;
}
.midcol {
width: auto;
}
.grid_container {
display: block;
}
.grid_item {
margin: 10px 0;place-items: center;
}

}


@media all and (max-width : 560px) {

.grid_container,
.single_item {
margin: 50px 20px;
}

#footer .lining {
margin: 0;
display: block;
}
.col {
width: 100%;
}
.col .inner {
text-align: center;
}


}


@media all 
and (max-width : 480px)
{
#navmain .mainsub {
width: 100%;
}

.caption h2 {
font-size: 30px;
}
.caption p {
font-size: 20px;
}
#navmain .lining {
width: 100%;
}

#navmain .navitem {
float: none;
width: 100%;
}
#navmain .inner {
border-right: none;
}
#navmain .navitem:last-child .inner {
border-bottom: none;
}
#content .lining {
width: 100%;
}
.midcol {
width: 100%;
}

.boxed1 {
float: none;
width: 300px;
margin: 30px auto;
}
.boxed1 .inner {
margin: 0;
}


#logos .table {
display: block;
}
#logos .table-row {
display: block;
margin: 0 20px;
}
#logos .table-cell {
display: block;
width: auto;
max-width: 279px;
margin: 0 auto 10px;
}
.boxed2 {
width: 100%;
margin: auto;
}


}


@media all 
and (max-width : 360px)
{
.caption h2 {
font-size: 26px;
margin: -30px 0 10px;
}
.caption p {
font-size: 18px;
}

.searchcontainer {
width: 318px;
}

.searchcontainer .inputbox {
width: 248px;
}


h2.section {
margin: 0 20px 20px;
text-align: center;
font-size: 22px;
}

h2.section span {
padding: 0 10px;
}
.boxcontainer:nth-of-type(1) h2.section {
padding-top: 0;
background: url(none);
}



.boxed2 .inner {
padding: 130px 20px 10px 20px;
background: #eee url(../img/logo2.png) no-repeat center 30px;
}
.imgleft {
float: none;
width: 100%;
margin: 15px auto;
}
.product img {
height: 100px;
}

.midcol, .leftcol, .rightcol {
width: 100%;
}
.product_right img {
max-width: 100px;
}


.table.display {
display: block;
}
.display .table-row {
display: block;
}
.display .table-cell {
float: left;
display: block;
padding: 20px 0;
}


.display .table-row .table-cell:last-child {
width: 100%;
float: none;
clear: both;
padding: 0 0 20px;
text-align: left;
}
.display .table-row .table-cell.empty {
padding: 0;
}


}

@media all 
and (max-width : 320px)
{
.caption h2 {
font-size: 20px;
margin: -30px 0 20px;
}
.caption p {
font-size: 17px;
}

.searchcontainer {
width: 278px;
}

.searchcontainer .inputbox {
width: 208px;
}


}