body{
    background: #f9f9f9 !important;
}
.row {
    margin-left: 0;
    margin-right: 0;
}
header{
    background: #ffac38;
    min-height: 100px;
    box-shadow: 0px 4px 10px 0px rgba(155, 85, 21, 0.58);
    -webkit-box-shadow: 0px 4px 10px 0px rgba(155, 85, 21, 0.58);
    -moz-box-shadow: 0px 4px 10px 0px rgba(155, 85, 21, 0.58);
    z-index: 1000;
    background-image: url(../images/orange_bg.jpg);
    margin-bottom: 4px;
}
header .logo {
    float: left;
    position: relative;
    top: 30px;
}
header .soc-head{
    top: 30px;
    position: relative;
    float: right;
}
header .soc-head a{
    margin: 0 7px;
    display: inline-block;
}
header .soc-head a img{
    height: 35px;
}
header ul.menu-header {
    display: block;
    float: left;
    /*width: 650px;*/
    padding: 0;
    margin: 0 5px;
    text-align: center;
    position: relative;
    left: 30px;
}
header ul.menu-header li {
    display: inline;
    list-style: none;
    float: left;
    padding: 0 2px;
}
header ul.menu-header li a {
    font-family: 'Roboto Slab', serif;
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
    color: #fff; /* #1d0646;*/
    padding: 35px 15px 37px 15px;
    display: block;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    font-weight: bold;
}
header ul.menu-header li a:hover {
    background: #ffa527;
}
.white_wrap{
    margin-bottom: 8px;
    background: #fff;
    padding: 25px;
    box-shadow: 3px 4px 31.5px 3.5px rgba(1,1,1,.07);
    margin-top: 10px;
}
.white_wrap.leftmenu{
    padding: 0;
    /*margin-top: 10px;*/
}
.leftmenu li a{
    padding: 15px 10px;
    display: block;
    color: #7d7d7d;
    font-size: 15px;
    font-weight: bold;
}
.leftmenu li a.block{
    color: #a7a7a7;
}
.leftmenu li a.new{
    background: #FFEB3B;
    color: #000;
}
.leftmenu li a:hover{
    text-decoration: none;
    background: #fead38;
    color: #fff;
}
.pass-alert{
    /*background: #E88900;*/
    background: #4CAF50;
    padding: 5px;
    text-align: center;
    margin-top: 20px;
    color: #fff;
}
.pass-alert .line{
    border-top: 3px dashed #fff;
}
.pass-alert .hint{
    padding: 10px
}
.panel {
    min-height: 70px;
    padding-bottom: 10px;
    margin-top: 10px;
    box-shadow: 3px 4px 31.5px 3.5px rgba(1,1,1,.07);
}
.panel-success h4 {
    color: #51b538;
}

.day_modal .btn{
    font-size: 14px;
    padding: 6px 12px;
}
.day_modal .btn:hover{
    color: #fff;
}

.ticket_item {
    display: inline-block;
    text-align: center;
    width: 208px;
    margin-top: 25px;
}
.ticket_item a{
    display: block;
}
.ticket_item .btn{
    display: block;
    background-color: #e40500;
    background-image: linear-gradient(to bottom, #e93733 50%, #e40500 50%);
    font-family: 'Roboto Slab', serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    color: #fff;
    padding: 13px 6px;
    width: 180px;
    text-align: center;
    border-radius: 30px;
    margin: 20px auto 0px;
}

#demo-login-form .input-group {
    position: relative;
    display: table;
    border-collapse: separate;
    box-sizing: border-box;
    color: rgb(51, 51, 51);
    height: 55px;
    line-height: 0px;
    width: 100%;
}
#demo-login-form .form-group {
    margin-bottom: 15px;
}
#demo-login-form .input-group .input-group-addon:first-child {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: none;
}
#demo-login-form .input-group .form-control:last-child {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
#demo-login-form .form-control {
    padding: 6px 12px;
}
#demo-login-form .input-group .form-control {
    display: table-cell;
    position: relative;
    float: left;
    width: 100%;
    margin-bottom: 0;

    box-shadow: none;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    background-color: #fff;
    background-image: none;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 55px;
}
#demo-login-form .has-error .input-group .form-control{
    border: 1px solid #a94442;
}
#demo-login-form .has-success .input-group .form-control{
    border: 1px solid #3c763d
}
#demo-login-form .input-group-addon {
    color: #555;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #edf0f4 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#edf0f4));
    background: -webkit-linear-gradient(top, #ffffff 0%,#edf0f4 100%);
    background: -o-linear-gradient(top, #ffffff 0%,#edf0f4 100%);
    background: -ms-linear-gradient(top, #ffffff 0%,#edf0f4 100%);
    background: linear-gradient(to bottom, #ffffff 0%,#edf0f4 100%);
    display: table-cell;
    height: 55px;
    line-height: 14px;
    vertical-align: middle;
    white-space: nowrap;
    width: 45px;
}
#demo-login-form .btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    font-size: 18px;
}
#demo-login-form .btn-red{
    color: #fff;
    background-color: red;
    border-color: #d43f3a;
}
#demo-login-form .btn-red:hover{
    color: #fff;
}
#demo-login-form .clear{
    overflow: auto;
    visibility: visible;
    width: auto;
    height: auto;
    display: block;
}
#demo-login-form .input-group-addon,
#demo-login-form .input-group-btn,
#demo-login-form .input-group .form-control {
    display: table-cell;
}
#demo-login-form .input-group .form-control {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}
*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}





.table_topline{
    /*height: 40px;*/
    background: #000;
    margin-top: 25px;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#361f62+0,6d2060+100 */
    background: #361f62; /* Old browsers */
    background: -moz-linear-gradient(-45deg,  #361f62 0%, #6d2060 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg,  #361f62 0%,#6d2060 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg,  #361f62 0%,#6d2060 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#361f62', endColorstr='#6d2060',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

    margin: 0;
    padding: 10px 15px;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
}

.white_wrap .table td,
.white_wrap .table th{
    border: 1px solid #B7B7B7;
    text-align: center;
    position: relative;
    color: #028EB7;
    font-size: 18px;
    font-weight: bold;
    vertical-align: middle;
}
.white_wrap .table th{
    text-transform: uppercase;
    color: #B7B7B7;
    font-size: 16px;
    padding: 8px 5px;
}
.white_wrap .filters{
    display: none;
}
.white_wrap .table tbody tr.star_0 td:first-child:before{
    content: '';
    background-image: url(../images/smartgame/star.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 50px;
    width: 50px;
    position: absolute;
    left: -25px;
    top: 0px;
}
.white_wrap .table tbody tr.star_1 td:first-child:before{
    content: '';
    background-image: url(../images/smartgame/star.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 35px;
    width: 35px;
    position: absolute;
    left: -18px;
}
.white_wrap .table tbody tr.star_2 td:first-child:before{
    content: '';
    background-image: url(../images/smartgame/star.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 25px;
    width: 25px;
    position: absolute;
    left: -13px;
}
.white_wrap .table td.name_cell{
    text-align: left; 
    padding: 15px 10px; 
    font-size: 15px;
    text-transform: uppercase;
}
.white_wrap .table td.name_cell img{
    margin-right: 7px;
}
.white_wrap .text_orange{
    color: #FF930F;
}


.white_wrap ul.yiiPager .page a {
    font-weight: normal;
    font-size: 15px;
    color: #F3870D;
    border-color: #F3870D;
    border-radius: 3px;
    padding: 8px;
}
.white_wrap ul.yiiPager li {
    font-size: 15px;
}

.white_wrap .list-view .pager{
    margin: 20px;
    text-align: center;
}

.white_wrap ul.yiiPager .selected a{
    background: #F3870D;
    color: #FFFFFF;
    font-weight: bold;
    border-color: #D44A2A;
}

.white_wrap ul.yiiPager a{
    border: solid 1px #f3870d;
    font-weight: bold;
    color: #f3870d;
    padding: 8px;
    text-decoration: none;
    border-radius: 3px;
}
.white_wrap .pager .next>a,
.white_wrap .pager .previous>a{
    float: none;
}

#demo-login-form .form-control[readonly]{
    cursor: auto;
}
.season_item.calendar_item.disabled h2 {
    padding: 12px 20px;
}
.seasonlink{
    display: block;
}
.seasonlink:hover{
    text-decoration: none;
    cursor: pointer;
}
.seasonlink:hover .season_item{
    box-shadow: 3px 4px 31.5px 3.5px rgba(43, 43, 43, 0.34);
}

.vk_link{
    background-image: url(../images/vk_icon.png);
    height: 40px;
    width: 40px;
    display: block;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    right: -22px;
    top: 20px;
}

.total{
    display: inline-block;
    font-size: 19px;
    color: #fff;
    font-weight: bold;
    margin-top: 36px;
    margin-left: 150px;
    font-style: italic;
}

#demo-profile-form .form-control{
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0px 4px 4px 0px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

#list_message{
    overflow-x: auto;
}
.white_wrap.chat_wrap{
    padding: 0;
    max-width: 700px;
    margin: 10px auto auto auto;
}

.chat_header{
    font-size: 20px;
    padding: 8px;
    text-align: center;
    background: #622061;
    color: #fff;
    font-weight: bold;
}

.wrap_list_message {
    padding: 5px 20px;
    height: 350px;
    overflow-y: auto;
    border-left: 1px solid lightgray;
    border-right: 1px solid lightgray;
    overflow-x: auto;
}
.wrap_list_message::-webkit-scrollbar {
    width: 7px;
    background: transparent;
    border-left: 1px solid lightgray;
}  
.wrap_list_message::-webkit-scrollbar-thumb {
    border-radius: 0px;
    background: #752873;
    width: 7px;
    cursor: pointer;
}
.item_message {
    word-break: break-word;
    padding: 5px 10px 0px 10px;
    border-bottom: 1px dashed lightgray;
    background: white;
    -webkit-transition: background 1.0s;
    -moz-transition: background 1.0s;
    -ms-transition: background 1.0s;
    -o-transition: background 1.0s;
    transition: background 1.0s;
}
.item_message:last-child{
    border-bottom: none;
}
.name_message {
    font-size: 16px;
    font-weight: bold;
    color: #3F51B5;
}
.item_message p{
    margin-bottom: 5px;
}
.item_message.new_message{
    background: #fff6a3;
}

.date_message {
    color: darkgrey;
    font-style: italic;
    font-weight: normal;
    margin-left: 5px;
    font-size: 13px;
    float: right;
}

.form_message_chat {
    padding: 20px 25px;
    border: 1px solid lightgray;
}
#form_demo_chat{
    overflow: hidden;
    position: relative;
}
textarea.text_message {
    width: calc(100% + 34px);
    margin: 0;
    font-size: 14px;
    height: 26px;
    display: block;
    padding: 3px 6px;
    resize: none;
    border: none;
    border-bottom: 1px solid #a0a0a0;
    position: relative;
}

textarea.text_message:focus::-webkit-input-placeholder {color:gray;}
textarea.text_message:focus::-moz-placeholder          {color:gray;}
textarea.text_message:focus:-moz-placeholder           {color:gray;}
textarea.text_message:focus:-ms-input-placeholder      {color:gray;}
.border_text_message{
    display: block;
    position: absolute;
    bottom: 0px;
    /*margin-bottom: -2px;*/
    height: 2px;
    background: #622061;

    width: 0%;
    left: 50%;
    -webkit-transition: width 0.4s, left 0.3s;
    -moz-transition: width 0.4s, left 0.3s;
    -ms-transition: width 0.4s, left 0.3s;
    -o-transition: width 0.4s, left 0.3s;
    transition: width 0.4s, left 0.3s;
}
textarea.text_message:focus ~ .border_text_message{
    width: 100%;
    left: 0%;
}
.btn.send_message{
    border: none;
    padding: 2px 8px;
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    color: #622061;
    outline: none !important;
    box-shadow: none;
}
.btn.send_message:hover{
    background: #eeeeee;
}
.chat_wrap .load_more {
    color: #555;
    cursor: pointer;
    font-size: 16px;
    margin: 10px;
    text-decoration: underline;
}
