/*
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
*/

/* Contact Form 7 */

/* 1 - When defining contact form inputs we use div elements so that br elements are not automatically added */ 

.wpcf7 .accept-policies {
    padding: 1rem 0;
}

.wpcf7 .submit-request {
    position: relative;
}

/* 2 - highlight required inputs */

.wpcf7 label sup {
    font-weight: 700;
    color: red;
}

/* 3 - style the accept checkboxes */

.wpcf7-list-item {
    margin: 0 0 0 0 !important; 
}

.wpcf7-list-item-label {
    text-transform: none !important;
}

/* 4 - restyle invalid input warning */

.wpcf7-not-valid {
    border-color: red !important;
}

.wpcf7-form .wpcf7-not-valid-tip {
    padding: 0;
    box-shadow: none !important;
    color: red !important;
    font-size: 13px;
    line-height: 24px;
    text-transform: uppercase;
    text-align: right;
}

/* 5 - restyle submit, having the spinner overlayed over the button. */

.wpcf7-submit {
    width: 100% !important;
}

.wpcf7-spinner {
    position: absolute;
    left: 0;
    top: 12px;
}

/* 6 - restyle response output */

.wpcf7 form .wpcf7-response-output {
    margin: 0;
    font-weight: 600;
    font-size: 15px;
    line-height: 23px;
    text-align: left;
    border-width: 10px 3px 3px 3px; 
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 5px;
}

/* 7 - hide the form submitted info before redirect  */

.wpcf7-form.sent .form-submitted-info {
    display: none !important;
}

/* FancyBox */

/* 8 - hide the row on the page that contain the content that will be shown in using the lightbox */

#termeni-si-conditii,
#politica-de-confidentialitate {
    display: none;
}

.fancybox-content {
    border-radius: 5px;
    margin: 20px;
}

.fancybox-close-small { 
    background-color: #1C67D2 !important;
    color: #ffffff !important;
}
