﻿@font-face {
    font-family: "NautilusPompiliusRegular";
	src: local('NautilusPompiliusRegular'),
        url(../fonts/NautilusPompiliusRegular.ttf) format('truetype'),
        url(../fonts/NautilusPompiliusRegular.eot) format('truetype');
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: 'OlgaCTT';
    font-style: normal;
    font-weight: 400;
    src: local('OlgaCTT'), local('OlgaCTT-Normal'),
        url(../fonts/olgactt_a3ce917f939b6b14b0adfbede138074a.ttf) format('truetype'),
        url(../fonts/olgactt_a3ce917f939b6b14b0adfbede138074a.eot) format('truetype');
}
body{
    overflow-x: hidden;
}
#content{
	width:760px;
	margin:0 auto;
    color: #000000;
	padding:20px;
    position: relative;	
}
.registration_buttons{
	text-align:right;
    position: relative;
    z-index: 1;	
}
.registration_form {
    -webkit-transition: all 200ms;
    -moz-transition: all 200ms;
    -ms-transition: all 200ms;
    -o-transition: all 200ms;
    transition: all 200ms;
    right: 0;	
    z-index: 1;	
    background: #295F8F;	
	background: #689BCC url(../images/line.jpg) 22% -2% no-repeat;
    box-shadow: 1px 1px 26px -3px white;
    padding: 42px 20px 20px;	
}
#registration .error_login{
    margin-right: 0px;
    -webkit-transition: all 200ms;
    -moz-transition: all 200ms;
    -ms-transition: all 200ms;
    -o-transition: all 200ms;
    transition: all 200ms;
	position:absolute;
    right: 0;
	bottom: -16px;
    z-index: 0;	
	text-align:center;
}
.error_login{
	text-align:center;
}
#registration.active .error_login{
    margin-right: -325px;
    -webkit-transition: all 200ms;
    -moz-transition: all 200ms;
    -ms-transition: all 200ms;
    -o-transition: all 200ms;
    transition: all 200ms;
	position:absolute;
    right: 0;
	bottom: -16px;
    z-index: 0;	
}
.registration_form{
    text-align: left;
    width: 46%;
	outline: 0;	
    margin: 30px auto 0 auto;
}
.logo.reg{
    text-align: center;
}
.form_wrapper form{
    display: inline-block;
    position: absolute;
    -webkit-transition: all 200ms;
    -moz-transition: all 200ms;
    -ms-transition: all 200ms;
    -o-transition: all 200ms;
    transition: all 200ms;
	left:500px;
    width: 40%;
	visibility:hidden;
    vertical-align: top;	
}
.form_wrapper form.active{
	visibility:visible;
	left:0;
}
.form_wrapper{
	width: 880px;
    height: 179px;	
    position: relative;	
}
.registration_form form input[type="submit"]{
    display: block;
}
.form_wrapper form input {
    width: 100%;
	padding: 7px 3px;
    text-align: center;	
    border: none;
    padding: 15px;
    font: 300 14pt/20px 'Arial';
    color: black;
    letter-spacing: 2px;
	background:white;
}
.form_wrapper form input[type="submit"]{
	text-transform: uppercase;
    font: 300 10pt/13px 'Arial';
}
.form_wrapper form input[type="submit"]{
    width: auto;
	background: #CECECE;
	cursor:pointer;
}
form#login_form input,form#reg_form input {
    margin: 0 0 10px;	
    float: right;	
}
.registration_form.focused
{
	margin-top:0px;
    background: #295F8F;
}
.registration_form input{
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear 0.5s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.5s, box-shadow linear 0.2s;
    -ms-transition: border linear 0.5s, box-shadow linear 0.2s;
    -o-transition: border linear 0.5s, box-shadow linear 0.2s;
    transition: border linear 0.5s, box-shadow linear 0.2s;
    border: 1px solid #cccccc;
}
.select_form a{
	position:relative;
	z-index:200;
    color: white;
    text-decoration: none;
    border-bottom: 1px dotted white;
	font: 300 12pt/20px 'Arial';
}
.select_form{
	text-align:center;
	position:relative;
	z-index:200;
}
.registration_form:after {
    content: none;
    width: 50px;
    height: 50px;
    background: #AFBB32;
    position: absolute;
    right: 0;
    font: normal normal normal 28px/67px FontAwesome;
    text-align: center;	
}
.hint {
    display: none;
    position: absolute;
    right: 0px;
    width: 63px;
    margin-top: -4px;
    border: 1px solid #074B8A;
    padding: 10px 12px;
    background: #074B8A url(../images/pointer.gif) no-repeat -10px 5px;
    z-index: 1;
    color: white;	
}
.hint .hint-pointer {
    position: absolute;
    left: -10px;
    top: 5px;
    width: 10px;
    height: 19px;
    background: url(../images/pointer.gif) left top no-repeat;
}
div#content_wrapper .sended_messages{
    width: 50%;
    float: left;
    height: 570px;
    overflow-y: scroll;	
}
div#content_wrapper .post_card{
	transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);	
    transition: all 1s;	
    width: 50%;
    float: left;	
}
div#content_wrapper.loaded .post_card {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
.header_menu .logo{
    border-right: 2px solid black;
    padding: 0 20px 0 0px;
}
.header_menu div.header_info{
	float:right;
}
.header_menu div{
	float:left;
}
.header_menu p{
    margin: 4px 0;	
}
.header_menu{
    text-align: center;
	overflow: hidden;	
    margin: 0 0 20px;	
}
.header_menu .action a.sended_post{
    font-size: 28pt;
}
.header_menu .action a i{
    position: relative;
}
.header_menu .action a{
    font-size: 30pt;
    color: inherit;	
	display: block;
    float: left;	
    margin: 0 8px 0 0;	
}
.header_menu div+div {
    margin: 0 0 0 20px;
}
i.fa.fa-envelope-o:after {
    content: attr(data-amount);
    font-size: 12pt;
    top: 0;
    position: absolute;
    right: -6px;
    background: red;
    border-radius: 10px;
    color: white;
}
.post_card #post_form{
    background: url(../images/blank.jpg) 0% 0% no-repeat;
    width: 80%;
    margin: 0 auto;
    background-size: contain;
    height: 455px;
    padding: 50px 70px 65px 68px;
}
.post_card #post_form textarea:focus{
	outline: none;
}
.post_card #post_form textarea[name="to"]{
    width: 250px;
}
.post_card #post_form textarea[name="message"]{
	float: none;
    font: 300 23pt/33px 'OlgaCTT';	
    width: 100%;
	overflow:hidden;
    height: 230px;	
}
.post_card #post_form textarea{
    border: none;
    background: none;
    resize: none;
    float: right;
    font: 300 18pt/36px 'NautilusPompiliusRegular';
	overflow:hidden;	
}
.post_card #post_form textarea[name="from"]{
    font: 300 17pt/29px 'NautilusPompiliusRegular';
    font-style: normal;
    text-align: right;
	overflow:hidden;	
}
.post_card #post_form input[type="submit"],.email div input[type="submit"]{
    border: none;
    padding: 15px;
    font: 300 12pt/20px 'NautilusPompiliusRegular';
    text-transform: uppercase;
    color: white;
    letter-spacing: 2px;
    background: #295F8F;
}
.email div input[type="submit"]{
    font: 300 10pt/6px 'NautilusPompiliusRegular';	
}
.message{
    top: 600px;
    position: absolute;
}
.email div input[type="text"]{
    padding: 8px;
    float: left;	
}
.email>div {
    width: 20%;
    margin: 0 auto;
    text-align: center;
    position: absolute;
    left: 40%;
    top: 40%;
    background: rgb(255, 255, 255);
    padding: 20px;	
    background: white url(../images/line.jpg) 4% -7% no-repeat;
	box-shadow: 1px 1px 26px -3px white;
}
.email{
	position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(7, 75, 138, 0.85);
	display:none;
}
.email.show{
	display:block;
}
#cnvs,#testcanvas,#resultCanvas{
	display:none;
}
.email a.close{
    position: absolute;
    top: -8px;
    right: -5px;
    text-decoration: none;
    color: #FFFFFF;
    border-radius: 17px;
    border: 2px solid white;
    padding: 3px 8px;
    background: #295F8F;
    font: 300 10pt/20px 'Arial';
}
a.close:hover {
    background: #25537B!important;
}
.pages_wrapper>div{
    width: 1520px;
}
.pages_wrapper{
    width: 100%;
    overflow: hidden;
}
.sended_messages a.fancybox img {
    width: 30%;
    margin: 0px 0px 24px 24px;
}
.action a.active {
    color: red;
}
form#reg_form .form_item {
    width: 48%;
    float: left;
    margin: 0 0 0 6px;
}
#reg_form .form_item .hint .hint-pointer{
    background: transparent url(../images/pointer2.gif) no-repeat 0px 0px;	
}
#reg_form .form_item .hint{
    right: -250px;
    width: 200px;
	border:none;
    background: #F1282B url(../images/pointer2.gif) no-repeat -10px 5px;	
}
input[type="submit"] {
    cursor: pointer;
    transition: all 1s;	
}
input[type="submit"]:hover {
    cursor: pointer;
    background: #3B80BD!important;
}
.sdf{
    overflow: auto;
}
.sdf:after {
	content:none;
}
.sdf.capture:after {
    content: "";
    background: url(../images/l.jpg) -37% 0% no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    left: -317px;
    background-size: 100%;
    top: -178px;
}
.fancybox-skin{
	background:transparent!important;
	box-shadow:none!important;
}
.sended_messages_wrapper{
	padding: 8px 19px 0 0;
}
.header_info a{
    text-decoration: none;
    color: #D02E2C;
    border-bottom: 1px dotted gray;
}
.header_menu .action a:not(.active):hover{
	color: #295F8F!important;
    text-shadow: 0px -1px 0px #295F8F;
}
.header_menu .action a:not(.active){
	cursor:pointer;
}
.header_menu .action a.active{
	pointer-events: none;
	cursor:default;
}