/* Master Slider */

@media (min-width: 681px) {
	div#mobile-only { display: none !important; }
	}

@media (max-width: 680px) {
	div#mobile-only { display: inherit !important; width: 100%; }
	div#desktop-only {
		display: none;
	  }

	  .ms-thumb-list.ms-dir-h.ms-align-top {
		  height: 100px !important;
	  }

	.ms-thumb-frame {
	  width: 100px !important;
	  height: 100px !important;
	  margin-right: 30px !important;
	  background-position: center center;
	  background-repeat: no-repeat;
	  background-size: cover !important;
  }
}

@media (max-width: 1570px) {
	#topnav a { padding: 0 20px; }
}

@media (max-width: 1400px) {
	#footer-outer .top-head { position: relative; bottom: auto; }
}

@media (max-width: 991px) {
	.navbar { width: 35%; }
	#nav-outer { width: 65%;}
}

@media (max-width: 757px) {
	.navbar{ width: 40%; }
	#agile .agile-head { width: 100%; }
}


@media (max-width: 575px) {
	 .navbar { width: 215px; }
	 .top-head { padding: 10px; text-align: left; }
	 #company-type button.btn { padding: 5px 25px; margin: 0; }
	 #bannerinner .row { padding-top: 85px; }
	 #why-b-teams img, #why-t-teams img { width: 80%; margin: auto; display: block; padding-top: 10%; }
	 #ready { padding: 20px; }
	 h1.top-head { font-size: 22px; padding-right: 20px; }
	 #tool img { max-width: 80%; }
	 #getstarted .btn { margin: auto; display: block; }
	 #getstarted h2 { padding: 0 15px; }
	 div#topnav { position: absolute; top: 80px; width: 100%; }
	 h2.top-space { font-size: 18px; text-align: center; }
	 #banner h1 { font-size: 29px; }
	 #platform button.btn.btn-success { bottom: -40px; }
	 section#bannerinner { background-position: right !important; }
}

@media (max-width: 380px) {
	#tool .button-layout .btn { margin: 0; }
}

/* More Mobile Menu Button */
@media only screen and (max-width: 1200px) {
	#mobile-menu { background: url("images/icon-mobile.png") no-repeat scroll 97.5% 100% transparent; cursor: pointer; display: inline-block; float: right; height: 30px; margin: 12px 0; width: 100%; visibility: visible; }
	#topnav { display: none; position: relative; top: 0px; left: 0px; }
	#topnav .menu-header li, div.menu li { display: block; width: 100%; padding: 0; margin: 0; border-top: #ccc 1px solid; }
	#topnav ul ul { box-shadow: none; display: none; position: relative; top: 0px; left: 0px; width: 100%; border: none; border-bottom: #ccc 1px solid; padding: 0; margin: 0; }
	#topnav ul ul li { padding: 0; margin: 0; }
	#topnav ul ul ul { position: relative; top: 0px; left: 0px; padding: 0; margin: 0; width: 100%; }
	#topnav ul ul a { padding: 15px 10px; width: auto; }
	#topnav ul ul ul a { padding: 15px 10px; width: auto; }
	#topnav li:hover > a, #topnav ul ul :hover > a, #topnav a:focus { background: #333; color: #fff; }
	#topnav ul li ul { display: block; width: 100%; float: left; }
	#topnav a { background-color: #fff; color: #858A93; }
	#topnav .float-right { width: 100%; background-color: #fff; }
	#topnav .float-right a { background-color: transparent; }
}

/* Make sure main menu re-appears when scaled up */
@media only screen and (min-width: 1314px) {
	#topnav { display: block !important; }
}

@media (max-width: 680px) {
	#content, #sidebar, .footer-left, .footer-right {
		width: 100%;
		margin: 0;
		padding: 0;
	}

	#footer-last li { padding: 0 20px; float: none; }
}

@media (max-width: 575px) {
	.laptop { width: 80%; top: auto; bottom: 10%; }
	#banner .row { padding-top: 90px; }
	.box { margin-bottom: 10px; }
	#t-teams .side-right, #b-teams .side-left { padding: 20px 0; }
	#learn-more .cover { float: none; margin: auto; display: block; padding-bottom: 20px; }
	#why { padding: 0; }
	#t-teams .row, #b-teams .row { padding: 20px 0; }
	#learn-more .btn { margin: auto; }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  /* iPhone, Android rules here */
	#content, #sidebar, .footer-left, .footer-right {
		width: 100%;
		margin: 0;
		padding: 0;
	}
}
@media handheld {
	#content, #sidebar, .footer-left, .footer-right {
		width: 100%;
		margin: 0;
		padding: 0;
}

/* Other Media Queries */
    @media (max-width: 1199px){
        #platform .row {
            height: 680px !important;
        }

        #platform button.btn.btn-success{
            bottom: -50px;
        }

        .canvas{
            overflow: visible;
        }
    }
