@media only screen and (min-width: 991px) and (max-width: 1499px) {
    #finance-data{ padding: 220px 0px 0px 0px;}
/*     #finance-data.secure_life {
        padding-top: 340px;
    } */
    #finance-data.thanks_error{
        padding-top: 0 ;
    }
}

@media only screen and (min-width: 991px) and (max-width: 1299px) {
    .page-title h1{ font-size: 28px;}
    .finance-cont p{ font-size: 18px;}
    .trade-data p{ font-size: 22px;}
    .page-title h2{
        font-size: 26px;
    }
    /* .finance-cont img{ max-height: 75px;} */
    a.secure_img_part h3 {
        font-size: 18px;
        margin-top: 14px;
    } 
}
@media only screen and (max-width: 1199px) {
    .inquiry-form { 
        padding: 35px 34px; 
    }
    .secure_products a.secure_img_part h3 {
        font-size: 20px;
    }
    #finance-data.secure_products, #finance-data.secure_life  {
        padding: 170px 0 80px;
    }
/*     #finance-data.secure_life {
        padding-top: 340px;
    } */ 
    .news_resources_details h2 {
        font-size: 22px;
    }
    .news_resources_details { 
        padding: 15px;
    }
    .news_resources_list_part ul li a{
        margin: 0 12px;
    }
    .news_resources_details h3{
        font-size: 18px;
    }
    .thanks_error h1 {
        font-size: 62px;
    }
}

@media only screen and (max-width: 991px) {
    .vertical-data p, .news-slider .item .news-data p, .cta-data p{ font-size: 20px; line-height: 28px;}
    .vertical-slider .item h2{ font-size: 22px;}
    .home-news h2{ font-size: 28px;}
    #header-part .navbar-collapse ul li a{ font-size: 20px;}
    /* #header-part .nav_logo{ text-align: left; padding-left: 20px;} */
    #header-part .nav_logo a.m-logo {
        margin-top: 12px;
    } 
    #header-part .nav_logo a.m-logo img {
        max-width: 220px;
    }
    #header-part.navbar-fixed .nav_logo a.s-logo {
        transform: translate(0px, calc(-100% - 0px));
    }
    /* #header-part.navbar-fixed .nav_logo a.s-logo {
        transform: translate(0px, calc(-100% - 62px));
    }  */ 
    .inquiry-form h2 {
        font-size: 28px;
    }
    #finance-data {
        padding-top: 160px;
    }
    #finance-data.thanks_error{
        padding-top: 0 ;
    }
    .thanks_error h1 {
        font-size: 52px;
    }
    .thanks_error_bg img {
        max-width: 65px;
    }
}

@media only screen and (max-width: 840px) {
/* 	#finance-data.secure_life{ padding-top:80px;} */
}

@media only screen and (min-width: 767px) and (min-height: 640px){
    #slider-section{
        min-height: 800px;
    }
}
@media only screen and (max-width: 767px) {
    /* #header-part nav.navbar button.navbar-toggler:focus span{ background: #fff !important;} */
    #our-verticals, #latest-news, #call-action{ padding: 35px 0px;}
    #header-part.navbar-fixed .nav_logo a.s-logo {
        transform: translate(0px, calc(100% - 80px));
    }
    .vertical-data p, .news-slider .item .news-data p, .cta-data p, .banner-data p{ font-size: 16px; line-height: 24px;}
    .vertical-slider .item h2{ font-size: 20px;}
    .banner-data h4, .banner-data h3{ font-size: 19px; white-space: inherit;}
    .home-news h2{ font-size: 24px;}
    .footer-bottom{ flex-wrap: wrap; justify-content: center; align-items: center;}
    #header-part .nav_logo a.s-logo {
        transform: translate(0px, 0px);
    }
    #header-part .nav_logo {
        text-align: left;
    }
    #header-part{
        background: #ffffff;
    }
    #header-part .nav_logo a.s-logo img {
        max-width: 230px;
        padding: 8px 12px;
    }
    #header-part nav.navbar button.navbar-toggler span.toggle_line1, #header-part nav.navbar button.navbar-toggler span.toggle_line2, #header-part nav.navbar button.navbar-toggler span.toggle_line3{
        background: #0A1B56 ;
    }

    #finance-data{ padding: 120px 0px; position: relative; height: auto;}
    .page-title{ margin: 0px 0px 35px 0px;}
    .page-title h1{ font-size: 26px;}
    .finance-cont p, .trade-data p{ font-size: 17px;}
    /* .finance-cont img{ max-width: 75px;} */
    #about-trade{ padding: 70px 0px;}
    .banner-data h2{ font-size: 17px;}


    #pyramid-section{ padding: 35px 0px 100px 0px;}


    .pyramid {
        position: relative;
        top: 85px;
        width: calc(45vmin + 0px);
        height: calc(45vmin + 0px);
        transform: rotateX(48deg) rotateZ(1003deg);
        transform-style: preserve-3d;
        animation: spin 75s linear 0s infinite;
        margin: auto;
    }
    .pyramid:before {
        content: "";
        background: black;
        width: 100%;
        height: 100%;
        position: absolute;
        transform: translateZ(-10vmin);
        box-shadow: 0 0 2vmin 2vmin #000000;
        opacity: 0.15;
    }
    .pyramid span {
        /* width: 100%; */
        /* height: 100%; */
        position: absolute;
        box-sizing: border-box;
        background-color: #efefef;
        background-image: linear-gradient(335deg, #ffffff 6px, transparent 6px), linear-gradient(155deg, #ffffff 6px, transparent 6px), linear-gradient(335deg, #ffffff 6px, transparent 6px), linear-gradient(155deg, #ffffff 6px, transparent 6px);
        background-size: 14px 14px;
        background-position: 0px 0px, 1px 8px, 7px 7px, 8px 1px;
        clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
        /* width: calc(55vmin + -92.75px); */
        /* height: calc(45vmin + 0.4px); */
    }
    .pyramid span:nth-child(1) {
        transform-origin: bottom center;
        filter: brightness(0.875);
        transform: rotateX(-66deg) translate3d(0vmin, calc(-3vmin + -6px), calc(-8vmin + -3px));
    }
    .pyramid span:nth-child(2) {
        transform: rotateY(66deg) rotateZ(-90deg) translate3d(calc(27.7vmin - 1px), calc(-27vmin - 0px), calc(0vmin + 0px));
        transform-origin: right center;
    }
    .pyramid span:nth-child(3) {
        transform: rotateX(66deg) rotateZ(180deg) translate3d(0vmin, -55vmin, calc(0vmin + 0px));
        transform-origin: center top;
        filter: brightness(0.875);
        transform-origin: center top;
    }
    .pyramid span:nth-child(4) {
        transform: rotateY(-66deg) rotateZ(90deg)  translate3d(calc(-26.7vmin + -3px), calc(-28vmin + 2px), 0vmin);
        transform-origin: left center;
    }
    
    @keyframes spin {
        0% {
            transform: rotateX(65deg) rotateZ(0deg);
        }
        100% {
            transform: rotateX(65deg) rotateZ(360deg);
        }
    }
    .inquiry-form{ padding: 30px 28px;}
    .modal-content button.btn-close{ z-index: 11; left: inherit; right: 15px; top: 23px;}
    .verticals .item h2{ font-size: 18px;}
    .secure-finance-modal .modal-content { 
        margin: 0 10px;
    }
    .secure-finance-modal .form-group input, .secure-finance-modal .form-group textarea {
        padding: 12px 15px;
    }
    .page-title h2{
        font-size: 26px;
    }
    .our_partners .page-title span{
        font-size: 24px;
    }
    .our_partners{
        padding: 50px 0;
    }
    a.secure_img_part h3{
        font-size: 18px;
    }
    .secure_products a.secure_img_part h3 {
        font-size: 18px;
    }
    #header-part nav.navbar button.navbar-toggler, #header-part nav.navbar button.navbar-toggler:focus{
        height: 25px;
    }
    #header-part nav.navbar button.navbar-toggler[aria-expanded="true"] span.toggle_line2 {
        transform: translate(calc(-50% - 10px), calc(-50% - 7px)) rotate(-60deg);
    }
    #header-part nav.navbar button.navbar-toggler[aria-expanded="true"] span.toggle_line1 {
        transform: translate(calc(-50% + 11px), calc(-50% + 5px)) rotate(60deg);
    }
    #finance-data.secure_products {
        padding: 140px 0 60px;
    }
    #finance-data.secure_life {
        padding-top: 120px;
    }
    #finance-data.thanks_error{
        padding-top: 140px;
        padding-bottom: 50px;
    }
    /* .finance-cont img { 
        max-height: 60px;
    } */
	#finance-data.secure_life{
		padding-bottom: 30px;
	}
}
@media only screen and (max-width: 575px) {
    .secure-finance-modal .inquiry-form {
        padding: 20px 12px;
    }
    .inquiry-form h2, .page-title h2{
        font-size: 24px;
    }  
    .our_partners .page-title span{
        font-size: 22px;
    }
    .secure-finance-modal .inquiry-form {
        padding: 30px 12px 20px 12px;
    }
    .secure-finance-modal .modal-content .btn-close{
        font-size: 16px;
    }
    .secure-finance-modal .form-group input, .secure-finance-modal .form-group textarea {
        padding: 10px 10px;
    }
    .secure-finance-modal .inquiry-form .form-group .form-check-inline input[type='radio'] {
        height: 12px;
        border-radius: 100% !important;
        width: 12px !important;
        margin: 5px 3px 0px 0px;
    }
    .secure-finance-modal .inquiry-form .form-group label{
        margin: 0px 7px 0px 0px;
    }
    .overflow_text input {
        height: 58px;
    }
    .overflow_text input::placeholder {top: -10px; position: relative;}
    .secure-finance-modal  .modal_title p {
        font-size: 15px;
    }
    #header-part .nav_logo a.s-logo img {
        max-width: 200px;
    }
    #header-part nav.navbar button.navbar-toggler, #header-part nav.navbar button.navbar-toggler:focus{
        top: 26px;
    }
    #finance-data.secure_products {
        padding: 120px 0 30px;
    }
    #finance-data .page-title h3 span{
        font-size: 20px;
        top: 6px;
        display: inline-block;
    }
    #finance-data .page-title h3 {
        font-size: 18px;
        display: inline-flex;
        flex-direction: column;
    }
}
@media only screen and (max-height: 575px) {
    #finance-data.thanks_error {
        position: relative;
        height: 100%;
        padding-top: 145px;
        padding-bottom: 60px;
    }
}
@media only screen and (max-width: 460px) {
    .ft-logo{ max-width: 165px;}
}