/* lower screen browsers */
@media only screen and (min-width : 1015px) and (max-width : 1279px), 
only screen and (min-device-width : 768px)  {
	
	html, body {  font-size: 16px;	line-height: 27px; }
	.first_item { padding: 0 20px 20px 0; }
	.second_item { padding: 0 20px 20px 0;}
	.third_item { padding: 0 0 20px 0; }
	
	#horizon { min-width: 1015px; }
	.container, .header_image_title { width: 985px; }
	.mid_wrap { padding: 80px 0 80px 0; }
	
	h1 { font-size: 40px; line-height: 60px; padding: 0 0 10px 0;  letter-spacing: 1.25px;}
	h2 { font-size: 30px; line-height: 48px; padding: 0 0 10px 0; letter-spacing: 1.5px;}
	h3 { font-size: 27px; line-height: 45px; padding: 0;  letter-spacing: 1.5px;}
	h4, h5, h6 { font-size: 21px; line-height: 35px; padding: 0;  letter-spacing: 1.6px;}
	h1.page_title { font-size: 30px; line-height: 48px; letter-spacing: 1.5px; padding: 0 0 30px 0; }
	
	/*back to top */
	#backtotop { bottom: 40px; right: 40px; width: 37px; height: 37px; }
	
	/* preview */
	.preview_wrap { width: 308px; }
	.preview_image_wrap, .preview_image { width: 308px; height: 204px;}
	.event_date { width: 200px; }
	.preview_content_wide { width: 600px; }
	
	/* career */
	a.btn_download:link, a.btn_download:visited { width: 168px;	height: 50px; }
	
	/* events */
	.event_logo { height: 60px; }
	.event_content {  width: 240px; padding: 15px 30px 30px 30px; }
	
	/* columns */
	.content-column.one_half { width: 465px; padding-right: 20px;  }
	.content-column.one_half.last_column { width: 465px; padding-right: 0;  }
	
	/* product */
	.icon_wrap img { max-height: 60px; max-width: 60px; }
	
	.post { background-size: 80% auto; background-position: left top ;   }
	
	/* sequence */
	#myimg { left: 60%; }
	#imagesequence_content1, #imagesequence_content2, #imagesequence_content3, #imagesequence_content4 { height: 0px; overflow: hidden; } 
	
	/* header and navigation */
	#header, #header_space  { height: 50px; }
	.header_image { height: 500px; margin: -50px 0 0 0; }
	.header_image_title { font-size: 50px; line-height: 65px; }
	.header_image.height_small { height: 350px; }
	#submenu_close_logo { width: 245px;	height: 50px; }
	#submenu_trigger, #mobilemenu_trigger { background-size: 20px 14.5px; }
	#search_trigger, #submenu_close_logo, #submenu_close, #search_close { background-size: 20px 20px; }
	
	#logo_homepage { width: 320px; height: 48px; margin: -24px 0 0 -160px; }
	#logo_homepage_slogan {  font-size: 24px; line-height: 30px; }
	#backtohome { width: 212px; height: 34px; padding: 9px 0 9px 25px; }
	#backtohome a:link, #backtohome a:visited { width: 222px; height: 34px; }
	#menu .menu-item a:link, #menu .menu-item a:visited { font-size: 14px; height: 20px; line-height: 20px; padding: 15px 22px 15px 22px;	}
	#menu, #menu ul, #submenu, #submenu_wrap, #submenu ul  { height: 50px; }
	#submenu .page_item a:link, #submenu .page_item a:visited,
	#submenu .menu-item a:link, #submenu .menu-item a:visited { font-size: 14px; line-height: 20px; height: 20px; padding: 15px 22px 15px 22px; }
	#submenu ul { right: 50px; }
	#search { right: 50px; height: 50px; }
	#s { top: 10px; left: 80px; height: 24px; font-size: 20px; line-height: 20px; }
	#search_trigger, #submenu_trigger,  #submenu_close, #search_close { width: 50px; height: 50px; }
	
	/*tech movie bg*/
	.section.bg_tech_movie { background-image: url(../images/movies/cardiobridge_master_placeholder_desktop.jpg); }
	#techmovie_vimeo { width: 1024px; height: 900px; margin-left: -800px; }	
	
	/* page entries  */
	.entry_single_left { width: 150px; padding: 100px 50px 50px 0; }
	.entry_single_right { padding: 65px; width: 650px; }
	.entry_right { padding: 160px 0 160px 240px; }
	
	/*footer*/
	#footer_left { width: 440px;  padding: 0;  }
	#footer_left .widget_left { width: 200px;  }
	#footer_right { width: 480px; }
	#footer_right .textwidget { width: 220px; padding: 0 0 20px 0;}  
	#footer_right .widget_right { width: 220px; }
	.footer_bottom_items { float: right; }
	
	.wpcf7-text, .wpcf7-textarea, .wpcf7-select   { width: 461px; }
	
	
	.no_mobile { display: block; }
	.mobile_only { display: none; }
	.ipad_only { display: none; }
	.no_ipad { display: block; }
	.touchscreen_only { display: none; }
	.no_touchscreen { display: block; }
	.desktop_only { display: none; }
	.no_desktop { display: block; }
	
}

@media 
only screen and (min-device-width : 768px)  {
	.touchscreen_only { display: block; }
	.no_touchscreen { display: none; }
	.ipad_only { display: block; }
	.no_ipad { display: none; }
}

/* vimeo movie adjustments */
@media only screen and (min-width : 1600px)   {
	#techmovie_vimeo { width: 1600px; height: 900px; margin-left: -800px; }
}

@media only screen and (min-width : 1280px) and (max-width : 1599px)  {
	#techmovie_vimeo { width: 1170px; height: 658px; margin-left: -585px; }
}

@media only screen and (min-width : 1024px)  and (max-width : 1279px) {
	#techmovie_vimeo { width: 1024px; height: 576px; margin-left: -512px; }
}

@media only screen and (min-width : 768px)  and (max-width : 1023px) {
	#techmovie_vimeo { width: 768px; height: 432px; margin-left: -384px; }
}

@media only screen and (min-width : 481px)  and (max-width : 767px) {
	#techmovie_vimeo { width: 480px; height: 270px; margin-left: -240px; }
}

@media only screen and (min-width : 1px)  and (max-width : 480px) {
	#techmovie_vimeo { width: 320px; height: 180px; margin-left: -160px; }
}


/* larger screen browsers */
@media only screen and (min-width : 1280px) {
	
	html, body {  font-size: 18px;	line-height: 30px; }
	.first_item { padding: 0 20px 20px 0; }
	.second_item { padding: 0 20px 20px 0;}
	.third_item { padding: 0 0 20px 0; }
	#horizon { min-width: 1200px; }
	.container, .header_image_title { width: 1170px; }
	.mid_wrap { padding: 100px 0 100px 0; }
	
	h1 { font-size: 56px; line-height: 65px; padding: 0 0 50px 0;  letter-spacing: 1.25px;}
	h2 { font-size: 40px; line-height: 60px; padding: 0 0 10px 0; letter-spacing: 1.25px;}
	h3 { font-size: 30px; line-height: 48px; padding: 0;  letter-spacing: 1.5px;}
	h4, h5, h6 { font-size: 24px; line-height: 40px; padding: 0;  letter-spacing: 1.6px; }
	h1.page_title { font-size: 40px; line-height: 60px;  letter-spacing: 1.25px; padding: 0 0 50px 0; }
	
	/* preview */
	.preview_wrap { width: 370px; }
	.preview_image_wrap, .preview_image { width: 370px; height: 260px;}
	.event_date { width: 270px; font-size: 22px; line-height: 32px; letter-spacing: 1.0px;}
		
	/*back to top */
	#backtotop { bottom: 40px; right: 95px; width: 37px; height: 37px; }
	
	/* career */
	a.btn_download:link, a.btn_download:visited { width: 168px;	height: 50px; }
	
	/* events */
	.event_logo { height: 70px; }
	.event_content { width: 270px; padding: 15px 50px 50px 50px; }
	
	/* columns */
	.content-column.one_half { width: 550px; padding-right: 70px;  }
	.content-column.one_half.last_column { width: 550px; padding-right: 0;  }
	
	/* product */
	.icon_wrap img { max-height: 80px; max-width: 80px; }
	#imagesequence_content1, #imagesequence_content2, #imagesequence_content3, #imagesequence_content4 { height: auto; overflow: visible; }
	
	/* sequence */
	#myimg { left: 45%; }
	
	/* header and navigation */
	#header, #header_space { height: 80px; }
	.header_image { height: 800px; margin: -80px 0 0 0; }
	.header_image_title { font-size: 72px; line-height: 90px; }
	.header_image.height_small { height: 500px; }
	#submenu_close_logo { width: 300px;	height: 80px; }
	#submenu_trigger, #mobilemenu_trigger { background-size: 30px 22px; }
	#search_trigger, #submenu_close_logo, #submenu_close, #search_close { background-size: 28px 28px; }
	
	#logo_homepage { width: 460px; height: 70px; margin: -35px 0 0 -230px; }
	#logo_homepage_slogan {  font-size: 30px; line-height: 36px; }	
	#backtohome { width: 264px; height: 40px; padding: 22px 0 22px 25px; }
	#backtohome a:link, #backtohome a:visited { width: 264px; height:40px; }
	#menu .menu-item a:link, #menu .menu-item a:visited { font-size: 18px; height: 30px; line-height: 30px; padding: 25px 39px 25px 39px; }
	#menu, #menu ul, #submenu, #submenu_wrap, #submenu ul  { height: 80px; }
	#submenu .page_item a:link, #submenu .page_item a:visited,
	#submenu .menu-item a:link, #submenu .menu-item a:visited { font-size: 18px; line-height: 30px; height: 30px; padding: 25px 39px 25px 39px; }
	#submenu ul { right: 80px; }
	#search { right: 80px; height: 80px; }
	#s { top: 20px; left: 100px; height: 36px; font-size: 30px; line-height: 30px; }
	#search_trigger, #submenu_trigger,  #submenu_close, #search_close { width: 80px; height: 80px; }
	.wpcf7-text, .wpcf7-textarea, .wpcf7-select   { width: 561px; }
	.preview_content_wide { width: 800px; }
	
	/*tech movie bg*/
	.section.bg_tech_movie { background-image: url(../images/movies/cardiobridge_master_placeholder_desktop.jpg); }
	
	/*  page entries  */
	.entry_single_left { width: 150px; padding: 100px 50px 50px 0; }
	.entry_single_right { padding: 100px; width: 770px; }
	.entry_right { padding: 210px 0 210px 330px;  }
	
	/*footer*/
	#footer_left, #footer_right { width: 570px; }
	.footer_bottom_items { float: right; }
	#footer_right .textwidget { width: 265px; padding: 0 0 20px 0;}  
	#footer_right .widget_right { width: 265px; }
	.footer_bottom_items { float: right; }
	
	.no_mobile { display: block; }
	.mobile_only { display: none; }
	.ipad_only { display: none; }
	.no_ipad { display: block; }
	.touchscreen_only { display: none; }
	.no_touchscreen { display: block; }
	.desktop_only { display: block; }
	.no_desktop { display: none; visibility: hidden; height: 0; }
}

/* Tablet Portrait size (devices and browsers) */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait),
only screen and (min-width : 768px) and (max-width : 1014px) {
	
	.first_item { padding: 0 20px 20px 0; }
	.second_item { padding: 0 20px 20px 0;}
	.third_item { padding: 0 20px 20px 0; }
	#horizon { min-width: 768px; }
	.container, .header_image_title { width: 728px; }
	.mid_wrap { padding: 80px 0 80px 0; }
	.post { 	background-position: center center; }
	.entry { width: auto; }
	
	
	/*h1 { font-size: 40px; line-height: 60px; padding: 0 0 10px 0;  letter-spacing: 1.25px;}*/
	h1, h2 { font-size: 30px; line-height: 48px; padding: 0 0 10px 0; letter-spacing: 1.5px;}
	h3 { font-size: 24px; line-height: 40px; padding: 0;  letter-spacing: 1.5px;}
	h4, h5, h6 { font-size: 18px; line-height: 30px; padding: 0;  letter-spacing: 1.6px;}
	h1.page_title { font-size: 30px; line-height: 48px; letter-spacing: 1.5px; padding: 0 0 30px 0; }
	
	/* preview */
	.preview_wrap, .preview_wrap.nospace { width: 349px; padding: 0; margin: 0 30px 30px 0;}
	.preview_wrap.item_2 { padding: 0; margin: 0  0 30px 0; }
	.preview_wrap.item_0 { display: none; visibility: hidden;}
	.preview_image_wrap, .preview_image { width: 349px; height: 220px;}
	.preview_content_wide { width: 100%; padding: 40px 0 0 0; }
	
	/* career */
	a.btn_download:link, a.btn_download:visited { width: 134px;	height: 40px; }
	
	/* events */
	.event_logo { height: 60px; }
	.event_content { width: 289px; padding: 15px 30px 30px 30px; }
	.event_date { width: 289px; padding: 15px 30px;  }
	
	/* column fix */
	.content-column.one_half, .content-column.one_third, .content-column.one_fourth, .content-column.one_fifth { width: 100%; padding: 0 0 20px 0; margin: 0; }
	
	/* product */
	.icon_wrap img { max-height: 60px; max-width: 60px; }
	
	/* header and navigation,  smaller header */
	#header, #header_space { height: 50px; }
	.header_image { height: 500px; margin: -50px 0 0 0; }
	.header_image_title { font-size: 40px; line-height: 52px; }
	.header_image.height_small { height: 300px; }
	#submenu_close_logo { width: 245px;	height: 50px; }
	#submenu_trigger, #mobilemenu_trigger { background-size: 20px 14.5px; }
	#search_trigger, #submenu_close_logo, #submenu_close, #search_close { background-size: 20px 20px; }
	
	#logo_homepage { width: 320px; height: 48px; margin: -24px 0 0 -160px; }
	#logo_homepage_slogan { 	 font-size: 24px; line-height: 30px; }
	#backtohome { width: 170px; height: 26px; padding: 13px 0 17px 25px; }
	#backtohome a:link, #backtohome a:visited { width: 170px; height: 26px; }
	#menu .menu-item a:link, #menu .menu-item a:visited { font-size: 12px; height: 20px; line-height: 20px; padding: 15px 18px 15px 18px; width: auto;	}
	#menu, #menu ul, #submenu, #submenu_wrap, #submenu ul  { height: 50px; }
	
	#submenu .page_item a:link, #submenu .page_item a:visited,
	#submenu .menu-item a:link, #submenu .menu-item a:visited { font-size: 12px; line-height: 20px; height: 20px; padding: 15px 22px 15px 22px; }
	#submenu ul { right: 50px; }
	#search { right: 50px; height: 50px; }
	#search_trigger, #submenu_trigger,  #submenu_close, #search_close { width: 50px; height: 50px; }
	.wpcf7-text, .wpcf7-textarea, .wpcf7-select   { width: 341px; }
	
	/*tech movie bg*/
	.section.bg_tech_movie { background-image: url(../images/movies/cardiobridge_master_placeholder_ipad.jpg); }
	
	/* page entries  */
	.entry_single_left { width: 150px; padding: 100px 50px 50px 0; }
	.entry_single_right { padding: 35px; width: 450px; }
	.entry_right { padding: 100px 0 100px 20px; }
	.padding_left_40 { padding: 0; }
	
	#footer_right, #footer_menus {  width: 100%; }
	#footer_menus ul, #footer_menus ul li { width: 230px;  }
	#footer_right .widget_right { float: left; width: 288px;  padding: 0 0 0 10px; margin: 0; }  
	#footer_right .textwidget { float: left; width: 280px; padding: 0 0 20px 0;}  
	#footer_bottom { float:left; text-align: left; }
	.footer_bottom_items { float: left; }
	
	.no_mobile { display: block; }
	.mobile_only { display: none; }
	.ipad_only { display: block; }
	.no_ipad { display: none; }
	.touchscreen_only { display: block; }
	.no_touchscreen { display: none; }
	.desktop_only { display: none; }
	.no_desktop { display: block; }
}


/* Mobile Portrait Size (devices and browsers) */
@media only screen and (min-device-width : 320px) and (max-device-width :  767px),
only screen and (min-width : 1px) and (max-width : 767px) {

	.first_item { padding: 0 0 20px 0; }
	.second_item { padding: 0 0 20px 0;}
	.third_item { padding: 0 0 20px 0; }
	#horizon { min-width: 300px; }
	.container, .header_image_title { float: left;  width: 100%;   padding: 0; }
	.mid_wrap { padding: 40px 20px 40px 20px; width: auto; }

	h1 { font-size: 30px; line-height: 48px; padding: 0 0 10px 0;  letter-spacing: 1.5px;}
	h2 { font-size: 27px; line-height: 45px; padding: 0 0 10px 0; letter-spacing: 1.5px;}
	h3 { font-size: 21px; line-height: 35px; padding: 0;  letter-spacing: 1.5px;}
	h4, h5, h6 { font-size: 18px; line-height: 30px; padding: 0;  letter-spacing: 1.6px;}
	h1.page_title { font-size: 30px; line-height: 48px; letter-spacing: 1.5px; padding: 0 0 20px 0; width: 100%; }
	
	/* header and navigation */
	#header, #header_space  { height: 50px; }
	#header { border: 0; }
	.header_image { height: 320px; margin: -50px 0 0 0; }
	.header_image_title { font-size: 25px; line-height: 35px; min-width: 260px; top: 100px; left: 20px; max-width: 80%; }
	.header_image.height_small { height: 250px; }
	#submenu_trigger, #mobilemenu_trigger { background-size: 20px 14.5px; }
	#search_trigger, #submenu_close_logo, #submenu_close, #search_close { background-size: 20px 20px; }
	
	/* back to top button */
	#backtotop { bottom: 20px; right: 20px; width: 37px; height: 37px; background-size: cover; }
	
	/*tech movie bg*/
	.section.bg_tech_movie { background-image: url(../images/movies/cardiobridge_master_placeholder_mobile.jpg); }
	
	#backtohome { width: 170px; height: 26px; padding: 13px 0 17px 20px; }
	#backtohome a:link, #backtohome a:visited { width: 170px; height: 26px; }
	#logo_homepage { width: 280px; height: 42px; margin: -20px 0 0 -140px; }
	#logo_homepage_slogan { 	width: 100%; height: 42px; margin: 0; font-size: 16px; line-height: 22px; top: 58%;}
	#header.menu_open #backtohome a:link, #header.menu_open #backtohome a:visited { background-image: url(../images/logo_cardiobridge.png); }
	.wpcf7-text, .wpcf7-textarea, .wpcf7-select   { width: 95%; }
	.wpcf7-form-control-wrap { width: 100%; }
	
	/* general */
	a.button:link, a.button:visited, a.more-link:link, a.more-link:visited { width: 100%; text-align: center; float: left; padding: 15px 0 15px 0; font-size: 15px; line-height: 15px;}
	.preview_readmore { float: left; width: 100%;  text-align: center; }
	.adjust_up_mobile { margin-top: -185px; }
	.scrolldown, .scrolldown_once, .scrolldown_product { bottom: 20px; }
	
	/* column fix */
	.content-column.one_half, .content-column.one_half.lasdt_column, .content-column.one_third, .content-column.one_fourth, .content-column.one_fifth { max-width: auto; width: 100%; padding: 0 0 20px 0; margin: 0; }
	/* columns */
	.content-column.one_half { width: auto; padding-right: 0;  }
	.content-column.one_half.last_column { width: auto; padding-right: 0;  }
	
	/* preview */
	.preview_wrap, .preview_wrap.nospace { width: 100%; padding: 0; margin: 0 0 30px 0; }
	.preview_image_wrap, .preview_image { width: 100%; height: 220px;}
	.preview_wrap.item_2 { padding: 0; margin: 0  0 30px 0; width: 100%;}
	.preview_wrap.item_0 { display: block; visibility: visible;}
	
	.preview_content_wide { width: 100%; padding: 40px 0 0 0; }
	.preview_content { width: 100%; }
	.preview_content .entry_events { width: 100%; }
	
	.product_information { padding: 0 20px ; }
	
	/* career */
	a.btn_download:link, a.btn_download:visited { width: 134px;	height: 40px; margin: 0; padding: 0; }
	
	/* events */
	.event_logo { height: 50px; }
	.event_content { width: auto; padding: 15px 30px 30px 30px;  }
	.event_content .preview_readmore { padding-bottom: 30px; }
	.event_date { width: 100%; padding: 15px 0;}
	
	/* product */
	.icon_wrap { margin: 0 0 5px 0; }
	.icon_wrap img { max-height: 75px; max-width: 75px; }
	
	#imagesequence_acontent1, #imagesequence_content2, #imagesequence_content3 { height: 0; visibility: hidden; }
 	
	.section { float: left; height: auto;}
	.section.full_height.bg_image { min-height: 500px; }
	.full_height { min-height: 100%; }
	.entry { width: 100%; }
	.post { background-size: 100% auto; background-position: center 60px ;  padding: 20px 0; width: 100%;  }
	.post p { width: auto; padding: 0 0 15px 0;   }
	.post img { max-width: 100%; height: auto; } 
	.post_half { width: 100%; min-height: 50%;  }
	.height_pageitem { min-height: 300px; }
	
	/* page entries  */
	.entry_single_left { width: auto; padding: 50px 20px 50px 20px; }
	.entry_single_right { padding: 65px; width: auto; }
	.entry_right { padding: 100px 0 100px 20px; width: auto; }
	.entry_half { width: 100%; }
	.table_class { padding: 200px 0 20px 0; text-align: center; width: 100%; }
	.padding_left_40 { padding: 0; }
	.post_half .padding_40 { padding: 10px; }
	.padding_40 { padding: 20px;}
	.entry.padding_40 { padding: 20px 0; }
	.padding_mobile { padding: 20px; } 
	
	/* search and subnav */
	#search { right: 50px; height: 50px; }
	#s { top: 10px; left: 65px; height: 19px; font-size: 17px; line-height: 17px; }
	#submenu { height: 0; display: none; visibility: hidden; }
	#submenu .page_item a:link, #submenu .page_item a:visited,
	#submenu .menu-item a:link, #submenu .menu-item a:visited { font-size: 0; line-height: 0; height: 0; padding: 0; }
	#submenu ul { right: 0; }
	#search_trigger, #submenu_trigger,  #submenu_close, #search_close, #mobilemenu_trigger { width: 50px; height: 50px; }
	
	/* footer items */
	#footer_menus .widget { padding: 0 0 10px 0; text-align: left; width: 100%; }  
	#footer_left .textwidget, #footer_right .textwidget, #footer_left { width: 100%; padding: 0 0 20px 0; }
	#footer_menus ul { width: 100%; text-align: left; }
	#footer_menus ul li { width: 100%; text-align: left; padding: 0; }
	#footer_menus .menu-item a:link, #footer_menus .menu-item a:visited { width: 100%; font-size: 14px; padding: 0 0 0 0; text-align: left; }
	
	.mobile_table_footer { position: relative; left: -5px; }
	
	#footer_right, #footer_menus {  width: auto; padding: 0 10px; }
	#footer_menus ul, #footer_menus ul li { width: 230px;  }
	#footer_right .widget_right { float: left; width: auto;  padding: 0; margin: 0; max-width: 45%; }  
	#footer_right .textwidget { float: left; width: auto; padding: 0 0 20px 0;}  
	#footer_bottom { float:left;  padding: 0; margin: 0; width: 100%; text-align: left; line-height: 32px; height: auto; min-height: 100px; }
	#footer_bottom .container { padding: 20px; width: auto; }
	#footer_bottom .widget, #footer_bottom .alignright { width: auto; float: left; text-align: left;}
	.footer_bottom_items { float: left; width: 100%; }
	.footer_bottom_item { float: left; width: 100%; padding: 0; margin: 0; max-width: 100%; }
	
	.no_mobile { display: none; }
	.mobile_only { display: block; }
	.ipad_only { display: none; }
	.no_ipad { display: block; }
	.touchscreen_only { display: block; }
	.no_touchscreen { display: none; }
	.desktop_only { display: none; }
	.no_desktop { display: block; }
}

/* smaller mobile adjustments */
@media only screen and (min-device-width : 320px) and (max-device-width :  450px),
only screen and (min-width : 1px) and (max-width : 450px) {

	#footer_right .widget_right { max-width: 100%; width: 100%;}
	#footer_menus ul{ width: 100%;  padding: 10px; }
	 #footer_menus ul li { width: 100%;  padding: 0; }
	
}
