@font-face {
    font-family: Roboto Thin;
    src: local("Roboto Thin"),
    url(/sites/all/libraries/design/_spbver_/second_screen/fonts/Roboto-Thin.ttf);
}
@font-face {
    font-family: Roboto Black;
    src: local("Roboto Black"),
    url(/sites/all/libraries/design/_spbver_/second_screen/fonts/Roboto-Black.ttf);
}
@font-face {
    font-family: Roboto Regular;
    src: local("Roboto Regular"),
    url(/sites/all/libraries/design/_spbver_/second_screen/fonts/Roboto-Regular.ttf);
}
@font-face {
    font-family: Roboto Light;
    src: local("Roboto Light"),
    url(/sites/all/libraries/design/_spbver_/second_screen/fonts/Roboto-Light.ttf);
}

/* Reset (begin) */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Reset (end) */


html{
    min-height: 100%;
    position: relative
}
body{
    background: url('/sites/all/libraries/design/_spbver_/second_screen/img/ss-bg.png') repeat #2A3F7A;
    height: 100%;
}


.second-screen__layout {
    position: relative;
    z-index: 2;
}

.second-screen__header {
    background: #1e2e59;
    border-bottom: #162341 solid 1px;
    position: relative;
    z-index: 3;
}
.second-screen__header-block {
    line-height: 0;
    margin: 0 auto;
    padding: 0;
    position: relative;
    width: 910px;
}
.second-screen__header-logo {
    background: url('/sites/all/libraries/design/_spbver976_/second_screen/img/spb-logo.png') center 12px no-repeat;
    border-left: #162341 solid 1px;
    height: 47px;
    position: absolute;
    right: 0;
    top: 0;
    width: 70px;
}

.second-screen__header-caption {
    background: url('/sites/all/libraries/design/_spbver976_/second_screen/img/ss-logo.png') center 7px no-repeat;
    border-right: #162341 solid 1px;
    display: inline-block;
    height: 34px;
    padding: 7px;
    width: 114px;
}
.second-screen__header-city {
    cursor: pointer;
    display: inline-block;
    padding: 24px 30px 0 20px;
    position: relative;
    vertical-align: top;
}
.header-city__selected {
    color: #fff;
    cursor: pointer;
    font-family: Roboto Light, sans-serif;;
    font-size: 14px;
    height: 20px;
}
    .header-city__selected img {
        margin-left: 8px;
        padding: 0 0 3px 0;
    }
.header-city__list {
    display: none;
    position: absolute;
    top: 35px;
    left: 5px;
    height: 300px;

    overflow-y: scroll;
    z-index: 3;
    background: #213357;
    padding: 8px 0;
}

.header-city__list_type_opened {
    display: block;
}
    .header-city__list-item {
        padding: 10px 14px;
        font-size: 14px;
        color: #fff;
        cursor: pointer;
        width: 220px;
        font-family: Roboto Light, sans-serif;;
    }
    .header-city__list-item:hover {
        background: #1379B9;
    }
    .header-city__list-item_type_selected{
        background: #1379B9;
    }


.second-screen__schedule-list {
    display: block;
    line-height: 0;
    margin: 10px auto;
    width: 916px;
    position:relative;
}
.second-screen__schedule-item {
    vertical-align:top;
    overflow: hidden;
    line-height:1;
    display: inline-block;
    height: 220px;
    margin: 0 0 10px 5px;
    padding: 0;
    width: 220px;
    position:relative;
    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, rgba(14, 158, 220, 0.75)),
        color-stop(1, rgba(14, 136, 212, 0.75))
    );
    background-image: -o-linear-gradient(bottom, rgba(14, 158, 220, 0.75) 0%, rgba(14, 136, 212, 0.75) 100%);
    background-image: -moz-linear-gradient(bottom, rgba(14, 158, 220, 0.75) 0%, rgba(14, 136, 212, 0.75) 100%);
    background-image: -webkit-linear-gradient(bottom, rgba(14, 158, 220, 0.75) 0%, rgba(14, 136, 212, 0.75) 100%);
    background-image: -ms-linear-gradient(bottom, rgba(14, 158, 220, 0.75) 0%, rgba(14, 136, 212, 0.75) 100%);
    background-image: linear-gradient(to bottom, rgba(14, 158, 220, 0.75) 0%, rgba(14, 136, 212, 0.75) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0E9EDC', endColorstr='#0E88D4',GradientType=0 );
}
.second-screen__schedule-item .schedule-item__logo {
    display: block;
    height: 65px;
    margin: -15px -15px 15px;
}
    .second-screen__schedule-item > a {
        display: block;
        padding: 15px;
        text-decoration: none;
    }
.second-screen__schedule-item .schedule-item__full-schedule {
    position:absolute;
    bottom:0;
    right:0;
    display:block;
    border-top: 1px  solid #2F4788;
    border-left: 1px  solid #2F4788;
    line-height: 0;
    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, rgba(14, 158, 220, 0.75)),
        color-stop(1, rgba(14, 136, 212, 0.75))
    );
    background-image: -o-linear-gradient(bottom, rgba(14, 158, 220, 0.75) 0%, rgba(14, 136, 212, 0.75) 100%);
    background-image: -moz-linear-gradient(bottom, rgba(14, 158, 220, 0.75) 0%, rgba(14, 136, 212, 0.75) 100%);
    background-image: -webkit-linear-gradient(bottom, rgba(14, 158, 220, 0.75) 0%, rgba(14, 136, 212, 0.75) 100%);
    background-image: -ms-linear-gradient(bottom, rgba(14, 158, 220, 0.75) 0%, rgba(14, 136, 212, 0.75) 100%);
    background-image: linear-gradient(to bottom, rgba(14, 158, 220, 0.75) 0%, rgb(14, 136, 212, 0.75) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0E9EDC', endColorstr='#0E88D4',GradientType=0 );
}
    .second-screen__schedule-item .schedule-item__time {
        color: #fff;
        font-size: 28px;
        font-family: Roboto Light, sans-serif;;
        margin-top: 15px;
        text-decoration: none;
    }
    .second-screen__schedule-item .schedule-item__title{
        color: #fff;
        font-size: 16px;
        line-height: 1.3;
        margin-top: 6px;
        font-family: Roboto Regular, sans-serif;;
        word-wrap: break-word;
        height: 80px;
        overflow: hidden;
    }

.second-screen__schedule-item_link_miss {
    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(1, rgba(98, 119, 148, 0.75)),
        color-stop(1, rgba(87, 107, 140, 0.75))
    );
    background-image: -o-linear-gradient(bottom, rgba(98, 119, 148, 0.75) 0%, rgba(87, 107, 140, 0.75) 100%);
    background-image: -moz-linear-gradient(bottom, rgba(98, 119, 148, 0.75) 0%, rgba(87, 107, 140, 0.75) 100%);
    background-image: -webkit-linear-gradient(bottom, rgba(98, 119, 148, 0.75) 0%, rgba(87, 107, 140, 0.75) 100%);
    background-image: -ms-linear-gradient(bottom, rgba(98, 119, 148, 0.75) 0%, rgba(87, 107, 140, 0.75) 100%);
    background-image: linear-gradient(to bottom, rgba(98, 119, 148, 0.75) 0%, rgba(87, 107, 140, 0.75) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#627794', endColorstr='#576B8C',GradientType=0 );
    height: 190px;
    padding: 15px;
    width: 190px;
}
    .second-screen__schedule-item_link_miss .schedule-item__time,
    .second-screen__schedule-item_link_miss .schedule-item__title {
        color: #ACB6C1;
        text-decoration:none;
    }

.second-screen__header-help {
    border: 1px  solid #2F4788;
    background: #213357;
    width: 550px;
    margin: 30px auto;
}
    .second-screen__header-help .header-help__content {
        color: #fff;
        font-size: 12px;
        font-family: Roboto Regular, sans-serif;;
        padding:20px;
        line-height:18px;
    }
    .second-screen__header-help .header-help__close {
        color: #f00;
        float: right;
        cursor: pointer;
        font-size: 20px;
        margin: 0 4px;
        font-weight: bold;
    }
    .second-screen__header-help .header-help__close:hover {
        color: #980501;
    }

.second-screen__footer {
    margin: 0 auto;
    width: 910px;
    position:relative;
    padding: 30px 0;
}


@media (min-width: 720px) and (max-width: 910px) {
    .second-screen__schedule-list {
        width: 686px;
    }
    .second-screen__header-block {
        width: 680px;
    }
    .second-screen__footer {
        width: 680px;
    }
}
@media (min-width: 500px) and (max-width: 720px) {
    .second-screen__schedule-list {
        width: 456px;
    }
    .second-screen__header-block {
        width: 450px;
    }
            .header-city__list {
                left: -14px;
                top: 25px;
            }

    .second-screen__header-help {
        width: 450px;
        margin: 30px auto;
    }

    .second-screen__footer {
        width: 450px;
    }
    .header-city__selected {
        margin: 0 auto;
        position: relative;
        width: 215px;
    }
    .header-city__selected img {
        position: absolute;
        right: 12px;
    }
}
@media (max-width: 500px) {
    .second-screen__schedule-list {
        width: 280px;
    }
    .second-screen__schedule-item {
        display: block;
        height: auto;
        margin: 0 0 10px 0;
        width: 280px;
    }
    .second-screen__schedule-item_link_miss {
        height: auto;
        width: 250px;
    }
    .second-screen__header {
        height: 94px;
    }
    .second-screen__header-block {
        position: initial;
        width: 280px;
    }
        .header-city__list {
            left: -12px;
        }

    .second-screen__header-help {
        width: 280px;
    }
        .second-screen__header-help .header-help__content {
            font-size: 14px;
            line-height: 20px;
        }
        .second-screen__header-help .header-help__close {
            font-size: 28px;
        }

    .second-screen__schedule-item .schedule-item__time {
        font-size: 28px;
        margin-top: 20px;
    }

    .second-screen__footer {
        width: 300px;
    }


    .second-screen__header-caption {
        border-right: none;
    }
    .second-screen__header-logo {
        background: url('/sites/all/libraries/design/_spbver976_/second_screen/img/spb-logo.png') center center no-repeat;
        border-left: #162341 solid 1px;
        display: inline-block;
        height: 45px;
        left: 75px;
        position: relative;
        right: auto;
        top: auto;
        width: 70px;
    }
    .second-screen__header-city {
        background: #1e2e59;
        border-top: #162341 solid 1px;
        display: block;
        left: 0;
        margin: 0;
        padding: 12px 0;
        position: absolute;
        width: 100%;
    }
        .header-city__selected {
            line-height: 1.3;
            margin: 0 auto;
            position: relative;
            width: 267px;
        }
        .header-city__selected img {
            position: absolute;
            top: 7px;
            right: 12px;
        }
}


.second-screen__gradient {
    background: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.4) 100%);
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(0,0,0,0)), color-stop(70%,rgba(0,0,0,0.4)), color-stop(100%,rgba(0,0,0,0.4)));
    background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 70%,rgba(0,0,0,0.4) 100%);
    background: -o-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 70%,rgba(0,0,0,0.4) 100%);
    background: -ms-radial-gradient(center, ellipse cover, rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 70%,rgba(0,0,0,0.4) 100%);
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 70%,rgba(0,0,0,0.4) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#66000000',GradientType=1 );
    display: block;
    height: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}