/*********************
    HTML Elements
*********************/
body{
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255,152,0,1) 0%, rgba(255,255,255,1) 60%, rgba(255,255,255,1) 100%);
    background-attachment: fixed;
    font-family: Arial, Tahoma, Verdana;
    /* override base font size and line height from bootstrap */
    font-size:12px;
    line-height:1;

}

a, a:visited {
    color: #337ab7;
    text-decoration: none;
}

h1 {
    font-size:1.5em;
    font-weight:bold;
    margin-top:10px;
}
h2 {
    font-size:1.2em;
    font-weight:bold;
}

label {
    /* override bootstraps bold */
    font-weight:normal;
}

button {
    /* override bootstrap to give bigger buttons */
    padding-top: 6px;
    padding-bottom: 6px;
}

/*********************
    Structure
*********************/

.wrapper{
    padding:10px;
}

#header
{
    background-color:white;
}
#header .logo
{
    padding-top: 10px;
}
#header .bannerAdFrame
{
    float: right;
}
.content{
    border: solid 10px #EFEDED;
    background:#fff;
    padding: 7px;
    padding-bottom: 35px;
}

.vertical-margin-10 {
    margin-top:10px;
    margin-bottom:10px;
}

/* form styles TODO work bootstrap form style in to symfony form theme */
.formComponent {
    display:inline-block;
    vertical-align:middle;
}

.formLabel {
    width:100px;
}

.formExplainText{
    color: silver;
}
.formError{
    color: red;
}
.formFieldRow {
    margin:10px 0;
}
.folderName {
    width:350px;
}
.folderComment {
    width:356px;
    height:60px;
}

/* Folder styles */

#folder {
    position:fixed;
    top:0;
    right:0;
    padding:10px;
    background: #f7f6f0;
    border-left: 5px solid silver;
    border-bottom: 5px solid silver;
    -webkit-box-shadow: -4px 8px 8px rgba(0, 0, 0, .05);
    box-shadow: -4px 8px 8px rgba(0, 0, 0, .05);
    z-index:999;
}
.candidate-message {
    position: fixed;
    top: 40px;
    right: 10px;
    z-index:999;
}

/* Hide candidate IDs in search results - used as a handle for jQuery */
.idContainer{
    display:none;
}

input#keywords{
    width:350px;
}

/*
Hint popup
This shows a hint popup. It is normally hidden and then displayed by javascript when a field gets focus.
*/
.hint {
    background-color: #F0F0F0;    /*IE10 Consumer Preview */
    background-image: -ms-linear-gradient(top, #FFFFFF 0%, #888 400%);    /* Mozilla Firefox */
    background-image: -moz-linear-gradient(top, #FFFFFF 0%, #888 400%);    /* Opera */
    background-image: -o-linear-gradient(top, #FFFFFF 0%, #888 400%);    /* Webkit (Safari/Chrome 10) */
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(4, #888));    /* Webkit (Chrome 11+) */
    background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #888 400%);    /* W3C Markup, IE10 Release Preview */
    background-image: linear-gradient(to bottom, #FFFFFF 0%, #888 400%);
    border: 1px solid #BBB;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 1px 2px 6px #BBB;
    display: none;
    font-weight: normal;
    margin-left: -2px;
    margin-top: 6px;
    padding: 10px 12px;
    position: absolute;
    max-width: 200px;
    z-index: 99999;
}

/* Loading candidates modal styling. Displayed after search buttom is pressed, whilst candidates are loading */
#downloadingCvsModalLimit p, #downloadingCvsModal p, #loadingCandidatesModal p{
    font-size: 1.6em; margin: 40px 20px;
}
#downloadingCvsModal .glyphicon-refresh, #loadingCandidatesModal .glyphicon-refresh {
    -animation: loadingSpin .7s infinite linear;
    -webkit-animation: loadingSpinWebkit .7s infinite linear;
    -moz-animation: loadingSpinMoz .7s infinite linear;
}
@-moz-keyframes loadingSpinMoz {
    from { -moz-transform: rotate(0deg);}
    to { -moz-transform: rotate(360deg);}
}
@-webkit-keyframes loadingSpinWebkit {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}
@keyframes loadingSpin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

/*********************
  Bootstrap overrides
*********************/

/* add to bootstrap panels for ejs style */

.panel-ejs {
    border: 2px solid #405165;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    margin-bottom:0px;
}
.panel-ejs .panel-heading {
    background: #405165; /* Old browsers */
    background: -moz-linear-gradient(top,  #7188a6 0%, #405165 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7188a6), color-stop(100%,#405165)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #7188a6 0%,#405165 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #7188a6 0%,#405165 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #7188a6 0%,#405165 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #7188a6 0%,#405165 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7188a6', endColorstr='#405165',GradientType=0 ); /* IE6-9 */
    padding: 5px;
    font-weight:bold;
}
.panel-ejs .panel-title {
    font-size: 12px;
    color: #fff;
}
.panel-ejs .panel-body {
    padding: 0px;
}

.panel-body select {
    width:100%;
}

.form-group{
    margin-right: 10px;
    margin-bottom: 7px;
}

.form-group input[type=submit]{
    padding: 6px;
}

.form-group label{
    margin-top: 5px;
}

.form-error{
    color:red;
}

input[type="search"] {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-appearance: searchfield;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}

/*********************
    Media Queries
*********************/
/* add padding back to ejs panel on smaller screens */
@media screen and (max-width: 768px) {
    .panel-ejs {
        margin-bottom: 10px;
    }
    .navbar-nav .open .dropdown-menu > li > a {
        padding-left: 30px;
    }
    .applicationLinks {
        display:block;
        margin-top:5px;
    }
}
@media screen and (max-width: 575.98px){
    .logo {
        text-align: center;
    }
    .wrapper {
        padding:0;
    }
}

@media (min-width: 768px) {
    .navbar {
        height:30px;
    }

    .navbar .container-fluid {
        max-height: 30px;
        padding-top: 6px;
    }

    .navbar-collapse {
        padding-left: 0;
    }

    .navbar-nav > li {
        border-right: 1px solid white;
        padding: 0 6px;
    }

    .navbar-nav > li.nav-last {
        border-right: none;

    }

    .navbar-nav > li.nav-last > a {
        padding-right: 0;
    }

    .navbar-nav > li.nav-first > a {
        padding-left: 0;
    }

    .navbar-nav > li > a {
        padding: 8px 0;
    }

    .navbar-nav > li.nav-first > .dropdown-menu {
        margin-left: -12px;
    }

    .candidate-search {
        display:inline-block;
    }
}

@media (min-width: 992px) {
    .navbar .container-fluid {
        padding-top: 0;
    }
}

.navbar {
    margin-bottom:0;
    margin-top:10px;
    min-height:30px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    background: #405165;
    background: -moz-linear-gradient(top, #7188a6 0%, #405165 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7188a6), color-stop(100%,#405165));
    background: -webkit-linear-gradient(top, #7188a6 0%,#405165 100%);
    background: -o-linear-gradient(top, #7188a6 0%,#405165 100%);
    background: -ms-linear-gradient(top, #7188a6 0%,#405165 100%);
    background: linear-gradient(to bottom, #7188a6 0%,#405165 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7188a6', endColorstr='#405165',GradientType=0 );
}

.navbar-default .navbar-nav > li > a {
    color: white;
}
nav .dropdown-menu {
    font-size:12px;
    background: #405165;
}
.navbar-nav > li > ul.dropdown-menu {
    margin-top: -2px;
}
.dropdown-menu > li > a {
    color:#fff;
    padding-left:15px;
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color:#fff;
}
.navbar-nav .open .dropdown-menu > li > a:hover {
    color: #bbb;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    color: #dedede;
    background:inherit;
}

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    color:#bbb;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    color:white;
    background:inherit;
}

/* Browse applications */
.statusCircle, #statusCircle {
    border: 1px solid black;
    height: 15px;
    width: 15px;
    display:inline-block;
    border-radius: 50%;
    vertical-align: middle;
}
#commentUpdated{
    display:none;
}
.nav-tabs>li>a {
    background-color: #EEE;
    border-bottom-color: transparent;
}

@media (min-width: 768px) {
    #daily_summary {
        margin-top:50px;
    }
}

/*********************
    Jobs table
*********************/
.tdJobTitle {
    font-size: 1.3em;
    font-weight: 700;
}

.btnEjs {
    color: #fff !important;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btnEjs:focus {
    color: #fff;
    background-color: #286090;
    border-color: #122b40
}

.btnEjs:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74
}

.ejsDisabled {
    color: #fff !important;
    background-color: #337ab7;
    border-color: #2e6da4;
    opacity: .65;
    cursor: not-allowed;
    pointer-events: none;
}

/*********************
    Login
*********************/
.invalid-feedback {
    font-size: 1em;
}

/*********************
    Applications
*********************/
.statusColumnWidth {
    width: 120px;
}

.candidateApplicationComment {
    min-height: 150px;
}

.candidateTab {
    margin-right: 2px;
}

a.nav-link, a.nav-link:visited {
    color: #337ab7;
    cursor: pointer;
}

.alert > p:last-child,
.alert > .row > .col-10 > p:last-child,
.alert > .row > .col-2 > button:last-child {
    margin-bottom: 0;
}

.page-link {
    color: #337ab7; !important;
}

/*********************
    Pagination
*********************/
.active > .page-link {
    background-color: #337ab7;
    color: #FFFFFF; !important;
}
