/* http://meyerweb.com/eric/tools/css/reset/ 
	v2.0 | 20110126
	License: none (public domain)
	*/

	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, 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: inherit;
		vertical-align: baseline;
	}
	*:focus{
		outline: none;
	}

	html, body {
		background: #f3f3f3;
		font-family:  arial, verdana, sans-serif, Lucida Sans;
		unicode-bidi: bidi-override; /* Меняются характеристики текста */
		direction: ltr; /* Текст пишется справа налево */
	}

	input, textarea {
		font-family:  arial, verdana, sans-serif, Lucida Sans;
	}

	/* HTML5 display-role reset for older browsers */
	article, aside, details, figcaption, figure, 
	footer, header, hgroup, menu, nav, section {
		display: block;
	}
	body {
		line-height: 1;
		font-size: 14px;
	}
	.italic{
		font-style: italic;
	}
	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;
	}


	/*---------------------------------------------------------*/
	body *{
		box-sizing: border-box;
	}

	a,a:visited,a:active:not([class *= 'fa']){
		cursor: pointer;
		color: #13216C;
		text-decoration: none;
	}
	a:hover{
		color: #5563AE;
	}
	h1{
		font-size: 36px;
		line-height: 36px;
	}
	h2{
		font-size: 32px;
		line-height: 32px;
	}
	h3{
		font-size: 26px;
		line-height: 26px;
	}
	h4{
		font-size: 20px;
		line-height: 20px;
	}
	h1,h2,h3,h4{
		font-weight: normal;
		font-family:  arial, verdana, sans-serif, Lucida Sans !important;
	}
	h5 {
		font-size: 16px;
	}
	strong{
		font-family:  arial, verdana, sans-serif, Lucida Sans;
		font-weight: bold;
	}

	select{
		border-radius: 5px;
		background-color: #fff;
		position: relative;
	}
	input:disabled{
		background: #fff;
		border: none;
	}
	.clearfix{
		clear: both;
	}
    .w_block{
		background: #fff;
		padding: 20px;
		border-left: 1px solid #efefef;
		border-right: 1px solid #efefef;
		border-bottom: 1px solid #e2e2e2;
		box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.04);
		border-radius: 5px;
		max-height: 100%;
		position: relative;
	}
	.w_block.paged{
		margin-top: -5px !important;
		margin-bottom: -50px !important;
		border-radius: 0;
	}
	.w_scroll{
		overflow: hidden;
	}
	.table{
		display: table;
		width: 100%;
	}
	.row{
		display: table-row;


		width: 100%;
	}
	.cell{
		display: table-cell;
		vertical-align: top;
	}
	.cell_full_width{
		width: 100%;
	}
	.pull-right{
		float: right;
	}
	.pull-left{
		float: left;
	}
	body * .hidden{
		display: none;
	}

	.invisible {
		display: none !important;
	}
	body * .relative{
		position: relative;
	}
	body .visible{
		display: block !important;
		opacity: 1 !important;
	}
	.glyphicons{
		font-size: 12px;
	}
	/*Stripped*/

	.stripped-table .row:nth-child(2n){
		background: #eaeaea;
	}

	.select2-filter_with_images span{
		font-size: 20px;
		padding: 5px;
	}
	.select2-results .select2-highlighted{
		background: #5563AE;
	}
	.select2-results li{
		padding: 5px 0;
		min-height: 25px    ;
	}
	.select2-results {
		margin: 0;
		padding: 0;
	}
	.select2-drop-active, .select2-container-active .select2-choice, .select2-container-active .select2-choices {
		border: 1px solid #5563AE;
	}
	.select2-container .select2-choice {
		height: 40px;
		background: #fff;
	}
	.select2-container .select2-choice > .select2-chosen{
		line-height: 39px;
	}
	.select2-container .select2-choice > .select2-chosen span{
		margin-right: 10px;
		font-size: 20px;
	}
	.select2-container .select2-choice .select2-arrow b{
		background-position: 0 7px;
	}

	.select2-dropdown-open .select2-choice .select2-arrow b{
		background-position: -18px 7px;
	}
	/*Form V2*/
	.form-element{
		border-radius: 5px;
		border: 1px solid #ccc;
		resize: none;
		padding: 5px;
		margin: 0;
		height: 40px;
		font-size: 14px;
	}
	.form-element:focus{
		border: 1px solid #E49540;
		box-shadow: 0px 0px 2px 0px #E49540;
		outline: none;

	}
	.form-element.element-disabled{
		border: none;
	}
	.form-element.element-disabled:focus{
		box-shadow: none;
	}
	.input_btn {
		position: relative;
	}
	.input_btn input{
		width: 100%;
	}
	.input_btn input.prepended{
		padding-left: 40px;
	}
	.input_btn input.appended{
		padding-right: 40px;
	}
	.input_btn .append_btn{
		position: absolute;
		left: 0;
		top: 0;
		height: 40px;
		line-height: 20px;
		padding: 10px;
		border-bottom-left-radius: 5px;
		border-top-left-radius: 5px;
	}
	.input_btn .prepend_btn{
		top: 0;
		position: absolute;
		right: 0;
		height: 40px;
		line-height: 18px;
		padding: 10px;
		border-bottom-right-radius: 5px;
		border-top-right-radius: 5px;
	}

	.inline-block{
		display: inline-block;
	}

	.divider {
		margin: 20px -20px;
		height: 0;
		text-align: center;
	}
	.divider div{
		display: inline-block;
		padding: 3px 5px;
		position: relative;
		top: -16px;
		font-size: 11px;
		border: 1px solid #bbb;
		border-radius: 5px;
		background-color: #fff;
	}
	.divider hr{
		border-top: 1px solid #bbb;
	}
	.divider.toggle{
		cursor: pointer;
	}
	.divider.active > div{
		background: #FEB669;
	}
	.divider.active > hr{
		border-color: #FEB669;
	}

	.show_more {
		margin: 20px -20px;
		height: 0;
		text-align: center;
	}
	.show_more > div{
		display: inline-block;
		padding: 3px 5px;
		position: relative;
		top: -16px;
		font-size: 11px;
		border: 1px solid #bbb;
		border-radius: 5px;
		background-color: #fff;
	}
	.show_more hr{
		border-top: 1px solid #bbb;
	}
	.divider {
		margin: 35px -20px 20px -20px;
		height: 0;
		text-align: center;
	}
	.divider div{
		display: inline-block;
		padding: 3px 5px;
		position: relative;
		top: -16px;
		font-size: 14px;
		border: 1px solid #bbb;
		border-radius: 5px;
		background-color: #fff;
	}
	.divider hr{
		border-top: 1px solid #bbb;
	}
	.dividers-inline{
		margin: 20px 0px;
	}
	.dividers-inline > div{
		display: inline-table;
		margin: 0;
	}
	.text-center{
		text-align: center;
	}
	.text-left{
		text-align: left;
	}
	.text-right{
		text-align: right;
	}
	.text-small{
		font-size: 14px;
	}
	.text-xsmall{
		font-size: 11px;
	}



	/*Colors*/
	.blue1{
		color: #DBDFF6;
	}
	.blue3{
		color: #5563AE;
	}
	.blue6{
		color: #13216C;
	}
	.cyan1{
		color: #DBDFF6;
	}
	.cyan2{
		color: #808CCB;
	}
	body .cyan3{
		color: #5563AE;
	}
	.cyan4{
		color: #3A499C;
	}
	.cyan5{
		color: #223289;
	}
	.cyan6{
		color: #13216C;
	}

	.green1{
		color: #A6E7BE;
	}
	.green3{
		color: #4BB874;
	}
	.green6{
		color: #06722F;
	}
	.orange1{
		color: #FFEEDB;
	}
	.orange3{
		color: #FEB669;
	}
	.orange6{
		color: #9F5709;
	}
	.grey1{
		color: #eaeaea;
	}
	.grey2{
		color: #8d8d8d;
	}
	.grey3{
		color: #656565;
	}
	.grey4{
		color: #4b4b4b;
	}
	.grey5{
		color: #3b3b3b;
	}
	.grey6{
		color: #232323;
	}
	.red1{
		color: #FFE1DA;
	}
	.red2{
		color: rgb(255, 165, 146);
	}
	.red3{
		color: rgb(254, 129, 103);
	}
	.red4{
		color: rgb(228, 92, 63);
	}
	.red5{
		color: rgb(199, 57, 27);
	}
	.red6{
		color: rgb(158, 35, 9);
	}

    .status_offline {
        color: #CCC;
    }
    
	/*Btns for V2*/
	.btn{
		border: none;
		border-radius: 5px;
		font-size: 14px;
		cursor: pointer;
		padding: 10px;
		display: inline-block;
		background: #eaeaea;
	}
	.btn.mini {
		padding: 5px 10px;
	}
	.btn:not([class *= 'fa']):not([class *= 'glyphicon']){
		font-family: sans-serif;
	}
	.btn:focus{
		outline: none;
	}

	.label{
		padding: 5px;
		display: inline-block;
		border-radius: 5px;
		font-size: 12px;
	}
	.label.label-cyan{
		background: #5563AE;
		color: #ffffff;
	}
	.btn-link{
		line-height: 18px;
		text-decoration: underline;
	}
	.btn-link:hover{
		text-decoration: none;
	}
	.btn-disabled, .btn-disabled.btn-trans{
		background: #eaeaea;
		color: #ffffff;
		border: 1px solid #eaeaea   ;
	}
	.btn-grey{
		background: #656565;
		color: #ffffff;
		border: 1px solid #656565;
	}
	.btn-blue{
		background: #5563AE;
		color: #ffffff;
		border: 1px solid #5563AE;
	}
	.btn-blue.btn-trans{
		color: #5563AE;
	}
	/*Btn cyan*/
	.btn-cyan{
		background: #5563AE;
		color: #ffffff;
		border: 1px solid #5563AE;
        background: linear-gradient(#5563AE,#3A499C);
	}

	.btn a {
		color: #fff;
		text-decoration: none;
	}

	a.btn {
		color: #fff;
		text-decoration: none;
	}
	.btn-cyan.btn-trans{
		color: #5563AE;
		border: 1px solid #5563AE;
	}
	.btn-cyan.btn-trans:hover{
		background: #DBDFF6;
		color: #808CCB;
	}


	/*Btn yellow*/
	.btn-yellow{
		background: #feb669;
		color: #ffffff;
		border: 1px solid #feb669;
	}
	.btn-yellow.btn-trans{
		color: #feb669;
	}
	.btn-green{
		background: #4bb874;
		color: #ffffff;
		border: 1px solid #4bb874;
	}
	.btn-red{
		background: #fd8167;
		color: #ffffff;
		border: 1px solid #fd8167;
	}
	/*hover*/
	.btn-grey:hover{
		background: #eaeaea;
		color: #656565;
	}
	.btn-blue:hover{
		background: #808ccb;
		color: #ffffff;
	}
	.btn-cyan:hover{
		background: #808CCB;
		color: #ffffff;
        background: linear-gradient(#808CCB,#5563AE);
	}

	.btn-yellow:hover{
		background: #ffcb93;
		color: #ffffff;
	}

	.btn-green:hover{
		background: #78d199;
		color: #ffffff;
	}
	.btn-red:hover{
		background: #ffa592;
		color: #ffffff;
	}


	.btn-trans{
		background: none;
	}

	.btn-yellow.btn-trans:hover{
		background: #FFEEDB;
		color: #FFCB93;
	}


	.btn i{
		margin-right: 10px;
	}


	/*-------SIDEBAR------*/
	hr {
		border: 0;
		border-top: 1px solid #eee;
		padding: 0;
		margin: 5px 0;
	}
	p, p strong{
		line-height: 1.6em;
		font-size: 100%;
	}

	#sidebar {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 899;
		max-width: 50px;
		min-width: 50px;
		background: #3a499c;
		margin: 0;
		bottom: 0;
		ttransition: all 0.5s ease-in-out;
		overflow: hidden;
	}

	#sidebar #open_sidebar a span{
		font-size: 10px;
		margin-top: -2px;
	}
	#sidebar.open {
		max-width: 100%;
	}
	
	#sidebar ul {
		width: 250px;
	}
	#sidebar ul li a {
		height: 40px;
		border-top: 0px solid #f3f3f3;
		display: block;
		color: white;
		line-height: 40px;
		text-decoration: none;
	}
	#sidebar ul li a:hover {
		background-color: #5563AE;
	}
	#sidebar ul li a.logo:hover {
		background-color: #3A499C;
	}
	#sidebar ul li {
		overflow: hidden;
		transition: all .3s ease;
		white-space: nowrap;
		opacity: 0.5;
		position: relative;
	}
	#sidebar ul li a span {
		padding-right: 10px;
		opacity: 0;
		transform: translateX(15px);
		transition: all 0.5s ease-in-out;
		display: inline-block;
	}
	#sidebar.open ul li a span {
		opacity: 1;
		transform: translateX(0);
	}
	#sidebar.open ul li{
		opacity:1;
	}
	#sidebar .logo {
		width: 100%;
		height: 40px;
		font-size: 22pt;
		color: #81c5ef;
		font-weight: 800;
		line-height: 40px;
		text-align: center;
        background: linear-gradient(#5563AE,#3A499C);
	}
	#sidebar ul li:first-child {
		opacity: 1;
	}
	#sidebar .logo img {
		display: inherit;
        width: 237px;
	}
	#sidebar .notification {
		display: inline-block;
		position: absolute;
		top: 5px;
		left: 30px;
		background-color: #FFCB93;
		color: #656565;
		border-radius: 3px;
		-webkit-border-radius: 3px;
		border-color: #FFCB93 #FFCB93 #FFCB93;
		border-left: 1px solid #FFCB93;
		border-width: 1px;
		box-shadow: -1px 1px 0 rgba(0, 0, 0, 0.25);
		padding: 0px 3px 0px 2px;
		font-size: 10px;
		line-height: 12px;
	}
	#sidebar ul li a div.fa {
		width: 50px;
		height: 40px;
		font-size: 12pt;
		text-align: center;
		line-height: 40px;
	}


	/*---- WRAPER ----*/
	#wraper {
		min-height: 100%;
		position: relative;
		z-index: 1;
		min-width: 920px;
		overflow: auto;
	}
	#wraper.back{
		overflow: hidden;
		left: 0;
		right: 0;
		top: 0;
		position: fixed;
	}
	#wraper div#content, #whitebox .w_block {
		width: 920px;
		margin: 0 auto;
        margin-top: 90px;
		padding-bottom: 20px;
	}

	.m_alert .wrapper {
		width: 920px;
		margin: 0 auto;
		padding-bottom: 20px;
	}


	/*Whitebox — выше .lightboxOverlay (z-index 9999), иначе полупрозрачный слой фото-лайтбокса лежит поверх модалки */
	#whitebox{

		text-align: center;
		width: 100%;

		z-index: 10050;
		display: none;
		padding: 0;
		position: relative;
		min-height: 100%;
	}
	#whitebox .w_block{
		max-width: 920px;
		width: auto;
		display: inline-block;
		padding-bottom: 20px;
		opacity: 0;
		box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
		position: relative;
		z-index: 2;
	}
	#whitebox .wb_closer{
		width: 6.5em;
		height: 6.5em;
		text-align: left;
		text-indent: -9999px;
		position: fixed;
		z-index: 10002;
		top: 60px;
		right: 1.5em;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		border-radius: 50%;
		-webkit-transition: color .3s ease;
		-moz-transition: color .3s ease;
		-ms-transition: color .3s ease;
		-o-transition: color .3s ease;
		transition: color .3s ease;
		transition: all 0.25s ease-in-out;
		cursor: pointer;
	}
	#whitebox .wb_closer:hover{
		width: 6.5em;
		height: 6.5em;
		text-align: left;
		text-indent: -9999px;
		position: fixed;
		z-index: 10002;
		top: 60px;
		right: 1.5em;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		border-radius: 50%;
		-webkit-transition: color .3s ease;
		-moz-transition: color .3s ease;
		-ms-transition: color .3s ease;
		-o-transition: color .3s ease;
		transition: color .3s ease;
		transition: all 0.25s ease-in-out;
		cursor: pointer;
	}
	#whitebox .wb_closer:before {
		width: 1px;
		background-color: #ccc;
		content: '';
		position: absolute;
		top: 20%;
		bottom: 20%;
		left: 50%;
		margin-left: -1px;
		-webkit-transform: rotate( 45deg );
		-moz-transform: rotate( 45deg );
		-ms-transform: rotate( 45deg );
		-o-transform: rotate( 45deg );
		transform: rotate( 45deg );
	}
	.wb_closer.wb_close:after {
		width: 1px;
		background-color: #ccc;
		content: '';
		position: absolute;
		top: 20%;
		bottom: 20%;
		left: 50%;
		margin-left: -1px;
		-webkit-transform: rotate( -45deg );
		-moz-transform: rotate( -45deg );
		-ms-transform: rotate( -45deg );
		-o-transform: rotate( -45deg );
		transform: rotate( -45deg );
	}
	#whitebox .wb_closer:hover:before, #whitebox .wb_closer:hover:after {
		background-color: #999;
	}
	/* Только подложка whitebox (прямой потомок). Не трогать .wrapper внутри #a_head — иначе второй чёрный слой поверх текста */
	#whitebox > .wrapper{
		background: rgba(0, 0, 0, 0.75);
		width: 100%;
		height: 100%;
		position: fixed;
		top:0;
		left: 0;
		bottom: 0;
		z-index: 0;
	}

	/* Тексты интерпретаций из БД часто с переносами строк без <p> — сохраняем абзацы */
	#whitebox .ky-interpretation-text {
		white-space: pre-line;
		line-height: 1.6;
	}
	#whitebox .ky-interpretation-text p {
		white-space: pre-line;
		margin: 0 0 0.85em;
	}
	#whitebox .ky-interpretation-text p:last-child {
		margin-bottom: 0;
	}

	/*-----HEADER------*/
    #wraper header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        height: 40px;
        background: #FFF;
        border-bottom: 1px solid #E8E8E8;
        z-index: 2;
    }

	#wraper header .right_block img {
		margin-right: 5px;
		border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	#wraper header .left_block {
		padding: 7px 10px;
		height: 40px;
		float: left;
	}
	#wraper header .left_block img {
        height: 24px;
        margin-right: 18px;
    }
	#wraper header .left_block .breadcrumbs {
		height: 100%;
		line-height: 20px;
		display: inline-block;
		padding: 0px 10px;
		border-radius: 5px;
	}
	#wraper header .left_block .breadcrumbs > * {
		display: inline-block;
		height: 100%;
		line-height: 24px;
		padding-right: 3px;
	}

    #wraper header .left_block .fa,
    #wraper header .left_block .glyphicons {
        line-height: 19px;
        color: #8D8D8D;
        font-size: 14px;
        display: inline-block;
        vertical-align: top;
        padding: 5px 10px 6px 0;
    }

    #wraper header .left_block .fa span,
    #wraper header .left_block .glyphicons span {
        margin-left: 8px;
        font-family: arial, verdana, sans-serif, Lucida Sans;
    }

    #wraper header .left_block .fa:hover,
    #wraper header .left_block .glyphicons:hover {
        color: #5563AE;
    }
    
    #wraper header .left_block .active .fa,
    #wraper header .left_block .active .glyphicons {
        color: #3A499C;
    }
    
    #wraper header .right_block {
		height: 40px;
		float: right;
	}
    #wraper header .right_block .sub_menu_button .sub_menu_sign:hover {
        color: #5563AE;
    }
    #wraper header .right_block .sub_menu_button {
        margin:0 7px 0 0;
        float: right;
        color: #8D8D8D;
    }
        
    #wraper header .right_block .sub_menu_button {
        padding: 14px 14px 0px 7px;
        cursor: pointer;
    }
    #wraper header .right_block .sub_menu {
        position: absolute;
        right: 0px;
        top: 39px;
        z-index: 7;
        background: linear-gradient(#fff,#eaeaea);
        display: none;
        padding: 12px;
        border-bottom-left-radius: 5px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
    }        

    #wraper header .right_block .sub_menu div {
        margin: 4px;
    }
    #wraper header .right_block .sub_menu .fa {
        width: 20px;
    }
    #wraper header .right_block .sub_menu a {
        color: #8D8D8D;
    }        
    #wraper header .right_block .sub_menu a:hover {
        color: #5563AE;
    }        
    #wraper header .right_block .menu_button {
        float: right;
    }
        
    #wraper header .right_block .menu_sign {
        font-size: 14px;
        font-family: arial, verdana, sans-serif, 'Lucida Sans';
        font-stretch: normal;
        font-style: normal;
        font-variant: normal;
        font-weight: normal;
        ttext-shadow: 1px 1px #ccc;
    }
        
	#wraper header .right_block .head_icons{
		display: inline-block;
	}
	#wraper header .right_block a.toggle_user_menu {
		text-decoration: none;
		display: inline-block;
		height: 33px;
		padding-right: 10px;
		min-width: 137px;
	}

    #wraper header a.toggle_user_menu span {
        color: #eaeaea;
        font-size: 14px;
        display: inline-block;
        vertical-align: top;
        padding: 6px 10px 6px 0;
    }

    #wraper header .chat_button:hover {
        color: #5563AE;
    }
    #wraper header .chat_button {
        margin-right: 24px;
        padding-top: 11px;
        line-height: 19px;
        font-family: FontAwesome, sans-serif !important;
        font-size: 14px;
        color: #8D8D8D;
        display: block;
        vertical-align: top;
        position: relative;
        cursor: pointer;
        float: right;
    }
    
	#wraper header .share_button, #wraper header .events_button {
		font-family: FontAwesome, sans-serif !important;
		font-size: 20px;
		color: #333;
		display: inline-block;
		vertical-align: top;
		padding: 3px 0 6px 0;
		position: relative;
		margin-right: 15px;
		position: relative;
	}
	#wraper header .events_button .loader{
		height: 70px;
		width: 300px;
	}
	#wraper header .events_button:hover .drop_box {
		display: block;
		opacity: 1;
		width: auto;
		overflow: visible;
	}
	#wraper header .events_button:hover .drop_box ul{
		display: block;
		opacity: 1;
		max-height:  610px;
		width: auto;
		overflow: auto;
		overflow-x: hidden;
	}
 
	#wraper header .events_button:hover .drop_box .remove_notification{
		width: 20px;
		height: 20px;
		text-align: left;
		text-indent: -9999px;
		background-color: #fff;
		position: absolute;
		z-index: 1;
		top: 0px;
		right: 20px;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		border-radius: 50%;
		-webkit-transition: color .3s ease;
		-moz-transition: color .3s ease;
		-ms-transition: color .3s ease;
		-o-transition: color .3s ease;
		transition: color .3s ease;
		transition: all 0.25s ease-in-out;
		cursor: pointer;
	}
	#wraper header .events_button .drop_box .remove_notification:hover{
		background-color: #999;
	}
	#wraper header .events_button .drop_box .remove_notification:before {
		width: 2px;
		background-color: #eaeaea;
		content: '';
		position: absolute;
		top: 20%;
		bottom: 20%;
		left: 50%;
		margin-left: -1px;
		-webkit-transform: rotate( 45deg );
		-moz-transform: rotate( 45deg );
		-ms-transform: rotate( 45deg );
		-o-transform: rotate( 45deg );
		transform: rotate( 45deg );
	}
	#wraper header .events_button .drop_box .remove_notification:after {
		width: 2px;
		background-color: #eaeaea;
		content: '';
		position: absolute;
		top: 20%;
		bottom: 20%;
		left: 50%;
		margin-left: -1px;
		-webkit-transform: rotate( -45deg );
		-moz-transform: rotate( -45deg );
		-ms-transform: rotate( -45deg );
		-o-transform: rotate( -45deg );
		transform: rotate( -45deg );
	}

	#wraper header .events_button:hover .drop_box:after{
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 5px 10px 5px;
		border-color: transparent transparent #ffffff transparent;
		content: " ";
		position: absolute;
		right: 25px;
		top: -10px;
	}
	#wraper header .events_button .drop_box {
		box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
	}
	#wraper header .events_button .drop_box ul li{
		font-size: 14px;
		word-wrap: normal;
		white-space: nowrap;
		border-bottom: 1px solid #eaeaea;
		padding: 10px 20px;
		min-width: 380px;
		text-align: left;
		position: relative;
        background: linear-gradient(#f9f9f9,#fff);
	}
	#wraper header .events_button .drop_box ul li > div{
		margin-left: 40px;
	}
	#wraper header .events_button .drop_box ul li:hover{
		background: #F8F8F8;
		cursor: pointer;
	}

	#wraper header .events_button .drop_box ul li .from_avatar{
		margin-right: 5px;
		vertical-align: middle;
		float: left;
		width: 42px;
		height: 42px;
	}
	#wraper header .events_button .drop_box ul li:last-child{
		border-bottom-left-radius: 5px;
		border-bottom-right-radius: 5px;
	}
	#wraper header .events_button .drop_box ul li:first-child{
		border-top-left-radius: 5px;
		border-top-right-radius: 5px;
	}
	#wraper header .events_button .drop_box ul li span{
		font-size: 12px;
		display: inline-block;
		margin-top: 5px;
	}
	#wraper header .events_button .drop_box ul li .name{
		font-size: 12px;
	}
	#wraper header .events_button .drop_box ul li .time{
		font-size: 10px;
		font-style: italic;
		margin-top: 8px;
		margin-bottom: 5px;
	}
	#wraper header .events_button .drop_box .show_all a{
		display: inline-block;
		width: 100%;
		padding: 10px 20px;
	}
	#wraper header .events_button .drop_box .show_all{

		font-size: 12px;
		background: #eaeaea;
	}

	#wraper header .events_button .drop_box{
		position: absolute;
		overflow: hidden;
		width: 0;
		top: 100%;
		background: #fff;
		right: -20px;
		opacity: 0;
		transition: all 0.3s ease-in-out;
		z-index: 2;
		top: 32px;
		border-bottom-left-radius: 5px;
		border-bottom-right-radius: 5px;
	}
	#wraper header .events_button .new_events_informer{
		position: absolute;
		top: 0px;
		right: -10px;
		background-color: #FFCB93;
		color: #656565;
		border-radius: 3px;
		-webkit-border-radius: 3px;
		border-color: #FFCB93 #FFCB93 #FFCB93;
		border-left: 1px solid #FEB669;
		border-width: 1px;
		box-shadow: -1px 1px 0 rgba(0, 0, 0, 0.25);
		padding: 0px 3px 0px 2px;
		font-size: 10px;
		line-height: 12px;
	}
	#wraper header .events_button .newPhoto .photo_like, #wraper header .events_button .newMarital .photo_like{
		margin-left: 5px;
		width: 30px;
		height: 30px;
		float: right;
	}
	#wraper header .events_button .new_like .photo_like{
		width: 30px;
		height: 30px;
		background-size: cover;
		background-position: center;
		border-radius: 5px;
		margin: 0 5px;
		display: block;
	}
	#wraper header .events_button  table{
		width: 100%;
	}
	#wraper header .events_button td:first-child{
		width: 40px
	}
	#wraper header .events_button td{
		vertical-align: middle;
	}
	#wraper header .events_button td:nth-child(2){
		width: 100%;
	}
    #wraper header .share_button .glyphicons-share-alt, #wraper header .events_button .glyphicons-inbox {
        font-size: 20px;
        color: #eaeaea;
    }
	#wraper header .share_button .share_menu a, #wraper header .events_button .share_menu a{
		display: block;
		margin-bottom: 5px;
		margin-right: 5px;

	}


	#events_log {
		font-family: FontAwesome, sans-serif !important;
		font-size: 20px;
		color: #333;
		vertical-align: top;
		padding: 20px;
		position: relative;
        display: none;
	}
	#events_log .loader {
		height: 70px;
		width: 300px;
	}
	#eevents_log:hover .drop_box {
		display: block;
		opacity: 1;
		width: auto;
		overflow: visible;
	}
	#eevents_log:hover .drop_box ul {
		display: block;
		opacity: 1;
		max-height:  610px;
		width: auto;
		overflow: auto;
		overflow-x: hidden;
	}
 
	#events_log:hover .drop_box .remove_notification {
		width: 20px;
		height: 20px;
		text-align: left;
		text-indent: -9999px;
		background-color: #fff;
		position: absolute;
		z-index: 1;
		top: 0px;
		right: 20px;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		border-radius: 50%;
		-webkit-transition: color .3s ease;
		-moz-transition: color .3s ease;
		-ms-transition: color .3s ease;
		-o-transition: color .3s ease;
		transition: color .3s ease;
		transition: all 0.25s ease-in-out;
		cursor: pointer;
	}
	#events_log .drop_box .remove_notification:hover {
		background-color: #999;
	}
	#events_log .drop_box .remove_notification:before {
		width: 2px;
		background-color: #eaeaea;
		content: '';
		position: absolute;
		top: 20%;
		bottom: 20%;
		left: 50%;
		margin-left: -1px;
		-webkit-transform: rotate( 45deg );
		-moz-transform: rotate( 45deg );
		-ms-transform: rotate( 45deg );
		-o-transform: rotate( 45deg );
		transform: rotate( 45deg );
	}
	#events_log .drop_box .remove_notification:after {
		width: 2px;
		background-color: #eaeaea;
		content: '';
		position: absolute;
		top: 20%;
		bottom: 20%;
		left: 50%;
		margin-left: -1px;
		-webkit-transform: rotate( -45deg );
		-moz-transform: rotate( -45deg );
		-ms-transform: rotate( -45deg );
		-o-transform: rotate( -45deg );
		transform: rotate( -45deg );
	}

	#eevents_log:hover .drop_box:after {
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 5px 10px 5px;
		border-color: transparent transparent #ffffff transparent;
		content: " ";
		position: absolute;
		right: 25px;
		top: -10px;
	}
	#events_log .drop_box ul li {
		font-size: 14px;
		word-wrap: normal;
		white-space: nowrap;
		border-bottom: 1px solid #eaeaea;
		padding: 10px 0px;
		text-align: left;
		position: relative;
	}
	#events_log .drop_box ul li > div {
		margin-left: 40px;
	}
	#eevents_log .drop_box ul li:hover {
		cursor: pointer;
	}

	#events_log .drop_box ul li .from_avatar {
        margin-right: 5px;
        vertical-align: middle;
        float: left;
        width: 42px;
        height: 42px;
        border-radius: 5px;
	}
	#events_log .drop_box ul li:first-child {
		border-top-left-radius: 5px;
		border-top-right-radius: 5px;
	}
	#events_log .drop_box ul li span {
		font-size: 12px;
		display: inline-block;
		margin-top: 5px;
	}
	#events_log .drop_box ul li .name {
		font-size: 12px;
	}
	#events_log .drop_box ul li .time {
		font-size: 10px;
		font-style: italic;
		margin-top: 8px;
		margin-bottom: 5px;
	}
	#events_log .drop_box .show_all a {
		display: inline-block;
		width: 100%;
		padding: 10px 20px;
	}
	#events_log .drop_box .show_all {
        display: block;
		font-size: 12px;
		background: #eaeaea;
	}

	#events_log .new_events_informer {
		position: absolute;
		top: 0px;
		right: -10px;
		background-color: #FFCB93;
		color: #656565;
		border-radius: 3px;
		-webkit-border-radius: 3px;
		border-color: #FFCB93 #FFCB93 #FFCB93;
		border-left: 1px solid #FEB669;
		border-width: 1px;
		box-shadow: -1px 1px 0 rgba(0, 0, 0, 0.25);
		padding: 0px 3px 0px 2px;
		font-size: 10px;
		line-height: 12px;
	}
	#events_log .newPhoto .photo_like, #events_log .newMarital .photo_like {
		width: 50px;
		height: 50px;
		float: right;
        background-size: cover;
        background-position: center;
	}
	#events_log .new_like .photo_like {
		width: 50px;
		height: 50px;
		background-size: cover;
		background-position: center;
		display: block;
	}
	#events_log table {
		width: 100%;
	}
	#events_log td:first-child {
		width: 40px
	}
	#events_log td {
		vertical-align: middle;
	}
	#events_log td:nth-child(2) {
		width: 100%;
	}
    #events_log .glyphicons-inbox {
        font-size: 20px;
        color: #eaeaea;
    }
	#events_log .share_menu a{
		display: block;
		margin-bottom: 5px;
		margin-right: 5px;

	}
    #events_log .block_header h4 {
        font-size: 16px;
    }

    #wraper header .share_button .share_menu a:last-child{
		margin-bottom: 0;
	}
	#wraper header .chat_button:before {
		content: "\f086";
	}
	#wraper header .notification {
		position: absolute;
		top: 2px;
		right: -10px;
		background-color: #FFCB93;
		color: #656565;
		border-radius: 3px;
		-webkit-border-radius: 3px;
		border-color: #FFCB93 #FFCB93 #FFCB93;
		border-left: 1px solid #FEB669;
		border-width: 1px;
		box-shadow: -1px 1px 0 rgba(0, 0, 0, 0.25);
		padding: 0px 3px 0px 2px;
		font-size: 10px;
		line-height: 12px;
	}


	/*---- Alerts -----*/
	.m_alert{
		width: 100%;
		display: none;
	}
	.m_alert.open{
		display: block;
	}
	.m_alert .wrapper{
		padding: 12px 0;
		position: relative;
	}
	#wraper .alerts {
		top: 0;
		width: 100%;
		z-index: 1;
        margin-top: 80px;
        position: fixed;
        opacity: 0.9;
	}
	.m_alert.error{
		background: #FFA592;
		/* position: fixed;
		z-index: 2;
		top: 0px; */
	}
	.m_alert.warning{
		background: #FFCB93;
		/* position: fixed;
		z-index: 2;
		top: 0px; */
	}
	.m_alert.info{
		background: #DBDFF6;
		/* position: fixed;
		z-index: 2;
		top: 0px; */
	}
	.m_alert.admin {
        background: linear-gradient(to left, #DFFF93,#63B47B);
        background: -moz-linear-gradient(to left, #DFFF93,#63B47B);
        background: -webkit-linear-gradient(to left, #DFFF93,#63B47B);
        background: -o-linear-gradient(to left, #DFFF93,#63B47B);
        background: -ms-linear-gradient(to left, #DFFF93,#63B47B);
        background: linear-gradient(to left, #DFFF93,#63B47B);
	/* position: fixed;
		z-index: 2;
		top: 54px; */
	}
    .m_alert.admin .one_unit {
        display: table-cell;
    }
    .m_alert.admin .one_unit.close {
        right: -86px;
        top: 12px;
        position: absolute;
    }
    .m_alert.admin .one_unit.sign i {
        margin-right: 5px;
    }
    .m_alert.admin .one_unit.title strong {
        margin-right: 5px;
    }
    .m_alert.admin .one_unit .text a {
        text-decoration: underline;
    }
	.m_alert.admin i, .m_alert.admin strong {
		color: #9F5709;
	}
	.m_alert .close {
		margin-right: 40px;
	}
	.m_alert.warning strong, .m_alert.warning i{
		color: #9F5709;
	}
	.m_alert.error strong, .m_alert.error i{
		color: #9E2309;
	}
	.m_alert.info strong, .m_alert.info i{
		color: #13216C;
	}
	.m_alert strong{
		font-family: Open-SansBold, sans-serif;
	}
	.m_alert .close{
		font-size: 18px;
	}

	.informer {
		position: relative;
		overflow: hidden;
	}
	.informer.black{
        background: #ffcb93;
        border: 1px solid #8d8d8d;
        padding: 10px;
        border-radius: 5px;
        color: #6d6d6d;
        display: block;
        cursor: pointer;
	}
	.informer.black .avatar{
		width: 45px;
		height: 45px;
		margin-right: 10px;
		border-radius: 5px;
	}
	.informer .name{
		margin-bottom: 10px;
	}
	.informer .text{
		font-size: 10px;
	}
	.informer .closer{
		opacity: 0;
		transition: all 0.2s ease-in-out;
		cursor: pointer;
	}
	.informer:hover .closer{
		opacity: 1;
	}
	.informer .closer{
		position: absolute;
		right: 15px;
		top: 15px;
		font-size: 13px;
		color: #8d8d8d;
		border-radius: 50px;
	}
	.informer .closer i{
		position: absolute;
		right: -8px;
		top: -9px;
	}



	/*----- CHAT -----*/
    #r_chat {
        width: 320px;
        position: fixed;
        right: 0;
        top: 0;
        height: 100%;
        border-left: 1px solid #999;
        z-index: 899;
        display: none;
        border-top-left-radius: 16px;
    }
	#r_chat p {
		font-family: 'Open-Sans', sans-serif !important;
		font-size: 13px;
	}
    #r_chat .header-r_chat {
        background: #3a499c;
        background: -moz-linear-gradient(#3a499c,#808CCB);
        background: -webkit-linear-gradient(#3a499c,#808CCB);
        background: -o-linear-gradient(#3a499c,#808CCB);
        background: -ms-linear-gradient(#3a499c,#808CCB);
        background: linear-gradient(#3a499c,#808CCB);
        height: 40px;
        color: #FFF;
        line-height: 42px;
        font-size: 13px;
        width: 100%;
        border-top-left-radius: 16px;
    }
    #r_chat .user_list {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: #fff;
        border-top-left-radius: 16px;
    }
	#r_chat .header-r_chat .name a {
		color: #FFF;
		transition: all 0.3s ease;
		opacity: 0.55;
	}
	#r_chat .header-r_chat .name a:hover {
		opacity: 1;
	}
	#r_chat .header-r_chat .user {
		margin: 0 5px 0 20px;
	}
	#r_chat .header-r_chat .delete {
		float: right;
		padding: 13px;
		transition: all 0.3s ease;
		color: #fff;
		opacity: 0.55;
		cursor: pointer;
	}
	#r_chat .header-r_chat .delete:hover {
		opacity: 1;
	}
    #r_chat .header-r_chat .close {
        float: right;
        padding: 13px;
        transition: all 0.3s ease;
        color: #fff;
        opacity: 0.55;
        cursor: pointer;
        margin-right: 16px;
    }
	#r_chat .close:hover {
		opacity: 1;
	}
	#r_chat .content-r_chat .user_name {
		display: inline-block;
	}
	#r_chat .content-r_chat ul li a {
		text-decoration: none;
		border-radius: 3px;
		color: #000;
		font-size: 13px;
		padding: 10px 10px;
		border: 0;
		display: block;
	}

	#r_chat .content-r_chat li.online .fa {
		color: #2EA55A;
	}
	#r_chat .content-r_chat li.offline .fa {
		color: #E45C3F;
	}
	#r_chat .content-r_chat li.not_confirmed .fa {
		color: #8d8d8d;
	}
	#r_chat .content-r_chat li .online_status{
		float: right;
		margin-right: 5px;
	}
    #r_chat .user_list .notification {
        background-color: #e44c34;
        color: #fff;
        border-radius: 3px;
        -webkit-border-radius: 3px;
        border-color: #E23923 #D83722 #C0311E;
        border-left: 1px solid #D83722;
        border-width: 1px;
        box-shadow: -1px 1px 0 rgba(0, 0, 0, 0.25);
        padding: 0px 3px 0px 2px;
        font-size: 10px;
        line-height: 12px;
        display: inline-block;
        float: right;
        margin-top: 20px;
        margin-right: 5px;
    }
	#r_chat .user_chat .content-r_chat  ul {
		overflow-y: auto;
		overflow-x: hidden;
		max-height: 100%;
	}
	#r_chat .user_chat .show_more_messages{
		padding: 10px 0;
		border-bottom:1px dotted #eaeaea;
		cursor: pointer;
	}
	#r_chat .user_chat .pending{
		opacity: 0;
		text-align: left;
		color: #8d8d8d;
		font-size: 11px;
		padding-top: 5px;
		padding-left: 10px;
		padding-bottom: 5px;
	}
	#r_chat .user_chat .pending.show{
		opacity: 1;
	}
	#r_chat .content-r_chat .overview{
		width: 100%;
	}
	#r_chat .user_list .content-r_chat ul li {
		/*height: 28px;*/
		line-height: 28px;
		position: relative;
		/*padding:10px 10px;*/
		border-bottom:1px solid #f3f3f3;
		cursor: pointer;
		clear: both;
	}
	#r_chat .user_list .content-r_chat ul li:hover{
		background: #f3f3f3;
	}
	#r_chat .user_list .content-r_chat ul li:last-child{
		margin-bottom: 0;
	}
	#r_chat .user_list .content-r_chat ul li.has_unreaded{
		background: #ffffff;
	}

    #r_chat .user_list .content-r_chat ul li .remove {
        font-size: 20px;
        height: 100%;
        width: 52px;
        text-align: center;
        line-height: 55px;
        border-left: 1px solid #ddd;
        display: none;
        float: right;
        margin-left: 18px;
        color: #E10E0E;
    }
	#r_chat .user_list .content-r_chat ul li .avatar{
		height: 35px;
		width: 35px;
		border-radius: 5px;
		vertical-align: middle;
	}
	#r_chat .content-r_chat ul li.event {
		background-color: #eee;
		border-radius: 5px;
	}
	#r_chat .user_chat .header-r_chat .user_avatar {
		height: 40px;
		display: inline-block;
	}
	#r_chat .user_chat .user_avatar img {
		width: 25px;
		border-radius: 5px;
		margin: 7px;
	}
	#r_chat .user_chat .header-r_chat .name {
		display: inline-block;
		height: 40px;
		line-height: 40px;
		vertical-align: top;
		color: #FFF;
		font-family: Open-SansBold, sans-serif;
	}
    #r_chat .user_chat {
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: #fff;
        display: none;
        border-top-left-radius: 16px;
    }
	#r_chat .user_chat .content-r_chat {
		height: 100%;
        width: 100%;
		position: relative;
		overflow: hidden;

	}
	#r_chat .user_list .content-r_chat {
		position: relative;
		overflow: auto;
		height: 100%;
        width: 100%;
		padding-bottom: 40px;
		background: #eaeaea;
	}
	#r_chat .user_chat .content-r_chat ul li.from, #r_chat .user_chat .content-r_chat ul li.to {
		position: relative;
	}
	#r_chat .user_chat .content-r_chat ul li.to {
		text-align: right;
	}
	#r_chat .user_chat .content-r_chat ul li.to .unreaded{
		display: none
	}
	#r_chat .user_chat .content-r_chat ul li.to .readed{
		display: inline-block;
		color: #A6E7BE;
		line-height: 21px;
		margin-right: 5px;
	}
	#r_chat .user_chat .content-r_chat ul li.from p{
		padding: 10px;
		margin: 7px;
		background-color: #DBDFF6;
		border-radius: 5px;
		color: #000;
		display: inline-block;
		text-align: left;
		padding-bottom:20px;
		position: relative;
		min-width: 143px;
		padding-top:0;
	}
	#r_chat .user_chat .content-r_chat ul li p span:first-child{
		white-space: pre-line;
	}
	#r_chat .user_chat .content-r_chat ul li.to p{
		padding: 10px;
		margin: 7px;
		background-color: #f3f3f3;
		color: #000;
		border-radius: 5px;
		display: inline-block;
		text-align: right;
		padding-bottom:20px;
		position: relative;
		min-width: 143px;
		max-width: 95%;
		word-wrap: break-word;
		padding-top:0;
	}
	#r_chat .user_chat .content-r_chat ul li.from:after {
		border-color: rgba(0, 0, 0, 0) #DBDFF6;
		border-style: solid;
		border-width: 9px 10px 9px 0;
		content: "";
		display: block;
		left: -3px;
		position: absolute;
		top: 14px;
		width: 0;
		z-index: 1;
	}
	#r_chat .user_chat .content-r_chat ul li.to:after {
		border-color: rgba(0, 0, 0, 0) #f3f3f3;
		border-style: solid;
		content: "";
		display: block;
		position: absolute;
		top: 14px;
		width: 0;
		z-index: 1;
		border-width: 9px 0 9px 10px;
		left: auto;
		right: -2px !important;
	}
	#r_chat .user_chat .send_form {
		position: absolute;
		bottom: 39px;
		background: linear-gradient(to bottom, #8591cd, #3a499c);
		height: 76px;
		width: 100%;
		z-index: 2;
		line-height: 14px;
	}
	#r_chat .user_chat .send_form textarea {
		width: 225px;
		border-radius: 5px;
		border: 0;
		outline: none;
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
		padding: 5px;
		resize: none;
		float: left;
		margin: 15px 0 0 15px;
		font-size: 13px;
		height: 46px;
	}
	#r_chat .user_chat .send_form button {
		border: 0;
		height: 46px;
		border-radius: 5px;
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
		font-size: 11px;
		width: 69px;
		background: #4bb874;
		color: #fff;
		outline: none;
		cursor: pointer;
		margin-left: -2px;
		margin-top: 15px;
	}
	#r_chat .user_chat .content-r_chat li .date div {
		display: inline-block;
		padding: 3px 5px;
		position: relative;
		top: -16px;
		font-size: 11px;
		border: 1px solid #bbb;
		border-radius: 5px;
		background-color: #fff;
	}

	#r_chat .user_chat .content-r_chat li .date {
		position: absolute;
		bottom: 0px;
		font-size: 10px;
		color: #8d8d8d;
		
	}
	#r_chat .user_chat .content-r_chat li.to .date {
		right: 15px;
	}
	#r_chat .user_chat .content-r_chat li.from .date {
		left: 15px;
	}
	#r_chat .user_chat .content-r_chat hr {
		border-top: 1px solid #bbb;
	}
	#r_chat .content-r_chat.scrollable .viewport {
		width: 320px !important;
	}
	.scrollable .scroll-bar.vertical {
		z-index: 1;
		cursor: pointer;
	}


	/*----- NOTIFICATION -----*/
	.notification_block {
		position: fixed;
		bottom: 10px;
		left: 60px;
		z-index: 900;
		width: 250px;
	}
	.notification_block .notification_window {
		min-width: 250px;
		position: relative;
		background-color: #eaeaea;
		border: 1px solid #656565;
		border-radius: 5px;
		color: #4b4b4b;
		font-family: 'Open Sans', sans-serif;
		line-height: 18px;
		cursor: pointer;
		z-index: 3;
		display: none;
		margin-top: 10px;
		transition: all 0.5s ease-in-out;
		opacity: 0;
	}
	.notification_block .notification_window .name {
		font-weight: bold;
	}
	.notification_block .notification_window .text {
		height: 14px;
		overflow: hidden;
		line-height: 14px;
		font-size: 13px;
	}
	.notification_block .notification_window .close {
		display: inline-block;
		position: absolute;
		right: 7px;
		top: 5px;
		cursor: pointer;
		transition: all 0.2s ease-in-out;
		color: #8d8d8d;
	}
	.notification_block .notification_window .close:hover {
		color: #4b4b4b;
	}
	.notification_block .notification_window .content {
		max-width: 320px;
		vertical-align: middle;
		display: table-cell;
		padding: 10px 20px 10px 10px;
	}
	.notification_block .notification_window .avatar {
		width: 32px;
		height: 32px;
		float: left;
		margin-right: 10px;
	}
	.notification_block .notification_window .avatar img {
		width: 32px;
		border-radius: 5px;
	}
	.notification_block .notification_window .avatar:empty {
		display: none;
	}

	/*----- CONFIRM -----*/
	#tmp-confirm {
		padding: 10px 30px 0px;
		display: none;
	}
	#tmp-confirm .question {
		padding-bottom: 10px;
	}
	div#tmp-confirm .answer button {
		width: 80px;
	}
	div#tmp-confirm .answer .yes {
		float: left;
	}
	div#tmp-confirm .answer .no {
		float: right;
	}

	/*Jquery UI styles repair*/
	.ui-progressbar .ui-progressbar-value{
		margin: 0;
	}

	.overblock{
		background: rgba(234,234,234,0.8);
		width: 100%;
		padding: 5px 10px;
		position: absolute;
		bottom: 0;
		display: none;
		border-bottom-right-radius: 5px;
		border-bottom-left-radius: 5px;
		font-size: 12px;
	}
	.overblock.visible{
		display: block;
	}
	div#wraper_tmp {
		width: 100%;
		height: 100%;
		position: absolute;
		z-index: 2;
	}


	/*Accordion*/
	.accordion.ui-accordion .ui-accordion-header{
		border: none;
		border-radius: 0;
		border-bottom: 1px solid #f3f3f3;
		margin-top: 0;
		color: #13216C;
		font-weight: normal;
		padding: 20px 20px 20px 30px;
	}
	.accordion.ui-accordion .ui-accordion-header:first-child{
		border-top-left-radius: 5px;
		border-top-right-radius: 5px;
	}
	.accordion.ui-accordion .ui-accordion-header:focus{
		outline: none;
	}
	.accordion.ui-accordion .ui-accordion-header:hover{
		background: #808CCB;
		color: #ffffff;
	}
	.accordion.ui-accordion .ui-accordion-header:hover .ui-accordion-header-icon{
		color: #ffffff;
	}
	.accordion.ui-accordion .ui-accordion-header.ui-state-active{
		background: #5563AE;
		color: #ffffff;
	}
	.accordion.ui-accordion .ui-accordion-header .ui-accordion-header-icon{
		color: #13216C;
		text-indent: 0;
		background: none;
		left: 0.9em;
	}
	.accordion.ui-accordion .ui-accordion-header.ui-state-active .ui-accordion-header-icon{
		color: #fff;
	}
	.accordion .ui-widget-content{
		border:none;
		padding: 20px;
		font-size: 12px;
		background: #ffffff;
	}

	/*DatePicker*/
	.ui-datepicker .ui-widget-content{
		background: none;
		border: none;
	}
.ui-widget-header {
    background: #DBDFF6;
}
.ui-widget-header.ui-timepicker-title, .ui-widget-header.ui-datepicker-header{
		border: 1px solid #ffffff;
		background: #ffffff;
		color: #000;
	}
	.ui-datepicker .ui-state-default, .ui-datepicker .ui-widget-content .ui-state-default, .ui-datepicker .ui-widget-header .ui-state-default{
		background: none;
		color: #808CCB;
		border: 1px solid #DBDFF6;
	}
	.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active{
		background: #5563AE;
		color: #ffffff;
		border:1px solid  #DBDFF6;
	}
	.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus{
		color: #5563AE;
		border:1px solid  #5563AE;
	}
    .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
		color: #808CCB;
        border: 1px solid #808CCB;
        background: #808CCB;
    }
	.ui-state-active, .ui-widget-content .ui-state-active:hover, .ui-widget-header .ui-state-active:hover{
		background: #5563AE;
		color: #ffffff;
		border:1px solid  #DBDFF6;
	}

	.ui-widget-content, .ui-timepicker{
		border-radius: 5px;
		border-color: #DBDFF6;
	}

	/*Timepicker*/
	.ui-timepicker-table td a, .ui-timepicker-table td span{
		width: auto;
		text-align: center;
	}

	.jq-radio{
		box-sizing: content-box;
	}

	/*adress field*/
	.address{
		position: relative;
	}
	.address input{
		padding-right: 40px;
	}

	.address .itm-show_map {

	}
	.address .itm-show_map .btn {
		position: absolute;
		right: -0px;
		top: -0px;
		padding: 12px;
		width: auto;
	}

	hr.no-margin {
		margin: 0;
	}


	label.form-error{
		position: absolute;
		display: block;
		margin-bottom: 5px;
		padding: 5px;
		border: 1px solid #f3f3f3;
		background: #fff;
		border-radius: 5px;
		left: 103%;
		z-index: 1;
		top: 7px;
		white-space: nowrap;
		box-shadow: 1px 1px 3px #cccccc;
	}
	label.form-error:after{
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 5px 10px 5px 0;
		border-color: transparent #FEB669 transparent transparent;
		content: " ";
		position: absolute;
		left: -10px;
		top: 8px;
	}
	label.form-error.inline{
		position: relative;
		left: auto;
		top: auto;
		background: #FFEEDB;
		margin-bottom: 0;
	}
	label.form-error.inline:after{
		display: none;
	}
	/*----- Custom-menu -----*/
	.abboom_menu {
		position: absolute;
		right: -160px;
		top: 4px;
		background-color: #fff;
		border-radius: 5px;
		border: 1px solid #8d8d8d;
		width: 150px;
		display: none;
		text-align: left;
		font-size: 12px;
		z-index: 3;
		opacity: 1;
	}
	.abboom_menu:before {
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 6px 10px 6px 0px;
		border-color: transparent #8d8d8d transparent transparent;
		content: " ";
		position: absolute;
		left: -11px;
		top: 12px;
		margin-top: -5px;
	}
	.abboom_menu.menu_left {
		left: -225px;
	}
	.abboom_menu.menu_left:before {
		border-width: 6px 0px 6px 10px;
		border-color: transparent transparent transparent #8d8d8d;
		right: -11px;
		left: auto;
	}
	.abboom_menu li {
		border-bottom: 1px solid #efefef;
		line-height: 12px;
	}
	.abboom_menu li a{
		padding: 5px 10px;
		display: block;
		font-family: "Open Sans", sans-serif;
	}
	.abboom_menu li:hover {
		background-color: #efefef;
	}
	.abboom_menu li:first-child {
		border-top-left-radius: 5px;
		border-top-right-radius: 5px;
	}
	.abboom_menu li:last-child {
		border-bottom-left-radius: 5px;
		border-bottom-right-radius: 5px;
	}
	.abboom_menu .submenu {
		position: relative;
	}
	.abboom_menu .submenu ul {
		position: absolute;
		right: -200px;
		top: 0px;
		background-color: #fff;
		border-radius: 5px;
		border: 1px solid #8d8d8d;
		width: 190px;
		display: none;
		text-align: left;
		font-size: 12px;
	}
	.abboom_menu .submenu ul:before {
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 5px 5px 5px 5px;
		border-color: transparent #8d8d8d transparent;
		content: " ";
		position: absolute;
		left: -11px;
		top: 10px;
		margin-top: -5px;
	} 
	.abboom_menu .submenu ul.menu_left {
		left: -200px;
		right: auto;
	}
	.abboom_menu .submenu ul.menu_left:before {
		right: -10px;
		left: auto;
	}
	.abboom_menu.menu_top {
		bottom: 4px;
		top: auto;
	}
	.abboom_menu.menu_top:before {
		bottom: 8px;
		top: auto;
	}
	.abboom_menu .submenu ul.menu_top {
		bottom: -1px;
		top: auto;
	}
	.abboom_menu .submenu ul.menu_top:before {
		bottom: 7px;
		top: auto
	}
	.abboom_menu li ul {
		display: none;
	}

	
	.select2-container{
		min-width: 120px;
	}
	.select2-container img{
		width: 21px;
		height: 21px;
		vertical-align: middle;
	}

	.select2-filter_with_images img{
		width: 21px;
		vertical-align: middle;
		margin-right: 10px;
	}
	.select2-results .select2-highlighted{
		background: #5563AE;
	}
	.select2-results li{
		padding: 5px 0;
		min-height: 25px    ;
	}
	.select2-results {
		margin: 0;
		padding: 0;
	}
	.select2-drop-active, .select2-container-active .select2-choice, .select2-container-active .select2-choices {
		border: 1px solid #5563AE;
	}
	.select2-container .select2-choice{
		line-height: 39px;
		height: 40px;
	}
	#select2-drop .select2-search{
		padding-left: 0px;
		padding-right: 0px; 
	}

	.select2-container .select2-choice > .select2-chosen img{
		margin-right: 10px;
	}
	.select2-container .select2-choice .select2-arrow b{
		background-position: 0 7px;
	}

	.select2-dropdown-open .select2-choice .select2-arrow b{
		background-position: -18px 7px;
	}

	/*Prelodaer */

	.pad-me {
		display: none;
	}
	.preloader {
		position: relative;
		margin: 0 auto;
		width: 75px;
		height: 20px;
	}
	.preloader span {
		border-radius: 50%;
		display: block;
		bottom: 0px;
		width: 8px;
		background:#ffffff;
		position:absolute;
		-webkit-animation: css_preloader 1.4s  infinite ease-in-out;
		animation: css_preloaderr 1.4s  infinite ease-in-out;
	}

	.preloader span:nth-child(2) {
		left: 11px;
		-webkit-animation-delay: 0.2s;
		animation-delay: 0.2s;
	}
	.preloader span:nth-child(3) {
		left: 22px;
		-webkit-animation-delay: 0.4s;
		animation-delay: 0.4s;
	}
	.preloader span:nth-child(4) {
		left: 33px;
		-webkit-animation-delay: 0.6s;
		animation-delay: 0.6s;
	}
	.preloader span:nth-child(5) {
		left: 44px;
		-webkit-animation-delay: 0.8s;
		animation-delay: 0.8s;
	}
	.preloader span:nth-child(6) {
		left: 55px;
		-webkit-animation-delay: 1s;
		animation-delay: 1s;
	}
	.preloader span:nth-child(7) {
		left: 66px;
		-webkit-animation-delay: 1.2s;
		animation-delay: 1.2s;
	}
	@keyframes css_preloaderr {
		0% {
			height: 8px;
			transform: translateY(0px);
			background: #DBDFF6;
		}
		25% {
			height: 14px;
			transform: translateY(4px);
			background: #5563AE;
			border-radius: 40%;
		}
		50% {
			height: 8px;
			transform: translateY(0px);
			background: #808CCB;
		}
		100% {
			height: 8px;
			transform: translateY(0px);
			background: #DBDFF6;
		}
	}
	@-webkit-keyframes css_preloader {
		0% {
			height: 8px;
			transform: translateY(0px);
			background: #DBDFF6;
		}
		25% {
			height: 14px;
			transform: translateY(4px);
			background: #5563AE;
			border-radius: 40%;
		}
		50% {
			height: 8px;
			transform: translateY(0px);
			background: #808CCB;
		}
		100% {
			height: 8px;
			transform: translateY(0px);
			background: #DBDFF6;
		}
	}
	.tpd-tooltip .map {
		width: 400px;
		height: 400px;
	}

	/* lightbox */
	#lightbox .lb-data .lb-close {
		width: 3.5em;
		height: 3.5em;
		text-align: left;
		text-indent: -9999px;
		background-color: #666;
		position: fixed;
		z-index: 10002;
		top: 60px;
		right: 1.5em;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		border-radius: 50%;
		-webkit-transition: color .3s ease;
		-moz-transition: color .3s ease;
		-ms-transition: color .3s ease;
		-o-transition: color .3s ease;
		transition: color .3s ease;
		transition: all 0.25s ease-in-out;
		cursor: pointer;
		background-image: none;
	}
	#lightbox .lb-data .lb-close:before {
		width: 2px;
		background-color: #fff;
		content: '';
		position: absolute;
		top: 20%;
		bottom: 20%;
		left: 50%;
		margin-left: -1px;
		-webkit-transform: rotate( 45deg );
		-moz-transform: rotate( 45deg );
		-ms-transform: rotate( 45deg );
		-o-transform: rotate( 45deg );
		transform: rotate( 45deg );
	}
	#lightbox .lb-data .lb-close:after {
		width: 2px;
		background-color: #fff;
		content: '';
		position: absolute;
		top: 20%;
		bottom: 20%;
		left: 50%;
		margin-left: -1px;
		-webkit-transform: rotate( -45deg );
		-moz-transform: rotate( -45deg );
		-ms-transform: rotate( -45deg );
		-o-transform: rotate( -45deg );
		transform: rotate( -45deg );
	}
	#lightbox .abboom-photo_block {
		width: 50%;
		height: 45px;
		background-color: #efefef;
		position: fixed;
		bottom: 0px;
		left: 25%;
		border-radius: 50px 50px 0 0;
	}
	#lightbox .abboom-photo_block>div {
		display: inline-block;
		width: 33%;
		height: 45px;
		vertical-align: top;
		line-height: 45px;
	}
	#lightbox .abboom-like_count {
		width: 34%;
	}
	#lightbox .abboom-like_count>img {
		width: 32px;
		margin-top: 7px;
		margin-right: 10px;
		cursor: pointer;
	}
	#lightbox .like_counter {
		vertical-align: top;
		cursor: pointer;
	}
	#lightbox .settings {
		height: 45px;
		display: block;
		line-height: 45px;
		font-size: 25px;
		cursor: pointer;
		color: #b8b8b8;
		transition: all 0.25s ease-in-out;
		position: relative;
		width: 45px;
		margin: 0 auto;
	}
	#lightbox .abboom_menu.menu_top {
		bottom: 8px;
	}
	#lightbox .settings:hover {
		color: #656565;
	}
	.list-users .user {
		display: inline-block;
		padding: 0 3px;
	}
	.list-users .user img {
		width: 32px;
		height: 32px;
		border-radius: 5px;
	}
	#lightbox .abboom-photo_block .users {
		display: none;
	}

    .top_menu {
        height: 40px;
        left: 0;
        top: 40px;
        right: 0;
        background: #FFF;
        text-align: center;
        z-index: 1;
        border-bottom: 1px solid #CCC;
        box-shadow: 0 2px 3px #CCC;
    }
	.top_menu a:hover {
        color: #5563AE;
	}
	.top_menu a {
		margin-right: 10px;
		line-height: 42px;
        color: #8D8D8D;
	}
	.top_menu span {
		margin-right: 10px;
		line-height: 16px;
	}
	.top_menu span.question {
        float: right;
		margin: 5px;
	}
    .top_menu a.active {
        color: #3A499C;
    }
	.loader {
		position: absolute;
		right: 0;
		top: 0;
		left: 0;
		bottom: 0;
		z-index: 5;
		background-color: rgba(255,255,255,0.8);
		background-image: url("/images/anim.gif");
		background-position: 50%;
		background-repeat: no-repeat;
		background-size: 40px;
		border-radius: 5px;
	}


	.hidden_input {
		height: 0;
		opacity: 0.0000001;
		width: 1px;
		display: list-item;
	}

	#friends_block .name-age a span{
		display: inline-block;
		max-width: 150px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: pre;
		line-height: 16px;
	}
	#friends_block .elements_pool .avatar img {
		border-radius: 5px;
	}

	#wLoader{
		position: absolute;
		right: 0;
		top: 0;
		bottom: 0;
		left: 0;
		background: rgba(255,255,255,0.5);
		min-width: 100%;
		min-height: 100px;
	}
	#wLoader .pad-me{
		display: block;
		position: absolute;
		top: 50%;
		margin-top: -15px;
		left: 50%;
		margin-left: -35px;
	}

	#whitebox .white_block_error{
		background: #FE8167;
		margin: -20px;
		margin-bottom: 20px;
		color: #ffffff;
		padding: 10px;
	}
    
    #days_informer {
        margin-right: 38px;
        height: 39px;
        display: block;
        position: relative;
        bottom: 0px;
        text-align: right;
        cursor: pointer;
        padding: 0 5px;
        float: right;
    }
    
	#days_informer > p{
		font-size: 11px;
		line-height: 13px;
		color: #fff;
		padding-top: 7px;
	}
	#days_informer.good{
        background: linear-gradient(#78D199,#2EA55A);
	}
    #days_informer.bad {
        background: linear-gradient(#E45C3F,#FFA592);
    }
    #days_informer.normal {
        background: linear-gradient(#E49540,#FFCB93);
    }
	#days_informer span{
		color: #fff;
		font-size: 10px;
	}
    #days_informer_drop_box {
        z-index: 2;
        display: none;
        background: #fff;
        position: absolute;
        top: 39px;
        padding-right: 20px;
        padding-left: 20px;
        width: 300px;
        left: -227px;
        text-align: left;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
    }
	.biorhythm_indicator .event_nakshatra.good .content .recomendation{
		background: #A6E7BE;
	}
	.biorhythm_indicator .event_nakshatra.bad .content .recomendation{
		background: #FFE1DA;
	}
	.biorhythm_indicator .event_nakshatra.normal .content .recomendation{
		background: #FFEEDB;
	}
	.biorhythm_indicator .content{
		font-size: 12px;
	}
	.biorhythm_indicator .content strong {
		line-height: 1.6;
	}
	.biorhythm_indicator .content .recomendation{
		margin: 0 -20px;
		padding: 5px 20px;
		margin-top: -1px;
	}
	.biorhythm_indicator h4{
		font-size: 12px;
		font-weight: bold;
		margin-left: -10px;
	}
	.biorhythm_indicator li .content > p{
		padding-bottom: 10px;
	}	
	.biorhythm_indicator li .content > h4{
		padding-top: 10px;
	}
	.biorhythm_indicator li .text-xsmall{
		margin-bottom: 5px;
	}
	.biorhythm_indicator li .time{
		clear: both;
		color: #6d6d6d;
		margin-bottom: 5px;
		font-size: 12px;
	}
	.biorhythm_indicator li .header{
		padding: 5px;
		color: #fff;
		margin-left: -20px;
		margin-right: -20px;
		border-bottom: 1px solid #f3f3f3;
		cursor: pointer;
	}
	.biorhythm_indicator li .header img{
		width: 42px;
		height: 42px;
		margin-left: 5px;
		float: left;
		padding: 5px;
		margin-top: -15px;
	}
	.biorhythm_indicator li .header i {
        color: black;
        font-size: 12px;
        width: 42px;
        height: 42px;
        margin-left: 0px;
        float: left;
        padding: 5px;
        margin-top: -15px;
        position: relative;
        left: -26px;    
    }
	.biorhythm_indicator li .header .pada {
        float: left;
        color: black;
        font-size: 12px;
        top: 13px;
        position: relative;
        font-weight: bold;
        left: 8px;
    }

	.biorhythm_indicator li .header > div{
		margin-top: 5px;
		color: #fff;
	}
	.biorhythm_indicator li:last-child .header{
		border-bottom-left-radius: 5px;
		border-bottom-right-radius: 5px;
		border-bottom: 0;
	}
	.biorhythm_indicator li.good .header{
        background: linear-gradient(#2EA55A,#78D199);
	}
    .biorhythm_indicator li.normal .header {
        background: linear-gradient(#E49540,#FFCB93);
    }
    .biorhythm_indicator li.bad .header {
        background: linear-gradient(#E45C3F,#FFA592);
    }
	.biorhythm_indicator .my_temper a{
		font-size: 12px;
		padding: 5px;
		background: #fff;
		border-radius: 50px;
	}
	.biorhythm_indicator .recomendations_temper{
		margin: -20px;
		padding: 20px;
	}
.biorhythm_indicator .recomendations_temper.bad hr{
	border-color: #FFE1DA;
	margin: 0 -20px;
}
.biorhythm_indicator .recomendations_temper.good hr{
	border-color: #A6E7BE;
	margin: 0 -20px;
}
.biorhythm_indicator .recomendations_temper.normal hr{
	border-color: #FFEEDB;
	margin: 0 -20px;
}
.biorhythm_indicator .recomendations_temper .thx_for_temper{
	padding: 20px;
}
	.checkbox.pretty {
		position: relative;
		top: 0;
		margin: 0 1rem 0 0;
		cursor: pointer;
	}
	.checkbox.pretty:before {
		-webkit-transition: -webkit-transform 0.4s cubic-bezier(0.45, 1.8, 0.5, 0.75);
		-moz-transition: -moz-transform 0.4s cubic-bezier(0.45, 1.8, 0.5, 0.75);
		transition: transform 0.4s cubic-bezier(0.45, 1.8, 0.5, 0.75);
		-webkit-transform: rotate(-45deg) scale(0, 0);
		-moz-transform: rotate(-45deg) scale(0, 0);
		-ms-transform: rotate(-45deg) scale(0, 0);
		-o-transform: rotate(-45deg) scale(0, 0);
		transform: rotate(-45deg) scale(0, 0);
		content: "";
		position: absolute;
		left: 0.1875rem;
		top: 0.125rem;
		z-index: 1;
		width: 0.75rem;
		height: 0.375rem;
		border: 2px solid #5563AE;
		border-top-style: none;
		border-right-style: none;
	}
	.checkbox.pretty:checked:before {
		-webkit-transform: rotate(-45deg) scale(1, 1);
		-moz-transform: rotate(-45deg) scale(1, 1);
		-ms-transform: rotate(-45deg) scale(1, 1);
		-o-transform: rotate(-45deg) scale(1, 1);
		transform: rotate(-45deg) scale(1, 1);
	}
	.checkbox.pretty:after {
		content: "";
		position: absolute;
		top: -0.125rem;
		left: 0;
		width: 1rem;
		height: 1rem;
		background: #fff;
		border: 2px solid #f2f2f2;
		cursor: pointer;
	}

	.radio.pretty {
		position: relative;
		margin: 0 1rem 0 0;
		cursor: pointer;
	}
	.radio.pretty:before {
		-webkit-transition: -webkit-transform 0.4s cubic-bezier(0.45, 1.8, 0.5, 0.75);
		-moz-transition: -moz-transform 0.4s cubic-bezier(0.45, 1.8, 0.5, 0.75);
		transition: transform 0.4s cubic-bezier(0.45, 1.8, 0.5, 0.75);
		-webkit-transform: scale(0, 0);
		-moz-transform: scale(0, 0);
		-ms-transform: scale(0, 0);
		-o-transform: scale(0, 0);
		transform: scale(0, 0);
		content: "";
		position: absolute;
		top: 0.137rem;
		left: 0.125rem;
		z-index: 1;
		width: 0.75rem;
		height: 0.75rem;
		background: #5563AE;
		border-radius: 50%;
	}
	.radio.pretty:checked:before {
		-webkit-transform: scale(1, 1);
		-moz-transform: scale(1, 1);
		-ms-transform: scale(1, 1);
		-o-transform: scale(1, 1);
		transform: scale(1, 1);
	}
	.radio.pretty:after {
		content: "";
		position: absolute;
		top: -0.100rem;
		left: -0.125rem;
		width: 1rem;
		height: 1rem;
		background: #fff;
		border: 2px solid #f2f2f2;
		border-radius: 50%;
	}

.show_options_menu{

}

/* .slideOne */
.slideOne {
width: 30px;
height: 15px;
background: #eaeaea;
position: relative;
border-radius: 50px;
display: inline-block;
position: relative;
bottom: -4px;
}
.slideOne label {
  display: block;
width: 15px;
height: 15px;
position: absolute;
top: 0px;
  left: -3px;
  cursor: pointer;
  background: #fcfff4;
  background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  background: linear-gradient(to bottom, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  border-radius: 50px;
  -webkit-transition: all 0.4s ease;
          transition: all 0.4s ease;
}
.slideOne input[type=checkbox] {
  visibility: hidden;
}
.slideOne input[type=checkbox]:checked + label {
  left: 17px;
  background: -webkit-linear-gradient(top, #A6E7BE 0%, #78D199 40%, #4BB874 100%);
  background: linear-gradient(to bottom, #A6E7BE 0%, #78D199 40%, #4BB874 100%);
}
#gender input {
height: 0;
opacity: 0.0000001;
width: 1px;
display: list-item;
}
.show_options_menu .show_options_db{
	position: absolute;
	right: 0;
	background: #fff;
	border: 1px solid #eaeaea;
	padding: 10px;
	border-radius: 5px;
}
.show_options_menu .show_options_db li{
	text-align: left;
	margin-bottom: 5px;
	font-size: 12px;
}
.show_options_menu .show_options_db li:last-child{
	margin-bottom: 0;
}

	#geolocation_informer {
        margin-right: 13px;
        height: 39px;
        padding: 0 5px;
		display: block;
		position: relative;
		text-align: center;
        float: right;
	}

	#geolocation_informer .toggler {
        font-size: 11px;
        line-height: 13px;
        color: #fff;
        padding-top: 7px;
        cursor: pointer;
    }
        
    #geolocation_informer > span {
        font-size: 20px;
        cursor: pointer;
        color: #eaeaea;
    }
    
	#geolocation_informer hr{
		margin: 0 -10px;
		margin-top: 10px
	}
	#geolocation_informer .drop_box{
		top: 39px;
		position: absolute;
		padding: 10px;
		background: #ffffff;
		right: 0;
		border-bottom-left-radius: 5px;
		border-bottom-right-radius: 5px;
		box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
		white-space: nowrap;
		z-index: 2;
		display: none;
        background: linear-gradient(#fff,#eaeaea);
	}
	#geolocation_informer .drop_box input{
		width: 230px;
		text-align: center;
	}
	#geolocation_informer .time{
	}
	#geolocation_informer .time span.text-small{
		padding-top: 5px;
		display: block;
		font-size: 14px;
		font-weight: normal;
	}
	#geolocation_informer .time .gmt-edit{
		/* position: absolute;
		height: 30px;
		font-size: 12px;
		right: 10px;
		top: 10px; */
	}
	#geolocation_informer .time > span{
		font-size: 26px;
	}
	#geolocation_informer a{
		margin-top: 5px;
		font-size: 12px;
		line-height: 15px;
	}
	#geolocation_informer .controls{
		padding-top: 5px;
	}
	#geolocation_informer.hora_of_sy {
        background: linear-gradient(#ffe764,#ffd700);
    }
	#geolocation_informer.hora_of_ch {
        background: linear-gradient(#47FCFC,#009999);
    }
	#geolocation_informer.hora_of_ma {
        background: linear-gradient(#ff6464,#FF0000);
    }
	#geolocation_informer.hora_of_bu {
        background: linear-gradient(#2CB32C,#008000);
    }
	#geolocation_informer.hora_of_gu {
        background: linear-gradient(#FFA163,#FF6400);
    }
	#geolocation_informer.hora_of_sk {
        background: linear-gradient(#FFD5EA,#FF69B4);
    }
	#geolocation_informer.hora_of_sa {
        background: linear-gradient(#7F7E7E,#000080);
    }
	.show_options_menu{
		padding-top: 5px;
		position: relative;
	}
	.show_options_menu .show_options_db{
		position: absolute;
		right: -11px;
		background: #fff;
		border: 1px solid #eaeaea;
		padding: 10px;
		border-radius: 5px;
		top: -5px;
		display: none;
	}
	.show_options_menu #geolocation_informer-show_options i:first-child{ 
		display: inline-block;
		margin-right: 3px;
	}
	.show_options_menu .show_options_db li{
		text-align: right;
		margin-bottom: 5px;
		font-size: 12px;
	}
	.show_options_menu .show_options_db li:last-child{
		margin-bottom: 0;
	}



/*----- NEWSLINE -----*/
    #newsline {
        background-color: #fff;
        width: 610px;
        float: left;
        margin-right: 20px;
        border-radius: 5px;
        min-height: 400px;
        position: relative;
    }
    #newsline .new {
        padding: 10px 10px 30px 10px;
        border-bottom: 1px solid #b8b8b8;
        margin-bottom: 30px;
    }
    #newsline .new:last-child {
        padding: 10px;
        border-bottom: 0px;
        margin-bottom: 10px;
    }
    #newsline .avatar {
        width: 32px;
        height: 32px;
        border-radius: 5px;
        margin-right: 10px;
        overflow: hidden;
        display: inline-block;
        vertical-align: top;
    }
    #newsline .avatar img {
        width: 100%;
    }
    #newsline .title {
        display: inline-block;
        vertical-align: top;
        width: 508px;
    }
    #newsline .title a {
        text-decoration: none;
    }
    #newsline .settings {
        display: inline-block;
        width: 32px;
        vertical-align: top;
        position: relative;
        text-align: right;
    }
    #newsline .settings .icon {
        font-size: 14px;
        cursor: pointer;
        color: #8d8d8d;
    }
    #newsline .settings .icon:hover {
        color: #808CCB;
    }
    #newsline .settings ul.menu {
        position: absolute;
        right: -142px;
        top: -7px;
        background-color: #fff;
        border-radius: 5px;
        border: 1px solid #8d8d8d;
        width: 130px;
        display: none;
        text-align: left;
        font-size: 12px;
    }
    #newsline .new-message_sending .icons .fa, #newsline .new-message_sending .icons .glyphicons {
        padding: 3px;
    }
    #newsline .settings ul.menu:before {
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 6px 10px 6px 0px;
        border-color: transparent #8d8d8d transparent transparent;
        content: " ";
        position: absolute;
        left: -11px;
        top: 12px;
        margin-top: -5px;
    }
    #newsline .settings ul.menu li {
        padding: 5px 10px;
        border-bottom: 1px solid #efefef;
    }
    #newsline .settings ul.menu li:first-child {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    #newsline .settings ul.menu li:last-child {
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }
    #newsline .settings ul.menu li:last-child {
        border-bottom: 0px;
    }
    #newsline .settings ul.menu li:hover {
        background-color: #efefef;
    }
    #newsline .settings ul.menu li a {
        display: block;
    }
    #newsline .new-body {
        margin-top: 0px;
    }
    #newsline .buttons {
        width: 32px;
        display: inline-block;
        vertical-align: top;
        margin-right: 10px;
        }
    #newsline .buttons .fa {
        display: block;
        font-size: 20px;
        transition: all 0.25s ease-in-out;
        color: #8d8d8d;
        text-align: center;
    }
    #newsline .buttons .like {
        font-size: 14px;
        text-align: center;
        padding-bottom: 5px;
        color: #b8b8b8;
        transition: all 0.25s ease-in-out;
        cursor: pointer;
    }
    #newsline .buttons .like:hover {
        color: #656565;
    }
    #newsline .buttons .count {
        text-align: center;
        font-size: 11px;
        color: #656565;
    }
    #newsline .buttons .fa:hover {
        color: #656565;
    }
    #newsline .buttons .fa .count {
        font-size: 12px;
        display: inline-block;
        vertical-align: top;
        line-height: 17px;
        margin-left: 5px;
        color: #000;
    }
    #newsline .buttons .close:before {
        margin-left: -2px;
    }
    #newsline .buttons .fa:before {
        cursor: pointer;
        width: 20px;
        display: inline-block;
        text-align: center;
    }
    #newsline .new-response:hover .close {
        color: #b8b8b8;
    }
    #newsline .name-autor .close:hover {
        color: #656565;
    }
    #newsline .new-content {
        width: 540px;
        display: inline-block;
        font-size: 11px;
        line-height: 18px;
        padding-bottom: 10px;
    }
    #newsline .time {
        margin-top: 2px;
        color: #8d8d8d;
        font-size: 11px;
        display: inline-block;
    }
    #newsline .comment {
        display: inline-block;
        float: right;
        margin-top: 2px;
        color: #8d8d8d;
        font-size: 11px;
    }
    #newsline .new-comment{
    	background: #eaeaea;
    	margin: -5px -10px;
    	padding: 10px;
    	border-top-left-radius: 5px;
    	border-top-right-radius: 5px;
    }
    #newsline .new-comment textarea{
    	margin-bottom: 5px;
    	height: 50px;
    }
    #newsline .new-message_sending {
        position: relative;
        padding-bottom: 10px;
        display: none;
    }
    #newsline .sending-textarea {
        resize: none;
        width: 540px;
        height: 75px;
        font-size: 12px;
        padding: 4px 10px;
        padding-right: 25px;
        transition: all 0.3s ease-in-out;
        margin-left: 45px;
        border-radius: 5px;
    }
    #newsline .new-message_sending .icons {
        display: inline-block;
        height: 72px;
        vertical-align: top;
        text-align: center;
        width: 30px;
        font-size: 16px;
        cursor: pointer;
        position: absolute;
        right: 5px;
        top: 1px;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        background-color: #fff;
        color: #656565;
        line-height: 23px;
        border-right: 1px solid #b8b8b8;
        border-radius: 5px;
    }
    #newsline .new-message_sending .icons > div:hover {
        color:  #808CCB;
    }
    #newsline .avatar-like {
        display: inline-block;
        vertical-align: top;
    }
    #newsline .avatar-like .like {
        margin-top: 10px;
        text-align: center;
        width: 32px;
    }
    #newsline .avatar-like .like .icon {
        transition: all 0.3s ease-in-out;
        color: #b8b8b8;
        cursor: pointer;
    }
    #newsline .avatar-like .like .count {
        font-size: 11px;
        margin-top: 5px;
        color: #656565;
    }
    #newsline .avatar-like .like .icon:hover {
        color: #656565;
    }
    #newsline .text-response {
        display: inline-block;
        width: 495px;
    }
    #newsline .new-response {
        padding-bottom: 5px;
        margin-left: 45px;
        margin-bottom: 5px;
        border-bottom: 1px solid #b8b8b8;
        padding-top: 10px;
    }
    #newsline .new-responses .new-response:last-child {
        border-bottom: 0px;
        padding-bottom: 0px;
        margin-bottom: 0px;
    }
    #newsline .name-autor {
        margin-bottom: 5px;
    }
    #newsline .new-more_response {
        text-align: center;
        background-color: #efefef;
        margin-left: 45px;
        margin-top: -5px;
        padding: 5px;
        font-size: 20px;
        cursor: pointer;
        color: #656565;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }
    #newsline .new-more_response-text {
        font-size: 11px;
        line-height: 13px !important;
    }
    #newsline .new-more_response > div {
        display: inline-block;
        font-size: 11px;
        vertical-align: top;
        line-height: 18px;
    }
    #newsline .name-autor .close {
        float: right;
        color: #efefef;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
    }
    #newsline .text-response .text {
        font-size: 11px;
        line-height: 18px;
        min-height: 39px;
    }
    #newsline .new-response .avatar {
        margin-left: 0 !important;
    }
    #newsline .like-response {
        display: inline-block;
        float: right;
        margin-top: 10px;
        margin-left: 10px;
    }
    #newsline .reply {
        display: inline-block;
        float: right;
        margin-top: 2px
    }
    #newsline .text-response .response-footer {
        font-size: 12px;
        padding-top: 1px;
    }
    #newsline img{
    	border-radius: 5px;
    }
    #newsline .new-content .photo{
    	width: 150px;
		height: 150px;
		border-radius: 5px;
		background-position: center;
		background-size: cover;
		display: inline-block;
    }
    #newsline .new-content img{
    	width: 150px;
		height: 150px;
	}
	#newsline .new-content .quote{
		background: #FFEEDB;
		padding: 5px;
		border-radius: 5px;
		margin-bottom: 5px;
	}
	#newsline_container .show_more{
		display: block;
		margin: 0;
		padding-bottom: 20px;
	}
	#newsline_container .show_more a{
		display: block;
		height: 40px;
		width: 100%;
    }
    25% {
        height: 14px;
        transform: translateY(4px);
        background: #5563AE;
        border-radius: 40%;
    }
    50% {
        height: 8px;
        transform: translateY(0px);
        background: #808CCB;
    }
    100% {
        height: 8px;
        transform: translateY(0px);
        background: #DBDFF6;
    }
}
.tpd-tooltip .map {
    width: 400px;
    height: 400px;
}

/* lightbox */
#lightbox .lb-data .lb-close {
	width: 3.5em;
	height: 3.5em;
	text-align: left;
	text-indent: -9999px;
	background-color: #666;
	position: fixed;
	z-index: 10002;
	top: 60px;
	right: 1.5em;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	-webkit-transition: color .3s ease;
	-moz-transition: color .3s ease;
	-ms-transition: color .3s ease;
	-o-transition: color .3s ease;
	transition: color .3s ease;
	transition: all 0.25s ease-in-out;
	cursor: pointer;
	background-image: none;
}
#lightbox .lb-data .lb-close:before {
	width: 2px;
	background-color: #fff;
	content: '';
	position: absolute;
	top: 20%;
	bottom: 20%;
	left: 50%;
	margin-left: -1px;
	-webkit-transform: rotate( 45deg );
	-moz-transform: rotate( 45deg );
	-ms-transform: rotate( 45deg );
	-o-transform: rotate( 45deg );
	transform: rotate( 45deg );
}
#lightbox .lb-data .lb-close:after {
	width: 2px;
	background-color: #fff;
	content: '';
	position: absolute;
	top: 20%;
	bottom: 20%;
	left: 50%;
	margin-left: -1px;
	-webkit-transform: rotate( -45deg );
	-moz-transform: rotate( -45deg );
	-ms-transform: rotate( -45deg );
	-o-transform: rotate( -45deg );
	transform: rotate( -45deg );
}
#lightbox .abboom-photo_block {
	width: 50%;
	height: 45px;
	background-color: #efefef;
	position: fixed;
	bottom: 0px;
	left: 25%;
	border-radius: 50px 50px 0 0;
}
#lightbox .abboom-photo_block>div {
	display: inline-block;
	width: 33%;
	height: 45px;
	vertical-align: top;
	line-height: 45px;
}
#lightbox .abboom-like_count {
	width: 34%;
}
#lightbox .abboom-like_count>img {
	width: 32px;
	margin-top: 7px;
	margin-right: 10px;
	cursor: pointer;
}
#lightbox .like_counter {
	vertical-align: top;
	cursor: pointer;
}
#lightbox .settings {
	height: 45px;
	display: block;
	line-height: 45px;
	font-size: 25px;
	cursor: pointer;
	color: #b8b8b8;
	transition: all 0.25s ease-in-out;
	position: relative;
	width: 45px;
	margin: 0 auto;
}
#lightbox .abboom_menu.menu_top {
	bottom: 8px;
}
#lightbox .settings:hover {
	color: #656565;
}
.list-users .user {
	display: inline-block;
	padding: 0 3px;
}
.list-users .user img {
	width: 32px;
	height: 32px;
	border-radius: 5px;
}
#lightbox .abboom-photo_block .users {
	display: none;
}

	.wiki-popup {
		cursor: pointer;
		border-bottom-width: 1px;
		border-bottom-style: dotted;
	}
    .wiki-popup:hover {
        color: #5563AE;
    }
    #wraper span.wiki-popup {
        color: #000;
        font-size: 14px;
    }    
    
	#wraper .wiki-popup.question {
		cursor: pointer;
        font-size: 21px;
        color: #223289;
        padding: 4px 10px;
		border-radius: 5px;
		border: 3px solid #223289;
	}
    #wraper .wiki-popup.question:hover {
        color: #808CCB;
		border: 3px solid #808CCB;
    }
    
	#whitebox #first_visit {
		text-align: left;
		display: none;
		width: 418px;
	}
	#whitebox #first_visit .alert-info{
		background: #DBDFF6;
		padding: 10px;
		margin-bottom: 20px;
		border-radius: 5px;
	}

	#first_visit .purpose-acquaintance .btn {
		display: block;
		width: 100%;
		margin-bottom: 5px;
	}
	#first_visit h4 {
		margin-bottom: 5px;
		margin-top: 20px;
	}
	#first_visit h3 {
		text-align: center;
		margin-bottom: 10px;
		padding-bottom: 10px;
		border-bottom: 1px solid #b8b8b8;
	}
	#first_visit .legend {
		font-size: 12px;
		color: #656565;
	}
	#first_visit .form-element {
		width: 100%;
	}

	#first_visit .cell{
		vertical-align: middle;
		line-height: 40px;
		position: relative;
		padding-bottom: 5px;
	}
	#first_visit .cell:first-child{
		padding-right: 10px;
	}
	#first_visit .cell:last-child{
		width: 180px;
	}
	#first_visit .cell:last-child .select2{
		width: 175px;
	}
	#first_visit label:not([class*="btn"]) {
		display: inline-block;
		height: 28px;
		line-height: 18px;
	}
	#first_visit .star {
		color: red;
	}
	#first_visit .first_block, #first_visit .second_block, #first_visit .third_block, #first_visit .fourth_block, #first_visit .fifth_block {
		padding-bottom: 15px;
		margin-bottom: 15px;
		border-bottom: 1px solid rgb(184, 184, 184);
	}
    #first_visit .fifth_block {
        text-align: -webkit-center;
    }
	#first_visit .select2-container{
		width: 100%;

	}
	#first_visit .select2-container-multi .select2-choices .select2-search-choice {
		height: 20px;
		line-height: 12px;
		border: 1px solid #eaeaea;
		box-shadow: none;
		background: #fff;
	}
	#first_visit .select2-search-choice-close {
		top: 2px;
	}
	#first_visit.select2-dropdown-open .select2-choices {
		border-bottom-right-radius: 0 !important;
		border-bottom-left-radius: 0 !important;
	}
	#s2id_languages.select2-dropdown-open.select2-drop-above .select2-choices {
		border-bottom-right-radius: 5px !important;
		border-bottom-left-radius: 5px !important;
		border-top-right-radius: 0 !important;
		border-top-left-radius: 0 !important;
	}
	#first_visit .select2-container-multi .select2-choices {
		border-radius: 5px;
		min-height: 35px !important;
		border: 1px solid #ccc;
		box-shadow: none;
		background: none;

	}

	#first_visit .select2-container-multi .select2-choices .select2-search-field {
		line-height: 14px;
	}

	#time-mandala-legend.mandala-legend-static--hidden {
		display: none !important;
	}

	#time-mandala-legend, #time-mandala-legend-dyno {
		white-space: initial;
	}
	#time-mandala-legend .item, #time-mandala-legend-dyno {
		margin-top: 10px;
		font-size: 12px;
		line-height: 1.6;
		text-align: left;
	}
	#time-mandala-legend-dyno{
		border-radius: 5px;
		padding: 5px;
	}
	#time-mandala-legend .item .description, #time-mandala-legend-dyno .description {
		padding-top: 1px;
		display: inline-block;
		font-size: 11px;
		line-height: 1.4;
	}

	.waitingInput {
		background-color: #eaeaea !important;
		background-image: url('/images/anim.gif') !important;
		background-size: 25px !important;
		background-repeat: no-repeat !important;
		background-position: center !important;
		border-color: #eaeaea;
		color:#eaeaea;
	}
	.waitingBlock {

	}
	.waiting {
		position: absolute !important;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		background-color: rgba(255,255,255,0.8) !important;
		background-image: url('/images/anim.gif') !important;
		background-size: 25px !important;
		background-repeat: no-repeat !important;
		background-position: center !important;
	}

	.periods.fa {
		color: #000;
		width: 20px;
		display: block;
		position: absolute;
		top: 4px;
		left: -180px;
		text-align: center;
		font-size: 20px;
	}
	.periods.fa:hover {
		color: #000;
	}
#search_loader_block .jq_progressbar .ui-progressbar-value{
	transition: all 0.5s ease-in-out;
}
#time-mandala-legend-dyno{
	background: #FFEEDB;
}
#time-mandala-component path, #time-mandala-component rect, #time-mandala-component text {
	cursor: pointer;
}
#geolocation_informer table td {
	padding: 5px;
}
#geolocation_informer table input, #geolocation_informer table select {
	width: 100% !important;
	text-align: left !important;
}

#sidebar.open + #wraper header .left_block {
	padding-left: 200px;
}
#sidebar.open + #wraper #content .text-right.top_menu {
 margin-left: 200px;
}
#sidebar.open + #wraper #round-header {
 margin-left: 200px;
}
.warning_text{
	background: #FFE1DA;
	padding: 10px;
	border-radius: 5px;
}
#restore_mandala{
	cursor: pointer;
	position: absolute;
	right: 10px;
	top: -20px;
	color: #ccc;
}
#restore_mandala:hover{
	color: #000;
}
#time-mandala-legend-dyno{
	position: relative;
}
.mandala-container{
	position: relative;
}




/* Cначала обозначаем стили для IE8 и более старых версий
т.е. здесь мы немного облагораживаем стандартный чекбокс. */
.checkbox_perfect {
	vertical-align: top;
	margin: 0 3px 0 0;
	width: 17px;
	height: 17px;
}
/* Это для всех браузеров, кроме совсем старых, которые не поддерживают
селекторы с плюсом. Показываем, что label кликабелен. */
.checkbox_perfect + label {
	cursor: pointer;
}

/* Далее идет оформление чекбокса в современных браузерах, а также IE9 и выше.
Благодаря тому, что старые браузеры не поддерживают селекторы :not и :checked,
в них все нижеследующие стили не сработают. */

/* Прячем оригинальный чекбокс. */
.checkbox_perfect:not(checked) {
	position: absolute;
	opacity: 0;
}
.checkbox_perfect:not(checked) + label {
	position: relative; /* будем позиционировать псевдочекбокс относительно label */
	padding: 0 0 0 60px; /* оставляем слева от label место под псевдочекбокс */
}
.mini.checkbox_perfect:not(checked) + label {
	padding: 0 0 0 45px; /* оставляем слева от label место под псевдочекбокс */
}
/* Оформление первой части чекбокса в выключенном состоянии (фон). */
.checkbox_perfect:not(checked) + label:before {
	content: '';
	position: absolute;
	top: -4px;
	left: 0;
	width: 50px;
	height: 26px;
	border-radius: 13px;
	background: #CDD1DA;
	box-shadow: inset 0 2px 3px rgba(0,0,0,.2);
}
/* Оформление второй части чекбокса в выключенном состоянии (переключатель). */

.checkbox_perfect:not(checked) + label:after {
	content: '';
	position: absolute;
	top: -2px;
	left: 2px;
	width: 22px;
	height: 22px;
	border-radius: 10px;
	background: #FFF;
	box-shadow: 0 2px 5px rgba(0,0,0,.3);
	transition: all .2s; /* анимация, чтобы чекбокс переключался плавно */
}

.mini.checkbox_perfect:not(checked) + label:after{
	top: 2px;
	left: 0px;
	width: 16px;
	height: 16px;
}
.mini.checkbox_perfect:not(checked) + label:before{
	top: 2px;
	left: 0;
	width: 40px;
	height: 17px;
}

.checkbox_perfect:not(checked):disabled + label:after{
	background: #ccc;
}
/* Меняем фон чекбокса, когда он включен. */
.checkbox_perfect:checked + label:before {
	background: #A6E7BE;
}
/* Сдвигаем переключатель чекбокса, когда он включен. */
.checkbox_perfect:checked + label:after {
	left: 26px;
}
.mini.checkbox_perfect:checked + label:after {
	left: 24px;
}
/* Показываем получение фокуса. */
/*.checkbox_perfect:focus + label:before {
	box-shadow: 0 0 0 3px #FFEEDB;
}*/

.transit_compat_now {
    margin: 7px;
}

#today {
    margin-left: 12px;
    margin-right: 12px;
    margin-top: 18px;
    width: 108px;
    background: linear-gradient(#78D199,#2EA55A);
}

#back, #forward {
    margin-top: 18px;
    width: 108px;
    background: linear-gradient(#78D199,#2EA55A);
}

#transit_compat_period {
    font-size: 20px;
    width: auto;
    text-align: right;
    display: block;
    float: right;
    margin-right: 12px;
    border-bottom: 1px solid #eaeaea;
}


::selection {
 background: #FFEEDB; /* Safari, Chrome, Opera */
}
::-moz-selection {
 background: #FFEEDB; /* FireFox */
}

.breadcrumbs {
    color: #eaeaea;
}
.breadcrumbs a {
    color: #eaeaea;
}

div#round-header {
    width: auto;
    display: block;
    height: 35px;
    background-color: #3a499c;
    border: none;
    margin-top: -1px;
}
.round-head {
    background-color: #F3F3F2;
    width: auto;
    display: block;
    height: 36px;
    border-top-left-radius: 16px;
}

div#top_line {
 display: block;
 width: 100%;
 position: fixed;
 left: 0px;
 right: 0px;
 height: 35px;
 top: 40px;
 z-index: 1;
}

li.your_self {
 margin-top: 13px;
}

.required_field {
    border: 2px solid #C7391B;
}

.menu-glyphicons {
    wwidth: 50px;
    height: 40px;
    font-size: 12pt;
    text-align: center;
    line-height: 40px;
}
.menu-glyphicons-analysis {
    font-size: 9pt;
}

#registration {
    margin-top: 11px;
}

