/*
Theme Name:   Divi child theme
Description:  Write here a brief description about your child-theme
Author:       LeMark Web Design
Author URL:   http://michalmnich.pl
Template:     Divi
Version:      1.0
Text Domain:  Divi-child
*/

/* pasword protected site*/

.et_password_protected_form {
    min-height: initial;
    padding: 100px;
    max-width: 700px;
    margin: auto;
}
 
.et_password_protected_form .et_submit_button {
    background: #8dc63f;
    color: white!important;
    border: 2px solid #8dc63f;
}
 
.et_password_protected_form .et_submit_button:hover {
    background: white;
    color: #8dc63f!important;
}
 
@media (max-width: 479px) {
.et_password_protected_form {
    padding: 40px;
}
}

.hero {
	background: linear-gradient(180deg, #274169 35.42%, #000000 72.4%, #000000 100%);
}

/*place button modules next to each other in the same column*/
.pa-inline-buttons .et_pb_button_module_wrapper {
    display: inline-block;
}


/*increase the height of the Divi icon picker area*/
.et-db #et-boc .et-l .et-fb-font-icon-list {
  min-height: 400px!important;
}

/* margin for columns in producky column */
.et_pb_gutters2 .et_pb_column, .et_pb_gutters2.et_pb_row .et_pb_column {
	margin-right: 1%;
	margin-left: 1%;
}
/* czarny tekst dla success message */
#kontakt_formularz .et-pb-contact-message {
	color: black;
}

/* MEDIA QUERIES */

@media (min-width: 981px) {

#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: 50%;
 background: #E2B621; /*** 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%;
}

.et-pb-contact-message {
	color: white;
}

/*Top menu lines */
#top-menu-sticky .current-menu-item a::before,
#top-menu-sticky .current_page_item a::before {
 content: "";
 position: absolute;
 z-index: 2;
 left: 0;
 right: 0;
}
#top-menu-sticky li a:before {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 bottom: 30%;
 background: #E2B621; /*** 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-sticky li a:hover {
 opacity: 1 !important;
}
#top-menu-sticky li a:hover:before {
 right: 0;
}
#top-menu-sticky li li a:before {
 bottom: 10%;
}
}

/* Fotter menu won't be hamburger menu */
@media (min-width: 768px) and (max-width: 980px) {
    .lwp-hide-mobile-menu.et_pb_menu .et_pb_menu__menu,.lwp-hide-mobile-menu.et_pb_fullwidth_menu .et_pb_menu__menu {
        display: flex!important;
    }
 
    .lwp-hide-mobile-menu .et_mobile_nav_menu {
        display: none;
    }
}

.et_pb_contact_form_0 .et_pb_contact_main_title {
	margin-bottom:  50px;
}

/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
 .et_pb_contact_form_0 .et_pb_contact_main_title {
	margin-bottom:  20px;
}
}

@media  (min-width: 1500px) and (max-width: 1700px) {
	a.et_pb_button.et_pb_button_1.btn-inline.et_pb_bg_layout_light, a.et_pb_button.et_pb_button_0.btn-inline.et_pb_bg_layout_light {
	padding-right: 10px!important;
	padding-left: 10px!important;
}
}



