﻿body {
  height: 100%;
  background-color: whitesmoke;
  margin-top: 50px;
}
body .search {
  /*background-color:white;*/
  padding: 20px;
  /*padding-top:20px;*/
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  width: 100%;
  height: auto;
  overflow: hidden;
  /*border-top:solid;*/
  /*border-bottom:solid;*/
  border-width: 2px;
  border-color: #dddddd;
  /*border-radius:5px;*/
}
body .buttonSearchContainer {
  display: grid;
  grid-template-columns: 100px auto;
}
body .buttonSearchContainer .searchButton {
  grid-column: 1 / span 6;
  grid-row: 0 / span 4;
  justify-self: center;
  align-self: center;
  width: 200px;
}
body .searchContainer {
  display: grid;
  grid-template-columns: 100px auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 15px;
  border-radius: 5px;
  margin-bottom: 30px;
}
body .searchContainer .title {
  justify-self: left;
}
body .searchContainer .item {
  justify-self: left;
}
body .dutyExchangeOfferCard .dutyExchangeOfferCardTable {
  padding: 15px;
}
body .dutyImageContainer {
  text-align: center;
}
body .collapsible {
  background-color: transparent;
  position: absolute;
  color: black;
  cursor: pointer;
  width: 90%;
  border: none;
  top: 120px;
  border-bottom: solid;
  border-bottom-color: #838383;
  border-bottom-width: 1px;
  text-align: left;
  outline: none;
  font-size: 15px;
}
body .active,
body .collapsible:hover {
  /*font-size:16px;*/
}
body .content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: transparent;
  border: none;
  /*border-bottom:solid;
  border-bottom-width:1px;*/
}
body .offersStatus {
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
  margin-top: 20px;
  color: dimgray;
  padding-top: 30px;
  text-align: center;
  /*border-top-color: dimgray;
        border-top: solid;
        border-top-width: 1px;*/
}
body .header {
  background-color: #4d4d4d;
  color: white;
  position: relative;
  width: 300px;
  margin-top: 10px;
  padding: 10px;
  height: 40px;
}
body .checkbox {
  height: 20px;
  width: 20px;
}
body .radioButton {
  height: 20px;
  width: 20px;
  text-align: center;
}
body .radioButtonLabel {
  margin-left: 5px;
}
body .endTimeGroup {
  background-color: whitesmoke;
  width: auto;
}
body th {
  background-color: whitesmoke !important;
}
body .firstColumnWidth {
  width: 250px !important;
}
body .description {
  color: dimgrey;
  font-size: 15px;
  font-style: italic;
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
body .dutyExchangeOfferCard {
  -webkit-box-shadow: 0px 20px 38px -14px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 38px -14px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 2px 40px 0px rgba(0, 0, 0, 0.75);
  display: block;
  background-color: #fcfcfc;
  overflow: hidden;
  border-radius: 5px;
  margin-top: 50px;
  margin-bottom: 50px;
  height: 690px;
}
body .dutyExchangeOfferCard .chooserBodyFooter {
  left: 0;
  bottom: 0;
  padding: 5px;
  position: absolute;
  text-align: right;
  width: 100%;
  background-color: whitesmoke;
}
body .dutyOfferLinks {
  /*-webkit-box-shadow: 0px 20px 38px -14px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 38px -14px rgba(0,0,0,0.75);
        box-shadow: 0px 2px 40px 0px rgba(0,0,0,0.75);*/
  /*background-color:whitesmoke;*/
  margin-left: 10px;
  height: 500px;
  margin-top: 50px;
}
body .dutyExchangeRequestsCard {
  margin-top: 40px;
  height: 580px;
  margin-bottom: 50px;
  background-color: #fcfcfc;
}
body .selectedFilter {
  width: 400px;
  margin-bottom: 30px;
}
body .seachCard {
  /*margin-left: auto;
        margin-right: auto;
        width: 80%;
        height: 350px;*/
}
body .actualDuty {
  color: black;
  /*font-weight: bold;*/
  /*background-color: lightblue;*/
  /*height: 40px;*/
  width: 80%;
  /*padding: 10px;*/
}
body .tableFixHead {
  overflow-y: auto;
  height: 300px;
  margin-top: 10px;
}
body .tableFixHead thead th {
  position: sticky;
  top: 0;
  background-color: transparent;
}
body .chooseMenu {
  -webkit-box-shadow: 0px 20px 38px -14px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 38px -14px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.75);
  display: grid;
  background-color: #fcfcfc;
  opacity: 1;
  left: 10px;
  top: 160px;
  position: fixed;
  z-index: 1000;
  height: 80%;
  overflow: hidden;
  grid-template-rows: 30px 300px 10px 200px 50px;
  grid-template-columns: 300px 80px 300px;
  grid-template-areas: "header header header" "body1 body1 body1" "puffer puffer puffer" "body2 body2 body2" "footer1 footer1 footer2";
}
body .chooseMenu .chooserHeader {
  padding: 10px;
  align-self: center;
  text-align: right;
  grid-area: header;
  font-size: 25px;
}
body .chooseMenu .chooserBody1 {
  background-color: white;
  padding: 10px;
  align-self: center;
  grid-area: body1;
  height: 100%;
  margin: 10px;
}
body .chooseMenu .chooserBody2 {
  background-color: white;
  padding: 10px;
  align-self: center;
  grid-area: body2;
  height: 100%;
  margin: 10px;
}
body .chooseMenu .chooserFooter1 {
  /*background-color:white;*/
  align-self: flex-end;
  /*background-color:#4d4d4d;*/
  grid-area: footer1;
  text-align: right;
  padding: 5px;
}
body .chooseMenu .chooserFooter2 {
  /*background-color:white;*/
  align-self: flex-end;
  /*background-color:#4d4d4d;*/
  grid-area: footer2;
  text-align: right;
  padding: 5px;
}
body .card {
  background-color: white;
  cursor: pointer;
  overflow: hidden;
  width: 50%;
}
body .card .cardHeader {
  height: 50px;
  padding: 5px;
  margin: 10px;
  top: 0;
  left: 25px;
  right: 25px;
  font-size: 20px;
  position: relative;
}
body .card .cardBody {
  padding: 10px;
  overflow: hidden;
  overflow-y: auto;
  position: relative;
}
body .card .cardBody div {
  margin: 10px;
}
body .card .cardBody div .text {
  width: 200px;
}
body .card .cardFooter {
  height: 50px;
  padding-right: 5px;
  left: 25px;
  margin-right: 25px;
  bottom: 0px;
  text-align: right;
  position: relative;
}
body .card.exchange {
  position: relative;
  background-color: transparent;
}
body .dealContainer {
  width: 1100px;
  /*background-color:green;*/
  margin-left: 670px;
}
body .deal {
  padding: 0px;
  margin-bottom: 30px;
  margin-left: 15px;
  /*background-color:white;*/
  height: 250px;
  /*width:100%;*/
  /*width:500px;*/
  overflow: hidden;
}
body .dealHeader {
  position: absolute;
  -webkit-box-shadow: 0px 8px 38px -14px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 38px -14px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 1px 35px -14px rgba(0, 0, 0, 0.75);
  background-color: rgba(255, 255, 255, 0.5);
  width: 50%;
  overflow: hidden;
  opacity: 1;
  font-weight: bold;
  text-align: center;
  font-size: 12px;
  padding: 10px;
  border-radius: 5px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}
body .dealItemFooter {
  position: absolute;
  left: 5px;
  width: auto;
  opacity: 0.9;
  height: 50px;
  bottom: 10px;
  text-align: center;
  padding-top: 8px;
  border-radius: 2px 0px 0px 2px;
}
body .dealItemForThree {
  background-color: white;
  padding: 10px;
  margin: 0px;
  float: left;
  height: 250px;
  width: 20%;
  overflow: hidden;
  padding-top: 50px;
}
body .dealItemForTwo {
  background-color: white;
  padding: 10px;
  margin: 0px;
  float: left;
  height: 250px;
  width: 40%;
  overflow: hidden;
  padding-top: 50px;
}
body .shadow {
  -webkit-box-shadow: 0px 8px 38px -14px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 38px -14px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 1px 35px -14px rgba(0, 0, 0, 0.75);
}
body .header.shadow.cardDate {
  position: absolute;
  font-weight: bold;
  top: 0px;
  width: 140px;
}
body .status {
  position: relative;
  text-align: right;
  margin-right: 5px;
  bottom: -20px;
  font-size: 40px;
  opacity: 0.4;
  pointer-events: none;
  grid-row: 5;
}
body .status .approved {
  color: green;
}
body .status .exchange {
  color: blue;
}
body .status .refuse {
  color: darkred;
}
body .dutyInfos {
  display: grid;
  margin-top: 10px;
  grid-template-rows: 40px 20px 15px 15px 40px;
}
body .dutyInfos .header {
  font-size: 20px !important;
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: auto;
  background-color: transparent;
}
body .dutyInfos .subheader {
  font-size: 15px;
  font-weight: bold;
}
body .dealChanger {
  float: left;
  width: 20%;
  padding: 10px;
  height: 250px;
  text-align: center;
  background-color: whitesmoke;
}
body .dealChanger .arrow {
  margin-top: 70px;
  bottom: auto;
  font-size: 30px;
  text-align: center;
  color: black;
}
body .dealcomplete {
  background-color: rgba(153, 204, 153, 0.8);
}
body .gridContainer {
  display: grid;
  grid-template-rows: 50px 50px 50px 50px 50px;
  grid-template-columns: 100px 300px 400px;
  grid-template-areas: "text1 content1 duty" "text2 content2 duty" "text3 content3 duty" "text4 content4 duty" "text5 content5 duty";
}
body .gridContainer .text1 {
  align-self: center;
  grid-area: text1;
}
body .gridContainer .content1 {
  align-self: center;
  grid-area: content1;
}
body .gridContainer .text2 {
  align-self: center;
  grid-area: text2;
}
body .gridContainer .content2 {
  align-self: center;
  grid-area: content2;
}
body .gridContainer .text3 {
  align-self: center;
  grid-area: text3;
}
body .gridContainer .content3 {
  align-self: center;
  grid-area: content3;
}
body .gridContainer .text4 {
  align-self: center;
  grid-area: text4;
}
body .gridContainer .content4 {
  align-self: center;
  grid-area: content4;
}
body .gridContainer .text5 {
  align-self: center;
  grid-area: text5;
}
body .gridContainer .content5 {
  align-self: center;
  grid-area: content5;
}
body .gridContainer .currentDuty {
  width: 150px;
  margin: 0px !important;
  margin-left: 10px !important;
  float: left;
  grid-area: duty;
  /*.yourDuty{
            border:solid;
            grid-area: yourDuty;
            align-self:center;         
            
            .header{
                font-size:25px;
            }*/
}
body .gridContainer .currentDuty .header {
  font-size: 25px;
}
body .arrowDutyTimes {
  font-size: 15px !important;
}
@media only screen and (min-width: 1026px) {
  body .pdfModalLayer {
    opacity: 0.5;
    z-index: 1000;
    background-color: black;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
  }
  body .pdfViewer {
    padding: auto;
    z-index: 2000;
    background-color: white;
    position: fixed;
    top: 0px;
    margin: 5% auto;
    left: 0;
    right: 0;
    width: 85%;
    height: 80%;
    overflow: hidden;
    -webkit-box-shadow: 0px 5px 32px 1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 5px 32px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 5px 32px 1px rgba(0, 0, 0, 0.75);
  }
  body .pdfViewer .pdfViewerHeader {
    padding: 10px;
    text-align: center;
    font-size: 20px;
  }
  body .pdfViewer .pdfViewerContent {
    width: 100%;
    height: 90%;
    border: solid;
    margin-left: auto;
    margin-right: auto;
    overflow-y: scroll;
    border-width: 1px;
    background-color: #727272;
    text-align: center;
  }
  body .pdfViewer .pdfViewerContent .imageContainer {
    width: 80%;
  }
  body .pdfViewer .pdfViewerFooter {
    height: 40px;
    width: 100%;
    padding-top: 2px;
    background-color: whitesmoke;
    bottom: 0;
    position: absolute;
    text-align: center;
    margin-top: 2px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1025px) {
  body .pdfModalLayer {
    opacity: 0.5;
    z-index: 1000;
    background-color: black;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
  }
  body .pdfViewer {
    padding: auto;
    z-index: 2000;
    background-color: whitesmoke;
    position: fixed;
    top: 20px;
    margin: 5% auto;
    left: 0;
    right: 0;
    width: 95%;
    height: 80%;
    overflow: hidden;
    -webkit-box-shadow: 0px 5px 32px 1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 5px 32px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 5px 32px 1px rgba(0, 0, 0, 0.75);
  }
  body .pdfViewer .pdfViewerHeader {
    padding: 10px;
    text-align: center;
    font-size: 20px;
  }
  body .pdfViewer .pdfViewerContent {
    width: 100%;
    height: 100%;
    overflow: scroll;
    margin-bottom: 20px;
    border: solid;
    border-width: 1px;
    overflow-y: scroll;
  }
  body .pdfViewer .pdfViewerContent .imageContainer {
    width: 100%;
  }
  body .pdfViewer .pdfViewerFooter {
    height: 40px;
    width: 100%;
    padding-top: 2px;
    background-color: whitesmoke;
    bottom: 0;
    position: absolute;
    text-align: center;
    margin-top: 2px;
  }
}
@media only screen and (max-width: 767px) {
  body .firstColumnWidth {
    width: auto !important;
  }
  body .seachCard {
    width: 100%;
  }
  body .dutyExchangeOfferCard {
    width: 100%;
    height: auto;
  }
  body .dutyExchangeRequestsCard {
    width: 100%;
    height: auto;
    margin-left: 0px;
  }
  body .selectedFilter {
    width: 100%;
  }
  body .deal {
    padding: 0px;
    margin-bottom: 30px;
    margin-left: 15px;
    margin-right: 15px;
    /*background-color:white;*/
    height: 250px;
    /*width:100%;*/
    /*width:500px;*/
    overflow: hidden;
  }
  body .subheader {
    font-size: 15px;
  }
  body .pdfModalLayer {
    opacity: 0.5;
    z-index: 1000;
    background-color: black;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
  }
  body .pdfViewer {
    padding: auto;
    z-index: 2000;
    background-color: white;
    position: fixed;
    top: 0;
    margin: 5% auto;
    left: 0;
    right: 0;
    width: 95%;
    height: 95%;
    overflow: hidden;
    -webkit-box-shadow: 0px 5px 32px 1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 5px 32px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 5px 32px 1px rgba(0, 0, 0, 0.75);
  }
  body .pdfViewer .pdfViewerHeader {
    padding: 5px;
    text-align: center;
    font-size: 12px;
  }
  body .pdfViewer .pdfViewerContent {
    width: 100%;
    height: 100%;
    border: solid;
    overflow-y: scroll;
    overflow-x: hidden;
    border-width: 1px;
    background-color: #727272;
    text-align: center;
  }
  body .pdfViewer .pdfViewerContent .imageContainer {
    width: 100%;
  }
  body .pdfViewer .pdfViewerFooter {
    height: 40px;
    width: 100%;
    padding-top: 2px;
    background-color: whitesmoke;
    bottom: 0;
    position: absolute;
    text-align: center;
    margin-top: 2px;
  }
  body .card {
    background-color: white;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
  }
}