/*-=Tablet screens=-*/
@media only screen and (max-width: 1024px) {
  /*max-width 1024px, tablet screens*/
  .header .medium-uncollapse .header_item:nth-child(3) {
    padding-top: 5px;
    text-align: center;
  }
  .header .medium-uncollapse .header_item:nth-child(3).row:first-child {
    display: inline-block;
    text-align: center;
  }

  .about_us .row .about_us_wrapper {
    width: 48%;
    margin-bottom: 25px;
  }
  .about_us .row .about_us_wrapper:nth-child(1) {
    width: 48%;
    margin: 0;
    padding-left: 15px;
  }

  .about_us .row .about_us_wrapper:nth-child(2) {
    width: 48%;
    margin: 0 0 0 4%;
    padding-right: 15px;
  }
  .about_us .row .about_us_wrapper:nth-child(3) {
    width: 48%;
    margin: 25px auto 0;
    padding-top: 25px;
    float: none;
    clear: both;
  }
  .our_team_item:nth-child(3n-1) {
    border: none;
  }
  .our_team_item:nth-child(3n-1):before,
  .our_team_item:nth-child(3n-1):after {
    display: none;
  }
  .our_team_item:nth-child(even):before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: url(../images/vertical_line.png) repeat-y;
  }
  .our_team_item:nth-child(even):after {
    display: none;
  }

  .names_and_titles-wrapper {
    width: 46%;
    margin: 0 auto;
  }
  .names_and_titles-wrapper:nth-child(1) {
    padding-left: 15px !important;
  }
  .names_and_titles-wrapper:nth-child(2) {
    width: 46%;
    margin: 0 auto;
    float: right;
    padding-right: 15px !important;
  }
  .names_and_titles-wrapper:nth-child(3) {
    float: none;
    clear: both;
    padding-top: 30px;
  }
  .names_and_titles-wrapper:first-child .names_and_titles-bg_title,
  .names_and_titles-wrapper:nth-child(2) .names_and_titles-bg_title,
  .names_and_titles-wrapper:nth-child(3) .names_and_titles-bg_title {
    -webkit-background-size: cover;
    background-size: cover;
  }

  .programs .collapse .column:nth-child(1) .programs_item,
  .programs .collapse .column:nth-child(1) .programs_video-item {
    margin-right: 10px;
    padding-left: 10px;
  }
  .programs .collapse .column:nth-child(2) .programs_item,
  .programs .collapse .column:nth-child(2) .programs_video-item  {
    margin-right: 0;
    margin-left: 10px;
    padding-right: 10px;

  }
  .row.collapse>.column.programs_wrapper:last-child {
    margin: 0 auto;
    padding: 20px 10px 0;
    float: none;
    clear: both;
  }
  /*
  .programs .collapse .column:nth-child(3) .programs_item {
    margin: 0 auto;
    padding: 25px 10px 0;
    float: none;
    clear: both;
  }
  */

  .section.programs .programs_bg {
    background-position: center center;
  }
  .header_image-text {
    background-color: rgba(0,0,0,0.6);
  }

  section.contacts {
    padding: 0 15px;
  }
  .contacts textarea[rows] {
    height: 200px;
  }
  .contacts .gform_footer {
    text-align: right;
  }

  .contacts_left-item img {
    max-width: 100%;
  }
  .text_contact_dotted-bottom {
    width: 75%;
  }
  .our_team {
    padding: 56px 15px 0;
  }
  .our_team_wrapper {
    padding: 25px 10px 0;
  }
  .footer input[type='submit'] {
    position: relative;
    top: -4px;
  }
  .paralax-img1 {
    height: 480px;
    top: -310px;
  }

  .contacts .validation_error {
    top: -26px;
  }
  .header_image-content {
    background-color: rgba(0,0,0,.7);
  }

}

@media only screen and (max-width: 880px) {
  /*max-width 1024px, tablet screens*/
  .first_block-item {
    width: 100%;
    margin: 25px 0;
  }
  .first_block-item {
    padding-left: 10px;
    padding-right: 25px;
  }
  .first_left_panell {
    padding-left: 90px;
  }


  @media only screen and (min-width: 641px) {


    .footer form input[type='email'] {
      width: 58%;
      margin-bottom: 15px;
    }
    .footer input[type='submit'] {
      padding: 5px 15px;
    }
    .gform_footer {
      text-align: center;
    }
    .footer.footer .columns {
      height: 110px;
    }
    .footer .validation_message {
      width: 180px;
    }
    .footer .validation_error {
      padding: 0 5px;
      top: -33px;
      background-color: #fff;
    }
  }

  .informations p>em > br {
    display: none;
  }

}

/*-=Small screens=-*/
@media only screen and (max-width: 640px) {
  /* TOP BAR Mobile STYLING */
  .title-bar {
    background-color: #000;
    /* collapsed menu bar color */
    padding: 0;
    line-height: 45px;
    text-align: left;
  }
  .title-bar .title-bar-title {
    vertical-align: top;
  }
  .title-bar .menu-icon {
    position: relative;
    display: inline-block;
    padding: 0;
    width: 20px;
    height: 45px;
    background-color: transparent;
    vertical-align: top;
    cursor: pointer;
    outline: none;
  }
  .title-bar .menu-icon:after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background: #fefefe;
    top: 50%;
    left: 0;
    margin-top: -9px;
    -moz-box-shadow: 0 7px 0 #fefefe, 0 14px 0 #fefefe;
    -webkit-box-shadow: 0 7px 0 #fefefe, 0 14px 0 #fefefe;
    box-shadow: 0 7px 0 #fefefe, 0 14px 0 #fefefe;
  }

  .top-bar {
    height: auto;
    padding: 0;
    background: #1a608b;
    display: none;
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 100;
    /* menu list background color */
  }
  .top-bar ul {
    background: transparent;
    margin: 0;
    list-style: none;
    padding: 0;
  }
  .top-bar ul li > a {
    display: block;
    font-family: "Brother 1816", sans-serif;
    color: white;
    /* menu item text color */
    font-size: 14px;
    background: #1d1f1f;
    /* menu item background color */
    line-height: 45px;
    padding: 0 15px;
  }
  .top-bar ul li > a:hover {
    background: #165176 !important;
    /* menu item background color on hover */
  }
  .top-bar ul li.current-menu-item > a, .top-bar ul li.current_page_ancestor > a {
    background: #282929 !important;
    /* current/parent menu item background color */
  }
  .top-bar ul li.has-dropdown a:after {
    display: none;
  }
  .top-bar ul li.has-dropdown .accordion-toggle {
    display: block;
    position: absolute;
    width: 50px;
    height: 45px;
    right: 0;
    top: 0;
    color: #fff;
    /* dropdown arrow color */
    z-index: 100;
    text-align: center;
  }
  .top-bar ul li.has-dropdown .accordion-toggle i.fa {
    font-size: 13px;
    line-height: 1;
    height: 13px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  .top-bar ul li[aria-expanded="true"] > a {
    background: #18577e;
    /* menu item background color on open dropdown */
  }
  .top-bar ul li[aria-expanded="true"] > a .accordion-toggle i.fa {
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  .top-bar ul li .submenu a {
    padding-left: 25px;
  }

  .alignright, .alignleft, .aligncenter, .alignnone {
    float: none;
    margin: 0 0 1em;
  }

  .informations-left {
    width: 50%;
  }
  .header_item-social ul {
    text-align: center;
  }
  .header .medium-uncollapse .header_item:nth-child(3) .row:irst-child {
    width: 100%;
    text-align: left;
  }
  .title-bar .menu-icon {
    margin-left: 15px;
  }
  .header_donat_max {
    display: none;
  }
  .header_donat_mini {
    display: block;
    float: right;
  }
  .header_donat {
    margin: 12px 0;
    padding-right: 20px;
    padding-left: 0;
  }
  .header_donat a {
    color: #fff;
  }

  .header_donat:before {
    left: -10px;
    background-color: #fff;
  }
  .first_block-item {
    padding-right: 25px;
  }
  footer.footer .footer_decoration  {
    margin-bottom: 5px;
  }
  #text-slider .slider-caption {
    width: 90%;
  }
  #text-slider .slider-caption p {
    font-size: 12px;
    line-height: 18px;
  }
  .our_team_item:nth-child(even) {
    border: none;
  }
  .our_team_item:last-child  {
    /*padding-top: 30px;*/
    padding-bottom: 30px;
    margin-top: 0;
    margin-bottom: 0;
  }

  .about_us .row .about_us_wrapper:nth-child(1),
  .about_us .row .about_us_wrapper:nth-child(2),
  .about_us .row .about_us_wrapper:nth-child(3) {
    padding-left: 0;
    padding-right: 0;
    float: none;
    margin: 30px auto;
    width: 88%;
  }
  .our_team {
    padding: 40px 15px 0;
    overflow: hidden;
  }
  .our_team_bg_title {
    width: 101%;
  }
  .our_team h2 {
    top: 6px;
    font-size: 28px;
  }
  .names_and_titles-wrapper:nth-child(1),
  .names_and_titles-wrapper:nth-child(2),
  .names_and_titles-wrapper:nth-child(3) {
    width: 50%;
    float: none;
    margin: 30px auto;
    padding: 0 !important;
  }
  .names_and_titles-wrapper:first-child .names_and_titles-bg_title,
  .names_and_titles-wrapper:nth-child(2) .names_and_titles-bg_title,
  .names_and_titles-wrapper:nth-child(3) .names_and_titles-bg_title {
    -webkit-background-size: cover;
    background-size: cover;
  }

  .programs .collapse .column:nth-child(1) .programs_video-item,
  .programs .collapse .column:nth-child(1) .programs_item,
  .programs .collapse .column:nth-child(2) .programs_video-item,
  .programs .collapse .column:nth-child(2) .programs_item,
  .programs .collapse .column:nth-child(3) .programs_video-item,
  .programs .collapse .column:nth-child(3) .programs_item  {
    margin: 0;
    padding: 25px 10px;
  }
  .programs .collapse .column:nth-child(3) {
    margin: 0 ;
    padding: 0;
  }

  .contacts_content {
    width: 100%;
    margin-bottom: 30px;
  }
  .text_contact_dotted-bottom {
    width: 69%;
  }
  .contacts_left-item {
    width: 290px;
    margin: 0 auto;
  }

  .about_us .row .about_us_wrapper:nth-child(3) {
    padding-top: 0;
  }

  .footer .validation_error {
    top: -43px;
    width: 100%;
    text-align: center;
  }
  .footer .validation_message {
    top: 30px;
  }
  .row.collapse>.column.programs_wrapper:first-child,
  .row.collapse>.column.programs_wrapper:last-child,
  .row.collapse>.column.programs_wrapper:nth-child(2) {
    padding: 0 ;
  }
  .header_image-text {
    padding: 10px 15px;
  }
  .header_image-content {
    width: 100%;
  }
  .our_team_item:nth-child(even):before,
  .our_team_item:nth-child(even):after {
    display: none;
  }
  .columns.links_block-item:first-child {
    padding-right: 15px;
  }
  .links_block .row {
    margin: 0;
  }
  .links_block-item-img {
    margin:  0 auto 25px;
  }
  .contacts .validation_error {
    top: -29px;
  }
  .footer_decoration-last:before {
    left: 0;
  }
  .footer_address_mini {
    display: block;
  }
  .footer_address_large {
    display: none;
  }
  .header_image-text .header_image-text-wrapper {
    width: 95%;
  }


}
/* max-width 640px and lower. Use this for mobiles only */
/*-=Medium screens=-*/
@media only screen and (min-width: 641px) {
  /* TOP BAR STYLING */
  .title-bar {
    display: none;
  }

  .top-bar {
    padding: 0;
    background-color: transparent;
    /* Dropdown item styling */
  }
  .top-bar ul {
    background: transparent;
    margin: 0;
    list-style: none;
    padding: 0;
  }

  .top-bar .header-menu li {
    float: left;
    background-color: transparent;
  }
  .top-bar .header-menu li > a {
    /* Regular menu item style */
    display: block;
    padding: 0 16px;
    background: transparent;
    font-size: 13px;
    line-height: 40px;
    letter-spacing: 0.9px;
    color: #000;
    font-weight: 700;
    font-family: "Brother 1816", sans-serif;
  }
  .top-bar .header-menu li.current-menu-item > a, .top-bar .header-menu li.current_page_ancestor > a, .top-bar .header-menu li.current_page_parent > a {
    /* Style of Current page and Ancestor page */
    background: transparent;
    color: #1bb3a5;
  }
  .top-bar .header-menu li.has-dropdown > a {
    /* Style of item with dropdown */
    padding: 0 15px;
  }
  .top-bar .header-menu li.has-dropdown > a:after {
    /* Hide dropdown arrow */
    display: none !important;
  }
  .top-bar .header-menu li.has-dropdown > a:hover {
    /* Hover state for dropdown link */
  }
  .top-bar .header-menu li > a:hover {
    /* menu item style on hover */
    background: transparent;
    color: #1bb3a5;
  }
  .top-bar .header-menu:after {
    content: '';
    display: table;
    clear: both;
  }
  .top-bar ul li:hover > a {
    /* Parent link style on dropdown hover */
    background: transparent;
    color: #1bb3a5;
  }
  .top-bar .submenu {
    border: none;
    display: none;
  }
  .top-bar .submenu.js-dropdown-active {
    display: block;
  }
  .top-bar .submenu li {
    display: block;
  }
  .top-bar .submenu li > a {
    /* Regular link in dropdown */
    background: #e59f74;
    color: #1a608b;
  }
  .top-bar .submenu li > a:hover {
    /* Dropdown link on hover */
    background: #227eb6;
    color: white;
  }
  .top-bar .is-dropdown-submenu .is-dropdown-submenu {
    margin-top: 0;
  }
  .top-bar .is-dropdown-submenu .is-dropdown-submenu li a {
    /* Styles for 2nd level dropdown menu link */
  }
  .header_item-wrapper {
    display: inline-block;
  }

  /* Align Menu to the right
  .top-bar .header-menu { float:right; }*/
  /* Align Menu to the center
  	 .top-bar .header-menu { text-align: center; }
  	 .top-bar .header-menu > li{ float: none; display: inline-block; } */
    }
    /* min-width 641px */
    @media only screen and (min-width: 641px) and (max-width: 1024px) {
      /* min-width 641px and max-width 1024px, use when QAing tablet-only issues*/
      .informations-left {
        width: 40%;
      }
      #text-slider .slider-caption p {
        font-size: 14px;
        line-height: 20px;
      }
      #text-slider .slider-caption {
        padding: 5px 25px;
      }
      .footer_decoration p {
        font-size: 12px;
      }
      .header_image-content {
        width: 50%;
      }
      .our_team_item:nth-last-child(1) {
        float: none;
        clear: both;
        margin: 0 auto ;
      }
      .our_team_item:nth-last-child(1) img {
        margin-top: 25px;
      }

    }
    /*-=Large screens=-*/

    @media only screen and  (max-width: 450px) {
      /* min-width 641px and max-width 1024px, use when QAing tablet-only issues*/
      .informations-left {
        width: 100%;
      }
      .names_and_titles-wrapper:nth-child(1),
      .names_and_titles-wrapper:nth-child(2),
      .names_and_titles-wrapper:nth-child(3) {
        width: 88%;
      }
    }


    @media only screen and (min-width: 1025px) {
      /*min-width 1025px, large screens*/
      .footer .gform_footer {
        position: relative;
        top: -4px;
        width: 70px;
        float: right;
      }
      .footer.footer .columns {
        width: 32%;
      }
      .footer.footer .columns:nth-child(2) {
        width: 36%;
        padding-left: 32px;
        padding-right: 32px;
      }
      .links_block-item-img {
        margin: 0 auto;
      }

      .names_and_titles-wrapper:first-child .names_and_titles-bg_title {
        -webkit-background-size: cover;
        background-size: cover;
      }
      .names_and_titles-wrapper:nth-child(2) .names_and_titles-bg_title {
        -webkit-background-size: cover;
        background-size: cover;
      }
      .names_and_titles-wrapper:last-child .names_and_titles-bg_title {
        -webkit-background-size: cover;
        background-size: cover;
      }
      .names_and_titles-wrapper:last-child {
        padding-left: 8px !important;
      }
      .about_us .row .about_us_wrapper:nth-child(1) {

      }
      .about_us .row .about_us_wrapper:nth-child(2) {
       padding-left: 8px;
       padding-right: 8px;
     }
     .about_us .row .about_us_wrapper:last-child {
       padding-left: 6px;
     }


     .our_team_item:nth-last-child(2),
     .our_team_item:nth-last-child(1) {
      padding-bottom: 0;
      margin-bottom: 0;
      border-right: none;
    }




  }
  @media only screen and (min-width: 1201px) {
    /* min-width 1201px, large screens*/
  }
  @media only screen and (min-width: 1201px) and (max-width: 1280px) {
    /* min-width 1201px and max-width 1280px, use when QAing MacBook issues */
  }
