
@media screen and (min-width:427px) {
    #astrostar .payment {
        background: url('images/btn_pay.png') scroll no-repeat 0 0 transparent;
        height: 105px;
        transition: none;
        width: 190px;
        display: block;
        float:left;
        margin-bottom: 10px;
        cursor: pointer;
    }
    #astrostar .payment span {
        background: url('images/pay_icons_sprite.png') no-repeat transparent;
        height: 85px;
        width: 150px;
        margin: 4px 20px 16px;
        display: block;
    }
    #astrostar .payment:hover
    {
        background-position: 0 -105px;
    }
    #astrostar .payment:hover span
    {
        margin: 6px 20px 14px;
    }
    #astrostar .payment:active
    {
        background-position: 0 -210px;
    }
    #astrostar .payment:active span
    {
        margin: 8px 20px 12px;
    }
    #payment-block
    {
        max-width: 380px;
        margin: 0 auto;
        width: 100%;
    }
}
@media screen and (min-width:617px) {
    #payment-block
    {
        max-width: 570px;
        margin: 0 auto;
        width: 100%;
    }
}
@media screen and (max-width:426px) {
    #astrostar .payment {
        background: url('images/btn_pay.png') scroll no-repeat 0 0 transparent;
        background-size: 135px;
        height: 70px;
        width: 143px;
        display: block;
        float:left;
        margin-bottom: 10px;
        cursor: pointer;
    }
    #astrostar .payment span {
        background: url('images/pay_icons_sprite_max.png') no-repeat transparent;
        background-size: 106px;
        height: 73px;
        width: 106px;
        margin: -6px 16px 16px;
        display: block;
    }
    #astrostar .payment:hover
    {
        background-position: 0 -75px;
    }
    #astrostar .payment:hover span
    {
        margin: -5px 16px 14px;
    }
    #astrostar .payment:active
    {
        background-position: 0 -151px;
    }
    #astrostar .payment:active span
    {
        margin: -3px 16px 12px;
    }
    #payment-block
    {
        max-width: 287px;
        margin: 0 auto;
        width: 100%;
    }

}
/*#astrostar .payment {*/
    /*background: url('images/btn_pay.png') scroll no-repeat 0 0 transparent;*/
    /*height: 105px;*/
    /*width: 190px;*/
    /*display: block;*/
    /*float:left;*/
    /*margin-bottom: 10px;*/
    /*cursor: pointer;*/
/*}*/
/*#astrostar .payment span {*/
    /*background-image: url('images/pay_icons_sprite.png');*/
    /*background-repeat: no-repeat;*/
    /*background-color: transparent;*/
    /*height: 85px;*/
    /*width: 150px;*/
    /*margin: 4px 20px 16px;*/
    /*display: block;*/
/*}*/

#astrostar .hidden
{
    display: none;
}
#astrostar .highlighted
{
    border: 1px solid red !important;
}
div[data-type="error-require"],div[data-type="error-validate"]
{
    /*color: white;*/
    /*margin-bottom: 3px;*/
    /*display: none;*/
    /*position: absolute;*/
    /*background: black;*/
    /*padding: 5px;*/
    /*box-shadow: 0 2px 5px #f00;*/
    /*margin-left: 242px;*/
    /*margin-top: -29px;*/
    margin-bottom: 3px;
    display: none;
    padding: 5px;
    color: #ff0000;

}
#astro-load
{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('../../services/images/bg.png');
    display: none;
}
#astroloader
{
    position: fixed;
    left: 50%;
    top: 50%;
    height: 180px;
    width: 280px;
    text-align: center;
    margin: -95px auto auto -140px;
    background: url('../../services/images/ajax-loader.GIF') no-repeat 128px 98px white;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid #ff6359;
    padding: 15px;
}
.autocomplete-suggestions { border: 1px solid #999; background: #FFF; cursor: default; overflow: auto; -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-suggestion:hover
{
    background: #e6e6e6;
    cursor: pointer;
}

#astrostar .dnone
{
    display: none;
}
#astrostar .center
{
    text-align: center;
}
#astrostar .astrostar-result-text .sign, .astrostar-result-text-cons .sign
{
    text-align: right;
    font-size: 16px;
    margin: 10px 0;
    font-family: Tahoma fantasy;
    font-style: italic;
}
#astrostar .astrostar-result-text {
    /*margin-right: 50px;*/
    font-family: Tahoma, sans-serif;
    border: 1px solid #bbb;
    margin: 10px auto;
    background: #fafafa;
    padding: 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 6px #bbb;
    -moz-box-shadow: inset 0 0 6px #bbb;
    box-shadow: inset 0 0 6px #bbb;
    max-width: 800px;
}
#astrostar .astrostar-result-text-cons {
    /*margin-right: 50px;*/
    font-family: Tahoma, sans-serif;
    border: 1px solid #bbb;
    margin: 10px auto;
    background: #ffffff;
    padding: 10px;
    font-size: 15px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    max-width: 800px;
}
#astrostar .astrostar-result-text-cons {
    /*margin-left: 60px;*/
}

#astrostar .astrostar-result-img-hover {
    position: absolute;
    margin: auto;
    left: 0;
    top: 0;
    right:0;
    bottom: 0;
    opacity: 0;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
}
#astrostar .astrostar-result-img-hover:hover {
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    right:0;
    bottom: 0;
    opacity: 0.66;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.66);
}
#astrostar .astrostar-result-cons-photo {
    float: left;
    margin: 0 30px 10px 0;
    text-align: center;
    font-weight: bold;
}
#astrostar .astrostar-result-cons-photo img {
    display: block;
    padding: 5px;
    border: 1px solid #777;
}
#astrostar .astrostar-result-client-photo {
    float: right;
    margin: 0 0 10px 30px;
    text-align: center;
    font-weight: bold;
}
#astrostar .astrostar-result-client-photo img {
    display: block;
    padding: 5px;
    border: 1px solid #aaa;
    width: 100px;
}
#astrostar .astrostar-result-img {

}
#astrostar .astrostar-result-img-container {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    float: left;
    margin: 10px;
    padding: 10px;
    min-width: 20px;
    height: 100px;
    box-shadow:  0 0 2px grey;
}
#astrostar .round {
    margin: -25px;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #fff;
}
#astrostar .dark_round {
    margin: -22px;
    border-radius: 44px;
    width: 44px;
    height: 44px;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color:rgba(0, 0, 0, 0.66);
}
#astrostar .cross-hor {
    margin: -15px -3px;
    border-radius: 1px;
    width: 6px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color:#fff;

}
#astrostar .cross-ver {
    margin: -3px -15px;
    border-radius: 1px;
    width: 30px;
    height: 6px;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color:#fff;

}
#astrostar .popup {
    display: none;
    z-index: 9998;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.66);
    position: fixed;
    margin: auto;
    padding: 0;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}
#astrostar .popup_window {
    text-align: center;
    display: none;
    z-index: 9999;
    position: absolute;
    margin: auto;
    left: 0;
    top: 0;
}
#astrostar .popup_window img{
    position: absolute;
}
#astrostar .close_btn {
    position: absolute;
    top: -17px;
    right: -17px;
    background-color: #fff;
    border: 2px solid black;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    font-size: 15px;
    color: #666;
    font-weight: bold;
    cursor: pointer;
}
#astrostar .preloader {
    border: 1px solid black;
    border-radius: 40px;
    position: fixed;
    height: 60px;
    width: 60px;
    top: 50%;
    left: 0;
    right: 0;
    margin: -30px auto 0 auto;
    background-color: #fff;
}
#astrostar .preloader img{
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    margin: -17px auto 0 auto;
}
#astrostar #as_popup {
    display: none;
    position: fixed;
    margin: 0 auto;
    padding: 0;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.66);
    z-index: 999;
    text-align: center;
}

#astrostar #as_popup_window {
    z-index: 1000;
    display: none;
    position: absolute;
    margin: auto;
    padding: 0;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: 785px;
    width: 800px;
    background-color: #fff0ff;
}
#astrostar .as_popup_close_bar {
    height:22px;
    background: linear-gradient(0deg, #ccc,#888);
    text-align: right;
    padding: 10px;
    border: 1px solid #777;
}
#astrostar .as_popup_content {
    padding: 20px;
    overflow: auto;
    height: 700px;
}
#astrostar #as_close_licence {
    background: linear-gradient(65deg, #ccc,#eee);
    padding: 0 3px;
    border-radius: 2px;
    color: #777;
    font-weight: bold;
    cursor: pointer;
}

#astrostar select.form-control
{
    padding: 6px 3px !important;
}
#astro-form
{
    font-style: normal;
}
#standard-form {
    background-color: #ffffff;
    box-shadow: 0 0 10px grey inset;
    padding: 40px 0;
    border-radius: 15px;
    margin: 20px 10%;
}
#standard-pair-form {
    background-color: #ffffff;
    box-shadow: 0 0 10px grey inset;
    padding: 40px 0;
    border-radius: 15px;
    margin: 20px 5%;
}
#astrostar .answer {
    margin: 10px;
}
#astrostar ul:not(.list-unstyled) li {
    list-style: none !important;
    background: url('../images/mark2.png') no-repeat;
    padding: 5px 0 10px 49px;
    margin: 0 0 25px 0;
}
#astrostar ul
{
    margin: 0;
    padding: 0;
}
.whitebg a img {
    max-width: 85%;
}
#astrostar #astrostar-main-header img{
    /*max-width: 975px;*/
    width: 100%;
}
#astrostar-main-body .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.hide_it.to_hide {
    padding: 0 18px;
}
/*Стили форм для шаблонов сервисов*/

.city_suggest {
    position: absolute;
    padding: 6px 16px;
    background-color: #fff;
    box-shadow: 0 0 3px grey;
    margin-top: 5px;
    cursor: pointer;
    z-index: 9999;
}
.city_suggest_element.active {
    background-color: #ccc !important;

}
.city_suggest_hr {
    margin: 6px;
    border-bottom: 1px solid #999;
}
input#slider-price {
    color: red !important;
    font-size: 32px !important;
    display: block;
    text-align: center;
    width: 110px;
    margin: auto !important;
    background: none;
}
label[for="slider-price"]:after {
    content: "руб.";
    margin-top: 20px;
    display: block;
    position: absolute;
    left: 55%;
    color: #F10C0C;
}
label[for="slider-price"] {
    text-align: center;
    display: block !important;
}
.support-text {
    margin: 10px 0 20px;
    font-size: 14px;
}
div#price-slider span {
    border-radius: 25px;
    width: 40px;
    height: 40px;
    margin-top: -9px;
    border: 1px solid #464545;
    cursor: pointer;
}
div#price-slider {
    border: 1px solid #9A9898;
}
.pc-article {
    overflow: visible !important;
}
.plashka {
    background: #c3e2f8 none repeat scroll 0 0;
    border-radius: 12px;
    box-shadow: 0 5px 8px #999;
    font-size: 14px;
    font-style: italic;
    padding: 10px;
}
.nopadding {
   padding: 0 !important;
}
.nopadding-left-right {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.nopadding-right {
	padding-right: 0 !important;
}
.nopadding-left {
	padding-left: 0 !important;
}
@media screen and (max-width:426px) {
	.nopadding-mobile {
	   padding: 0 !important;
	}
	.nopadding-mobile-left-right {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.nopadding-mobile-right {
		padding-right: 0 !important;
	}
	.nopadding-mobile-left {
		padding-left: 0 !important;
	}
}

.decta_help {
    font-size: 10px;
    line-height: 11px;
    color: #999;
}

.decta_help a {
    text-decoration: underline;
    color: #888;
}

.decta_help .decta_secure {
    text-align: center;
}

.decta_help .decta_secure img {
    display: inline-block;
    margin: 0 20px 18px;
    height: 23px;
}

.pay_text {
    font-size: 12px;
    display: block;
    margin-bottom: 20px;
    color: #444;
    margin-top: 100px;
}

.pay_text a {
    color: #333;
    text-decoration: underline;
}

.pay_text:not(.main_pay_text) {
    display: none;
}
@media (max-width: 767px) {
    #standard-form {
        box-shadow: 0 0 10px #bbb;
        padding: 20px 0;
        margin: 10px;
    }
    #standard-pair-form {
        box-shadow: 0 0 10px #bbb;
        padding: 20px 0;
        margin: 20px 5%;
    }
}