.languageSwitchWidget.modalContainer {
  position: fixed;
  bottom: 0px; top: auto;
  left: 50%; right: auto;
  margin-left: -250px;
  text-align: center;
  z-index: 100000;
}

#switcher {
  /* display: none; */
  background-color: #fff;
  width: 500px;
  position: relative;
  margin: 0 auto;
  padding: 12px 24px 12px;
  text-align: left;
  border: 1px solid #aaa;
}

#switcher p {
  margin: 0;
  padding: 0 140px 0 0;
  font-size: 18px;
  font-weight: normal;
  color: #333;
  line-height: 1.4;
}

#switcher p.title {
  font-size: 22px;
  color: black;
  font-weight: bold;
}

#switcher a.dialog-close {
  width: 26px; height: 28px;
  background: url(/themes/classic/images/close-button.png) 0 0 no-repeat;
  position: absolute; top: -13px; right: -12px;
}

#switcher a.dialog-close:hover {background-position: 0 -30px;}

#switcher div.actions{
    text-align: right;
    margin-top: 10px;
}

#switcher a.button{
    display: inline-block;
    line-height: 36px;
    font-size: 14px;
    border-radius: 0;
    background: none;
    width: 100px;
    text-align: center;    
    font-weight: normal;
    margin-left: 15px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.24);
    border: none;
}



#switcher a.button.yes{
    background: none rgb(192, 1, 17);
    color: white;
}

@media (max-width: 640px) {
    .languageSwitchWidget.modalContainer {
        left: 0;
        right: 0;
        margin: 0;
    }

    #switcher {
        width: auto;
        padding: 14px;
    }

    #switcher p {
        padding: 0;
        font-size: 15px;
        line-height: 1.4;
    }

    #switcher p.title {
        font-size: 16px;
        line-height: normal;
        margin-bottom: 4px;
    }

    #switcher #mailruButton {
        position: static;
        float: right;
        margin-top: 0;
        margin-left: 10px;
        font-size: 12px;
        padding: 4px 10px;
        font-weight: normal;
    }

    #switcher a.dialog-close {
        top: 7px;
        right: 7px;
    }

    #switcher a.button{
        font-size: 13px;
    }
}


@media (max-width: 420px) {
    .modalContainer.languageSwitchWidget{
        bottom: 55px;
    }
    #switcher {
       padding: 20px;
    }
    #switcher p {
        padding: 0;
        font-size: 12px;
        line-height: 1.4;
    }
    #switcher a.dialog-close{
        top: 10px;
        right: 10px;
    }
    #switcher a.button{
        font-size: 12px;
    }
}