/* General styling */
html,
body {
    color: inherit;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65em;
    min-height: 100%;
    background: #fff;
    font-family: sans-serif;
    overflow-x: hidden;
}

img:not(.auto) {
    max-width: 100%;
}

article a:not(.button) {
    text-decoration: underline;
}

a {
    color: inherit;
}

a:hover {
    color: inherit;
}

strong, b {
    color: inherit;
    font-weight: 600;
}

em, i {
    font-style: italic;
}

p {
    margin: 0 0 20px 0;
}

h1, h2, h3, h4, h5, h6 {
    color: inherit;
    font-weight: 300;
    line-height: 1em;
    margin: 0 0 1em 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
    text-decoration: none;
}

h2 {
    font-size: 1.75em;
    line-height: 1.5em;
}

h3 {
    font-size: 1.35em;
    line-height: 1.5em;
}

h4 {
    font-size: 1.1em;
    line-height: 1.5em;
}

h5 {
    font-size: 0.9em;
    line-height: 1.5em;
}

h6 {
    font-size: 0.7em;
    line-height: 1.5em;
}

sub {
    font-size: 0.8em;
    position: relative;
    top: 0.5em;
}

sup {
    font-size: 0.8em;
    position: relative;
    top: -0.5em;
}

hr {
    border: 0;
    border-bottom: 1px solid rgba(144, 174, 144, 0.25);
    margin: 2em 0;
}

hr.major {
    margin: 3em 0;
}

blockquote {
    border-left: solid 4px rgba(144, 144, 144, 0.25);
    font-style: italic;
    margin: 0 0 2em 0;
    padding: 0.5em 0 0.5em 2em;
}

code {
    background: rgba(144, 144, 144, 0.075);
    border-radius: 4px;
    border: solid 1px rgba(144, 144, 144, 0.25);
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0.25em;
    padding: 0.25em 0.65em;
}

pre {
    -webkit-overflow-scrolling: touch;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0 2em 0;
}

pre code {
    display: block;
    line-height: 1.75em;
    padding: 1em 1.5em;
    overflow-x: auto;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.image.centered {
    display: block;
    overflow: hidden;
    position: relative;
}
.image.centered > img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
}
.image.centered > img.child-vertical {
    max-width: 100%;
    max-height: none;
}
.image.centered > img.child-horizontal {
    max-width: none;
    max-height: 100%;
}
.image.centered.inside > img.child-vertical {
    max-width: none;
    max-height: 100%;
    min-width: 0;
}
.image.centered.inside > img.child-horizontal {
    max-width: 100%;
    max-height: none;
    min-height: 0;
}


.alert strong {
    color: inherit;
}
.alert > strong {
    display: block;
    margin-bottom: 5px;
}
.alert p:last-child,
.alert ul:last-child {
    margin-bottom: 0;
}


form.form {
    text-align: left;
}
form.form .field {
    display: block;
    margin-bottom: 15px;
}
form.form .field label.label {
    display: block;
    font-weight: 400;
    margin-bottom: 5px;
}
form.form .field label.label em {
    font-weight: 900;
    color: #c00;
}
form.form .field input[type="text"],
form.form .field input[type="email"],
form.form .field input[type="password"],
form.form .field select,
form.form .field textarea {
    -webkit-appearance: none;
    outline: none;
    width: 100%;
    padding: 5px 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
}
form.form .field textarea {
    height: 140px;
}
form.form .field .set label.radio,
form.form .field .set label.checkbox {
    display: inline-block;
    margin-right: 30px;
}
form.form .field .set label.radio input,
form.form .field .set label.checkbox input {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
form.form .field .set label.radio span,
form.form .field .set label.checkbox span {
    display: inline-block;
    vertical-align: middle;
}
form.placeholder-dark input::-webkit-input-placeholder {
    color: rgba(0,0,0,0.45);
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
form.placeholder-dark input::-moz-placeholder {
    color: rgba(0,0,0,0.45);
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
form.placeholder-dark input:-ms-input-placeholder {
    color: rgba(0,0,0,0.45);
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
form.placeholder-dark input::placeholder {
    color: rgba(0,0,0,0.45);
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
form.placeholder-dark input:-ms-input-placeholder {
    color: rgba(0,0,0,0.45);
}
form.placeholder-dark input::-ms-input-placeholder {
    color: rgba(0,0,0,0.45);
}
form.placeholder-light input::-webkit-input-placeholder {
    color: rgba(255,255,255,0.6);
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
form.placeholder-light input::-moz-placeholder {
    color: rgba(255,255,255,0.6);
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
form.placeholder-light input:-ms-input-placeholder {
    color: rgba(255,255,255,0.6);
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
form.placeholder-light input::placeholder {
    color: rgba(255,255,255,0.6);
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
form.placeholder-light input:-ms-input-placeholder {
    color: rgba(255,255,255,0.6);
}
form.placeholder-light input::-ms-input-placeholder {
    color: rgba(255,255,255,0.6);
}


ul.pagination {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.pagination > li.item {
    display: inline-block;
    margin-right: 5px;
}
ul.pagination > li.item > * {
    display: block;
    padding: 7px 20px;
    background: #f4f7f7;
    border: 1px solid #dbdbdb;
    text-decoration: none;
    text-align: center;
}
ul.pagination > li.item > *:hover {
    border: 1px solid #c7c7c7;
    background: #eaecec;
}
ul.pagination > li.item.active > * {
    background: #777;
    border: 1px solid #777;
    color: #fff;
    font-weight: 500;
}
ul.pagination > li.disabled > * {
    opacity: 0.5;
    cursor: not-allowed;
}



/* Starbox */
.starbox .stars { background: #ebebeb; }
.starbox .rated .stars { background: #ebebeb; }
.starbox .rated.hover .stars { background: #ebebeb; }
.starbox .ghost { background: #fdfdfd; }
.starbox .colorbar { background: #ffc85c; }
.starbox .hover .colorbar { background: #ffc85c; }
.starbox .rated .colorbar { background: #f5b45e; }
.starbox .rated.hover .colorbar { background: #f5b45e; }

.starbox .colorbar { background: #ffd86b; }
.starbox .hover .colorbar { background: #ffd86b; }
.starbox .rated .colorbar { background: #ffd86b; }
.starbox .rated.hover .colorbar { background: #ffd86b; }

.starbox .stars .star_holder .star {
    position: relative;
    width: 24px;
    height: 24px;
    background-size: 100%;
    border: 1px solid #FFF;
}
.starbox.large .stars .star_holder .star {
    width: 30px;
    height: 30px;
    border: 1px solid #FFF;
}
.starbox .stars .star_holder .star::after {
    display: inline-block;
    content: ' ';
    width: 100%;
    height: 100%;
    border: 1px solid #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}

/* Modals */
.modal-trigger {
    display: block;
    position: relative;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4em;
    text-transform: uppercase;
    transition: 0.3s;
}
.modal-trigger span {
    display: block;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    margin-left: 48px;
    transition: width 0.4s;
    width: 50px;
}
.modal-trigger:hover span {
    width: 112px;
}
.modal-block {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding: 90px 15px 0;
    background: rgba(22, 22, 21, 0.85);
    background: rgba(255,255,255, 0.88);
    height: 100%;
}
.modal-block .modal-inner {
    display: block;
    position: relative;
    top: 50%;
    width: 510px;
    max-width: 100%;
    min-height: 200px;
    padding: 36px 42px;
    margin: 15px auto 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background: #1e1d1c;
    color: #fff;

    max-height: calc( 100vh - 150px );
    overflow: auto;
    width: 920px;
}
.modal-block .modal-inner .player-wrap {
    display: block;
    position: relative;
    margin-top: 35px;
}
.modal-block .modal-inner .player-wrap iframe {
    opacity: 1 !important;
}
.modal-block .modal-close {
    cursor: pointer;
    display: inline-block;
    background-image: url(/images/icon-close.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13px;
    width: 32px;
    height: 32px;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
}
.modal-block.active {
    display: block;
}