/*
phone -xs
стили для разрешения экрана по ширине < 768px (xsmall phone)
*/


@media (max-width: 767px) {

    .video-frame
    {
        height: auto;
    }
    .top-margin {
        margin-top: 25px;
    }
    #begin .h1-title
    {
        margin-top: 80px;
        margin-bottom: auto;
        margin-left: 15px;
    }
    #begin .h1-form
    {

        margin-top: 20px;
        margin-bottom: auto;
        margin-left: 0px;
    }
    #begin .h1-text
    {

        margin-top: 60px;
        margin-bottom: auto;
        margin-left: 0px;
    }
    #begin .search-info
    {
        margin-top: 20px;
    }

    #begin .search-info > p
    {
        line-height: 18px;
    }

    h1, .h1
    {
        font-size: 42px;
    }
    h2, .h2 {
        font-size: 24px;
        line-height: 24px;
    }

    h3 {
        font-size: 26px;
    }

    h4, .h4 {
        font-size: 18px;
        font-weight: 200;
    }
    #page-top .top .navbar-header {
        margin-right: 0px;
    }


    .games-list .item .block-btn
    {
        bottom: 30px;
    }
    .games-list .item .block-btn .btn
    {
        font-size: 20px;
        position: relative;

    }

    .btn-round {

        width: 60px !important;
        height:60px !important;
        margin-left: 15px;
    }


    .glyphicon-triangle-right {
        position: relative;
        margin-top: 0px;
        width: 20px;
        padding: 0;
        background: transparent;
        color: transparent;
    }
    .glyphicon-triangle-right>div {
        width: 10px;
        height: 2px;
        background: #ffffff;
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
        position: absolute;
        top: 17px;
        left: 0px !important;
    }

    .glyphicon-triangle-right>div:before {
        content: " ";
        display: block;
        width: 11px;
        height: 2px;
        background:  #ffffff;
        -webkit-transform: rotate(60deg);
        -moz-transform: rotate(60deg);
        -ms-transform: rotate(60deg);
        transform: rotate(60deg);
        position: absolute;
        top: -4px;
        right: -3px;
    }
    .glyphicon-triangle-right>div:after {
        content: " ";
        display: block;
        width: 11px;
        height: 2px;
        background:  #ffffff;
        -webkit-transform: rotate(-60deg);
        -moz-transform: rotate(-60deg);
        -ms-transform: rotate(-60deg);
        transform: rotate(-60deg);
        position: absolute;
        top: -4px;
        left: -3px;
    }





    .games-list .item .img
    {
        padding-right: 0;
        padding-left: 0;
    }
    .no-margin-r
    {
        margin-right: 0 !important;
    }
    .games-list .item{

        height: 225px;
        margin-bottom: 15px;
        margin-top: 15px;
    }
    .games-list .item .img-thumbnail
    {
        height: 225px;
        background: none;
        border: none;
        object-fit: cover;
        padding: 0;
        border-radius: 0;
        width: 100%;
    }
    .games-list .item .title
    {
        margin-bottom: 7px;
    }
    .games-list .item .info
    {
        padding:15px 30px;
        /*height: inherit;*/
        height: 245px;
    }
    .games-list .item .place, .games-list .item .day
    {
        font-size: 14px;
        line-height: 18px;
    }



    /*интересное */
    .intresting-items .img-thumbnail
    {
        height: 250px;
        width: 360px;
    }


    .block-title
    {
        margin-top: 26px;
        height: 70px;
    }
    .box-title {
        padding: 5px 40px 11px 15px;
        margin: 26px 25px 40px 0;
    }




    .bottom .navbar-nav {
        margin: 7.5px -15px;
    }
    .bottom .light{
        font-family: LatoLight;
    }


    .bottom .col
    {
        padding-top: 5px;
        margin-bottom: 15px;
    }

    .vertical-label
    {
        display: none;
    }





    .games-list  .game
    {
        margin-bottom: 35px;
    }

    .container-game
    {
        /*width: 320px;*/
    }

    .btn-lg
    {
        font-size: 20px;
        padding: 10px 40px;
    }

    .section-body
    {
        padding: 25px 0 0px 0;
    }

    .carousel-multi-item
    {
        box-shadow: none;
    }
    .box-banners
    {
        /*margin-right: -15px;*/
        /*margin-left: -15px;*/
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .c-carousel {
        margin-top: 0px;
    }


    .parallelogram-top,  .parallelogram-bottom{
        margin-left: 0px;
        font-size: 18px;
        padding: 15px 20px;
        line-height: -moz-block-height;
        -webkit-transform: skew(0deg);
        -moz-transform: skew(0deg);
        -o-transform: skew(0deg);
    }

    .parallelogram-bottom{
        padding: 15px 20px;
        font-size: 16px;
        margin-bottom: 35px;
        text-align: left !important;
    }
    .parallelogram-top{
        font-size: 18px;
        padding: 15px 20px;
    }

    .parallelogram {
        width: 100%;
        height: 150px;
        -webkit-transform: skew(0deg);
        -moz-transform: skew(0deg);
        -o-transform: skew(0deg);

        font-size: 16px;
        line-height: 18px;
        padding: 15px;
    }
    .parallelogram p{
        -webkit-transform: skew(0deg);
        -moz-transform: skew(0deg);
        -o-transform: skew(0deg);

        padding-left: 10px;
        padding-right: 10px;

    }


    .panel-default
    {
        border: none;
    }
    .panel-body
    {
        padding: 0;
    }
    .panel-body > .table th {
        font-size: 14px;
        line-height: 14px;

    }
    .panel-body > .table td {

        font-size: 16px;
        line-height: 20px;

    }

    #page-top .navbar-inverse .navbar-toggle {
        border-color: #333;
        float: left;
        margin-left: 15px;
        margin-right: 0;
    }
}

@media (max-width: 567px)
{

    .bottom
    {
        margin: 20px auto;
        width: 270px;
    }
    /*#page-top .navbar-inverse .navbar-toggle {*/
        /*border-color: #333;*/
        /*float: left;*/
        /*margin-left: 15px;*/
        /*margin-right: 0;*/
    /*}*/



    /*.top  .navbar-inverse .navbar-toggle*/
    /*{*/
        /*float: left;*/
    /*}*/
    .navbar-brand > img {

        width: 150px;
    }

    #begin {
        /*height: 520px;*/
        margin-top: 0px;
        padding-top: 0px;
    }
    #begin.bg-gray {
        background-image: none;
        background-color: #12161b;
    }

    #begin .slide-image,
    #begin a > .slide-image {

        /*display: none;*/
    }


    #begin .header-carousel-snippet
    {
        font-size: 22px;
        font-family: LatoBlack;
    }
    #begin .h1{
        font-size: 38px;
        line-height: 40px;
    }
    #begin .snippet{
        font-size: 18px;
        font-family: LatoBlack;
        text-transform: none;
        letter-spacing: normal;
    }

    #begin .event-name
    {
        padding-bottom: 0;
        /*line-height: 24px;*/
        display: block;
        margin-bottom: 0;
        margin-top: 12px;
    }
    #begin .event-text
    {
        font-size: 14px;
        display: block;
        line-height: 22px;
        margin-top: 10px;
    }

    #begin .event-content
    {
        left: 0;
	margin-top: 120px;
    }

    #begin .bs-slider > .carousel-inner > .item > img, .bs-slider > .carousel-inner > .item > a > img
    {
        /*object-fit: contain;*/
        /*height: 400px;*/
        /*margin-top: -50px;*/

	opacity: 0.5;
	object-fit: cover;

    }
    
    #begin .event-content {
	background-color: rgb(29 29 29 / 70%);
    }

    #begin .header-carousel-box{
        position: relative;
        top: 80px;
        left: 15px;

    }
    #begin .header-carousel-wh1{
    }

    #begin .slide-text {

        position: absolute;
        top: 0px;
    }
    #begin .slide-text > p  {
        padding: 15px 0 15px 30px ;
        margin-left: -30px;
    }
    #begin .slide-text > h1  {
        /*display: none;*/
    }


    #begin .bs-slider > .carousel-inner > .item > img, .bs-slider > .carousel-inner > .item > a > img
    {
        /*opacity: 0*/;
	height: 540px;
    }

    #begin .carousel-inner img.img-responsive {
	display: none;
    }
}


@media (min-width: 414px)  and (max-width: 575px)
{

    #begin
    {
        height: 550px;
    }
    #begin.section-event
    {
        height: 355px;
    }
    #begin.section-event  .bs-slider
    {
        height: 320px;
    }
    #begin .header-carousel-wh1
    {
        font-size: 50px;
    }
    #begin .slide-text {
        padding-right: 70px;
    }

    #begin
    {
        height: 550px;
    }
    #begin .indicators-line > .carousel-indicators
    {
        /*top:200px;*/
        top: 460px;
    }

    .games-list .title
    {

        font-size: 22px;
        line-height: 26px;
    }
    .games-list .item .place, .games-list .item .day {
        font-size: 20px;
        line-height: 22px;
        padding-bottom: 15px;
    }
    #begin .event-content
    {
        width: 350px;
    }

    .container-game
    {
        width: 320px;
    }
    #movies-box
    {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .video-responsive
    {
        padding-bottom: 300px;
    }
}
@media (min-width: 375px) and (max-width: 413px)
{
    #begin
    {
        height: 550px;
    }

    #begin
    {
        height: 550px;
    }
    #begin.section-event
    {
        height: 355px;
    }
    #begin.section-event  .bs-slider
    {
        height: 320px;
    }
    #begin .indicators-line > .carousel-indicators
    {
        /*top:200px;*/
        top: 460px;
    }
    #begin .header-carousel-wh1
    {
        font-size: 45px;
    }
    #begin .slide-text {
        padding-right: 10px;
    }
    .games-list .title
    {
        font-size: 22px;
        line-height: 26px;
    }
    .games-list .item .place, .games-list .item .day {
        font-size: 16px;
        line-height: 20px;
        padding-bottom: 7px;
    }

    #begin .event-content
    {
        width: 350px;
    }

    .container-game
    {
        width: 320px;
    }

    #movies-box
    {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .video-responsive
    {
        padding-bottom: 210px;
    }
}
@media (min-width: 320px) and (max-width: 374px)
{

    #begin
    {
        height: 550px;
    }
    #begin.section-event
    {
        height: 355px;
    }
    #begin.section-event  .bs-slider
    {
        height: 320px;
    }
    #begin .indicators-line > .carousel-indicators
    {
        top: 460px;
        /*top:220px;*/
    }

    #begin .header-carousel-wh1
    {
        font-size: 38px;
        letter-spacing: normal;
    }

    #begin .slide-text {
        padding-right: 0px;
    }
    .games-list .title
    {
        font-size: 22px;
        line-height: 26px;
    }
    .games-list .item .place, .games-list .item .day {
        font-size: 20px;
        line-height: 22px;
        padding-bottom: 13px;
    }

    #begin .event-content
    {
        width: 300px;
    }

    #movies-box
    {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .video-responsive
    {
        padding-bottom: 151px;
    }
}

.carousel-multi-item .img-thumbnail
{

}

/*=========================*/
/*Горизонтальная ориентация*/
/*==========================*/
@media (min-width: 568px) and (max-width: 767px)
{

    #page-top .navbar-brand
    {
        padding-top: 10px;
    }
    #begin {
        height: 400px;
        margin-top: 45px;
        padding-top: 10px;
    }


    #begin .carousel-indicators
    {
        top: 25%;
    }

    #begin .bs-slider > .carousel-inner > .item > img, .bs-slider > .carousel-inner > .item > a > img
    {
        opacity: 1;
        border-radius: 4px;
        height: 290px !important;
        width: auto !important;
        margin-left: auto;
        margin-right: 50px;
    }
    #begin .event-content
    {
        width: auto;
    }

    #begin .slide-text
    {
        top: 0;
        padding-top: 0;
    }
    #begin .snippet {
        font-size: 22px;
        line-height: 42px;
    }
    #begin .h1
    {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 38px;
        line-height: 40px;
    }
    #begin .slide-text > h1
    {
        margin-top: 10px;
    }

    #begin .event-content .event-name
    {
        font-size: 20px;
        line-height: 22px;
        margin-top: 5px;
    }

    #section-games .container-game {
        width: 100%;
        /*width: 538px;*/
    }

    .games-list .item
    {
        padding: 0 15px;
    }

    .games-list .game .item .col-xs-12.img
    {
        width: 50%;
    }
    .games-list .game .item .col-xs-12.info
    {
        padding: 10px 30px;
        width: 50%;
        height: 225px;
    }
    .games-list .title
    {
        font-size: 20px;
        line-height: 24px;
    }

    .games-list .item .block-btn
    {
        bottom: 20px;
    }
    .container-game {
        width: 100%;
    }


    .games-list .title
    {

        font-size: 22px;
        line-height: 26px;
    }
    .games-list .item .place, .games-list .item .day {
        font-size: 20px;
        line-height: 22px;
        padding-bottom: 15px;
    }
    .col-xs-sm-6
    {
        width: 50%;
    }

    .video-frame
    {
        height: 320px;
    }
}
@media (min-width: 568px) and (max-width: 665px)
{


    #begin .h1-title
    {
        margin-top: -22px;
        margin-bottom: auto;
        margin-left: 50px;
    }
    #begin .h1-form
    {

        margin-top: 0px;
        margin-bottom: auto;
        margin-left: 35px;
    }
    #begin .h1-form .col-xs-12
    {
        width: 50%;
    }
    #begin .h1-block
    {
        padding-top: 0;
    }
    #begin .h1-block.col-xs-12
    {
        width: 70%;
    }
    #begin .h1-text
    {
        margin-top: 0px;
    }
    #begin .h1-text .snippet
    {
        margin-top: 10px;
        font-size: 24px;
        line-height: 26px;
    }

    #begin
    {

        margin-top: 20px;
        margin-bottom: auto;
        margin-left: 0px;
    }

    #begin {
        height: 400px;
        margin-top: 45px;
        padding-top: 10px;
    }
    #begin {
        height: 300px;
        margin-top: 45px;
        padding-top: 10px;
    }
    #begin .slide-text > p
    {
        margin-left: 112px;
    }
    #begin .bs-slider
    {
        height: 320px;
    }
    #begin .indicators-line > .carousel-indicators
    {
        bottom: 5px;
    }
    #begin .bs-slider > .carousel-inner > .item > img, .bs-slider > .carousel-inner > .item > a > img
    {
        height: 220px !important;
        margin-right: 15px;

    }
    #begin .event-content .event-name
    {
        font-size: 18px;
        line-height: 20px;
    }
}
@media (min-width: 667px) and (max-width: 735px)
{
    #begin .h1-title
    {
        margin-top: -22px;
        margin-bottom: auto;
        margin-left: 50px;
    }
    #begin .h1-form
    {

        margin-top: 0px;
        margin-bottom: auto;
        margin-left: 35px;
    }
    #begin .h1-form .col-xs-12
    {
        width: 40%;
    }
    #begin .h1-text
    {

        margin-top: 0px;
        margin-bottom: auto;
        margin-left: 0px;
    }
    #begin .h1-block.col-xs-12
    {
        width: 70%;
    }
    #begin .h1-text .snippet
    {
        margin-top: 10px;
        font-size: 24px;
        line-height: 26px;
    }

    #begin {
        height: 400px;
        margin-top: 45px;
        padding-top: 10px;
    }
    #begin .slide-text > p
    {
        margin-left: 51px;
    }
    #begin .bs-slider
    {
        height: 320px;
    }
    #begin .indicators-line > .carousel-indicators
    {
        bottom: 5px;
    }
}
@media (min-width: 736px) and (max-width: 767px)
{

    #begin .h1-title
    {
        margin-top: -22px;
        margin-bottom: auto;
        margin-left: 50px;
    }
    #begin .h1-form
    {

        margin-top: 0px;
        margin-bottom: auto;
        margin-left: 35px;
    }
    #begin .h1-form .col-xs-12
    {
        width: 40%;
    }
    #begin .h1-text
    {

        margin-top: 20px;
        margin-bottom: auto;
        margin-left: 0px;
    }
    #begin .h1-block.col-xs-12
    {
        width: 60%;
    }
    #begin .h1-text .snippet
    {
         margin-top: 10px;
         font-size: 24px;
         line-height: 26px;
    }

    #begin .bs-slider
    {
        height: 360px;
    }
    #begin .slide-text > p
    {
        margin-left: 120px;

    }

}
