.gigya-layout-row.with-divider .gigya-layout-cell.responsive.with-social-login
{
order: 2;
}

.gigya-layout-row.with-divider .gigya-layout-cell.responsive.with-divider
{
display: none;
}

.gigya-layout-row.with-divider .gigya-layout-cell.responsive.with-site-login
{
order: 1;
}

.gigya-layout-row.with-divider .gigya-layout-cell.responsive.with-social-login, .gigya-layout-row.with-divider .gigya-layout-cell.responsive.with-site-login
{
    margin: 0 1%;
    width: calc(589% - 27px) !important;
    padding: 0px 20px 0px 0px;
    background: #f7f7f7;
    border-bottom: 4px solid #ddd;
    padding: 20px;
}

.gigya-screen-dialog-main
{
    margin: 0;
    padding: 0;
    font-family: Arial;
}

.gigya-layout-cell a.gigya-forgotPassword.gigya-composite-control.gigya-composite-control-link
{
    font-size: 12px;
    line-height: 22px;
    color: #000;
    text-decoration: underline;
    outline: 0;
    font-weight: bold;
}

.gigya-composite-control.gigya-composite-control-header
{
    /*text-transform:uppercase;*/
    margin-bottom:20px;
    font-size:24px;
    line-height:30px;
    font-weight:bold;
    padding-bottom:0px !important;
}

.gigya-screen-content div.gigya-screen.landscape {
    padding-left: 0px !important; 
    padding-right: 0px !important;  
    width: 100% !important; 
}

.gigya-screen.landscape {
    padding-top: 0px !important; 
}

.gigya-screen {
    box-sizing: border-box !important; 
    padding-bottom: 0px !important; 
}

.gigya-screen.landscape .gigya-layout-row.with-divider
{
    padding-bottom: 0px !important; 
}

.gigya-input-submit {
    width: auto !important;
    background-color: #d9d8d8 !important;
    border-color: #d9d8d8 !important;
    padding: 0 15px !important;
    padding-right: 50px !important;
    height: 40px !important;
    line-height: 37px !important;
    border-radius: 4px !important;
    white-space: normal !important;
    text-transform: uppercase !important;
    text-align: left !important;
    position: relative !important;
    opacity: .65 !important;
    box-shadow: 2px 2px 2px black !important;
    margin-top: 10px !important;
    color: black !important;
    font-size: 13px !important;
    min-width: 60px;
}

.gigya-composite-control.gigya-composite-control-label
{
    margin-top: 5px !important;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    font-weight: 400;
}

#Facebook_btn, #Google_btn, #Twitter_btn, #LinkedIn_btn, #Yahoo_btn
{
    height: 55px !important;
    padding: 0 5px !important;
    margin-bottom: 12px !important;
}

#Facebook_btn > div, #Google_btn > div, #Twitter_btn > div, #LinkedIn_btn > div, #Yahoo_btn > div {
    background-position: center !important;
    height: 55px !important;
    width: 55px !important;
}

#Facebook_btn > div {
    background-image: url('../../css/images/login/facebook.jpg') !important;
}

#Google_btn > div {
    background-image: url('../../css/images/login/gplus.jpg') !important;
}

#Twitter_btn > div {
    background-image: url('../../css/images/login/twitter.jpg') !important;
}

#LinkedIn_btn > div {
    background-image: url('../../css/images/login/linkedin.jpg') !important;
}

#Yahoo_btn > div {
    background-image: url('../../css/images/login/yahoo.jpg') !important;
}

.gigya-login-providers-list
{
    margin: 0 auto !important;
    max-width: 70% !important;
    padding-bottom: 40px !important;
}

.gigya-login-provider-row
{
    text-align: center !important;
    height: 55px !important;
}

div.gigya-social-login-container.gigya-style-modern
{
    padding-top:10px;
}

div.gigya-social-login-container.gigya-style-modern, div.gigyaContainer_social_0_uiContainer, div.gigya-login-providers
{
    max-width: 70% !important;
    height: 120px !important;
    margin-left: 0px !important;
}

h1.gigya-screen-caption
{
    border-bottom: none !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

a.gigya-composite-control.gigya-composite-control-link
{
    font-size: 12px !important;
    line-height: 22px !important;
    color: #000 !important;
    text-decoration: underline !important;
    outline: 0 !important;
    font-weight: bold !important;
}

.divBody.dati-auto #gigyaContainerLocal h1
{
    font-size: 30px !important;
}

.divBody.dati-auto #gigyaContainerLocal .gigya-layout-row .gigya-layout-cell {
    float: none;
    width: 100% !important;
}

.divBody.dati-auto #gigyaContainerLocal .gigya-layout-row {
    flex-direction: column;
}

.divBody.dati-auto #gigyaContainerLocal .gigya-layout-row .gigya-layout-cell.responsive.with-social-login {
    order: 1; /* era 2, ora viene spostato alla fine */
    width : calc(45% - 27px) !important;
    padding: 20px 0px !important;
    margin-bottom: 30px !important;
}

.divBody.dati-auto #gigyaContainerLocal div.gigya-layout-row {
    text-align:left !important;
}

.divBody.dati-auto #gigyaContainerLocal .gigya-layout-row div.gigya-layout-row label {
    margin-left:25px !important;
}

.divBody.dati-auto #gigyaContainerLocal .gigya-layout-row .gigya-layout-cell.responsive.with-divider {
    order: 2; /* questo puņ rimanere al centro, quindi order 2 va bene */
    display: none !important;
}

.divBody.dati-auto #gigyaContainerLocal .gigya-layout-row .gigya-layout-cell.responsive.with-site-login {
    order: 3; /* era 3, ora viene spostato all'inizio */
    width: 95% !important;
    background-color: #d8d8d8 !important;
}

.divBody.dati-auto #gigyaContainerLocal .gigya-layout-row .gigya-layout-cell.responsive.with-site-login div.gigya-layout-row.with-two-inputs,
.divBody.dati-auto #gigyaContainerLocal .gigya-layout-row .gigya-layout-cell.responsive.with-site-login div.gigya-composite-control.gigya-composite-control-multi-choice
{
    display: flex;
    flex-direction:row;
}

div.gigya-composite-control.gigya-composite-control-multi-choice
.divBody.dati-auto #gigyaContainerLocal h1.gigya-screen-caption {
    border-bottom: none !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    max-width: 1280px;
    width: 100%;
    margin: auto;
    margin-top:30px;
}

.divBody.dati-auto #gigyaContainerLocal h2.gigya-composite-control.gigya-composite-control-header {
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
    text-align:left !important;
    margin-left:25px !important;
}

.divBody.dati-auto #gigyaContainerLocal .gigya-layout-row .gigya-layout-cell.responsive.with-site-login h2.gigya-composite-control.gigya-composite-control-header {
    margin-left:0px !important;
}

.divBody.dati-auto #gigyaContainerLocal div.gigya-layout-cell.responsive.under-site-login a
{
    display: none !important;
}