/*
Theme Name: KoboldPress2017
Theme URI: http://beezenwebdesign.com
Description: New theme for Kobold Press 2017 - Child of Divi
Author: John Arcadian
Author URI: http://beezenwebdesign.com
Template: Divi
Version: 3.0.21
*/


/*********** General Overrides ***********/


.midgardkslink:hover {opacity: .8}

#main-content {  background-color: transparent !important; }


.socialicons .fa {font-size: 42px !important; margin: 5px;}
.socialicons .fa:hover {opacity: .6;}

.socialicons .fa-facebook-square {color: #3b5998 !important;}
.socialicons .fa-twitter-square {color: #0084b4!important;}
.socialicons .fa-google-plus-square {color: #d34836 !important;}
.socialicons .fa-reddit-square {color: #ff4500 !important;}


.shadow {
-moz-box-shadow: 0px -5px 25px 5px #000;
-webkit-box-shadow: 0px -5px 25px 5px #000;
box-shadow: 0px -5px 25px 5px #000;
}


/*Container color for background */

#main-content .container {
    background-color: #fff;
    -moz-box-shadow: 0px 10px 25px 5px #000;
-webkit-box-shadow: 0px 10px 25px 5px #000;
box-shadow: 0px 10px 25px 5px #000;
padding-bottom: 25px;
}

#main-content .container {
    padding-top: 20px !important;
}

#main-content #content-area {
    padding: 58px 50px 0px;
}

#main-content .container.removetoppadding {padding-top: 0px !important;}

blockquote {
    display: inline-block;
    padding: 20px;
    margin: 10px 10 25px;
    border-top: none !important;
    border-bottom: none !important;
    background: transparent !important;
}
.et_pb_bg_layout_dark a {
color: #606F8A !important;
}

.et_pb_bg_layout_dark a:hover {
color: #999 !important;
}

/* General Media Queries */

@media screen and (max-width: 800px) {
.container {
    position: relative;
    width: 100%;
    padding: 2%;
    margin: auto;
}

}



@media screen and (min-width: 981px) {
     #left-area {
	width: 75% !important;
	padding-bottom: 23px ;
	}
    #sidebar {
    float: left;
    width: 25% !important;
     }

}



.categorylist ul {  columns: 3;
  -webkit-columns: 3;
  -moz-columns: 3;}
  
.categorylist .et_pb_widget {width: 95% !important;}

/*Stop Container grey bar */

#main-content .container::before {
    position: absolute;
    top: 0;
    width: 0px;
    height: 100%;
    background-color: transparent;
    content: "";
}

.homeheadbar{
    width:100%;
    background-color:#cccccc;
    padding: 15px 40px 10px;
    margin-top: 5px;
}


.pageheadbar{
    width:100%;
    background-color:#cccccc;
    padding: 15px 40px 10px;
    margin-bottom: 50px;
}


.pageheadbar p, .pageheadbar h1, .pageheadbar h2 {
    color: #ffffff !important;
   }

.pageheadbar a, .pageheadbar a:hover, .pageheadbar a:visited {
    color: #ffffff !important;
   
}


/******* Header ******/
#main-header {border-bottom: 1px solid #003e95;}




/******* Sidebar & Widgets ******/



#sidebar .et_pb_widget h4.widgettitle, #sidebar .et_pb_widget_area h4.widgettitle {
    color: #fff;
    font-weight: 500;
    font-size: 16 px;
    background-color: #333;
    padding: 15px 15px;
    box-shadow: none !important;
    margin: -25px -25px 15px;
    border-bottom: 5px solid #2B3A57 !important;
    letter-spacing: .04em;
}

#sidebar .et_pb_widget, #sidebar .et_pb_widget_area {
    margin-bottom: 20px;
    padding: 25px;
    border: 1px solid #333;
    font-weight: bold;
}

#wp-calendar a {
    display: block;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
}


/******* Posts ******/
#main-content #content-area {
    padding: 0px 50px 0px;
}

.homepagedisplay article {
width: 45%;
margin: 2.5%;
float: left;
min-height: 430px;
}

.homepagedisplay .postimage{
margin: 5px;
display:block;
}


.pagination .alignleft a, .pagination .alignright a {
    color: #FFF !important;
    text-shadow: none;
    border: 1px solid #2B3A57;
    border-radius: 5px;
    background: #2B3A57  !important;
    font-weight: 400;
    padding: 8px;

}

.pagination .alignleft a:hover , .pagination .alignright a:hover {
       color: #FFF !important;
 background: #606F8A !important;
}


@media screen and (max-width: 1200px) {
.homepagedisplay article {
width: 95%;
margin: 2.5%;
float: left;
}

}

.postpadding { padding-top:20px;}
.postimage img {margin: 5px 0px 5px 15px;}

@media screen and (max-width: 700px) {
    .postimage  {float: none !important; text-align:center;}
    .post .entry-content img {float: none !important; text-align:center; margin: 0 auto; clear:both; display:block;}
}

/******* Pages ******/

.midgardbutton {
    color: #FFF !important;
    text-shadow: none;
    border: 1px solid rgba(0,0,0,.8);
    border-radius: 5px;
    background: rgba(0,0,0,.8) !important;
    font-weight: 400;
    padding: 12px;
    display: block;
    text-align: center;
}

a img:hover {opacity: .8;}

.midgardbutton:hover {
       color: #FFF !important;
 background: #606F8A !important;
}


.whitelink a, .whitelink a:visited {color: #ffffff !important; }
/******* Comments******/

#comment-wrap {
    padding-top: 75px;
    clear: both;
}

.commentlist {margin-left: 60px;}
.comment-body {
    position: relative;
    min-height: 87px;
    margin-bottom: 20px;
    padding: 0 20px 0 20px;
border: 1px solid #333333;
}


.odd > .comment-body {
    background: #e3e3e3 !important;
}

.even > .comment-body {
    background: #ffffff !important;
}

.comment_avatar {
    position: relative;
    border: 4px solid #333333;
    display: inline-block;
    float: left;
    margin-right: 18px;
margin-left:-65px;
margin-top:-5px;
overflow: visible;
top: 0;
left: 0;
}

.comment_avatar, img.avatar {
    border-radius: 50%;
    width: 80px;

}
.comment_area {margin-left: 45px; margin-right: 100px; display:block;}

.comment_area .comment-reply-link {
    display: block;
    position: absolute;
    top: 7px;
    right: 5px;
}

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

.timeline-Tweet-media {
    display: none !important;
}

.MediaCard-media {
    display: none !important;
}

#main-footer {
    background-color: #222;
    width: 100%;
    }

#main-footer .container {
padding-left: 50px; 
    }


#main-footer a, a:active{
color: #ffffff;
    }

#footer-bottom .container { background-color: transparent !important; }

.footer-widget h4.title {
    font-weight: normal;
    padding-bottom: 5px;
    color: #FFF;
    font-size: 24px;
}


#main-content h2 a, #main-content h2  a:visited {
    text-decoration: none;
    color: #2B3A57;
}

#main-content a, #main-content a:visited {
    text-decoration: none;
    color: #4264a0;
}

#main-content a:hover{
    text-decoration: none;
    color: #606F8A ;
    
}

.et_pb_bg_layout_dark a {
color: #606F8A !important;
}

.et_pb_bg_layout_dark a:hover {
color: #4264a0 !important;
}

.whitelink a, .whitelink a:visited {color: #ffffff !important; }

.whitelink a:hover {
color: #4264a0 !important;
}

body {
    background-image: url("https://koboldpress.com/customassets/boxbg-winter.jpg") !important;
    background-position: center top !important;
    background-size: auto !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
} 


.et-search-form, .nav li ul, .et_mobile_menu, .footer-widget li::before, blockquote {
    border-color: #2B3A57 !important;
}

blockquote {
    display: inline-block;
    padding: 20px;
    margin: 10px 10 25px;
    border-top: none !important;
    border-bottom: none !important;
    background: transparent !important;
}



.pageheadbar, .homeheadbar {
    width:100%;
    background: #2B3A57 !important;
    color: #ffffff !important;
   }

.pageheadbar p, .pageheadbar h1, .pageheadbar h2, .homeheadbar p, .homeheadbar h1, .homeheadbar h2  {
    color: #ffffff !important;
   }

.pageheadbar a, .pageheadbar a:hover, .pageheadbar a:visited, .breadcrumbs a, .breadcrumbs a:visited, .homeheadbar a, .homeheadbar a:hover, .homeheadbar a:visited, .homeheadbar a, .homeheadbar a:visited {
    color: #ffffff !important;
   
}



/* Sidebar and Widget Seasonal */

.et_pb_widget h4.widgettitle {
    border-bottom: 5px solid #2B3A57 !important;

}

.et_pb_widget ul li a {
    color: #2B3A57 !important;
    text-decoration: none;
}


.form-submit #submit, .read-more {
    color: #FFF !important;
    text-shadow: none;
    border: 1px solid #2B3A57;
    border-radius: 5px;
    background: #2B3A57  !important;
    font-weight: 400;
}

.et_pb_button:hover {
       color: #FFF !important;
 background: #2B3A57  !important;
}

.comment_avatar {

    border: 4px solid #2B3A57  !important;

}
.comment-body {

border: 1px solid #2B3A57  !important;
}




#woocommerce-product-search-field-0 {width: 100% !important; font-size: 24px !important;}


.kobold_courier {}
.kobold_courier .kpc_search {width: 100% !important; font-size: 24px !important;}
.kobold_courier  input[type="submit"] {
    background: #2B3A57 !important;
    color: #fff !important;
    border: #2B3A57 !important;
    font-size: 22px;
    margin: 15px 0 5px 0;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}


/* Menu */

.mobile_menu_bar::before {color: #fff; }

@media screen and (max-width: 768px) {
    
.et_mobile_menu li a, .nav li li a {
    font-size: 20px;
    }
.et_mobile_menu li li {
    padding-left: 2%;
}
}



@media screen and (min-width: 768px) {
    
    #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-flyout ul.mega-sub-menu {border: 2px solid #333;}
    
    #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
        font-size: 18px; 
        text-transform: uppercase;}
        
    #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-megamenu > ul.mega-sub-menu {
                background: #333;
        color: #fff;
        
    }
    
    #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link, 
    #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
    #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
        display: block;
        background: #333;
        color: #fff;
        font-family: inherit;
        font-size: 16px;
            line-height: 1.3em !important;
        font-weight: normal;
        padding: 5px 10px 5px 10px;
        line-height: 35px;
        text-decoration: none;
        text-transform: uppercase;
        vertical-align: baseline;
        text-align: center;
    }
    
    #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover, 
    #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover, 
    #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover {
            background: #333;
            color: #f1f1f1;
        font-weight: normal;
        border-bottom: 1px solid #f1f1f1;
        border-top: 1px solid #f1f1f1;
    }
    
    #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item, 
    #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
    
        padding: 5px !important;
        line-height: 1.3em !important;
    
    }
    
    
    .et-search-form input {
        position: absolute;
        top: 0;
        right: 30px;
        bottom: 0;
        width: 150px;
        margin: auto;
        border: none;
        color: #333;
        background: 0 0;
    
    }

}



/* Rev Slider Home Page Hide  */
    @media screen and (max-width:768px) {
    #rev_slider_1_1_wrapper { display:none;}
    }

/*KBP Home Bar Promo */
.homepage-promo-bar {width: 90%; display:block; overflow: hidden; margin:0 auto;}
.homepage-promo-bar-third {width: 31%; margin: 1%; float: left;}
.homepage-promo-bar-fourth {width: 23%; margin: 1%; float: left;}

@media screen and (max-width: 500px) {
    .homepage-promo-bar {width:100%; display:block; overflow: hidden; margin:0 auto;}
    .homepage-promo-bar-third {width: 100%; float: none; text-align:center;}
	.homepage-promo-bar-fourth {width: 100%; margin: 1%; float: left;}
	.homepage-promo-bar img {max-height:50px;}
    
    

}