/*
 * 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.
 */

/*
 * Really small screens and up
 */
 @media only screen and (min-width: 120px) {
 ul.sf-menu.sf-accordion, ul.sf-menu.sf-accordion ul, ul.sf-menu.sf-accordion li {
    background: #023f88;
  border-top: 1px solid #fff;
 padding:0px;

}
.webform-submit.form-submit {
    float: right;
    padding-top: 15px;
}

.mob-con {
    float: left;
    margin-right: 10px;
	margin-bottom:20px;
	margin-left: 10px;
}
.mob-mail {
    float: left;
    margin-right: 10px;
	
	margin-left: 10px;
}
.block-title-mob{
background: url("/sites/all/themes/adaptivetheme/at_diplomat/images/red_bg.png") repeat-x;
padding-left:17px;
padding-top: 4px;
text-transform: uppercase;
color: #ffffff;
width:100%;
}

 }

/*
 * Smalltouch sizes and up
 */
@media only screen and (max-width: 800px) {
.two-50 .region-one-50-second .region-inner {
    float: none;
	text-align:center;
	margin-top:10px;
}
#block-block-21
{
display:none;
}
.article header {
    float: none;
    margin-bottom: 10px;
    position: relative;
	width:100%;
	margin-left:10px;
	text-align:center;
	}
	.contacts, .terms {
	
	}
	.mob-con {
    float: left;
    margin-right: 10px;
	margin-bottom: 21px;
	
}


	.terms {
	text-align:center;
	}
	.block-left{
	width:100%;
	}
	.block-right{
	width:100%;
	}
	.above-content{
	border:none;
	}
	.view-display-id-block_4{
	width:100%;
	}
	#block-views-calendar-block-5{
	width:100%;
	}
	#block-block-5{
	height:100%;
	}
	.gallery-slides{
	width:100% !important;
	}
#block-webform-client-block-38 {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    
}

.form-item.webform-component.webform-component-textfield.webform-component--ime {
    display: block;
}
.form-item.webform-component.webform-component-email.webform-component--imeyl {
    display: block;
}
.form-actions {
    display:block ;
	
}
.webform-submit.form-submit {
    float: right;
    padding-top: 15px;
}
.copy p {
text-align:center;
margin-top:25px;
}
#block-webform-client-block-38 .block-title{
color:#fff;
font-size: 14px;
margin-right: 10px;
margin-top: 18px;
float:none;
}
.mob-con{
float:none;
}
.terms {
display:none;
}
#tertiary-content-wrapper{
display:none;
}
#edit-submitted-ime {
width:100%;
height:19px;
}
#edit-submitted-imeyl{
width:100%;
height:19px;
}
.block-title-mob{
background: url("/sites/all/themes/adaptivetheme/at_diplomat/images/red_bg.png") repeat-x;
padding-left:17px;
padding-top: 4px;
text-transform: uppercase;
color: #ffffff;
width:100%;
}
.gallery-slides{
width:100%;
max-width:300px;
padding:0px !important;
} 
.gallery-slides{
width:100%;
max-width:300px;
padding:0px !important;
} 
.at-mt .at-menu-toggle ul.menu li a {
  background: #023f88;
  
  padding-bottom: 5px;
    padding-top: 5px;
}
.at-mt .at-menu-toggle ul.menu li  li a {
  background: #eee;
  border-top: 1px solid #fff;
  padding-bottom: 5px;
    padding-top: 5px;
}
}
/*
 * Smalltouch sizes and down
 */
@media only screen and (max-width: 480px) {
  /* 
   * 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.
   */
  .region[class*="float-blocks"] .block {
    float: none;
    width: 100%;
  }
  ul.sf-menu.sf-accordion, ul.sf-menu.sf-accordion ul, ul.sf-menu.sf-accordion li {
    text-align:center;
    width: 100%;
	background: url("/sites/all/themes/adaptivetheme/at_diplomat/images/menu-bg.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
}
.at-mt .at-menu-toggle ul.menu li a {
  background: #023f88;
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
    padding-top: 5px;
}
.at-mt .at-menu-toggle ul.menu li  li a {
  background: #eee;
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
    padding-top: 5px;
}
.terms {
display:none;
}
#block-views-calendar-block-1 {
    width: 100%;
}
.video {
padding: 10px 10px 10px 5px;

width:96%;

}
#block-block-3 .block-title {
       width: 95%;
	   }
.block-title-mob {
       width: 95%;
	   }
.sf-menu.sf-style-default a.sf-with-ul, .sf-menu.sf-style-default span.nolink.sf-with-ul {
    padding-right: 25px;
}
.sf-clone-parent{
padding-left: 40px;
}

}

@media only screen and (max-width: 375px) {.jcarousel-skin-skin1 .jcarousel-item-horizontal{
  margin: 0 auto;
  width: 375px;
  
}}
@media only screen and (max-width: 320px) {.jcarousel-skin-skin1 .jcarousel-item-horizontal{
  margin: 0 auto;
  width: 320px;
  
}}
/*
 * Tablet sizes and up
 */
/* @media only screen and (min-width: 768px) {} */

/*
 * Desktops/laptops and up
 */
/* @media only screen and (min-width: 1025px) {} */
