/* Flat Grid
-------------------------------------------------------------- */
.read-more, .read-more:after {
    color: #ffaa30;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.read-more:after {
    content: "\f178";
    font-family: FontAwesome;
    padding-left: 10px;
}

.read-more:hover {
    color: #333;
}

.read-more:hover:after {
    color: #333;
    padding-left: 15px;
}


/* Button
-------------------------------------------------------------- */

/* Flat button
-------------------------------------------------------------- */
.flat-button {
    color: #ffffff;
    display: inline-block;
    font-weight: 400;
    line-height: 46px;
    padding: 0 12px;
    text-transform: uppercase;
    position: relative;
    border: 2px solid #fff;
    font-size: 15px;
    font-family: "HelveticaNeue", sans-serif;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.flat-button:hover {
    background: #ffaa30;
    border-color: #ffaa30;
    color: #fff;
}

.flat-button.orange {
    color: #ffaa30;
    border-color: #ffaa30;
}

.flat-button.orange:hover {
    color: #fff;
}

.flat-button.bg-orange {
    background: #ff7330;
    border-color: #ff7330;
    box-shadow: 0 0 10px #000;
}

.flat-button.bg-red {
    background: #f74c4c;
    border-color: #f74c4c;
}

.flat-button.bg-red:hover {
    background-color: #123642;
    border-color: #222;
    color: #fff;
}

.flat-button.bg-orange:hover {
    background-color: #222;
    border-color: #222;
    color: #fff;
}

.flat-button.blue {
    background-color: #428bdc;
    border-color: #428bdc;
    color: #fff;
}

.flat-button.blue:hover {
    background: #ffaa30;
    border-color: #ffaa30;
}

.flat-button.bg-green {
    background: #46b847;
    border: 1px solid #ECECEC;
    border-radius: 2px;
    color: #fff !important;
    line-height: 40px;
    padding: 0 20px;
    border-radius: 30px;
}

.flat-button.bg-green:hover {
    background: #3c9f3d;
    border-color: #009944;
}

/* Button background white */

/* Button background black */
/* Button background theme */


/* Flat contact form
-------------------------------------------------------------- */
.flat-contact-form .wrap-type-input {
    overflow: hidden;
}

.flat-contact-form label.error {
    font-size: 11px;
    font-style: italic;
    color: #ffaa30;
    margin-top: -15px;
}

.comment-respond.style2 input[type="text"] {
    margin-bottom: 30px;
}

.contact .comment-form .name-container, .flat-contact-form .input-wrap.name {
    width: 32%;
    float: left;
    margin-right: 2%;
}

.flat-contact-form .input-wrap::before, .flat-contact-form .textarea-wrap:before {
    content: "\f007";
    font-family: "FontAwesome";
    font-size: 14px;
    line-height: 23px;
    position: absolute;
    top: 13px;
    left: 15px;
    color: #bcbcbc;
}

.flat-contact-form textarea {
    padding: 16px 21px;
    height: 200px;
    max-width: 669px;
}

.flat-contact-form.style2 input[type="text"], .flat-contact-form.style2 input[type="email"] {
    padding-left: 45px;
    padding-top: 15px;
}

.flat-contact-form.style2 #name {
    padding-left: 36px;
}

.flat-contact-form.style2 textarea {
    max-width: 100%;
    height: 220px;
    padding-left: 44px;
}

.flat-contact-form.style2 .input-wrap::before, .flat-contact-form.style2 .textarea-wrap:before {
    top: 14px;
    left: 19px;
}

.flat-contact-form .submit-wrap button {
    padding-right: 24px;
    padding-left: 26px;
}

.flat-contact-form .textarea-wrap:before {
    content: "\f075";
}

.flat-contact-form .input-wrap.Subject:before {
    content: "\f084";
}

.flat-contact-form .input-wrap.email:before {
    content: "\f0e0";
}

.contact .comment-form .email-container, .flat-contact-form .input-wrap.email {
    float: left;
    width: 32%;
}

.contact .comment-form .subject-container, .flat-contact-form .input-wrap.Subject {
    float: right;
    width: 32%;
}

.flat-contact-form .input-wrap, .flat-contact-form .textarea-wrap {
    position: relative;
}


/* Flat-list
-------------------------------------------------------------- */
ul.flat-list {
    margin: 0;
}

ul.flat-list li {
    padding: 6px 0 6px 24px;
    position: relative;
}

ul.flat-list li:before {
    position: absolute;
    left: 0;
    font-family: "FontAwesome";
    content: "\f00c";
    font-size: 20px;
    color: #ffaa30;
}

ul.flat-list li:before {
    color: #fff;
    background-color: #fdb726;
    border-radius: 50%;
}


/* Flat accordion
-------------------------------------------------------------- */
.flat-accordion .flat-toggle {
    padding-left: 58px;
    border: 2px solid #e5e5e5;
    position: relative;
    margin-bottom: 10px;
}

.flat-accordion .toggle-content {
    font-size: 14px;
    line-height: 25px;
}

.flat-accordion .toggle-content .faq-img {
    float: left;
    margin-right: 30px;
    margin-top: 7px;
}

.flat-accordion .flat-toggle ul {
    padding-left: 20px;
}

.flat-accordion .flat-toggle ul li {
    list-style: disc;
}

.flat-accordion .flat-toggle ul li ul li {
    list-style: square;
}

.flat-accordion .toggle-content > div {
    overflow: hidden;
}

.flat-accordion .toggle-content > div p {
    margin-bottom: 10px;
}

.flat-toggle:before {
    position: absolute;
    left: 22px;
    top: 14px;
    content: "";
    width: 14px;
    border: 2px solid #ffaa30;
    background: #ffaa30;
    height: 14px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}

.flat-accordion .flat-toggle h6.toggle-title {
    position: relative;
    cursor: pointer;
    color: #424242;
    line-height: 46px;
    margin-bottom: 0;
}

.flat-accordion .flat-toggle h6.toggle-title:after {
    position: absolute;
    left: -34px;
    top: 20px;
    content: "";
    width: 10px;
    height: 2px;
    background-color: #fff;
}

.flat-accordion .flat-toggle h6.toggle-title:before {
    position: absolute;
    left: -30px;
    top: 16px;
    content: "";
    width: 2px;
    height: 10px;
    background-color: #fff;
}

.flat-accordion .flat-toggle h6.toggle-title.active:before {
    display: none;
}

.flat-accordion .flat-toggle .toggle-content {
    display: none;
    margin-left: -5px;
    padding: 10px 22px 20px 0px;
}


/* Flat course
-------------------------------------------------------------- */
.flat-course {
    border-radius: 3px;
}

.flat-course img {
    width: 100%;
}

.flat-course .course-meta.review li {
    margin-right: 14px;
}

.flat-course .course-meta li {
    display: inline-block;
    margin-right: 45px;
    color: #999;
    position: relative;
    font-size: 12px;
}

.flat-course .course-meta.desc li:after {
    width: 1px;
    height: 40px;
    background-color: #e5e5e5;
    position: absolute;
    content: "";
    right: -30px;
    top: 0;
}

.flat-course .course-meta.desc li:last-child {
    margin-right: 0;
}

.flat-course .course-meta.desc li:last-child:after {
    content: none;
}

.flat-course .course-meta.review {
    text-align: center;
}

.flat-course .course.meta.review li {
    padding-right: 11px;
    padding-left: 0px;
}

.flat-course .course-meta.review li .thumb img {
    width: 40px;
    border-radius: 40px;
}

.flat-course .course-meta.desc li h6 {
    margin-bottom: 6px;
}

.flat-course .course-content {
    position: relative;
    padding: 10px 10px 24px;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    border-bottom: 3px solid #e5e5e5;
    box-shadow: 0px 2px 0px 0px rgba(229, 229, 229, 1);
    line-height: 22px;
}

.flat-course .course-content p:last-of-type {
    margin-bottom: 28px;
}

.flat-course .course-content h4 {
    margin-bottom: 0px;
    text-align: center;
}

.flat-course .course-content .update_time {
    font-size: 12px;
    text-align: center;
}

.flat-course .course-content .price {
    line-height: 32px;
    color: #fff;
    padding: 0 15px;
    position: absolute;
    right: -7px;
    top: 22px;
    background: #428bdc;
    font-size: 17px;
}

.flat-course .course-content .price:after,
.flat-course .course-content .price:before {
    content: '';
    width: 0;
    height: 0;
    top: 0;
    right: 0;
    border-top: 7px solid transparent !important;
    border-left: 7px solid #428bdc;
    position: absolute;
    transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    -o-transform: translateY(-100%);
}

.flat-course .course-content .price:after {
    border-color: #000;
    opacity: 0.2;
}

.review-stars i {
    color: #ffaa30;
    font-size: 14px;
}


/* Top
-----------------------------------------------------------------*/
.top {
    border-bottom: 1px solid #e5e5e5;
}

.text-information p {
    font-family: Poppins, sans-serif;
    font-size: 12px;
    line-height: 23px;
    padding-top: 14px;
}

.flat-information > li.email {
    margin-left: 5px;
}

.flat-information > li {
    display: inline-block;
    position: relative;
}

.flat-information > li:before {
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 14px;
    font-family: FontAwesome;
    /*content: "\f095";*/
    color: #424242;
}

.flat-information > li.email:before {
    content: "\f0e0";
}

.flat-information > li.phone:before {
    content: "\f095";
}

.flat-information > li > a {
    display: inline-block;
    padding: 0 0 0 20px;
    color: #516e84;
    font-size: 15px;
    line-height: 50px;
    font-weight: bold;
}

.flat-information > li > a > i {
    font-size: 14px;
}


.text-information,
.flat-information {
    display: inline-block;
}

.flat-information > li.user:before {
    content: '\f007';
    font-size: 18px;
    color: orange;
}

.flat-information > li.sginup:before {
    content: '\f2be';
    font-size: 18px;
    color: orange;
}

.flat-information > li.login:before {
    content: '\f090';
    font-size: 20px;
    color: orange;
}

.flat-information > li.logout:before {
    content: '\f08b';
    font-size: 20px;
    color: orange;
}

/* Flat course images
--------------------------------------------------------------------------- */


.last-results__item {
    line-height: 26px;
    min-height: 160px;
    background-color: #fafcff;
    border-radius: 10px;
    border: 1px solid #eff1f2;
    text-align: center;
    font-size: 19px;
    color: #4a5e69;
    padding: 45px 20px 10px;
    margin-bottom: 10px;
}

.last-results .value {
    padding-bottom: 5px;
    font-weight: bold;
    font-size: 36px;
    color: #0b4db4;
}

.icon-bg {
    background-color: #00bda5;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    margin-right: 5px;
    -webkit-text-stroke: 2px #00bda5;
}

/* Smaller than standard 1200 */
@media only screen and (max-width: 1199px) {
    .flat-tabs ul.menu-tab li a {
        margin-right: 150px;
    }

}

/* All Mobile Sizes */
@media only screen and (max-width: 767px) {
    .newpadding {
        padding-top: 0 !important;
    }
}

.newpadding {
    padding-top: 160px;
    display: flex;
    flex-direction: column;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

a.waterbutton {
    text-decoration: none;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 18px;
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
    background-size: 400%;
    width: 200px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #fff;
    border-radius: 50px;
    z-index: 1;
}

a.waterbutton:before {
    content: "";
    position: absolute;
    left: -5px;
    right: -5px;
    top: -5px;
    bottom: -5px;
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
    background-size: 400%;
    border-radius: 50px;
    filter: blur(20px);
    z-index: -1;
}

a.waterbutton:hover::before {
    animation: sun 8s infinite;
}

a.waterbutton:hover {
    animation: sun 8s infinite;
}

@keyframes sun {
    100% {
        background-position: -400% 0;
    }
}

.mt-40 {
    margin-top: 40px;
}

/*  category table css  */
.category .tab-content table {
    text-align: center;
}

.category .table {
    width: 100%;
    padding: 0;
    margin: 0;
}

.category tr.table-th {
    font-weight: bold;
}

.category th {
    color: #4f6b72;
    border-right: 1px solid #ECECEC;
    border-bottom: 1px solid #ECECEC;
    border-top: 1px solid #ECECEC;
    letter-spacing: 2px;
    text-align: center;
    padding: 10px 12px;
    background: #F7F8FA no-repeat;
    vertical-align: middle;
    font-family: Helvetica Neue;
}

.category td {
    border-right: 1px solid #ECECEC;
    border-bottom: 1px solid #ECECEC;
    background: #fff;
    font-size: 15px;
    padding: 10px 12px;
    color: #123642;
    vertical-align: middle;
    font-family: Helvetica Neue;
}

.category td.alt {
    background: #F5FAFA;
    color: #797268;
}

.category th.spec, .category td.spec {
    border-left: 1px solid #ECECEC;
}

.category tr dd {
    border-bottom: 1px solid #ECECEC;
}

.category tr dd:last-child {
    border-bottom: 0px;
}

.category h2 {
    margin: 15px 0;
    color: #354D5F;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
}

.category .reportone {
    margin-bottom: 20px;
}

.category .reportone .reportimg {
    border: 1px solid #EFF1F2;
}

.category .reportone p {
    margin-top: 10px;
    color: #123642;
    font-size: 15px;
}

.category .tab-content a {
    font-size: 15px;
    color: #123642;
}

.category .tab-content a:hover {
    color: #1A70C5;
}

/* category slider css */
.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}


.rowE {
    border: 1px solid #eff1fa;
    background-color: #FBFCFF;
    padding: 30px!important;
}

.rowE .count .img_wrap {
    z-index: 999;
    box-shadow: 0px 20px 60px 0px rgba(32, 70, 128, 0.2);
    background-color: #fff;
}

.rowE .count .img_wrap img {
    width: 150px;
    margin: 1px 46px;
}

.category .comment-post {
    padding-left: 20px;
}

@media (max-width: 720px) {
    .rowE .count .img_wrap img {
        margin: 1px;
    }

    .category .comment-post {
        padding-left: 0;
    }
}

.rowE .count .text-area {
    padding: 10px 0;
}

.rowE .count p {
    color: #1A70C5;
}

.rowE .prev {
    background-position: 0 -88px;
    left: 0;
}

.rowE .prev:hover {
    background-position: 0 -144px;
}

.rowE .next {
    background-position: 0 -200px;
    right: 0;
}

.rowE .next:hover {
    background-position: 0 -256px;
}

/*  404 page css  */
#main-404-content {
    background: url(../404page/images/bg-3x.png) no-repeat;
    min-height: 700px;
    background-size: 100% 100%;
    color: #666666;
    padding-top: 99px;
}

#main-404-content p {
    font-size: 36px;
    line-height: 42px;
}

#main-404-content p span {
    font-size: 48px;
}

#main-404-content h3 {
    font-size: 22px;
    color: #133642;
    line-height: 30px;
    margin: 50px 0 30px;
}

#main-404-content ul {
    padding: 0 10px;
}

#main-404-content ul li a {
    color: #025AC0;
    font-size: 18px;
    line-height: 36px;
}

#main-404-content ul li a:hover {
    text-decoration: underline;
}
