﻿body {
  height: 100%;
  background-color: whitesmoke;
  margin-top: 50px;
}
body .myDuty {
  border-color: black;
  border-style: solid;
  width: 100%;
}
body .modalDutyCard {
  height: 500px;
  padding: 10px;
}
body .dutyImageContainer {
  text-align: center;
}
body .subheader {
  font-size: 15px;
  font-weight: bold;
}
body .arrowDutyTimes {
  font-size: 15px !important;
}
body .modalDutyCardActivities {
  margin-top: 20px;
  height: 350px;
  overflow: hidden;
  overflow-y: auto;
}
body .modalDutyName {
  font-size: 25px;
  font-weight: bold;
}
body .modalStartTime {
  margin-top: 18px;
  font-size: 18px;
}
body .modalEndTime {
  font-size: 18px;
}
body .modalArrow {
  margin-top: 200px;
  margin-bottom: 60px;
}
body .dutyExchangeCard .dutyExchangeCardTable {
  padding: 15px;
}
body .dutyExchangeCard .header {
  background-color: #4d4d4d;
  position: relative;
  color: white;
  /*font-weight:bold;*/
  width: 300px;
  margin-top: 10px;
  padding: 10px;
  height: 40px;
}
body .dutyExchangeCard {
  -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;
  width: 30%;
  min-width: 640px;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  margin-bottom: 50px;
  border-radius: 5px;
  background-color: #fcfcfc;
  overflow: hidden;
}
body .dutyExchangeCard .chooserBodyFooter {
  margin: 0;
  padding: 5px;
  position: relative;
  text-align: right;
  width: 100%;
  background-color: whitesmoke;
}
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 2px 40px 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%;
  width: 500px;
  overflow: hidden;
  /*grid-template-rows: 30px 100px 100px 10px 100px 100px 200px 50px;
        grid-template-columns: 300px 80px 300px;
        grid-template-areas: 
            "header header header" 
            "body body body" 
            "body body body"
            "puffer puffer puffer"
            "duty1 arrow duty2"
            "duty1 arrow duty2"
            "duty1 arrow duty2"            
            "footer1 footer1 footer2";*/
}
body .chooseMenu .chooserHeader {
  padding: 10px;
  width: 100%;
  display: block;
  position: relative;
  align-self: center;
  text-align: right;
  background-color: yellow;
  font-size: 25px;
}
body .chooseMenu .chooserBody {
  background-color: orange;
  padding: 10px;
  align-self: center;
  grid-area: body;
  height: 100%;
  margin: 0px;
}
body .chooseMenu .chooserDuty1 {
  background-color: white;
  width: 100%;
  font-size: 20px;
  margin: 10px;
  padding: 10px;
  grid-area: duty1;
  height: auto;
}
body .chooseMenu .chooserDuty2 {
  background-color: white;
  margin: 10px;
  font-size: 20px;
  padding: 10px;
  align-self: center;
  grid-area: duty2;
  height: 100%;
}
body .chooseMenu .splitter {
  background-color: whitesmoke;
  padding-top: 150px;
  height: 100%;
  grid-area: arrow;
  font-size: 20px;
  text-align: center;
}
body .chooseMenu .noDutyText {
  height: 100%;
  margin-top: 70px;
  padding: 10px;
  font-size: 18px;
  text-align: center;
  grid-area: duty2;
}
body .chooseMenu .chooserFooter1 {
  position: relative;
}
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: 1500px;
  margin-left: 670px;
}
body .new {
  background-color: lightblue;
  position: absolute;
  width: 100px;
  margin-top: 10px;
  overflow: hidden;
  padding: 10px;
  /*bottom:30px;*/
  font-weight: bold;
}
body .selectedFilter {
  width: 400px;
  margin-bottom: 30px;
}
body .deal {
  padding: 0px;
  margin: 15px;
  /*margin-left:80px;*/
  background-color: white;
  height: 250px;
  /*width:500px;*/
  overflow: hidden;
}
body .deal .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 .deal .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: 80%;
  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 .deal .dealItem {
  background-color: white;
  padding: 10px;
  margin: 0px;
  float: left;
  height: 250px;
  width: 33%;
  overflow: hidden;
  padding-top: 50px;
}
body .deal .dealItem .dutyInfos {
  display: grid;
  grid-template-rows: 40px 20px 15px 15px 40px;
}
body .deal .dealItem .dutyInfos .header {
  font-size: 20px;
  /*height: 40px;*/
  overflow: hidden;
  width: 200px;
  background-color: transparent;
}
body .deal .dealItem .dutyInfos .subheader {
  font-weight: bold;
  /*margin-top:20px;*/
}
body .deal .dealItem .status {
  position: relative;
  text-align: right;
  margin-right: 5px;
  bottom: -30px;
  font-size: 40px;
  opacity: 0.4;
  grid-row: 5;
}
body .deal .dealItem .status .approved {
  color: green;
}
body .deal .dealItem .status .exchange {
  color: blue;
}
body .deal .dealItem .status .refuse {
  color: darkred;
}
body .deal .dealChanger {
  float: left;
  width: 33%;
  padding: 10px;
  height: 250px;
  text-align: center;
  background-color: whitesmoke;
}
body .deal .dealChanger .arrow {
  margin-top: 40px;
  bottom: auto;
  font-size: 30px;
  text-align: center;
  color: black;
}
body .deal .dealChanger .dateMiddle {
  background-color: white;
  font-size: 18px;
}
body .deal .dealcomplete {
  background-color: rgba(153, 204, 153, 0.8);
}
body .deal .dealStorno {
  background-color: rgba(153, 204, 153, 0.8);
}
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 .gridContainer {
  display: grid;
  grid-template-rows: 50px 50px 50px;
  grid-template-columns: 100px 300px 400px;
  grid-template-areas: "text1 content1 duty" "text2 content2 duty" "text3 content3 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 .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;
}
@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 .dutyExchangeModalDimmer {
    z-index: 4000;
    opacity: 1;
    position: fixed;
    width: 100%;
    background-color: dimgray;
    height: 100%;
    top: 0px;
    margin: 5% auto;
    left: 0;
    right: 0;
  }
  body .dutyExchangeModal {
    padding: auto;
    z-index: 4000;
    background-color: white;
    position: relative;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    height: 80%;
    background-color: whitesmoke;
    text-align: center;
    display: block;
    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 .dutyExchangeModal .pdfViewerHeader {
    padding: 10px;
    text-align: center;
    font-size: 20px;
  }
  body .dutyExchangeModal .pdfViewerContent {
    width: 100%;
    height: 90%;
    padding: 20px;
    text-align: center;
  }
  body .dutyExchangeModal .pdfViewerContent .imageContainer {
    width: 80%;
  }
  body .dutyExchangeModal .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 .selectedFilter {
    width: 100%;
    margin-bottom: 30px;
  }
  body .dutyExchangeCard {
    width: 100%;
    min-width: unset;
  }
  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%;
  }
}