/*
Theme Name: Divi Child Theme
Description: Divi Child Theme
Template: Divi
Version: 1.0.0
*/

@import url("../Divi/style.css");
 
/* =Theme customizations
------------------------------------------------------- */

@media only screen and (min-width: 981px){

}
@media (max-width: 980px){.naglowek {padding: 1% 0 1% 6%!important;}}
.naglowek {padding: .5% 0 0 6%!important;}
/*
@media only screen and (min-width: 981px) and (max-width: 1245px){
.et-fixed-header #logo {max-height: 60px!important;}
}*/
@media only screen and (min-width: 981px){
.et-fixed-header #logo {
content: url(https://itm.sedn.pl/wp-content/uploads/2017/09/itm2.png);
transition: unset;}
}

@media only screen and (min-width: 981px) and (max-width: 1245px){
.home .nav > li:hover>ul {margin-top: auto;}
.nav > li:hover>ul {margin-top: -2.2em;}
}

#menu-item-695 > a, #menu-item-246 > a {pointer-events: none;}


/********* lines in menu ***************/
#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
 content: "";
 position: absolute;
 z-index: 2;
 left: 0;
 right: 0;
}
#top-menu li a:before {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 bottom: 40%;
 background: #5CB24C; /*** COLOR OF THE LINE ***/
 height: 2px; /*** THICKNESS OF THE LINE ***/
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.3s;
 transition-duration: 0.3s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}
#top-menu li a:hover {
 opacity: 1 !important;
}
#top-menu li a:hover:before {
 right: 0;
}
#top-menu li li a:before {
 bottom: 10%;
}
/********* lines in menu ***************/


.et_mobile_menu {
border-top: 3px solid #aeddd6;
}


.widget_media_image {margin-bottom: 0!important; max-width: 100%;}
@media (min-width: 768px){
.widget_media_image {
	display: inline-block;
    width: 31.333%;
    margin-right: 1%;}
}
@media (max-width: 767px){
#footer-widgets .footer-widget:nth-child(n), #footer-widgets .footer-widget .fwidget {margin-bottom: 2% !important;}
}

@media (max-width: 980px){
.footer-widget:nth-child(n) {
    width: 100%!important;}
#footer-widgets .footer-widget .fwidget {
    margin-bottom: 1em;
}}

#text-2 {color: #333; font-size: xx-small; text-align: center; margin-bottom:0; font-weight: 600; line-height: normal; width: 500px; margin: auto;}
#text-3 {color: #333; font-size: xx-small; text-align: center; text-transform: uppercase; margin-bottom: 2em!important; font-weight: 700;}

@media (min-width: 981px){
#footer-widgets {
    width: 80%;
    margin: auto;}
}

.et_pb_gutters3.et_pb_footer_columns1 .footer-widget {margin-bottom: 0;}
.fwidget img {margin: auto; display: block;}
.fwidget .et_pb_widget, .et_pb_widget {float: none!important;}


@media (min-width: 1128px){.et_header_style_left #et-top-navigation nav>ul>li, .et_header_style_split #et-top-navigation nav>ul>li {padding-right: 3em;}
.home .et_search_form_container {width: 760px; top: 0.4em;}
}
@media (min-width: 981px) and (max-width:1127px){
.et_header_style_left #et-top-navigation nav>ul>li, .et_header_style_split #et-top-navigation nav>ul>li {padding-right: 2em;}
.home .et_search_form_container {width: 670px;}
}
@media (min-width: 981px){
.home #et-top-navigation {display: table; margin: auto; float: none; padding-left: 0!important;}
.home #main-header .container.et_menu_container {width: 100%;}
}


/*---------------------
@media (min-width: 981px) and (max-width: 1246px){
.home #top-menu-nav {max-width: unset;}
#top-menu-nav{max-width: 535px;}
}
@media (min-width: 981px) and (max-width: 1129px){
.home #et-top-navigation {display: table; margin: auto; float: none; padding-left: 0!important;}
.home #main-header .container.et_menu_container {width: 100%;}
}
@media (min-width: 981px){
#main-header .container.et_menu_container {
    max-width: 1170px!important;
}}

#et-top-navigation {
    display: flex;
}
---------------------*/


.et_pb_widget ul li {
    margin-bottom: 1.5em;
    line-height: 1em;
}
.et_pb_column_1_3 h4, .et_pb_column_1_4 h4 {
    padding-bottom: 1.2em;
    font-weight: 600;
}


 /*** LAB ***/ .menu-icon-1 a:before { content: "https://itm.sedn.pl/wp-content/uploads/2017/07/lab.png"; }
 /*** SCIENCE ***/ .menu-icon-2 a:before { content: "https://itm.sedn.pl/wp-content/uploads/2017/07/science.png"; }
 /*** COSMETICS ***/ .menu-icon-3 a:before { content:url('/wp-content/uploads/2017/07/cosmetics2.png'); }
 /*** LIEF ***/ .menu-icon-4 a:before { content:url('/wp-content/uploads/2017/07/lief2.png'); }
 /*** CUTLERY ***/ .menu-icon-5 a:before { content:url('/wp-content/uploads/2017/07/cutlery2.png'); }

.menu-icons a {  padding-left: 20px;  }
#menu-item-1183 {visibility: hidden;}
@media (min-width: 510px){
#top-menu li li a {width: 280px;}
.menu-icons {width: 380px;}
.nav li li ul {width: 380px;}
.menu-icons a {width: 345px!important;}
.nav li ul {width: 300px;}
.fullwidth-menu li li a {width: 280px;}
.nav li li {line-height: 2.8em; width: 260px;}
.nav li li ul {left: 300px;}
}


/**************************** toggle custom 3  **************************/

.toggle_custom_3 .et_pb_tabs_controls li {
	padding: 1% 0;
    width: 100%;
}

.toggle_custom_3.et_pb_toggle {
    border: none;
    border-bottom: 2px solid #90d6d6;
    transition: 0.4s
}

.toggle_custom_3.et_pb_toggle_open{
    border-bottom: 4px solid #57b1b2 !important;
    }

.toggle_custom_3 .et_pb_toggle_title:before {
    font-size: 50px !important ;
    content: "3" !important;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.toggle_custom_3.et_pb_toggle_open .et_pb_toggle_title:before {
    color: #57b1b2;
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}