.itemPage {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#notFound {
    -webkit-display: flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background-color: #f5f5f5;
    text-align: center;
}

#itemPageContainer {
    flex:1;
    touch-action: manipulation;
    margin-top: 70px;
    padding-bottom: 100px;
    box-sizing: border-box;
    padding: 0 200px;
}

#mainProductPage {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 75px;
}

.itemPageTitleAndImage {
    flex: 1;
    padding: 0 20px;
    display: flex;
    /* align-items: center; */
    flex-direction: column;
    transition: all 0.25s ease-in-out;
}

.mainDescription {
    flex:1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.itemDescription {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    color: #666;
    font-size: 16px;
    margin-top: 100px;
}
.itemDescription > p {
    font-weight: bold;
    font-size: 24px;
}
.itemDescription > ul {
    margin:0;
}
.itemDescription > ul li {
    font-size: 18px;
}

.title h1{
   font-size: 32px;
   width: 550px;
   margin: 0 auto;
   line-height: 36px;
   margin-bottom: 15px;
}
.itemPageTitleAndImage .title p{
   font-size: 16px;
   color: #666;
   font-weight: 700;
   margin-top: -10px;
   margin-bottom: 0;
   width: 550px;
   margin: 0 auto;
}
.title span{
   font-size: 13px;
   color: #666;
   font-weight: 500;
   display: block;
   line-height: 18px;
}

/* #viewAllAccessories {

} */

.mainImage {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    /* justify-content:center; */
    align-items:center;
    margin-top: 20px;
}

.mainImage img {
    width:600px;
    height:600px;
    margin-left: -100px;
}

.noImage {
    width:100%;
    height:573px;
    max-height:100%;
    background-color: #f5f5f5;
    border: 1px dotted #444;
    border-radius: 5px;
}

.mainProductImage {
    width:340px !important;
    height:340px !important;
    max-height:100%;
    background-color: #f5f5f5;
    border: 1px dotted #444;
    border-radius: 5px;
}



.relatedSeriesItems {
    margin-top:3em;
    width:100%;
    border-collapse: collapse;
}

.relatedSeriesItems th, .relatedSeriesItems td {
    padding: 10px 5px;
    vertical-align: top;
}

.relatedSeriesItems th {
    background-color: #23527c;
    color:#fff;
    text-align: left;
    vertical-align: middle;
    
}
.relatedSeriesItems th:first-child {
    padding-left:10px;
    padding-right:0;
  }



.featuredAccessories {
    border-top: 1px solid grey;
    margin-top: 20px;
    padding: 20px 50px;
    margin-bottom: 75px ;
}

.featuredAccessories h2 {
    margin-left: 10px;
}

ul.accessoriesContainer {
    display:flex;
    flex-direction: row;
    justify-content:flex-start;
    padding-left:0;
    flex-wrap: wrap;
}

li.accessories {
    text-align: center;
    list-style-type: none;
    padding: 4px 0;
    border: 1px solid white;
    transition: all 0.25s ease-in-out;
    width: calc(25% - 8px);
}

li.accessories:hover {
    border: 1px solid #23527c;
}

li.accessories a{
    text-decoration: none;
    color:inherit;
}

li.accessories .imageContainer {
    max-width: 190px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.accessories .noImage {
    height:340px;
    margin-bottom: 20px;
}

.accessories > a > div.title {
    margin-top: 20px;
}

.featuredAccessories button, 
.featuredAccessories a {
    margin:3em auto 0;
    display: block;
    font-weight: 700;
    width: 200px;
    text-decoration: none;
}

.itemQuoteWrapper, .itemQuoteWrapperMobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.itemQuoteWrapper > span,
.itemQuoteWrapperMobile > span {
    font-weight: bold;
}

.itemQuantityWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-weight: bold;
}

.itemRow {
    border-bottom: 1px solid grey;
}

.itemGetQuoteBtn {
    height: 20px !important;
    background-color: #23527c;
    color: white;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border:0;
    padding: 0 10px;
    font-size: 10px;
}


.itemQuantityLabel {
    text-align: center;
    font-weight: bold;
}




.itemQuoteWrapperMobile {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}



.itemQuoteQtyInputs {
    display: flex;
    margin: 10px 0;
}

.itemQuoteQtyInputs input[type="number"]{
    width: 40px;
    border: 0;
    border: 1px solid #ccc !important;
    text-align: center;
    border-radius: 0 !important;
    -moz-appearance: textfield;
    height: 20px;
}

.itemQuoteQtyInputs input::-webkit-outer-spin-button,
.itemQuoteQtyInputs input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.updateQuoteQtyBtn {
    border: 1px solid transparent;
    margin:0;
    background: #ccc;
}

.itemGetQuoteBtn:focus {
    border-radius: 30px;
    outline: none; 
    border: 1px solid white;
    -webkit-box-shadow:inset 0px 0px 0px 10px rgb(0, 119, 255);
    -moz-box-shadow:inset 0px 0px 0px 10px rgb(0, 119, 255);
    box-shadow:inset 0px 0px 0px 10px rgb(0, 119, 255);
}
.itemGetQuoteBtn:hover {
    -webkit-box-shadow:inset 0px 0px 0px 10px rgb(0, 119, 255);
    -moz-box-shadow:inset 0px 0px 0px 10px rgb(0, 119, 255);
    box-shadow:inset 0px 0px 0px 10px rgb(0, 119, 255);
}

.itemQuoteWrapperMobile {
    display: none;
}

.itemRowDesk td {
    padding-bottom: 25px;
}

.itemRowDesk {
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
}

.itemQuoteRowBtnsDesk {
    display: flex;
    justify-content: center;
}



#addToQuote {
    border:1px solid #23527c;
    background-color: #23527c;
    color:#fff;
    margin-bottom: 20px !important;
    padding: 20px 50px;
    border-radius: 50px;
    margin-top: 20px;
    width: 300px !important;
    align-self: center;
}
#addToQuote:hover{
    border:1px solid #23527c;
    background-color: #fff;
    color:#23527c;
}


.descAndForUseWith {
    display: flex;
    padding: 20px;
    flex-direction: column;
    margin-left: 100px;
    flex:1.8;
    /* justify-content: center; */
    margin-top: 50px;
}



.useWithWrapper {
    display: flex;
    flex-direction: column;
}
.useWithWrapper h2{
    margin:0;
    font-size: 16px;
}

.useWithWrapper span {
    font-size: 16px;
    color: grey;
    line-height: 25px;
}

.useWithWrapper span a {
    font-weight: bold;
    color: #23527c;
}

.romanceCopy {
    margin-bottom: 30px;
    min-width: 300px;
    max-width: 450px;
}

.descAndForUseWith p.desc {
    color: grey;
}

/* Media Querry */

@media all and (max-width: 1500px){
    .itemPageTitleAndImage {
        flex: 1;
        padding: 0 20px;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .itemDescription {
        margin-top: 50px;
    }
    
}

@media all and (max-width: 1060px){}

@media all and (max-width: 1040px){}

@media all and (max-width: 980px){
    /* Collapse Menu */
}

@media all and (max-width: 950px){
    .inner {
        width: 98%;
    }
     #itemQuantityRowLabel,
     .itemQuoteRowBtnsDesk {
         display: none;
     }
     .itemQuoteWrapperMobile {
         display: flex;
     }
     .itemPageTitleAndImage,
     .mainDescription {
         flex-wrap: wrap;
         padding:0 5px;
     }
     .itemRowDesk {
         border-bottom: 1px solid transparent;
     }
     .itemRowMob {
         border-bottom: 1px solid #ccc;
         padding-bottom: 10px;
     }

     ul.accessoriesContainer {
        justify-content:center;
    }
 
     li.accessories {
         width:45%;
         text-align: center;
         list-style-type: none;
         margin-top: 20px;
         padding: 4px;
     }
 
     .mainImage {
         display: -webkit-box;
         display: -moz-box;
         display: -ms-flexbox;
         display: flex;
         justify-content:center;
         align-items:center;
     }
     .mainImage img {
         width:300px;
         height:300px;
         margin-left: 0;
     }

     .featuredAccessories {
         padding: 1px;
     }
 
     .featuredAccessories button, 
     .featuredAccessories a {
         width: auto;
         margin:0;
         text-align: center;
     }
 
     .imageContainer img {
         max-width: 150px !important;
     }
 
     .itemDescription {
         margin-top: 10px;
     }
 
     .itemPageTitleAndImage .title p,
     .title h1{
         width: 350px;
      }
 
      .title h1{
          font-size: 28px;
      }
 
      #itemPageContainer {
         padding: 0 150px;
     }
     .itemDescription {
        margin-top: 50px;
    }
}

@media all and (max-width: 850px){}

@media all and (max-width: 780px){}

@media all and (max-width: 700px){}

@media all and (max-width: 641px){}
/* Smaller devices */
@media all and (max-width: 640px){
   .inner {
       width: 98%;
   }
    #itemQuantityRowLabel,
    .itemQuoteRowBtnsDesk {
        display: none;
    }
    .itemQuoteWrapperMobile {
        display: flex;
    }
    .itemPageTitleAndImage,
    .mainDescription {
        flex-wrap: wrap;
        padding:0 5px;
    }
    .itemRowDesk {
        border-bottom: 1px solid transparent;
    }
    .itemRowMob {
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
    }

    ul.accessoriesContainer {
        justify-content:center;
    }

    li.accessories {
        width:45%;
        text-align: center;
        list-style-type: none;
        margin-top: 20px;
        padding: 4px 0;
    }

    .mainImage {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        justify-content:center;
        align-items:center;
    }
    .mainImage img {
        width:300px;
        height:300px;
        margin-left: 0;
    }

    .featuredAccessories button, 
    .featuredAccessories a {
        width: auto;
        margin:0;
        text-align: center;
    }

    .imageContainer img {
        max-width: 150px !important;
    }

    .itemDescription {
        margin-top: 10px;
    }

    .itemPageTitleAndImage .title p,
    .title h1{
        width: 350px;
     }

     .title h1{
         font-size: 28px;
     }

     #itemPageContainer {
        padding: 0 1px;
        padding-top: 65px !important;
    }
    .itemDescription {
        margin-top: 50px;
    }
    #notFound {
        padding-top: 100px;
    }
}

@media all and (max-width: 550px){
    .inner {
        width: 98%;
    }
     #itemQuantityRowLabel,
     .itemQuoteRowBtnsDesk {
         display: none;
     }
     .itemQuoteWrapperMobile {
         display: flex;
     }
     .itemPageTitleAndImage,
     .mainDescription {
         flex-wrap: wrap;
         padding:0 5px;
     }
     .itemRowDesk {
         border-bottom: 1px solid transparent;
     }
     .itemRowMob {
         border-bottom: 1px solid #ccc;
         padding-bottom: 10px;
     }

     ul.accessoriesContainer {
        justify-content:center;
    }
 
     li.accessories {
         width:45%;
         text-align: center;
         list-style-type: none;
         margin-top: 20px;
         padding: 4px 0;
     }
 
     .mainImage {
         display: -webkit-box;
         display: -moz-box;
         display: -ms-flexbox;
         display: flex;
         justify-content:center;
         align-items:center;
     }
     .mainImage img {
         width:300px;
         height:300px;
         margin-left: 0;
     }
 
     .featuredAccessories button, 
     .featuredAccessories a {
         width: auto;
         margin:0;
         text-align: center;
     }
 
     .imageContainer img {
         max-width: 150px !important;
     }
 
     .itemDescription {
         margin-top: 10px;
     }
 
     .itemPageTitleAndImage .title p,
     .title h1{
         width: 350px;
      }
 
      .title h1{
          font-size: 28px;
      }
 
      #itemPageContainer {
         padding: 0 1px;
     }
     .itemDescription {
         margin-top: 50px;
     }
     #notFound {
        padding-top: 100px;
    }
}

@media all and (max-width: 480px){}

@media all and (max-width: 415px){}

@media all and (max-width: 400px){}

@media all and (max-width: 380px){}

@media all and (max-width: 350px){
    #notFound {
        padding-top: 100px;
    }
}

@media all and (orientation: portrait){}