@import 'reset.css';
@import 'sticky-footer.css';
@import 'font-awesome.min.css';

/* clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

body{
    font-family: 'Lato', sans-serif;
    color:#3b3a33;
    font-size: 100%;
    background:#fff;	
} 

p {
    line-height: 1.3em;
}

a:link,a:visited{
    color:#0794FF;
    text-decoration:none;
}

a:hover,a:active{
    color:rgb(22, 212, 197);;
    text-decoration:underline;
}

/* standard elements */
h1{
    font-size:2.5em;
    margin-bottom:10px;
}

h2{
    font-size:2em;
    margin-bottom:10px;
}

h3{
    font-size:1.2em;
    margin-bottom:10px;
}

h4, h5{
    font-size:1em;
    margin-bottom:10px;
}

table{
    margin-top:5px;
}

td{
    border: 1px solid #dfdfdf;
}

thead#header{
    font-weight:bold;
    background:#E8E8E8;
}

thead#header a:link, thead#header a:visited{

}

tbody tr:nth-child(odd){
    background:#F7F7F7;
}

tbody tr:nth-child(even){
    background:#ECECEC;
}

td{
    padding:10px 15px;
}

.fullwidth{
    width:100%;
}

footer{
    text-align:center;
}

footer .copyright{
    color:#eee;
    font-weight:200;
}

/* other */

.main-header{

}

.wrapper{
    background:#FFFFFF;
}

.navbar{
    background:#f7f7f7;
    border-bottom: 1px solid #E8E8E8;
    padding:12px 20px;
    font-size: 1.15em;
    min-height: 20px;
}

.navbar a{
    color:#7b7b7b;
    text-decoration:none;
}

.navbar a:hover, .navbar a.active{
    color:#2b2b2b;
    color: rgb(22, 212, 197);
}

nav.main_menu{
    display:block;
    width:auto;
    float:left;
}

nav.main_menu a{
    padding: 16px 10px;
    text-transform:uppercase;
    font-size:0.6em;
    margin-right:-0.4em;
}

nav.main_menu a.active, nav.main_menu a:hover{
    background: #E8E8E8;
}

nav.user_menu{
    display:block;
    width:auto;
    float:right;
    margin-right: 15px;
}

nav.user_menu a{
    padding: 0 5px;
}

nav.user_menu a:hover{
    color: rgb(22, 212, 197);
}

nav.user_menu a:last-child{
    padding-right: 0;
}

.hidden{
    display:none;
}

.admin_menu{
    position: absolute;
    right: 45px;
    top: 44px;
    border: 1px solid #E8E8E8;
    background: white;
    border-radius: 6px;
    box-shadow: 0px 0px 6px 0px #D2D2D2;
    width: 185px;
    z-index: 5001;
    font-size: 1.2em;
    padding:5px 0px;
}

.admin_menu:after, .admin_menu:before {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.admin_menu:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #ffffff;
    border-width: 6px;
    margin-left: 23px;
}
.admin_menu:before {
    border-color: rgba(232, 232, 232, 0);
    border-bottom-color: #E8E8E8;
    border-width: 7px;
    margin-left: 22px;
}

.admin_menu a{
    padding: 8px 15px;
    font-size: 0.8em;
    text-decoration: none;
    display: block;
    color:#949494;
}

.admin_menu a:hover{
    background: rgb(22, 212, 197);
    color: white;
}

.main_content{
    padding: 20px 15px;
}

table thead#header td a.sortable{
    display:block;
}

table thead#header td a.sortable.active{
    display:block;
    color: rgb(22, 212, 197);
}

table thead#header td a.sortable.active.desc:after{
    font-family:FontAwesome;
    content:"\f0de";
    float:right;
}
table thead#header td a.sortable.active.asc:after{
    font-family:FontAwesome;
    content:"\f0dd";
    float:right;
}

table thead#header td a.sortable:after{
    font-family:FontAwesome;
    content: "\f0dc";
    float:right;
    margin-left: 10px;
}

table td.iconcol{
    text-align:center;
}

tbody tr.risk_1{
    background:rgb(126, 194, 126);
}

tbody tr.risk_2{
    background:rgb(255, 251, 148);
}

tbody tr.risk_3{
    background:rgb(255, 158, 81);
}

tbody tr.risk_4{
    background:rgb(255, 111, 111);
}

.loginform-wrapper{
    position: absolute;
    top: 50%;
    left:50%;
    margin-left:-170px;
    margin-top:-150px;
    height:300px;
    width: 340px;
    padding: 40px;
    border: 1px solid #aaa;
    border-radius: 8px;
    background: #3b3b3b;
    color: white;
    box-shadow: 0px 0px 100px 3px #D2D2D2;
    box-sizing: border-box;
    font-size: 0.9em;

}

.loginform-wrapper a{
    color:white;
}

input[type="text"], input[type="password"], input[type="email"], input[type="file"], select{
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #E4E4E4;
    font-weight:300;
    color:#3b3a33;
    padding:5px 5px;
    margin:5px;
}

.loginform-wrapper input{
    width:100%;
    margin:10px auto;
    padding:10px 5px;
    font-size:1.2em;
}

.loginform-wrapper input[type='submit']{
}

.btn, a.btn{
    background-color: #F1F1F1;
    background-image: linear-gradient(bottom, #F1F1F1 0%,#F7F7F7 100%);
    background-image: -o-linear-gradient(bottom, #F1F1F1 0%, #F7F7F7 100%);
    background-image: -moz-linear-gradient(bottom, #F1F1F1 0%, #F7F7F7 100%);
    background-image: -webkit-linear-gradient(bottom, #F1F1F1 0%, #F7F7F7 100%);
    background-image: -ms-linear-gradient(bottom, #F1F1F1 0%, #F7F7F7 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #F1F1F1), color-stop(1, #F7F7F7));
    cursor: pointer;
    color: #676767;
    font-weight: 400;
    border-radius: 2px;
    outline: none;
    border: 1px solid #E2E2E2;
    padding: 6px 20px;
    text-decoration: none;
    display:inline-block;
    margin-top:10px;
    margin-bottom:10px;
    font-size: 0.9em;
    line-height:1;
}

.btn:hover, a.btn:hover{
    /*
background-color: #E8E8E8;
background-image: linear-gradient(bottom, #E8E8E8 0%,#ECECEC 100%);
background-image: -o-linear-gradient(bottom, #E8E8E8 0%, #ECECEC 100%);
background-image: -moz-linear-gradient(bottom, #E8E8E8 0%, #ECECEC 100%);
background-image: -webkit-linear-gradient(bottom, #E8E8E8 0%, #ECECEC 100%);
background-image: -ms-linear-gradient(bottom, #E8E8E8 0%, #ECECEC 100%);
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #E8E8E8), color-stop(1, #ECECEC));
    */

    background-color: #16D4C5;
    background-image: linear-gradient(bottom, #16D4C5 0%,#2BECDD 100%);
    background-image: -o-linear-gradient(bottom, #16D4C5 0%, #2BECDD 100%);
    background-image: -moz-linear-gradient(bottom, #16D4C5 0%, #2BECDD 100%);
    background-image: -webkit-linear-gradient(bottom, #16D4C5 0%, #2BECDD 100%);
    background-image: -ms-linear-gradient(bottom, #16D4C5 0%, #2BECDD 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #16D4C5), color-stop(1, #2BECDD));
    border: 1px solid #16D4C5;
    color:white;
}

.blue-btn, a.blue-btn{
    font-size: 0.9em;
    background-color: #3891D0;
    background-image: linear-gradient(bottom, #3891D0 0%,#50A5E8 100%);
    background-image: -o-linear-gradient(bottom, #3891D0 0%, #50A5E8 100%);
    background-image: -moz-linear-gradient(bottom, #3891D0 0%, #50A5E8 100%);
    background-image: -webkit-linear-gradient(bottom, #3891D0 0%, #50A5E8 100%);
    background-image: -ms-linear-gradient(bottom, #3891D0 0%, #50A5E8 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3891D0), color-stop(1, #50A5E8));
    cursor:pointer;
    color:white;
    font-weight:400;
    border-radius: 2px;
    outline:none;
    border: 1px solid #50A5E8;
    padding:6px 20px;
    text-decoration:none;
    display:inline-block;
    margin-top:10px;
    margin-bottom:10px;
    line-height:1;
}

.blue-btn:hover, a.blue-btn:hover{
    background-color: #16D4C5;
    background-image: linear-gradient(bottom, #16D4C5 0%,#2BECDD 100%);
    background-image: -o-linear-gradient(bottom, #16D4C5 0%, #2BECDD 100%);
    background-image: -moz-linear-gradient(bottom, #16D4C5 0%, #2BECDD 100%);
    background-image: -webkit-linear-gradient(bottom, #16D4C5 0%, #2BECDD 100%);
    background-image: -ms-linear-gradient(bottom, #16D4C5 0%, #2BECDD 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #16D4C5), color-stop(1, #2BECDD));
    border: 1px solid #16D4C5;
}

.red-btn, a.red-btn{
    font-size: 0.9em;
    background-color: #FD1B1B;
    background-image: linear-gradient(bottom, #C31747 0%,#FD1B1B 100%);
    background-image: -o-linear-gradient(bottom, #C31747 0%, #FD1B1B 100%);
    background-image: -moz-linear-gradient(bottom, #C31747 0%, #FD1B1B 100%);
    background-image: -webkit-linear-gradient(bottom, #C31747 0%, #FD1B1B 100%);
    background-image: -ms-linear-gradient(bottom, #C31747 0%, #FD1B1B 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #C31747), color-stop(1, #FD1B1B));
    cursor:pointer;
    color:white;
    font-weight:400;
    border-radius: 2px;
    outline:none;
    border: 1px solid #C31747;
    padding:6px 20px;
    text-decoration:none;
    display:inline-block;
    margin-top:10px;
    margin-bottom:10px;
    line-height:1;
}

.red-btn:hover, a.red-btn:hover{
    background-color: #16D4C5;
    background-image: linear-gradient(bottom, #FD1B1B 0%,#C31747 100%);
    background-image: -o-linear-gradient(bottom, #FD1B1B 0%, #C31747 100%);
    background-image: -moz-linear-gradient(bottom, #FD1B1B 0%, #C31747 100%);
    background-image: -webkit-linear-gradient(bottom, #FD1B1B 0%, #C31747 100%);
    background-image: -ms-linear-gradient(bottom, #FD1B1B 0%, #C31747 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #FD1B1B), color-stop(1, #C31747));
    border: 1px solid #FD1B1B;
}


.missing::-webkit-input-placeholder {
    color: #FF5E5E;
}

.missing:-moz-placeholder { /* Firefox 18- */
    color: #FF5E5E;
}

.missing::-moz-placeholder {  /* Firefox 19+ */
    color: #FF5E5E;
}

.missing:-ms-input-placeholder {  
    color: #FF5E5E;
}

.message{
    background: #3D95D5;
    border: 1px solid #5CB4F5;
    color:white;
    display:block;
    position:relative;
    z-index:100;
    padding:10px 10px 10px 35px;
    top:2px;
    margin-bottom:10px;
    border-radius:4px;
    cursor:pointer;
}

.message:before {
    content: "\f05a";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    /*--adjust as necessary--*/
    font-size: 18px;
    padding-right: 0.5em;
    position: absolute;
    top: 10px;
    left: 10px;
}

.message.error{
    background: #FF5E5E;
    border: 1px solid #C3616A;
}

.message.error:before{
    content: "\f06a";
}

.message.success{
    background: #2ECC71;
    border: 1px solid #4DF393;
}

.message.success:before{
    content: "\f058";
}

.small-image{
    max-width:1em;
}

.help{
    display:none;
    opacity:0;
    background:white;
    border:1px solid #ccc;
    border-radius:8px;
    padding:10px;
    box-shadow: 0px 0px 15px 0px #DADADA;
    position:absolute;
}

.help:after, .help:before {
    right: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    z-index:2000;
}

.help:after {
    border-color: rgba(255, 255, 255, 0);
    border-right-color: #ffffff;
    border-width: 6px;
    margin-top: -6px;
}
.help:before {
    border-color: rgba(204, 204, 204, 0);
    border-right-color: #ccc;
    border-width: 7px;
    margin-top: -7px;
}

.required:before{
    content:"* ";
    color:red;
}

.qtip-bootstrap {
    color: #7b7b7b;
    border: 1px solid #DDD;
    font-size:0.9em;
}

.form-wrapper{
    position:relative;
}

.form-wrapper label{
    min-width: 150px;
    display: inline-block;
    text-align: right;
}

.form-wrapper input:not([type="submit"]){
    width: 235px;
}

.form-wrapper #image_preview {
    position: absolute;
    left: 430px;
    top: 178px;
}

.form-wrapper .buttons {
    width: 393px;
    text-align: right;
    padding-top: 10px;
}

.floated{
    float:left;
}

.w10{
    width:10%;
}
.w20{
    width:20%;
}
.w30{
    width:30%;
}
.w40{
    width:40%;
}
.w50{
    width:50%;
}
.w60{
    width:60%;
}
.w70{
    width:70%;
}
.w80{
    width:80%;
}
.w90{
    width:90%;
}

.pagination{
    margin:10px 0px;
}

.pagination a{
    margin: 0px 4px;
    padding: 0px 7px;
    border-radius: 3px;
    border: 1px solid #dadada;
    color:#676767;
    background-color: #F1F1F1;
    background-image: linear-gradient(bottom, #F1F1F1 0%,#F7F7F7 100%);
    background-image: -o-linear-gradient(bottom, #F1F1F1 0%, #F7F7F7 100%);
    background-image: -moz-linear-gradient(bottom, #F1F1F1 0%, #F7F7F7 100%);
    background-image: -webkit-linear-gradient(bottom, #F1F1F1 0%, #F7F7F7 100%);
    background-image: -ms-linear-gradient(bottom, #F1F1F1 0%, #F7F7F7 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #F1F1F1), color-stop(1, #F7F7F7));
    text-decoration: none;
    padding: 1px 7px;
}

.pagination a:first-child{
    margin-left:0;
}

.pagination a.current, .pagination a:hover{
    background-color: #16D4C5;
    background-image: linear-gradient(bottom, #16D4C5 0%,#2BECDD 100%);
    background-image: -o-linear-gradient(bottom, #16D4C5 0%, #2BECDD 100%);
    background-image: -moz-linear-gradient(bottom, #16D4C5 0%, #2BECDD 100%);
    background-image: -webkit-linear-gradient(bottom, #16D4C5 0%, #2BECDD 100%);
    background-image: -ms-linear-gradient(bottom, #16D4C5 0%, #2BECDD 100%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #16D4C5), color-stop(1, #2BECDD));
    border: 1px solid #16D4C5;
    color: white;
}

nav.breadcrumbs {
    padding-top: 10px;
    padding-left: 40px;
    font-weight: 100;
    font-size: 0.9em;
}

.big-user-icon{
    font-size:180px;
    color: #E2E2E2;
}

.ui-dialog-titlebar-close{
    display: none;
}

