/*!
Theme Name: Gifted Child
Theme URI: https://them.es/starter
Author: Grifo multimedia
Author URI: https://grifomultimedia.it
Description: Child Theme for gifted Project
Template: gifted-theme
Version: 3.0.3
Requires at least: 5.0
Tested up to: 5.8
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Text Domain: gifted-child-theme
*/


body{
  font-family: 'Bw Aleta No 20', serif !important;
  font-weight: 500;
}
#main{
  overflow-x: hidden;
  margin: 0 !important;
}
.nav-link{
  font-size: 0.85rem;
  font-weight: 500;
}

.navbar-light .navbar-toggler {
  border-color: rgba(0,0,0,.1);
  color: rgba(0, 0, 0, 0.05) !important;
}
.navbar-brand img {
  height: 80px !important;
}
.navbar-light .navbar-toggler {
  color: #fff !important;
  border-radius: 0.25rem;
  padding: 12px;
}
.navbar-light .navbar-toggler i {
font-size: 1.3rem;
}
.qtranxs-lang-menu a{
  font-weight: 300;
}
.qtranxs_widget img{
  margin-top: -3px;
}
.shadow {
  -webkit-box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
  transition: all 0.3s cubic-bezier(.215, .61, .355, 1) !important;
}
.bg-transparent {
  --bs-bg-opacity: 1;
  background-color: transparent;
  transition: all 0.3s cubic-bezier(.215, .61, .355, 1) !important;
}
@media (max-width: 991px) {
  #menu-main-menu {
      margin-top: 1rem;
  }
}
@media (min-width: 1200px) and (max-width: 1400px){
  .nav-link {
    padding-left: 0.3rem !important;
    padding-right: 0.3rem !important;
  }
}
.masthead {
  height: 85vh;
  min-height: 500px;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.handbook{
  height: 60vh;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
  .masthead p {
    font-size: 1.3rem;
    margin-left: 10px;
    margin-bottom: 2.2rem;
    font-weight: 500; }

  .gifted-logo-text{
    width: 80%;
  }
  @media (min-width: 1500px) {
    .home-block-image img{
      width: 85%;
    }
  }
    @media (min-width: 992px) {
      .masthead p {
        font-size: 1.5rem;
        font-weight: 500; }
    }

    @media (max-width: 991px) {
      .home-block-title {
        order: 2;
        text-align: center;
        margin-top: 1rem !important;
      }
      .gifted-logo-text{
        width: 55%;
      }
      .home-block-image {
        order: 1;
        width: 40% !important;
        margin: 0 auto;
      }
    }
    @media (max-width: 768px) {
      .gifted-logo-text{
        width: 60%;
      }
      .home-block-image {
        order: 1;
        width: 50% !important;
        margin: 0 auto;
      }
    }
    @media (max-width: 576px) {
      .home-block-title {
        order: 2;
        text-align: center;
        margin-top: 1rem !important;
      }
      .home-block-image {
        order: 1;
        width: 75% !important;
        margin: 0 auto;
      }
    }

    .btn-home {
      text-transform: uppercase;
      font-size: 15px;
      padding: 15px 25px;
      color: #fff;
      border-radius: .25rem;
      margin-left: 10px;
      transition: all 0.5s ease-in-out; }
      .btn-home:hover {
        box-shadow: 0px 0px 12px 2px rgba(255,255,255,0.5);
        -webkit-box-shadow: 0px 0px 12px 2px rgba(255,255,255,0.5);
        -moz-box-shadow: 0px 0px 12px 2px rgba(255,255,255,0.5);
        color: #fff; }  

        @media (max-width: 576px) {
          .btn-home {
            font-size: 15px;
            padding: 15px 20px;
          }
        }

  .btn-outline-light {
    text-transform: uppercase;
    font-size: 16px;
    padding: 15px 30px;
    background-color: #e9e9e9 !important;
    transition: all 0.5s ease-in-out; }
    .btn-outline-light:hover {
      background-color: #fff;
      box-shadow: 0px 0px 12px 2px rgba(255,255,255,0.5);
      -webkit-box-shadow: 0px 0px 12px 2px rgba(255,255,255,0.5);
      -moz-box-shadow: 0px 0px 12px 2px rgba(255,255,255,0.5);
    }
      .btn-handb {
        text-transform: uppercase;
        font-size: 16px;
        padding: 15px 30px;
        border: 2px solid #e9e9e9;
        border-radius: 0.25rem;
        color: #fff;
        transition: all 0.5s ease-in-out; }
      .btn-handb:hover {
        background-color: #fff;
        box-shadow: 0px 0px 12px 2px rgba(255,255,255,0.5);
        -webkit-box-shadow: 0px 0px 12px 2px rgba(255,255,255,0.5);
        -moz-box-shadow: 0px 0px 12px 2px rgba(255,255,255,0.5); }
    
        .mailster-submit-wrapper .submit-button {
          text-transform: uppercase;
          font-size: 16px;
          padding: 15px 30px;
          border: 2px solid #e9e9e9;
          border-radius: 0.25rem;
          background-color: transparent;
          color: #fff;
          margin-top: 1.5rem;
          transition: all 0.5s ease-in-out; }
          .mailster-submit-wrapper .submit-button:hover {
            background-color: #fff;
            box-shadow: 0px 0px 12px 2px rgba(255,255,255,0.5);
            -webkit-box-shadow: 0px 0px 12px 2px rgba(255,255,255,0.5);
            -moz-box-shadow: 0px 0px 12px 2px rgba(255,255,255,0.5); }

  .section-title {
    text-transform: uppercase;
    font-size: 2.1rem;
    font-weight: 700;
    }

/* project overview */

.card-blue{
  padding: 2rem;
  border-radius: 1rem;
}
.card-blue h5{
  color: #fff;
  font-weight: 700;
}
.card-blue ul{padding-left: 1rem;}
.card-blue ul li{
  color: #fff;
  font-weight: 300;
}
.overview{
  display: flex;
  align-items: center;
}
.overview p{
  font-size: 1rem;
  font-weight: 300;
}


/* OBJECTIVE */

.objective p {
  line-height: 1.6;
  font-size: 1rem;
  margin-top: 0.3rem;
  font-weight: 300;
  text-align: left;
}

  .icon-custom{
    padding: 2rem 0;
    margin-top:18px;
    position: relative;
    top: 10px;
  }

.objective .card-objective {
  border-radius: 10px;
  margin-left: .5rem;
  margin-right: .5rem;
  transition: all 0.7s cubic-bezier(.215, .61, .355, 1);
}

  .objective .card-objective::after{
    display: block;
    position: absolute;
    bottom: -10px;
    left: 20px;
    width: calc(100% - 40px);
    height: 35px;
    background-color: #fff;
    -webkit-box-shadow: 0 19px 28px 5px rgb(64 64 64 / 9%);
    box-shadow: 0 19px 28px 5px rgb(64 64 64 / 9%);
    content: '';
    z-index: -1;
  }

/* CONSORTIUM */
#partners{
  background-color: #f8f9fa; 
}
.owl-theme .owl-dots .owl-dot span{
  background-color: #0d7cc654;
}

.owl-carousel-partners.owl-theme .owl-nav.disabled+.owl-dots {
  margin-top: 25px;
}
.owl-carousel-partners p{
  font-weight: 300;
}
@media (max-width: 991px) {
  .owl-item{
    padding: 0 1.5rem;
  }
}
.card{
  border: 1px solid #e7e7e7 !important;
}

.btn__modal{
  padding: 2px 6px !important;
}
.btn-close {
  height: 2em !important;
  width: 2em !important;
  right: 1rem;
  position: absolute;
  top: 1rem;
}
.modal-title{
  font-weight: 700;
}
.modal .lead{
  font-size: 1rem;
}
.long-description{
  line-height: 1.7;
  font-weight: 300;
}

.card-title{
  min-height: 3rem;
}
.card .photo-team-partner{
  margin: 15px 0 0;

}
.card .photo-team-partner img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

.partner-modal p{
  font-weight: 300;
}
a.download-cv {
  color: #fff;
  padding: 5px;
  border-radius: 3px;
}
a.download-cv:hover {
  color: #fff;
}

/* INTELLECTUAL OUTPUTS */

  @media (min-width: 992px) {
    .results .result-number {
      font-size: 10rem;
      font-weight: 700;
      color: #1d529d21;
      display: flex;
      position: absolute;
      top: -1rem; } 
    }
  .custom-block-results h5{
    position: relative;
    z-index: 99;
  }
.custom-block-results p{
  font-size: 1rem;
  font-weight: 300;
  margin-top: 1rem;
  z-index: 99;
  position: relative;
}
@media (min-width: 991px) {
  img.img-custom {
    height: 475px !important;
    width: 100%;
    object-fit:cover;
  }
}

@media (max-width: 991px) {
  .custom-block-results{
    padding: 1.5rem 2rem;
  }
  .block-1{
    -ms-flex-order: 2;
    order: 2;
    margin-top: 1rem !important;
  }
  .block-2{
    -ms-flex-order: 1;
    order: 1;
  }
  .custom-block-results h5{
    text-align: left;
  }
  .custom-block-results p{
  text-align: left;
  }
}

.sep-mobile{
  opacity: .15;
}
@media (min-width: 992px) {
  .sep-mobile{
    display: none;
  }
}
.block-results .sep-mobile:last-child{
display: none;
}



    /* parallax */
.page-middle-banner {
background-repeat: no-repeat; 
background-position: center;
background-size: cover; }
.page-middle-banner .opacity {
text-align: center;
padding: 110px 0 110px 0; }
.page-middle-banner .opacity h4 {
color: #fff;
margin-bottom: 25px;
font-weight: 600;
line-height: 1.5;
font-size: 1.5rem; }

/* activities */

.timeline {
  position: relative;
  padding: 0 10px;
  list-style: none;
}
.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: "";
  background-color: #e9ecef;
}
.timeline > li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}
.timeline > li:after, .timeline > li:before {
  display: table;
  content: " ";
}
.timeline > li:after {
  clear: both;
}
.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}
.timeline > li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}
.timeline > li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}
.timeline > li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 7px solid #e9ecef;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline > li:nth-child(even) .timeline-panel {
  float: right;
  padding: 0 20px 0 100;
  text-align: left;
}

.timeline > li:nth-child(even) .timeline-panel p{
  text-align: left;
}
.timeline > li:nth-child(even) > .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}
.timeline > li:nth-child(even) > .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}
.timeline > li:last-child {
  margin-bottom: 0;
}

.timeline-heading h5{
  font-size: 1.30rem;
}
.timeline .timeline-body > ul,
.timeline .timeline-body > p {
  margin-bottom: 0;
  font-size: 1rem;
  text-align: left;
  font-weight: 300;
}

.icon-activity{
  font-size: 2.5rem;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .timeline > li {
    min-height: 100px;
    margin-bottom: 100px;
  }
  .timeline > li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }
  .timeline > li .timeline-image {
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }
  .timeline > li:nth-child(even) > .timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
  .icon-activity{
    font-size: 3rem;
  }
}
@media (min-width: 992px) {
  .timeline > li {
    min-height: 150px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px;
  }
  .timeline > li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }
  .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }
  
.timeline .timeline-body > p {
  margin-bottom: 0;
  font-size: 1.10rem;
  text-align: right;
  font-weight: 300;
  line-height: 1.6;
}
  .timeline > li:nth-child(even) > .timeline-panel {
    padding: 0 20px 20px;
  }
  .icon-activity{
    font-size: 4rem;
  }
}
@media (min-width: 1200px) {
  .timeline > li {
    min-height: 170px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px 100px;
  }
  .timeline > li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }
  .timeline > li .timeline-image h4, .timeline > li .timeline-image .h4 {
    margin-top: 40px;
  }
  .timeline > li:nth-child(even) > .timeline-panel {
    padding: 0 100px 20px 20px;
  }
  .icon-activity{
    font-size: 5rem;
  }
}

  /* BLOG */

.blog-entry {

  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
  position: relative;
  top: 0;
  height: 100%;
}

  .blog-entry:hover, .blog-entry:active, .blog-entry:focus {
    -webkit-box-shadow: 0 5px 50px -10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 50px -10px rgba(0, 0, 0, 0.1);
    top: -2px; }
  .blog-entry .blog-entry-text {
    border-top: none;
    padding: 30px; }
    .blog-entry .blog-entry-text h3 {
      font-size: 20px;
      margin-bottom: 10px;
      line-height: 1.5; }
    .blog-entry .blog-entry-text p{
      font-weight: 300;
      }
  .blog-entry .meta {
    font-size: 14px; }
    .blog-entry .meta a {
      display: inline-block;
      margin-right: 10px;
      position: absolute;
      bottom: 1.5rem;
      right: 1.5rem;
    }

  .read-more{
    padding: 5px 15px 5px 15px;
    background-color: rgb(255, 255, 255);
  }
  .read-more:hover{
    text-shadow: 1px 0px 1px rgba(0,0,0,0.3);
    padding: 5px 15px 5px 15px;
    color: white;
    transition: 500ms;
  }


/*--------------------------------------------------------------------------
+	Pagination Style (overrides Bootstrap style)
--------------------------------------------------------------------------*/
.pagination-wrapper {
  margin-top: 30px;
}
.pagination > li > a,
.pagination > li > span {
  border: none;
  border-bottom: 3px solid #FFF;
  color: #666666;
  margin-left: 0;
  margin-bottom: 5px;
  padding: 15px;
  -webkit-transition: all .25s linear;
  -moz-transition: all .25s linear;
  -o-transition: all .25s linear;
  -ms-transition: all .25s linear;
  transition: all .25s linear;
}
.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > .active > a,
.pagination > .active > span {
  background: #FFF;
}
.pagination > li > a:hover {
  border-bottom: 3px solid #fed136;
}
.pagination > .active > a,
.pagination > .active > span {
  color: #666666;
  border-bottom: 3px solid #fed136;
}
.pagination > .disabled > a {
  border-color: #fff;
}
.pagination > .disabled > span,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  margin-bottom: 0;
  color: #fff;
  background-color: #15529D;
  cursor: default;
}
.paginate{
  font-size: 20px;
  color: #e3ab00;
}

  /* blog page */
  /* Posts List */
  .blog-post {
    background: #FFF;
    position: relative;
    margin: 20px 0;
    border: 1px solid #EEE;

  }
  .blog-post img {
    max-width: 100%;
  }
  .blog-post .post-info {
    background: #000;
    background: rgba(0, 0, 0, 0.6);
    color: #FFF;
    line-height: 1.2;
    position: absolute;
    padding: 5px;
    left: 10px;
    top: 10px;
    -webkit-border-radius: 5px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 5px;
    -moz-background-clip: padding;
    border-radius: 5px;
    background-clip: padding-box;
  }
  .blog-post .post-comments-count {
    text-align: center;
  }
  .post-info .post-comments-count {
    padding-top: 5px;
  }
  .post-info .post-comments-count i {
    margin-right: 5px;
  }
  .post-info .post-comments-count a {
    color: #FFF;
  }
  .post-info .post-date .date {
    font-size: 0.7em;
    font-weight: 600;
  }
  .post-title h3 {
    font-size: 1.2em;
    border-bottom: 1px dotted #828282;
    margin: 0 20px;
    padding-top: 10px;
  }
  .post-title h3 a {
    color: #535b60;
  }
  .post-summary {
    margin: 10px 20px;
  }
  .post-summary p {
    color: #828282;
    font-size: 0.9em;
    text-align: justify;
  }
  .post-more {
    text-align: right;
    padding: 0 20px 20px 0;
  }
  /* Single Post */
  .blog-single-post {
    padding: 10px 20px;
  }

  .single-post-title h2 {
    font-size: 30px;
    margin: 0 0 10px 0;
    border-bottom: 1px dotted #828282;
  }
  .single-post-info {
    margin: 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px dotted #828282;
  }
  .single-post-info i {
    color: #333;
    margin-right: 5px;
  }
  .single-post-image {
    text-align: center;
  }
  .single-post-image img {
  border:none;
  }
  .single-post-content {
    margin: 30px 0 20px 0;
  }
  .single-post-content h2 {
    color: #343a40;
    font-size: 1.5em;
    text-align: justify;
  }
  .single-post-content p {
    color: #343a40;
    font-size: 0.9em;
    text-align: justify;
    font-weight: 300;
  }

  .blog-sidebar{
    margin-top: 30px;
  }
  .blog-sidebar h4 {
    margin-top: 20px;
    font-weight: 700;
  }
  .blog-sidebar h4:first-child {
    margin-top: 0;
  }
  .blog-sidebar ul {
    list-style-type: none;
    margin-left: 0;
    padding: 0;
  }
  .blog-sidebar .recent-posts li,
  .blog-sidebar .blog-categories li {
    padding: 5px 20px 5px 0;
    border-top: 1px solid #D5D5D5;
  }
  .blog-sidebar .recent-posts li:last-child,
  .blog-sidebar .blog-categories li:last-child {
    border-bottom: 1px solid #D5D5D5;
  }
  .blog-sidebar .recent-posts a,
  .blog-sidebar .blog-categories a {
    color: #535b60;
  }
  
  .owl-carousel-partners p.card-text {
    min-height:100px;
}

  /* banner per le altre pagine */
.masthead-page {
  height: 35vh;
  padding-top: 4rem;
  color: #fff;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}

.masthead-page-title{
  font-size: 3rem;
  font-weight: 700;
  line-height: 3.25rem;
  padding-bottom: 2rem;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.btn_custom:hover{
  color: #fff !important;
}

/* footer */

footer{
 background: linear-gradient(rgba(43, 35, 88, 0.7), rgba(43, 35, 88, 0.7)), url(images/gifted-students.jpg);
 background-position: center;
 padding: 50px 0;
 background-repeat: no-repeat;
 background-size: cover;
}

/* .footer_area {
  background: #15529D; } */

.social_widget .f_title h4 {
  font-size: 21px;
  margin: 40px 0 20px;
  color: #fff; }
.social_widget p {
  font-size: 14px;
  line-height: 24px;
  color: #fff;
  margin-bottom: 10px; }
/* .social_widget .list li {
  margin-right: 40px;
  display: inline-block; }
  .social_widget .list li a {
    color: #0d7cc6;
    font-size: 36px;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s; }
  .social_widget .list li:last-child {
    margin-right: 0px; }
  .social_widget .list li:hover a {
    color: #199abd; } */
.f_logo img{
  width: 20%;
}

.ue_logo img {
    height: 105px;
    width: auto;
	margin-bottom: 17px;
}

.copyright {
  margin-top: 20px; }
 .copyright p {
    color: #fff; 
}
 .copyright p a {
      color: #fff; 
}


#sidebar{
  margin-top: 3rem;
}
.widget-area a{
  font-weight: 400;
  font-size: 1.3rem;
}

a.btn.btn-outline-secondary:hover {
  color: #fff;
}
.btn-go-top {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 15px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  color: white;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 4px;
  transition: all 0.5s cubic-bezier(.215, .61, .355, 1);
}
.btn-go-top__visible{
  display: block;
}

/* form */
form.contact-form span.gfield_required { display: none;}

.gform_footer{
  display: flex;
  justify-content: center;
}
input#gform_submit_button_1 {
  background: transparent;
  border-radius: 0.3rem;
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.5s ease-in-out;
}
input#gform_submit_button_1:hover {
color: #fff;
}
.gform_wrapper.gravity-theme .gfield input.large{
  height: 3.5rem !important;
}
.gform_wrapper.gravity-theme input[type=text]{
  font-size: 20px !important;
  color: #2a2a2a;
}

.mailster-_gdpr-wrapper a {
    color:#ffffff !important;
}

fieldset#field_1_6 {
    display:flex;
}

div#gfield_consent_description_1_6 {
    margin:0 !important
;
    border: 0 !important;
    overflow-y: hidden;
    padding: 2px;
}


/* ///menu-mobile */
.mobile-menu {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 60%;
  height: 100%;
  display: flex;
  justify-content: center;
  transform: translateX(-100%);
  transition: 0.5s ease-in-out; }
  @media (min-width: 580px) {
    .mobile-menu {
      width: 40%;
    }
	
  }
  @media (min-width: 992px) {
    .mobile-menu {
      width: 30%;
    }
  }
  .mobile-menu .menu-list {
    display: flex;
    align-items: center;
    justify-content: center; }
  .mobile-menu .nav-item .nav-link {
    font-size: 1.2rem;
    font-weight: 300;
    padding: 1rem 1rem;
    text-align: left; }
  .mobile-menu .ctn-mob {
    margin-top: 2rem; }

.mobile-menu .qtranxs-lang-menu a{
  font-size: 1rem !important;
  font-weight: 300;
  margin-bottom: 0.7rem;
}
.mobile-menu__open {
  transform: translateX(0%);
  overflow-y: hidden; }

.close-menu-mob {
  position: absolute;
  top: 5%;
  right: 10%; }
  .close-menu-mob i {
    font-size: 2rem;
    cursor: pointer; 
  }

/* small device only */
@media (max-width: 991px) {
  .masthead-page-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 2.25rem;
  }
}
@media (max-width: 576px){
  .masthead-page-title {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 2rem;
  }
  
  .ue_logo img {
    height: 75px;
  }
  
  .copyue {
    margin-bottom: 100px;
  }
  
  .timeline:before {
		margin-left: 8px !important;  
	}
}
#footer.it .ue_logo:after, #footer.pt .ue_logo:after, #footer.hr .ue_logo:after, #footer.ar .ue_logo:after, #footer.ro .ue_logo:after  {
  background-size:375px 75px !important;
  width: 375px !important; 
  height: 75px !important;
}

@media (max-width: 360px) {
  .widget.qtranxs_widget{
    position: absolute;
    left: 30%;
  }
  .navbar-light .navbar-toggler {
    padding: 8px;
  }
  .btn-home {
    font-size: 14px;
    padding: 15px 20px;
  }
}
/* handbook section */
.handb-page{
  min-height: 600px;
}
.handbook-item {
display: flex;
justify-content: center;
}
.handbook-item a{
  font-size: 1.3rem;
  margin: 2rem 2rem 2rem 0rem;
  transition: all 0.5s cubic-bezier(.215, .61, .355, 1);
}
.handbook-item a:hover{
  margin-left: 5px;
}
.handbook-item .nav.nav-pills{
  display: flex;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.3rem;
}
@media (min-width: 992px) {
  .handbook-items {
    display: inline-block;
  }
}
 .chevron::after {
	border-style: solid;
	border-width: 0.45rem 0.45rem 0 0;
	content: '';
	display: inline-block;
	height: 1.25rem;
	left: 0.15em;
	position: relative;
	transform: rotate(-45deg);
	vertical-align: middle;
	width: 1.25rem;
  margin-left: 0.4rem;
}

.chevron.right::after {
	left: 0;
	transform: rotate(45deg);
}

.single-post-content-hand p{
  font-weight: 300;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
  color: #fff !important;
}
@media (max-width: 991px) {
  .nav-pills li{
    display: flex;
    justify-content: center;
  }
}
/* newsletter style */
 .mailster-email {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-clip: padding-box;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  color: #212529;
  display: block;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 0.75rem;
  -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
  transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
  width: 100%;
} 

.form-floating>.mailster-email {
    padding: 1rem 0.75rem;
}
.form-floating>.mailster-email, .form-floating>.form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}
.post-navigation__btn{
  margin: 0 1rem;
}
/* switcher language */
.qtranxs_widget ul {
  margin: 0;
  padding: 10px;
}

#footer.it .ue_logo:after {
  background-image: url("https://gifted-project.com/wp-content/themes/gifted-theme-child/images/IT_Cofinanziato_dallUnione_europea_BLACK_NEG.png");
  background-size:500px 105px;
  display: inline-block;
  width: 500px; 
  height: 105px;
  content:"";
}

#footer.it .ue_logo:after {
  background-image: url("https://gifted-project.com/wp-content/themes/gifted-theme-child/images/IT_Cofinanziato_dallUnione_europea_BLACK_NEG.png");
  background-size:500px 105px;
  display: inline-block;
  width: 500px; 
  height: 105px;
  content:"";
}

#footer.pt .ue_logo:after {
  background-image: url("images/PT_Cofinanciado_pela_União_Europeia_NEG.png");
  background-size:500px 105px;
  display: inline-block;
  width: 500px; 
  height: 105px;
  content:"";
}

#footer.hr .ue_logo:after {
  background-image: url("images/HR_Sufinancira_EUROPSKA_UNIJA_NEG_NEG.png");
  background-size:500px 105px;
  display: inline-block;
  width: 500px; 
  height: 105px;
  content:"";
}

#footer.ar .ue_logo:after {
  background-image: url("images/AR_Cofunded_by_the_EU_NEG.png");
  background-size:500px 105px;
  display: inline-block;
  width: 500px; 
  height: 105px;
  content:"";
}

#footer.ro .ue_logo:after {
  background-image: url("images/RO_Cofinanțat_de_Uniunea_Europeană_POS.png");
  background-size:500px 105px;
  display: inline-block;
  width: 500px; 
  height: 105px;
  content:"";
}



#footer.it .ue_logo img, #footer.pt .ue_logo img, #footer.hr .ue_logo img , #footer.ar .ue_logo img ,#footer.ro .ue_logo img   {
  display:none
}

.container.container_language {
  width:80%;
    margin:0
}