/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


@media(max-width: 999px) {
    .mobile-only {
        display: block;
    }
    .desktop-only {
        display: none;
    }
}

@media(min-width: 1000px) {
    .mobile-only {
        display: none;
    }
    .desktop-only {
        display: block;
    }
}


/* Home page */

.home-icons .iwithtext .iwt-icon img {
    width: 77px !important;
}

.home-icons .iwithtext .iwt-text {
    padding-left: 97px;
}


/* Cart & Checkout */

.woocommerce-cart .woocommerce-message a {
    display: none;
}

.woocommerce-cart #top nav,
.woocommerce-cart #top .mobile-icon,
.woocommerce-checkout #top nav,
.woocommerce-checkout #top .mobile-icon {
    display: none !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}


/* Style fixes */

.page-template-template-no-header-footer .container-wrap { background: #fafafa !important; }

.nectar-fancy-ul ul li {
	padding-left: 26px;
}

.nectar-fancy-ul ul li i,
.nectar-fancy-ul ul li i.icon-default-style{
	top: 2px;	
}

.wpcf7 .wpcf7-submit:disabled {
  background-color: #cccccc;
}


/* PPWP template override */

.ppw-ppf-input-container {
    max-width: 750px;
    margin: 0 auto;
}

.ppw-ppf-headline p {
    text-align: justify;
}

@media(max-width: 700px) {
    .ppw-ppf-headline p {
        text-align: left;
    }
}

.ppw-ppf-desc {
    margin-top: 20px;
}

.ppw-ppf-field-container {
    margin-top: 20px;
}

.ppw-ppf-field-container input[type="submit"] {
    margin: 20px auto;
}



/* Video embeds */

.video-embed { padding: 56.25% 0 0 0; position: relative; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.chat-embed { padding: 112% 0 0 0; position: relative; }
.chat-embed iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important;}

@media (min-width: 650px) and (max-width: 999px) {
    .chat-embed { padding: 56.25% 0 0 0; position: relative; }
}

@media (min-width: 450px) and (max-width: 649px) {
    .chat-embed { padding: 112% 0 0 0; position: relative; }
}

@media (max-width: 449px) {
    .chat-embed { padding: 125% 0 0 0; position: relative; }
}

.alert-holder { display: none; }



/* Stylizacja newslettera */

.freshMailPopUp__body .form_subscribe p {
	padding: 0 !important; margin: 0 !important;
}

.freshMailPopUp__body .form_subscribe input.field {
    margin-bottom: 15px;
}

.freshMailPopUp__body .form_subscribe input.field::placeholder {
    color: #606060;
}

.freshMailPopUp__body .form_subscribe .form_subscribe_button {
    width: 250px !important; height: auto !important;
    padding-left: 30px !important; padding-right: 30px !important; margin-top: 15px;
    font-weight: 700 !important;
}

#freshMailPopUp__background {
    margin-bottom: 0;  /* margin fix */
}



/* Konferencja TYCHY */

.tychy-quote {
    position: relative;
}

.tychy-quote::before {
    width: 40px; height: 40px; content: '"';
    position: absolute; top: 0; left: 0;
    color: #e0e0e0;
    font-family: serif; font-size: 150px; line-height: 1em; font-style: italic; 
}

.tychy-quote p {
    padding-left: 100px;
    font-size: 19px; line-height: 1.75em; font-style: italic;
}

@media(max-width: 990px) {
    .tychy-quote p {
        padding-left: 40px;
    }
}

.tychy-znaczek {
    position: absolute !important;
	  bottom: 0; right: 0;
}

@media(max-width: 990px) {
	.tychy-znaczek {
		position: relative !important;
	}
}

.tychy-kontakt h5 {
	margin: 0 !important;
}

.tychy-kontakt h6 {
	margin: 2px 0 10px 0 !important;
	font-weight: 400 !important;
}

.tychy-kontakt .iwithtext {
	margin: 6px 0 0 0 !important;
}

.tychy-kontakt .iwithtext .iwt-text {
	padding-left: 40px;
	padding-top: 3px;
}


/* Kondycja psychiczna nastolatków */

.kondycja-znaczek-zapisy {
    position: absolute !important;
	  bottom: 0; left: 380px;
}

@media(max-width: 700px) {
	.kondycja-znaczek-zapisy {
		position: relative !important;
        left: 0;
	}
}