.row.topline{
    position: absolute;
    top: -10px;
    right: -15px;
    left: -10px;
    height: 60px;
    background: yellow;
    font-size: 20px;
    color: #323337;
    padding-top: 15px;
    font-weight: bold;
}
.calendar_item {
    border-radius: 5px;
    max-width: 385px;
    color: #7F7F7F;
    margin: 0px auto;
    text-align: center;
    background-size: 35%;
    background-repeat: no-repeat;
    background-position: top right;
    margin: 12px 0px;
    background-color: #fff;
}
.calendar_item h2{
	font-weight: bold;
    /*margin: 40px 0px 15px 0px;*/
    margin: 30px 0px 5px 0px;
}

/*задний фон*/
.calendar_item.orange{
    background-image: url(../images/orange_bg.png);
    border: 1px solid #FFB107;
}
.calendar_item.blue{
    background-image: url(../images/blue_bg.png);
    border: 1px solid #48B8DB;
}
.calendar_item.lightblue{
    background-image: url(../images/lightblue_bg.png);
    border: 1px solid #00DCE1;
}
.calendar_item .money_bg{
    background-image: url(../images/money_bg.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 38%;
}
.calendar_item.disabled{
    background-image: url(../images/close_bg.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
    color: #fff;
    padding: 25px 0px;
}
.calendar_item.disabled h2{
    margin: 0;
    padding: 12px 0px;
}
.calendar_item.disabled.passed h2{
    background: rgba(0, 0, 0, 0.67);
}
.calendar_item.disabled.future h2{
    background: rgba(199, 0, 0, 0.67);
}

/*надписи*/
.calendar_item.orange h2{
	color: #FF930F;
}
.calendar_item.blue h2{
    color:#48B8DB;
}
.calendar_item.lightblue h2{
    color:#00BFC5;
}

/*кнопки*/
.calendar_item.orange .btn,
.btn.orange_btn{
    border-color: #FFA000;
    background: #ffc772;
    background: -moz-linear-gradient(top, #ffc772 0%, #f78700 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffc772), color-stop(100%,#f78700));
    background: -webkit-linear-gradient(top, #ffc772 0%,#f78700 100%);
    background: -o-linear-gradient(top, #ffc772 0%,#f78700 100%);
    background: -ms-linear-gradient(top, #ffc772 0%,#f78700 100%);
    background: linear-gradient(to bottom, #ffc772 0%,#f78700 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffc772', endColorstr='#f78700',GradientType=0 );
    color: #fff;
}
.calendar_item.blue .btn{
    border-color:#38B5DA;
    background: #86d4f0; /* Old browsers */
    background: -moz-linear-gradient(top,  #86d4f0 0%, #2d94b3 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#86d4f0), color-stop(100%,#2d94b3)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #86d4f0 0%,#2d94b3 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #86d4f0 0%,#2d94b3 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #86d4f0 0%,#2d94b3 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #86d4f0 0%,#2d94b3 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#86d4f0', endColorstr='#2d94b3',GradientType=0 ); /* IE6-9 */

}
.calendar_item.lightblue .btn{
    border-color:#00C5CB;
    background: #2bdfe3; /* Old browsers */
    background: -moz-linear-gradient(top,  #2bdfe3 0%, #00a5a9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2bdfe3), color-stop(100%,#00a5a9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #2bdfe3 0%,#00a5a9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #2bdfe3 0%,#00a5a9 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #2bdfe3 0%,#00a5a9 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #2bdfe3 0%,#00a5a9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2bdfe3', endColorstr='#00a5a9',GradientType=0 ); /* IE6-9 */
}


/*прямоугольные переключатели*/
.slide_switch {
    background-color: #f1f1f1;
    color: #717171;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    font-weight: normal;
    text-align: center;
    border-radius: 5px;
    box-shadow: inset 0 0px 5px #ababab,0 1px 0px #fff;
    -webkit-animation: bugfix infinite 1s;
    display: block;
    height: 38px;
}
.slide_switch {
    position: relative;
    padding: 0;
}
.slide_switch input {
    position: absolute;
    opacity: 0;
}
.slide_switch *{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}
.slide_switch label {
    line-height: 38px;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    float: left;
    width: 50%;
    height: 100%;
    margin: 0;
    text-align: center;
    cursor: pointer;
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -ms-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
}
.slide_switch .slide_btn {
    border: 1px solid #0493D0;
    height: 38px;
    background: #fff url(../images/bg_slide_switch.png) right center no-repeat;
    background-size: 100% 150%;
    border-radius: 4px;
    display: block;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    z-index: 1;
    width: 50%;
    height: 100%;
}
.slide_switch input:last-of-type:checked ~ .slide_btn{
    left: 50%;
}
.slide_switch input:checked + label{
    color: #fff;
    text-shadow: none;
    -webkit-transition-delay: .15s;
    -moz-transition-delay: .15s;
    -ms-transition-delay: .15s;
    -o-transition-delay: .15s;
    transition-delay: .15s;
}



/******************************
START CHECKBOX
*******************************/

.p_check_icon{
    background-image: url('../images/checkbox_icons.png');
    background-repeat: no-repeat;
    background-position: 0px 0px;
}

.checkbox-icon {
    padding-left: 10px;
    min-height: 25px;
    cursor: pointer;
}
.checkbox-icon input[type='checkbox']{
    position: absolute;
    top: -40px;
    z-index: -1;
    visibility: hidden;
}
.checkbox-icon .p_check_icon{
    position: relative;
    top: 5px;
    left: -5px;
}
.checkbox-icon .p_check_icon{
    width: 20px;
    height: 20px;
    background-position: 0 -0;
    display: inline-block;
    cursor: pointer;
}
.checkbox-icon:hover input[type='checkbox']:checked + .p_check_icon,
.checkbox-icon:hover input[type='checkbox'][disabled]:checked + .p_check_icon{
    box-shadow: none;
}
.checkbox-icon input[type='checkbox']:checked + .p_check_icon{
    background-position: 0 -20px;
}
/******************************
END CHECKBOX
*******************************/



/*popup*/
.day_modal .btn{
	border: none;
	border-radius: 8px;
	color: #fff;
	font-weight: bold;
	/*width: 195px;*/
}
.day_modal .btn.blue_btn {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7bd7f2+0,3fb7da+100 */
	background: #7bd7f2; /* Old browsers */
	background: -moz-linear-gradient(top,  #7bd7f2 0%, #3fb7da 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #7bd7f2 0%,#3fb7da 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #7bd7f2 0%,#3fb7da 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7bd7f2', endColorstr='#3fb7da',GradientType=0 ); /* IE6-9 */
}
.day_modal .btn.orange_btn{
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ff9d22+0,ef8206+100 */
	background: #ff9d22; /* Old browsers */
	background: -moz-linear-gradient(top,  #ff9d22 0%, #ef8206 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #ff9d22 0%,#ef8206 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #ff9d22 0%,#ef8206 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9d22', endColorstr='#ef8206',GradientType=0 ); /* IE6-9 */
}
.day_modal .btn.red_btn{
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e8555f+0,e90f20+100 */
    background: #e8555f; /* Old browsers */
    background: -moz-linear-gradient(top,  #e8555f 0%, #e90f20 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #e8555f 0%,#e90f20 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #e8555f 0%,#e90f20 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8555f', endColorstr='#e90f20',GradientType=0 ); /* IE6-9 */
}
.day_modal{
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 30%;
	min-height: 400px;
    padding: 20px 0px;
}
.day_modal.orange{
    background-image: url(../images/popup_orange_corner.png);
}
.day_modal.blue{
    background-image: url(../images/popup_blue_corner.png);
    background-size: inherit;
}
button.close.red{
    background: #E54848;
    height: 30px;
    width: 30px;
    color: #fff;
    border-radius: 20px;
    position: absolute;
    top: -10px;
    right: -15px;
    opacity: 1;
    text-align: center;
}
.day_modal .day_title,
.day_modal .answer_title{
	color: #A2A2A2;
	font-size: 18px;
	font-weight: bold;
    margin-bottom: 15px;
}
.day_modal .answer_title{
	font-size: 14px;
	margin-top: 20px;
}
.orange_text{
	color: #FF930F;
}
.day_modal .im_count{
    font-size: 90px;
    font-weight: bold;
    margin-bottom: 110px;
}
.day_modal .redactor-editor{
    min-height: 150px;
}
.q_list{
    padding-left: 0;
}
.q_list li{
    list-style: none;
    margin-bottom: 7px;
    font-size: 14px;
}
.q_list li a{
    text-decoration: none;
    color: #A2A2A2;
    cursor: pointer;
}
.q_list li a.act{
    color: #167ac6;
}
.q_list li span{
    font-weight: bold;
    margin-right: 4px;
    font-size: 15px;
}





.q_item{
    border-bottom: 1px solid lightgrey;
    padding-top: 15px;
    padding-bottom: 15px;
}
.q_item:last-child{
    border-bottom: none;
}

.member_avatar{
    margin-bottom: 5px;
    height: 100px;
    line-height: 100px;
    cursor: pointer;
    position: relative;
    display: inline-block;
}
.photo_container{
    width: 100px;
    height: 100px;
    text-align: center;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background-color: #eee;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.name_container{
    font-size: 18px;
    color: #64707b;
}
.subs_member_item a .fa-youtube-square{
    color: #C61E21;
}
a.subscribe_btn{
    background: #E62117;
}
a.subscribe_btn:hover,
a.subscribe_btn:active,
a.subscribe_btn:focus{
    background-color: #CC181E;
    color: #fff;
}
a.subscribe_btn .fa-youtube-play{
    color: #fff;
}
.subs_member_item a{
    color: #000;
}
.subs_member_item{
    margin-bottom: 25px;
}
.text_blue{
    color: #028EB7;
}
.add_material {
    cursor: pointer;
    font-weight: bold;
}
.open_d_wr{
    position: absolute;
    bottom: 12px;
    left: 15px;
    right: 15px;
    color: #fff;
    background: rgba(0, 0, 0, 0.27);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    max-width: 385px;
}
.date_wr{
    position: absolute;
    top: 12px;
    left: 15px;
    right: 15px;
    color: #fff;
    background: rgba(0, 0, 0, 0.27);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    max-width: 385px;
    font-weight: bold;
}

/*.bs-callout {
    margin: 15px 0px;
    padding: 15px;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-left: 3px solid #eee;
    position: relative;
    background: #fff;
}
.bs-callout-success {
    border-left-color: #4ac359;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout-success h4 {
    color: #51b538;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-info h4 {
    color: #5bc0de;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}*/
.info-panel .panel{
    min-height: 70px;
    padding-bottom: 10px;
}
.info-panel .panel-warning h4{
    color: #f0ad4e;
}
.info-panel .panel-success h4{
    color: #51b538;
}
.info-panel .panel-info h4{
    color: #5bc0de;
}
.info-panel .panel-danger h4{
    color: #d9534f;
}


.shop_item{
    background: #fff;
    padding: 15px;
    border: 1px solid #e2e2e2;
}
.shop_item img {
    max-width: 150px;
}
.shop_item #tr_btn_sub{
    background-color: #25b7d3;
}
.shop_item #im_btn_sub{
    background-color: #f47121;
    border-color: #d26523;
}
.shop_item #ex_btn_sub{
    background-color: #344e5d;
    border-color: #2a2b2a;
}
#vote_link{
    cursor: pointer;
}
.link_options{
    position: absolute;
    top: 73%;
    left: 38%;
    width: 200px;
    /* border: 1px solid #8c8c8c; */
    font-size: 14px;
    border-radius: 5px;
    color: white;
    display: none;
}
.link_options:after{
    content: ''; 
    position: absolute;
    left: 20px; top: -20px;
    border: 10px solid transparent;
    border-bottom: 10px solid #333333;
}
.link_options a{
    display: block;
    padding: 10px 5px;
    color: #fff;
}
.link_options a:hover{
    text-decoration: none;
}
.link_options div{
    background: #333333;
    float: left;
    width: 50%;
    text-align: center;
    cursor: pointer;
}
.link_options div#link_copy{
    padding: 10px 5px;
    background: #26282a;
}




.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;
}
#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;
}
.item_game_chat.tab-pane:not(.active){
    display: none;
}

.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;

    /*margin-bottom: 5px;*/
    padding-left: 48px;
    position: relative;
}
.item_message:last-child{
    border-bottom: none;
}
.item_message .photo_message{
    width: 40px;
    margin-right: 5px;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 0px;
}
.name_message {
    font-size: 16px;
    font-weight: bold;
    color: #3F51B5;
}
.item_message p{
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.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;
    padding-right: 60px;
}
textarea.text_message:focus {
    /*border: none;*/
    outline: none;
}
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;
    top: 24px;
    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;
    border-radius: 0;
}
.btn.send_message:hover{
    background: #eeeeee;
}
.chat_wrap .load_more {
    color: #555;
    cursor: pointer;
    font-size: 16px;
    margin: 10px;
    text-decoration: underline;
}
.chat_wrap .nav-tabs{
    margin-bottom: 0;
}