/*
 * Globals
 */


/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
    color: #333;
    text-shadow: none; /* Prevent inheritance from `body` */
}


/*
 * Base structure
 */

body {
    text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
    max-width: 42em;
}


/*
 * Header
 */

.nav-masthead .nav-link {
    padding: .25rem 0;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
    background-color: transparent;
    border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
    border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
    margin-left: 1rem;
}

.nav-masthead .active {
    color: #fff;
    border-bottom-color: #fff;
}
.none{display: none;}
.footer{
    position: relative;
    width: 100%;
    background-color: #988B83;
    background-image: url("../images/foto-piscina.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}
.footer:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.70);
    z-index: 0;
}
.cover-container .footer{max-width: 100%;}

.bg-primary{
    background: rgb(131,58,180);
    background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
}
/*.bg-primary{
    background: rgb(115,34,33);
    background: linear-gradient(90deg, rgba(115,34,33,1) 0%, rgba(152,139,131,1) 100%);
}*/
.btn.btn-primary{
    background-color: #bd2c6b;
    border-color: #bd2c6b;
}
.btn.btn-primary:hover{
    background-color: #EF202E;
    border-color: #EF202E;
}
.bg-form{
    position: relative;
    width: 75%; 
    height: 85%; 
    margin: 7.5% 12.5%; 
    padding: 50px;
    background-color: #f3f6ff; 
    border-radius: 10px;
    z-index: 1;
}
.txt-breve{
    text-shadow: -1px -1px 1px rgba(255,255,255,.1), 2px 5px 4px rgba(0,0,0,.5);
}
.form_load{
    width: 25px;
    margin-top: 5px;
    float: left;
}

/*TRIGGER*/
.trigger{
    position: relative;
    width: 100%;
    padding: 15px;
    background: #333;
    font-size: 1em;
    font-weight: 500;
    color: #fff;
    margin-bottom: 15px;
}

.trigger_none{margin-bottom: 0;}
.trigger p{margin-top: 10px;}
.trigger_ajax{display: none; cursor: pointer;}
.trigger_success{background-color: #00B494;}
.trigger_info{background-color: #0E96E5;}
.trigger_alert{background-color: #FAAD50;}
.trigger_error{background-color: #F45563;}

.trigger_modal{
    position: fixed;
    right: 0;
    top: 0;
    width: 460px;
    max-width: 80%;
    padding: 20px 20px 0 0;
    cursor: pointer;
    z-index: 999;
}
.trigger_modal .trigger_ajax{
    position: relative; 
}

.trigger_modal .trigger_ajax .ajax_close{
    position: absolute;
    right: 10px;
    top: 10px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #6c757d;
}
.trigger_modal .trigger_ajax .ajax_close:after{
    content: 'X';
    margin-left: 6px;
    line-height: 1.5;
    color: #f8f9fa;
}

.trigger_modal .trigger{
    padding: 20px 20px 6px;
    margin: auto 30px auto auto;
}
.contraste{
    padding: 5px 15px;;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: #dc3545;

}


/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .headline{font-size: 1.5em;}
    .tagline{padding-left: 1.5rem!important; padding-right: 1.5rem!important;}
    
} 

/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .headline{font-size: 1.6em;}
    .tagline{padding-left: 1.7rem!important; padding-right: 1.7rem!important;}
    .logo-bragatina{width: 80%; margin: 0 auto;}
    .casa-verde{padding-bottom: 40px;}
    ul.list-address{padding-left: 1.3em !important; margin-left: 1.3em;}
    .btn-bragantina{margin-bottom: 1.3rem !important;}
}

/* `lg` applies to medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .w-50{
        width: 100% !important;
    }
    .bg-form{
        width: 85%; 
        margin: 7.5%; 
        padding: 20px;
    }
    .wc_actions.btn-footer{
        width: 100% !important;
    }
}
@media (min-width: 992px) { 
    .wc_actions.btn-footer{
        width: 40% !important;
    }
}


/* `xl` applies to large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .p-5 { padding: 2rem!important; }
    .casa-verde{width: 75%;}
}

/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media (min-width: 1400px) {
    .p-5 { padding: 3rem!important; }
    .casa-verde{width: 85%;}
} 