/* Laptop Screens and Small Monitors */
@media only screen and (min-width: 990px) and (max-width: 1099px) {
	header ul li a span.avia-menu-text {
	    font-size: 16px;
	}
}

@media only screen and (max-width: 1200px){
	.avia-section-intro-image-left-right h3{
		font-size: 40px;
		line-height: 45px;
	}
}
/* All Mobile Devices */
@media only screen and (max-width: 989px) {
	.responsive #top #main .fullsize:first-child .content{
	    border-top: none !important;
	    padding-top: 25px;
	    padding-bottom: 25px;
	}
	#blog_wrapper {
	  margin-top: -125px;
	}	
	.hp-top-overlay {
		display: none;
	}

	.template-blog {
	  color: #000;
	  padding-top: 0px;
	}
	
	#footer{
		display: block !important;
	}
	
	.about-team-section {
	  height: 3400px;
	}
	
	.responsive #top #main {
	  margin: 0;
	  padding-top: 75px !important;
	}
	.responsive #top #main #blog_wrapper{
		margin-top: -75px !important;
	}
	.responsive.avia-safari #top #main #blog_wrapper{
		margin-top: 0 !important;
	}
	/*.responsive.avia-ipad #main .container_wrap:first-child{
		height: 75px;
		display: block;
	}
	.responsive.avia-ipad #top #main{
		padding-top: 155px !important;
	}*/

	#top #main #blog_wrapper .template-page,
	.responsive #top #main #blog_wrapper.content{
		padding-top: 0;
	}
	#player,
	.demo-dashboard,
	#intro-block {
		display: none;
	}
	.mobile_cgi_img{
		display: block !important;
	}
	.mobile_cgi_img img{
		display: block;
		max-width: 80%;
		margin: 0 auto;
	}
	
	.responsive #top #wrap_all #header {
	  float: none;
	  height: auto;
	  margin: 0 !important;
	  opacity: 1;
	  position: fixed;
	  width: 100%;
	}
	
	.responsive .logo img {
	  max-height: 80px !important;
	  /*min-height: 80px !important;*/
	}
	.responsive #top #wrap_all .container {
		 /* line-height: 80px !important; */
	}
	.header-scrolled #header_main {
	  padding: 0px !important;
	}
	
	.hp-see-the-demo {
		display: none;	
	}
	
	.responsive #top .avia-team-member .team-img-container > img {
	  position: relative;
	  z-index: 1;
	}
	.responsive #top .avia-team-member .team-img-container .team-member-description img {
	  position: relative;
	  z-index: 0;
	}
	#top section.avia-team-member {
	  height: 135px;
	  width: 135px;
	}
	#top h3.team-member-name {
	    font-size: 14px;
	  line-height: 1.1;
	  padding-bottom: 6px;
	}
	#top .team-member-job-title{
		font-size: 10px;
	  line-height: 1.1;
	  padding-bottom: 6px;
	}
	#top .team-social-inner {
	    top: 35%;
	}
	
	.responsive .team-social a {
	    border: 0 none;
	    margin: 0;
	    height: 28px;
	    width: 27px;
	    line-height: 28px;
	    padding: 0;
	}

	div.logooos.logooos_grayscale div.logooos_item a {
		 filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
	    -webkit-filter: grayscale(0%);
	}
	.avia-section-intro-image-left-right + .avia-section-intro-image-left-right{
		padding-top: 50px;
	}
	.avia-section-intro-image-left-right h3{
		font-size: 32px;
		line-height: 40px;
	}

}


/* Tablet Computers */
@media only screen and (min-width: 768px) and (max-width: 989px) {
	#top #hp-product-platform h2 {
	    font-size: 23px;
	}
	
	#top #hp-product-platform p {
	    font-size: 15px;
	    line-height: 1.444444;
	}
	
	#footer ul#menu-footer-menu li a {
	    font-size: 10px;
	}
	
	#footer ul#menu-footer-menu li {
	    padding: 0 3px;
	}
	
	#top a#scroll-top-link {
	    display: none;
	}
	
	#top strong.logo {
	    width: 150px;
	}
	
	header ul li a span.avia-menu-text {
	    font-size: 12px;
	}
	
	.responsive .main_menu ul:first-child > li > a {
	    padding: 0 8px;
	}

	#top .header_color .main_menu ul:first-child > li > a {
		padding: 0 15px;
	}

	.responsive #top #wrap_all .container {
		padding: 0 30px;
	}
	.responsive #top #wrap_all .slider-section .container{
		padding: 0;
	}
	#top .top-section h2{margin: 0 0 50px;}
}
/* Not Smartphones */
@media only screen and (min-width: 768px) {
	
	#top #hp-product-platform .container {
	    max-width: 1159px;
	}
	
	.responsive #top #wrap_all .slider-section .container{
		padding: 0;
	}

	#top #hp-product-platform .flex_column.av_one_half.first.avia-builder-el-8.el_before_av_one_half.avia-builder-el-first {
	    width: 52%;
	}

	#top #hp-product-platform .flex_column.av_one_half.avia-builder-el-10.el_after_av_one_half.avia-builder-el-last {
	    margin-left: 2%;
	    width: 44%;
	}
	
	#about-team .togglecontainer section [data-tags^="{visible_desktop}"] .toggle_wrap, #about-team .togglecontainer section [data-tags*=" {visible_desktop}"] .toggle_wrap {
	    position: static;
	    visibility: visible;
	}
	
	#about-team .togglecontainer section [data-tags^="{visible_desktop}"] > p, #about-team .togglecontainer section [data-tags*=" {visible_desktop}"] > p {
	    display: none;
	    visibility: hidden;
	    opacity: 0;
	}

}


/* Smartphones */
@media only screen and (max-width: 767px) {
	.responsive #top #main #blog_wrapper{
		margin-top: -20px !important;
	}
	.responsive #top #main .fullsize:first-child .content{
	    border-top: none !important;
	    padding: 0;
	}

	.responsive #top #wrap_all .slider-section .container{
		padding: 0;
		width: 100%;
		max-width: 100%;
	}

	#top #products-1 .scroll-down-link {
		display: none;
	}	

	.home .template-page.content {
	    padding: 50px 0;
	}	

	.avia-testimonial-wrapper .avia-slideshow-dots {
        margin-top: 30px;
	  display: block;
	}	

	.avia-testimonial-wrapper .avia-slideshow-arrows.avia-slideshow-controls {
		display: none;
	}

	#hp-top-section .scroll-down-link,
	#av_section_1  .scroll-down-link {
		display: none;
	}

	.logooos_container {
		display: none;
	}

	.logooos_container .caroufredsel_wrapper {
		display: none !important;
	}

	.logooos_container + .logooos_container {
		display: block;
	}

	.av-section-color-overlay-wrap .top-section.hp-top {
		padding: 0;
	}

	.avia-section .scroll-down-link {

	}
		
	.lightbox_left{
		width: 70%;
		padding-top: 5%;
		float: none;
		font-size: 12px;
		color: #707070;
		font-weight: 100;
		line-height: 20px;
	}

	.lightbox_right{
		width: 70%;
		float: none;
	}
	
	#top #hp-post-slider .slide-content {
	    text-align: center;
	    display: block;
	}
	
	#top .slide-meta {
	    display: block !important;
	}
	
	#top #hp-post-slider .slide-meta time.slide-meta-time.updated {
	    padding: 0;
	}
	
	#top #hp-post-slider h3.slide-entry-title.entry-title {
	    padding: 0 0 10px;
	}
	
	#top #hp-post-slider article.slide-entry.flex_column.post-entry {
	    margin: 0;
	}
	
	#top #hp-post-slider .content {
	    padding: 25px 0 15px;
	}
	#top #hp-post-slider h3.slide-entry-title.entry-title, 
	#top #hp-post-slider header.entry-content-header, 
	#top #hp-post-slider .slide-entry-excerpt.entry-content, 
	#top #hp-post-slider .slide-meta time.slide-meta-time.updated {
		display: block;
	}
	#top #wrap_all #layerslider_3 .ls-slide .ls-l,
	#top #wrap_all #layerslider_7 .ls-slide .ls-l {
	    left: 20px !important;
	    width: auto !important;
	    box-sizing: border-box !important;
	    right: 20px !important;
	    top: 10px !important;
	    bottom: 10px !important;
	}

	.avia-layerslider .ls-nav-prev,
	.avia-layerslider .ls-nav-next {
		display: none !important;
	}	

    #top #wrap_all #layerslider_7 .ls-slide:last-child img {
        width: auto !important;
        height: auto !important;
        margin-top: 0 !important;
    }
	
	#top .slider-box .ls-video-layer {
	    /*margin-bottom: 2px;*/
        margin: 0 auto;
        width: 80% !important;
	}
	
	#top .slider-box {
	    padding: 15px;
	}
	
	#top .slider-box h3 {
	    margin: 0;
	    float: left;
	    font-size: 350%;
	}
	#top .slider-box h2 {
		font-size: 200%;
	}
	#top .slider-box q {
	    display: none;
	}

        #top .ls-slide:last-child .slider-box q {
            display: inline-block;
            font-size: 200%;
            float: left;
            margin-top: 20px;
        }
	
	#top .slider-box .sitewide-btn {
	    display: block;
	    margin: 0;
        padding-top: 10px;
	    float: none;
	    clear: both;
	    position: relative;
	}
	
	#top .slider-box .sitewide-btn a {
	    padding: 5px;
	    font-size: 200%;
	    width: auto;
	    display: block;
	}
	#about-team .togglecontainer section .single_toggle .toggle_content {
		padding: 0;
	}
	#top .about-board-section .board-wrapper .bio,
	#top .about-alumni-section .board-wrapper .bio,
	#top .about-investors-section .board-wrapper .bio,
	#top .about-advisors-section .board-wrapper .bio {
	    overflow: visible;
	}
	
	#top .about-board-section .board-wrapper img,
	#top .about-alumni-section .board-wrapper img,
	#top .about-investors-section .board-wrapper img,
	#top .about-advisors-section .board-wrapper img {
	    float: right;
	    margin-right: 0;
	    margin-left: 5px;
	    margin-bottom: 5px;
	}

    #top .slider-box-text {
        padding: 10px !important;
    }
	
	#press-kit li {
	    display: block;
	    margin: 0;
	    padding: 0;
	    border: 0 none transparent;
	}
	
	#press-kit li:after {
	    content: none;
	    display: none;
	}
	
	#about-top .container .about-header h1 {
	    font-size: 40px;
	    margin-bottom: 0;
	}
	
	#about-top .container .about-header h2 {
	    font-size: 18px;
	}
	
	#about-top .container .about-header {
	    height: 85px;
	}
	
	#top #wrap_all [class^="cgi_slide_info_"], #top #wrap_all [class*=" cgi_slide_info_"] {
	    position: relative;
	    left: auto;
	    right: auto;
	    top: auto;
	    bottom: auto;
	    text-align: center;
	    height: auto;
	    box-sizing: border-box;
	    margin: 0 auto;
	}
	
	#top #wrap_all [class^="cgi_slide_info_"]::after, #top #wrap_all [class*=" cgi_slide_info_"]::after {
	    clear: both;
	    content: "";
	    display: block;
	}
	
	#top #wrap_all [class^="cgi_slide_info_"] a, #top #wrap_all [class*=" cgi_slide_info_"] a {
	    display: block;
	}
	
	
	.container #advanced_menu_toggle, #advanced_menu_hide {
	    display: none;
	}
	div#cs_container {
		height: auto !important;
	}
	div#cs_container .cs_item {
	    display: block !important;
	    width: 100% !important;
	    float: none !important;
	    position: relative !important;
	    left:0 !important;
	    top: 0 !important;
	    height: auto !important;
	}
	#top .product-content-section h2 {
	    font-size: 30px;
	}
	#top #products-1,
	#top #hp-top-section {
	    height: 400px;
	    min-height: 0;
	}
	
	#top .top-section.products-top {
	    margin-top: 10px;
	}
	#top #products-1 .container .products-top h2 {
	    font-size: 44px;
	}

	#top .look-inside-container {
		text-align: center;
	}
	#top .look-inside-container h3 {
		font-size: 36px;
		text-align: center;
	}
	#top .look-inside-container .sitewide-btn {
	    display: block;
	    padding-right: 0;
	    margin-bottom: 10px;
	    text-align: center;
	}
	
	#top .look-inside-container .sitewide-btn a,
	#top .look-inside-container .sitewide-btn:last-child a {
	    width: 290px;
	    padding-right: 0;
	}
	
	#top .look-inside-container p {
	    margin: 0 auto 25px;
	}
	#top .av-large-testimonial-slider .avia-testimonial-content {
	    display: block;
	}
	
	#top .avia-testimonial-image {
	    display: block;
	}
	
	#top .avia-slider-testimonials.avia-testimonial-wrapper {
	    margin: 30px 0;
	}
	#top .avia-slideshow-arrows a.next-slide {
	    right: -60px;
	}
	
	#top .avia-slideshow-arrows a.prev-slide {
	    left: -60px;
	}
	#top .avia-testimonial-image img {
		margin: 0 auto;
	}
	#top .av-large-testimonial-slider .avia-testimonial_inner {
	    padding-bottom: 25px;
	}
	#top #products-1 .container .products-top p {
	    font-size: 21px;
	}
	
	#top .product-content-section h4 {
	    line-height: 1.6;
	    font-size: 22px;
	}
	#top .top-section h2 {
	    font-size: 38px;
	}
	#top .career-slider-header h2 {
	    font-size: 44px;
	    line-height: 1;
	}
	#top .career-slider-header h3 {
	    font-size: 16px;
	}
		#top #vision-mission .item h2 {
	    line-height: 1.5;
	}
	
	#top #vision-mission .item p span {
	    /*padding: 0 20px;
	    font-size: 18px;
	    height: auto;*/
	}
	
	#top #vision-mission .item.mission p span {
	    padding-right: 25px;
	    /*text-align: left;*/
	}
	.responsive #top #wrap_all #vision-mission .container {
	    width: 100%;
	    max-width: 100%;
	}

	#working-at-viglink h2 {
	    font-size: 50px;
        margin-bottom: 20px;
	}
	
	#working-at-viglink p {
	    font-size: 20px;
	}
	
	#top #team .meet-team-overlay a {
	    font-size: 30px;
	}
	
	#top #team .meet-team-overlay {
	    width: 100%;
	}
	
	.responsive #top #wrap_all #values .container {
	    width: 100%;
	    max-width: 100%;
	}
	#top #wrap_all .menu-overlay .menu li a,
	#top #wrap_all .menu-overlay .menu li a span.avia-menu-text {
	    font-size: 30px !important;
	    padding: 12px 0;
	}
	.menu-overlay ul#avia-menu {
		vertical-align: top;
		margin-top:20px;
	}
	#top #wrap_all .menu-overlay .menu li a span.avia-menu-text {
		padding: 0;
		
	}
	.hp-see-the-demo {
		right: -24px;
		top: 355px;
	}
	#about-team .togglecontainer section .single_toggle > p {
	    font-size: 19px !important;;
	}
	h2.about-section-header {
	    font-size: 36px;
	    padding: 0 0 30px;
	}
	.asset-button a {
	    font-size: 20px;
	    padding: 20px;
	}
	
	#top #press-kit p {
	    font-size: 20px;
	}
		
	#top .about-alumni-section .board-wrapper img, #top .about-investors-section .board-wrapper img, #top .about-advisors-section .board-wrapper img {
	    width: 120px;
	}
	
	#top .about-alumni-section h3.board-name, #top .about-investors-section h3.board-name, #top .about-advisors-section h3.board-name {
	    font-size: 20px;
	}
	
	#top .about-board-section .avia_image {
	    width: 190px;
	}
	#about-2 .container .about-description .inner p {
	    font-size: 16px;
	    line-height: 1.3;
	}
	
	#about-2 .container .about-description {
	    max-width: 100%;
	}
	#about-top .container {
	    min-height: 270px;
	}

	div#footer {
		position: relative;
		padding-top: 85px;
	}

	div#footer .widget,
	div#footer .container,
	div#footer .flex_column {
		position: static;
	}


	#socket .copyright {
		font-size: 14px;
	}

	div#footer .flex_column {
		margin-bottom: 0 !important;
	}

	div#footer .social_icons {
		display: block;
		position: absolute;
		left: 0;
		top: 40px;
		width: 100%;
		text-align: center;
	}

	#footer section#nav_menu-2 {
		margin-bottom: 0;
	}

	#footer ul#menu-footer-menu li {
		display: block;
		border: none;
		text-align: center;
		font-size: 18px;
		line-height: 26px;
		padding: 5px;

	}

	#footer ul#menu-footer-menu li a {
		font-size: 18px;
		line-height: 26px;
	}

	.ls-slide.ls-active {
		max-width: 100%;
	}

	.ls-slide .ls-l {
		max-width: 100%;
	}

	.career-slider-header {
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		width: 100%;
	}

	#top .career-slider-header h2,
	#top .career-slider-header h3 {
		white-space: normal;
		padding-left: 15px;
		padding-right: 15px;
	}

	#careers-subnav {
		display: none;
	}

	#layerslider_4 .ls-bottom-nav-wrapper {
		display: block;
	}

	#layerslider_4 .ls-bottom-nav-wrapper .ls-thumbnail-hover,
	#layerslider_4 .ls-nav-prev,
	#layerslider_4 .ls-nav-next {
		display: none !important;
	}

	#top #layerslider_4 .ls-bottom-slidebuttons a {
	    background: #515652 !important;
	    border: none !important;
	    border-radius: 4px !important;
	    -moz-border-radius: 4px !important;
	    -webkit-border-radius: 4px !important;
	    height: 8px !important;
	    width: 8px !important;
	    opacity: 1 !important;
	    margin: 0 2px !important;
	}

	#top #layerslider_4 .ls-bottom-slidebuttons a.ls-nav-active {
		background: #fff !important;
	}
	.avia-testimonial-slider  .avia-testimonial_inner{
		float: none !important;
		width: 100% !important;
	}
	#top .avia-testimonial-slider .avia-testimonial-image{opacity: 1 !important;}
	#top .avia-testimonial-slider .avia-testimonial-image img{
		width: 100%;
		max-width: 100% !important;
		height: auto !important;
	}
	#hp-top-section.avia-section h2,
	#top .avia-section-intro h2{
		margin: 0 0 50px;
		font-size: 32px;
		line-height: 42px;
	}
	.avia-section-intro-image-left-right h3{
		font-size: 24px;
		line-height: 28px;
	}
	.avia-section-intro-image-left-right .item-box img{
		max-width: 100% ;
	}
	.avia-section-intro-image-left-right .item-box .img-align-right,
	.avia-section-intro-image-left-right .item-box .img-align-left,
	.avia-section-intro-image-left-right .caption{
		display: block !important;
		width: 100%;
		text-align: center;
		height: auto !important;
		padding: 0;
	}
	.avia-section-intro-image-left-right .caption .text-holder{
		display: block;
		padding: 20px 0 0;
	}
	#top .avia-section-intro-image-left-right .sitewide-btn{margin: 0 auto;}
	/*.responsive #top #wrap_all #main .container{
		width: 100%;
		max-width: 100%;
		padding: 0 15px;
	}*/
	.avia-section-intro .top-section.hp-top{padding: 0;}
	.avia-section-intro{
		font-size: 18px !important;
		line-height: 24px !important;
	}
	.avia-section-intro-image-left-right{
		padding: 0;
	}
	.av_section_intro-boxes .article-holder article{
		display: block;
		width: 100%;
		margin: 0 0 10px;
	}
	.avia-section-intro-image,
	.av_section_intro-boxes{
		font-size: 18px !important;
		line-height: 24px !important;
	}
	.avia-section-intro-image .content-block,
	.av_section_intro-boxes .top-section.hp-top{
		padding:0;
	}
}

@media only screen and (min-width:1600px){
	#top #values h2.values-header{display: none;}
}

@media only screen and (max-width:1600px){
	#top #values .values{width: 1280px; margin: 0 auto;}
	#top #values .value{display: block;}
	#top #values .value.our-values{display: none;}
	#top #values .value.dare{ background: url(/wp-content/uploads/2015/05/bg_our_values_dare.jpg) 0 0;}
	#top #values .value.dare,
	#top #values .value.dare span{width: 640px;}
}
@media only screen and (max-width:1280px){
	#top #values .values{width: 640px; margin: 0 auto;}
}
@media only screen and (max-width:1070px){
	/*reset back*/
	#top #benefits .benefit:nth-child(3n+0){border-right-color: #f4f4f4;}
	#top #benefits .benefit:nth-child(3n-2){border-left-color: #d1d1d1;}
	#top #benefits .benefit:nth-child(-n+3){border-top-color: #f4f4f4;}
	#top #benefits .benefit:nth-child(n+7){border-bottom-color: #d1d1d1;}
	
	#top #benefits .benefits{max-width: 630px; margin: 0 auto;}
	#top #benefits .benefit:nth-child(even){border-right-color: #fff;}
	#top #benefits .benefit:nth-child(odd){border-left-color: #fff;}
	#top #benefits .benefit:nth-child(-n+2){border-top-color: #fff;}
	#top #benefits .benefit:nth-child(n+9){border-color: #fff; width: 560px; /**xxx adjust for bg image**/}

}
@media only screen and (max-width:768px){
	/*reset back*/
	#top #benefits .benefit:nth-child(3n+0){border-right-color: #fff;}
	#top #benefits .benefit:nth-child(3n-2){border-left-color: #fff;}
	#top #benefits .benefit:nth-child(-n+3){border-top-color: #fff;}
	#top #benefits .benefit:nth-child(n+7){border-bottom-color: #fff;}
	#top #benefits .benefit:nth-child(even){border-right-color: #fff;}
	#top #benefits .benefit:nth-child(odd){border-left-color: #fff;}
	#top #benefits .benefit:nth-child(-n+2){border-top-color: #fff;}
	#top #benefits .benefit:nth-child(n+9){border-bottom-color: #fff; width: auto;}
	#top #benefits .benefit{border-color: #fff; height: auto;  width: auto; float: none; padding: 0 0 30px 0;}
	#top #benefits .benefits{max-width: 320px; margin: 0 auto;}
	#top #benefits .benefit:before{margin: 0 auto;}
	
	#top #values .values{width: 320px; margin: 0 auto;}
	#top #values .value{display: block;}
	#top #values .value.two,
	#top #values .value.dare,
	#top #values .value.two span,
	#top #values .value.dare span{width:  320px;}
	#top #values .value h3{padding: 0 20px 20px 20px;}
	#top #values .value p{padding: 0 20px;}

	#top #values .value:hover span /*,
	#top #values .value span:hover,
	#top #values .value:active span,
	#top #values .value span:active,
	#top #values .value:focus span,
	#top #values .value span:focus,
	#top #values .value.active span */
	{
		display: table-cell;
		vertical-align: middle;
	}
/*
	#top #values .value.challenge:hover{background-color: #e7c60e; background-image: none;}
	#top #values .value.our-values{background-position: -640px 0;}
	#top #values .value.our-values span{background-color: rgb( 44, 115, 172 ); opacity: 0.749; display: table-cell;}
	#top #values .value.collaborate{background-position: -960px 0;}
	#top #values .value.collaborate:hover{background-color: #196bac; background-image: none;}
	#top #values .value.play{background-position: 0 -320px;}
	#top #values .value.play:hover{background-color: #51c9f0; background-image: none;}
	#top #values .value.dare{background-position: -640px -320px;}
	#top #values .value.dare:hover{background-color: #ff9344; background-image: none;}
	#top #values .value.overcome{background-position: -960px -320px;}
	#top #values .value.overcome:hover{background-color: #707070; background-image: none;}	*/

}


@media only screen and (max-width:480px){

	#top .career-slider-header h2 {
		font-size: 36px;
	}

}

@media only screen and (max-width:360px){

	#top .career-slider-header h2 {
		font-size: 30px;
	}

	/*#top #values .value span {display:block;}*/

}
@media only screen and (max-width: 900px) {
	.go-overlay-div {
	    display: block !important;
	}
	.main_menu .avia-menu, #header_main_alternate{
		display: none !important;
	}
}

@media only screen and (max-width: 989px) {
    .responsive #top #main .fullsize:first-child .content {
        border-top: none !important;
        padding-top: 0;
        padding-bottom: 0;
    }
}
@media only screen and (max-width: 767px){
	.responsive .single-post .main_menu{
		position: relative;
		z-index: -1;
		display: none !important;
	}
}
