body
{
 font-family: Arial;
}

.military_decorations_ribbon_style {
  text-align: center;
}

/* Structure */

#wrapper
{
 width: 100%;
}

#body
{
 width: 980px;
}

#header
{
 text-align: center;
 height: 175px;
 width: 980px;
 background: url("/images/militaryranks.png") no-repeat center center;
 margin-bottom:0px;
 padding-bottom:0px;
}

/* TOP NAVBAR */

#navbar
{
  margin-right: 60px;
  float: right;
  width:100%;
  max-width: 705px;
}

#heading
{
 width: 350px;
 margin-bottom: 60px;
 text-align: left;
 margin-left: -40px;
 color: black !important;
}
#heading a:link, #heading a:visited {color: black;}

#navbarLinks
{
 padding-left: 3px;
 margin-bottom: 6px;
 text-align: left;
 color: gray;
}

#descriptionBox
{
 float: right;
 font-family: "Lucida Console";
 font-size: 12px;
 color: gray;
}

#navbarBox
{
 height: 50px;
 width:100%;
 max-width: 706px;
 border: 2px solid gray;
 -moz-border-radius: 3px;
 border-radius: 3px;
 float:right;
 padding: 2px 3px 10px 3px;
 overflow: hidden;
 background-color:white;
 z-index:9000;
 position:absolute;
}

#scrollBox
{
 height: 40px;
}

.rankBar
{

}

.navRank
{
 height: 28px;
 padding: 0px 5px 0px 5px;
 border-right: 1px solid #E5E5E5;
 margin: 0px;
 vertical-align: middle;
}

.navRank2
{
 max-width:120%;
}

.iconRank
{
 width: 25px;
 padding: 0px 5px 0px 5px;
 margin: 0px;
 vertical-align: middle;
}

.mainRank {
  width: 100px;
  max-height: 142px;
  margin-bottom: 1em;
}

.navRank:hover
{
 margin-top: -3;
}

.navSeal
{
 height: 29px;
 border-right: 1px solid gray;
 padding: 0px 6px 0px 2px;
 float: left;
}

/* CONTENT */



#content
{
 text-align: left;
 margin: 30px 5px 8px 206px;
 background: white;
 padding: 6px 10px 6px 10px;
 border: 1px solid silver;
 -moz-border-radius: 3px;
 border-radius: 3px;
}

#contentWrapper
{
 border-bottom: 1px solid gold;
 background: #E5E5E5;
 width: 100%;
 margin-top:-20px;
 float: left;
}

#footer
 {
  clear: both;
  width: 100%;
  color: gray;
  font-size: 12px;
  padding: 1em 0 1em 0;
 }


#MOS-description{
  margin-top: 20px;
  padding-bottom: 10px;
  font-size: 1.2em;
  font-family: "Lucida Console";
}

.mos-enlist-type li
{
  list-style-type: none;
  display: inline-flex;
  padding: 0 30px 0 0;
}

.mos-description
{
  font-size: 15px;
  color: #000;
  font-family: verdana, sans-serif;

}

.mos-list-space
{
  padding: 0 5px 0 0;
}

#footer
 {
  clear: both;
  width: 100%;
  color: gray;
  font-size: 12px;
  padding: 1em 0 1em 0;
 }

.occupation-details-header 
{
  color: #fff;
  background: #4b5320;
  padding: 10px;
}

/* New Ribbon */

.ribbon {
  position: relative;
  color: #fff;
  background: #4b5320;
  margin: 1em -20px 20px -13px;
  padding: 0.5em 20px;
  text-shadow: 0 -1px #323A07, 0 1px #4B5320;
  box-shadow: 0 2px 0 rgba(0,0,0,.1);
  border-radius: 0.2em;
  align:center;
  width:105%;
}

.ribbon:after {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  bottom: -7px;
  left: 0;
  z-index: -1;
  position: absolute;
  border-top: 10px solid #092f4b;
  border-left: 10px solid transparent;
  background: transparent;
}

.ribbon:after {
  right: 0;
  left: auto;
  border-top: 10px solid #092f4b;
  border-right: 10px solid transparent;
}

/* Rightbar Styles */

#rightbar
 {
  width: 191px;
  font-size:0.85em;
  border: 1px solid silver;
  -moz-border-bottom-left-radius: 4px;
  -moz-border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  -moz-border-top-left-radius: 4px;
  -moz-border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  background: white;
  margin: 0px 5px 0px;
  padding: 1px 0px 1px;
  height:800px;
 }

#search
{
 margin-bottom: 10px;
 margin-top: 10px;
 padding: 5px;
}

#searchbox
{
 width: 115px;
 color: gray;
 display: inline;
}

#searchbutton
{
 padding: 0px;
 width: 25px;
 height:28px;

}

.navBlock
{
 margin-left: 5px;
 text-align: left;
}

.navItem
{
 margin-bottom: 2px;
 border-radius:3%;
 padding-left: 2px;
}

.navItem:hover
{
  background-color:#e5e5e5;
}

.articleItem
{

}

.articleItem:hover
{
  background-color:#e5e5e5;
}

/* General Styles */

body
{
 background: #EBF2FB;
}

h1
{
 margin-top: .5em !important;
 font-family: 'Volkhov';
 font-size: 35px;
 color: black;
 font-weight: bold;
}

h1.ribbon {
 font-size: 1.75em;
 font-weight: normal;
}

h2
{
 font-size: 1.25em;
 margin: 1em 0 .5em 0;
}

h3
{
 font-size: 1.1em;
 border-bottom: 1px solid #ddd;
 padding-bottom: 0.25em;
 margin: 1em 0 .5em 0;
}

p {
  font-size: 0.98em;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
  background-color: #FFFBCC;
}

.pageHeader
{
 color: #535353;
 font-size: 23px;
 border-bottom: 1px solid gray;
 width: 100%;
 margin-bottom: 7px;
}

.no-bottom-space {
  margin-bottom: 0em;
}

.rank-table {
  width: 98%;
  border: 1px solid silver;
  margin-bottom: 10px;
}

.rank-table td {
  padding: .5em;
}

.rank-table td:nth-child(2) {
  width: 120px;
  text-align: center;
}

.rankHeader
{
 font-family: "Lucida Console";
 font-size: 20px;
 color: black;
 /*white-space: nowrap;*/
}

#rankNav
{
 width: 100%;
 margin-bottom: 1em;
 background: #E5E5E5;
 border: 5px solid #E5E5E5;
 border-radius: 5px;
}

.nextbar
{
 width: 33.3%;
 vertical-align: middle;
 color: gray;
 font-family: Arial;
 font-weight: bold;
}

.cardRow
{
  border-bottom: 1px solid gray;
  color: black;
  font-weight: bold;
}

.cardData
{
 padding: 4px 4px 4px 10px;
 border-bottom: 1px solid gray;
 color: gray;
}

.tiny
{
 color: gray;
 font-size: 11px;
 margin-top: 4px;
 width: 100px;
}

.bottom-spaced {
  margin-bottom: 1em;
}
.top-spaced {
  margin-top: 1em;
}
.right-spaced {
  margin-right: 1em;
}

.rightBlock
{
 float: right;
 margin-left: 1em;
 margin-bottom: 1em;
}

p
{
 margin: 4px 0px 6px 0px;
 text-align: left;
}

form
{
 margin: 0px;
}

a:link:not(.btn), a:visited:not(.btn)
{
 color: #3B5998;
 text-decoration: none;
}

a:hover
{
 text-decoration: underline;
}

.icon
{
 height: 12px;
}

.rank-icon {
  float: left;
  margin-right: .5em;
  height: 2.5em;
  margin-top: -.75em;
}

.arrow
{
 vertical-align: middle;
}

.flipped
{
 -moz-transform: scaleX(-1);
 -o-transform: scaleX(-1);
 -webkit-transform: scaleX(-1);
 transform: scaleX(-1);
 filter: FlipH;
 -ms-filter: "FlipH";
}

.rounded
{
 -moz-border-radius: 3px;
 border-radius: 3px;
}

.liteBox
{
 border: 1px solid #E5E5E5;
 width: calc(98.3%-1.5em);
 margin-bottom: 6px;
 padding: 4px;
 -moz-border-radius: 3px;
 border-radius: 3px;
 padding: .5em .75em .5em .75em;
 margin-top: .5em;
}

.tableHeader
{
 border: 1px solid gray;
 background: #4b5320;
 padding: 7px;
 color: white;
 font-size: 1.2em;
 margin-top: 1em;
}

.tableHeader img {
  margin-top: -.2em;
  margin-right: .5em;
  padding:5px;
}

.dataTable
{
 width: 390px;
 border: 1px solid silver;
 margin-bottom: 6px;
 padding: 0px 5px 0px 5px;
}

#calcResult
{
 color: #008800;
 font-weight: bold;
}

.tooltip
{
 margin-bottom: -3px;
}

.box
{
 padding: 5px;
 overflow: hidden;
 width: 280px;
 border: 1px solid #AAAAAA;
 margin: 7px 0px 7px 0px;
}

.boxHeader
{
 width: 100%;
 background-color: #EDEFF4;
 padding:  8px 10px 8px 10px;
 font-family: Arial;
 font-size: 13px;
 font-weight: bold;
 border-bottom: 1px solid #C6CEDD;
 margin: -5px -5px 5px -5px;
}

#cse-search-results > iframe {
  width: 100%;
}

/* Article Styles */

.article
{
 font-family: Arial;
}

blockquote
{
 margin-left: 26px;
 font-size: 15px;
 font-style:italic;
}

.quoteBy
{
 font-style:normal;
 font-weight: bold;
 margin-top: 7px;
}

.articleImage
{
 float: left;
 border: 1px solid gray;
 margin-right: 6px;
}

.decoration_type_table  td{
  width: 500px;
}


/* Responsive Styles */

.affix {
     top:0;
     z-index: 9999 !important;
   }

   #body, .rightBlock, .adsbygoogle, .tableHeader , .dataTable {
     width: 100% !important;
     max-width:980px !important;
     float: none !important;
     height: auto !important;
}

/* The MOS Table responsive starting*/
/* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA */

#mos-cate-table {
  background: #4b5320; 
  color: white; 
  text-align:center; 
  font-size: 1.25em;
}

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

/* Force table to not be like tables anymore */
.responsive-table table,
.responsive-table thead,
.responsive-table tbody,
.responsive-table th,
.responsive-table td,
.responsive-table tr {
display: block !important;
}

/* Hide table headers (but not display: none;, for accessibility) */

.responsive-table thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}

.responsive-table #code {
display: none !important;
}

.responsive-table #title {
font-weight: 900 !important;  
}

.responsive-table tr { border: 1px solid #ccc; }

.responsive-table td {
/* Behave  like a "row" */
border: none;
/*border-bottom: 1px solid #eee;*/
position: relative !important;
padding-left: 0% !important;
white-space: normal !important;
text-align:center !important;
}

/*
Label the data
*/
.responsive-table td:before { content: attr(data-title); }

.ResponsiveAd {
margin: 1em 0 1em 0;
}
}

/* Custom Responsive Code */
@media (max-width: 1200px) {
  #legend {
display: none;
  }
}

@media (max-width: 1052px) {
html, body, container {
padding: 0px;
margin: 0px;
overflow-x: hidden;
}
 #NavLogo img, #NavLogo + i {
margin-left: 0;
 }
  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ddd;
  }
}


/*AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA*/

@media screen and (max-height: 800px)
{
  .affix
  {
    position:absolute;
  }
}


@media screen and (max-width: 768px)
{
  /* Mobile Structure */

  body {
    overflow-x: hidden;
  }
.ribbon {
  width: 110% !important;
}

.adsbygoogle
{
  align:center;
  margin:auto;
  padding:auto;
}

h1.ribbon {
 font-size: 1.45em;
 text-align:center;
 font-weight: normal;
}

  #content {
    padding: 0;
    margin: 0px !important;
    overflow-x: hidden;
  }

  p, h1:not(.ribbon), h2:not(.ribbon), h3:not(.ribbon), h4 {
    padding: 0 .75rem 0 .75rem !important;
    font-size:1em;
  }

  h1:not(.ribbon), h2:not(.ribbon), h3:not(.ribbon) {
    font-weight: bold;
    font-size:1.2em;
  }

  .liteBox {
    margin: 0 .75em 1em .75em;
  }

  #navbar, #contentWrapper {
    width: 100% !important;
  }

  #body, #navbar, #header, #footer, #navbarBox, .rightBlock, .tableHeader , .dataTable {
    width: 100% !important;
    float: none !important;
    height: auto !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    max-width:none !important;
  }

  .tableHeader {
    padding-left:.5em !important;
  }

  /* Mobile Header */

  #heading, #heading div {
    margin: 0 !important;
    float: none !important;
    left: auto !important;
    top: auto !important;
    text-align: center;
  }

  #heading h1 {
    font-size: 1.5em !important;
  }

  #navbarLinks {
    font-size: 0.9em;
    margin: 2em 0 2em 0;
    text-align: center;
  }

  #navbarBox, #scrollBox {
    overflow-x: scroll;
    margin-bottom: .5em;
    height: 5em !important;
    padding: .0;
    position:static;
  }
  #scrollBox {
    padding: .2em 0 .25em .25em !important;
  }

  #searchbox
  {
    padding:0px;
    margin:11px 10px 5px 10px;
    display:inline;
    float:right;
  }

  #searchbutton
  {
    padding:0px;
    margin:12px -7px 5px 10px;
    display:inline;
    float:right;
  }

  #footer
  {
    padding-bottom:80px;
  }

  .jspContainer {
    height: 3.5em !important;
  }
  .navRank {
    margin: .25em;
    height: 36px;
    padding-right: .25em;
  }



  .rank-table td:nth-child(2) {
    width: 40px !important;
  }

  .rank-table img {
    max-width: 60px !important;
    height: auto !important;
  }

  /* Rank Pages */

  .rankHeader {
    font-size: 0.9em;
  }

  .centerNextbar {
    max-width: 33%;
  }

  .rightBlock {
    max-width: 100% !important;
    text-align: center;
    margin-left: 0;
  }
}

.military_decorations_types_blurb {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 10px;

}

.decorations-nav {
  background: #EDEDED;
  text-align: center;
  border-radius: .25em;
  padding: .75em;
  margin-bottom: 1em;
}

.decorations-nav p:first-child {
  margin-bottom: 1em;
}

.decoration_branch_links a{
  margin-left: 10px;
  margin-right: 10px;
}
.decoration_branch_links img {
  margin-right: 5px;
}
.medal_of_honor_row {
  margin-bottom: 0px;
}

.dec-info {
  margin-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.decorations_index_style {
  text-align: center;
}

.military-decorations-types-header-blurb {
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 20px;
}

.dec a {
  color: #daf2bf !important;
}
.dec-branches-links {
  color: #355511 !important;
  text-decoration: underline !important;
}
.dec-branch-class-blurb {
  text-align: center !important;
  margin-top: 10px;
  padding-bottom: 10px;
}

.navbar-brand
{
  font-family:serif !important;
  color:#4b5320 !important;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 0px;
  width:100%;
  height:4.5em;
  z-index: 99;
  border: none;
  border-top:1.5px solid #c1c1c1;
  outline: none;
  background-color: #dddddd;
  color: #4b5320;
  cursor: pointer;
  padding: 15px;
}

#myBtn:hover {
  background-color: #efefef;
}

.decorations-rack-builder-buttons {
  display: none;
  position: fixed;
  bottom: 0px;
  width:25%;
  height:4.5em;
  z-index: 150;
  border: none;
  border-top:1.5px solid #c1c1c1;
  outline: none;
  background-color: #dddddd;
  color: #4b5320;
  cursor: pointer;
  padding: 15px;
  border-left: 1px solid black;
}

.decorations-rack-builder-buttons-current {

  background-color: lightgreen;

}

#decoration_medal_header {
  max-height: 80px;
  max-width: 110px;
}

.responsive-search {
    width: 10%;
    height:35px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: white;
    background-image: url('/images/searchicon.png');
    background-size:20px 20px;
    background-position: center center;
    background-repeat: no-repeat;
    float:right;
    padding: 0px;
    margin:7px 15px 0px 10px;
    -webkit-transition: width 0.3s ease-in-out;
    transition: width 0.3s ease-in-out;
}

.responsive-search:focus {
  float:none;
  background-image:none;
  width: 95%;
  margin:auto;
  margin-bottom:10px;
}

.navbar-toggle
{
  box-sizing:border-box;
}

.dec-type-spec-des-content p{
  padding-left: 10px !important;
  padding-right: 10px !important;
  padding-bottom: 10px !important;
  padding-top: 30px !important;
}

.decorations-page-description {
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
}
.dec-sorted-nav-table {
  background-color: #eef1da;
  padding:0;
}
.dec-sorted-by-class-nav {
  font-size: 15px !important;
  text-align: center !important;
}
.dec-sorted-by-class-nav a{
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}
.dec-sorted-by-class-nav-header {
  margin-bottom: -5px;
}

.dec-sorted-by-class-nav-links {
  background-color: #eef1da !important;
  padding:0;
}

.dec-sorted-by-class-dec-tables {
  padding-bottom: 20px;
}

.dec-nav-button {
  width: 90% !important;
}

.dec-devices-associated-device {

}

.decorations-canvas-div {
  height: 900px !important;
}

.decorations-rack-box {
  border: 1px solid black;
  width: 100%;

}

.decoration-racks-wrapper {

}

.decoration-racks-wrapper hr{

  width: 340px;
  margin-top: 10px;
  margin-left: 50px;
  border: none;
}
.decoration-racks-select-wrapper {
  height: 700px;
  width: 100%;
  display: flex;
}
.decoration-racks-column-left {
  height: 745px;
  padding-top: 5px;
  padding-bottom: 5px;
  background: #656538;
  border-top-left-radius: 1em;
  border-bottom-left-radius: 1em;
}

@media (max-width: 995px) {
  .decoration-racks-column-left {
    background: none;
  }
}

.decoration-racks-column-right {
  height: 745px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-top-right-radius: 1em;
  border-bottom-right-radius: 1em;
  background: #656538;
}

@media (max-width: 995px) {
  .decoration-racks-column-right {
    background: none;
    width: 95%;
    margin-left: 30px !important;
    margin-right: 30px !important;
  }
}

.decoration-racks-rack-wrapper {
  height: 200px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 5px;
}

.decoration-racks-column-wrapper {
  width: 100%;

}
.test {
  border: 1px solid green;
  width: 350px;

}

.decoration-rack-colmn-top {
  width: 106%;
  height: 200px;
  padding-right: 20px;
}

.decoration-rack-colmn-bottom {
  margin-top: 2px;
  width: 106%;
  height: 295px;
  margin-left: -10px;
}

#custom-search-input{
    padding: 3px;
    border: solid 1px #E4E4E4;
    border-radius: 6px;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
}

#custom-search-input input{
    border: 0;
    box-shadow: none;
}

#custom-search-input button{
    margin: 2px 0 0 0;
    background: none;
    box-shadow: none;
    border: 0;
    color: #666666;
    padding: 0 8px 0 10px;

}


#custom-search-input .glyphicon-search{
    font-size: 23px;
}


#custom-search-input-two{
    padding-right: 10px;
    border: solid 1px #E4E4E4;
    border-radius: 6px;
    background-color: #fff;
}

#custom-search-input-two input{
    border: 0;
    box-shadow: none;
}

#custom-search-input-two button{

    background: none;
    box-shadow: none;
    border: 0;
    color: #666666;


}

#custom-search-input-two button:hover{
    border: 0;
    box-shadow: none;
    border-left: solid 1px #ccc;
}

#custom-search-input-two .glyphicon-search{
    font-size: 23px;
}

.decorations-rack-builder-search-button {
  padding-left: 15px;
  width: 300px !important;
  float: none !important;

}

@media (max-width: 995px) {
  .decorations-rack-builder-search-button {

    width: 95% !important;
    margin-left: auto;
    margin-right: auto;

  }
  @media (max-width: 995px) {
    .decorations-rack-builder-search-button-extra {

      width: 90% !important;
      margin-left: auto;
      margin-right: auto;

    }
  }
}

.input-group .form-control {
    float: none !important;
}


.decoratin-rack-builder-labels h2{
  margin-left: auto;
  margin-right: auto;
}
.dropdown-custom {
  margin-left: -2px;
  margin-top: 3px;
  width: 320px;
}

.dropdown-rank {
  margin-left: -2px;
  margin-top: 3px;
  width: 414px;
}

.decoration-rack-medal-image {
  width: 50px;
  margin-top: 10px;
  margin-bottom: 5px;
  margin-left: 15px;
}

.decoration-rack-medal-image {
  margin-left: auto;
  margin-right: auto;
}

.decoration-rack-ribbon-image img{
  margin-left: 40px;
  margin-right: -10px;
  margin-top:  40px;
}

.decoration-rack-decoration-details {
  width: 100%;
  height: 60px;
}

.decoration-rack-decoration-details span{
  text-align: center;
  padding-bottom: 5px;
}

.decoration-rack-decoration-details hr
{
  margin-left: 10px;
  margin-right: 10px;

}

.flex-container {
    display:flex;
    align-items: center;
    justify-content: center;
}

.decoration-rack-decoration-details-wrapper {
  height: 90%;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.decoration-rack-decoration-details-wrapper hr{
  margin-top: -20px;
  margin-bottom: 10px;
}

.decoration-rack-colmn-bottom  hr{
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 5px;
}

.decorations-rack-builder-device-table {
  width: 90% !important;

  margin-top: -20px;
  color: black;
  border: none;
  text-shadow: none;
}

.decorations-rack-builder-device-table td{

text-align: center;

}

@media (max-width: 995px) {

.dataTables_wrapper {
  padding-right: 2%;
}

}

.dataTables_filter {
  display: none;
}
.dataTables_wrapper table thead{
    display:none;
}
.decorations-rack-builder-description {
  margin-top: -5px;
  margin-bottom: 10px;
  font-size: 20px;
  margin-top: 10px;
}

@media (max-width: 995px) {

  .decorations-rack-builder-description {

  }

}

.center{
width: 150px;
margin: 40px auto;
height: 50px;

}
.tester th {
  padding-top: -20px;
  height: 10px !important;
}

.decoration-rack-builder-device-row {
  width: 100%;
  display: flex;
  vertical-align: middle;
  border-bottom: 1px solid #656538;
}

.decoration-rack-builder-device-row img {
  vertical-align: middle;
  margin-top: auto;
  margin-bottom: auto;

}
.decoration-rack-builder-device-row input {
  width: 30px;
}

.decoration-rack-builder-device-row h2{
  margin-left: 5px;
  width: 45%;
  font-size: 15px;
  text-align: center;
}

.lbl-adjust {
  width: 40px !important;
  margin-left: 5px;
  margin-right: 5px;
}
.button-adjust {
  height: 30px;
  margin-top: 2px;
}
.scroll {
  height: 385px;
  margin-top: 45px;
}
.decoration-racks-rack-bottom {
  width: 745px;
  margin-left: 15px;
}
.decoration-racks-rack-bottom-header {
  margin-top: -15px;
  text-align: left;
}
.decorations-rack-builder-bottom-buttons {
  float: right;
  margin-left: 5px;
  margin-right: 5px;
}

.decoration-rack-selected-images {
  width: 100%;
  height: 100px;
  display: flex;
  margin-top: -20px;
}
.decoration-rack-colm-top-right {
  height: 150px;
}

.test-wrapper {
  width: 100%;

  background: linear-gradient(45deg, #9A9A5F, #656538);
  padding-top: 3px;

  padding-left: 2px;
  height: 710px;
  padding-bottom: 5px;
  border: 1px solid white;
  color: white;
  text-shadow: 1px 1px black;
  border-top-left-radius: .5em;
  border-bottom-left-radius: .5em;
    margin-top: 5px;
}
.decorations-rack-builder-right-colm-wrapper {
  width:100%;
  background: #9A9A5F;
  background: linear-gradient(45deg, #9A9A5F, #656538);
  padding-top: 3px;
  margin-top: 10px;
  padding-left: 2px;
  height: 710px;
  padding-bottom: 0px;
  margin-left: -16px;
  padding-left: 2px;
  border: 1px solid white;
  color: white;
  text-shadow: 1px 1px black;
  border-top-right-radius: .5em;
  border-bottom-right-radius: .5em;
}
.dataTables_paginate {
  margin-top: 21px;
    margin-right: 20px;
    width: 350px;
    color: white !important;
}
.dataTables_paginate button{
    color: blue !important;
    text-shadow: none;
}
.paginate_button.disabled {
  color: red !important;
}

.decorations-rack-builder-decoration-header-ribbon {
  margin-top: -10px;
  margin-bottom: 15px;
  font-size: 15px;
  border: 1px solid black;
  margin-left: 2px;
  margin-right: 5px;
  border-radius: .1em;
}
.decorations-rack-builder-device-header-ribbon {
  font-size: 15px;
  border: 1px solid black;
  border-radius: 0;
  padding-left: 30px;
  margin-left: 2px;
  margin-right: 5px;
  margin-bottom: 40px;
  border-radius: .3em;
}
.decorations-rack-creator-device-line {
  margin-top: 1px;
  margin-bottom: 15px;
  border: 1px solid white;
}


table.dataTable tr.even { background-color: #FFFFEA; }
table.dataTable tr.odd { background-color: #e8e8c9; }

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
  color: white;
  text-shadow: none;
  border-color: #4cae4c;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: white !important;
  text-shadow: none;
  border-color: #4cae4c;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
background: #5cb85c;
border-radius: 5px;
color: white !important;
text-shadow: none;
border-color: #4cae4c;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
background: #5cb85c;
border-radius: 5px;
color: white !important;
text-shadow: none;
border-color: #4cae4c;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
background: #5cb85c;
border-radius: 5px;
color: white !important;
text-shadow: none;
border-color: #4cae4c;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: #5cb85c;
  color: white !important;
  text-shadow: none;
  border-color: #4cae4c;
}

#custom-search-input input:disabled{
    background-color: white;
    text-align: left;
}


#custom-search-input input{
    background-color: white;
    text-align: left;
}

.tt {
  text-align: left;
  width: 250px;
}

.tt:hover {
  background-color: #ccffff !important;
}

table.display tbody tr:nth-child(even):hover td{
    background-color: #1affff;
    border: 1px solid black;
    border-left: none;
    border-right: none;
}

table.display tbody tr:nth-child(odd):hover td {
    background-color: #1affff;
    border: 1px solid black;
    border-left: none;
    border-right: none;
}
table.dataTable.no-footer {
  border: none;
}

.test_one td{
      background-image: url('images/cac.png') !important;
  background: #FFFF00 !important;
  border-top: 1px solid black !important;
  border-bottom: 1px solid black !important;

  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center !important;
}

.test_three td{
  background: #5F9EA0 !important;
  border-top: 1px solid black !important;
  border-bottom: 1px solid black !important;

}

.test_two {
  background: blue !important;
}



.holder {
  color: red !important;
}

.decoerations-rack-builder-no-devices {
  background-color: #5D9E5C;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 65px;
  padding-bottom: 5px;
  border: 1px solid black !important;
}

.decoerations-rack-builder-no-devices h3{
  padding-top: 8px;
  border-bottom: none !important;
  text-align: center;
}

.hidden {
  display: none;
}

.decorations-rack-builder-instruction-list {
  margin-top: 50px;
  height: 495px;
  padding-top: 5px;
  font-size: 18px;
  list-style: none;
  border-radius: .3em;
}

.decorations-rack-builder-instruction-list ul{
  list-style: none;
  margin-left: -30px;
  margin-right: 10px;
}


.decorations-rack-builder-instruction-list h3{
  margin-left: 15px;
  margin-right: 15px;
  border-bottom: 1px solid white !important;
  margin-top: 5px;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.decorations-rack-canvas {

  padding-left: 0;
  padding-right: 0;
  display: block;
}

.decorations-rack-canvas-mobile {

    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    height: 400px;
}

.seeB {
  border: 1px solid black !important;
}

.test-div {
  margin-left: auto;
  margin-right: auto;
}

.dataTables_wrapper img{
  margin-top: 15px;
  margin-bottom: 15px;
}

.decorations-rack-builder-img-dropdown {
  margin-left: 10px;
  margin-right: 10px;
}

.decorations-rack-builder-dropdown-branches span {
  float: right;
  margin-top: 10px;
}
.decorations-rack-builder-dropdown-branches img {
  float: left;
  margin-left: -2px;
  height: 32px !important;
}
.decorations-rack-builder-dropdown-branches p {
  float: left;
  margin-right: 10px;
}
.decorations-rack-builder-dropdown-branches h4 {
  float: left;
}

.decorations-rack-builder-dropdown-branches {
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 995px) {

}


.dataTables_wrapper {
  height: 405px !important;
}
.dataTables_paginate {
  display: hidden;
}

.decorations-rack-builder-control-buttons {
  height: 100px;
  width: 322px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}

.decorations-rack-builder-control-buttons-left {
  margin-top: 10px;
  height: 40px !important;
  float: left;
  margin-left: auto;
  margin-right: auto;
  width: 110px;
  line-height:20px;
}

.decorations-rack-builder-control-buttons-left p{

}

.decorations-rack-builder-control-buttons-right {
  margin-top: 10px;
  height: 40px !important;
  float: right;
  margin-left: auto;
  margin-right: auto;
  width: 110px;
  line-height:20px;
  top: 50%;
  left: 50%;
  bottom: 0;
  right: 0;
}

.decorations-rack-builder-control-buttons-mid {
  height: 40px !important;
  text-align: center;
  margin-top: 10px;
  width: 60px;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
  text-shadow: none;
}


.decorations-rack-builder-ribbon-options {
  margin-top: 10px;
  height: 100px;
  width: 90%;

  margin-left: auto;
  margin-right: auto;

}
.decoration-racks-column-right {
  padding: 0px !important;
}

.decorations-rack-builder-ribbon-options-add {
  width: 100%;
  height: 50px;
  font-size: 20px;
  margin-bottom: 10px;
}
.decorations-rack-builder-ribbon-options-remove {
  width: 45%;
  float: left;
  padding: 0px;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
  height: 50px;
  font-size: 18px;
}
.decorations-rack-builder-ribbon-options-cancle {
  width: 45%;
  float: right;
  padding: 0px;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
  height: 50px;
  font-size: 20px;
}
.decorations-rack-builder-personal-div {
  margin-top: 10px;
  width: 350px;
  height: 540px;
  border: 1px solid black;
  padding-top: 0px;
  background: linear-gradient(45deg, #9A9A5F, #656538);
  border-radius: .3em;
  margin-left: auto;
  margin-right: auto;
}
.decoration-racks-rack-custom-header {
  margin-top: 0px;
  font-size: 20px !important;
}
.decorations-rack-builder-name-box {
  margin-left: auto;
  margin-right: auto;
  width: 300px;
  text-align: center;
  color: white;
  text-shadow: 1px 1px black;
  font-size: 20px;
  padding-bottom: 10px;
}

.decorations-rack-builder-personal-div button {
  border: none;
}

.decorations-rack-builder-quant-container {
  width: 100%;
  height: 60px;
  display: flex;
  text-align: center;
  margin-left: 10px;
  margin-right: 10px;
  padding-right: 10px;
}

.decorations-rack-builder-quant-container-name {
  width: 38%;
  display: table;
  padding-left: 5px;
  padding-right: 5px;
}

.decorations-rack-builder-quant-container-name p{
  text-align: center !important;
  vertical-align: middle;
  display: table-cell;
  height: 55px;
}

.decorations-rack-builder-quant-container-img {
  width: 20%;
  margin-top: 8px;
  margin-bottom: 8px;

}

.decorations-rack-builder-quant-container-img img{
min-height: 30px;
max-width: 80px;
}

.decorations-rack-builder-quant-container-boxes {
  width: 38%;
  display: flex;
  padding-top: 5px;
  padding-left: 10px;
}
.decorations-rack-builder-quant-container-boxes input{
  margin-left: auto;
  margin-right: auto;
  height: 40px;
  width: 35px;
}
.decorations-rack-builder-name-box-submit {
  margin-top: 40px;
  border: 1px solid black;
}
.decorations-rack-builder-name-box-submit button{
  width: 100%;
}
.select2-selection__rendered {
  padding-top: 6px;
}

.select2-selection {
  height: 46px !important;
}
.decorations-rack-builder-color-holder {
  display: flex;
}
.decorations-rack-builder-color-holder-color {
  height: 50px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 10px;
}

.decorations-rack-builder-color-holder-color-hover {
  border: 1px solid black;
}

.decorations-rack-builder-color-holder-color-selected {
  border: 1px solid #FFFF00;
}

.decorations-rack-builder-custom-wrapper {
  height: 570px;

}

.decorations-rack-builder-custom-row-wrapper {
  max-width: 745px;
}

.decorations-rack-builder-custom-row-wrapper div{
  margin-left: auto;
  margin-right: auto;
}
.decorations-rack-builder-decoration-header-ribbon-custom {
  margin-top: -10px;
  margin-bottom: 15px;
  font-size: 15px;
  border: 1px solid black;
  border-radius: .1em;

  margin-left: auto;
  margin-right: auto;

  width: 310px !important;

  text-align: center;

  font-size: 10px;
}

.decorations-rack-builder-personal-div-share {
  padding-left: 10px;
  padding-right: 10px;
}


.decorations-rack-builder-personal-div-share  button{
  font-size: 25px !important;
  color: white;
  text-shadow: 1px 1px black;
  border: 1px solid black;
  height: 60px;
  width: 100%;
  margin-top: 10px;
}

.decorations-rack-builder-personal-div-share  img{
float: right;

}

.canvas-container {
  margin: 0 auto;
}
div.container {
        width: 100% !important;
    }

.decorations-rack-builder-get-link-wrapper {
  width: 100%;
  border: 1px solid black;
  margin-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 0px;
  padding-bottom: 10px;
  background: #656538;
}

.decorations-rack-builder-get-link-wrapper button{
  width: 100%;
  height: 40px;
  font-size: 20px !important;
}

.decorations-rack-builder-get-link-wrapper p{
  overflow-x: scroll;
  margin-top: 10px;
  width: 100%;
  height: 65px;
  margin-bottom: 0px;
}

#left-top-corner {
position: absolute;
top: 60px;
left: 683px;
height: 70px;
width: 70px;
border-left: 2px solid #00b3b3;
border-top: 2px solid #00b3b3;
}
#left-bottom-corner {
  position: absolute;
  top: 870px;
  left: 683px;
  height: 70px;
  width: 70px;
  border-left: 2px solid #00b3b3;
  border-bottom: 2px solid #00b3b3;
}
#right-top-corner {
position: absolute;
top: 60px;
left: 1787px;
height: 70px;
width: 70px;
border-right: 2px solid #00b3b3;
border-top: 2px solid #00b3b3;

}
#right-bottom-corner {
  position: absolute;
  top: 870px;
  left: 1787px;
  height: 70px;
  width: 70px;
  border-right: 2px solid #00b3b3;
  border-bottom: 2px solid #00b3b3;
}

.rack-builder-pdf-body {
  margin-left: auto;
  margin-right: auto;
  width: 1294px;
  height: 1000px;
  padding-left: 60px;
  padding-right: 60px;
  padding-bottom: 60px;
  padding-top: 60px;
  border: 1px solid black;
}

.rack-builder-pdf-content-holder {
  width: 100%;
  height: 100%;
}

.rack-builder-pdf-name-holder {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  height: 100px;
  text-align: center;
  font-style: italic;
  font-size: 70px;
  text-shadow: 2px 4px #00b3b3;
  color: #003333;
}

.rack-builder-pdf-name-holder p{
  text-align: center;
}

.rack-builder-pdf-name-holder div {
  font-size: 100px;
  color: black;
  width: 90%;
  border: 1px solid #00b3b3;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5px;
}

.rack-builder-pdf-rank-holder {
  margin-top: -70px;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  height: 100px;
  text-align: center;
  text-decoration: underline;
  font-size: 70px;
  text-align: center;
  display: flex;
  align-items: center;
}

.rack-builder-pdf-rank-holder p{

}
.rack-builder-pdf-rank-holder img{
  margin-top: 0px;
  margin-right: auto;
  margin-left: auto;
}

.rack-builder-pdf-rank-holder p{
  text-align: center;
}


.rack-builder-pdf-rack-holder {
  width: 100%;

  padding-left: 140px;
  padding-right: 135px;
}


.rack-builder-pdf-rank-image-holder p{
  margin-left: auto;
  margin-right: auto;
  bottom: 280px;
  height: 70px;
  font-size: 20px;
  margin-bottom: 25px;
  width: 350px;
  text-align: center;
  margin-top: 20px;
  color: #003333;
  text-shadow: 2px 1px #00b3b3;
}

.rack-builder-pdf-rank-image-holder img{
  display:block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  height: 80px;
}

.decoration-rack-pdf-line {
  font-size: 100px;
  color: black;
  width: 300px !important;

  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  height: 10px !important;
  margin-top: -40px;
}

.rack-builder-pdf-branch-holder {

}

.personalized-options-holder {
  margin-top: 40px;
  width: 99%;
  height: 220px;
  display: flex;
  padding-top: 1px;
  margin-left: 15px;
}

.personalized-options-holder div{
  width: 30%;
  margin-left: auto;
  margin-right: auto;
  height: 219px;
}

.decorations_table_header th{
  font-size: 15px;
}

.ribbon_bottom_margin {
  margin-bottom: 10px;
}

.box {
  width: 750px;
  margin-left: -18px;
  margin-top: -10px;
  height: 80px;
  text-align: center;
  background-color: #eef1da;
}

.box-xs {
  height: 80px;
  text-align: center;
  background-color: #eef1da;
  min-width: 373px;
  border: 1px solid black;
}
.side-pics-xs{
  margin-top: 10px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.flip-me {
 -moz-transform: scaleX(-1);
 -o-transform: scaleX(-1);
 -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}
.big {
 height: 65px;
}
.dec-nav {
 text-align: center;
 height: 60px;
 display: table-cell;
}

.dec-nav p{
 text-align: center;
 color: #121207;
 text-shadow: 0px 1px #eaeac8;
}
.dec-nav-left {
 border-right: 1px solid #5c5c23;
 border-left: 1px solid #5c5c23;
 padding-top: 15px;
}
.dec-nav-right {
 border-right: 1px solid #5c5c23;
 border-left: 1px solid #5c5c23;
 padding-top: 15px;
}

.dec-center-nav {
 padding-top: 0px;
}
.dec-nav-arrow {
 margin-top: 25px;
}
.decorations-navigation {
 height: 45px;
 margin-top: 20px;
}

.info-decorations-nav-side {
 padding-top: -10px;
}

.decorations-medals-of-america-add {
  width: 100%;
  height: 100px;
  border: 1px solid black;
  margin-bottom: 20px;
  border-radius: 5px;
  background-color: cyan;
  display: flex;
  padding-top: 10px;
  padding-left: 10px;
}

.decorations-medals-of-america-add img{
  margin-right: 10px;
}

.decorations-medals-of-america-add-row {
  height: 80px;
  width: 95%;
}

.decorations-medals-of-america-add-row button {
  font-size: 10px;
  width: 30%;
  height: 50%;
  width: 100%;
  margin-top: 20px;
}


/*
|--------------------------------------------------------------------------
| Styles For Admin Pannel
|--------------------------------------------------------------------------
*/
.admin-control-button-container {
  margin-top: 10px;
  background-color: lightblue;
  padding: 10px;
  height: 100px;
  border: 1px solid black;
}
/*
 * CSS Styles that are needed by jScrollPane for it to operate correctly.
 *
 * Include this stylesheet in your site or copy and paste the styles below into your stylesheet - jScrollPane
 * may not operate correctly without them.
 */

.jspContainer
{
	overflow: hidden;
	position: relative;
}

.jspPane
{
	position: absolute;
}

.jspVerticalBar
{
	position: absolute;
	top: 0;
	right: 0;
	width: 16px;
	height: 100%;
	background: red;
}

.jspHorizontalBar
{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 6px;
	background: red;
}

.jspVerticalBar *,
.jspHorizontalBar *
{
	margin: 0;
	padding: 0;
}

.jspCap
{
	display: none;
}

.jspHorizontalBar .jspCap
{
	float: left;
}

.jspTrack
{
	background: #dde;
	position: relative;
}

.jspDrag
{
	background: #bbd;
	position: relative;
	top: 0;
	left: 0;
	cursor: pointer;
}

.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag
{
	float: left;
	height: 100%;
}

.jspArrow
{
	background: #50506d;
	text-indent: -20000px;
	display: block;
	cursor: pointer;
}

.jspArrow.jspDisabled
{
	cursor: default;
	background: #80808d;
}

.jspVerticalBar .jspArrow
{
	height: 16px;
}

.jspHorizontalBar .jspArrow
{
	width: 16px;
	float: left;
	height: 100%;
}

.jspVerticalBar .jspArrow:focus
{
	outline: none;
}

.jspCorner
{
	background: #eeeef4;
	float: left;
	height: 100%;
}

/* Yuk! CSS Hack for IE6 3 pixel bug :( */
* html .jspCorner
{
	margin: 0 -3px 0 0;
}