.ec-fancy-title h2, .ec-fancy-title span, .ec-fancy-title small, .ec-team-text span, .ec-blog-grid .ec-blog-text time, .ec-comment-link, .ec-contact-from input[type="text"], .ec-static-title span, .ec-widget-heading h2 {
    font-family: 'Lato', sans-serif;
}

.ec-megamenu {
    padding: 28px;
}

.right-60 {
    right: -60%;
}

.right-30 {
    right: -30%;
}

#ec-footer, .ec-footer-widget {
    /*margin-top: 40px;*/
}

.ec-newslatter-simple,
.footer-four .ec-copyright {
    border-color: #fff;
}

.ec-newslatter-simple,
.footer-four .widget {
    margin-bottom: 30px;
}

.ec-widget-heading-stylethree {
    margin-bottom: 0;
}

.footer-four p,
.footer-four a,
.footer-four h1,
.footer-four h2,
.footer-four span {
    color: #fff;
}

.footer-four .ec-widget-heading-stylethree h2 {
    font-size: 16px;
    border: none;
}

.footer-four h1,
.footer-four h2 {
    font-weight: bold;
}

.footer-four p,
.footer-four a {
    font-size: 12px;
    font-weight: 300;
    line-height: 2;
}

.widget_contact_info ul.ec-contact-list,
.widget_contact_info p {
    margin-bottom: 10px;
}

@media (min-width: 1025px) {
    /*.ec-megamenu {*/
    /*min-width: 620px;*/
    /*}*/
    .ec-header-four .ec-logo a {
        padding-top: 55px;
    }

    .ec-after-home .ec-header-four .ec-logo a {
        padding-top: 30px;
    }
}

@media (max-width: 1024px) {
    /*.ec-megamenu {*/
    /*min-width: 400px;*/
    /*}*/
    .ec-megamenu-style .ec-megamenu, .ec-header-two .ec-megamenu-style .ec-megamenu {
        width: 100%;
    }
}

@media screen and (min-width: 991px) and (max-width: 1054px) {

    .ec-megamenu [class*="col-md-"] {
        width: auto;
        float: left;
        margin-bottom: 15px;
    }
}

@media (max-width: 1022px) {
    .img-menu {
        /*display: none;*/
    }
}

@media (max-width: 995px) {
    /*.ec-megamenu{*/
    /*padding-top: 10px;*/
    /*}*/
    .ec-header-four .ec-logo a {
        padding-top: 55px;
    }
}

@media (max-width: 768px) {
    .navbar-collapse {
        left: auto;
    }

    .ec-header-four .ec-logo a {
        /*padding: 20px;*/
        padding-left: 0;
    }

    /*.ec-megamenu {*/
    /*padding: 5px 10px;*/
    /*min-width: auto;*/
    /*}*/
    .right-60 {
        right: 0;
    }

    .right-30 {
        right: 0;
    }

    .navbar-nav > li > a {
        font-weight: bold;
        padding-left: 15px;
        padding-right: 15px;
    }

    .ec-megalist li {
        padding-left: 10px;
        padding-right: 10px;
    }

    .ec-megalist li a {
        font-weight: normal;
    }
}

@media (max-width: 479px) {
    .ec-header-four .ec-logo a {
        padding-top: 66px;
        width: 100%;
    }

    .ec-header-four .ec-logo a img {
        margin: 0 auto;
    }

    .navbar-collapse {
        left: -100px;
    }
}

@media (max-width: 414px) {
    .navbar-collapse {
        left: -100px;
    }
}

@media (max-width: 384px) {
    .navbar-collapse {
        left: -100px;
    }
}

@media (max-width: 320px) {
    .navbar-collapse {
        left: -100px;
    }
}

.transparent {
    color: transparent !important;
    background: transparent !important;
}

.footer-four {
    background-image: url('../images/bg-footer.jpg');
}

.footer-four .ec-full-transparent {
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
    opacity: .9;
}

.ec-newslatter-simple form input[type="text"] {
    color: #fff;
    border-color: #fff;
}

.ec-newslatter-simple form i {
    color: #fff;
}

.ec-partner-slide .slick-arrow {
    top: 20px;
}

.btn.btn-flat {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.btn-primary {
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
    opacity: 1;
    border: none;
    padding: 9px 36px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.btn-warning {
    background-image: linear-gradient(to bottom right, #CB896A, #FFC900);
    opacity: 1;
    border: none;
    padding: 9px 36px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.text-white {
    color: #fff !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.hr-custom {
    border: none;
    height: 1px;
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
    opacity: 1;
    margin-top: 20px;
    width: 70%;
}

.hr-custom-small {
    border: none;
    height: 1px;
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
    opacity: 1;
    margin-top: 20px;
    width: 30%;
}

.hr-custom-small-2 {
    border: none;
    height: 3px;
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
    opacity: 1;
    margin-top: 5px;
    margin-bottom: 20px;
    width: 40%;
}

.hr-custom2 {
    border: none;
    height: 1px;
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
    opacity: 1;
    width: 90%;
    margin: 0 auto;
}

.hr-custom3 {
    border: none;
    height: 1px;
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
    opacity: 1;
    width: 40%;
    margin: 0 auto;
}

.hr-custom4 {
    border: none;
    height: 2px;
    background-image: linear-gradient(to bottom right, #CB896A, #FFC900);
    opacity: 1;
    width: 40%;
    margin: 20px 0;
    /*margin: 0 auto;*/
}

.hr-custom5 {
    border: none;
    height: 2px;
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
    opacity: 1;
    width: 40%;
    margin: 20px 0;
    /*margin: 0 auto;*/
}

.ec-circle-service ul li i {
    background-color: #000;
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
    opacity: 1;
}

.ec-circle-service ul li:hover i,
.ec-circle-service ul li:focus i,
.ec-circle-service i:hover,
.ec-circle-service i:focus {
    background-color: #000;
    background-image: linear-gradient(to bottom right, #02D5EC, #1B45D3);
    opacity: 1;
    /*background: #fff;*/
    /*color: #1B45D3;*/
}

.ec-bgcolor-four,
.ec-bgcolorhover-four:hover,
.ec-testimonial-plain:before,
.ec-plain-btn,
.ec-paint-cart-btn,
.ec-subscribe input[type="submit"],
.ec-shop-links a:hover,
.ec_widget_newslatter input[type="submit"],
.ec_flicker_widget ul li a:before,
.ec-form form input[type="submit"],
.ec-404wrap:before, .ec-plain-btn-style,
.ec-lesson-tabnav li.active a:before,
.ec-pricetitle:before, .ec-event-masonry figure figcaption:before,
.ec-event-filter li:hover a,
.ec-event-filter li a.active,
.ec-portfolio-hover:before,
.ec-portfolio-masonry figure figcaption:before,
.ec-divider-fancy span:before,
.ec-color-change.ec-featured-list i,
.ec-accordian-element .panel-default
.panel-heading a:before, .ec-change-color
.tabs-nav li:hover a,
.ec-change-color
.tabs-nav li.active a,
.shop-reset-btn:hover,
.count-bar,
.ec-section-heading.ec-change-color h2:before {
    background-color: #000;
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
    opacity: .9;
}

.ec-bgcolor {
    background: transparent;
    color: #333;
    border: none;
}

.ec-testimonial-slide .slick-arrow.slick-arrow-right:hover,
.ec-testimonial-slide .slick-arrow.slick-arrow-left:hover {
    color: #fff;
    background-color: #000;
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
    opacity: 1;
}

.ec-after-home.ec-header-four {
    color: #fff;
    background-color: #000;
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
    opacity: 1;
}

.ec-after-home .ec-header-four .navbar-nav > li > a {
    color: #fff;
}

.slick-slide {
    padding: 0 10px;
}

.margin-bottom-5 {
    margin-bottom: 5px !important;
}

.margin-bottom-10 {
    margin-bottom: 10px !important;
}

.margin-bottom-20 {
    margin-bottom: 20px !important;
}

.margin-bottom-30 {
    margin-bottom: 30px !important;
}

.margin-bottom-40 {
    margin-bottom: 40px !important;
}

.margin-bottom-50 {
    margin-bottom: 50px !important;
}

.ec-detail-thumb img {
    margin: 0 auto;
}

.ec-blog-carousel, .ec-blog-carousel .ec-blog-carousel-wrap {
    border: none;
}

.ec-color-four, .ec-colorhover-four:hover,
.ec-painting-list .ec-painting-text span,
.ec-painting-classic h2, .shop-authore-name a,
.ec-paint-price, .ec-paint-price::before,
.ec-painting-shop ul li, .ec-latestnews-grid
.ec-blog-text time i,
.ec-shop-text small strong,
.ec-breadcrumb li,
.ec_social_widget ul li:hover a, .ec-pagination li:hover a, .ec-pagination li.active a, .ec-latestnews-list .ec-blog-text time i, .ec-select-checkbox input[type="checkbox"]:checked + label span::before, #eccomments ul li .text a.replay-button, .ec-404page ul li:nth-child(2) a, .ec-lesson-text ul li:hover a, .ec-slider-arrows .slick-arrow:hover, .ec-faq .panel-heading a.collapsed::before, .ec-faq .panel-heading a, .ec-event-text span, .ec-masonry-caption .ec-plain-btn-style, .ec-portfolio-hover i, .ec-shop-categories li:hover a, .ec-shop-tab .ec-lesson-tabnav li.active a, .ec-icon-list-style li i, .ec-carthover-text p, .ec-carthover-text p small, .ec-megalist li:hover a {
    color: #1B45D3;
}

.ec-bordercolor-four, .ec-bordercolorhover-four:hover, .ec-painting-list figure a:before, .ec-painting-list figure a:after, .ec-paint-cart-btn,
.ec-latestnews-grid figure a:before, .ec-latestnews-grid figure a:after, .ec-latestnews-list figure a:before, .ec-latestnews-list figure a:after {
    border-color: transparent !important;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
}

.overlay-yellow {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-image: linear-gradient(to bottom right, #FFD500, #D7956A);
}

.ec-detail-editore h3 {
    border: none;
    margin-bottom: 5px;
}

.ec-after-home .ec-header-four {
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
}

.ec-latestnews-grid figure a:hover .overlay,
.ec-latestnews-list figure a:hover .overlay,
.ec-blog-carousel-wrap figure a:hover .overlay {
    opacity: .7;
}
.ec-latestnews-grid figure a:hover .overlay-yellow,
.ec-latestnews-list figure a:hover .overlay-yellow,
.ec-blog-carousel-wrap figure a:hover .overlay-yellow {
    opacity: .85;
}

.ec-latestnews-grid .ec-blog-text p, .ec-latestnews-list .ec-blog-text p {
    font-size: 13px;
}

.ec-blog-carouselfull {
    background: #f7f7f7;
    padding-bottom: 40px;
}

.ec-latestnews-list figure,
.ec-latestnews-list figure {
    position: relative;
    overflow: hidden;
    height: 215px;
}

.ec-latestnews-list figure > a,
.ec-latestnews-list figure > a img {
    width: auto;
    /*height: 215px;*/
    /*margin: 0 auto;*/
}

@media (max-width: 992px) {
    .ec-latestnews-list figure,
    .ec-latestnews-list figure {
        position: relative;
        overflow: hidden;
        height: 300px;
    }

    .ec-latestnews-list figure > a, .ec-latestnews-list figure > a img {
        height: 288px;
    }

}

@media (max-width: 768px) {
    .ec-latestnews-list figure,
    .ec-latestnews-list figure {
        width: 100%;
        height: 100%;
    }

    .ec-latestnews-list figure > a, .ec-latestnews-list figure > a img {
        height: auto;
    }

}

.col-md-12 .ec-event-list figure ~ .ec-event-text {
    width: 60%;
}

.width-100 {
    width: 100% !important;
}

.ec-detail-editore p {
    line-height: 2.0;
}

.bg-gradient, .progress-bar {
    color: #fff;
    background-color: #000;
    background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
}

.ec-team-grid figure figcaption {
    background-color: transparent;
}

.ec-team-grid figure figcaption:hover {
    /*opacity: .7;*/
    /*background-color: #000;*/
    /*background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);*/
}

.ec-contact-nav li.active a:before {
    border-bottom-color: #2457CE;
}

.bg-gradient h2 {
    color: #fff;
}

.ec-pagination li:first-child {
    margin-right: 5px;
}

.ec-contact-form-wrap form {
    width: 50%;
}

textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input,
.ec-contact-form-wrap form textarea {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.btn-flat {
    margin-top: 20px;
    min-width: 150px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.ec-color {
    color: #f9f9f9;
}

.text-bold {
    font-weight: bold;
}

.ec-fancy-titlethree {
    margin-top: 60px;
}

.margin-top-0 {
    margin-top: 0 !important;
}

.margin-top-30 {
    margin-top: 30px !important;
}

.margin-top-60 {
    margin-top: 60px !important;
}

.margin-top-80 {
    margin-top: 80px !important;
}

.fs-16 {
    font-size: 16px;
}

.fs-16 p {
    line-height: 2;
}

.overlay-dark, .overlay-dark80, .overlay-light, .overlay-light80 {
    position: relative;
    z-index: 1;
}

.overlay-dark:before,
.overlay-dark80:before,
.overlay-light:before,
.overlay-light80:before {
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    z-index: -1;
}

.overlay-dark:before {
    background-color: rgba(32, 32, 32, 0.4);
}

.overlay-dark80:before {
    background-color: rgba(32, 32, 32, 0.8);
}

.overlay-light:before {
    background-color: rgba(255, 255, 255, 0.4);
}

.overlay-light80:before {
    background-color: rgba(255, 255, 255, 0.8);
}

.ec-testimonial-paragraph h3 {
    font-size: 24px;
    color: #fff !important;
}

.text-white {
    color: #fff !important;
}

.text-black {
    color: #000 !important;
}

.ec-testimonial-slider-simple .slick-arrow, .ec-testimonial-slider-simple .ec-testimonial-thumb small {
    color: #fff !important;
}

.ec-color-blue {
    color: #1B45D3 !important;
}

select {
    background-color: #fff;
}

.mg-bottom-20 {
    margin-bottom: 20px !important;
}

.cb {
    margin: 20px 0;
}

.checkbox label:after,
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"] + .cr > .cr-icon,
.radio label input[type="radio"] + .cr > .cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
    transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled + .cr,
.radio label input[type="radio"]:disabled + .cr {
    opacity: .5;
}

.checkbox label, .radio label {
    padding-left: 10px !important;
}

textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    height: 42px;
}

ol li {
    padding-left: 15px;
}

/*Image Aspect Ratio*/
.ratio {
    position: relative;
    overflow: hidden;
    width: 100% !important;
    margin: auto;
    /*background-color: rgba(0, 0, 0, .1);*/
    /*background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);*/
    /*background-size: 100%;*/
}

/*@media (max-width: 767px) {
  .ratio {
    max-width: 345px;
  }
}*/
/*.ratio:before,
.ratio:after {
  content: "";
  display: block;
  height: 0;
  overflow: hidden;
}
.ratio:after { clear: both; }
.ratio { zoom: 1; }*/

.ratio1-1 {
    padding-top: 100%;
}

.ratio2-1 {
    padding-top: 50%;
}

.ratio4-3 {
    padding-top: 75%;
}

.ratio16-9 {
    padding-top: 56.25%;
}

.ratio img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

/*Caption image inside class ratio*/
.ratio .img-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

.ec-latestnews-list .ec-blog-text {
    padding: 27px 35px 38px 35px;
    background-color: #f9f9f9;
}

.ec-fancy-titlethree h2 {
    font-size: 30px;
    font-weight: 700;
    margin-top: 60px;
    margin-bottom: 30px;
    /*text-transform: uppercase;*/
}

.ec-fancy-titlethree p {
    line-height: 1.8;
    color: gray;
}

.ec-fancy-titlethree {
    margin-bottom: 80px;
}

.fw300 {
    font-weight: 300;
}

.lh-2 {
    line-height: 2;
}

.text-gray {
    color: gray;
}

.v-middle {
    vertical-align: middle;
}

.ec-fancy-titlethree.title-staff {
    margin-top: 100px;
}

.ec-fancy-titlethree.title-staff h2 {
    margin-top: 10px;
    line-height: 1.5;
    color: gray;
}

.ec-latestnews-list .ec-blog-text {
    background-color: #eeeeee;
}

.ec-testimonial-slider.ec-testimonial-slider-simple .slick-arrow {
    top: -40px;
}

.ec-bordercolor-four, .ec-bordercolorhover-four:hover, .ec-painting-list figure a:before, .ec-painting-list figure a:after, .ec-paint-cart-btn, .ec-latestnews-grid figure a:before, .ec-latestnews-grid figure a:after, .ec-latestnews-list figure a:before, .ec-latestnews-list figure a:after {
    border: none;
}


.sponsor {
    text-align: center;
    vertical-align: middle
}

.sponsor img {
    margin: 0 auto
}

.sponsor .img-sponsor {
    display: inline-block;
    text-align: center;
    margin-bottom: 20px;
    padding: 0 10px;
    z-index: 1000
}

.sponsor .img-sponsor img {
    max-height: 140px;
    margin: 0 auto
}


img.desaturate {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%)
}

img.desaturate:hover {
    -webkit-filter: grayscale(0);
    filter: grayscale(0)
}


.bg-gradient-1{
    background-image: linear-gradient(to bottom right, #06CAF4, #1B45DF);
}
.bg-gradient-2{
    background-image: linear-gradient(to bottom right, #FFD500, #D7956A);
}
.bg-gradient-3{
    background-image: linear-gradient(to bottom right, #D6819B, #660099);
}

#tabclick-1:before{
    border-bottom-color: #06CAF4;
}
#tabclick-2:before{
    border-bottom-color: #F5C51C;
}
#tabclick-3:before{
    border-bottom-color: #AB4F9B;
}

.head-logo-1{
    margin-top: 5px;
}
.head-logo-2{
    margin-top: 15px;
}

@media (max-width: 768px) {
    .head-logo-1{

    }
    .head-logo-2{

    }
    .ec-after-home .ec-header-four .ec-logo a{
        padding: 27px 0px 0px 10px;
    }
    .ec-plane-service .ec-service-wrap h2:before{
        background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
    }
}

@media (min-width: 768px) {
    .ec-plane-service h2{
        font-size: 20px;
    }
    .ec-plane-service .ec-service-wrap h2:before{
        background-image: linear-gradient(to bottom right, #1B45D3, #02D5EC);
        width: 150px;
        left: -180px;
    }
    .ec-plane-service .ec-service-wrap{
        padding-left: 150px;
    }
}

.slick-promo .slick-prev:before,
.slick-promo .slick-next:before {
    color: #1B45D3;
}



.float{
    position:fixed;
    width: 50px;
    height: 50px;
    bottom: 25px;
    /*right: 80px;*/
    right: 78px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size:30px;
    box-shadow: 2px 2px 3px #999;
    z-index:100;


    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    /* right: 80px; */
    right: 90px;


    right: 20px;
    bottom: 90px;
}

a.float:hover{
    color: #fff;
    background-color: #1ebf59;
}

.my-float{
    margin-top: 15px;
}

@media (max-width: 768px) {
    .float{
        bottom: 70px;
    }
}


@media (max-width: 479px) {
    .ec-header-four .ec-logo a {
        padding-top: 0;
        width: 40%;
        display: none;
    }
}

.navbar-toggle{
    margin-top: 100px;
}