/* webdefined  http: //www.webdefined.biz Compiled by Srinath */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
p,
dl,
hr,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
ul,
pre,
address,
fieldset,
figure {
	margin-bottom: 10px;
}
html {
  box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */  
}
*, *:before, *:after {
  box-sizing: inherit;
	-moz-box-sizing: inherit; /*Firefox 1-3*/
	-webkit-box-sizing: inherit; /* Safari */  
  
}
::-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 {
    width: 100%;    
    resize: vertical;
	border: 1px inset #1c1c1c;
	background-color: #f1f1f1;
	
}
input[type="text"],
input[type="email"] {
    width: 100%;
    border: none;
    border-bottom: 1px dotted #1c1c1c;
    background-color: transparent;
}
input[type="text"]:hover,
input[type="email"]:hover {
	background-color: #e5e5e5;
}
input,
select,
textarea {
	padding: 5px;
}
input[type="checkbox"],
input[type="radio"] {
    cursor: pointer;
	margin: 5px;
}
input[type="submit"],
input[type="button"] {
	width: 64px;
	background-color: #333;
	border-style: solid;
}
label {
	cursor: pointer;
}
div>input[type="submit"] {
	width: 100%;
	height: 42px;
}
input[type="checkbox"]:hover,
input[type="radio"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
	background-color: #000;
}
input[type="select"]:hover {
	cursor: pointer;
}
table {
	width: 100%;
	text-align: center;
	overflow-x: auto;
}
table th {
	background-color: #EE1822;
	text-align: center;
	padding: 5px;
}
table td {
	padding: 5px;
}
table a {
	display: block;
}
#details_grid td.last {
	border-bottom: 1px solid #1c1c1c;	
}
table#grid th,
table#grid td {
	width: 20%;
	border: 1px solid #1c1c1c;	
}
table table td:hover {
	background-color:#E4E4E4;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
	background-color: #FFF;
	background:url(../images/red_background.png) repeat;
}
#container {
	margin: auto;
	padding: 40px;
	background-color: #FFF;

	box-shadow: 0 0 3px #000;
}
h1 {
	margin: 3px;
	padding: 0;
	text-align: center;
}
h1.login {
	margin: 0;
}
h2.system_name {
	padding: 0;
	margin: 0;
}
.logo {
	float: left;
}
#feedback_box {
	width: 100%;
	margin: 20px 0;
	background-color: #ee1822;
}
#feedback_box p {
	margin: 0;
	padding: 10px 10px 0;
}
#feedback_box p:last-child {
	padding-bottom: 10px;
}
.container {
	position: relative;
	margin: 0 auto;
	display: table;
}
.footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	background-color: #9098ab;
	text-align: center;
}
.label {
	float: left;
	background-color: #e5e5e5;
	width: 124px;
	padding: 5px;
	
	text-align: right;
	clear: right;
}
.label_space {
	float: left;
	width: 124px;
	padding: 5px;
}
.error {  
	margin: 5px;
}
.success {
    position: relative;
	width: 100%;
	text-align: center;
	background-color: #9ACD32;
}
.failure {
	width: 100%;
	text-align: center;
	background-color: #C03;
}
.message {
	width: 100%;
	text-align: center;
	background-color: #3b5998;
}
.user_session {
	position: absolute;
	margin-top: -32px;
	right: 5px;
}
#CRM {
	position: absolute;
}
/* ==========================================================================
   Responsive classes
   ========================================================================== */
.wfull {
	width: 100%;
	max-width: 100%
}
.w960 {
	max-width: 960px
}
.w640 {
	max-width: 640px
}
.w320 {
	max-width: 320px
}
.row {
	width: 100%;
	margin-bottom: 20px;
}
.row .row {
	width: auto;
	margin: 0 -20px
}
.c1 {
	width: 8.33%
}
.c2 {
	width: 16.66%
}
.c3 {
	width: 25%
}
.c4 {
	width: 33.33%
}
.c5 {
	width: 41.66%
}
.c6 {
	width: 50%
}
.c7 {
	width: 58.33%
}
.c8 {
	width: 66.66%
}
.c9 {
	width: 75%
}
.c10 {
	width: 83.33%
}
.c11 {
	width: 91.66%
}
.c12 {
	width: 100%
}
.c1, .c2, .c3, .c4, .c5, .c6, .c7, .c8, .c9, .c10, .c11, .c12 {
	position: relative;
	float: left;
	min-height: 1px;
	padding-left: 20px;
	padding-right: 20px;
}
.s1 {
	margin-left: 8.33%
}
.s2 {
	margin-left: 16.66%
}
.s3 {
	margin-left: 25%
}
.s4 {
	margin-left: 33.33%
}
.s5 {
	margin-left: 41.66%
}
.s6 {
	margin-left: 50%
}
.s7 {
	margin-left: 58.33%
}
.s8 {
	margin-left: 66.66%
}
.s9 {
	margin-left: 75%
}
.s10 {
	margin-left: 83.33%
}
.s11 {
	margin-left: 91.66%
}
.end {
	float: right!important
}
/* ==========================================================================
   Helper classes
   ========================================================================== */
.no_border {
	border: none;
	}

/*
 * 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 {
	visibility: hidden;
    clear: both;
	height: 0;
}
/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}
.black_alpha {
	background: rgb(0, 0, 0);
	/* RGBa with 0.6 opacity */
	background: rgba(0, 0, 0, 0.70);
	/* For IE 5.5 - 7*/
	filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
	/* For IE 8*/
	-ms-filter: "progid: DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
}
.rotate {
	/* Safari */
	-webkit-transform: rotate(-90deg);
	/* Firefox */
	-moz-transform: rotate(-90deg);
	/* IE */
	-ms-transform: rotate(-90deg);
	/* Opera */
	-o-transform: rotate(-90deg);
	/* Internet Explorer  four values: 0, 1, 2, or 3 which will rotate the element 0, 90, 180 or 270 degrees respectively.*/
	filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=3);
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */
.upgradeie {
	margin: 0.5em 0;
	color: #FFFFFF;
	padding: 1em;
	font-size: 1.1em;
	background-color: #8a1122;
	text-align: center;
	border: 3px solid #222222;
}
/*==========  Mobile First Method  ==========*/

    /* Custom, iPhone Retina */ 
    @media only screen and (min-width : 320px) {
        
    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (min-width : 480px) {

    }

    /* Small Devices, Tablets */
    @media only screen and (min-width : 768px) {

    }

    /* Medium Devices, Desktops */
    @media only screen and (min-width : 992px) {

    }

    /* Large Devices, Wide Screens */
    @media only screen and (min-width : 1200px) {

    }


/*==========  Non-Mobile First Method  ==========*/

    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {

    }

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {
	}

    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
		#container {
			padding: 10px;
		}
    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {
		.logo {
			float: none;
			display: block;
			margin: auto;
		}
		table th {
			padding: 0;
		}
		table td {
			padding: 1px;
		}
		.row {
			margin-bottom: 0!important
		}
		.c1, .c2, .c3, .c4, .c5, .c6, .c7, .c8, .c9, .c10, .c11, .c12 {
			width: 100%;
			margin-right: 0;
			margin-left: 0;
			margin-bottom: 20px
		}
    }

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {
        
    }

@media print,
       (-o-min-device-pixel-ratio:5/4),
       (-webkit-min-device-pixel-ratio:1.25),
       (min-resolution:120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   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;
    }
	
	header nav, footer {
		display: none;
	}
	
	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;
    }
}
