/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #000; }
body { margin: 0; font-size: 1em; line-height: 1.4; background:#2D2C2F;color:#000;font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;}
/*
::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }
*/
a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }



/* ===== Primary Styles ========================================================
   Author: rafek
   ========================================================================== */


/*****************
* HEADER AND TILES 
******************/

header {height:30px;min-width:900px;margin-top:80px;margin-bottom:50px;}
.tile {
    float:left;
    display:block;
    margin-right:1%;
    height:20px;
    border-radius:1px;
    -moz-border-radius:1px;
    -webkit-border-radius:1px;
}

.tile.fourth_tile {margin-right:0;}

.first_tile {
    width:49%;
    background: #a8779d;
    background: -moz-linear-gradient(top,  #a8779d 0%, #996699 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a8779d), color-stop(100%,#996699));
    background: -webkit-linear-gradient(top,  #a8779d 0%,#996699 100%);
    background: -o-linear-gradient(top,  #a8779d 0%,#996699 100%);
    background: -ms-linear-gradient(top,  #a8779d 0%,#996699 100%);
    background: linear-gradient(top,  #a8779d 0%,#996699 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a8779d', endColorstr='#996699',GradientType=0 );
}
.second_tile {
    width:15%;
    background: #fdfdfd;
    background: -moz-linear-gradient(top,  #fdfdfd 0%, #dfdfdf 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#dfdfdf));
    background: -webkit-linear-gradient(top,  #fdfdfd 0%,#dfdfdf 100%);
    background: -o-linear-gradient(top,  #fdfdfd 0%,#dfdfdf 100%);
    background: -ms-linear-gradient(top,  #fdfdfd 0%,#dfdfdf 100%);
    background: linear-gradient(top,  #fdfdfd 0%,#dfdfdf 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#dfdfdf',GradientType=0 );
}
.third_tile {
    width:15%;
    background: #e8e8d4;
    background: -moz-linear-gradient(top,  #e8e8d4 0%, #d9d7b8 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e8e8d4), color-stop(100%,#d9d7b8));
    background: -webkit-linear-gradient(top,  #e8e8d4 0%,#d9d7b8 100%);
    background: -o-linear-gradient(top,  #e8e8d4 0%,#d9d7b8 100%);
    background: -ms-linear-gradient(top,  #e8e8d4 0%,#d9d7b8 100%);
    background: linear-gradient(top,  #e8e8d4 0%,#d9d7b8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8e8d4', endColorstr='#d9d7b8',GradientType=0 );
}
.fourth_tile {
    width:18%;
    background: #fbd666;
    background: -moz-linear-gradient(top,  #fbd666 0%, #ffcc00 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbd666), color-stop(100%,#ffcc00));
    background: -webkit-linear-gradient(top,  #fbd666 0%,#ffcc00 100%);
    background: -o-linear-gradient(top,  #fbd666 0%,#ffcc00 100%);
    background: -ms-linear-gradient(top,  #fbd666 0%,#ffcc00 100%);
    background: linear-gradient(top,  #fbd666 0%,#ffcc00 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fbd666', endColorstr='#ffcc00',GradientType=0 );
}


/*************
 *LOGIN BOX 
 *************/
#main, #messages {
    width:900px;
    margin:0 auto;
    position:relative;
}

#main .box {
    width:590px;
    float:left;
    padding:25px;
    border-radius:1px;
    -moz-border-radius:1px;
    -webkit-border-radius:1px;
    background: #ffffff; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkZWRlZGUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #ffffff 0%, #dedede 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#dedede)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#dedede 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ffffff 0%,#dedede 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ffffff 0%,#dedede 100%); /* IE10+ */
    background: linear-gradient(top,  #ffffff 0%,#dedede 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dedede',GradientType=0 ); /* IE6-8 */
}
#main .boxinner {
    width:100%;
    height:100%;
    min-height:100px;
    background:url(images/logo.png) no-repeat left center;
}

#main .content {
    float:right;
    font-size:8pt;
    max-width: 60%;
}
#main .content form {
    float:right;
}
#main .content .centerform {
    text-align:center;
    width: 350px;
}
#main .content h1 {
    font-size:10pt;
    text-align:center;
}
#main .content input[type="submit"] {
    margin:0 auto;
}
/**************
 *TEASER  
 **************/

#main .teaser {
    float:left;
    color:#fff;
    padding-top:20px;
    margin-left:20px;
}
#main .teaser h1 {
    padding:0;
    margin:0;
    text-shadow: 1px 1px 1px #2d2c2f;
    font-size:24px;
    filter: dropshadow(color=#2d2c2f, offx=1, offy=1);
}

/***************
 *LOGIN TABLE 
 ***************/
#input-table {
    margin: auto;
  
}
#input-table td {
    padding: 5px;
}

input[type="text"], input[type="password"] {
    width: 150px;
}
input[type="submit"] {
    width:154px;
    padding:1px 0;
}
input[type="text"], input[type="password"] {
    border: 1px solid #434853;
}
.txt-r {
    text-align: right;
}
#loading-msg {
    color: black;
    display: none;
    font-weight: normal;
}
#error {
    color: red;
    font-size: 8pt;
    font-weight: bold;
    text-align: left;
}


/**********
 *MESSAGES 
 **********/
#messages {
    color:#fff;
    margin:20px auto;
    font-size:8pt;
    text-align:justify;
}


/*******************
 *FOOTER 
 *******************/
footer {
    position:absolute;
    bottom:5px;
    right:5px;
    color:#fff;
    z-index:2;
    text-align:right;
    font-style: italic;
    font-size:7pt;
}


/* =============================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media screen and (max-width: 980px) {
    #main, #messages, header {
        width:100%;
        min-width:auto;
    }
    #main .teaser {
        display:none;
    }
    
    header {
        margin-top:20px;
        margin-bottom: 40px;
    }
    #main .box {
        float:none;
        margin:0 auto;
    }
    
    #main .teaser h1 {
        font-size:1.2em;
    }
}

@media screen and (max-width: 690px) {
    #main .box {
        width: 90%;
        padding:15px;
    }
    #main .teaser {
        display:none;
    }
    #main .boxinner {
        background: url("images/logo_sm.png") no-repeat center 0;
    }
    
    #main .content form, #main .content {
        float:none;
    }
    #main .content {
        margin-top:60px;
        max-width: 100%;
    }
    #main .content .centerform {
        width: 100%;
    }
    header {
        margin-bottom:10px;
    }
    footer {
        display:none;
    }
}

@media screen and (max-width: 400px) {
    #main .box {
        width: 100%;
        height:100%;
    }
    header, footer {
        display:none;
    }
}

/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
