* {

}

body {
    background: white;
    margin: 0;
    padding: 0;
}

div {
    position: relative;
}

a {

}

.pagination li {
    margin: 3px;
}

.file-preview-frame .clearfix {
    height:0;
}

.popup_link {
    display: inline-block;
    text-decoration: none;
    border-bottom: 2px dashed;
    line-height: 16px;
    cursor: pointer;
}

.popup_link:hover {
    text-decoration: none;
    border-bottom: 2px solid;
    color: black;
}

a.backlink {
    color: #00008b;
}

a.backlink:hover {
    color: #00008b;
}


/* Messagebox */

.messagebox_layout {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 40px;
    z-index: 100;
}

.messagebox_layout .messagebox {
    background: white;
    border: 3px solid black;
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    margin-top: 100px;
    padding: 10px;
}

.messagebox_layout .messagebox .messagebox_close {
    position: absolute;
    width: 30px;
    height: 30px;
    background: red;
    right: 0;
    top: 0;
    font-size: 44px;
    line-height: 20px;
    cursor: pointer;
    margin-right: -10px;
    margin-top: -10px;
    content: "X";
    text-align: center;
    color: white;
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    border-radius: 25px;
}

.messagebox_layout .messagebox .messagebox_close:hover {
    width: 31px;
    height: 31px;
    line-height: 21px;
}

.messagebox_layout .messagebox .messagebox_loader {
    text-align: center;
}


.blink {
    animation-name: blinker;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0);
    animation-duration: 0.2s;
    -webkit-animation-name: blinker;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0);
    -webkit-animation-duration: 0.2s;
}

@keyframes blinker {
    from {
        background: red;
    }
    to {
        background: darkred;
    }
}

@-webkit-keyframes blinker {
    from {
        background: red;
    }
    to {
        background: darkred;
    }
}

.grid-view img
{
    max-width: 100px;
}

.settings_button {
    display: block;
    background: url('//st.vrazbore.com/images/settings.png') transparent;
    background-size: contain;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
}

.map {
    width: 100%;
    height: 100%;
}

.map.small_map {
    width: 500px;
    height: 200px;
}


.form_item .form_item_error {
    background: rgba(255, 192, 203, 0.8);
    position: absolute;
    left: 0px;
    top: 10px;
    margin-right: 10px;
    margin-top: -15px;
    border: 1px solid red;
    padding: 0 4px 0 4px;
    font-size: 10px;
    border-radius: 8px;
}

.bigmap {
    width: 100%;
    height: 400px;
    position: relative;
}

.bigmap .position {
    position: absolute;
    width: 400px;
    bottom: 0;
    margin-bottom: 1%;
    left: 50%;
    margin-left: -200px;
    z-index: 1;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    color: #ffffff;
    border: 1px solid #000000;
    font-weight: bold;
    box-sizing: border-box;
}

.main_photo img {
    width:100%;
}


.fieldset {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 100%;
    max-width: 350px;
    padding: 20px;
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
    background: lightgoldenrodyellow;
    -webkit-box-shadow: 0 0 18px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 18px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.5);
}

.fieldset.fieldset_success {
    background: lightgreen;
}

.fieldset.fieldset_error {
    background: pink;
}


.icon_ok {
    display:none;
    position: absolute;
    left:0;
    top:0;
}

.icon_ok:before {
    content: '';
    position: absolute;
    left:0;
    top:0;
    padding-left: 20px;
    background: url("//st.vrazbore.com/images/button_ok.png") no-repeat;
    min-width: 20px;
    height: 20px;
    background-size: contain;
}

.item_photo.avatar .icon_ok{
    display:block;
}


.goods_items .goods_item.item_status_1 .btn_disable, .goods_items .goods_item.item_status_0 .btn_enable {
    display: inline-block;
}

.goods_items .goods_item.item_status_0 .btn_disable, .goods_items .goods_item.item_status_1 .btn_enable {
    display: none;
}

#notifications_block {
    position: fixed;
    right: 0;
    top: 0;
    max-height: 0;
    z-index: 50;
    width: 100%;
    max-width: 0;
    -webkit-transition: max-height 0.1s ease;
    cursor: pointer;
    border-bottom-left-radius: 10px;
    overflow: auto;

    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 1);
}

#notifications_block.active {

    min-height: 100vh;
    max-width: 300px;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    overflow: auto;
    border-radius: 0;
    right: 0;
    -webkit-transition: max-height 0.1s ease;
}

#notifications {
    vertical-align: bottom;
}

.notification {
    border-radius: 4px;
    padding: 10px;
    background: lightgreen;
    margin: 10px;
    box-sizing: border-box;
    cursor: pointer;
    display: none;
}

#notifications_block.active .notification {
    display: block;
}

.notification .title {
    font-weight: bold;
}

.notification .time {
    display: inline-block;
    font-size: 10px;
    font-weight: normal;
    color: gray;
}

.goods_item {
    font-size: 13px;
}

.goods_item.new_good_item:first-of-type {
    -webkit-transition: background 2.0s ease;
}

.goods_item.new_good_item.new {
    background: red;
}

.social_button {
    background-image: url(//st.vrazbore.com/images/socials.png);
    width: 35px;
    height: 35px;
    display: inline-block;
    background-size: 150px;
    opacity: 1;
    cursor: pointer;
    vertical-align: middle;
}

.social_button.vk {
    background-position: -6px, 0;
}

.social_button.fb {
    background-position: -77px, 0;
}

.social_button.ok {
    background-position: -113px, 0;
}

.socials_form {
    width: 100%;
    max-width: 400px;
}

.socials_form input[type=text] {
    /*width:300px;*/
}

/* payments */

.robokassa_logo{
    background: url(//st.vrazbore.com/images/robokassa.png);
    width: 217px;
    height: 32px;
    background-position-x: -8px;
    display: inline-block;
    background-position-y: -4px;
}

/*END payments*/

.in_process {
    webkit-background-size: 30px 30px;
    -moz-background-size: 30px 30px;
    background-size: 30px 30px;
    background-image: -webkit-gradient(linear, left top, right bottom, color-stop(.25, rgba(255, 255, 255, .15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .15)), color-stop(.75, rgba(255, 255, 255, .15)), color-stop(.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image: -ms-linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .4) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .4) 50%, rgba(255, 255, 255, .4) 75%, transparent 75%, transparent);
    -webkit-animation: animate-stripes 2s linear infinite;
    -moz-animation: animate-stripes 2s linear infinite;
}

@-webkit-keyframes animate-stripes {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 0;
    }
}

@-moz-keyframes animate-stripes {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 0;
    }
}