 @font-face {
    font-family: 'gothamBold';
    src: url('https://thespanishgroup.org/translations/wp-content/themes/translations/fonts/GothamBold.ttf');
}

/*video section css starts*/
#banner {
    position: relative;
    height: 480px;
    width: 100%;
    overflow: hidden;
    z-index: 0;
}
#videobcg {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    height: auto;
    width: auto;
    z-index: -100;
}
.banner_text {

    margin-top: 165px!important;
    max-width: 500px;
    margin: 0 auto;
    background-color: rgba(255,255,255,0.9);
    border-radius: 8px;
    padding: 12px 13px;
    text-align: center;
}
.banner_text h1 {
    color: #5d5d5d; 
    font-weight: bolder;
    font-size: 28px; 
    padding: 2px 12px; 
}
.banner_text p {
    color: #383e46;
    font-size: 16pt;
}

.nfn__container
{
    position: relative!important;
    left: 0;
    top: 50px;
    
}
.nfn__content_desktop
{
    border: 0px solid rgba(32,61,92,.1);
}

.form_container_desktop
{
    display: block;
}
.form_container_mobile
{
    display: none;
}
/*video section css ends*/

/*new section css start*/

.flu_lang_sec_por {
        padding-top: 87px;
        padding-bottom: 115px;
        background: url(https://thespanishgroup.org/wp-content/uploads/2020/04/right_bottom.png), url(https://thespanishgroup.org/wp-content/uploads/2020/04/trianle2.png),url(https://thespanishgroup.org/wp-content/uploads/2020/04/The-Spanish-Group-Banner-Section-v2_without_trianle.png);
        background-size: 11%, cover, cover;
        background-position: left bottom,right,right;
        background-repeat: no-repeat, no-repeat, repeat;
    }

    .flu_lang_sec_por h1 {
        color: #ffffff;
        font-weight: 900;
        text-align: left;
        margin-bottom: 27px;
        font-size: 44px;
        font-family: 'gothamBold';
    }

    ul.flu_lang_sec_por_list {
        margin-bottom: 47px;
    }

    ul.flu_lang_sec_por_list li {
        list-style: none;
        color: #ffffff;
        margin-bottom: 15px;
        font-weight: 400;

    }

    ul.flu_lang_sec_por_list li i {
        margin-right: 8px;
        font-size: 20px;
        position: relative;
        top: 0px;
        color: #47acad !important;
    }

    ul.flu_lang_sec_por_btn_ul li {
        list-style: none;
        display: inline;
    }

    ul.flu_lang_sec_por_btn_ul li a {
        color: #ffffff;
        background: #47acad;
        padding: 10px 22px;
        border-radius: 5px;

    }

    ul.flu_lang_sec_por_btn_ul li a:hover {
        background-color: #2c8282;
    }

    ul.flu_lang_sec_por_btn_ul li {
        font-size: 17px;
        margin-right: 7px;
        margin-top: 0px;

    }

    a.flu_lang_por_bts.snd_btn {
        padding: 10px 15px !important;
    }

@media (max-width: 480px) {
    .magic-box .magic-box-content h3 {
        font-size:1.4em;
    }
    .banner_text h1 {
        
        font-size: 20px; 
       
    }
    .banner_text p {
       
        font-size: 12pt;
    }
}
@media only screen and (min-width: 768px)
.nfn__label {
    font-size: 17px!important;
}
@media (max-width: 768px) {
	#logo {
        position: relative;
	    z-index: 0;
	}
    .nav #logo {
        max-width: 30%!important;
    }
    .nfn__container{
        top: 0;
    }
    .nfn__label{
        font-size: 12px;
        min-height: 34px;
    }
    /*.height-wrapper {*/
    /*    padding-top: 0px !important;*/
    /*}*/
    #banner {
        display:none;
    }
    /*.nfn__content {
        padding-right: 0px;
        padding-left: 0px;
    }*/
    .abs h1 {
        font-size: 28px;
        color: #fff;
        text-shadow: none;
        padding: 0;
    }
    .abs p {
        color: #fff;
        text-shadow: none;
        margin-top: 0;
        font-weight: 400;
        font-size: 18px;
    }
    .flu_lang_sec_por h1 {
            font-size: 24px;
        }

        ul.flu_lang_sec_por_list li {
            font-size: 15px;
        }
        
        ul.flu_lang_sec_por_btn_ul li a
        {
            padding: 10px 12px;
        }
        a.flu_lang_por_bts.snd_btn {
            padding: 10px 34px !important;
        }
        .flu_lang_sec_por
        {
            background-size: 17%, cover, cover;
        }
}


@media (max-width: 500px)
{
 .flu_lang_sec_por
        {
          background-size: 11%, 0%, cover;
        }
        ul.flu_lang_sec_por_btn_ul li {
           font-size: 15px;
           margin-right: 7px;
           margin-top: 30px;
           display: table;
        }

        .nfn__content {
            padding-right: 0px;
            padding-left: 0px;
        }
}

@media (max-width: 336px) {
 ul.flu_lang_sec_por_btn_ul li {
    
            margin-top: 24px;
            display: table;
        }
}

@media only screen and (max-width: 991px)
{
    .form_container_desktop
    {
        display: none;
    }
    .form_container_mobile
    {
        display: block;
        margin: 0 auto!important;
        top: 8px;
    }


}

@media screen and (max-width: 1200px) and (min-width: 991px)
{
   .banner_text
   {
      top: 0;
      max-width: 389px;
   }
   .banner_text p
    {
        font-size: 16px;
    }
   .nfn__container
   {
      margin: 5px auto 35px;
   }
   .nfn__content {
        padding: 18px 60px 45px;
        -moz-border-radius: 30px;
        -webkit-border-radius: 30px;
        border-radius: 30px;
        background: rgba(255,255,255,0.9);
        -moz-box-shadow: 0 5px 20px rgba(0,0,0,.1);
        -webkit-box-shadow: 0 5px 20px rgba(0,0,0,.1);
        box-shadow: 0 5px 20px rgba(0,0,0,.1);
    }
    #banner
    {
       height: 545px;
    }
}

/* @media only screen and (max-width: 1201px)
{
    button#nfnQuoteBtn
    {
      font-size: 15px!important;
    }
    button#nfnOrderBtn
    {
       font-size: 15px!important;
    }
} */

@media only screen and (min-width: 1201px)
{
    .nfn__container
    {
        position: relative;
        left: 0;
    }
    .nfn__content {
        padding: 18px 30px 45px;
        border-radius: 30px;
    }
}

@media (min-width: 1650px) {
        .flu_lang_sec_por {
            padding-top: 130px;
            padding-bottom: 128px;
        }
    }

    @media (min-width: 1800px) {
        .flu_lang_sec_por {
            padding-top: 170px;
            padding-bottom: 138px;
        }
    }

    @media (min-width: 2000px) {
        .flu_lang_sec_por {
            min-height: 755px;
        }

    }

    @media (min-width: 2150px) {
        .flu_lang_sec_por {
            min-height: 820px;
        }
    }