/* Full-width input fields */
input[type=text], input[type=password] {
  width: 90%;
  padding: 10px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Columns layout */
.column {
    float: left;
    width: 14%;
}
.row:after {
    content: "";
    display: table;
    clear: both;
}
.fullFooterColumns {
    display: flex;
    justify-content:center;
    align-items: center;
}
.contactColumn {
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Buttons */
/* General button settings (Default) */
.loginbuttonsection {
    background:#fff;
    text-align: center;
}

button {
    background-color: transparent;
    border-radius:160px;
    color: grey;
    padding: 15px 32px;
    text-align: center;
    width:auto;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    border: 4px solid grey;
}
button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}
button span:after {
    font-family: FontAwesome;
    content: '\f011';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}
button:hover span {
    color: black;
    padding-right: 25px;
}
button:hover span:after {
    color: black;
    opacity: 1;
    right: 0;
}
                       
/* Login button for Medifarm */
.mdflogin{
    color: #bc85d6;
    border: 4px solid #aa54d3;
}
.mdflogin:hover span {
    color: #7f3d85;
}
.mdflogin:hover span:after {
    color: #7f3d85;
}
                        
/* Login button for Mediwin */
.mdwlogin{
    color: #79b7ec;
    border: 4px solid #7aa2d6;
}
.mdwlogin:hover span {
    color: #18355d;
}
.mdwlogin:hover span:after {
    color: #18355d;
}
                        
/* Login button for Difarmed */
.dfmlogin{
    color: #96bcdf;
    border: 4px solid #84b0d9;
}
.dfmlogin:hover span {
    color: #33587a;
}
.dfmlogin:hover span:after {
    color: #33587a;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: fit-content();
  overflow: hidden;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

.container {
  padding: 16px;
}

/* Modal login button */
.modalbtndefault {
  color: grey;
  width: auto;
  text-align:center;
  background-color: #fff;
  border: 4px solid grey;
  border-radius:160px;
  padding: 10px 18px;
  transition: 0.5s;
}
.modalbtndefault:hover {
    color: black;
}

.modalbtnmdf {
  color: #bc85d6;
  width: auto;
  text-align:center;
  background-color: #fff;
  border: 4px solid #aa54d3;
  border-radius:160px;
  padding: 10px 18px;
  transition: 0.5s;
}
.modalbtnmdf:hover {
    color: #7f3d85;
}

.modalbtnmdw {
  color: #79b7ec;
  width: auto;
  text-align:center;
  background-color: #fff;
  border: 4px solid #7aa2d6;
  border-radius:160px;
  padding: 10px 18px;
  transition: 0.5s;
}

.modalbtnmdw:hover {
    color: #18355d;
}

.modalbtndfm {
  color: #96bcdf;
  width: auto;
  text-align:center;
  background-color: #fff;
  border: 4px solid #84b0d9;
  border-radius:160px;
  padding: 10px 18px;
  transition: 0.5s;
}

.modalbtndfm:hover {
    color: #33587a;
}

/* Modal close button */
.closeContainer {
  margin: 24px 0 12px 0;
  position: relative;
}
.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}

/* Modal animations */
.animate {
  -webkit-animation: animatezoom 1s;
  animation: animatezoom 1s
}
@-webkit-keyframes animatezoom {
  from {-webkit-transform: translate(-50%, -50%) scale(0)} 
  to {-webkit-transform: translate(-50%, -50%) scale(1)}
}
@keyframes animatezoom {
  from {transform: translate(-50%, -50%) scale(0)} 
  to {transform: translate(-50%, -50%) scale(1)}
}

/* Adaptative styles for small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}
