/* remove codrops styles and reset the whole thing */
#container_demo{
	 text-align: left;
	 margin: 0;
	 padding: 0;
	 margin: 0 auto;
	 font-family: 'DinCyRg';
font-style: normal;
font-weight: normal;
  src: url('/fonts/DinCyRg.eot?') format('eot');
  src: url('/fonts/DinCyRg.eot?#iefix') format('embedded-opentype'),
       url('/fonts/DinCyRg.woff') format('woff'),
       url('/fonts/DinCyRg.ttf') format('truetype'),
       url('/fonts/DinCyRg.svg#DinCyRg') format('svg');
}


@font-face {
font-family: 'DinCyBd';
font-style: normal;
font-weight: normal;
  src: url('/fonts/DinCyBd.eot?') format('eot');
  src: url('/fonts/DinCyBd.eot?#iefix') format('embedded-opentype'),
       url('/fonts/DinCyBd.woff') format('woff'),
       url('/fonts/DinCyBd.ttf') format('truetype'),
       url('/fonts/DinCyBd.svg#DinCyBd') format('svg');
}
@font-face {
font-family: 'DinCyBdIt';
font-style: normal;
font-weight: normal;
  src: url('/fonts/DinCyBdIt.eot?') format('eot');
  src: url('/fonts/DinCyBdIt.eot?#iefix') format('embedded-opentype'),
       url('/fonts/DinCyBdIt.woff') format('woff'),
       url('/fonts/DinCyBdIt.ttf') format('truetype'),
       url('/fonts/DinCyBdIt.svg#DinCyBdIt') format('svg');
}
@font-face {
font-family: 'DinCyBk';
font-style: normal;
font-weight: normal;
  src: url('/fonts/DinCyBk.eot?') format('eot');
  src: url('/fonts/DinCyBk.eot?#iefix') format('embedded-opentype'),
       url('/fonts/DinCyBk.woff') format('woff'),
       url('/fonts/DinCyBk.ttf') format('truetype'),
       url('/fonts/DinCyBk.svg#DinCyBk') format('svg');
}
@font-face {
font-family: 'DinCyBkIt';
font-style: normal;
font-weight: normal;
  src: url('/fonts/DinCyBkIt.eot?') format('eot');
  src: url('/fonts/DinCyBkIt.eot?#iefix') format('embedded-opentype'),
       url('/fonts/DinCyBkIt.woff') format('woff'),
       url('/fonts/DinCyBkIt.ttf') format('truetype'),
       url('/fonts/DinCyBkIt.svg#DinCyBkIt') format('svg');
}
@font-face {
font-family: 'DinCyLt';
font-style: normal;
font-weight: normal;
  src: url('/fonts/DinCyLt.eot?') format('eot');
  src: url('/fonts/DinCyLt.eot?#iefix') format('embedded-opentype'),
       url('/fonts/DinCyLt.woff') format('woff'),
       url('/fonts/DinCyLt.ttf') format('truetype'),
       url('/fonts/DinCyLt.svg#DinCyLt') format('svg');
}
@font-face {
font-family: 'DinCyLtIt';
font-style: normal;
font-weight: normal;
  src: url('/fonts/DinCyLtIt.eot?') format('eot');
  src: url('/fonts/DinCyLtIt.eot?#iefix') format('embedded-opentype'),
       url('/fonts/DinCyLtIt.woff') format('woff'),
       url('/fonts/DinCyLtIt.ttf') format('truetype'),
       url('/fonts/DinCyLtIt.svg#DinCyLtIt') format('svg');
}
@font-face {
font-family: 'DinCyMd';
font-style: normal;
font-weight: normal;
  src: url('/fonts/DinCyMd.eot?') format('eot');
  src: url('/fonts/DinCyMd.eot?#iefix') format('embedded-opentype'),
       url('/fonts/DinCyMd.woff') format('woff'),
       url('/fonts/DinCyMd.ttf') format('truetype'),
       url('/fonts/DinCyMd.svg#DinCyMd') format('svg');
}
@font-face {
font-family: 'DinCyMdIt';
font-style: normal;
font-weight: normal;
  src: url('/fonts/DinCyMdIt.eot?') format('eot');
  src: url('/fonts/DinCyMdIt.eot?#iefix') format('embedded-opentype'),
       url('/fonts/DinCyMdIt.woff') format('woff'),
       url('/fonts/DinCyMdIt.ttf') format('truetype'),
       url('/fonts/DinCyMdIt.svg#DinCyMdIt') format('svg');
}
@font-face {
font-family: 'DinCyRg';
font-style: normal;
font-weight: normal;
  src: url('/fonts/DinCyRg.eot?') format('eot');
  src: url('/fonts/DinCyRg.eot?#iefix') format('embedded-opentype'),
       url('/fonts/DinCyRg.woff') format('woff'),
       url('/fonts/DinCyRg.ttf') format('truetype'),
       url('/fonts/DinCyRg.svg#DinCyRg') format('svg');
}
@font-face {
font-family: 'DinCyRgIt';
font-style: normal;
font-weight: normal;
  src: url('/fonts/DinCyRgIt.eot?') format('eot');
  src: url('/fonts/DinCyRgIt.eot?#iefix') format('embedded-opentype'),
       url('/fonts/DinCyRgIt.woff') format('woff'),
       url('/fonts/DinCyRgIt.ttf') format('truetype'),
       url('/fonts/DinCyRgIt.svg#DinCyRgIt') format('svg');
}


input {font:normal 18px 'DinCyRg'; /*color:#008080;*/}


/** fonts used for the icons **/ 
@font-face {
    font-family: 'FontomasCustomRegular';
    src: url('fonts/fontomas-webfont.eot');
    src: url('fonts/fontomas-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/fontomas-webfont.woff') format('woff'),
         url('fonts/fontomas-webfont.ttf') format('truetype'),
         url('fonts/fontomas-webfont.svg#FontomasCustomRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'FranchiseRegular';
    src: url('fonts/franchise-bold-webfont.eot');
    src: url('fonts/franchise-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/franchise-bold-webfont.woff') format('woff'),
         url('fonts/franchise-bold-webfont.ttf') format('truetype'),
         url('fonts/franchise-bold-webfont.svg#FranchiseRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}
a.hiddenanchor{
	display: none;
}
/** The wrapper that will contain our two forms **/
#wrapper{
	top: 0px;
	right: 1px;
	min-height: 50px;
	margin: 0px auto;	
	width: 302px;
	height: 200px;
	position: relative;	
}
/**** Styling the form elements **/

/**** general text styling ****/
#wrapper a{
	color:rgb(6, 106, 117); /*#008080;*/
	text-decoration: underline;
}

#wrapper h1{
	font-size: 20px;
	color: #1dabb8; /*rgb(6, 106, 117);*/
	/*padding: 10px 10px 10px 10px;*/
	margin-top: 0px;
	top: 0px;
	font-family: 'DinCyRgIt','Arial Narrow',Arial,sans-serif;
	/*font-weight: bold;*/
	text-align: center;
}
/** For the moment only webkit supports the background-clip:text; */

/*Подчеркивание заголовка*/
#wrapper h1:after{
	content: ' ';
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 0px;
	background: -moz-linear-gradient(left, rgba(147,184,189,0) 0%, rgba(147,184,189,0.8) 20%, rgba(147,184,189,1) 53%, rgba(147,184,189,0.8) 79%, rgba(147,184,189,0) 100%); 
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(147,184,189,0)), color-stop(20%,rgba(147,184,189,0.8)), color-stop(53%,rgba(147,184,189,1)), color-stop(79%,rgba(147,184,189,0.8)), color-stop(100%,rgba(147,184,189,0))); 
	background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); 
	background: -o-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); 
	background: -ms-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); 
	background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); 
}

#wrapper p{
	margin-bottom:0px;
}
#wrapper p:first-child{
	margin: 0px;
}
#wrapper label{
	color: rgb(64, 92, 96);
	position: relative;
}

/**** advanced input styling ****/
/* placeholder */
::-webkit-input-placeholder  { 
	color: rgb(190, 188, 188);
	font-size: 16px;
	font-family: 'DinCyRg','Arial Narrow',Arial,sans-serif;
	font-style: italic;
}
input:-moz-placeholder,
textarea:-moz-placeholder{ 
	color: rgb(190, 188, 188);
	font-size: 16px;
	font-family: 'DinCyRg','Arial Narrow',Arial,sans-serif;
	font-style: italic;
} 
input {
  outline: none;
}

/* Поля ввода */
#wrapper input:not([type="checkbox"]){
	width: 86%;
	height: 30px;
	padding: 5px 0px 5px 35px;	
	border: 1px solid rgb(178, 178, 178);
	-webkit-appearance: textfield;
	-webkit-box-sizing: content-box;
	  -moz-box-sizing : content-box;
	       box-sizing : content-box;
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	        border-radius: 2px;
	-webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset;
	   -moz-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset;
	        box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.6) inset;
	-webkit-transition: all 0.2s linear;
	   -moz-transition: all 0.2s linear;
	     -o-transition: all 0.2s linear;
	        transition: all 0.2s linear;
}
#wrapper input:not([type="checkbox"]):active,
#wrapper input:not([type="checkbox"]):focus{
	border: 1px solid rgba(91, 90, 90, 0.7);
	background: rgba(238, 236, 240, 0.2);	
	-webkit-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.9) inset;
	   -moz-box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.9) inset;
	        box-shadow: 0px 1px 4px 0px rgba(168, 168, 168, 0.9) inset;
} 

/** the magic icon trick ! **/
[data-icon]:after {
    content: attr(data-icon);
    font-family: 'FontomasCustomRegular';
    color: rgb(106, 159, 171);
    position: absolute;
    left: 10px;
    top: 33px;
	width: 10px;
}

/*styling both submit buttons */
#wrapper p.button input{
	width: 88%;
	height: 30px;
	cursor: pointer;	
	background: #1dabb8; /*rgb(61, 157, 179);*/
	padding: 10px 15px;
	font-family: 'DinCyRg','Arial Narrow',Arial,sans-serif;
	color: #fff;
	font-size: 24px;	
	border: 1px solid rgb(28, 108, 122);	
	margin-bottom: 5px;	
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;	
	-webkit-box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.07) inset,
	        0px 0px 0px 3px rgb(254, 254, 254),
	        0px 5px 3px 3px rgb(210, 210, 210);
	   -moz-box-shadow:0px 1px 6px 4px rgba(0, 0, 0, 0.07) inset,
	        0px 0px 0px 3px rgb(254, 254, 254),
	        0px 5px 3px 3px rgb(210, 210, 210);
	        box-shadow:0px 1px 6px 4px rgba(0, 0, 0, 0.07) inset,
	        0px 0px 0px 3px rgb(254, 254, 254),
	        0px 5px 3px 3px rgb(210, 210, 210);
	-webkit-transition: all 0.2s linear;
	   -moz-transition: all 0.2s linear;
	     -o-transition: all 0.2s linear;
	        transition: all 0.2s linear;
}
#wrapper p.button input:hover{
	background: #1dabb8;/*rgb(74, 179, 198);*/
}
#wrapper p.button input:active,
#wrapper p.button input:focus{
	background: #1dabb8;/*rgb(40, 137, 154);*/
	position: relative;
	top: 1px;
	border: 1px solid rgb(12, 76, 87);	
	-webkit-box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.2) inset;
	   -moz-box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.2) inset;
	        box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.2) inset;
}
p.login.button,p.memory.button,
p.signin.button{
	text-align: right;
	margin: 20px 0px 20px 0px;
}


/* styling the checkbox "keep me logged in"*/
.keeplogin{
	margin-top: -5px;
}
.keeplogin input,
.keeplogin label{
	display: inline-block;
	font-size: 14px;	
	font-style: italic;
}
.keeplogin input#loginkeeping{
	margin-right: 5px;
}
.keeplogin label{
	width: 80%;
}


/*styling the links to change from one form to another */

p.change_link{
	position: absolute;
	color: rgb(127, 124, 124);
	left: 0px;
	bottom: 0px;
	height: 60px;
	width: 300;
	padding: 0px 0px 0px 0px;
	
	font-size: 14px	;
	text-align: left;
	border-top: 1px solid rgb(219, 229, 232);
	-webkit-border-radius: 0 0  5px 5px;
	   -moz-border-radius: 0 0  5px 5px;
	        border-radius: 0 0  5px 5px;
	background: rgb(225, 234, 235);
	background: -moz-repeating-linear-gradient(-45deg, 
	rgb(247, 247, 247) , 
	rgb(247, 247, 247) 15px, 
	rgb(225, 234, 235) 15px, 
	rgb(225, 234, 235) 30px, 
	rgb(247, 247, 247) 30px
	);
	background: -webkit-repeating-linear-gradient(-45deg, 
	rgb(247, 247, 247) , 
	rgb(247, 247, 247) 15px, 
	rgb(225, 234, 235) 15px, 
	rgb(225, 234, 235) 30px, 
	rgb(247, 247, 247) 30px
	);
	background: -o-repeating-linear-gradient(-45deg, 
	rgb(247, 247, 247) , 
	rgb(247, 247, 247) 15px, 
	rgb(225, 234, 235) 15px, 
	rgb(225, 234, 235) 30px, 
	rgb(247, 247, 247) 30px
	);
	background: repeating-linear-gradient(-45deg, 
	rgb(247, 247, 247) , 
	rgb(247, 247, 247) 15px, 
	rgb(225, 234, 235) 15px, 
	rgb(225, 234, 235) 30px, 
	rgb(247, 247, 247) 30px
	);
}
/*Кнопка Регистраци или войти маленькая*/
#wrapper p.change_link a {
	display: inline-block;
	font-weight: bold;
	background: rgb(247, 248, 241);
	padding: 8px 8px;
	position: relative;
	/*padding: 10px 10px 10px 10px;*/*/
	color: rgb(29, 162, 193);
	margin-top: 10px;
	margin-left: 150px;
	left: 0px;
	height: 20px;
	width: 120;
	font-size: 16px;
	text-align: center;
	text-decoration: none;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid rgb(203, 213, 214);
	-webkit-transition: all 0.4s linear;
	-moz-transition: all 0.4s  linear;
	-o-transition: all 0.4s linear;
	-ms-transition: all 0.4s  linear;
	transition: all 0.4s  linear;
}

#wrapper p.change_link a:hover {
	color: rgb(57, 191, 215);
	background: rgb(247, 247, 247);
	border: 1px solid rgb(74, 179, 198);
}
#wrapper p.change_link a:active{
	position: relative;
	top: 1px;
}


#wrapper p.change_pass a {
	display: inline-block;
	font-weight: bold;
	background: rgb(247, 248, 241);
	/*padding: 10px 10px;*/
	position: relative;
	padding: 10px 10px 10px 10px;*/
	color: rgb(29, 162, 193);
	margin-top: 5px;
	margin-left: 5px;
	height: 20;
	width: 120;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid rgb(203, 213, 214);
	-webkit-transition: all 0.4s linear;
	-moz-transition: all 0.4s  linear;
	-o-transition: all 0.4s linear;
	-ms-transition: all 0.4s  linear;
	transition: all 0.4s  linear;
}


#wrapper p.change_pass a:hover {
	color: rgb(57, 191, 215);
	background: rgb(247, 247, 247);
	border: 1px solid rgb(74, 179, 198);
}
#wrapper p.change_pass a:active{
	position: relative;
	top: 1px;
}


/** Styling both forms **/
#register,#memory,
#login{
	position: absolute;
	top: 0px;
	width: 88%;	
	padding: 18px 6% 60px 6%;
	margin: 0 0 35px 0;
	background: rgb(247, 247, 247);
	border: 1px solid rgba(147, 184, 189,0.8);
	-webkit-box-shadow: 0pt 2px 5px rgba(105, 108, 109,  0.7),0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
	   -moz-box-shadow: 0pt 2px 5px rgba(105, 108, 109,  0.7),0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
	        box-shadow: 0pt 2px 5px rgba(105, 108, 109,  0.7),0px 0px 8px 5px rgba(208, 223, 226, 0.4) inset;
	-webkit-box-shadow: 5px;
	-moz-border-radius: 5px;
		 border-radius: 5px;
}
#register{	
	z-index: 21;
	opacity: 0;
}
#login{
	z-index: 22;
}
#memory{
	z-index: 20;
	opacity: 0;
}



#toregister:target ~ #wrapper #register,
#tologin:target ~ #wrapper #login{
	z-index: 22;
	-webkit-animation-name: fadeInLeft;
	-moz-animation-name: fadeInLeft;
	-ms-animation-name: fadeInLeft;
	-o-animation-name: fadeInLeft;
	animation-name: fadeInLeft;

}

#toregister:target ~ #wrapper #login,
#tologin:target ~ #wrapper #register{
	-webkit-animation-name: fadeOutLeft;
	-moz-animation-name: fadeOutLeft;
	-ms-animation-name: fadeOutLeft;
	-o-animation-name: fadeOutLeft;
	animation-name: fadeOutLeft;
}


#tomemory:target ~ #wrapper #memory,
#tologin:target ~ #wrapper #login{
	z-index: 22;
	-webkit-animation-name: fadeInLeft;
	-moz-animation-name: fadeInLeft;
	-ms-animation-name: fadeInLeft;
	-o-animation-name: fadeInLeft;
	animation-name: fadeInLeft;

}

#tomemory:target ~ #wrapper #login,
#tologin:target ~ #wrapper #memory{
	-webkit-animation-name: fadeOutLeft;
	-moz-animation-name: fadeOutLeft;
	-ms-animation-name: fadeOutLeft;
	-o-animation-name: fadeOutLeft;
	animation-name: fadeOutLeft;
}

#tomemory:target ~ #wrapper #register,
#toregister:target ~ #wrapper #memory{
	-webkit-animation-name: fadeOutLeft;
	-moz-animation-name: fadeOutLeft;
	-ms-animation-name: fadeOutLeft;
	-o-animation-name: fadeOutLeft;
	animation-name: fadeOutLeft;
}



/** the actual animation, credit where due : http://daneden.me/animate/ ***/
.animate{
	-webkit-animation-duration: 0.2s;
	-webkit-animation-timing-function: ease;
	-webkit-animation-fill-mode: both;
	
	-moz-animation-duration: 0.2s;
	-moz-animation-timing-function: ease;
	-moz-animation-fill-mode: both;
	
	-o-animation-duration: 0.2s;
	-o-animation-timing-function: ease;
	-o-animation-fill-mode: both;
	
	-ms-animation-duration: 0.2s;
	-ms-animation-timing-function: ease;
	-ms-animation-fill-mode: both;
	
	animation-duration: 0.2s;
	animation-timing-function: ease;
	animation-fill-mode: both;
}

/** yerk some ugly IE fixes 'cause I know someone will ask "why does it look ugly in IE?", no matter how many warnings I will put in the article */

.lt8 #wrapper input{
	padding: 0px 5px 10px 32px;
    	width: 92%;
}
.lt8 #wrapper input[type=checkbox]{
	width: 10px;
	padding: 0;
}
.lt8 #wrapper h1{
	color: #1dabb8;
}
.lt8 #register{	
	display: none;
}
.lt8 p.change_link,
.ie9 p.change_link{
	position: absolute;
	height: 90px;
	background: transparent;
}


.img_center{
	text-align:center;
	font-family:PROXY1,'DinCyRgIt',cursive
	 border: solid 1px #0fb7bf;
	    background-color: #0097a4;
	    background: -moz-linear-gradient(top, #0097a4 0%, #0fb7bf 100%);
	    background: -webkit-linear-gradient(top,#0097a4 0%, #0fb7bf 100%);
	    background: -o-linear-gradient(top,#0097a4 0%, #0fb7bf 100%);
	    background: -ms-linear-gradient(top, #0097a4 0%, #0fb7bf 100%);
	    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007780', endColorstr='#0097a4',GradientType=0 );
	    background: linear-gradient(top, #0097a4 0%, #0fb7bf 100%);
	    -webkit-box-shadow: 0px 0px 1px #0097a4, inset 0px 0px 1px #FFFFFF;
	    -moz-box-shadow: 0px 0px 1px #0097a4, inset 0px 0px 1px #FFFFFF;
	    box-shadow: 0px 0px 1px #0097a4, inset 0px 0px 1px #FFFFFF;
}


/* Style the tab */
.tab {
    overflow: hidden;
    /*border: 2px solid #ccc;*/
    background-color: rgb(232, 240, 254) ;
	border-left: 1px solid #ccc;
	
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
overflow: hidden;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;

	width: 100%;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #1dabb8;
	color: #ffffff;
}

.tablinks {
    color: rgb(106, 159, 171);
}

/* Style the tab content */
.tabcontent {
    display: none;
    /*padding: 6px 12px;*/
    /*border: 1px solid #ccc;*/
    border-top: none;
}
