body {
    margin: 0;
    padding: 0;
    background: url(../../pubdb/grafik/page_bg.png) repeat-y center #1c1c1c;
}

.page_width {
    margin:auto;
    width:1000px;
}
@media (max-width: 1000px) {
    .page_width {
        width: 100%;
    }
}

.flags {
    
    width: 400px;
    margin-top:25px;

    display: grid;
    grid-template-columns: repeat(11, 1fr);
    grid-template-rows: 1fr;
    grid-gap: 10px;
}

@media (max-width: 660px) {
    .flags {
        width: 90%;
        grid-template-columns: repeat(6, 1fr);    
        margin: auto; 
        margin-top: 10px;;
    }
}


.flag {
    width: 25px;
    list-style: none;
}


.menu_container {
    margin-top: 25px;
    height:70px;
    
}
@media (max-width: 1000px) {
    .menu_container {
        display:none;
    }
}



.menu_background {
    background: url(../../pubdb/grafik/menu_background.png) repeat-x center #1c1c1c;
    width: 100%;
    position: absolute;
    height: 70px;
}
  
.menu {

    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: 1fr;
    grid-gap: 15px;
}



.menu_item {
    list-style: none;
    color: #f9f8f6;
    font-size: 20px;
    padding-top: 20px;
    text-align: center;
    font-weight: bold;

}
.menu_crest {
    padding-top: 0;
    margin-top: -35px;
}

.dropdown_menu {
    position: relative;
    display: none;
    background-color: #1c1c1c;
    border: 10px solid #8d6e4d;
    z-index: 100000;
}

.dropdown_menu_e_magazines {
    position: absolute;
    display: none;
    margin-left: -50px;
    margin-top: 20px;  
    padding:10px;
    padding-bottom:15px;  
}

.logo {
    width: 200px;
    margin: auto;
    margin-top:25px;
    
}

.front_page_main_content_container {
    width: 100%;
    display: grid;
    grid-template-columns: 660px 320px;
    gap: 20px;
    margin-top: 20px;

}

@media (max-width: 1000px) {
    .front_page_main_content_container {
        display: block;
        margin-top: 15px;
        grid-area: right;
    }
}



.mobile_menu_container {
    margin-bottom: 10px;
    height:35px;
    bottom: 0;
    width: 100%;
    position: fixed;
    background-color: #23449a;
}
@media (min-width: 1001px) {
    .mobile_menu_container {
        display:none;
    }
}

.mobile_menu_background {
    background: url(../../pubdb/grafik/mobile_menu_background.png) repeat-x center #1c1c1c;
    width: 100%;
    position: absolute;
    height: 35px;
}
.mobile_menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-gap: 15px;

}

.mobile_menu_left {
    display: flex;
    justify-content: center;
    
    color: #f9f8f6;
    font-size: 14px;
    margin-top: 9px;
}

.mobile_menu_right {
    display: flex;
    justify-content: center;

    color: #f9f8f6;
    font-size: 14px;
    margin-top: 9px;
}

.mobile_menu_crest {
    padding-top: 0;
    margin-top: -17px;
    width: 50px;

    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.mobile_menu_items {
    bottom:0;
    position: relative;
    padding-top: 40px;
    padding-bottom: 10px;;
}

.mobile_menu_item {
    list-style: none;
    color: #f9f8f6;
    font-size: 20px;
    padding-top: 20px;
    text-align: center;
    font-weight: bold;
}

h2 {
    font-size: 16px;
    margin: 0;
    padding: 10px 20px;
    color: white;
    text-align: left;
    background: url(../../pubdb/grafik/bg_black_40p.png);
}

a {
    color: orange;
    cursor: hand;
    cursor: pointer;
    text-decoration: none;

}

.col_right {
    width: 320px;
    height: auto;
    display: inline-block;
    vertical-align: top;
}

@media (max-width: 1000px) {
    .col_right {
        width: unset;
    }
}


.content#senasteBilarna {
    min-height: 559px;
    background: url(../../pubdb/grafik/bg_black_30p.png);
}

@media (max-width: 1000px) {
    .content#senasteBilarna {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100vw;
        align-items: start;
        min-height: unset;
    }
}

@media (max-width: 660px) {
    .content#senasteBilarna {
        display: block;
        grid-template-columns: repeat(2, 1fr);
        width: 100vw;
        align-items: start;
        min-height: unset;
    }
}

.content#senasteEvent {
    min-height: 559px;
    background: url(../../pubdb/grafik/bg_black_30p.png);
}
 


.content .devcar {
    height: auto;
    margin: 0 20px 20px;
    display: inline-block;
    text-decoration: none;
    font-size: 0;
}

.content > .devcar > .content {
    width: 153px;
    display: inline-block;
    text-align: left;

}

.devcar {
    background: url(../../pubdb/grafik/bg_black_15p.png);
    height: auto;
    margin: 0 20px 20px;
    display: inline-block;
    text-decoration: none;
    font-size: 0;
    vertical-align: top;
}
.bild {
    width: 127px;
    height: 70px;
    position: relative;
    display: inline-block;
}
.star {
    background: url(../../pubdb/grafik/bg_black_40p.png);
    width: 75px;
    height: auto;
    padding: 2px;
    position: absolute;
    right: 0;
}



.col_right > .content {
    margin: 0 0 20px;
    padding-top: 20px;
    display: block;
    text-align: left;
  }

.content .devcar {
    height: auto;
  
    margin: 0 20px 20px;
  
    display: inline-block;
  
    text-decoration: none;
  
    font-size: 0;
  
  }

.content > .devcar > .content {
    width: 153px;
    display: inline-block;
    text-align: left;
}

.content .devcar .content .year {
    font-size: 10px;

  padding: 5px;

  color: white;

  height: 14px;
}

.content .devcar .content .mileage {
    font-size: 10px;

  padding: 5px;

  color: white;

  padding: 5px;

  height: 14px;
}

.content .devcar .content .country {
    font-size: 10px;

  padding: 5px;

  color: white;

  height: 12px;
}

.content .devcar > .time {
    height: 12px;

  padding: 5px;

  width: 117px;

  display: inline-block;

  font-size: 12px;

  text-align: center;

  font-weight: bold;

  color: red;
}

.content .devcar > .price {
    display: inline-block;
  
    width: 143px;
  
    height: 12px;
  
    font-size: 12px;
  
    line-height: 12px;
  
    color: white;
  
    text-align: right;
  
    padding: 5px;
  
    font-weight: bold;
  
  }

  .content .devcar img {
    width: 127px;
  
    height: 70px;
  
    margin: 0;
  
    display: inline-block;
  
  }

