/*
 Theme Name:   Infocentrum WP theme
 Theme URI:    http://www.infocentrum.hu
 Description:  Infocentrum theme, based on Divi
 Author:       Gyula Berzsan
 Author URI:   http://www.infocentrum.hu
 Template:     Divi
 Version:      1.1.0
 Tags:         responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 Text Domain:  Divi-child
*/

/*Alap hatterszinek*/

#main-content .container {
    padding-top: 35px;
    background: #e8e8e8;
    padding-left: 35px;
    padding-right: 35px;
}

#main-content {
  /*background-color: #e8e8e8;*/
  background-color: #666666;
}

.et_fixed_nav #main-header, .et_fixed_nav #top-header {
    position: fixed;
    background-color: #3c3c3c;
}

/*   ---- Alap hatterszinek vege ----  */

h1, h2, h3, h4, h5, h6 { 
	padding-bottom: 20px; 
	color: #555555; 
	font-weight: 500; 
	line-height: 1em; 
}

h1 {
    font-size: 30px;
    color: #ff910b;
    border-bottom: 1px solid #ff910b;
	padding-bottom: 5px;
}

h3 {
    margin-top: 30px;
}

#left-area h4 {
    margin-top: 15px;
}
.et_color_scheme_orange a {
    color: #ffa40b;
}
.et_color_scheme_orange a:hover {
    text-decoration: underline;
}
#footer-widgets .footer-widget a, #footer-widgets .footer-widget li a, #footer-widgets .footer-widget li a:hover {
    color: #cccccc !important;
    text-decoration: none;
    font-size: 13px;
}

.footer-widget .et_pb_widget div, .footer-widget .et_pb_widget ul, .footer-widget .et_pb_widget ol, .footer-widget .et_pb_widget label {
    line-height: 1.4em;
}

#footer-info {
    float: none;
    padding-bottom: 10px;
    color: #888 !important;
    text-align: center;
}

#footer-widgets {
    margin-left: 2%;
}

#main-footer {
    background-color: #3c3c3c;
	border-top: 8px solid #666;
}

.main_title {
    margin-bottom: 30px !important;
}

/* Bold active menu item*/
nav#top-menu-nav li.current-menu-item {
	font-weight: bold; 
}

/* Size of all iframe which show order form */
iframe#orderframe {
    height: 780px;
    width: 100%;
}

/* Size of all iframe which show download form */
iframe#downloadframe {
    height: 325px;
    width: 100%;
}

/* Sidebar widgets */
div#sidebar div.widget_custom_html {
  border: 1px solid #e6e6e6;
  background-color: #fcfcfc;
}

div#sidebar div.widget_custom_html .widgettitle {
  padding: 5px;
  background-color: #dbdbdb;
}
div#sidebar div.widget_custom_html .custom-html-widget {
  padding: 5px;
}

/* Hide thick line between content and sidebar */
#main-content .container::before {
  width: 0px !important;
}

/* restore Divi img margin to default */
img {
  margin-left: 7px;
  margin-right: 7px;
}

.et_pb_widget ul li {
    list-style-position: inside;
    list-style-type: initial;
}

/* restore Divi ul padding */
#left-area ul, .comment-content ul, .entry-content ul, body.et-pb-preview #main-content .container ul {
    padding: 0 0 23px 3em;
}

#footer-widgets {
    padding: 10px 0 10px 0;
}

/* disable phone margin */
@media (max-width:480px) {
  .container {
    width: 100%;
  }
}

/**/

h1.main_title.news-header a {
  text-decoration-line: none;
}

/*SEARCH*/
@media (min-width: 981px) {
  #et-top-navigation #et_top_search{
    display: none;
  }
}

