﻿/***********************************************/
/**************  Formulario  *******************/
/***********************************************/

.MEOEnergia_RadioLabel,
.MEOEnergia_CheckLabel,
.MEOEnergia_CheckLabel a{
    font-family: "MontLight";
    font-size: 14px;
    line-height: 0;
}

.MEO_Energia_Title{
    font-family: 'MontR',sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 22px;
    color: white;
}


.MEOEnergia_Tooltip_Title {
    width: 16px;
    line-height: 16px;
    margin-top: -3px !important;
}
.MEO_Energia_SubTitle{
    font-family: 'MontR',sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: white;
    position: absolute;
    text-align: center;
    width: 100%;
    margin-top: 50px;
}

@media (max-width: 600px) {
    .MEO_Energia_SubTitle{
        margin-top: 20px ;
    }
}

.MEOEnergia_TituloForm{
    font-family: 'MontR',sans-serif;
    font-size: 16px;
    font-weight: 400 !important;
    line-height: 24px;
}

.MEOEnergia_Banner{
    max-width: 1600px;
    height: 300px;
    display: block;
    position: relative;
    overflow: hidden;
    margin: auto;
}

.MEOEnergia_Banner > img.imagem_banner{
    position: absolute;
    right: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: auto;
    height: auto;
}

.MEOEnergia_Content{
    margin-top: 20px;
    padding-bottom: 20px;
    font-family: 'MontR',sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
}

.MEOEnergia_TextoNormal{
    font-family: 'MontR',sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
}

/*Espaçamentos do formulário*/
.EspacamentoFormulario{
    padding-left: 30px !important;
    padding-right: 30px !important;
    position: relative;
    max-width: 768px;
    margin-left: calc((100% - 768px) / 2);
    position: relative;
}

.ContainerCinza{
    background-color: #eee;
    padding-bottom: 30px;
    margin-top: 30px;
    width: 100%;
}

.MEOEnergia_Tooltip_Title {
    width: 16px;
    line-height: 16px;
    margin-top: -3px !important;
}

.Columns.MarginBottom {
   margin-bottom: 0px !important;
}

.MarginTop_20{
    margin-top: 20px;
}


/***********************************************/
/*****************  Inputs  ********************/
/***********************************************/
.MEO_Energia_NormalLink{
    font-family: "MontR";
}

.MEOEnergia_ButtonFillGrey {
    display: inline-block;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 5px;
    line-height: 16px;
    padding: 0 15px;
    padding-left: 30px;
    padding-right: 40px;
    border: 0px solid #333333;
    position: relative;
    text-align: left !important;
    background-color: #333333;
    font-family: MontR;
    color: white !important;
    cursor: pointer !important;
    height: 50px;
    line-height: 50px;
}

.MEOEnergia_ButtonFillGrey:hover {
    background-color: #0099AB;
    color: white !important;
    cursor: pointer !important;
    text-decoration: none; 
}


.MEOEnergia_ButtonFillGrey:after {
    content: "\24";
    font-family: "brand-icons";
    margin-left: 5px;
    line-height: 50px;
    position: absolute;
}


.MEOEnergia_ButtonFillGrey.arrowLeft{
    padding-left: 40px;
    padding-right: 30px;
    color: #333333 !important;
    background-color: transparent;
    border: 2px solid #333333;
    line-height: 48px;
    padding-bottom: 48px;
}

.MEOEnergia_ButtonFillGrey.arrowLeft:hover {
    background-color: #0099AB;
    color: white !important;
    cursor: pointer !important;
    text-decoration: none; 
    border: 2px solid #0099ab;
}

.MEOEnergia_ButtonFillGrey.arrowLeft:before {
    content: "\24";
    font-family: "brand-icons";
    margin-right: 5px;
    line-height: 48px;
    position: absolute;
    transform: rotate(180deg);
    margin-left: -20px;
}

.MEOEnergia_ButtonFillGrey.arrowLeft:after {
    display: none;
}

a.MEOEnergia_Link{
    color: black !important;
    display: inline-block;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    border: 0px solid black;
    letter-spacing: 0.12em;
    border-radius: 5px;
    padding: 15px;
    padding-right: 25px;
    position: relative;
    text-align: left !important;
    font-family: MontR;
    color: black !important;
    cursor: pointer !important;
    margin-left: 10px;
    height: 50px;
    line-height: 50px;
}

.MEOEnergia_Link:after{
   content: "\24";
    font-family: "brand-icons";
    margin-left: 5px;
    line-height: 50px;
    position: absolute;
}

a.MEOEnergia_Link:hover{
    color: #0099AB !important;
    text-decoration: none;
}

.MEOEnergia_SimpleLink{

    color: black;
}


.MEOEnergia_SimpleLink:hover{

    color: #0099ab !important;
}

/*Inputs*/

.Form input.Not_Valid, .Form textarea.Not_Valid, .Form select.Not_Valid, input.Not_Valid, textarea.Not_Valid, select.Not_Valid,  .select.Not_Valid .select2-choice{
    border: 1px solid #d6001a !important;
}

.SpecialTextInput input[type=text], .SpecialTextInput input[type=email], select, .select .select2-choice,
.EuroInput input, .selectbox {
    background-clip: padding-box;
    box-shadow: 0px 0px 0px 0px #0099ab!important;
    border-radius: 3px;
    padding-top: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 5px !important;
    padding-left: 18px !important;
    transition: all .3s ease-out;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 16px;
    min-height: 50px;
    width: 100%;
    margin-left: 0;
    border: 1px solid #ccc;
    font-family: 'MontLight' !important;
    color: black !important;
}


.SpecialTextInput label,
.SpecialTextInput div label{
    position: absolute;
    pointer-events: none;
    max-width: calc(100% - 31px);
    top: 18px;
    left: 0;
    padding: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1.4;
    font-size: 12px;
    transition: all .2s ease-out .05s;
    font-weight: 300;
    font-family: 'MontSemiBold';
    width: 100%;
    padding-left: 20px !important;
    margin-left: 0 !important;
    color: black !important;
}
.SpecialTextInput div.Selected label,
.SpecialTextInput.Selected label,
.SpecialTextInput .Selected + label{
    top: 10px;
    font-weight: bold !important;
    font-size: 10px;
    padding-left: 10px;
    font-family: 'MontSemiBold' !important;
}

.MouseThere input, 
.MouseThere select,
.MouseThere .selectbox, 
.select2-dropdown-open .select2-choice,
.select2-container.Not_Valid.select2-container-active .select2-choice,
 input[type="radio"]:focus:before {
   border-color: #0099ab !important;
}


.SpecialTextInput{
    position: relative;
}

select, .select .select2-choice{
    padding-top: 18px !important;
    padding-left: 19px !important;
}

.EuroInput input{
    padding-left: 35px !important;
}
.EuroInput:before{
    content: '€';
    position: absolute;
    line-height: 50px;
    padding-left: 20px
}


.MEOEnergiaCol3{
    width: 33%;
    display:  -ms-inline-grid;
    display: inline-grid;
    padding-right: 10px;
}

.MEOEnergia_CampoComTooltip{
    width: calc(100% - 50px);
    display: inline-block;
}

.MEOEnergia_Tooltip{
    width: 50px;
    display: inline-block;
    position: absolute;
    line-height: 50px;
}

.tooltipstered{
    color: #313131 !important;
}
/*Icone das Tooltips*/
.tooltipstered .fa:before{
    content: "\45";
    font-family: "brand-icons" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    font-size: 22px;
}

 .FormEditPencil { 
    display: none !important;
 }
    

.ValidationMessage {
    color: #d6001a !important;
    display: block;
    font-size: 12px !important;
    font-family: 'MontLight';
    font-style: italic;
}
  
.ValidationMessage:not(:empty):before {
    content: '';
    padding-left: 25px;
    padding-top: 5px;
    background-size: 14px 14px;
    background-position: 1px 6px;
    background-repeat: no-repeat;
    background-image: url('/MEOEnergia_Theme/img/validation_error.png?112155&123646&123699&39714&40457&6861');
}
/***********************************************/
/*************Visibilidade Web*****************/
/*********************************************/
 /*Mobile Date Picker*/
 
    .MobileContainerDatePicker {
         display: none;
         width: calc(100% - 25px);
    }

    .ContainerDatePicker {
        display: inline-block;
    }
    
    .MEOEnergia_Mobile_ActiveTab{
        display: none;
    }
 
 
/***********************************************/
/**********Visibilidade Mobile*****************/
/*********************************************/
@media screen and (max-width: 768px) {
      
    .MarginTopMobile_15{
        margin-top: 15px;
    }
    
    .MarginTopMobile_30{
        margin-top: 30px;
    }
    
    .EspacamentoFormulario:not(.MEOEnergia_Buttons){
        margin-left: 0px;
    }
    
    .EspacamentoMobile{
        margin-bottom: 10px !important;
    }
 
    .MobileContainerDatePicker {
        display: inline-block !important;
    }
    
    .MobileContainerDatePicker > div:first-child {

        margin: 0 !important;
        margin-bottom: 30px !important;
    }
    
    .MobileContainerDatePicker > div {

        margin: 0 !important;
    }
    
    .ContainerDatePicker {
        display: none !important;
    }
    
    .ContainerTESTES{
        display: none !important;
    }
    
    .MEOEnergia_TabTitle_Part2{
        display: none !important;
    }
/*    .Tabs__tab {
        width: 100% !important;
        display: block !important;
     }

    .TabsContainer {
        max-width: 100% !important;
        margin-left: 0 !important;
    }*/
    
   .Tabs__tab {
        width: 25% !important;
    }


    .Columns2 > .Column, .MEOEnergiaCol3 {
        width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-bottom: 0px !important;
    }
    

    .ThemeGrid_Width2, .ThemeGrid_Width3, .ThemeGrid_Width4, .ThemeGrid_Width5, .ThemeGrid_Width6, .ThemeGrid_Width7, .ThemeGrid_Width8, .ThemeGrid_Width9, .ThemeGrid_Width10, .ThemeGrid_Width11 {
        width: 100% !important;
    }

    .tooltip_style .tooltipster-content {
        width: 100% !important;
    }
    .tooltip_style {
        width: 100% !important;
        position: absolute;
        left: 0 !important;
    }
    
    .InfoTooltip{
        position: absolute;
        right: 15px;
    }

    .MEOEnergia_Tooltip{
        margin: 0;
        padding: 0;
        position: absolute;
        right: 0px;
    }
    
    .pika-single.is-bound {
        position: absolute !important;
        top: 650px !important;
        background-color: white !important;
    }
    .Balloon {
        width: 80% !important;;
        position: absolute !important;
        left: 0 !important;
    }

    .Balloon img{
        width: 100% !important;
        margin-top: 10px !important;
    }
    
    .tooltipster-arrow{
        display: none !important;
    }

    .MEO_Energia_Simulacao_Linha div{
        width: 49% !important;
    }
    
    .MobileContainerDatePicker ~  .MEOEnergia_Tooltip{
        margin-left:-25px;
    }
    
    .MEOEnergia_Mobile_ActiveTab{
        display: block;
        font-family: "MontR";
        font-size: 16px;
        line-height: 40px;
        font-weight: bold;
        height: 40px;
        text-align: center;
        width: 100%;
        margin-top: -30px;
        margin-bottom: 30px;
    }
}
 
/************************************************/
/**************Outros ajustes*******************/
/**********************************************/

/*Para esconder o azul de sleecção por omissao na combobox no IE*/
::selection, select:focus::-ms-value {
    background-color: transparent;
    color: black;
}
/*Para que o ponto nos inputs com casas decimais seja mais visivel*/    
input[type=text].MEOEnergia_TextHugePoint{
    font-family: 'MontHugePoint' !important;
}

/*Para que as imagens das ajudas não apareçam demasiado grandes no ecrã*/
.Balloon img{
    max-width: 600px;
    margin-top: 10px !important;
}

/*Para que o input de "Qual o pacote" acompanhe o tamanho da combo de selecção do pacote*/
.pacoteContainer{
    display: table-cell;
    width: 100% !important;
}

.pacoteContainer .inputOutroPacote {
    width: 100% !important;
    min-width: 100% !important;
}
.pacoteContainer .selectPacote, .pacoteContainer .inputOutroPacote {
    min-width: 250px !important;
}