/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #3c7c97;
	outline: none;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's general styles
   ========================================================================== */

@font-face
{
font-family: halisGRMedium;
src: url(../font/AhmetAltun-HalisGR-Medium.otf);
}

@font-face
{
font-family: halisGRBook;
src: url(../font/AhmetAltun-HalisGR-Book.otf);
}

@font-face
{
font-family: halisGRLight;
src: url(AhmetAltun-HalisGR-Light.otf);
}

@font-face
{
font-family: halisGRThin;
src: url(../font/AhmetAltun-HalisGR-Thin.otf);
}

html {
	background: #71c1e4;
}

#wrapper {
	position: absolute;
	width: 100%;
	background: #71c1e4;
}

header {
	position: absolute;
	width: 100%;
	height: 216px;
	background: url(../img/bkgd-top.gif) center bottom no-repeat;
	background-color: #ffffff;
}

h1 {
	text-indent: -10000px;
	background: url(../img/img-logo-cloudworkspace.gif) center top no-repeat;
}

#logo {
	width: 300px;
	height: 76px;
	margin: 0 auto;
	margin-top: 70px;
}

#input-wrapper {
	position: relative;
	margin: 0 auto;
	margin-top: 280px;
	width: 620px;
}

#appstore-wrapper {
	position: relative;
	margin: 0 auto;
	margin-top: 280px;
	width: 320px;
}

#appstore-wrapper p {
	margin-top: 50px;
	line-height: 34px;
	text-align: center;
	text-shadow: 0 2px 2px #65adcd;
	font-family: halisGRLight;
	font-size: 22px;
	color: white;
}

#appstore-wrapper p span {
	font-family: halisGRMedium;
}

#downloads {
	width: 320px;
	margin-top: 20px;
}

#ios-link img {
	position: relative;
	width: 133px;
	left: 50%;
	margin-left: -66px;
}

#google-link img {
	position: relative;
	margin-top: 20px;
	width: 111px;
	left: 50%;
	margin-left: -55px;
}

.center {
	margin: 0 auto;
}

.placeholder
{
  color: #aaa;
}

/* ==========================================================================
   Author's form field styles
   ========================================================================== */

#text-input {
	margin: 0 auto;
	margin-top: 30px;
	padding-left: 55px;
	width: 355px;
}

input[type="text"],
input[type="password"],
textarea {
	display: inline-block;
    width: 240px;
	height: 43px; /* the width and height of the fake elements */
	line-height: 43px;
	margin-top: 12px;
	padding-left: 60px;
	font-family: halisGRLight;
	font-size: 24px;
	border: none;
	-webkit-border-radius: 4px 4px 4px 4px;
	   -moz-border-radius: 4px 4px 4px 4px;
	        border-radius: 4px 4px 4px 4px;
	-webkit-box-shadow: inset 0 2px 0px 0px rgba(0, 0, 0, 0.075);
	   -moz-box-shadow: inset 0 2px 0px 0px rgba(0, 0, 0, 0.075);
			box-shadow: inset 0 2px 0px 0px gba(0, 0, 0, 0.075);
	-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
	   -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
		 -o-transition: border linear 0.2s, box-shadow linear 0.2s;
			transition: border linear 0.2s, box-shadow linear 0.2s;
}

#company { 
	background: url(../img/img-code.gif) #fff left center no-repeat;
	background-position: 12px;
}


#user { 
	background: url(../img/img-user.gif) #fff left center no-repeat;
	background-position: 12px;
}

#pwd { 
	background: url(../img/img-pass.gif) #fff left center no-repeat;
	background-position: 12px;
}
#username { 
	background: url(../img/img-user.gif) #fff left center no-repeat;
	background-position: 12px;
}

#password { 
	background: url(../img/img-pass.gif) #fff left center no-repeat;
	background-position: 12px;
}

input[type="text"]:focus,
input[type="password"]:focus {
	outline: none;
	border:none !important;
}

input[type="submit"] { 
	width: 300px;
	height: 52px;
	margin-top: 63px;
	border: none;
}

input[type="submit"].inactive {
	background: white url(../img/btn-login-inactive.gif) no-repeat center left;
}

input[type="submit"].active {
	background: white url(../img/btn-login-active.gif) no-repeat center left;
}

.styled select {
    background: transparent;
    width: auto;
    padding: 0 5px 0 5px;
	margin-right: 22px;
	font-family: halisGRLight;
    font-size: 12px;
	color: #fff;
	text-align: right;
    border: none;
	cursor: pointer;
    -webkit-appearance: none;
}

option {
	color: #000;
}

.styled {
    width: 120px;
    height: 20px;
	line-height: 20px;
	margin: 0 6px 0 0;
    overflow: hidden;
    background: url(../img/icn-world.gif) right center no-repeat;
}

.error {
	width: 355px;
	background: url(../img/img-error.gif) bottom right no-repeat;
}

.no-error {
	width: 355px;
}

/* ==========================================================================
   Author's footers styles
   ========================================================================== */

footer {
	position: relative;
	margin: 0 auto;
	margin-top: 0px;
	margin-bottom: 60px;
	width: 620px;
	height: 125px;
}

#legal {
	width: auto;
	position: absolute;
	bottom: 0px;
	left: 0px;
}

#legal span,
#time-zone span,
#language span {
	color: #fff;
	font-family: halisGRLight;
	font-size: 12px;
}

#legal img,
#time-zone img,
#language img {
	margin: 0 6px 0 6px;
}

#language {
	width: auto;
	position: absolute;
	bottom: 26px;
	right: 0px;
}

#time-zone {
	width: auto;
	position: absolute;
	bottom: 0px;
	right: 0px;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/* for 620px or less*/
@media screen and (max-width:620px) {
	
	header {
		height: 140px;
	}
	
	#logo {
		width: 300px;
		height: 76px;
		margin: 0 auto;
		margin-top: 20px;
	}
	
	#input-wrapper {
		margin: 0 auto;
		margin-top: 220px;
		width: 100%;
	}
	
	#appstore-wrapper {
		margin-top: 150px;
	}
	
	footer {
		margin-bottom: 60px;
		width: 100%;
		height: 150px;
	}
	
	#legal span,
	#time-zone span,
	#language span {
		font-family: halisGRBook;
		font-size: 14px;
	}
	
	.styled select {
		margin-right: 20px;
		font-family: halisGRBook;
	    font-size: 14px;
	}
	
	#legal {
		bottom: 6px;
		left: 20px;
	}
	
	#language {
		bottom: 6px;
		right: 20px;
	}
	
	#time-zone {
		display: none;
	}
	
	footer {
		height: 80px;
		margin-bottom: 20px;
	}
	
}

/* for 320px or less*/
@media screen and (max-width:320px) {
	
	#appstore-wrapper {
		width: 300px;
	}
	
	#appstore-wrapper p {
		line-height: 30px;
		font-size: 20px;
	}
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


.ajax_overlay {}

.ajax_loader {background: url("/img/ajax-loader_blue.gif") no-repeat center center transparent;width:100%;height:100%;}

#lean_overlay {
    position: fixed;
    z-index:100;
    top: 0px;
    left: 0px;
    height:100%;
    width:100%;
    background: #000;
    display: none;
}

#test {
     width: 600px;
padding: 30px; 
    display:none;


    background: #FFF;
        border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
        box-shadow: 0px 0px 4px rgba(0,0,0,0.7); -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.7); -moz-box-shadow: 0 0px 4px rgba(0,0,0,0.7);
       
}

#test p { color: #666; text-shadow: none; }