.header .header-wrap .nav-wrap {
    float: right;
}
#mainnav > ul > li > a {
    padding: 0 25px 0 0;
}
.bottom {
   padding-top: 50px;
}

.slotholder:before {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    content: '';
    background: rgba(34,34,34,0.7);
    z-index: 1;
}

.content-post .entry-content:before {
    display: none !important;
}

.flat-course-images li img {
    width: 150px;
    height: 150px;
}

.page-title .page-title-heading h2 {
    padding: 70px 0 50px 0;
}

.page-title.project .page-title-heading  {
    margin: 17% auto;
}
.page-title.project .page-title-heading h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 50px;
    text-align: center;
    color: #ffffff;
}
.main-content .flat-title-section {
    text-align: center;
}
.main-content .flat-title-section h2 {
    text-align: center;
    display: inline-block;
}
.main-content .flat-title-section:after {
    left: calc(50% - 20px);

}
.main-content.blog-posts.course-single p, .main-content.blog-posts.course-single li {
    font-size: 16px;
    line-height: 30px;
}
.main-content.blog-posts.course-single ul {
    list-style: disc;
    margin-left: 20px;
}
.page-title.project .page-title-heading p {
    font-size: 16px;
    color: #fff;
    line-height: 30px;
    text-align: center;
    padding: 0 124px;
    letter-spacing: -0.2px;
    margin-bottom: 35px;
}
.main-content.blog-posts.course-single {
    padding: 70px 0 20px 0;
}
.main-content.blog-posts.course-single.bg {
    background: #eeeeee;
}

.flat-teacher .content h4, .main-content .content-post .title-post a {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    display: inline-block;
    font-size: 20px;
    text-transform: uppercase;
    line-height: 150%;
}
.post-lastest-new .title-post a, .course-content h4 a  {
    font-size: 20px;
    text-transform: uppercase;
}
.flat-teacher .content h5 {
    margin-bottom: 5px;
 }

.main-content .content-post .title-post a {
    margin-top: 10px;
    line-height: 21px;
}

.post .entry-image img {
    width: 700px;
}

.news .post .entry-image img {
    width: 700px;
    height: 400px;
}

.have-sidebar .post-content {
    width: 100%;
}

.have-sidebar .post-content article.post {
    width: calc(50% - 50px);
    margin-left: 25px !important;
    margin-right: 25px !important;
}

.flat-about {
    padding-bottom: 0 !important;
}

.article.feature-post {
    margin: 50px auto;
}
.article.feature-post img {
    width: 100% !important;
    max-height: 500px!important;
}

.blog-posts .blog-title-single h1 {
    line-height: 40px;
}
.title-slide p {
    margin-bottom: 40px;
    text-align: left;
}

.files {
    text-align: center;
}
.files ul {
    margin: 0 auto;
}

body {
    font-size: 15px;
    line-height: 30px;
}

.header .header-wrap .logo {
    width: 240px;
    height: 45px;
    margin: 18px 225px 0 0;
}

.team a {
    position:  relative;
    display: block;
}
.team a .course-content-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    opacity: 0;
    -webkit-transition:opacity .3s ease 0s;
    -moz-transition:opacity .3s ease 0s;
    -o-transition:opacity .3s ease 0s;
    transition:opacity .3s ease 0s;
    padding: 20px;
}
.team a .course-content {
    width: 100%;
    height: 100%;
    text-align: center;
    display: table;
    vertical-align: middle;
}
.team a .course-content .inner {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}
.team a:hover .course-content-wrap {
    opacity: 1;
}
.team .flat-teacher .content h4 {
    margin-bottom: 5px;
}

.row-bg {
    background: #FCFCFC;
    border-top: 1px solid #efefef;
}


/* Modals
---------------------------------- */
.modal {
    z-index: 9999999;
}
.modal-backdrop.in {
    z-index: 9999998;
}
.modal-body {
    padding: 0;
}
.modal-body ul {
    margin-right: 25px;
}
.modal-body .col-md-12 {
    padding: 0;
}
.modal-body h3 {
    font-size: 22px;
    font-weight: normal;
    padding: 0 25px;
    line-height: 27px;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}
.modal-body p {
    padding: 25px 25px 0 25px !important;
    margin: 0 !important;
}
p.mod-date {
    font-family: 'Lato Black', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    color: #9ab;
    padding: 0 25px 10px 25px;
}
.modal-content {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
.modal-header.pro {
    background-color: #a0f000;
    border-bottom: 0;
    color: #ffffff;
    padding: 0;
    margin-top: 35px;
    height: 50px;
}
.modal-header.act {
    background-color: #222222;
    border-bottom: 0;
    color: #ffffff;
    padding: 0;
    margin-top: 35px;
    height: 50px;
}
.modal-header.out {
    background-color: #00d146;
    border-bottom: 0;
    color: #ffffff;
    padding: 0;
    margin-top: 35px;
    height: 50px;
}
.modal-header h4 {
    float: left;
    font-family: 'Lato Black', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    padding: 17px 25px 33px 25px;
    line-height: 19px;
    height: 25px;
}
.modal-header .close {
    font-family: 'Lato Black', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background-color: #777;
    color: #FFFFFF;
    text-shadow: none;
    filter: alpha(opacity=100);
    opacity: 1;
    margin: 0;
    padding: 17px 25px 33px 25px;
    line-height: 19px;
    height: 25px;
}
.modal-header .close:hover {
    background-color: #fff;
    color: #000;
}
.modal-backdrop.in {
    opacity: 0.7;
}
.modal-header button {
    background: #A20501 !important;
    color: #ffffff !important;
}

@media (min-width:1200px) {
    .modal-lg {
        max-width: 800px;
    }
}

.modal {
    display: none;
}

.flat-tabs .content-tab .text-tab {
    padding-left: 60px;
    padding-right: 0;
}
.text-tab {
    padding-bottom: 50px;
}

.main-content.projects a .course-content-wrap {
    opacity: 1;
}

.flat-teacher.col-md-4.col-sm-6.flat-hover-zoom {
    margin-bottom: 30px;
}

#mainnav .menu .has-sub:before {
    top: 33px;
    right: 11px;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: transparent;
    border-color: transparent;
}
.blog-pagination .pagination .active {
    padding: 5px 7px !important;
}
.pagination > .disabled > span {
    padding: 10px 17px !important;
}

.onepage .logo a img {
    max-height: 60px;
}

.categories {
    text-align: center;
    margin-bottom: 50px;
}
.categories a {
    display: inline-block;
    margin: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.team .modal-body a {
    display: inline-block;
}


.lang {
    display: inline-block;
    padding: 5px;
    margin-left: 20px;
    font-weight: 700;
    color: #A20501;
 }
.lang:last-child {
    margin-left: 0;
}
.lang.active {
    text-decoration: underline;
}