html {
    height: 100%;
}

body{
    /** font-family: 'Open Sans', sans-serif; /**/
    height: auto !important;
    min-height: 100%;
    position:relative;
}

#content {
    display: block;
    padding-bottom: 121px;
    position: relative;
}

.wrapper{
    width:960px;
    margin:0 auto;
    padding: 0 10px;
}

.clear{
    clear:both;
}

a, a:hover{
    text-decoration: none;
}

.logo_wrapper{
    padding: 98px 0 97px;
    text-align: center;
}

.logo, .logo_wrapper .customers-logo-wrapper img {
    display:inline;
    max-height: 80px;
    width: auto;
    max-width: none;
    margin-bottom: 20px;
    outline:none;
}

.lang{
    width:17px;
}

.col{
    display:block;
    float:left;
    height: 275px;
    margin: 0 0 97px;
    width: 50%;
    position:relative;
}

.col.border_right{
    border-right: solid 1px #ededed;
    width: 49%;
}

.vcol {display: table-row;}
.vcol .col {
    float: none;
    height: auto;
}

.outer {
    display: table;
    position: absolute;
    z-index: 10;
    height: 100%;
    width: 100%;

}

.middle {
    display: table-cell;
    vertical-align: middle;
}

.inner{
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}

.outer {
    *display: inline-block;
    *top: 0;
}

.middle {
    *display: inline-block;
    *top: 50%;
    *position: relative;
}

.inner {
    *display: inline-block;
    *top: -50%;
    *position: relative;
}

h2{
    font-size: 22px;
    color:#000;
    margin-bottom: 15px;
    margin-top: 0;
}

p, ul, ol, blockquote{
    font-size: 13px;
    color:#80807f;
    line-height: 24px;
    padding-right: 15px;
}

.error p {
    font-size: 16px;
}

form{
    padding-top: 18px;
}

select,
input[type="text"],
input[type="password"],
textarea {
    border: solid 1px #e4e4e4;
    border-radius: 2px;
    padding: 0 18px;
    color:#000;
    margin:10px 30px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background-color: #fff;
}
select {
    margin: 10px 0;
    padding-right: 42px;
    position: relative;
    background: url("../img/dropdown_arrow_select.png") no-repeat 100% 50% #fff;
}
select::-ms-expand {
    display: none;
}
select[multiple] {
    background-image: none;
    padding-right: 18px;
}

select,
input[type="text"],
input[type="password"] {
    width:298px;
    height:38px;
    line-height:38px;
}
textarea {
    resize: vertical;
}
select[disabled],
input[disabled],
textarea[disabled] {
    opacity:0.4;
    background-color: #eee;
}
.remember{
    width:336px;
    color:#bfbfbf;
    margin:10px 30px;
    display: inline-block;
}

.remember label{
    color:#808080;
    font-size: 13px;
    margin-bottom: 0;
}

.checkbox {
    width:20px;
    height:20px;
    display:block;
    cursor: pointer;
    float: left;
    padding-left: 0;
    margin-right: 9px;
}

.checkbox input[type="checkbox"]{
    display: none;
}

.checkbox.checked{
    background: url('../img/sprite.png?6') no-repeat -275px -200px;
}

.checkbox.unchecked{
    background: url('../img/sprite.png?6') no-repeat -200px -200px;
}

.continue{
    height: 40px;
    line-height: 40px;
    margin: 10px 0;
    display: block;
}

.btn-danger{
    line-height:25px;
    padding: 5px 25px;
    float:left;
}

.forgot{
    color: #808080;
    font-size: 13px;
    text-decoration: none;
    float: right;
    padding-right: 4px;
}

.forgot:hover{
    color: #808080;
    font-size: 13px;
    text-decoration: underline;
}

.field-details {
    font-size:0.9em;
    line-height: 1.2em;
    padding: 0 18px 10px 18px;
    margin-top: -5px;
}

.breadcrumbs a {
    color:#808080;
}
.breadcrumbs a:hover {
    color:#000;
}

#cookieConsent {
    position: fixed;
    bottom:0; left:0; right:0;
    z-index: 10;
    background-color: #eee;
}
#cookieConsent .inner {
    display: table-row;
}
#cookieConsent span {
    display: table-cell;
    padding: 20px 10px;
    vertical-align: middle;
    color: #80807F;
}
#cookieConsent .cookieConsent-text {
    width:100%;
}
#cookieConsent span button {
    float: none;
}

#footer{
    position: absolute;
    bottom: 0;
    height: 31px;
    width: 100%;
    color:#808080;
    font-size: 13px;
    padding: 45px 0;
}

#footer .wrapper{
    padding: 0 20px;
    width: 940px;
}

#footer a{
    color:#808080;
    text-decoration: none;
    float:left;
    padding-top:7px;
    padding-right:34px;
}

#footer a:hover{
    color:#808080;
    text-decoration: underline;
}

#footer a.kkag_logo{
    padding-top:0;
}

#footer a.kkag_logo img{
    height: 31px;
}


#footer .powered{
    float:right;
    padding-top:7px;
}

#footer .powered a{
    padding-top:0;
    padding-right:0;
    float:none;
}

.wrapper_olny{
    width:970px;
    margin:0 auto;
    padding: 0 15px;
}

.nav.user_menu{
    margin:0;
    padding:45px 0;
    font-size:13px;
    text-transform: uppercase;
    overflow: hidden;
}

.nav.user_menu li{ float: left; position:relative; }
.nav.user_menu li a:hover,
.nav.user_menu li a:focus{
    background: none; text-decoration: underline;
}
.nav.user_menu li a{
    outline:none;
    color: #4c4c4c;
    display: block;
    height: 30px;
    line-height: 30px;
    padding: 0 11px;
}
.nav.user_menu li.active a{
    color:#0ba7f0;
}
.nav.user_menu li.lang{ float: right; padding:0 5px; }
.nav.user_menu li.lang a{ padding:0; }
.nav.user_menu li.lang a img{ display:inline; border:0; }
.nav.user_menu li.lang.active{}
.nav.user_menu li.lang.active a{}
.nav.user_menu li.lang.active a img{}
.nav.user_menu li.pending .reddot {
    background: none repeat scroll 0 0 red;
    border-radius: 3px;
    display: block;
    height: 6px;
    position: absolute;
    right: 3px;
    top: 5px;
    width: 6px;
}

div.pending_activities {
    padding-top: 25px;
}
a.pending_activities{
    position: relative;
    float:left;
}

a.pending_activities .reddot {
    background: none repeat scroll 0 0 red;
    border-radius: 3px;
    display: block;
    height: 6px;
    position: absolute;
    right: -10px;
    top: 3px;
    width: 6px;
}

.hr{ display:block; width:100%; border-bottom: 1px solid #dcdcdc; clear:both; }

.select2-container{
    margin:10px 0;
}
.select2-container.mr5{
    margin-right:5%;
}
.select2-container .select2-choice,
.select2-dropdown-open .select2-choice,
.select2-container.select2-drop-above .select2-choice{
    background: none;
    border-radius: 2px;
}
.select2-container .select2-choice div{
    background: none;
    border-left: none;
    width: 44px;
}
.select2-container .select2-choice div b {
    background: url("../img/sprite.png?6") no-repeat -250px -600px;
    display: block;
    width: 14px;
    height: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -5px 0 0 -7px;
}

.select2-container.select2-drop-above .select2-choice div b {
    background-position: -300px -600px;
}

.select2-container .select2-choice{
    border: solid 1px #e4e4e4;
    border-radius: 2px;
    padding: 0 18px;
    height:38px;
    //width:298px;
    color:#000;
    line-height:38px;
    //margin:10px 30px;
    font-size: 13px;
}

/* Retina-ize icons */

@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
    .select2-container .select2-choice div b {
        background-image: url("../img/sprite.png?6") !important;
        background-size: auto !important;
    }
    .select2-container.select2-drop-above .select2-choice div b {
        background-image: url("../img/sprite.png?6") !important;
    }
}

.wrapper_olny select,
.wrapper_olny input[type="text"],
.wrapper_olny input[type="password"]{
    color:#000;
    font-size: 13px;
}

.wrapper_olny .btn.btn-primary{
    background: none;
    text-shadow: none;
    border: solid 1px #ac0022;
    border-radius: 2px;
    padding: 0 38px;
    height:38px;
    color:#ac0022;
    line-height:38px;
    font-size: 14px;
    margin:10px 0;
}

.wrapper_olny .btn.btn-primary:hover{
    border: solid 1px #000;
    color:#000;
}

.wrapper_olny .form{
    font-size: 13px;
}

.select2-search {
    padding: 8px 8px;
}

.select2-search input[type="text"]{
    height: 16px;
    line-height: 16px;
    margin: 0;
    padding: 0 8px;
    width: 100%;
}

.select2-drop{
    border: solid 1px #e4e4e4;
}

.row-fluid.pending_activities{
    padding:39px 0 6px;
}

a.pending_activities, span.pending_activities{
    color: #4c4c4c;
    display: block;
    font-size:13px;
    outline: medium none;
    text-transform: uppercase;
}
a.pending_activities:hover{
    text-decoration: underline;
}

span.pending_activities{
    float:left;
}

.pending_activities_right{
    float:right;
    width:300px;
    font-size: 13px;
}

.pending_activities_right label{
    font-size: 13px;
}

#my-feedbacks table th{
    /*font-weight: normal;*/
    font-size: 13px;
}

.table th, .table td {
    border-bottom: 1px solid #dddddd;
}

.table td {
    color:#000;
    padding: 8px;
    vertical-align: middle;
}

#results-grid .table td {height:22px;}
#results-grid .table td a {text-decoration: none;}
#results-grid .table td a span {text-decoration: underline;}
#results-grid .table td a:hover span {text-decoration: none;}


.table-striped tbody > tr:nth-child(2n+1) > td, .table-striped tbody > tr:nth-child(2n+1) > th {
    background-color: #ffffff;
}

.table td .green{
    color:#74bb18;
}

.table td a{
    text-decoration: underline;
    color:#000;
}

.table td a.green{
    color:#74bb18;
}

.table td a:hover{
    text-decoration: none;
}

.table td span.normal.pending,
.table td a.normal.pending,
.table td .red {
    color:red;
}

.pending_activities_right ul{
    margin:0;
}

.pending_activities_right ul li{

}

.pending_activities_right ul li a{

}

h3.projects{
    margin:0;
}

#projects-grid{
    padding-top:0;
}

.customers-logo-wrapper{
    text-align: left;
}

.help-block.error{
    padding-left:30px;
}

#profile-form label,
#project-add-rater label,
#changepassword-form label{
    margin-bottom:-5px; padding-top:10px;
}

#loginForm, #recovery, #registration-form {
    margin: 0 15px;
}

.scrollfix {
    position: fixed;
}
.scrollfix-disabled {
    position: relative;
}

.breadcrumb {background-color: #fff; padding:8px 0; margin:0;}

@media screen and (max-width: 1100px) {
    .wrapper,
    #footer .wrapper,
    body .matrix_wrapper,
    body .fixed_menu .wrapper_olny,
    .wrapper_olny {
        width: auto; max-width: 100%;
    }
    .fixed_menu .row-fluid .span1 {
        min-width: 58px;
        float: left;
        margin-left: 10px;
    }
    .fixed_menu .row-fluid .span1.pull-right {
        float: right;
    }

    body .matrix_wrapper {
        padding: 0 10px;
    }

    .select2-container {
        display:none;
    }
    .select2-container + select {
        display: block !important;
        width: 100%;
    }

}

@media screen and (max-width: 800px){
    .scrollfix {
        position:relative;
    }
    select,
    input[type="text"],
    input[type="password"],
    textarea {
        font-size:16px !important; /* this wil prevent mobile safari for zooming in on input select*/
    }
}

@media screen and (max-width: 800px) and (orientation:landscape) {
    .fixed_menu form { padding-top:0; margin-bottom: 0; }

    .fixed_menu .row-fluid .span1 {
        min-width: 0;
        max-width: 16%;
        max-height:46px;
        width: auto;
    }
    .fixed_menu .row-fluid .span1 .btn_circle {
        -webkit-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
        transform-origin: 0 0;

        -webkit-transform: scale(.8,.8); /* Safari */
        -ms-transform: scale(.5,.5); /* IE 9 */
        transform: scale(.8,.8);
    }
}

@media screen and (max-width: 500px) {
    body .col,
    body .col.border_right,
    .row-fluid [class*="span"] {
        float:none;
        margin-left: 0;
        display:block;
        width:auto;
    }
    .time_btn{
        margin:15px;
    }
    body .col,
    body .col.border_right {
        height: auto;
        border-right: none;
        margin-bottom:10px;
    }
    .outer {
        position: relative;
    }

    .row-fluid input[class*="span"] {
        display: block;
        width: 100%;
    }

    #my-feedbacks tr td:first-child,
    #my-feedbacks tr th:first-child {
        display: none;
    }

    .fixed_menu form { padding-top:0; margin-bottom: 0; }

    .fixed_menu .row-fluid .span1 {
        min-width: 0;
        max-width: 16%;
        max-height:46px;
    }
    .fixed_menu .row-fluid .span1 .btn_circle {
        -webkit-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
        transform-origin: 0 0;

        -webkit-transform: scale(.8,.8); /* Safari */
        -ms-transform: scale(.5,.5); /* IE 9 */
        transform: scale(.8,.8);
    }

    .logo_wrapper { padding: 30px 0 20px 0;}

    /* leave some space between links so they could be clicked */
    .nav.user_menu {padding: 20px 0 5px;}
    .nav.user_menu li a {height: auto; padding:0; margin: 11px; line-height: 16px;}
    .nav.user_menu li.lang {width: 26px;}
    .nav.user_menu li.lang.first {clear: both;}

    #content {padding-bottom: 20px;}
    #footer {position: relative; height: auto; padding: 0;}
    #footer .wrapper {padding:10px;}
    #footer a,
    #footer .powered {
        float:none;
        display: block;
        padding: 0 5px;
        margin: 10px 0;
    }
    #footer .powered a {
        display: inline;
    }
}

@media screen and (min-width: 960px) {
    .table td {
        height: 88px;
    }
}
