@media (min-width: 981px) {

  .sm {
    display: none;
  }

}

@media (max-width: 980px) {

  #servicesdesktop {
    display: none;
  }

  table, table tbody, table tr, table tr td {
    width: 760px;
    display: block;
  }

  table tr td {
    display: inline-block;
  }

  #header td img {
      max-width: 100%;
      height: auto;
      display: block;
  }

  #header td:first-child {
      width: 200px;
  }

  #header td:last-child {
      width: 556px;
      -webkit-background-size: contain !important;
      background-size: contain !important;
      background-repeat: no-repeat !important;
      background-position: center right !important;
  }

  #header td {
      height: 125px;
  }

  #header {
      background-color: #0e1472;
  }

  #header div.headmargin {
      margin: 26px 0 0 39px;
      float: left;
  }

  #header h1.header, #header div.since {
      font-size: 15px;
  }

  #logintrack table {
      width: 50%;
      display: inline;
  }

  #logintrack table .c {
      font-size: 10px;
      width: 63%;
      float: left;
      letter-spacing: -0.5px;
      padding: 5px 10px;
      box-sizing: border-box;
  }

  #logintrack table .c + .c {
      width: 37%;
  }

  #main td:nth-child(2) {
      background-size: cover !important;
      width: 534px;
      height: 145px;
  }

  #main td:nth-child(1), #main td:nth-child(1) #Menu {
      width: 222px;
  }
	
.loadtracking2-pg #main td:nth-child(1), .loadtracking2-pg #main td:nth-child(1) #Menu {
      width: 100% !important;
  }

  #main #Menu {
      background: #000597;
  }

  #main #Menu tr:first-child td, #main #Menu tr:last-child td {
      display: none;
  }

  #main #Menu tr:nth-child(10) td {
      background: none !important;
  }

  #main #Menu tr td {
      width: 210px;
      position: relative;
  }

  #main #Menu tr td a {
      display: block;
      width: 206px;
      overflow: hidden;
  }

  #main #Menu tr td a img {
      position: relative;
      left: -3px;
  }

  #main #index-table td {
      background: none !important;
  }

  #main #index-table tr:first-child {
      display: none;
  }


#main #index-table tr:nth-child(3) td:nth-child(1), #main #index-table tr:nth-child(3) td:nth-child(3), #main #index-table tr:nth-child(3) td:nth-child(5), #main #index-table tr:nth-child(3) td:nth-child(7), #main #index-table tr:nth-child(3) td:nth-child(9), #main #index-table tr:nth-child(3) td:nth-child(11), #main #index-table tr:nth-child(3) td:nth-child(13), #main #index-table tr:nth-child(2) td:nth-child(1), #main #index-table tr:nth-child(2) td:nth-child(3), #main #index-table tr:nth-child(2) td:nth-child(5), #main #index-table tr:nth-child(2) td:nth-child(7), #main #index-table tr:nth-child(2) td:nth-child(9), #main #index-table tr:nth-child(2) td:nth-child(11), #main #index-table tr:nth-child(2) td:nth-child(13) {
      display: none;
  }

  #main #index-table tr:nth-child(3) td, #main #index-table tr:nth-child(2) td {display: inline-block;width: 86px !important;height: 97px;margin-right: -1px;}

  #main #index-table tr:nth-child(3) td img,
  #main #index-table tr:nth-child(2) td img {
      max-width: 100%;
      height: auto;
      display: inline-block;
  }

  #main #index-table tr:nth-child(3) td:nth-child(2),
  #main #index-table tr:nth-child(2) td:nth-child(2) {margin-right: 0;}

  #main #index-table {
    margin-top: 51px;
        background-color: #00056c !important;
        width: 100%;
        height: 223px;
  }

  #main #index-table tr td h3 {
      font-size: 13px !important;
  }

  #footer td {
      display: block;
      width: 100% !important;
      background: #1e1ca9 !important;
  }

  #footer {
      clear: both;
      margin-top: 3px;
  }

  #footer td {
      height: auto;
      padding: 9px 0;
  }
body{
  overflow-x: hidden;
}

#main h2 {
    font-size: 17px;
}

#main h3 {
    font-size: 12px !important;
}
.hidetablet {
  display: none !important;
}

.resetheight {
    height: auto !important;
}

.resetheight table, .resetheight table * {
    width: 100% !important;
    display: block;
}



#main #innercontent td:nth-child(2) {
    height: auto !important;
    margin-bottom: 22px;
}

#main #innercontent .resetheight {
    background: #2228a4 !important;
}

.resetmargin {
  margin: 0 !important;
  padding: 1px 15px 15px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#home.inner #header {
margin-bottom: 5px;
}

  #secondcol {
    text-align: left !important;
  }

  .resetalign {
    text-align: left !important;

  }

  #innercontent.links table tr td {
      display: inline-block !Important;
      width: auto !important;
      vertical-align: top;
  }

}

@media (min-width: 781px) {

  .mheader, .mnav, .mlogintrack, .mcontent, .mbanner {display: none;}

}

@media (max-width: 780px) {
	
	tr#footer td {
		padding: 10px 20px;
		display: block;
		box-sizing: border-box;
	}
	
	body {
		overflow-x: hidden !important;
		
	}
  #logintrack {
    display: none !important;
  }
  .mform {
    display: none;
  }
  #secondcol, .resetalign {
    text-align: center !important;

  }
  #main {
    background: #2228a4;
  }

  #main #Menu {
      display: none;
  }

  table, table tbody, table tr, table tr td {
      width: 100%;
      height: auto !important;
  }

  #header {
      display: none;
  }

  #footer b {
      display: inline-block;
      margin: 0 -6px 7px !Important;
      padding: 0 !important;
  }

  #footer center {color: #1e1ca9 !important;}
  #main td:nth-child(2) {
      background: none !important;
      width: 100% !important;
  }

  #main #index-table {
      text-align: center;
      padding-top: 10px;
      padding-bottom: 10px;
  }

  #main #index-table {
      text-align: center;
      padding-top: 10px;
      padding-bottom: 10px;
      margin-top: 20px;
  }


  #main {
      text-align: left;
  }

  .mheader {
      display: block;
      background-color: #00056c;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      margin: auto;
      border-bottom: 1px solid #fff;
      padding: 10px 10px 6px 10px;
      box-sizing: border-box;
  }

  .mheader:after {
      content: "";
      display: block;
      clear: both;
  }

  .mheader .mheader-left img {
      max-width: 100%;
      height: auto;
  }

  .mheader .mheader-left {
      width: 113px;
  }

  .mheader .mheader-left {
      float: left;
  }

  .mheader .mheader-right {
      float: right;
      width: calc(100% - 113px);
  }

  .mheader .mheader-right a {
      font-family: sans-serif;
      text-decoration: none;
      display: inline-block;
      margin-left: 3px;
  }

  .mheader .mheader-right a i {
        display: block;
    width: 45px;
    height: 45px;
    background: #3239c5;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    line-height: 48px;
    font-size: 32px;
  }

  .mheader .mheader-right a span {
      display: block;
      text-align: center;
      font-size: 11px;
      text-transform: uppercase;
      font-weight: 600; 
      margin-top: 2px;
      color: #fff;
	  font-family: 'Roboto';
  }

  .mnav {
      background-color: #00056c;
      position: fixed;
      top: 73px;
      left: 0;
      right: 0;
      width: 100%;
      border-bottom: 1px solid #fff;
      font-family: sans-serif;
      text-align: center;
      display: none;
  }

  .mnav ul {
      margin: 0;
      padding: 0;
      list-style: none;
  }

  .mnav ul li a {
      text-decoration: none;
      font-size: 16px;
      color: #fff;
      font-weight: 700;
      border-bottom: 1px solid rgba(255,255,255,0.2);
      display: block;
          padding: 12px 0 10px;
    font-family: 'Roboto';
  }
  #main h4 {
      
      font-size: 19px;
      margin-bottom: 16px;
      margin-top: 20px;
      padding-top: 0px;
  }
.home-pg #main h4 {
          font-size: 19px;
    margin-bottom: -19px;
    margin-top: 27px;
    padding-top: 24px;
    background: #010d6c;
    margin-left: -20px;
    margin-right: -11px;
    text-align: center;
    padding-bottom: 12px;
  }
  #logintrack {
      margin-top: 80px;
  }

  #index-table {
    display: none;
  }

  .service-list {
    background-color: #00056c;
    padding: 15px;
	  text-align: center;
  }

  .service-list:after {
      clear: both;
      content: "";
      display: block;
  }

  .service-list ul {
      list-style: none;
      margin: 0;
      padding: 0;
  }

  .service-list ul li {
      width: 33%;
      float: left;
  }

  .service-list ul li img {
      display: block;
      margin: 20px auto 0;
  }

  .service-list ul li span {
      display: block;
      margin-top: 5px;
      font-weight: 600;
	  letter-spacing: -0.5px;
  }

  #logintrack, #logintrack * {
      display: block;
  }

  #logintrack td[colspan="15"] {
      background: #2228a4 !important;
  }

  #logintrack {border-bottom: 5px solid;}

  #logintrack table .c {
      float: none;
      width: 100% !important;
      text-align: center !Important;
  }

  #logintrack input {
      margin: 0 auto;
  }

  #home.inner #main {
      margin-top: 0;
  }

  #secondcol {
    margin-top: 40px;
  }

  .mlogintrack {
    margin-bottom: 12px;

  }

  .mlogintrack a.tracktrigger {
      display: block;
      background-color: #2228a4;
      font-family: sans-serif;
      text-decoration: none;
      color: #fff;
      font-weight: bold;
      font-size: 14px;
      text-transform: uppercase;
      padding: 14px;
      position: relative;
  }

  .mlogintrack .tracktrigger i {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    -webkit-transform-origin: center;
    -webkit-transform: rotate(0deg);
    transform-origin: center;
    transform: rotate(0deg);
}
  .mlogintrack .tracktrigger.active i {
    -webkit-transform-origin: center;
    -webkit-transform: rotate(180deg);
    transform-origin: center;
    transform: rotate(180deg);
        top: 8px;
  }

  .mform {
    background-color: #1b189e;
    text-align: center;
    padding: 15px;
}

.mform h3 {
    margin: 0;
    font-family: sans-serif;
    font-size: 13px;
    color: #fff;
}

.mform form + h3 {
    margin: 20px 0 0;
}

.mform form input {
    border: none;
    padding: 11px !important;
	height: 40px;
	font-size: 15px;
    font-family: 'Roboto';
}

.mform form {
    margin-top: 5px;
}

.mform input[type="submit"] {
	/*
    background: #f4eb00;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
	*/
}

.mheader, .mnav {
  z-index: 999;
}

.mbanner {
  background-image: url(images/index_02.jpg);
  height: 210px;
  -webkit-background-size: cover;
  background-size: cover;
  margin: 85px 0 11px;
  position: relative;
}

.mbanner h1 {
  color: #ffffff;
font-family: 'Roboto Condensed', sans-serif;

    width: 106px;
    text-align: center;
    position: absolute;
    bottom: 10px;
    font-size: 13px;
    left: 130px;
}

.mheader-left a, .mheader-left img {
  display: inline-block;
}

.mheader .mheader-left img.badge {
   position: absolute;
    top: 3px;
    bottom: 0;
    left: 129px;
    max-width: 80px !important;
}

.innerlist {
  margin: 0;
  padding: 0;
}

.innerlist li {
  margin-bottom: 15px;
  margin-top: 15px;
}



}

@media (max-width:767px) {
	#home.inner #main #td-table a.request_rateq {
        display: block;
		border-radius: 8px;
		background: #ffffff;
		color: #2228a4 !important;
		text-decoration: none;
		width: 171px !important;
		padding: 19px;
		font-size: 17px;
		text-align: center;
		margin: 0px auto;
		font-family: 'Roboto Condensed';
		text-transform: uppercase;
		letter-spacing: -0.25px;
}
	td, tr, table {
		max-width:100%;
		overflow-x: hidden;
	}
	
	table.ignore_reset {
		display: table;
	}
	table.ignore_reset tr {
		display: table-row;
	}
	table.ignore_reset tr td {
		display: table-cell;
		width: auto !important;
	}
	#home .contact_table tr td:first-child {
		width:100px !important;
	}
	#home .contact_table tr td:nth-child(2) {
		width:200px !important;
	}

	
}

@media (max-width:680px) {
	

	.emptytd {
		display: none !important;
	}
	.loadtracking2-pg form#tracking input, .loadtracking2-pg form#trac_login input {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 14px !important;
    padding: 4px 4px !important;
    height: 29px !important;
		border: none;
		font-family: 'Roboto' !important;
}

form#tracking input[type=submit], form#trac_login input[type=submit] {
    height: 40px !important;
    font-family: 'Roboto';
    text-transform: uppercase;
    width: 53% !important;
    margin: 0px auto;
}

#trac_login td, #tracking td, #trac_login b {
    text-align: center;
    padding: 2px 0px 2px;
}
}
@media (max-width: 380px) {

  .mbanner {
    height: 121px;
    background-position: right;
}

.mbanner h1 {
    left: 6px;
    font-size: 11px;
    bottom: -1px;
}

  .service-list ul li {
    width: 33%;
  }
  .mform form input {
      display: block;
      margin: 0 auto 5px;
      width: 220px !important;
      box-sizing: border-box;
  }
}


@media (max-width: 321px) {
	.mbanner h1 {
    	left: 6px;
	}
}

@media (max-width: 376px) and (min-width:322px) {
	.mbanner h1 {
    	left: 45px;
	}
}

@media (max-width: 580px) and (min-width:377px) {
	.mbanner {
    	height: 140px;
	}
	.mbanner h1 {
		bottom: 4px;    
   	 	left: 66px;
	}
}


@media (min-width:681px){ 
	.loadtracking2-pg table#home td#firstcol, .loadtracking2-pg table#home td#secondcol {
		width:45% !important;
	}
	 
	.loadtracking2-pg table#home td#firstcol {
		float: left;
	}
	.loadtracking2-pg table#home td#secondcol {
		float: right;
	} 
	

	input#trk_username, input#trk_password {
		width: 140px !important;
		font-size: 14px;
		padding: 5px;
	}

	td#secondcol {
		vertical-align: top;
		margin-top: 0;
	}

	input#trk_submit1, input#trk_submit2 {
		width: 153px !important;
		font-size: 14px !important;
		padding: 5px;
	}
	#secondcol, .resetalign {
		text-align: left !important;
	}
	
	
}