 /*.tmg #tmg_ps_body {margin: 0 0 0 0; width: 448px; height: 600px; font: 13px arial, helvetica, sans-serif;}*/
 .tmg {width:560px; }
 .tmg , .tmg h3, .tmg p, .tmg a, .tmg input {font-family: Arial,Helvetica,sans-serif !important ;}
 .tmg {font-size: 9pt !important}
 .tmg p, .tmg input {font-size: 9pt}
 .tmg #tmg_ps_body img {padding: 0 !important;}
 .tmg #tmg_ps_body p {padding-bottom: 0 !important;}
 .tmg #tmg_ps_body #tmg_payment_credits p {margin-bottom: 1em !important;}
 .tmg #tmg_ps_body>h2 {padding: 0; margin-bottom: 0.5em !important;}
 .tmg #tmg_ps_body table td {vertical-align: top;}

 .tmg #tmg_ps_body strong {display: block; font-size: 120%; font-weight: bold; color: #333; margin-top: 3em; margin-bottom: 1em !important}
 
 #tmg_payment_credits form {margin-top: 2em; margin-bottom: 1em;}
 #tmg_payment_credits form label {display: block; margin-left:20px}

/*.tmg #tmg_ps_body  */

.tmg #tmg_ps_payment_systems
 {
   padding-left:0px;
   padding-top:20px;
 } 

.tmg #tmg_ps_body  .sms_sample_text 
 {
   text-align: center;
   font-family: monospace;
   border: 1px solid #e0e0e0;
   background: #f0f0f0;
   margin-top: 0.5em;
   margin-bottom: 0.5em;

 }

.tmg #tmg_ps_body  .sms_numbers_list
 {
   width: 80%;
   margin-left: auto;
   margin-right: auto;
 }

.tmg #tmg_ps_body  .sms_numbers_list td
 {
   text-align: center;
 }

.tmg #tmg_ps_body  .sms_thead
 {
   font-weight: bold;
   font-family: monospace;
 }

 
.tmg #tmg_ps_body  .tmg_ps_paysys
 {
   float: left;
   display: block;
   width: 150px;
   height: 70px;
   margin-left: 5px;
   margin-bottom: 20px;
   background: white;
   border: 1px solid #ccc;
   cursor: pointer;
   top: 5px;
   border-radius: 5px;
 }

.tmg #tmg_ps_body  .tmg_ps_paysys.active
{
   border: 1px solid #ababab !important;
   background: #e9e9e9;
   background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#d1d1d1), to(#e9e9e9));
   background: -webkit-linear-gradient(top, #e9e9e9, #d1d1d1);
   background: -moz-linear-gradient(top, #e9e9e9 , #d1d1d1 );
   background: -ms-linear-gradient(top, #e9e9e9 , #d1d1d1 );
   background: -o-linear-gradient(top, #e9e9e9, #d1d1d1);
}

.tmg #tmg_ps_body  .tmg_ps_paysys:hover
{
  background: #e9e9e9;
}


.tmg #tmg_ps_body  .tmg_ps_paysys_desc
{
     float: right;
     width: 350px;

}

.tmg #tmg_ps_body  .tmg_ps_paysys h3{display: none}
.tmg #tmg_ps_body  .tmg_ps_paysys p {display: none}
 
.tmg #tmg_ps_body  .tmg_ps_paysys img {
margin: 7px; width: 130px; height: 50px; border: 3px solid white; 
border-radius: 3px; -ms-border-radius: 3px; -moz-border-radius: 3px; -o-border-radius: 3px; -webkit-border-radius: 3px;
 }
.tmg #tmg_ps_body  .tmg_ps_paysys.active
{
}
.tmg #tmg_ps_body  .tmg_ps_paysys:hover
 {
   
 }
 
.tmg #tmg_ps_body  .tmg_ps_payform {display: none;}
.tmg #tmg_ps_body  .tmg_ps_payform div {display: none;} 
.tmg #tmg_ps_body  .tmg_ps_payform input[type=submit] 
  {
    /*background: url() left top no-repeat;*/
   border: 0 none;
   border-radius: 5px;
   color: white;
   display: inline-block;
   font-size: 16px;
   height: 40px;
   margin-right: 0px;
   padding: 0;
   text-align: center;
   text-decoration: none;
   cursor: pointer;
   width: 120px;
   background: #747474;
   background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#747474), to(#b8b8b8));
   background: -webkit-linear-gradient(top, #b8b8b8, #747474);
   background: -moz-linear-gradient(top, #b8b8b8 , #747474 );
   background: -ms-linear-gradient(top, #b8b8b8 , #747474 );
   background: -o-linear-gradient(top, #b8b8b8, #747474);

  }

.tmg #tmg_ps_body  .tmg_ps_payform input[type=submit]:hover
 {
   background: #ababab;
 }
 

.tmg #tmg_ps_body  .tmg_ps_cont_form
 {
 }

.tmg #tmg_ps_body  #tmg_ps_description
 {
   background: #f9f9f9;
 
   margin-top: 1em;
   margin-left: 1em;
   padding: 10px;
   width: 250px;
 }
 
.tmg #tmg_ps_body  #tmg_ps_description:first-letter {margin-left: 1em; font-size: 140%; font-weight: bold;}
 
.tmg #tmg_ps_body  .tmg_ps_cont_form h3 {text-align: right}
.tmg #tmg_ps_body form > div > div
 {
   clear: both;
   margin-bottom: 0.7em;
 }

.tmg #tmg_ps_body form div label
 {
   display: block;
   width: 16em;
   float: left;
/*   font-weight: bold;*/
 }
 
.tmg #tmg_ps_body form div input
 {
   display: block;
   width: 330px;
   font-size: 9pt;
   line-height: 15px;
 }

.tmg #tmg_ps_body  #tmg_ps_footer
 {
   padding: 1em;
   margin-left: 1em;
   background: transparent;
   height: 3.5em;
   position: absolute;
   width: 330px;
   bottom: 0;
   left: 0;
   color: white;
   overflow: hidden;
 }
.tmg #tmg_ps_body  #tmg_ps_footer div {width: 33%; float:left; text-align: center; display: none}
.tmg #tmg_ps_body  #tmg_ps_with {float: right;}
.tmg #tmg_ps_body  #tmg_ps_footer img {display: block; margin-left: auto; margin-right: auto;}
.tmg #tmg_ps_body  #tmg_ps_footer small {color: #404040;}
.tmg #tmg_ps_body  #tmg_ps_forms {position: relative;}
.tmg #tmg_ps_body  #tmg_qiwi_phone_form input {display: inline}
.tmg #tmg_ps_body  #tmg_megafon_phone_form input {display: inline}

.tmg #tmg_ps_body  .tmg_ps_payment_option {height: 100px;}
.tmg #tmg_ps_body  .tmg_ps_payment_option .tmg_ps_paysys_desc {}
.tmg #tmg_ps_body  .tmg_ps_paysys_desc p {margin: 0; line-height:18px !important; color: gray !important}
.tmg #tmg_ps_body  .tmg_ps_paysys_desc p a {text-decoration: none; color: gray !important}
.tmg #tmg_ps_body  .tmg_ps_paysys_desc p:hover a {text-decoration: underline; color: blue !important}
.tmg #tmg_ps_body  .tmg_ps_paysys_desc h3 {margin-bottom: 2px; line-height:18px !important; margin-top: 6px  !important; font-size:14px !important; padding:0px !important}
.tmg #tmg_ps_body  p.tmg_comment , .tmg #tmg_ps_body .tmg_comment a  { line-height: 18px !important; color: gray !important;  font-size: 11px !important;  }

/* input#tmg_qiwi_phone {float: none; position: static; font-family: "Lucida Console", monospace}*/
.tmg #tmg_ps_body  .tmg_ps_payment_option > input {float: left; margin-left:15px; position: relative; top: 25px; width: auto; height: auto; background: none;}

.tmg #tmg_ps_body  #tmg_ps_product {color: gray; padding-right: 15px; padding-bottom: 5px; font-size: 80% !important; position:relative;z-index: 100; width: 20em;}
.tmg #tmg_ps_body  #tmg_ps_product a {color: gray; font-size:100% !important;}
.tmg #tmg_ps_body  #tmg_ps_product a:link {color: gray; text-decoration: none;}
.tmg #tmg_ps_body  #tmg_ps_product a:visited {color: gray; text-decoration: none;}
.tmg #tmg_ps_body  #tmg_ps_product:hover a{color: blue; text-decoration: underline;}
.tmg #tmg_ps_body  .tmg_ps_payform.tmg_ps_cont_form {position: relative; text-align:right; margin-right:18px}
.tmg #tmg_ps_body  .pre_pay_advice {clear: both; color: gray;}

.tmg #tmg_ps_body  #tmg_ps_qiwi_phone {font-size: 14px;  width: 225px;line-height:14px; margin-bottom:-1px;margin-top:-1px;}
.tmg #tmg_ps_body  #tmg_ps_megafon_phone {font-size: 14px;  width: 225px;line-height:14px; margin-bottom:-1px;margin-top:-1px;}
.tmg #tmg_ps_body  #tmg_ps_sber_pay_phone {font-size: 14px;  width: 225px;line-height:14px; margin-bottom:-1px;margin-top:-1px;}

.tmg span.pk_asteriskrequired {content: "*"}
.tmg span.pk_asteriskrequired:after {content: "*"}
.tmg span.pk_asteriskrequired:before {content: " "}

@media screen and (max-width:560px) {
        .tmg #tmg_ps_nextstep form { 
                text-align: left!important; 
        }
}
