:root {
    --red: #E42320;
}

html {
    overflow-x: hidden !important;
}

.red {
    color: var(--red);
}

body {
    font-family: 'montserrat-medium';
}

.bg-gray {
    background-color: #f0f0f0 !important;
}

.flex-row {
    display: flex;
    flex-direction: row !important;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.gap2 {
    gap: 1rem;
}

#media {
    background-image: url(../images/projeto_cy-images/media-banner.webp) !important;
}

#newsletters {
    background-image: url(../images/projeto_cy-images/banner-newsletters.webp) !important;
}

#news {
    background-image: url(../images/projeto_cy-images/banner-news.webp) !important;
}

body .services-bg {
    /*background-image: url(../images/projeto_cy-images/services-bg.webp) !important;*/
    background-image: url() !important;
}

#services {
    background-image: url(../images/projeto_cy-images/offshore-bg.webp) !important;
    background-position: top;
}



#services .main-title h1 b {
    font-weight: 600;
    text-shadow: 3px 4px 23px #000;
}

#blades {
    background-image: url(../images/projeto_cy-images/blades-bg-principal-min.png) !important;
}

#repowering {
    background-image: url(../images/projeto_cy-images/repowering-bg-principal-min.jpg) !important;
}

#installation {
    /*background-image: url(../images/projeto_cy-images/installation-bg-principal-min.png) !important;*/
    background-image: url();
}

#retrofitting {
    background-image: url(../images/projeto_cy-images/retrofitting-bg-principal-min.png) !important;
}

#operation-maintenance {
    background-image: url(../images/projeto_cy-images/opm-banner.webp) !important;
}

#other-specialized-services {
    background-image: url(../images/projeto_cy-images/oss-banner.webp) !important;
}


.padding-right {
    padding-right: 7rem !important;
}

.media .subtitle-about,
.services .subtitle-about
 {
    margin-bottom: 2rem !important;
}

.mpt-3 
{
    padding-top: 3rem;
}

.mpb-3 {
    padding-bottom: 3rem;
}

.mpl-3 {
    padding-left: 3rem;
}
.mpr-3 {
    padding-right: 3rem;
}


.media .newsletters .news-infos {
    position: inherit !important;
}

.media .cat-news {
    color: #ee322e !important;
}

.media .news-item:hover {
    transition: all 300ms ease-in;
}

.media .news-item:hover .cat-news {
    color: #fff !important;
    
}

.media .news .news-infos {
    width: 100% !important;
}

.media .news .title-news,
.media .fevents .title-news
{
    min-height: 10px;
}

.media .news .title-news, 
.media .news .date-news,
.media .fevents .title-news,  
.media .fevents .date-news 
{
    color: #fff !important;
}

.media .news .cls-wa
{
    fill: #fff !important;
}

.media .news-infos .date-news {
    margin: 0rem !important;
}

.media .fevents#working-at .news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    font-family: 'montserrat-medium';
    gap: 2rem;
}

.media .fevents .mycontainer.flex {
    display: flex;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
}


.fdiv {
    width: 100%;
}

.seemorediv {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    top: 50%;
    right: -4%;
   
}

.seemoresvg {
    margin-left: -33px;
    width: 55px !important;
}

.seemoretext {
    background-color: #AE1917;
    padding: 10px 42px 10px 24px;
    border-radius: 50px;
    font-size: 1.2rem;
    color: #fff;
    font-family: 'montserrat-medium';
}

.divseemore {
    position: relative;
}



/* Social Responsibility Projects tabs */
.tab {
    display: inline-block;
    padding: 10px 15px;
    margin-right: 10px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.media #tabbed-nav {
    gap: 11rem;
}


.tab.active {
    position: relative;
}
.tab.active:after {
    content: url('../images/projeto_cy-images/down-arrow.svg');
    width: 35px;
    position: absolute;
    bottom: -60px;
    left: 50%;
}

.images {
    display: none;
}

.images.active {
    display: flex;
    flex-wrap: wrap;
}

.images img {
    flex: 1;
}


.media .tab.active > img { 
    filter: grayscale(0) !important;
}

.media .tab > img {
    filter: grayscale(1) !important;
}

.news .news-item {
    position: relative !important;
}
/* Social Responsibility Projects tabs */


/* CALENDARY */
.fc-header-toolbar .fc-left h2 {
    font-size: 2rem;
    font-weight: 600;
    font-family: 'montserrat-medium';
}

.fc-today-button {
    background: transparent;
    background-color: none;
    border-radius: 50px;
    border: 1px solid #ee322e;
    color: black;
    font-size: 1rem;
}

.fc-next-button,
.fc-prev-button {
    background: #D03A2E;
    border: none;
    padding: 7px 5px 7px 5px;
    border-radius: 50% !important;
    color: #fff;
}

.fc-prev-button {
    margin-right: 1em !important;
}

.fc button {
    padding: 0 .5em !important;
}

.newsletters .mycontainer.flex.justify,
.calendar .mycontainer.flex.justify
  {
    margin-top: 0px;
}

.fc-day-header {
    font-size: 1.5rem;
    background: gray;
    padding: 15px !important;
    color: #fff;
    border-right: 2px solid #fff;
}

.fc-day-header.fc-sat,
.fc-day-header.fc-sun 
{
    background-color: #E42320;
}


.fc-content-skeleton .fc-sat, 
.fc-content-skeleton .fc-sun
{
    color: #E42320;
}


.fc-day-number {
    font-size: 1.3rem;
    
}

.fc-basic-view .fc-day-number {
    padding: 5px 15px;
}

.fc-title {
    font-size: 1rem;
    color: #fff;
}


.fc-event {
    border-radius:  0px;
    border: 1px solid #008AA5;
    background-color: #008AA5;
}

.fc-unthemed td.fc-today {
    background: #e3bebe;
}

/* CALENDARY */

/* MODAL */
 /* Basic styling for the modal */
 .modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    z-index: 33333 ;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* MODAL */



/* SERVICES */
.services .subtitle-about p {
    font-size: 2.5rem !important;
    line-height: 45px !important;
}

.services .infotext {
    font-size: 1.2rem !important;
    font-family: 'montserrat-regular';
}

.services .tab {
    position: relative;
}

.services .tab-title {
    position: absolute;
    bottom: 30px;
    left: 50%;
    color: #fff;
    font-size: 2rem;
    font-family: 'montserrat-medium';
    text-align: center;
    transform: translate(-50%, -50%)
}

.services .tab-title2 {
    bottom: -18px;
}

.services .tab:hover:after {
    content: url('../images/projeto_cy-images/down-arrow2.svg');
    width: 30px;
    position: absolute;
    bottom: 20px;
    left: 47%;
}


.services .tab.active:after {
    content: url('../images/projeto_cy-images/down-arrow2.svg');
    width: 30px;
    position: absolute;
    bottom: 20px;
    left: 47%;
}

.redinfotext {
    background-color: #E42320;
    margin-top: 6rem;
    padding: 3rem 2rem;
    color: #fff;
    max-width: 430px;

}

.services .redinfotext p {
    font-size: 1.2rem !important;
    font-family: 'montserrat-regular';
}

.serv-div1 {
    margin-right: 4rem;
}

.serv-div2 {
    width: 65% !important;
    position: relative;
}

.services .mycontainer {
    padding-right: 0rem !important;

}

.red-div {
    background-color: #f0f0f0;
    width: 100%;
    height: 300px;
    position: absolute;
}

.services #tabbed-nav {
    padding: 1rem 4rem 0 1rem;
}

.services .tab {
    padding: 10px 5px !important;
}

.services .services-tabs {
    margin-top: -18.2rem;
}

.installation .services-tabs {
    margin-top: 0rem !important
}


.services-divtabs {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 6rem;
}

.services-subtab  {
    width: 50%;
    border-radius: 2rem;
}

.serv-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-family: 'montserrat-medium';
    width: 450px;
    line-height: 1em;
}

.red-line {
    border-left: 1px solid var(--red);
}

.services-text {
    padding: 0rem 2rem;
}

.services-text p {
    margin-bottom: 1rem;
    line-height: 1.3em;
}

.services-text li {
    font-size: 15px;
}

.services-text a:hover {
    text-decoration: underline;
    text-decoration-color: var(--red);
}

.services-subtab img {
    margin-top: 9.5rem;
}

.services-subsubtab {
    margin-top: 5rem;
}
/* SERVICES */

/* INSTALLATION */
.installation .redinfotext,
.installation .simg3 {
    margin-top: 1.5rem;
}

.installation .simg1 {
    margin-top: 4rem;
}

.installation .simg4 { 
    margin-top: 10rem;
}

.installation .subtitle-about {
    margin-top: 3rem;
}

.installation .services-tabs {
    margin: 0px;
}

.installation .services-subtab img {
    margin-top: 0px;
}

.installation .services-divtabs {
    gap: 2rem;
    align-items: center;
}

.installation .mycontainer {
    padding-right: 11rem !important;
}
/* INSTALLATION */

/* FROM STYLE5 */

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
.flex.informations{
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .end .flex {
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    padding: 1rem;    
}

#about .btns .flex > div {
    width: 22%;
}

.mycontainer.flex.justify{
    margin-top: 20px;
}

#impact .flex > div {

    width: 50%;
    padding: 4rem 1rem;

}

#media .news .flex > div {
    width: 50%;
    padding: 0 2rem 4rem 2rem;

}
#about-us_ID .services div#about-us {
    background: none !important;
}

/* FROM STYLE5 */

/* SLIDER OPM */
.slider2 {
    width: 500px;
    
}

.slick-next {
    left: 45px;
    z-index: 22;
}
.slick-prev {
    left: 0px;
    z-index: 22;
}
.slick-next, .slick-prev {
    bottom: 1px;
    top: initial;
}

.slider-div {
    padding: 20px;
    margin-bottom: 6rem;
}


.slick-next:before, .slick-prev:before {
    color: #e74c3c;
    font-size: 30px;
}

.slick-dots {
    position: absolute;
    bottom: 0px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: end;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 15px;
    height: 15px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: 0;
    background: 0 0;
    border: 1px solid #E42320 !important;
    border-radius: 50%;
}

.slick-dots li.slick-active button:before {
    opacity:    1;
    background-color: #E42320;
    color: #E42320;
    border-radius: 50%;
}

.slick-dots li button:before {
    font-family: slick;
    font-size: 16px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    content: '•';
    text-align: center;
    opacity: .25;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border: 1px solide #E42320;
}

.slick-dots li button:before {
    color: transparent;
}


.slider video {
    margin-top: -40px !important;
}

/* SLIDER OPM */

/* OFFSHORE */
.offs .services-tabs{
    margin-top: 0;
}

.offs .services-subtab img {
    margin-top: 0;
}

.offs .mycontainer {
    padding-right: 11rem !important;
}

.offs .services-divtabs {
    gap:  0rem !important;
    align-items: end !important;
}

.offs .offs-tab {
    padding: 2rem;
}

.blue-line {
    border-left: 1px solid #008AA5;
}

.offs .tab.active:after {
    content: none;
}

.offs .tab {
    padding: 0 !important;
    margin-right: 0 !important;
}

.offs #tabbed-nav {
    padding: 0 !important;
}

.offs .mycontainer {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.offsdiv {
    width: 80%;
    margin: 0 auto;
}

.offs .tab-title {
    bottom: 25px;
    font-size: 1.5rem;
    width: 100%;
    line-height: 22px;
}

.offs .tab-title {
    position: absolute;
    bottom: 30px;
    left: 25px;
    font-size: 1.5rem;
    font-family: 'montserrat-medium';
    text-align: left;
    transform: initial;
}
/* OFFSHORE */

@media(max-width: 1050px) {  

    .opm .services-divtabs {
        flex-direction: column;
    }

    .padding-right {
        padding-right: 0rem !important;
    }

    .media h1 {
        color: #ee322e !important;
    }

    .serv-div2 {
        width: 100% !important;
    }

    .services .about-container .mycontainer {
        padding-left: 0px;
        padding-right: 0px;
    }

    .installation .about-container .mycontainer {
        padding-left: 6rem !important;
        padding-right: 6rem !important;
    }

    .installation .mycontainer {
        padding-right: 6rem  !important;
    }

    .serv-div1 {
        padding: 1rem 10rem !important;
        margin-right: 0px !important;
    }

    .redinfotext {
        max-width: 100%;
    }

    .services #tabbed-nav {
        padding: 2rem;
    }

    .services .tab,
    .services .nice-padding  {
        padding: 0rem;
    }
    .services .tab {
        margin-right: 0;
    }

    .services .services-tabs {
        margin-top: -14.2rem;
    }

    .services .tab-title2 {
        bottom: -2px;
    }

    .redinfotext {
        margin-bottom: 3rem;
    }

    .offs .offsdiv {
        display: flex !important;
        flex-direction: column-reverse !important;
        padding: 2rem 0 !important;
    }

    .offs .flex-row {
        flex-direction: row !important;
    }

    .offs .offs-tab {
        width: 100% !important;
    }

    .sub1 {
        display: none;
    }

    .offs .tab-title {
        position: initial;
        bottom: 5px;
        left: 11px;
        font-size: 1rem;
        color: #000;
    }
  
}

@media(max-width: 768px) {  
    .flex-row {
        flex-direction: column !important;
    }

    .seemorediv {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 2rem;
    }

    .seemoretext {
        padding: 14px 42px 14px 24px;
    }

    .seemorelink {
        display: flex;
        justify-content: center;
    }

    .media #tabbed-nav {
        gap: 5rem !important;
    }

    .slider2 {
        width: 300px;
    }
}


@media(max-width: 569px) { 

    .services-subtab {
        width: 100%;
    }

    .services-divtabs {
        flex-direction: column;
    }

    .services .mycontainer {
        padding: 2rem;
    }

    .services-subtab-img {
        padding: 2rem;
    }

    .serv-title {
        width: auto;
    }

    .installation .mycontainer {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}
