/*
 * responsive.custom.css is for custom media queries that are not set via the
 * theme settings, such as cascading media queries.
 *
 * By default all the other responsive stylesheets used in Adaptivetheme use a
 * "stacking method", however cascading media queries use a waterfall method so
 * you can leverage the cascade and inheritance for all browsers that support
 * media queries.
 *
 * @SEE http://zomigi.com/blog/essential-considerations-for-crafting-quality-media-queries/#mq-overlap-stack
 *
 * NOTE: this file loads by default, to disable go to your theme settings and
 * look under the "CSS" settings tab.
 */


@media only screen and (max-width: 1024px) and (min-width: 769px){

	body {
		font-size: 93.8%;
	}
	.panels-flexible-region-ninds_home_page-home_page_slider, .homepage-hero .block-home-page-slideshow  {
		float: left;
		width: 60.2665%;
	}
	.logoInline {
		top: -60px

	}

	#-ninds-medicine-cabinet-form select{
	    width: 70%;
	}
	#-ninds-medicine-cabinet-form  .form-submit{
			  margin: -23% 0 25% 0;
	}

}

/* Setting the breakpoint of the mobile menu */

@media only screen and (max-width: 768px) {
    /*
   * Float Region Blocks - custom media query CSS example:
   *
   * Float regions blocks is an Extension you can enable in the appearance
   * settings for your theme. This feature allows you to automatically float
   * blocks in regions, you can switch it on and off depending on your
   * requirements. For design purposes you many want to remove the floats for
   * devices where the entire theme is just one column - for example small
   * mobile phones. The following CSS is inside the custom media query:
   *
   *   @media only screen and (max-width: 480px){}
   *
   * This will target devices with a maximum width of 480px - most small phones.
   * In these smaller screen sizes we can remove the float and widths so all
   * blocks stack instead of displaying horizonally. The selector used is an
   * "attribute selector" which will match on any float block class. Use your
   * inspector or Firebug to get the classes from the page output if you need
   * more granular control over block alignment and stacking.
   */
    /*////////////////////////////////////////TakeMeTo MOBILE//////////////////////////////*/
		h1{
			margin-top: .5em;
		}
		.region-sidebar-first {
		    width: 100%;
		}
	.breadcrumb{
		display:none;
	}

	#block-tb-megamenu-menu-ninds-main-menu {
		display: none;
	}

	#megamenu-mainmenu {
		display: none;
	}

	.container {
		margin: 0;
		padding: 0;
	}

/*landing page row width*/
#landingpage-main-content {
	padding-right: 0;
}
.landing-page-image{
	width:35%;
	min-width:100px;
}
.landing-page-item{
	width:65%;
}
/*Home Page*/

	.tmt{
		width:100%;
	}

	.tmt img {
		width: 20px;
		height: 20px;
	}



.tmt a{
   font-size: 28px;
}




	.panels-flexible-ninds_home_page .panels-flexible-row {
		padding: 0 0 0em 0;
	}
.panels-flexible-region-ninds_home_page-home_page_slider, .panels-flexible-row-ninds_home_page-1-inside, .homepage-hero{
	height:200px;
}
.homepage-directorsmessage-container{
	margin-bottom:10px;
}


.ninds-two-tab-image {
    width: 100%;
    height: 150px;
	display:block;
}





.ninds-two-tab-content{
	display:block;
}

.ninds-two-tab-view{
	width: 100% !important;
	display:block;
	padding-left: 0px !important;
}

  .panels-flexible-column-ninds_home_page-3 {
    float: none;
    width: auto;
    display: block;
  }

  .ninds-two-tab-image {
    width: 100%;
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

	.ninds-two-tab-image img{
		height: 150px;
	}
  .tabcontent {
    position: absolute;
    border: none;
  }

  .panels-flexible-region-ninds_home_page-home_page_slider, .homepage-hero .block-home-page-slideshow {
    float: none;
    width: 100%;
  }

 .homepage-news-events .ninds-two-tab-view {
    padding-bottom: 10px;
    padding-top: 25px;
  }

  .ninds-two-tab-content {
    padding: 0;
    padding-left: 5px;
    display: block;
    border-bottom: solid 1px #d7d7de;
    padding-bottom: 20px;
    float: none;
    width: 100%;
  }

  .ninds-two-tab-view {
    border-left: none  !important;
  }

  .ninds-two-tab-view .more-link {
    text-align: inherit;
    font-weight: bold;
    color: #103881;
    width: 160px;
  }

	.homepage-news-dir .link-spacing, .homepage-news-dir .more-link {
	    padding-left: 0px;
	}

  .panels-flexible-region-ninds_home_page-home_page___news_from_ninds___region .block-title {
    font-weight: bold;
  }

  .ninds-two-tab-content .field-items h2, .ninds-two-tab-content h2 {
    font-weight: bold;
    color: #103881;
    padding-top: 25px;
  }

  /*
  .more-link a:after {
    content: none;
  }
  */

  .ninds-two-tab-content .field-items p a, .ninds-two-tab-content p a  {
    font-weight: bold;
    color: #103881;
    background-image: url(../images/arrow-right-purple.png);
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 30px;
    background-size: 18px;
    transform: scale(1.0);
  }

  .panels-flexible-ninds_home_page .panels-flexible-region {
  }

  .panels-flexible-region-ninds_home_page-home_page___news_from_ninds___region .block-title {
    padding-left: 5%;
  }


  .homepage-directorsmessage-title {
    background-color: white;
    font-weight: bold;
  }

  .homepage-directorsmessage-col1 {
    float: none;
    width: 150px;
    heighT: 150px;
    overflow: hidden;
  }

  .homepage-directorsmessage-col2 {
    float: none;
    width: 100%;
  }

  .homepage-directorsmessage-col2 h2 {
    font-weight: bold;
    color: #103881;
  }

  .homepage-directorsmessage-col3 {
    width: 100%;
    float: none;
    font-weight: bold;
    color: #103881;
    border-left: none;
  }

  .homepage-directorsmessage-col3 a:after {
    font-weight: bold;
    color: #103881;
    background-image: url(../images/arrow-right-purple.png);
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 30px;
    background-size: 18px;
    transform: scale(1.0);
    content: "";
  }

  .homepage-directorsmessage-container {
    border: none;
  }

  /*/////MOBILE LIST VIEW /////*/

 .view-all-disorders .ninds-list-title {
	  padding-bottom:10px;
  }

    /*//////////////////////BANNER MOBILE IMAGE //////////////////*/

  .panels-flexible-row-ninds_home_page-1 {
		background-color: #0c257a;
        background-image: url(../images/hero_banner2.jpg);

  }

.bean-banner-title{
	background-color:#103881;
    color: white !important;
	font-family:"EB Garamond";
	line-height:100%;
	font-weight:normal !important;
	margin-top:0px;
	padding: 15px;
	margin-bottom: 10px;
}
.bean-banner-container{
	height:100%;
}



    /*///////////////////////////END BANNER MOBILE IMAGE////////////////*/

/*END HOME PAGE*/

 /*//////////////////////////search mobile slider elements//////////////////////////*/

    #header {
    position: sticky;
    position: -webkit-sticky;
    top: 0px;
    background: white;
    z-index: 9999;
    padding-top: 6px;
    padding-bottom: 4px;
    }

    .hidden-search-bar{
    padding: 15px 0 14px 4px;
    background-color: #e7e6e2;
    border-bottom: 2px solid #ccc;
    border-top: 2px solid #ccc;
    position: fixed;
    z-index: 100;
    left: 0;
    text-align: center;
    width: 100vw;
    }

    #branding{
        display: none;
    }

    .form-text{
        border: 1px solid #999;
    }

    .container .mobile-search{

        display: inline-block;

    }

    .search-image{
    float:right;
    top: -30px;
    width: 62px;
    height: 27px;
    border: 0;
    cursor: pointer;
    }

    .logoInline {
    	top: 0;
			float: left;
			margin-top: 0px;
		}
    .menuInlineMob {
    font-size: 15px;
    }

    .searchInlineMob{
    float: right;
    font-size: 15px;
    padding: 2px 25px 0px 0;
    }

    .search-slider-button:hover{
    background: #a74592;
    !border: solid #f0f0f0 2px;
    color: white;
    border-radius: 3px;
    text-decoration: none;
    }

    .search-slider-button{
    text-decoration: none;
    background-color: #eee;
    color: #a74592;
    height: 39px;
    font-family: 'Source Sans Pro',sans-serif;
    font-weight: bold;
    width: 95px;
    padding-top: 2px;
    border-radius: 3px;
    border: 2px solid #a74592;
    }

    .search-image-slider{
     position: relative;
    float:right;
    top: -30px;
    }

    .search-text{
    width: 65% !important;
    height: 39px;
    }




    #query { /* digital gov search form input text box */
	border-radius: 3px 3px 3px 3px;
    }

    .wrapLogoMob{
        padding: 10px 0 0 0;
        margin: 10px 5px 0 0;
    }
  /*//////////////////////////search mobile slider elements end//////////////////////////*/

/*//////////////////Training/////////////*/

.TC-nav-object-mobile{
	 background-color:#a74593;
	 border:2px solid #eee;
	 text-align:center;
	 position:relative;
	 height:50px;
	 border-radius:4px;
}
.TC-nav-object-mobile a{
	text-decoration:none;
	color:white;
	!height:50px;
	!display:table-cell;
	!vertical-align:middle;
	 margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
}
.TC-object-last > div{
	margin-top:30px;
}

.TC-object-last > div:first-of-type, .TC-object-last .clearfix{
	margin-top:0;
}

.TC-inline-nav {
	display:none;
}
.TC-nav-mobile{
	display:block;
}
/*///////////END TRAINING //////////////////*/
/*///////////////////////////////Translational research //////////////*/
.tr-2-col-header .three-column{
	width:100%;
}
.dt-row-right{
	padding:10px;
	margin:0;
	width:100%;
}
.dt-row-left{
	display:none;
}
.TC-object{

	width:100%!important;
}
.TC-nav{
	width:100%!important;
}
.TC-nav-object{
	min-width:32%;
}
#tc-nav-4:before{
	border:none!important;
}


/*///////////////////////////CLINICAL TTRIALS /////////////////*/
/*///////////////////////////CLINICAL TTRIALS /////////////////*/
/*///////////////////////////CLINICAL TTRIALS /////////////////*/


#edit-field-disorders-taxonomy-tags-tid-wrapper label, #edit-province-wrapper label{
	!display:none;
}
#views-exposed-form-find-ninds-clinical-trials-page #edit-province
/* endora #views-exposed-form-find-ninds-clinical-trials-page  #edit-field-disorders-taxonomy-tags-tid*/{
	width:240px;
}
#edit-submit-find-ninds-clinical-trials{
	width:135px!important;
}
#views-exposed-form-find-ninds-clinical-trials-page .reset-link{
	!margin-top:30px;
}
.bef-tree{
            display: inline;
}
/*///////////////////////////CLINICAL TTRIALS /////////////////*/
/*///////////////////////////CLINICAL TTRIALS /////////////////*/
/*///////////////////////////CLINICAL TTRIALS /////////////////*/

  /*/////////////////////////FOA Announcements////////////////////*/

  .page-funding-find-funding-opportunities #main-content-header{
	 margin-top:10px;
  }

 .page-funding-find-funding-opportunities #edit-submit-ninds-bios-block-view{
	  margin-top:10px!important;
	  margin-right:20px;
  }
  .funding-opps-search .form-text {
	  width:85%;
  }
  .funding-opps-search .form-submit{
	  margin-left:0px!important;
  }
 .page-funding-find-funding-opportunities .reset-link{
	 display:block;
	 margin-top:15px;
	 margin-bottom:20px;
 }
 .view-funding-announcement .views-exposed-form .views-exposed-widget{
	 width:100%;
 }
 .foa-item{
	 width: 100%;
	 margin-bottom: 15px;
	padding-left: 15px;
	}

 #edit-term-node-tid-depth-wrapper, #edit-field-foa-announcement-type-value-wrapper{
	 width:100%;
 }

  /*/////////////////////END FOA ANNOUNCEMENTS ////////////////*/

/***************** DECISION TREE CSS UPDATE **********************/

.dtBoxQuestion{
	width: 100%;
}

/***************** DECISION TREE CSS UPDATE **********************/


    /*//////////////////////////Accordion mobile//////////////////////////*/
   /*
  .accordion input:checked ~ .article.ac-large {
    margin-bottom: 25px;
  }
  */
  .panels-flexible-region-inside .panels-flexible-region-ninds_home_page-home_page___resources_for_region-inside {
	  margin-top:-50px;
  }
    /*///////////////////////////Accordion Mobile End//////////////////////*/

  .panel-separator {
    margin: 0 !important;
  }

  .region[class*="float-blocks"] .block,
    .panels-flexible-column {
    float: none;
    width: 100%;
  }

  #content,
  #content .panel-display,
  #content .panel-flexible {
    margin-left: 0;
    margin-right: 0;
  }



  .FooterBoxPad {
    padding-left: 10px;
    padding-top: 10px;
  }

  .FooterBox {
    padding-bottom: 20px;
    padding-left: 20px;
    width: 100%;
  }

  .region-footer{
	  padding-left:0;
  }

  .socialBoxIcon {
  }

  .socialIconMobile {
    width: 5%;
    height: 5%;
  }

  #leftLogo,
    #rightLogo {
    display: inline-block;
  }

	.wrapLogo {
		display:none;
	}

	.wrapLogoMob{
		display:block;
		margin: 0 15px;
	}


	.menuInlineMob{
			float:right;
	}






.search-label{
		display:none;
}

.search-image {
    position: relative;
    float:right;
    top: -30px;

}

.search-text{
	width:100%;
}

#site_search {
    display: block;
	width: 100%;
    margin-top: 10px;
}

.header-search{
		display:block;
		width:100%;
}

.alphaSearch button{
	border-top-right-radius:0px;
	border-bottom-right-radius:0px;

}

	.alphaContainer {
			display:none;
	}

	.ABCMobileSlider{
		background-color: #a74593;
		height:75px;
	}
	.ABC_letter {
		float:left;
		width:12%;
		text-align:center;
	}

	.ABC_letter a{
		font-size:35px;
	}
	.ninds-list-register a, .events-register a, #edit-submit-ninds-bios-block-view, .events-search .form-submit, .events-register{
		float:left;
	}
	.events-search #edit-submit-ninds-bios-block-view{
	float:none!important;
	}
	.field-name-field-link-to-register-for-event{
		padding-left:28px;
		padding-top:10px;
	}

	 #edit-submit-ninds-bios-block-view, #edit-submit-ninds-program-directors-bios-view{
		margin-top:15px;
 }


  /*********************************DISORDER PAGE***************************************/
	.disorder-card {
		width:96%;
		height:360px;
		margin-bottom: 50px;
	}

	.disorder-card:nth-child(odd) {
		float: left;
	}

	.disorder-card:nth-child(even) {
		float: left;
	}

	.disorder-page-nav-text{
		display:none;
	}

	.dis-pop-cont {
		width: 90%;
		}
		.disorder-page-nav-image{
			margin-top:15px;
		}

input#search-text-disorders {
    width: 55%;
}
/*
.print-icon, .show-read-more-research, .disorder-card, .disorders-action, .disorder-page-nav{
	display:none;
}*/

.print-icon, .disorder-card, .disorders-action, .disorder-page-nav, .dis-research-acc-min1, .show-read-more-research{
	display:none;
}

.disorder-secondary-header .btnSearch{
margin-left:0px;
margin-top:10px;
}
.disorders-action-mobile, .dis-res-mob{
	display:unset;
}
.dis-header-research{
	width:100% !important;
}
.disorder-body-mobile {
		display:unset;
		margin-bottom:40px;
}
.dis-research-mob{
	margin-bottom:none!important;
}
.disorder-body-mobile p, .disorder-body-mobile .field-item{
	background-color:white;
	padding:0px 0px 15px 0px;
	margin-top:0px;
	margin-bottom:0px;
}
.dis-research-acc-plus, .dis-research-acc-min{
    font-family: 'Source Sans Pro', sans-serif !important;
	padding-left:5px;
}


a.dis-research-acc-plus:before, a.dis-research-acc-min:before {
    color: #888;
	text-decoration:underline white;
}
#search-text-disorders{
	width:auto;
}
.search-disorder{
	width:100%!important;
}
.disorder-body-mobile .field-item{
	margin-bottom:50px !important;
}
#disorders-row2 .disorder-body-mobile:nth-child(4) .field-item,
#disorders-row3 .disorder-body-mobile:nth-child(4) .field-item
{
	margin-bottom: 0px!important;
}
.disorders-research-header{
	margin-top:20px;
}
.disorders-research-header .disorder-body-mobile .field-name-field-disorders-research .field-items .field-item{
	margin-bottom:0px !important;
}
#view-fact-sheet-pop, #view-hope-through-research-pop{
        background-color: Transparent;
        border: none;
        cursor:pointer;
        outline:none;
        margin-top:0;
        color: #103881;
    	height:30px;
    	font-weight:bold;
		text-decoration:none;
    }

.disorder-body-mobile .field-name-field-disorders-treatment .field-item{
	margin-bottom:0px !important;
}
.disorder-row{
	padding:52px 0px 0px 0px;
}
.disorder-main{
	background-color: white;
}
.disorder-row ul{
	margin-top: 0;
}

  /*********************************2 column***************************************/

	.two-column {
		width: 100%;
		margin-bottom: 15px;
		padding-left: 15px;
	}

	.bean-lp-banner-first{
		width: 100%;
	}

	.bean-lp-banner-second{
		width: 100%;
		padding: 20px 0;
	}


/*Mobile Menu*/
  	.mmenu-nav.mm-basic {
		background-color: #ffffff;
		border-left: 1px solid #d7d7d7;
	}
	.mmenu-nav.mm-basic {
		text-shadow: none;
	}
  	.mm-menu .mm-list,
	.mm-menu .mm-list .mmenu-block-wrap > span,
	.mmenu-nav.mm-basic.mm-vertical li.mm-opened > ul {
		margin: 0;
		padding: 0;
	}
	.mmenu-nav.mm-basic > .mm-list li {
		border: 0 none;
		border-bottom: 1px solid #d7d7d7;
	}

	.mmenu-nav.mm-basic.mm-vertical li.mm-opened > a.mm-subopen,
	.mmenu-nav.mm-basic.mm-vertical li.mm-opened > ul {
		background-color: transparent;
	}


	ul.menu li.active a, ul.menu li.active-trail a:before {
		color: #fff;
		margin-left: 0;
		border-left: 0;
		padding-left: 0;
	}

	.mm-subopen{
	border:none !important;
	}

	ul.menu li.active-trail a{
	 margin-left:0px;
	 border-left:none;
	}
 	.expanded ul.menu li.active-trail a{
	margin-left:-8px;
	}
	ul.menu  .menu-depth-1 a.active-trail{
    border-left: 4px solid #a74593;
	}


	ul.menu > li.active > a {
		color: #103881;
	}

	.mmenu-nav.mm-basic > .mm-list li > a:not(.mm-subopen):not(.mm-subclose):not(.mm-fullsubopen) {
		padding: 10px 10px;
	}

	.menu-depth-1 {
		background-color: #ffffff;
		font: bold 18px Source Sans Pro;
		color:#103881;
		text-transform: uppercase;
		padding: 18px 25px;
		margin:0px;
	}

	.menu-depth-1 a{
		text-decoration:none;
		color:#a74593;
	}
	ul.menu >  li.menu-depth-2 > a
{
		color:white !important;
	}

	.mmenu-nav.mm-basic > .mm-list li.menu-depth-2 {
		border-color: #a74593;
	}
	.menu-depth-2 {
		background-color: #833775;
		font: bold 18px Source Sans Pro;
		color:#fff;
		text-decoration:none;
		padding: 0 25px;
		margin: 0;
		text-transform:none;
	}
	.menu-depth-2 a{
		text-decoration:none;
		color:white;
		padding-left:20px;
	}

	.mmenu-nav.mm-basic > .mm-list li.menu-depth-3 {
		border: 0 none;
	}
	.menu-depth-3 {
		background-color: #a74593;
		font: normal 16px Source Sans Pro;
		color:#fff;
		text-decoration:none;
		padding: 0;
		margin:0;
	}
	.menu-depth-3 a{
		text-decoration:none;
	}

	.mmenu-nav.mm-basic > .mm-list li.menu-depth-3 > a:not(.mm-subopen):not(.mm-subclose):not(.mm-fullsubopen) {
		padding: 8px 10px;
	}
	.mmenu-nav.mm-basic > .mm-list li.menu-depth-3 ul {
		border-top: 1px solid #ca8fbe;
		border-bottom: 1px solid #ca8fbe;
	}
	.menu-depth-4 {
		color:#fff;
		text-decoration:none;
		padding: 0;
		margin: 0;
		border-top: 0 !important;
		border-bottom: 0 !important;
	}
	.menu-depth-4 a{
		text-decoration:none;
	}
	.mmenu-nav.mm-basic > .mm-list li.menu-depth-4 > a:not(.mm-subopen):not(.mm-subclose):not(.mm-fullsubopen) {
		padding: 8px 10px 8px 30px;
	}
	.mmenu-nav.mm-basic > .mm-list li > a:not(.mm-subopen):not(.mm-subclose):not(.mm-fullsubopen)
	.mmenu-nav.mm-basic.mm-vertical li.mm-opened > ul {
		padding: 0;
	}
	.mm-menu.mm-vertical .mm-list > li > a.mm-subopen, .mmenu-nav.mm-basic.mm-vertical li.mm-opened > a.mm-subopen{
	width:100px;
}

	ul li.leaf {
		padding-bottom: 0;
	}



	.mmenu-nav.mm-basic > .mm-list li {
		border-top: 0px;
		border-bottom: .5px solid #dedede;
	}



	.region-sidebar-first .block-menu-block{
			display:none;
	}

	.slideshow-slide p{
		display:none;
	}

	/*Sly slider - Mobile Alpha Slider*/
	.slywrap {
		display:block;
	}

	.ss-container {
		width: 100%;
	}

	/*Right Rail*/
	.region-sidebar-second {
		width:100%;
	}

	/* Inline content block with float*/
	.inline-content .float-left{
	    width: calc(100% - 120px);
	}

	/*Adaptive Theme - Display*/
	.ds-2col-stacked > .group-left {
		float: left;
		width: 100%;
	}
	.ds-2col-stacked > .group-right {
		float: left;
		width: 100%;
	}
	#cboxLoadedContent{
		max-height: 90vh !important;
	}

	#cboxWrapper{
		height: 90vh !important;

	}
/** Medicine Cabinet !!!**/
	.node-type-medicine-cabinet-therapy object, hr.vertical{
		display:none;
	}
	.node-type-medicine-cabinet-therapy .medicine-header a{
		float: left;
    width: 50%;
    text-align: center;
	}
	.node-type-medicine-cabinet-therapy .medicine-header {
		position: sticky;
		position: -webkit-sticky;
		position: -moz-sticky;
		position: -ms-sticky;
		position: -o-sticky;
    top: 86px;
    z-index: 999;
    background: white;
    height: 110px;
		padding:0;
	}

	.node-type-medicine-cabinet-therapy .region-sidebar-first,.node-type-medicine-cabinet-therapy .region-secondary-content, .medicine-title{
		position: initial!important;
		height: auto;
		margin-bottom: 0;
	}

	.inline-nav .inline-nav-item, .inline-nav .nav-title{
		width:100%;
		min-height: initial;
	}
	.inline-nav{
		padding: 5px 0px;
	}
	.inline-nav .nav-title{
		width:inherit;
	}

	.node-type-medicine-cabinet-therapy .columns > div:nth-child(2){
		display:none;
	}

	#-ninds-medicine-cabinet-form{
		width:100%;
		padding: 10px 20px;
	}
	#-ninds-medicine-cabinet-form select{
		float:none;
		width:100%;
		max-width: none;
	}

	#-ninds-medicine-cabinet-form .form-type-select{
		padding: 20px 20px 50px 20px;
		position: initial;
		width: 100%;
		margin:0
	}
	#-ninds-medicine-cabinet-form .form-submit {
		float: left;
    margin-top: -60px;
    position: initial;
    margin:-45px 0 0 20px;
	}

	.node-medicine-cabinet-therapy #-ninds-medicine-cabinet-form .form-submit {
		float:none!important;
		margin-top:10px!important;
		margin-left:0;
	}

	.field-name-field-therapy-timeline-item  .field-item .timeline{
		height:auto;
		min-height:auto;
	}
	.node-medicine-cabinet-therapy .dates .field-name-field-therapy-timeline-item  .field-item{
		min-height:inherit;
	}
	.field-name-field-therapy-timeline-item .field-item.odd .timeline{
		float:none;
	}
	.field-name-field-therapy-timeline-item .field-item .date{
		 margin-top: 2%;
	}
	.field-name-field-therapy-timeline-item .field-name-field-body{
		padding-top:15px;
	}

	.node-type-medicine-cabinet-therapy .anchor{
		top:-400px
	}
	.field-name-field-therapy-timeline-item .field-item .date.end-date{
		float:none;
		padding-top: 20px;
    padding-left: 5px;
	}

	.field-name-field-therapy-timeline-item  .field-item .timeline.body{
		margin-bottom:10px;
		font-family: 'Source Sans Pro', sans-serif;
		font-size: 16px;
		padding-top:10px;
	}

	.field-name-field-therapy-timeline-item .timeline.image img{
		height:auto;
	}
	.node-type-medicine-cabinet-therapy .inline-nav a:hover{
	  color:black!important;;
	}
	.inline-nav .inline-nav-item:hover{
		background:transparent;
	}
	.inline-nav .inline-nav-item.active{
		background:#a74593;
		color:white;
	}
	.field-name-field-therapy-timeline-item .field-item .date{
		padding-top: 35px;
		font-size: 25px;
		line-height: 27px;
	}
	.timeline .date{
		height:100px;
		width:100px;
	}

	/*** Focus On ***/
	.focuson-resourcestools{
		margin-right: 0;
	}
	/*** Social Media Page ***/
	.social-box{
        display:block;
        max-width: 100%;
    }
    .social-box:not(:last-child){
        margin-bottom: 20px;
    }
    .social-box p:last-child{
        margin-bottom: 30px;
    }

	/**
		* NINDS Organization
		*/
		.organization-parent{
			display:block;
			float:left;
		}
		.organization-parent.odd{
			clear:left;
		}
		.organization-parent-item{
			padding: 16px 13px 15px 15px;
		}
		.organization-child-container{
			width:100%;
		}
		.organization-child{
			padding: 15px 4px 9px 4px;
		}
		hr.vertical.organization-rule{
			display:block;
		}

		/***================================
			* News Node
			*================================*/

	.news-body{
		width:100%;
		padding-right:0;
	}

	.news-images{
		width:100%;
		padding-left:0;
	}

/*Medicine cabinet mobile picture*/

    .ninds-image img {
      max-height: none;
    }
    .float-right.col-sm-5.col-xs-12.ninds-image {
    padding-right: 0px;
    padding-left: 0px;
    }

		/***================================
	    * Video Objects
	    *================================*/

			.media_embed object.videocast{
			  width: 100%;
				height: 300px;
			}

			/***================================
			  * CKEditor Template Styles
			  *================================*/
			.image-50-percent-mobile{
				max-width: 50%!important;
				margin-right: auto;
				margin-left: auto;
				display: block;
			}
			.purple-border-box{
				width: 100%;
			}

			/***================================
			  * Slick carousel
			  *================================*/
			.slick.image-gallery-preview{
				height: 300px;
			}
			.image-gallery-preview .media{
				height: 300px;
			}

	/***** Sidebar Update Carousel ******/
	#block-views-sidebar-update-carousel-block{
	  width: 100%;
	}
	#sidebar-update-carousel .carousel-control .glyphicon {
    top: 50%;
	}
}

@media only screen and (max-width: 480px) {
	.slideshow h2{
		font-size: 21px;
	}
	.ss-container, .slideshow.homepage{
		height: 160px;
	}
  .purple-border-box {
		align-items: flex-start;
	}
	  /*********************************BIO STAFF POPUP***************************************/
	#colorbox{
		width:100% !important;
	}
	#cboxWrapper{
		height:640px !important;
		width:100% !important;
	}
	#cboxContent, #cboxLoadedContent{
		width:100% !important;
	}
	#bios-header-container{
		height:151px;
	}

	#bios-header{
		padding-top:9px;
		padding-left:137px;
		padding-right:19px;
		padding-bottom:19px;
	}

	.left-bios-image{
		width:118px;
		height:151px;
		float:left;
	}
	.left-bios-image img{
		width:118px;
		height:151px;
		object-fit: cover;
	}

	#bio-contact-row {
		display:none !important;
	}

	#bio-contact-row-mobile {
		background-color:#ECECEC;
		display:block !important;
	}

/*********************************END BIO STAFF POPUP**************************************/


	/* ===================================*
	* Mobile Tables                       *
	* ====================================*/
	.nindstable tr,
	.nindstable tbody,
	.nindstable td{
		display:block;
	}
	.nindstable thead{
		display:none;
	}
	.nindstable td:before{
		position: absolute;
		left: 20px;
		padding-right: 10px;
		white-space: nowrap;
		font-weight: bold;
	}
	.nindstable td{
		padding-left: 30%;
	}
	div.view-otr-projects td{
		padding-left: 28%;
	}
	div.view-otr-projects table{
		margin-top: 5px;
	}
	div.view-otr-projects div.views-widget-sort-by{
		display: inline;
	}
	div.view-otr-projects td:nth-of-type(1):before {
		content: "Title";
	}
	div.view-otr-projects td:nth-of-type(2):before {
		content: "Indication";
	}
	div.view-otr-projects td:nth-of-type(3):before {
		content: "Institution";
	}
	div.view-otr-projects td:nth-of-type(4):before {
		content: "Modality";
	}
	div.view-otr-projects td:nth-of-type(5):before {
		content: "PI";
	}

	.page-node-15916 .nindstable td:nth-of-type(1):before{
		content: "Program";
	}
	.page-node-15916 .nindstable td:nth-of-type(2):before{
		content: "Sponsor";
	}
	.page-node-15916 .nindstable td:nth-of-type(3):before{
		content: "Purpose";
	}
	.page-node-15916 .nindstable td:nth-of-type(4):before{
		content: "Website Link";
	}
	.page-node-15916 .nindstable td:nth-of-type(5):before{
		content: "Mechanism";
	}
	.page-node-15916 .nindstable td:nth-of-type(6):before{
		content: "Amount";
	}
	.page-node-15916 .nindstable td:nth-of-type(7):before{
		content: "Eligibility";
	}

		.award-sup.nindstable td:before{
		position: absolute;
    left: 20px;
    width: 45%;
    padding-right: 10px;
		white-space: normal;
		word-break: normal;
	}
		.award-sup.nindstable td{
			padding-left: 50%;
			min-height:100px;
	}

	.award-sup.nindstable 	 td:nth-of-type(2):before{
		content: "High School Students";
	}
	.award-sup.nindstable 	 td:nth-of-type(3):before{
		content: "Undergraduate Students";
	}
	.award-sup.nindstable 	 td:nth-of-type(4):before{
		content: "Baccalaureate/ Master's Degree Holders";
	}
	.award-sup.nindstable 	 td:nth-of-type(5):before{
		content: "Graduate (Predoctoral) And Health Professional Students";
	}
	.award-sup.nindstable 	 td:nth-of-type(6):before{
		content: "Individuals in Postdoctoral Training";
	}
	.award-sup.nindstable 	 td:nth-of-type(7):before{
		content: "Investigators Developing Independent Research Careers";
	}

/* ===================================*
* Medicine Cabinet                    *
* ====================================*/

	.node-type-medicine-cabinet-therapy .columns > div:nth-child(2){
		display:none;
	}
	.inline-nav{
		width:100%;
	}

 /*//////////////////////////search mobile slider elements//////////////////////////*/

    .logoInline {
    float: left;
    position: relative;
    width: 45vw;
    margin-left: -5px;
    }


    .menuInlineMob {
    float: right;
    font-size: 12px;
    }

    .searchInlineMob{
    font-size: 12px;
    }
  /*//////////////////////////search mobile slider elements end//////////////////////////*/
	#wtph-survey {
		padding: 0 30px;
	}

	#survey-form h2#survey-q1 {
	    display: block;
	    margin-right: 25px;
	}
        /*//////////////////////////All disorder search bar mobile//////////////////////////*/
    #views-exposed-form-all-disorders-page input#edit-title{
      width: 100%;
       }
    /*//////////////////////////All Disorder Info Page Moboile//////////////////////////*/
    input#search-text-disorders {
    width: 90%;
}

}

@media only screen and (min-width: 769px){
    .mobile-search{
        display: none;
	}
	.dtBoxQuestion{
		width: 60%;
	}
}
/* Landscape */
@media only screen and (min-width: 320px) and (max-width: 812px) and (orientation: landscape) {
	.node-type-medicine-cabinet-therapy .medicine-header{
		height: 60px;
	}

	.node-type-medicine-cabinet-therapy .medicine-header a{
		width:25%;
	}
}
