html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    /*white-space: nowrap;*/
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}
tr.success{
    background-color: #33cc66;
}
tr.error{
    background-color: red;
}
.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -ms-animation: spin .7s infinite linear;
    -webkit-animation: spinw .7s infinite linear;
    -moz-animation: spinm .7s infinite linear;
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

@-webkit-keyframes spinw {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@-moz-keyframes spinm {
    from { -moz-transform: rotate(0deg);}
    to { -moz-transform: rotate(360deg);}
}
.profile-photo{
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    height: 200px;
    width: 200px;
}
.profile-photo img{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
}
.sidebar-collapse .info-custom{
    display: none;
}
.user-panel>.image>img {
    max-width: 200px!important;
}
.navbar-nav>.user-menu>.dropdown-menu>li.user-header {
    min-height: 220px;
    height: auto!important;
}
.main-sidebar {
    width: 275px!important;
}
.content-wrapper, .main-footer {
    margin-left: 275px!important;
}
/* ====== News block: begin ======= */
.newspost {
    padding: 0 15px 15px ;
    margin-bottom: 20px;
    border-bottom: 1px solid #e1e6ed;
    background-color: #fff;
    height: 550px;
}
.newspost p{
    margin-bottom: 30px;
}
.newspost img{
    max-width: 360px;
}
.one-news{
    background-color: #fff;
    margin-left: 10px;
    margin-right: 10px;
    position: relative;
}
.owl-item.active .one-news{
    margin-right: -15px;
}
.owl-stage-outer{
    margin-left: -10px;
}
.all-news{
    margin: 15px -15px 15px;
}
.one-news .text-block{
    margin-bottom: 30px;
}
@media screen and (max-width: 768px){
    .one-news .text-block{
        padding: 0 10px;
    }
    .all-news {
        margin: 15px -15px 15px;
    }
    .newspost{
        height: auto;
    }
}
@media screen and (max-width: 1024px){
    .newspost{
        height: auto;
    }
}
.one-news .img-block{
    padding: 0;
    /*width: 100%;*/
    height: 300px;
    overflow: hidden;
    position: relative;
    margin: auto;
}
.newspost .img-block {
    padding: 0;
    overflow: hidden;
    position: relative;
    height: 210px;
    width: 100%;
    margin: auto;
}
.one-news .img-block img,
.newspost .img-block img{
    max-width: none;
    min-width: auto;
    min-height: auto;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.one-news .img-block img{
    width: 100%;
    height: auto;
}
.newspost .fixed-bottom,
.one-news .fixed-bottom{
    position: absolute;
    bottom: 35px;
    text-decoration: underline;
    font-size: 16px;
}
.one-news .fixed-bottom{
    bottom: 5px;
    position: absolute;
    padding-left: 15px;
}
.news-category a {
    color: #fff!important;
}
.news-category{
    position: relative;
    /*width: 50%;*/
    display: inline-block;
    color: #fff;
    text-decoration: underline;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 300;
    padding: 5px 30px 5px 30px;
    margin: 10px 10px 10px -25px;
    background-color: #999;
    text-shadow: 0px 1px 2px #bbb;
    -webkit-box-shadow: 0px 2px 4px #888;
    -moz-box-shadow: 0px 2px 4px #888;
    box-shadow: 0px 2px 4px #888;
}
.news-category:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
    top: 100%;
    border-width: 5px 5px;
    border-style: solid;
    border-color: #666 #666 transparent transparent;
}
.carousel-control {
    background-image: none !important;
    width: 3%;
}
.carousel-control .glyphicon{
    top: 45%;
}
.one-news .news-category{
    position: absolute;
    left: 15px!important;
    z-index: 999;
}
/* ^^^^^ News block: end ^^^^ */

.user-data-block{
    margin: 25px;
}
.user-data-block .user-image-block{
    padding: 0;
    /* width: 100%; */
    height: 224px;
    overflow: hidden;
    /*border-radius: 50%;*/
    position: relative;
    margin: auto;
}
.user-data-block img{
    max-width: none;
    min-width: auto;
    min-height: auto;
    width: 100%;
    position: absolute;
    /*top: 50%;*/
    top: 160px;
    left: 50%;
    transform: translate(-50%, -50%);
}
.sidebar-collapse .user-data-block{
    display: none;
}
.navbar-nav>.user-menu .user-image {
    float: left;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: -2px;
    overflow: hidden;
}
.navbar-nav>.user-menu .user-image img{
    max-width: 25px;
    height: auto;
}
@media (max-width: 767px){
    .content-wrapper, .main-footer {
        margin-left: 0!important;
    }
    .main-sidebar {
        -webkit-transform: translate(-275px, 0);
        -ms-transform: translate(-275px, 0);
        -o-transform: translate(-275px, 0);
        transform: translate(-275px, 0);
    }
}