/*
|===================
| LARGE DESKTOP
|===================
*/
/* GALLERY */
@media (max-width: 1930px) {
  .gallery__image {
    height: auto;
    max-width: none;
    width: 100%;
  }
}
/*
|===================
| DESKTOP
|===================
*/
/* CONTAINER WIDTH */
@media (max-width: 1200px) {
  .container {
    max-width: 1200px!important;
  }
}
/*
|===================
| TABLET
|===================
*/
@media (max-width: 1039px) {
  /* TEXT STYLES */
  .text__system_title {
    font-size: 38px;
  }
  .text__system_tagline {
    font-size: 18px;
  }
  .text__system_main {
    font-size: 28px;
    line-height: 1.1;
  }
  .text__system_small {
    font-size: 14px;
  }
  .text__system_default {
    font-size: 18px;
  }
  .text__system_custom {
    font-size: 14px;
  }
  .text__system_plans {
    font-size: 14px;
  }
  .text__system_stepsnumb {
    font-size: 50px;
  }
  .text__system_peoplenumb {
    line-height: 127px;
    font-size: 44px;
  }
  /* BUTTONS */
  .button__size_small {
    min-width: 110px;
    padding: 7px;
    font-size: 12px;
  }
  .button__size_medium {
    min-width: 132px;
    padding: 9.5px;
    font-size: 15px;
  }
  .button__size_large {
    min-width: 170px;
    padding: 11px;
    font-size: 14px;
  }
  /* MENU */
  .menu__link {
    font-size: 14px;
  }
  .menu__item:not(:first-child) {
    margin-left: 20px;
  }
  .submenu {
    min-width: 140px;
    padding: 5px;
  }
  .submenu__link {
    font-size: 14px;
    padding: 3px 10px;
  }
  /* BLOCKS SPACES */
  .content__pd_top {
    padding: 30px 0 0;
  }
  .content__pd_btm {
    padding: 0 0 30px;
  }
  .content__pd_all {
    padding: 30px 0;
  }
  /* SPACINGS */
  .spacer_top_large {
    margin-top: 21px;
  }
  .spacer_top_medium {
    margin-top: 15px;
  }
  .spacer_top_max {
    margin-top: 20px;
  }
  .spacer_bottom_large {
    margin-bottom: 21px;
  }
  .spacer_bottom_medium {
    margin-bottom: 15px;
  }
  .spacer_bottom_max {
    margin-bottom: 20px;
  }
  /* TITLE SPACE */
  .title_space {
    margin-bottom: 25px;
  }
  /* HEADER */
  .layout {
    padding: 45px 0 95px;
  }
  .nav {
    padding: 0 0 70px;
  }
  .apply_button {
    padding-bottom: 0;
  }
  /* ABOUT PROJECT BLOCK */
  .about__item {
    padding-left: 32px;
  }
  /* TEAM MEMBER PROFILE BLOCK */
  .member__quote {
    padding-bottom: 20px;
  }
  /* GALLERY BLOCK */
  .gallery__image {
    height: auto;
  }
  /* PROJECTS BLOCK */
  .projects__numb {
    width: 127px;
    height: 127px;
  }
  /* FOR VISITORS BLOCK */
  .conversion {
    background-attachment: scroll;
  }
  /* CONTACTS BLOCK */
  .map {
    height: 100%;
  }
  /* PARNTERS */
  .partners {
    padding: 30px 0;
  }
  /* PRICING BLOCK */
  .pricing__item__item {
    padding: 30px 35px;
  }
  /* FOOTER BLOCK */
  .footer {
    padding: 36px 0;
  }
  .social__item__item:not(:first-child) {
    margin-left: 10px;
  }
}
/*
|===================
| MOBILE
|===================
*/
@media (max-width: 767px) {
  .mb-center {
    text-align: center!important;
  }
  .mb_hide {
    display: none;
  }
  .d-flex {
    display: block!important;
  }
  .mb-space {
    margin-bottom: 20px;
  }
  .text__system_title {
    font-size: 31px !IMPORTANT;
  }
  .text__system_main {
    font-size: 24px;
  }
  .text__system_small {
    font-size: 15px;
    text-overflow: ellipsis;
  }
  .text__system_custom {
    font-size: 15px;
  }
  .text__system_plans {
    font-size: 15px;
  }
  .text__system_peoplenumb {
    font-size: 48px;
    line-height: 130px;
  }
  .button__size_medium {
    min-width: 120px;
    padding: 8.5px;
    font-size: 14px;
  }
  .button__size_large {
    min-width: 150px;
    font-size: 14px;
    padding: 9px;
  }
  .navbar {
    display: block;
    padding: 10px;
    background: transparent;
    text-align: center;
  }
  .nav {
    padding: 0 0 10px;
  }
  .menu__item {
    display: block;
    position: relative;
  }
  .menu__item:not(:first-child) {
    margin-left: 0;
  }
  .menu__item:not(:last-child) {
    border-bottom: 1px solid #d3d3d3;
  }
  .menu__link {
    display: block;
    width: 100%;
    padding: 5px 20px;
    color: #363636;
    text-align: left;
  }
  .menu__link {
    display: block;
    width: 100%;
    padding: 5px 20px;
    color: #363636;
    text-align: left;
  }
  .menu__link_arrow {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
    width: 50px;
    height: 100%;
    transition: .3s;
    font-size: 18px;
    left: auto;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
  }
  .menu__link_arrow:before {
    display: none;
  }
  .menu__link_arrow:after {
    content: "\f107";
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    height: 100%;
  }
  .menu__link:hover {
    color: #50e3c2;
    text-decoration: none;
  }
  .menu__link:active {
    color: #50e3c2;
    text-decoration: none;
  }
  .menu__toogle_button {
    display: inline-block;
  }
  .submenu {
    width: 100%;
    top: 0;
    position: relative;
    padding: 0;
  }
  .submenu:before {
    display: none;
  }
  .submenu__item {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
    border: none;
  }
  .submenu__link {
    display: block;
    width: 100%;
    padding: 5px 40px;
    color: #fff;
    text-align: left;
  }
  .submenu__link:hover {
    color: #50e3c2;
    background: #fff;
    text-decoration: none;
  }
  .submenu__link:active {
    color: #50e3c2;
    background: #fff;
    text-decoration: none;
  }
  .mobile__menu {
    display: block;
    position: absolute;
    z-index: 500;
    left: 10px;
    right: 10px;
    background: #fff;
  }
  .mobile__submenu {
    background: #50e3c2;
    width: 100%;
    top: 0;
    position: relative;
    padding: 0;
    display: none;
  }
  /* HEADER */
  .nav__menu {
    display: none;
  }
  .apply_button {
    padding-bottom: 10px;
  }
  /* ABOUT PROJECT BLOCK */
  .about__item {
    padding: 20px 0;
  }
  /* TEAM MEMBER PROFILE BLOCK */
  .member__item {
    padding: 20px 0;
  }
  /* PROJECTS BLOCK */
  .projects__numb {
    width: 130px;
    height: 130px;
  }
  /* TIMER BLOCK */
  .timer {
    display: none;
  }
  .time_circles {
    display: none;
  }
  /* PRICING */
  .pricing {
    padding: 20px;
  }
  /* PARTNERS */
  .partners {
    padding: 20px 0;
  }
  /* CONTACTS BLOCK */
  .map {
    height: 100%;
  }
  .map iframe {
    height: 300px;
  }
  /* CAREER */
  .career {
    text-align: center;
  }
  .image_center_mb {
    text-align: center;
  }
  .header h2{
    text-align: center;
    font-size: 23pt;
    padding-left: 0px;
  }
  .p_form{
    font-size: 13pt;
    text-align: center;
    margin-top: 20px;
  }
  .frm_ulisses .row .form-group:first-child{
    padding-right: 15px;
  }

  .frm_ulisses .row .form-group:nth-child(2){
    padding-left: 15px;
  }
  .frm_ulisses .btn-primary {
    margin: 0 auto;
    display: block;
  }
  .img-ulisses{
    top: 40px;
    position: relative;
  }
  .layout {
    padding: 45px 0 55px;
  }
  .img-partners{
    margin-bottom: 30px;
  }
  .contact_title{
    text-align: center;
  }
}
/*
|===================
| CUSTOM MEDIA QUERIES
|===================
*/
@media screen and (min-width: 1039px) {
  /* TIMER BLOCK */
  .time {
    height: 549px;
  }
}
@media screen and (min-width: 1039px) {
  /* TIMER BLOCK */
  .header {
    height: 380px;
  }
}

@media screen and (max-width: 1024px) {
  .header > .layout > .container > .row{
    padding: 0 15px;
  }

  .img-ulisses{
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .header{
    height: 400px;
  }
}

@media screen and (max-width: 834px) {
  #cabecera h1{
    font-size: 50px;
  }

  #cabecera .text.title_space .right {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between !important;
  }

  #cabecera .text.title_space .right .col-6{
    max-width: 100%;
    width: 100%;
  }

  #cabecera h2{
    display: flex;
    flex-direction: column;
  }

  #cabecera h2 span:first-child{
    margin-bottom: 10px;
    width: fit-content;
  }

}

@media screen and (max-width: 640px) {
  #cabecera .text.title_space{
    flex-direction: column;
  }

  #cabecera .text.title_space .left{
    order: 2;
    width: 100%;
  }

  #cabecera .text.title_space .right{
    order: 1;
    width: 100%;
    flex-direction: row;
  }

  .header {
    height: 850px;
  }

  button.btn.btn-primary:after{
    left: calc(50% - 67px);
    bottom: -10px;
  }

  .p_form{
    margin-top: 30px;
  }

  #cabecera h1{
    font-size: 40px !important;
  }

}


@media screen and (max-width: 479px) {
  .header {
    height: 750px;
  }

  .frm_ulisses .btn-primary{
    position: relative;
  }

  button.btn.btn-primary:after{
    top: 50px;
  }

  .img-ulisses{
    position: absolute;
    bottom: 0;
    top: unset;
  }

  .form-check-label{
    padding-left: 10px;
  }

}

@media screen and (max-width: 375px) {
  #cabecera h1{
    font-size: 35px !important;
  }

  #cabecera h2{
    font-size: 22px;
  }

  .header{
    height: 720px;
  }

}

@media screen and (max-width: 320px) {
  #cabecera h1{
    font-size: 30px !important;
  }

  #cabecera h2 {
    font-size: 20px;
  }



}
