@import '~font-awesome/css/font-awesome.min.css';

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.main-section {
    margin-bottom: 20px;
    margin-top: 20px
}

.grid-right {
    border-right: 1px solid #337ab7;
}

.grid-top {
    border-top: 1px solid #337ab7;
}

#results i {
    margin-right: 10px;
}

#reports .fa {
    margin-right: 10px;
    font-size: 1.4em;
}

/* News */
.news:nth-of-type(odd) {
    background-color: #f8f8f8;
}

/*CMS*/
.cms-edit .fa:hover {
    background: #004990;
}

.cms-edit .fa {
    background: #888;
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

/* Upload indicator */
.wupb-border {
    width: auto;

}

/* Helper classes */
.margin-right {
    margin-right: 10px;
}

.spacer {
    margin-top: 20px;
}

/* enable absolute positioning */
.inner-addon {
    position: relative;
}

/* style glyph */
.inner-addon .glyphicon {
    position: absolute;
    padding: 10px;
    pointer-events: none;
}

/* align glyph */
.left-addon .glyphicon {
    left: 0px;
}

.right-addon .glyphicon {
    right: 0px;
}

/* add padding  */
.left-addon input {
    padding-left: 30px;
}

.right-addon input {
    padding-right: 30px;
}

ul.feedbackPanel {
    padding: 0;
    list-style: none;
}

/* Sorting in tables */

.table {
    margin-bottom: 0;
}

.table th {
    white-space: nowrap;
    background-position: right;
    background-repeat: no-repeat;
}

.table td {
    white-space: nowrap;
}

.table th.wicket_orderDown {
    background-color: #f0f5f7;
    background-image: url(/images/arrow_down.png);
}

.table th.wicket_orderUp {
    background-color: #f0f5f7;
    background-image: url(/images/arrow_up.png);
}

.table th.wicket_orderNone {
    background-image: url(/images/arrow_off.png);
}

/* Autocomplete */
div.wicket-aa {
    background-color: white;
    border-width: 1px;
    border-color: #cccccc;
    border-style: solid;
    padding: 2px;
    margin: 1px 0 0 0;
    text-align: left;
}

div.wicket-aa ul {
    list-style: none;
    padding: 2px;
    margin: 0;
}

div.wicket-aa ul li {
    padding: 2px;
    margin: 0;
}

div.wicket-aa ul li.selected {
    background-color: #ccdae8;
    padding: 2px;
    margin: 0;
}

/* Account */
#roles input {
    margin-right: 10px;
}

#tags input {
    margin-right: 10px;
}

/* Security Images */
.security-images {
    padding-top: 10px;
}

.security-images span {
    font-weight: bold;
}

.security-images ul {
    padding: 0;
    list-style: none;
}

.security-images ul li {
    display: inline;
}

.security-images ul li img {
    border: 2px solid white;
    cursor: pointer;
}

.security-images ul li img:hover,
.security-images ul li img.selected {
    border: 2px solid darkgray;
    cursor: pointer;
}

/* File upload */
.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

/* Messages */
#messages a.unread {
    font-weight: bold;
}

@media screen and ( max-width: 620px ) {
    #logo {
        display: none;
    }

    #lastLogin {
        display: none;
    }
}

@media screen and ( max-width: 990px ) {
    .grid-right {
        border-right: none;
    }
}

/* Footer */
footer {
    background-color: #292c2f;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    color: #ffffff;
    padding: 30px 50px;
    /*margin-top: 80px;*/
}

.footer-contact i {
    background-color: #33383b;
    color: #ffffff;
    font-size: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    margin-right: 5px;
    margin-top: 7px;
    margin-bottom: 7px;
    vertical-align: middle;
}

.footer-contact i.fa-envelope {
    font-size: 14px;
    line-height: 28px;
}

.footer-contact p {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

.footer-contact p span {
    display: block;
    font-weight: normal;
    line-height: 2;
}

footer ul li {
    margin-bottom: .25em;
}

footer p {
    color: #787980;
}

footer a {
    color: #787980;
    text-decoration: none;;
}

footer a:hover {
    color: #787980;
    text-decoration: none;;
}

/* Image selector */

.thumbnail p {
    text-align: center;
}

.thumbnail figure {
    overflow: hidden;
    position: relative;
    display: inline-block;
    vertical-align: top;
    border: 5px solid #fff;
    box-shadow: 0 0 5px #ddd;
    margin: 5px;
}

.thumbnail figcaption {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    width: 100%;
    height: 100%;
}

.thumbnail figcaption div {
    display: table-cell;
    vertical-align: middle;
    position: relative;
    opacity: 0;
    color: #2c3e50;
    padding: 5px;
}

.thumbnail figcaption div:after {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    bottom: 40%;
    text-align: center;
    margin: auto;
    width: 0%;
    height: 2px;
    background: #2c3e50;
}

.thumbnail figure img {
    -webkit-transition: all 0.5s linear;
    transition: all 0.5s linear;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.thumbnail figure:hover figcaption {
    background: rgba(255, 255, 255, 0.3);
}

.thumbnail figcaption:hover div {
    opacity: 1;
    top: 0;
}

.thumbnail figure:hover img {
    -webkit-transform: scale3d(1.2, 1.2, 1);
    transform: scale3d(1.2, 1.2, 1);
}

.thumbnail figcaption a {
    padding: 10px;
    background: rgba(0, 0, 0, 0.1);
}

/* Home page balances */
.top-item-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px;
    background-color: #6393A7;
    color: #fff;
}

.top-item i {
    display: block;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=10);
    opacity: 0.1;
    -moz-transform: rotate(-20deg);
    -ms-transform: rotate(-20deg);
    -webkit-transform: rotate(-20deg);
    transform: rotate(-20deg);
    position: absolute;
    top: .8em;
    right: -0.1em;
    font-size: 6em;
}

.top-item h4 {
    border-bottom: 1px solid #a4c0cc;
    padding-bottom: 5px;
}

.top-item p {
    font-size: 2.5em;
    margin-bottom: 0;
}

.top-item:hover i {
    -moz-transform: scale(1.2, 1.2);
    -ms-transform: scale(1.2, 1.2);
    -webkit-transform: scale(1.2, 1.2);
    transform: scale(1.2, 1.2);
}

/* News */
.news-section {
    background: #f2f2f2;
    padding-top: 1em;
    padding-bottom: 10px;
}

.news-section .news-link {
    color: #4c4c4c;
}

.news-container {
    background-color: #fff;
    z-index: 1;
}

.news-container:hover {
    background-color: rgba(100, 100, 100, .1);
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.news-container:hover .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, .2);
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.news-container a {
    text-decoration: none;
}

.news-content {
    padding: 45px;
}

.news-image {
    overflow: hidden;
    padding: 0;
}

.news-image img {
    /*display:block;*/
    /*margin:auto;*/
    width: 100%;
    height: auto;
}

.news-content .date {
    font-family: karlaitalic, sans-serif;
    color: #999;
    font-size: 1em;
    display: block;
    padding-top: .4375em;
}

.news-content p {
    padding-top: 1.875em;
    font-size: 1em;
    font-family: karlaregular, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.news-content h3 {
    text-transform: uppercase;
    font-family: karlarbold, sans-serif;
    color: #333;
}

.arrow-right:before {
    border-bottom: 15px solid transparent;
    border-top: 15px solid transparent;
    border-left: 15px solid white;
    content: "";
    height: 0;
    position: absolute;
    left: -7px;
    top: 25px;
    width: 0;
}

.arrow-left:after {
    border-bottom: 15px solid transparent;
    border-top: 15px solid transparent;
    border-right: 15px solid #fff;
    content: "";
    height: 0;
    position: absolute;
    right: -7px;
    top: 25px;
    width: 0;
}

@media screen and ( max-width: 990px ) {
    .arrow-left:after {
        border: none;
    }

    .arrow-right:before {
        border: none;
    }
}

.news-page img {
    width: 100%;
    height: auto;
    border-bottom: #004990 solid 2px;
}

.news-header h1 {
    text-align: center;
    margin: 20px auto 30px;
    font-size: 3em;
    font-weight: normal;
}

.news-page .date {
    text-align: center;
    font-family: karlaitalic, sans-serif;
    color: #999;
    font-size: 1.1em;
    display: block;
    padding-top: .4em;
}

.news-page legend {
    padding-top: 1.5em;
    margin-bottom: 1.5em;
}

.news-page p {
    margin-bottom: 2em;
}

.news-header .cms-edit {
    position: absolute;
    top: 30px;
    right: 0;
}

.navbar {
    margin-bottom: 0px;
}


/* Do not print links */
@media print {
    a:link:after, a:visited:after {
        display: none;
        content: "";
    }
}

.two-line-height {
    line-height: 40px;
}

@media screen and ( max-width: 990px ) {
    .two-line-height {
        line-height: inherit;
    }
}

.image-picker-description {
    width: 320px;
    display: block;
    font-size: 12px;
    color: #737373;
}