@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');


.container {
    max-width: 1000px;
}

#header>.container>.row, #portada>div>.container>.row, #diferencials .container .row {
    padding: 0px;
}


#portada {
    background-position: center center;
 background-size: cover;
}

#portada .row .col-md-8, #header .row .col-md-8 {
    flex: 0 0 62.5%;
    max-width: 62.5%;
} #portada .row .col-md-4, #header .row .col-md-4 {
    flex: 0 0 37.5%;
    max-width: 37.5%;
}

/* ┌──────────────────┐
   │      HEADER      │
   └──────────────────┘ */

#header img {
    margin: 10px 0px;
}

#header .phone {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px;
    background: rgba(68,67,65,1);
}

#header .phone * {
    margin: 10px;
}

#header .phone span {
    font-size: 18pt;
    color: rgb(232, 232, 232);
    font-family: 'Montserrat', sans-serif;
}



/* ┌──────────────────┐
   │    FORMULARI     │
   └──────────────────┘ */

.form-container {
    padding: 20px 30px;
    color: #fff;
    background-color: #c3002c;
}

.form-container * {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.form-container p {
    font-size: 14pt;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.form-container form label {
    font-size: 10pt;
    margin-bottom: 10px;
}

.form-container input, .form-container select, .form-container textarea {
    color: #444;
    font-size: 9pt;
    border-radius: 2px;
    width: 100%;
    border: none;
}

.form-container input, .form-container select {
    height: 32px !important;
}

.form-container a {
    text-decoration: underline;
}

.form-container input[type=submit] {
    margin-top: 25px;
    width: 100%;
    height: 35px !important;
    background: #fff;
    font-weight: 600;
    text-transform: uppercase;
    border-style: none;
}
.form-container button#envia {
    margin-top: 25px;
    width: 100%;
    height: 35px !important;
    background: #fff;
    font-weight: 600;
    text-transform: uppercase;
    border-style: none;
    color: #444;
    font-size: 9pt;
    border-radius: 2px;
}

.form-container input::-webkit-input-placeholder, .form-container input:-ms-input-placeholder, .form-container input::placeholder {
    color: #888888;
}

.form-container input[type=checkbox], .form-container input[type=radio] {
    width: 15px;
    height: 15px !important;
    margin-right: 5px;
}

.form-container input[type=checkbox] + label, .form-container input[type=radio] + label {
    display: contents;
}

option {
    color: #444 !important;
}




/* ┌──────────────────┐
   │   Text Portada   │
   └──────────────────┘ */

#portada .col-md-8 {
    padding: 60px;
    padding-left: 0;
}

#portada h1 {
    margin: 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 38pt;
    font-weight: 400;
    text-transform: uppercase;
    border: 5px solid #fff;
    border-left: none;
    border-right: none;
    line-height: 0.9;
    padding: 15px 0;
}

#portada h2 {
    padding: 20px 10px;
    color: #222222;
    background: rgba(255, 255, 255, 0.6);
    font-family: 'Montserrat', sans-serif;
    font-size: 12pt;
}



/* ┌──────────────────┐
   │ Caixes destacats │
   └──────────────────┘ */

#diferencials {
    padding: 30px 0;
}

#diferencials .container {
    padding: 0;
}

.box-icon {
    padding: 15px;
    min-height: 100%;
    text-align: center;
}

.box-icon img {
    width: auto;
    height: 80px;
}

.box-icon i.fas, .box-icon i.fab, .box-icon i.far {
    font-size: 42pt;
    color: #c3002c;
}


.box-icon p {
    margin: 10px 0 0;
    color: rgb(195, 0, 44);
    font-size: 13pt;
    font-family: 'Montserrat', sans-serif;
}



/* ┌──────────────────┐
   │    Perque UVic   │
   └──────────────────┘ */

#perque {
    padding: 25px;
    background-color: #e8e8e8;
}

#perque ul li {
    margin: 10px 0;
    color: rgb(68, 67, 65);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    text-align: center;
}

#perque ul, #footer ul {
    list-style-type: "• ";
    margin: 0;
    padding: 0;
    list-style-position: inside;
}

#perque h2 {
    display: flex;
    align-items: center;
    text-align: center;
    color: #c3002c;
    font-size: 26px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bolder;
}

#perque h2:before, #perque h2:after {
    content: '';
    border-top: 1px solid;
    margin: 0 10px 0 0;
    flex: 1 0 10px;
}

h2:after {
    margin: 0 0 0 10px;
}

@media (max-width: 750px) {
    #perque h2 {
        display: block;
    }
    #perque h2:before, #perque h2:after {
        content: '';
        border: none;
        margin: 0;
    }
    table.stylingblock-content-wrapper {
        min-width: 100%;
        table-layout: fixed;
    }
  }


/* ┌──────────────────┐
   │    new UVic   │
   └──────────────────┘ */

   #new {
    padding: 25px;
    background-color: #e8e8e8;
}

#new ul li {
    margin: 10px 0;
    color: rgb(68, 67, 65);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    text-align: start;
}

#new ul, #footer ul {
    list-style-type: "• ";
    margin: 0;
    padding: 0;
    list-style-position: inside;
}

#new h2 {
    display: flex;
    align-items: start;
    text-align: start;
    color: #c3002c;
    font-size: 26px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bolder;
}

#new h2:before, #new h2:after {
    content: '';
    border-top: 1px solid;
    margin: 0 10px 0 0;
    flex: 1 0 10px;
}

h2:after {
    margin: 0 0 0 10px;
}

@media (max-width: 750px) {
    #new h2 {
        display: block;
    }
    #new h2:before, #new h2:after {
        content: '';
        border: none;
        margin: 0;
    }
    table.stylingblock-content-wrapper {
        min-width: 100%;
        table-layout: fixed;
    }
  }

/* ┌──────────────────┐
   │      Footer      │
   └──────────────────┘ */

#footer {
    padding-bottom: 20px;
}

#footer .cuerpo p {
    color: rgb(68, 67, 65);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-align: center;
}

#footer .cuerpo {
    padding: 20px 0 5px;
}

#footer ul li {
    /*font-family: Droid Sans;*/
    font-size: 9px;
    color: rgb(68, 67, 65);
    text-align: center;
}



/* ┌──────────────────┐
   │     Partners     │
   └──────────────────┘ */

#partners {
    padding: 25px;
    background-color: #FFFFFF;
}
#partners div.container div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}
#partners h2 {
    display: flex;
    align-items: center;
    text-align: center;
    color: #c3002c;
    font-size: 26px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bolder;
}
#partners h2:before, #partners h2:after {
    content: '';
    border-top: 1px solid;
    margin: 0 10px 0 0;
    flex: 1 0 10px;
}
#partners img {
    max-width: 150px;
    max-height: 75px;
    margin: 15px 25px;
}
#partners img:first-child {
    margin-left: 0;
}





/* ╔═════════════════════════╗
   ║        RESPONSIVE       ║
   ╚═════════════════════════╝ */

@media screen and (max-width: 767px) { 
    div.row>div.col-md-3 {
        margin-bottom: 20px;
    }
}



@media (max-width: 775px) {
    #portada .row .col-md-8, #header .row .col-md-8 {
        flex: 100%;
        max-width: 100%;
        padding: 30px;
    } #header .row .col-md-8 img{
        width: calc(100vw - 60px);
        height: auto;
    } #portada h1 {
        font-size: 28pt;
        line-height: 30pt;
    } #portada .row .col-md-4, #header .row .col-md-4 {
        flex: 100%;
        max-width: 100%;
    }
    #diferencials .row {
        margin-bottom: -20px;
    }
    #diferencials .col-md-4 {
        margin: 10px 20px;
    }
}

@media screen and (max-width: 650px) {
    #partners div.container div {
        flex-direction: column;
    }
    #partners img, #partners img:first-child {
        margin: 20px auto;
    }
}