/*-=Tablet screens=-*/
@media only screen and (max-width: 1024px) {
  /*max-width 1024px, tablet screens*/
}
/*-=Small screens=-*/
@media only screen and (max-width: 640px) {
  .header .logo{
    left: 50%;
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .logo img{
    height: 160px;
  }
  .header-icons{
    padding-top: 160px;
    text-align: center;
  }
  .header__buttons{
    max-width: 344px;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .header__buttons a{
    margin-left: 15px;
    margin-right: 15px;
    font-size: 34px;
  }
  .header__buttons a:last-child {
    margin-right: 15px;
  }
  .header .footer-socials{
    margin-bottom: 12px;
    margin-right: 15px;
  }
  .header .search-form{
    margin-top: 0;
  }
  #home-slider .slider-caption__logo{
    display: none;
  }
  #home-slider .slider-caption__text p{
    text-align: left;
    font-size: 14px;
  }
  #home-slider .slider-caption__text{
    padding-top: 5px;
  }
  #home-slider .slider-caption__logo__text{
    display: none;
  }
  .title-bar .menu-icon{
    margin-right: 8px;
  }
  section.services{
    text-align: center;
    padding-bottom: 0;
  }
  .services__item{
    display: inline-block;
    margin-bottom: 40px;
  }
  .services__item a.service-button{
    padding: 15px 12px;
  }
  .favorites-news{
    padding-left: 15px;
    padding-right: 15px;
  }
  .favorites-news__item{
    max-width: none;
    width: 100%;
    margin-bottom: 20px;
    padding-right: 15px;
  }
.favorites-news__item__text p{
  font-weight: 400;
  font-size: 14px;
}
  .favorites-news__pic{
    max-width: none;
    width: 100%;
    text-align: center;
    display: none;
  }
  .favorites-news__pic img{
    width: 100%;
  }
  .subsc-button__wrap{
    margin-bottom: 20px;
  }
  .subsc-button__wrap a.subsc-button{
    padding-right: 26%;
  }
  .for-partners__video-wrap{
    margin: 10px auto;
  }
  .news-with-soc__socials li{
  width: 100%;
  padding-right: 0;
  text-align: center;
  margin-bottom: 20px;
  }
  .news-with-soc__socials a span{
    max-width: 90px;
  }
  .partners-slider .slick-slide h3{
    font-size: 14px;
    line-height: 18px;
  }
  .hero__text{
    padding-left: 15px;
  }
  .hero__text p{
    font-size: 25px;
  }
  .staff .photo {
    height: 251px;
    background: no-repeat top center;
    background-size: contain;
}
  .bottom-line{
   padding-right: 15px;
   padding-left: 15px;
  }
  .template-page h1{
    font-size: 34px;
  }
  .template-page a{
    font-size: 14px;
  }
  .posts-list h1{
   font-size: 34px;
   margin-bottom: 10px;
  }
  .posts-list article h3{
    font-size: 26px;
    margin-bottom: 5px;
  }
  .post-pic{
    margin-top: 20px;
  }
  .template-page p{
    font-size: 14px;
    margin-bottom: 15px;
  }
  .pagination li{
    display: inline-block;
  }
  section.story-list h1{
    font-size: 34px;
  }
  .description h4{
    font-size: 24px;
    margin-bottom: 5px;
  }
  .description p{
    font-size: 14px;
  }
  .gform_confirmation_message{
    font-size: 36px;
  }
  .template-page a {
    font-size: 13px;
  }
  .ginput_container.ginput_recaptcha{
    transform: scale(0.7);
        -moz-transform: scale(0.7);
  -ms-transform: scale(0.7);
  -webkit-transform: scale(0.7);
  transform: scale(0.7);
}
.file{
      transform: scale(0.5);
        -moz-transform: scale(0.5);
  -ms-transform: scale(0.5);
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
}
  .sidebar{
    margin-top: 20px;
  }
  .widget-children-pages{
    text-align: center;
  }
  .widget-children-pages:before{
    max-width: 640px;
    width: 100%;
    top: 4px;
    left: 2px;
  }
  .subscribe_button_widget a.subsc-button{
    padding-right: 60px;
  }
  .subscribe_button_widget a.subsc-button i{
    right: 20px;
  }
  .footer-sidebar{
    margin-bottom: 20px;
    text-align: center;
  }
  .footer-sidebar.partners .partner-logo{
    text-align: center;
  }
  .footer-socials{
    margin: 0 auto;
    max-width: 146px;
  }
  .footer-socials li:last-child{
    margin-right: 0;
  }
}
@media only screen and (max-width: 1024px) {
  /* TOP BAR Mobile STYLING */
  .title-bar {
    background-color: transparent;
    padding: 0;
    line-height: 45px;
    text-align: right;
  }
  .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 {
    width: 100%;
    z-index: 100;
    height: auto;
    padding: 0;
    background: #6E5E52 ;
    display: none;
    /* menu list background color */
  }
  .top-bar ul {
    z-index: 10;
    top: 0;
    right: 0;
    background: transparent;
    margin: 0;
    list-style: none;
    padding: 0;
  }
  .top-bar ul li > a {
    display: block;
    font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
    color: white;
    /* menu item text color */
    font-size: 20px;
    font-weight: 700;
    background: #6E5E52;
    text-transform: uppercase;
    /* menu item background color */
    line-height: 50px;
    padding: 0 15px;
  }
  .top-bar ul li > a:hover {
    background: #6E5E52 !important;
    /* menu item background color on hover */
  }
  .top-bar ul li.current-menu-item > a, .top-bar ul li.current_page_ancestor > a {
    background: #6E5E52 !important;
    color:#A8AA31 !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: 50px;
    right: 0;
    top: 0;
    color: #fff;
    /* dropdown arrow color */
    z-index: 100;
    text-align: center;
 background-color: #c8b4a4;
  }
  .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: transparent;
    color: #A8AA31;
    /* 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.submenu  {
    background-color: #fff;
  }
  .top-bar ul li .submenu a {
    padding-left: 25px;
    color: #4e4145;
    background-color: transparent;
    text-transform: none;
  }
  .top-bar ul li .submenu a:hover{
        background: rgba(110, 94, 82, 0.6) !important;
        color: #fff;
  }
    .top-bar ul li .submenu li.current-menu-item > a,
    .top-bar ul li.submenu li.current_page_ancestor > a {
        background: #c8b4a4 !important;
        color: #fff !important;
    }

  .alignright, .alignleft, .aligncenter, .alignnone {
    float: none;
    margin: 0 0 1em;
  }
}
/* max-width 640px and lower. Use this for mobiles only */
/*-=Medium screens=-*/

@media only screen and (min-width: 1025px) {
  /* 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: 3px 6.5px;
    background: transparent;
    font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 40px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;

  }
  .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: #ccce4a;
  }
  .top-bar .header-menu li.has-dropdown > a {
    /* Style of item with dropdown */
    padding: 3px 7px;
  }
  .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: #ccce4a;
  }
  .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: #ccce4a;
  }
  .top-bar .submenu {
    border: none;
    display: none;
    background-color: #6E5E52;
    min-width: 247px;
  }
   .top-bar .submenu.js-dropdown-active {
    display: block;
  }
  .top-bar .submenu li {
    display: block;
  }
  .top-bar .submenu li > a {
    /* Regular link in dropdown */
    background-color: #6E5E52;
    color: #fff;
    text-transform: none;
  }
  .top-bar .submenu li > a:hover {
    /* Dropdown link on hover */
    background: transparent;
    color: #ccce4a;
  }
  .top-bar .is-dropdown-submenu .is-dropdown-submenu {
    margin-top: 0px;

  }
  .top-bar .is-dropdown-submenu .is-dropdown-submenu li a {
    /* Styles for 2nd level dropdown menu link */
  }

  /* 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: 768px) {
  .logo img {
    max-height: 160px;
  }
  .header-icons{
    text-align: center;
  }
  .header__buttons a{
    margin-right: 0;
    font-size: 34px;
  }
  #home-slider .slider-caption__text p{
    font-size: 18px;
  }
  section.services{
    text-align: center;
    padding-bottom: 0;
  }
  .services__item a.service-button{
    padding: 15px 12px;
  }
  .services__item{
    margin-bottom: 40px;
    display: inline-block;
    text-align: center;
  }
  .footer-sidebar.partners .partner-logo{
    text-align: left;
  }
    .for-partners__video-wrap{
    padding-bottom: 337px !important;
  }
  .favorites-news__pic{
    max-width: none;
    margin-top: 20px;
  }
  .favorites-news__item{
    max-width: none;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  section.news-with-soc .row{
    padding-top: 0;
  }
  .favorites-news__pic img {
    height: 100%;
    width: 100%;
  }
  .news-with-soc__socials a span{
    display: none;
  }
  .news-with-soc__socials li{
    text-align: center;
    width: 32.4%;
  }
  .subsc-button__wrap a.subsc-button{
    padding: 13px 26% 13px 15px;
    font-size: 16px;
  }
  .partners-slider .slick-slide h3{
    font-size: 18px;
  }
  .template-page h1{
    font-size: 40px;
  }
  .subscribe_button_widget a.subsc-button
  {
    padding: 24px 15px 30px 22px;
  }
  .subscribe_button_widget a.subsc-button i{
    display: none;
  }
  .post_object_widget {
    padding: 15px 10px;
  }
  .post_object_widget .cpt__title a{
    font-size: 16px;
  }
  .post_object_widget div.cpt__content{
    font-size: 14px;
  }
  .post_object_widget a.cpt__link{
    font-size: 14px;
  }
  .posts-list article h3{
    font-size: 24px;
  }
  .posts-list a.more-button{
    font-size: 14px;
  }
  .template-page p{
    font-size: 14px;
  }
  .widget-children-pages:before{
    width: 190px;
  }

}
@media only screen and (min-width: 769px) and (max-width: 1024px) {
  /* min-width 641px and max-width 1024px, use when QAing tablet-only issues*/
  .header-icons{
    text-align: center;
  }
  .logo{
    left: 15px;
  }
  .logo img {
    max-height: 105px;
  }
  .header__buttons a{
    margin-right: 0;
    font-size: 34px;
  }
  section.services{
    text-align: center;
    padding-bottom: 0;
  }
  #home-slider .slider-caption__text p{
    font-size: 18px;
  }
  .services__item{
    margin-bottom: 40px;
    display: inline-block;
    text-align: center;
  }
  .services__item a.service-button{
    padding: 15px 12px;
  }
  .favorites-news__pic{
    margin-top: 20px;
  }
  .favorites-news__pic img {
    height: 100%;
    width: 100%;
  }
section.news-with-soc .row{
    padding-top: 0;
  }
  .favorites-news__pic{
    max-width: none;
  }
  .favorites-news__item{
    max-width: none;
    margin-bottom: 20px;
        margin-top: 20px;
  }
  .news-with-soc__socials li{
    text-align: center;
    width: 32.6%;
  }
  .news-with-soc__socials a span{
    display: none;
  }
  .subsc-button__wrap a.subsc-button{
    padding: 13px 36% 13px 15px;
    font-size: 16px;
  }
  .subsc-button__wrap a.subsc-button i{
    display: block;
  }
  .for-partners__video-wrap{
    padding-bottom: 307px !important;
    padding-left: 15px;
  }
  .partners-slider .slick-slide h3{
    font-size: 22px;
  }
  .subscribe_button_widget a.subsc-button
  {
    padding: 24px 15px 30px 22px;
  }
  .subscribe_button_widget a.subsc-button i{
    display: none;
  }

  .footer-sidebar.partners .partner-logo{
    text-align: left;
  }
}

/*-=Large screens=-*/
@media only screen and (min-width: 1025px) and (max-width: 1200px){
  .top-bar .header-menu li > a{
    padding: 3px 10px;
    font-size: 18px;
  }
  .top-bar .header-menu li.has-dropdown > a{
    padding: 3px 10px;
  }
  .header__buttons a{
    font-size: 34px;
  }
  .services__item a.service-button{
    font-size: 34px;
  }
  .favorites-news__item{
    padding-right: 15px;
  }


  .subscribe_button_widget a.subsc-button i {
    font-size: 38px;
    position: absolute;
    bottom: auto;
    right: 10px;
    top: 25px;
  }
  .post_object_widget div.cpt__content{
    font-size: 15px;
  }
  .post_object_widget a.cpt__link{
    font-size: 14px;
  }
  .news-with-soc__socials a i{
    font-size: 1.5em;
  }
  /*min-width 1025px, large screens*/
}
@media only screen and (min-width: 1201px) {
  /* min-width 1201px, large screens*/
  .post-pic{
    padding-right: 50px;
  }
}
@media only screen and (min-width: 1201px) and (max-width: 1280px) {
  /* min-width 1201px and max-width 1280px, use when QAing MacBook issues */
}
