@import url('https://fonts.googleapis.com/css?family=Roboto:400,500');
@import url('cropper.css');

*
{
    line-height: inherit;
    font-family: inherit;
    vertical-align: top;
    font-size: 100%;
    padding: 0;
    outline: 0;
    margin:  0;
    border:  0;
}

html._window
{
    overflow: hidden;
}
html._window #W
{
    overflow-y: auto;
}

.hidden,
[hidden]
{
    display: none !important;
}

[data-link],
[data-link]:hover
{
    text-decoration: none;
    color: inherit;
    display: block;
}

a
{
    text-decoration: underline;
    transition: all .3s;
    color: #000000;
}
a:hover
{
    text-decoration: underline;
    color: #FF0000;
}
.b
{
    display: block;
}

td.w
{
    background-color: #ccc;
    height: 1px;
}

.ellipsis
{
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Выравнивание */
.h-l { text-align     : left   !important; }
.h-c { text-align     : center !important; }
.h-r { text-align     : right  !important; }
.v-t { vertical-align : top    !important; }
.v-m { vertical-align : middle !important; }
.v-b { vertical-align : bottom !important; }

.H-5  { height: 5px; }
.H-10 { height: 10px; }
.H-15 { height: 15px; }
.H-20 { height: 20px; }

.P-5  { padding: 05px 05px 05px 05px; }
.P-10 { padding: 10px 10px 10px 10px; }
.P-15 { padding: 15px 15px 15px 15px; }
.P-20 { padding: 20px 20px 20px 20px; }

.M-5  { margin: -05px -05px -05px -05px; }
.M-10 { margin: -10px -10px -10px -10px; }
.M-15 { margin: -15px -15px -15px -15px; }
.M-20 { margin: -20px -20px -20px -20px; }

.table-5,
.table-10,
.table-15,
.table-20,
.table-list
{
    border-collapse: separate;
    table-layout: fixed;
    width: 100%;
}
.table-5  { border-spacing: 5px;  }
.table-10 { border-spacing: 10px; }
.table-15 { border-spacing: 15px; }
.table-20 { border-spacing: 20px; }

.table-list
{
    background-color: #ebebeb;
    border-spacing: 1px;
}
.table-list th
{
    text-transform: uppercase;
    padding: 5px 5px 5px 5px;
    text-align: center;
    line-height: 20px;
    font-size:   11px;
    font-weight: bold;
}
.table-list td
{
    background-color: #FFFFFF;
    padding: 2px 5px 2px 5px;
    line-height: 21px;
    font-size:   13px;
}
.table-list td.b
{
    padding: 0;
}
.table-list td.b > a
{
    background-color: rgba(255, 255, 0, .1);
    text-decoration: none;
    text-align: center;
    line-height: 25px;
    display: block;
}
.table-list td.b > a:hover
{
    background-color: rgba(0, 255, 0, .1);
    color: green;
}

.FS-0 { font-size: 0; }

.FS-1 { line-height: 13px; font-size: 11px; }
.FS-2 { line-height: 15px; font-size: 13px; }
.FS-3 { line-height: 25px; font-size: 18px; }
.FS-H { line-height: 45px; font-size: 30px; }

h2.FS-H
{
    text-shadow: 1px 1px 3px rgba(0, 0, 0, .2);
    font-weight: normal;
}
h3.FS-H
{
    font-weight: normal;
    line-height: 30px;
}
h4.FS-H
{
    font-weight: normal;
    line-height: 25px;
    font-size:   20px;
}

.LH-15 { line-height: 15px; }
.LH-20 { line-height: 20px; }
.LH-25 { line-height: 25px; }
.LH-30 { line-height: 30px; }

.BG-0x2 { background-color: rgba(0, 0, 0, .2); }
.BG-0x5 { background-color: rgba(0, 0, 0, .5); }
.BG-0x8 { background-color: rgba(0, 0, 0, .8); }

.BG-Fx2 { background-color: rgba(255, 255, 255, .2); }
.BG-Fx5 { background-color: rgba(255, 255, 255, .5); }
.BG-Fx8 { background-color: rgba(255, 255, 255, .8); }

.FC-0 { color: #000000; }
.FC-3 { color: #333333; }
.FC-6 { color: #666666; }
.FC-9 { color: #999999; }
.FC-C { color: #CCCCCC; }
.FC-F { color: #FFFFFF; }

/*
// Всплывающие окна
*/
#W
{
    background: radial-gradient(ellipse,
        rgba(50, 75, 100, .5),
        rgba(0, 0, 0, .9)
    );

    animation-duration: .5s;
    overflow-y: scroll;
    position: fixed;
    display: none;

    z-index: 100;
    bottom: 0;
    right:  0;
    left:   0;
    top:    0;
}
#W::-webkit-scrollbar
{
    display: none;
}
#W > div
{
    animation-duration: .3s !important;
    margin: auto;

    background: rgba(255, 255, 255, 1);
    position: absolute;


    bottom: 0;
    right:  0;
    left:   0;
    top:    0;
}
#W > div.page
{
    text-align: left;
    height: auto;
    bottom: auto;
}

/*
// Кнопки
*/
[data-button]
{
    border: 2px solid rgba(200, 160, 65, 1);
    color: rgba(200, 160, 65, 1);
    padding: 5px 15px 5px 15px;
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    line-height: 30px;
    font-size:   18px;
    font-weight: 500;
}
[data-button]:hover
{
    background-color: rgba(245, 245, 245, 1);
    border: 2px solid rgba(0, 0, 0, 1);
    text-decoration: none;
    color: rgb(0, 0, 0);
}
[data-button="fill"]
{
    background-color: rgba(200, 160, 65, 1);
    color: rgba(255, 255, 255, 1);
}
[data-button].w100
{
    text-align: center;
    padding-right: 0;
    padding-left:  0;
    width: 100%;
}

[data-button-share]
{
    text-decoration: none;
    display: inline-block;
    border-radius: 30px;
    margin: 5px;
}
[data-button-share] > i
{
    color: rgba(255, 255, 255, .8);
    padding: 5px 5px 5px 5px;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    font-size:   25px;
    height: 40px;
    width:  40px;
}
[data-button-share]:hover
{
    background-color: rgba(255, 255, 255, .5);
}
[data-button-share]:hover > i
{
    color: rgba(0, 0, 0, .8);
}

[data-block],
[data-block]:hover
{
    text-decoration: none;
    display: block;
    color: inherit;
}

/*
// Формы
*/
form.form
{
    background-color: #ebebeb;
    line-height: 30px;
}
form.form td.w
{
    background-color: #cccccc;
    height: 1px;
}
form.form td.i
{
    background-color: rgba(255, 255, 255, 1);
    padding-right: 20px;
}
form.form td.i.select,
form.form td.i.checkbox
{
    padding-right: 0px;
}
form.form td.i > input,
form.form td.i > select,
form.form td.i > textarea
{
    padding: 5px 10px 5px 10px;
    transition: all .3s;
    line-height: 20px;
    display: block;
    resize: none;
    height: 20px;
    width: 100%;
}
form.form td.i > select
{
    padding: 5px 6px 5px 6px;
    height: 30px;
}
form.form td.i > input:hover,
form.form td.i > select:hover,
form.form td.i > textarea:hover
{
    background-color: rgba(255, 255, 0, .1);
}
form.form td.i > input:focus,
form.form td.i > select:focus,
form.form td.i > textarea:focus
{
    background-color: rgba(255, 255, 0, .2);
}
form.form td.i > label
{
    padding: 5px 5px 5px 5px;
    line-height: 20px;
    display: block;
}
form.form td.i > label > input
{
    margin-right: 10px;
    height: 20px;
    width:  20px;
    float: left;
}
form.form td.i > label:hover
{
    background-color: rgba(255, 255, 255, .5);
}

form.form td.button
{
    padding: 0;
}
form.form td.button > a
{
    background-color: rgba(0, 0, 0, .2);
    text-decoration: none;
    text-align: center;
    line-height: 30px;
    display: block;
}
form.form td.button > a:hover
{
    background-color: rgba(0, 0, 0, .5);
    color: #FFFFFF;
}
form.form input[type='submit'],
form.form input[type='button']
{
    background-color: rgba(0, 0, 0, .2);
    padding: 0px 10px 0px 10px;
    cursor: pointer;
}
form.form input[type='submit']:hover,
form.form input[type='button']:hover
{
    background-color: rgba(0, 0, 0, .5);
    color: #FFFFFF;
}