/*--------------------------------------------------------------
GLOBAL
--------------------------------------------------------------*/
.section-page{
    position: relative;
    width: 100%;
}

.section-page .title{
    margin-bottom: 30px;
}

.section-page .title h6{
    text-decoration: underline;
    font-size: 18px;
    color: var(--red-ribbon);
    font-weight: 900;
}

.section-page .big-title{
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.section-page .big-title h1{
    color: var(--biscay);
    font-size: 50px;
    font-weight: 900;
}

.section-page .par{
    font-size: 18px;
    color: var(--biscay);
}

.section-page .badge-style{
    background: var(--biscay);
    padding: 15px 30px;
    box-shadow: 0 0 24px 0 rgba(0,0,0,.1);
}

.section-page button.badge-style{
    display: flex;
}

.section-page button.badge-style:hover span{
    text-decoration: underline;
}

.section-page button.badge-style > span:last-child{
    margin-left: 5px;
    color: var(--red-ribbon);
}

.section-page .badge-style > *{
    color: var(--white);
    text-shadow: var(--text-shadow);
    font-size: 18px;
    font-weight: 600;
}

.container-fluid{
    max-width: 1200px;
    width: 100%;
    padding: 80px 20px;
    margin: 0 auto;
}

.bg-img{
    width: 100%;
}

.container-absolute{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}


/*--------------------------------------------------------------
HEADER
--------------------------------------------------------------*/
.header-page{
    position: relative;
}

.header-page .content{
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 -5px 17px -5px rgba(0,0,0,.3);
}

.header-page .top{
    background: var(--red-ribbon);
    border-radius: 0 30px 30px 0;
    padding: 20px 15px;
    top: 100px;
    left: 0;
    box-shadow: 0 0 24px 0 rgba(0,0,0,.2);
    display: inline-block;
    position: absolute;
    width: 250px!important;
}

.header-page .top > *, .header-page .center *{
    color: var(--white);
    text-shadow: var(--text-shadow);
}

.header-page .top h2{
    font-size: 33px;
    font-weight: 900;
}

.header-page .top span{
    font-size: 13px;
    font-weight: 600;
}

.header-page .center{
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}

.header-page .center > div{
    display: flex;
}

.header-page .center > div > *{
    font-size: 63px;
    font-weight: 900;
}

.header-page .center > div > h1:last-child{
    color: var(--red-ribbon)
}


/*--------------------------------------------------------------
FIRST SECTION
--------------------------------------------------------------*/
.first-section .badge-style{
    position: absolute;
    top: 50px;
    right: 0;
}


/*--------------------------------------------------------------
SECOND SECTION
--------------------------------------------------------------*/
.second-section{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 12px 0 rgba(0,0,0,.2)
}

.second-section .container-fluid{
    padding-bottom: 120px;
}

.second-section ul{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.second-section li{
    width: 330px;
}

.second-section li h2{
    font-size: 43px;
    color: var(--red-ribbon);
    font-weight: 900;
    margin-bottom: 10px;
}

.second-section ul + div{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
}

.second-section .badge-style h4{
    font-size: 30px;
    font-weight: 900;
}


/*--------------------------------------------------------------
THIRD SECTION
--------------------------------------------------------------*/
.third-section .container-fluid{
    padding-top: 120px;
}

.third-section ul{
    margin-left: 20px;
    max-width: 700px;
}

.third-section ul li{
    list-style-image: url('../images/list.png');
    margin-top: 10px;
}

.third-section .badge-style{
    margin-top: 30px;
}

.third-section .photo{
    position: absolute;
    top: 100px;
    right: 0;
}

.third-section .photo img{
    height: 300px;
}


/*--------------------------------------------------------------
FOURTH SECTION
--------------------------------------------------------------*/
.fourth-section {
    background: #eaeaea;
}

.fourth-section .histories {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fourth-section .histories li {
    margin-top: 25px;
    width: 45%;
}

.histories h2 {
    font-size: 30px;
    color: var(--biscay);
    font-weight: 300;
}

.histories p {
    font-size: 17px;
    color: var(--biscay);
    margin-top: 20px;
}

.fourth-section .histories button {
    background: none;
    border: 2px solid var(--red-ribbon);
    padding: 10px 40px;
    margin-top: 25px;
    box-shadow: none;
}

.fourth-section .histories button span {
    text-shadow: none;
}

#modal-history .modal-dialog {
    max-width: 1024px;
}

#modal-history .bootbox-close-button {
    color: var(--red-ribbon);
    font-weight: bold;
}

#modal-history .histories li {
    display: none;
}

#modal-history .histories p {
    margin-top: 40px;
}


/*--------------------------------------------------------------
FOOTER
--------------------------------------------------------------*/
.footer-page{
    box-shadow: inset 0 5px 17px -5px rgba(0,0,0,.2);
}

.footer-page .container-fluid{
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-page .content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-page .content > div{
    display: flex;
}

.footer-page .content > div > h2:first-child{
    font-weight: 500;
    margin-right: 10px;
}

.footer-page .content > div > h2, .footer-page .content a i{
    color: var(--white);
    text-shadow: var(--text-shadow);
}

.footer-page .content > div > h2{
    font-size: 25px;
}

.footer-page .content a i:before{
    font-size: 35px;
}


/*--------------------------------------------------------------
FORM CONTACT
--------------------------------------------------------------*/
.form-contact input:not([type="checkbox"]):not(:first-child){
    margin-top: 15px;
}

.form-contact input:not([type="checkbox"]) {
    width: 100%;
    padding: 15px;
    font-size: 15px;
    color: var(--gray);
    border: 1px solid #e5e5e5;
    background: var(--gallery);
}

.form-contact .checkboxes{
    position: relative;
}

.form-contact .checkboxes input{
    position: absolute;
    opacity: 0;
}

.form-contact .checkboxes label{
    display: flex;
    cursor: pointer;
    align-items: center;
    font-size: 11px;
    margin-top: 15px;
}

.form-contact .checkboxes label:before, .checkboxes label:after{
    font: normal normal normal 24px/1 "Material Design Icons";
    margin-right: 10px;
    transition: 0.4s
}

.form-contact .checkboxes label:before{
    content:"\F012E";
    color: var(--gray)
}

.form-contact .checkboxes label:hover:before{
    content:"\F012E";
    color: var(--red-ribbon)
}

.form-contact .checkboxes input:checked + label:before{
    content:"\F0132";
    color: var(--red-ribbon)
}

.form-contact .checkboxes i{
    margin-right: 5px
}

.form-contact .checkboxes a{
    color: var(--boulder);
    text-decoration: underline
}

.form-contact button {
    width: 100%;
    padding: 20px;
    font-size: 15px;
    font-weight: bold;
    color: var(--white);
    background: var(--biscay);
    text-transform: uppercase;
    margin-top: 30px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, .15);
    text-shadow: 0 0 4px rgba(0, 0, 0, .1);
    transition: .4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-contact button div{
    display: none;
}

.form-contact button:hover, .form-contact button:focus {
    background: var(--red-ribbon);
}

.form-contact .input-danger{
    border-color: #f0506e!important;
}

.form-contact .checkboxes label.input-danger:before{
    color: #f0506e!important;
}


/*--------------------------------------------------------------
MEDIA QUERIES
--------------------------------------------------------------*/
@media screen and (max-width: 1500px) {
    .third-section .photo img{
        height: 250px;
    }

    .section-page .big-title h1{
        font-size: 40px;
    }
}

@media screen and (max-width: 1366px) {
    .header-page .top{
        top: 30px;
    }

    .header-page .content{
        align-items: flex-end;
    }

    .header-page .content .center{
        margin-bottom: 100px;
    }

    .section-page .big-title h1{
        font-size: 35px;
    }

    .section-page .par{
        font-size: 17px;
    }

    .second-section .badge-style h4{
        font-size: 25px;
    }
}

@media screen and (max-width: 1200px) {
    .header-page .top{
        width: auto!important;
    }

    .section-page .big-title h1{
        font-size: 30px;
    }

    .third-section .photo{
        display: none;
    }

    .third-section ul{
        max-width: 100%;
    }
}

@media screen and (max-width: 1100px) {
    .second-section ul{
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .second-section ul li:not(:first-child){
        margin-top: 20px;
    }
}

@media screen and (max-width: 1024px) {
    .header-page .content .center{
        margin-bottom: 30px;
    }

	.fourth-section .histories {
        flex-direction: column;
        margin-top: 20px;
    }

    .fourth-section .histories li {
        width: 100%;
    }

    .fourth-section .histories p {
        font-size: 14px;
    }
}

@media screen and (max-width: 800px){
    .container-fluid{
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .header-page .center > div > *{
        font-size: 43px;
    }

    .header-page .top h2{
        font-size: 25px;
    }

    .header-page .top span{
        font-size: 12px;
    }

    .second-section .container-fluid{
        padding-bottom: 80px;
    }

    .third-section .container-fluid{
        padding-top: 80px;
    }
}

@media screen and (max-width: 690px) {
    .header-page .top{
        display: none;
    }

    .first-section .badge-style{
        display: none!important;
    }

    .header-page .content{
        align-items: center;
    }

    .header-page .content .center{
        margin-bottom: 0;
    }

    .footer-page .content > div > h2{
        font-size: 16px;
    }
}

@media screen and (max-width: 500px) {
    .header-page .center > div > *{
        font-size: 33px;
    }

    .header-page .content .center span{
        font-size: 12px;
    }

    .second-section .badge-style h4{
        font-size: 14px;
    }

    .third-section .badge-style{
        width: 100%;
    }

    .footer-page .content > div{
        flex-direction: column;
    }
}
