/*
Theme Name:     Madmaskiner theme
Description:    A child theme based on Maxmag
Author:         Kasper Toxvig
Template:       maxmag

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

a, a:visited {
    font-weight: bold;
}

#leader-wrapper {
    background: #fff !important;
}

.cat-des {
font: normal 100% helvetica, arial, sans-serif;
font-size: 17px;
}

.category3-text p {
font-size: 15px;
line-height: 17px;
}

#content-area {
    font: 17px/20px helvetica,arial,sans-serif !important;
}

#main-nav ul li a {
    padding: 9px 14px;
}

#main-nav ul li:hover ul li:hover {
    background: #087119;
}

#main-home {
    width: 640px;
}

#home-left {
    width: 620px;
}

#home-right {
    display: none;
}

#sidebar-home-wrapper {
    width: 300px;
}

.side, .side-home {
    float: left;
    width: 300px;
    margin-left: 0px;
}

.sidebar-widget {
    margin-bottom: 0px;
}

ul.category3 li {
    width: 600px;
}

#content-area img {
    border: 0;
}

#content-area h1, #content-area h2, #content-area h3, #content-area h4, #content-area h5, #content-area h6 {
    width: auto;
}

#maxmag_tabs_widget-2 .headlines-info, ul.category3 .headlines-info, #maxmag_tabs_widget-3 .headlines-info {
display:none;
}

.category3-text {
    width: 80%;
}

.new-table {
    width: 100%;
    float: left;
}

#post-area {
    border-right: 1px dotted #ccc;
    margin-right: 20px;
    padding-right: 19px;
}

#content-area {
    font: 14px/20px helvetica,arial,sans-serif;
}

#content-area p {
    display: block;
    margin-bottom: 15px;
}

.afp-table tbody tr td {
    vertical-align: middle !important;
}

.afp-table_readmore {
padding-top: 5px !important;
}

.cookie-icon {
float: right;
margin-right: 5px;
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}

.cat-des h1 {
font-size: 24px;
line-height: 20px;
}

.category-side-bottom h1, .category-side-bottom h2, .category-side-bottom h3, .category-side-bottom h4, category-side-bottom h5, .category-side-bottom h6 {
    margin-top: 15px;
}

.category-side-bottom p {
    padding-bottom: 10px;
    line-height: 20px;
}

.social-sharing-top {
    margin: 0px 0 0px 0;
}

.wp_rp_content ul.related_post li {
    width: 20% !important;
}

.home-widget {
    margin: 0 0;
}

#top-menu ul li a {
    text-transform: none;
}

#top-menu ul li a {
    font: 700 11px/10px 'Open Sans', sans-serif;
}

.external {
color: #CA0E0E !important;
}

#main-nav ul li:hover ul li a {
font: 400 13px/12px 'Open Sans', sans-serif;
}

#main-nav ul li:hover ul {
background: #08841C;
}

.et_shortcodes_controls  li {
margin-left: 20px !important;
}

#content h1 {
    color: #08841C;
}

.afp-table img {
padding: 0;
}

.afp-table_reseller {
padding-left: 10px;
}

.afp-table_price, .afp-table_shipping, .afp-table_total {
font-weight:bold;
}

.related-post-title {
font: 700 24px/28px 'Open Sans Condensed', sans-serif;
margin-bottom: 0 !important;
}

.mobil-logo {
display:none;
}

a.external {
color: #F04D2F !important;
}

@media screen and (max-width: 770px) {
#top-nav-wrapper {
display:none;
}

.madmaskiner-logo {
display:none;
}

.mobil-logo {
display:block;
}

.wp_rp_content ul.related_post li {
    width: 100% !important;
}

#sidebar-wrapper, #sidebar-home-wrapper {
    display:none;
}

#main, #post-area {
    width: 100% !important;
}
}

@media screen and (max-width: 479px) {
.category3-image {
    display: block !important;
}

th.afp-table_shipping, td.afp-table_shipping, th.afp-table_price, td.afp-table_price {
    display: none;
}
}

.omtalt {
    text-align: center;
    display: block;
    position: relative;
    float: left;
    width: 100%;
    margin-top: 10px;

}

body.home #content-area h1 {
    margin-top: 0;
}

#content-area .afp-table img {
    max-width: 75%;
    width: 100%;
}

@media screen and (min-width: 768px) {
#nav_menu-2.footer-widget.widget_nav_menu {
    display:none;
}
}