﻿@media only screen and (device-width: 1023px) {
  /* For general iPad layouts */
  
#wrapper
  {
	padding-left: 3px!important;
	padding-right: 0px!important;
 }
 #medialibrarywrapper
 {
 position: relative;
 left: -25px;
 top: 8px;
 }
}

@media only screen and (min-device-width: 0px) and (max-device-width: 640px) {
  /* Any Layout where width between 0 and max width */
	.main-body
	{
		max-width: 100%;
	}
}

@media only screen and (min-device-width: 0px) and (max-device-width: 640px) and (orientation:portrait) {
  /* For portrait layouts only */
}

@media all and (max-width: 1024px)
{
	.sfsubscribeBox { margin-left: 130px; }
    #mini-top-nav {
        width: 90%;
    }/*!important;}*/
	#MainMenuDiv { border-width: 0px; top: 17px; }
}

@media only screen and (min-device-width: 0px) and (max-device-width: 640px) and (orientation:landscape) 
{
	.sfNavWrp .sfNavList, .sfNavWrp .sfNavSelect, .sfNavWrp .k-plus, .sfNavWrp .k-minus
	{
			display: flex!important;
	}
	#MainMenuDiv
	{
		position: relative;
	}

	.top-nav
	{
		width: 100%;
	}
	.top-nav li
	{
		text-align: left;
		float: left;
	}
	#mini-top-nav
	{
		float: none;
		margin-bottom: 0px;
		width: 310px;
	}
}

