html body{ min-width: 300px; }

#gdlr-main-navigation{ display: block; }
#gdlr-responsive-navigation{ display: none; }

@media only screen and (max-width:1220px) {
body .container {max-width:1040px}
}

@media only screen and (max-width:1120px) {
body .container {max-width:960px}
}



/*--- tablet ---*/
@media only screen and (max-width: 959px) {
  body .container{ max-width: 810px; }	
	body .body-wrapper.gdlr-boxed-style { max-width: 808px; }
	
	.flex-direction-nav .flex-prev,
	.flex-direction-nav .flex-next { opacity: 1; }
	
	.gdlr-header-style-1 .gdlr-logo{ float: none; margin: 35px auto 10px; }
	.gdlr-header-style-1 .gdlr-navigation { margin-top: 0px; float: none !important; 
		display: block; text-align: center; line-height: 0; }
	.gdlr-header-style-1 .gdlr-navigation > ul.sf-menu{ display: inline-block; float: none; 
		line-height: 1.7; text-align: left; }
	.gdlr-header-style-1 .gdlr-main-menu > li > a{ padding-bottom: 20px; }
	
	.gdlr-navigation-wrapper .gdlr-main-menu > li > a{ padding-left: 10px; padding-right: 10px; }
	.gdlr-navigation-wrapper .top-social-wrapper { padding-top: 0px; position: absolute; margin-top: -30px; left: 0px; }
	.gdlr-header-style-2.gdlr-centered .gdlr-navigation .sf-menu{ float: left; }

	
}



@media only screen and (max-width:820px), screen and (max-device-width:768px) and (orientation:portrait){
  
  body .container{ max-width: 92%; }
	body .body-wrapper.gdlr-boxed-style { max-width: 460px; }
	body .body-wrapper{ overflow: hidden; }
	
	.one-ninth, .one-eighth, .one-seventh,.one-fifth,
	.two-fifth, .three-fifth, .four-fifth,
	.one, .two, .three, .four, .five, .six, .seven,
	.eight, .nine, .ten, .eleven, .twelve{ width: 100%; }	
  
  	/*--- top bar ---*/
	.top-navigation-container{ text-align: center; line-height: 1; }
	.top-navigation-left{ float: none; margin-bottom: 10px; line-height: 1.5; }
	.top-navigation-right{ float: none; line-height: 1.5; }
	.top-navigation-right-text{ float: none; padding: 10px 0px; }
	.top-social-wrapper{ float: none; margin-left: 0px; display: inline-block; padding: 0px; }
	.gdlr-nav-search-form-button-wrapper{ display: none; }	
	
	/*--- logo ---*/
	body .gdlr-logo{ float: none; display: block; margin: 0px;
		padding-top: 30px; padding-bottom: 30px; padding-right: 80px; }
	.gdlr-logo-right-text{ float: none; text-align: center; margin: 0px 10px 30px; }
	.gdlr-header-style-2.gdlr-centered .gdlr-logo{ display: block; }	
	.gdlr-header-style-2.gdlr-centered .gdlr-logo.gdlr-align-left,
	.gdlr-header-style-2.gdlr-centered .gdlr-logo.gdlr-align-right{ float: none; }
	.gdlr-logo-right-text.gdlr-align-left,
	.gdlr-logo-right-text.gdlr-align-right{ float: none; margin-bottom: 30px; margin-top: 0px; }
	.gdlr-header-search{ width: 100%; }
	
	#gdlr-main-navigation{ display: none; }
	#gdlr-responsive-navigation { display: block; height: 0px; position: static; float: none; }
	#gdlr-responsive-navigation .dl-trigger{ position: absolute; right: 20px; top: 50%; margin-top: -20px; }
	.gdlr-logo.gdlr-align-left #gdlr-responsive-navigation .dl-trigger,
	.gdlr-logo.gdlr-align-right #gdlr-responsive-navigation .dl-trigger{ top: 32px; margin-top: 0px; }
	.dl-menuwrapper .dl-menu, .dl-menuwrapper > .dl-submenu{ margin: 0px 15px; width: 390px; text-align: left; z-index: 999; }
	.dl-menuwrapper .dl-menu{ left: 0px; margin-top: 20px; }
  }


/* Styles for landscape orientation on tablets------- */
@media only screen 
  and (min-device-width:768px)
  and (max-device-width: 1024px) 
  and (orientation: landscape)  {
  
.column, .columns{ float: left; position: relative; min-height: 1px; }

.one-ninth{ width: 11.111%; }
.one-eighth{ width: 12.5%; }
.one-seventh{ width: 14.285%; }
.one-fifth{ width: 20%; }
.two-fifth{ width: 40%; }
.three-fifth{ width: 60%; }
.four-fifth{ width: 80%; }

.one{ width: 8.333% }
.two{ width: 16.666%; }
.three{ width: 25%; }
.four{ width: 33.333%; }
.five{ width: 41.666%; }
.six{ width: 50%; }
.seven{ width: 58.334%; }
.eight{ width: 66.667%; }
.nine { width: 75%; }
.ten { width: 83.334%; }
.eleven { width: 91.667%; }
.twelve{ width: 100%; }

  
.gdlr-header-style-2.gdlr-centered .gdlr-header-container {height:127px !important;}
    
.gdlr-header-style-2.gdlr-centered .gdlr-logo.gdlr-align-left {margin-top:0px !important;padding-top:0px !important;}
  
.gdlr-header-style-2.gdlr-centered .gdlr-logo.gdlr-align-left > a:first-child, 
.gdlr-header-style-2.gdlr-centered .gdlr-logo.gdlr-align-left > h1 > a:first-child{
    
  height: 115px;
  background: white;
  width: 140px;
  padding-left: 0px;
  padding-top: 12px;
  position: relative;
  display: inline-block;
  float: left;
    }
  
.gdlr-header-style-2.gdlr-centered .gdlr-logo.gdlr-align-left > a:first-child >img,
  .gdlr-header-style-2.gdlr-centered .gdlr-logo.gdlr-align-left > h1 > a:first-child > img{
    max-width:110px;}
  
.body-wrapper .gdlr-header-inner .gdlr-logo-right-text {
    top: -30px !important;
    position:relative !important;
    z-index:-1 !important;
    padding:50px 50px !important;
    }
    
 .gdlr-logo.gdlr-align-left #gdlr-responsive-navigation .dl-trigger {top:-110px !important;} 
  
  #gdlr-responsive-navigation.dl-menuwrapper .dl-menu {margin:-26px auto !important;}
  
  .gdlr-caption-wrapper .gdlr-caption .gdlr-caption-text { display: block !important; }
  
  /* Circle frame styling */
  
  #subpage_links_5 .columns:nth-child(4) .gdlr-item {padding-left:118px !important;}
  #subpage_links_5 .columns:nth-child(5) .gdlr-item {padding-right:118px !important;}
  
}


/*--- mobile landscape style and tablet portrait style 
---- This changes the media query from the parent style-responsive.css from 767px to 768px ---*/
@media only screen and (max-width: 768px) {
	
	/*--- stunning-text ---*/
	.gdlr-stunning-text-item{ text-align: center; }
	.gdlr-stunning-text-item.type-normal.gdlr-button-on{ padding-right: 0px; }
	.gdlr-stunning-text-item.type-normal .stunning-text-button{ position: static; margin-top: 0px; }
	.gdlr-stunning-text-item.with-padding.gdlr-button-on{ padding-right: 35px; }
	
	.gdlr-feature-media-item.gdlr-left .feature-media-thumbnail{ float: none; width: auto; margin-right: 0px;}
	.gdlr-feature-media-item .feature-media-icon { display: none; }
	html .woocommerce ul.products li.product, html .woocommerce-page ul.products li.product { width: 99% !important; }
	
	/*--- single page ---*/
	.gdlr-portfolio-style1 .gdlr-portfolio-description{ float: none; margin-right: 0px; width: auto; }
	.gdlr-portfolio-style1 .gdlr-portfolio-info{ width: auto; float: none; margin-bottom: 30px; }	
	.gdlr-portfolio-style2 .gdlr-portfolio-thumbnail {
    max-width: 100%; float: none; margin-right: 0px; margin-left: 0px; width: auto !important;  }
	
	.gdlr-blog-medium .gdlr-blog-thumbnail { margin-right: 0px; float: none; margin-bottom: 20px; width: auto; }	
	.gdlr-post-slider-item.style-post-right .flexslider .slides img { width: auto; }
	.gdlr-caption-wrapper.position-post-right { display: none; }
	
	/*--- causes ---*/
	.gdlr-cause-medium .gdlr-cause-thumbnail-wrapper{ margin-right: 0px; margin-bottom: 20px; float: none; width: auto; }
	.gdlr-cause-full .gdlr-cause-info-wrapper { float: none; margin-bottom: 20px; width: auto; }
	.single-cause .gdlr-donate-button { position: relative; margin-top: 20px; }
	.single-cause .cause-info.cause-pdf { float: none; margin-top: 10px; }
	.single-cause .gdlr-donation-goal-text { float: none; }
	.urgent-cause-wrapper .urgent-cause-info .gdlr-donate-button { float: none; 
		margin-left: 0px; margin-bottom: 30px; }	
	.gdlr-cause-search-wrapper input[type="text"] { width: 95%; margin-bottom: 10px; float: none; }
	.gdlr-cause-search-wrapper .gdlr-combobox { width: 100%; margin-bottom: 10px; float: none; }
	
	/*--- slider ---*/
	.gdlr-caption-wrapper .gdlr-caption .gdlr-caption-text { display: none; }
	.gdlr-caption-wrapper .gdlr-caption .gdlr-caption-title { margin-bottom: 0px; font-size: 15px; }
	.gdlr-caption-wrapper .gdlr-caption { max-width: 100%; padding: 13px 12px; }	 
	
	.gdlr-item-title .gdlr-flex-prev { margin: 0px; position: absolute; 
		left: 0px; top: 50%; margin-top: -20px;}
	.gdlr-item-title .gdlr-flex-next{ margin: 0px; position: absolute; 
		right: 0px; top: 50%; margin-top: -20px; }	
	
	/*--- title item ---*/
	.gdlr-item-title-wrapper.pos-center .gdlr-item-title-gimmick { display: none; }
	.gdlr-item-title-wrapper.pos-icon.gdlr-right-text, 
	.gdlr-item-title-wrapper.pos-center.gdlr-right-text { padding: 0px; }
	.gdlr-item-title-wrapper > .nav-container { position: static; text-align: center; margin-top: 10px; }
	.gdlr-item-title-wrapper > .nav-container > .gdlr-right-text-link{ float: none; margin: 0px; }
	
	.gdlr-service-with-image-item.gdlr-left .service-with-image-thumbnail,
	.gdlr-service-with-image-item.gdlr-right .service-with-image-thumbnail{
		float: none; margin-right: 0px;  margin: 0px auto; }	
  

}

/*--- mobile portrait style ---*/
@media only screen and (max-device-width:419px) and (orientation:portrait) {
  	body .container{ max-width: 300px; }
	body .body-wrapper.gdlr-boxed-style { max-width: 340px; }
  .top-navigation-container.container {max-width:100%;}
	
	.dl-menuwrapper .dl-menu, .dl-menuwrapper > .dl-submenu{ width: 270px; }
  
   .top-navigation-wrapper {height:60px;}
  #cw_link, #top_bar_links {float:none;}
  #top_bar_links {margin-top:18px;}
  
  
	
}
