@media all and (max-width: 768px) {
    .all-timelines::before {
        right: unset;
        top: 0;
    }

    .single-timeline:nth-child(2n) .timeline-text {
        padding-left: 30px;
        padding-right: 0;
        text-align: left;
    }

    .single-timeline:nth-child(2n) .t-circle {
        left: -6px;
        right: unset;
    }

    .timeline-blank {
        display: none;
    }

    .timeline-text {
        width: 100%;
    }

    .single-timeline:nth-child(even) .timeline-text span {
        text-align: left !important;
    }
}

@media all and (max-width: 360px) {
    .all-timelines::before {
        top: 32px;
    }
}

/* ================================================== */


/* R E S P O N S I V E */


/* ================================================== */

@media (min-width: 1400px){
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        min-width: 1320px;
    }
}


@media(min-width:980px) and (max-width: 1199px) {
    #mainmenu li a:after {
        margin-left: 15px;
    }

    .pf_full_width.gallery_border .item,
    .pf_full_width.gallery_border.pf_2_cols .item,
    .pf_full_width.gallery_border.pf_3_cols .item {
        float: left;
        width: 23.95%;
    }

    .container,
    .container-lg,
    .container-md,
    .container-sm {
        min-width: 95%;
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* -------------------------------------------------- 
    design for 768px
    /* ================================================== */

@media (min-width: 768px) and (max-width: 979px) {    
    .slider_text {
        padding-top: 0px;
    }
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media only screen and (max-width: 1090px) {
    #quick_search{
        width:200px;
    }
    #quick_search{
        position: absolute;
        top: 30px;
    }
}

@media only screen and (max-width: 992px) {

    .de_table .tr .td:nth-child(4),
    .de_table .tr .td:nth-child(5),
    .de_table .tr .td:nth-child(6),
    .de_table .tr .td:nth-child(7) {
        display: none;
    }

    .col-right {
        position: absolute;
        top: -82px;
        right: 60px;
        width: 140px;
    }

    .mb-sm-30 {
        margin-bottom: 30px;
    }

    .sm-mt-0 {
        margin-top: 0;
    }

    .p-sm-30 {
        padding: 40px;
    }

    .pb-sm-0 {
        padding-bottom: 0;
    }

    .mb-sm-0 {
        margin-bottom: 0;
    }

    header .header-col {
        position: absolute;
        top: 0;
    }

    header .header-col.mid {
        position: absolute;
        top: 70px;
        width: 100%;
        padding: 0 0 0 0;
    }

    .text-center-sm {
        text-align: center;
    }

    .sm-pt10 {
        padding-top: 10px;
    }

    #menu-btn {
        display: block;
        float: right;
        z-index: 1000;
        top: 0;
        right: 0;
    }

    .inner-padding {
        padding: 40px;
    }

    .header-col-left,
    .header-col-right {
        padding-top: 16px;
    }

    .header-col-mid #mainmenu {
        position: absolute;
        top: 90px;
        width: 100%;
        padding: 0 0 0 0;
        left: 20px;
    }

    header {
        display: none;
    }

    header .info {
        display: none;
    }

    header.header-bg {
        background: rgba(0, 0, 0, 1);
    }

    header,
    header.fixed {
        display: block;
        position: inherit;
        margin: 0;
        padding: 0;
        margin-top: 0;
        height: auto;
        background: #111111;
        padding: 15px 0 15px 0;
    }

    #de-sidebar {
        position: absolute;
        width: 100%;
        right: 1px;
    }

    header.side-header,
    .de_light header.side-header {
        position: absolute;
        display: block;
        height: 60px;
        top: 0;
        background: #000;
    }

    header.side-header #mainmenu {
        position: absolute;
        background: #000;
        margin: 0;
        top: 60px;
        left: 0;
        width: 100%;
    }

    header.side-header #logo .logo {
        display: none;
    }

    header.side-header #logo .logo-2 {
        display: inline-block;
        position: absolute;
        height: 30px;
        top: 15px;
        left: 40px;
    }

    header.side-header #menu-btn {
        position: absolute;
        top: 8px;
        right: 30px;
        height: 0;
        z-index: 2000;
        height: 35px;
    }

    header.side-header #mainmenu li {
        display: block;
    }

    header.side-header #mainmenu a,
    .de_light.de-navbar-left header #mainmenu>li>a {
        display: block;
        text-align: center;
        color: #fff;
    }

    .de_light.de-navbar-left header #mainmenu>li {
        border-bottom: solid 1px rgba(255, 255, 255, .1);
    }

    header.side-header #mainmenu a:hover {
        background: none;
    }

    header.side-header #mainmenu a:hover {
        background: none;
    }

    header.side-header .social-icons-2 {
        display: none;
    }

    header.autoshow {
        height: auto;
        top: 0;
    }

    header.autoshow #mainmenu li a {
        background: none;
    }

    header.header-mobile-sticky {
        position: fixed;
    }

    #subheader {
        padding: 80px 0;
    }

    #subheader.s2{
        padding: 40px 0 30px 0;
    }

    .de-navbar-left #subheader {
        padding: 0;
        margin: 0;
    }

    #subheader h1 {
        margin-top: 0;
    }

    #subheader span {
        display: none;
    }

    #subheader .crumb {
        display: none;
    }

    #sidebar{
        padding-left: 10px;
    }

    .de-navbar-left #subheader {
        padding-top: 70px;
    }

    .slider_text h1 {
        font-size: 32px;
    }

    .slider_text .description {
        display: none;
    }

    #logo,
    #logo .inner {
        vertical-align: middle;
        height: auto;
    }

    #domain-check .text,
    #domain-check .button {
        width: 100%;
    }

    .container-4 .de-team-list {
        width: 49.9%;
        float: left;
        position: relative;
    }

    #testimonial-full blockquote {
        padding: 20px;
    }

    nav {
        height: 0;
    }

    #mainmenu {
        float: none;
        z-index: 200;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #mainmenu ul {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    #mainmenu a {
        text-align: left;
        padding-left: 0;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #mainmenu li.has-child:after{
        display: none;
    }

    #mainmenu li li a,
    #mainmenu li li li a {
        padding-left: 0;
    }

    #mainmenu a:hover {
        background: #111;
    }

    #mainmenu li ul {
        display: block;
        position: inherit;
        margin: 0;
        width: 100%;
    }

    #mainmenu li {
        margin: 0;
        width: 100%;
        display: block;
    }

    #mainmenu li a:after {
        display: none;
    }

    #mainmenu li:last-child {
        margin-bottom: 30px;
    }

    #mainmenu li ul {
        border-top: solid 1px #eee;
        top: auto;
        width: auto;
        height: auto;
        position: inherit;
        visibility: visible;
        opacity: 1;
    }

    #mainmenu>li.menu-item-has-children>a {
        position: relative;
        padding-right: 15px;
    }

    #mainmenu>li.menu-item-has-children>a:after {
        content: "\f107";
        font-family: "FontAwesome";
        display: inline-block;
        position: absolute;
        top: 0;
        right: 0;
    }

    #mainmenu li ul a {
        width: 100%;
        background: none;
        border: none;
    }

    #mainmenu li ul li {
        border: none;
        padding-left: 40px;
    }

    #mainmenu li ul li a {
        display: block;
    }

    #mainmenu li ul li:last-child {
        border-bottom: none;
        margin: 0;
    }

    #mainmenu li ul li:last-child a {
        border-bottom: none;
    }

    #mainmenu li a {
        color: #eceff3;
    }

    #mainmenu li li a:hover {
        color: #fff;
    }

    header.header-mobile {
        overflow: hidden;
        position: relative;
    }

    header.header-mobile #mainmenu {
        float: none;
        z-index: 200;
        width: 99%;
        margin: 0;
        padding: 0 50px 0 12px;
        text-align: left;
    }

    header.header-mobile #mainmenu ul{
        background: none;
    }

    header.header-mobile #mainmenu a {
        text-align: left;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    header.header-mobile #mainmenu a:hover {
        background: none;
    }

    header.header-mobile #mainmenu li ul {
        display: block;
        position: inherit;
        margin: 0;
        width: 100%;
    }

    header.header-mobile #mainmenu li {
        margin: 0;
        width: 100%;
        display: block;
    }

    .dark-scheme header.header-mobile #mainmenu li{
        border-bottom-color: rgba(255, 255, 255, .1);
    }

    header.header-mobile #mainmenu li ul.mega ul {
        height: auto;
    }

    header.header-mobile #mainmenu li ul.mega .menu-content {
        background: #fff;
    }

    header.header-light.header-mobile #mainmenu li,
    header.header-light.header-mobile #mainmenu li ul li a {
        border-color: #eee;
    }

    header.header-dark.header-mobile {
        background: #222;
    }

    header.header-dark.header-mobile #mainmenu li {
        border-color: #333;
    }

    header.header-dark.header-mobile #mainmenu li a {
        color: #fff;
    }

    header.header-mobile #mainmenu li a:after {
        display: none;
    }

    header.header-mobile #mainmenu li:last-child {
        margin-bottom: 30px;
    }

    header.header-mobile #mainmenu li ul {
        border-top: none;
        top: auto;
    }

    header.header-mobile #mainmenu li ul a {
        width: 100%;
        background: none;
        border: none;
    }

    header.header-mobile #mainmenu li ul li {
        border: none;
        padding-left: 0;
    }

    header #mainmenu li ul li:first-child {
    }

    .dark-scheme header #mainmenu li ul li:first-child {
        border-top-color: rgba(255,255,255,.1);
    }

    header.header-mobile #mainmenu li ul li a {
        display: block;
    }

    header.header-mobile #mainmenu li ul li:last-child {
        border-bottom: none;
        margin: 0;
    }

    header.header-mobile #mainmenu li ul li:last-child a {
        border-bottom: none;
    }

    header.header-mobile #mainmenu li a {
        color: #CED0F0;
    }

    .dark-scheme header.header-mobile #mainmenu li a {
        color: #ffffff;
    }

    header.header-mobile #mainmenu li a:hover {
        color: #ffffff;
    }

    .dark-scheme header.header-mobile #mainmenu li a:hover {
        color: #fff;
    }

    header.header-mobile #mainmenu li li a:hover {
        color: #ffffff;
    }

    header.header-mobile #mainmenu li ul {
        height: 0;
        overflow: hidden;
        position: relative;
        left: 0;
        padding: 2vh;
    }

    header.header-mobile #mainmenu li ul li ul li:last-child {
    }

    header.header-mobile #mainmenu li ul li ul {
        margin-bottom: 10px;
    }

    header.header-mobile #mainmenu>li>span {
        width: 36px;
        height: 36px;
        background: url(../images/ui/arrow-down.png) center no-repeat;
        position: absolute;
        right: 0;
        margin-top: 10px;
        z-index: 1000;
        cursor: poInter;
    }

    .dark-scheme header.header-mobile #mainmenu>li>span {
        background: url(../images/ui/arrow-down.png) center no-repeat;
    }

    header.header-mobile #mainmenu li span.active {
        background: url(../images/ui/arrow-up.png) center no-repeat;
    }

    .dark-scheme header.header-mobile #mainmenu li span.active {
        background: url(../images/ui/arrow-up.png) center no-repeat;
    }

    header.header-mobile #mainmenu li>ul>li>span {
        width: 36px;
        height: 36px;
        background: url(../images/ui/arrow-down.png) center no-repeat;
        position: absolute;
        right: 0;
        margin-top: -45px;
        z-index: 1000;
        cursor: poInter;
    }

    header.header-mobile #mainmenu>li>ul>li>span.active {
        background: url(../images/ui/arrow-up.png) center no-repeat;
    }

    header.header-mobile #mainmenu li ul li a {
    }

    .dark-scheme header.header-mobile #mainmenu li ul li a {
        border-bottom-color: rgba(255, 255, 255, .1);
    }    

    header.header-mobile #mainmenu li ul li:last-child>a {
        border-bottom: none;
    }

    header.header-mobile .h-phone {
        color: #202020;
    }

    header.header-light.header-mobile #mainmenu>li>span,
    header.header-light.header-mobile #mainmenu li>ul>li>span {
        background: url(../images/ui/arrow-down-light.png) center no-repeat;
    }

    header.header-light.header-mobile #mainmenu>li>span.active,
    header.header-light.header-mobile #mainmenu li>ul>li>span.active {
        background: url(../images/ui/arrow-up-light.png) center no-repeat;
    }

    #mainmenu li ul.mega {
        position: fixed;
        left: 0;
        width: 100%;
        margin-top: 30px;
        display: block;
    }

    #mainmenu li ul.mega>li {
        width: 100%;
    }

    #mainmenu li ul.mega>li ul {
        position: static;
        visibility: visible;
        opacity: 1;
        left: 0;
        float: none;
        width: 100%;
    }

    #mainmenu li ul.mega .inner {
        background: #000000;
    }

    #mainmenu ul.mega>li ul li {
        margin: 0;
        padding: 0;
    }

    #mainmenu li ul.mega .menu-content {
        background: #202020;
        padding: 30px;
    }

    /* header light */
    .header-light #mainmenu ul li a,
    .header-light #mainmenu ul li a:hover {
        color: #333;
    }

    .de_tab.tab_methods .de_nav {
        text-align: center;
    }

    .de_tab.tab_methods .de_nav li {
        margin: 5px;
        padding: 0;
    }

    .de_tab.tab_methods .de_nav li span {
        margin: 0;
        display: inline-block;
    }

    .de_tab.tab_methods .de_nav li .v-border {
        border: none;
    }

    .hidden-phone {
        display: none;
    }

    .grid_gallery .item {
        width: 100%;
    }

    .table [class*="col-"] {
        float: none;
        display: block;
    }

    .table-pricing thead tr,
    .table-pricing tbody tr {
        display: block;
        width: 100%;
    }

    .table-pricing thead tr {
        display: none;
    }

    .table-pricing tbody tr th,
    .table-pricing tbody tr td {
        text-align: left;
        display: block;
        width: 100%;

    }

    .table-pricing tbody tr td {
        padding: 10px 30px;
    }

    .table-pricing tbody tr td:nth-child(2) {
        padding-top: 30px;
    }

    .table-pricing tbody tr td:last-child {
        padding-bottom: 40px;
        text-align: center;
    }

    .table-pricing tbody tr th span,
    .table-pricing tbody tr td span {
        min-width: 50%;
    }

    .table-pricing tbody tr th .lbl,
    .table-pricing tbody tr td .lbl {
        display: inline-block;
        min-width: 50%;
    }

    .table-pricing tbody tr th {
        color: #ffffff;
        padding: 20px 30px;
    }

    .sm-hide {
        display: none;
    }

    .btn-rsvp {
        position: absolute;
    }

    .d-btn-close {
        position: relative;
    }

    .schedule-item .sc-info {
        padding-top: 20px;
    }

    .de_tab.tab_style_4 .de_nav li {
        min-width: 100px;
    }

    #mainmenu a span {
        display: none;
    }

    .pf_full_width.grid {
        margin-left: 1.5%;
    }

    .de_tab.tab_methods.style-2 .de_nav li.active .arrow {
        margin-top: -40px;
        margin-bottom: 40px;

    }

    .table-custom-1 {
        position: relative;
        height: auto;
    }

    h1.very-big {
        font-size: 9vw;
        letter-spacing: 0;
    }

    .timeline>li>.timeline-panel {
        width: 100%;
    }

    .timeline-badge {
        display: none;
    }

    .timeline:before {
        background: none;
    }

    .tp-caption {
        padding-left: 40px;
        padding-right: 40px;
    }

    .author_list {
        -moz-column-count: 3;
        -moz-column-gap: 20px;
        -webkit-column-count: 3;
        -webkit-column-gap: 20px;
        column-count: 3;
        column-gap: 20px;
    }

    .subfooter .de-flex,
    .subfooter .de-flex-col {
        display: block;
    }

    .subfooter .social-icons {
        margin-top: 20px;
    }

    .subfooter span.copy {
        margin-top: 20px;
        display: block;
    }

    .activity-filter li{
        width: 100%;
    }

    .dropdown{
        display: inline-block;
        margin-bottom: 10px;
    }

    .side-bg .image-container{ 
        position:relative; 
        width:100%; 
        height:400px !important; 
        top:0;
        margin-bottom:60px;
    }

    .side-bg-text{
        margin-bottom: 80px;
    }

}

/* -------------------------------------------------- 
    custom for 320px & 480px 
    /* -------------------------------------------------- */

@media only screen and (max-width: 768px) {
    .carousel-item h1,
    .carousel-item h1.s1, .de-title-2 h1.s1,
    #subheader h1{
        font-size: 32px;
    }

    .carousel-item h3{
        font-size: 84px;
        line-height: .75em;
        margin-bottom: 20px;
    }

    h5.s1{
        font-size: 84px;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .carousel-item h1.s2{
        font-size: 40px;
    }

    .de-table.table-rank thead th:nth-child(5),
    .de-table.table-rank thead th:nth-child(6),
    .de-table.table-rank thead th:nth-child(7),
    .de-table.table-rank tbody td:nth-child(4),
    .de-table.table-rank tbody td:nth-child(5),
    .de-table.table-rank tbody td:nth-child(6) {
        display: none;
    }

    .d_profile {
        display: block;
    }

    .d_profile .de-flex-col {
        display: block;
    }

    .profile_avatar {
        display: block;
    }

    .profile_avatar i {
        margin-top: -40px;
    }

    .profile_name {
        margin-left: 0;
        margin-top: 20px;
        display: block;
        width: 100%;
    }

    .profile_follow {
        margin-top: 40px;
        width: 100%;
    }

    .menu_side_area {
        margin-left: 20px;
        width: 100%;
        position: relative;
        right: 0;
        text-align: right;
        z-index: 0;
        display: block;
    }

    header .container {
        min-width: 100%;
    }

    .pricing-2-col .pricing-box,
    .pricing-3-col .pricing-box,
    .pricing-4-col .pricing-box,
    .pricing-5-col .pricing-box {
        width: 100%;
    }

    .container-4 .de-team-list {
        width: 100%;
        float: left;
        position: relative;
    }

    .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .feature-box-image,
    .pricing-box {
        margin-bottom: 30px;
    }

    #filters li.pull-right {
        float: none;
    }

    .pf_full_width .item {
        float: left;
        width: 49.9%;
    }

    .text-item {
        font-size: 48px;
        line-height: 48px;
    }

    .text-item i {
        font-size: 36px;
    }

    #de-sidebar {
        width: 100%;
        display: block;
        position: relative;
    }

    .gallery_border {
        margin-left: 0px;
    }

    .pf_full_width.gallery_border .item {
        width: 48.9%;
    }

    body.boxed {
        margin: 0px;
    }

    .schedule-item .sc-time {
        width: 100%;
        padding-bottom: 20px;
        float: none;
    }

    .schedule-item .sc-pic {
        width: 80px;
    }

    .schedule-item .sc-pic img {
        width: 60px;
    }

    .schedule-item .sc-name {
        padding-top: 5px;
    }

    .schedule-item .sc-info {
        float: none;
        display: block;
        width: 100%;
        clear: both;
        padding-top: 30px;
    }

    .schedule-item .sc-info h4 {
        margin-bottom: 10px;
    }

    .de_tab.tab_style_4 .de_nav {
        border-radius: 0;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
    }

    .de_tab.tab_style_4 .de_nav li {
        min-width: 33.3%;
        width: 33.3%;
        border: none;
    }

    .de_tab.tab_style_4 .de_nav li:first-child,
    .de_tab.tab_style_4 .de_nav li:last-child {
        border-radius: 0;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
    }

    .pf_full_width.grid {
        margin-left: .2%;
    }

    .pf_full_width.grid .item {
        width: 48.5%;
    }

    .display-table [class*="col-"] {
        display: table;
    }

    h1.big,
    h1_big {
        font-size: 8vw;
        line-height: 10vw;
    }

    .xs-hide {
        display: none;
    }

    .author_list {
        -moz-column-count: 2;
        -moz-column-gap: 20px;
        -webkit-column-count: 2;
        -webkit-column-gap: 20px;
        column-count: 2;
        column-gap: 20px;
    }


    .de-banner .div-content {
        transform:scale(.75);
        width: 60%;
    }

} /* close 757px */

/* -------------------------------------------------- 
    design for 480px
    /* -------------------------------------------------- */

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .feature-box-image,
    .pricing-box {
        margin-bottom: 30px;
    }

    .timeline-panel {
        margin-bottom: 30px;
    }

    .timeline-pic {
        height: 300px;
    }
}

/* -------------------------------------------------- 
    design for 320px
    /* -------------------------------------------------- */

@media only screen and (max-width: 480px) {

    .pf_full_width .item {
        float: left;
        width: 100%;
    }

    .text-item {
        font-size: 32px;
        line-height: 32px;
    }

    .text-item i {
        font-size: 24px;
    }

    .pf_full_width.gallery_border .item {
        width: 100%;
    }

    h4.s2 span {
        display: block;
        margin: 0;
        padding: 0;
    }

    .h-phone {
        display: none;
    }

    .author_list {
        -moz-column-count: 1;
        -moz-column-gap: 20px;
        -webkit-column-count: 1;
        -webkit-column-gap: 20px;
        column-count: 1;
        column-gap: 20px;
    }

    header a.btn-main{
    padding: 7px 12px !important;    
    border-radius: 2px !important;
    margin-top: -1px;
    margin-right: -10px;
    }

    header a.btn-main i{
    display: inline-block;
    }

    header a.btn-main span{
    display: none;
    }

    #form_quick_search{
        margin-bottom: 0px;
    }

    .de-banner .div-content {
        transform:scale(.5);
        width: 100%;
    }

}

@media only screen and (max-width: 360px) {
    #topbar {
        display: none;
    }
}

/* section control */
@media only screen and (min-device-width: 768) and (max-device-width: 1024) and (orientation: portrait) {
    section {
        -webkit-background-size: auto 100%;
        -moz-background-size: auto 100%;
        -o-background-size: auto 100%;
        background-size: auto 100%;
        background-attachment: scroll;
    }
}

@media only screen and (max-width: 992px) {
    #subheader {
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        background-attachment: scroll;
    }
}

@media only screen and (max-width: 992px) {
    section {
        -webkit-background-size: auto 100%;
        -moz-background-size: auto 100%;
        -o-background-size: auto 100%;
        background-size: auto 100%;
        background-attachment: scroll;
    }
}


@media (min-width: 1200px) {
    .container-timeline ul {
        display: flex;
        padding-left: 0;
        padding-top: 20px;
    }

    .container-timeline ul li {
        flex: 1 1 0;
        border-left: 0;
        border-top: 1px solid green;
        padding: 50px 2em 0 0;
    }

    .container-timeline ul li::before {
        left: 0;
        top: -21px;
    }
}