/*General Style*/
body
{
    margin: 0;
    padding: 0;

    background-color: #f5f5f5;
    overflow-y: auto;
}

footer
{
    width: 100%;
    height: 30px;
    position: fixed;
    bottom: 0;
    background-color: rgba(0,0,0,0.9);

    text-align: center;
    color: white;
    margin-top: 60px;
}

.shadow
{
  -webkit-box-shadow: 0px 12px 31px -7px rgba(191,191,191,1);
  -moz-box-shadow: 0px 12px 31px -7px rgba(191,191,191,1);
  box-shadow: 0px 12px 31px -7px rgba(191,191,191,1);
}

#preload
{
    height: 100%;
    width: 100%;
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all time 1s ease;
    z-index: -10000;
    visibility: hidden;
}

#loadAnim
{
    border-top: 2px solid #2a6496;
    height: 100px;
    width: 30%;

    position: fixed;
    left: 0;
    top: 100px;
    margin-top: -20px;
    margin-left: -45px;

    -webkit-animation: loader 1.5s linear infinite;
    -o-animation: loader 1.5s linear infinite;
    animation: loader 1.5s linear infinite;
}

@keyframes loader
{
    from
    {
        left: 0;
    }
    to
    {
        left: 100%;
    }
}

/* Nav bar Style*/
.navbar
{
    width: 100%;
    height: 80px;
    position: fixed;
    z-index: 10000;
    display:inline-block;
    top: 0;
    left: 0;

    background-color: white;
}

#logo-navbar
{
    height: 50px;
    margin: auto;
    margin-top: 5px;
}

/*Login Form Style*/
.loginForm
{
    width: 400px;
    padding: 20px;

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    background-color: white;
    text-align: center;
    border-radius: 5px;
}

.input
{
    width: 100%;
    margin-bottom: 5px;

    display: block;

    border: none;
    border-bottom: 1px #cdcdcd solid;
    height: 45px;
    padding: 10px;
}

.input:focus
{
    border-bottom: 1px #2a6496 solid;
}

.input-button
{
    width: 100%;
    margin-top: 5px;

    background-color: white;
    border: 1px solid #2a6496;
    color: #2a6496;
}

.input-button:hover
{
    background-color: #2a6496;
    color: white;
}

/*Contract Form Style*/
.contractForm
{
    width: 50%;
    padding: 20px;
    position: absolute;
    left: 25%;
    top: 17%;
    transform: translate(-12.5%);
    margin-bottom: 100px;


    background-color: white;
    text-align: center;
    border-radius: 5px;
}

.contractForm h6
{
    text-align: left;
    margin-top: 20px;
    padding-left: 10px;
    padding-bottom: 5px;
    font-size: 17px;

    border-bottom: 1px solid #2a6496;
}

.navbar-buttons
{
    display:inline-block;
    position:absolute;
    right: 0;
    top: 0;
    margin-right: 10px;
    margin-top: 20px;
}

.nav-button
{
    cursor: pointer;

    border: 1px solid #2a6496;
    background-color:white;
    color: #2a6496;
}

.nav-button:hover
{
    background-color: #2a6496;
    color: white;
    border: none;
}

.option
{
    width: 49%;
    margin-top: 5px;
    margin-bottom: 5px;

    background-color: white;
    border: none;
    color: #2a6496;
}

.selected
{
    border: 1px solid #2a6496;
    color: #2a6496;
}

.currentSection
{

}

.hiddenSection
{
	display: none;
}

#submitButton
{
    border: 1px solid #2a6496;
    background-color: white;
    color: #2a6496;
    margin-top: 10px;
}

#submitButton:hover
{
    border: 1px solid #2a6496;
    background-color: #2a6496;
    color: white;
}

.alert
{
    height: 50px;
}

/*Document List*/
.documentList
{
  width: 90%;
  position: absolute;
  left: 50%;
  top: 25%;

  margin-left: -45%;
  margin-bottom: 100px;

  background-color: white;
  border-radius: 5px;
}

#documentList p
{
    text-align: center;
    color: rgb(143, 143, 143);
    font-weight: bold;
    margin: auto;
}

.icons
{
  height: 30px;
  padding: 4px;
  margin: auto;

  border: 1px solid #2a6496;
  border-radius: 5px;
  cursor: pointer;
}

.fileIcon
{
  height: 30px;
  padding: 4px;
  margin:auto;
}

.deleteIcon:hover
{
  border: 1px solid red;
}

.searchBar
{
    width: 500px;
    height: 40px;
    position: relative;
    right: 0px;
    top: -45px;
    margin: auto;
}

.searchBar input[type="text"]
{
    border-radius: 5px;
    border: none;
}

.searchBar input[type="button"]
{
    width: 50px;
    height: 45px;
    border-top-right-radius:  5px;
    border-bottom-right-radius:  5px;
    border: 1px solid #2a6496;
    position:absolute;
    top: 0;
    right: -65px;
    background-color: white;
    color: #2a6496;
    background-image: url('../resources/img/icons/search.png');
    background-size: 25px;
    background-position: center;
    background-repeat: no-repeat;

    cursor: pointer;

    margin-right: 64px;
}

.searchBar input[type="button"]:hover
{
    border: 1px solid #2a6496;
    background-color: #2a6496;
    color: white;
}


.pagination
{
    position: relative;
    left: 35%;

    margin-bottom: 100px;
}

.page-item
{
    color: #2a6496;
    border-color: #2a6496;
}

.modal
{
    display:block;
    opacity: 0;
    padding: 20px;

    position: fixed;

    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;

    z-index: 99999999;

    -webkit-transition: opacity .3s ease-out;
    -o-transition: opacity .3s ease-out;
    transition: opacity .3s ease-out;
}

.modal div
{
    width: auto;
    padding: 20px;

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    background-color: white;
    border-radius: 5px;
    text-align: center;
}

#confirmation:target
{
    opacity: 1;
    pointer-events: auto;
}

#deleteButton
{
    width: 49%;
    background-color: white;
    color: red;
    border: 1px solid red;
}

#cancelButton
{
    width: 49%;
}

#deleteButton:hover
{
    background-color: red;
    color: white;
    border: 1px solid red;
}

@media (max-width: 800px)
{
    .contractForm
    {
        width: 60%;
    }

    tr th:nth-child(4),tr td:nth-child(4)
    {
      display:none;
    }

}

@media (max-width: 700px)
{
    .contractForm
    {
        width: 70%;
    }
    tr th:nth-child(4),tr td:nth-child(4)
    {
      display:none;
    }
    tr th:nth-child(1),tr td:nth-child(1)
    {
      display:none;
    }
    tr th:nth-child(2),tr td:nth-child(2)
    {
      display:none;
    }
    tr th:nth-child(5),tr td:nth-child(5)
    {
      display:none;
    }
    #deleteButton{width: 100%;}
    #cancelButton{width: 100%;margin-bottom:5px;}
}

@media (max-width: 450px)
{
    tr th:nth-child(4),tr td:nth-child(4)
    {
      display:none;
    }
    tr th:nth-child(1),tr td:nth-child(1)
    {
      display:none;
    }
    tr th:nth-child(2),tr td:nth-child(2)
    {
      display:none;
    }
    tr th:nth-child(5),tr td:nth-child(5)
    {
      display:none;
    }

    tr {font-size: 13px;}

    .contractForm{width: 80%;}
    #deleteButton{width: 100%;}
    #cancelButton{width: 100%;margin-bottom:5px;}
}

@media (max-width: 450px)
{
    tr th:nth-child(4),tr td:nth-child(4)
    {
      display:none;
    }
    tr th:nth-child(1),tr td:nth-child(1)
    {
      display:none;
    }
    tr th:nth-child(2),tr td:nth-child(2)
    {
      display:none;
    }
    tr th:nth-child(5),tr td:nth-child(5)
    {
      display:none;
    }

    tr {font-size: 9px;}

    .option{width: 100%;}
    .contractForm{width: 90%;}
    #deleteButton{width: 100%;}
    #cancelButton{width: 100%;margin-bottom:5px;}
}
