﻿/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (via jqModal.js). */
.jqmClose
{
    cursor:pointer;
}	

.jqmWindiw#sendreview
{
    width: 420px;
    height: 380px;
    margin-left:-210px;
    z-index: 2998;
}

.jqmWindow#promo
{
    width:520px;
    height:260px;
    margin-left: -260px;
    padding:0;
}

div.jqmWindow#reg
{
    top: 0!important;
    left: 10%!important;
    z-index: 999999;
    background:none;
    padding:0;
}

div.jqmWindow#refuse
{
    width:600px;
    height:330px;
    margin-left: -300px;
    background:none;
    padding:0;
}

div.jqmWindow#topservice
{
    width: 520px;
    height: 286px;
    margin-left: -260px;
}


div.jqmWindow#auth
{
    padding:0;
}

/* форма валидации телефона на странице регистрация */
div.jqmWindow#validation
{
    width:400px;
    height:275px;
    margin-left: -200px;
}

.jqmWindow {
    display: none;
    width: 450px;
    position: fixed;
    top: 17%;
    left: 50%;
    
    margin-left: -225px;
    
    border-radius:6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;

    background: #5685C7;
    padding: 4px;
}

.jqmWindowHelp {
    display: none;
    background:white;
    border: 8px solid #5A5A5A;
    position: fixed;
    top: 17%;
    left: 50%;
    
    margin-left: -395px;
    width: 790px;
    border-radius:6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
}

div.jqmContent
{
    background:white;
    border-radius:3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
}

    div.jqmContent .jqmHeader
    {
        border-bottom:1px solid #e6e6e6;

        height:42px;

                    border-radius: 3px 3px 0 0;
               -moz-border-radius: 3px 3px 0 0;
            -webkit-border-radius: 3px 3px 0 0  
    }

        div.jqmContent .jqmHeader div.title
        {
            float: left;
            font: normal 21px Verdana;            
            text-align: left;
            padding: 10px 0 0 12px;
            color: #5685C7        
        }

        div.jqmContent .jqmHeader div.jqmClose
        {
            float: right;
            height: 0;
            color: #A8A8A8;
            margin: 5px 10px 0 0;
            font: normal 2.5em Times;

            -webkit-transition: color ease-in .3s;
               -moz-transition: color ease-in .3s;
                    transition: color ease-in .3s
        }

        div.jqmContent .jqmHeader div.jqmClose:hover { color:#DA0404 }

    div.jqmContent .jqmBody
    {
        font:normal 12px Verdana;
        min-height:100px;
        text-align:left;
        padding:8px 12px;
    }

        div.jqmContent .jqmBody div.text
        {
            font-size: 13px;
            color: #292929;
            margin: 5px 0 15px;
        }

        div.jqmContent .jqmBody div.info
        {
            font-size: 11px;
            margin: 2px 0; 
            color: #CC1919;
            padding: 3px 0;
            height: 13px;
        }

        div.jqmContent .jqmBody div.info.regular { color:#0c8d0b; }

        div.jqmContent .jqContent input[type=text]
        {
            border: 1px solid rgb(211, 208, 208);
            font: normal 13px Verdana;
            height: 16px;
            color: rgb(77, 75, 75);
            padding: 3px;
            border-radius: 3px;
            width:249px;
        }

    div.jqmContent .jqmFooter
    {
        text-align: left;
        padding: 10px 0 10px 15px;
        border-top: 1px solid #F5F5F5;
        background: #FCFAFA;
        border-radius: 0 0 3px 3px;
        -moz-border-radius: 3px 3px 0 0;
        -webkit-border-radius: 0 0 3px 3px;
        -khtml-border-radius: 3px 3px 0 0;
    }

        div.jqmContent .jqmFooter .formclose
        {
            padding: 6px 15px 0 0
        }

.jqmOverlay
{
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 2999;
    opacity: 0.5;
    background-color: #242424;
}

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}