/* The Modal (background) */
.modal-partner {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content-partner {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.container-partner{
    align-items: center;
    /*Using Grid */
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    column-gap: 5px;
    /*Using Flex
    display: flex;
    flex-flow: row wrap;
    flex-wrap: wrap; */

    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    padding: 5px;

 /*   justify-content: space-between; */
}

.container-partner img{
    object-fit: cover;
    width: 100%;
    /* Add rounded corners to the top left and the top right corner of the image */

  border-radius: 8px 8px 8px 8px;
  border:1px solid black;
  max-width:350px;
  min-width:100px;
  /*
  vertical-align:middle;
  align-items:center;
  margin:5px 3px;
  */

}

.partnerBox img:hover{
  box-shadow: 8px 4px 8px 8px rgba(0,30,30,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -moz-box-shadow: 0px 10px 5px #000000;
  -webkit-box-shadow: 0px 10px 5px #000000;  
}
@media (max-width: 9900px) {
  .container-partner{
    grid-template-columns: repeat(8, 1fr);
  }
}

@media (max-width: 1200px) {
  .container-partner{
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 600px) {
  .container-partner{
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 320px) {
  .container-partner {      
    grid-template-columns: repeat(2, 1fr);
  }
}
  
body {
    background-color:#4A148C
}

.padding {
    padding: 5rem
}

p {
    font-size: 0.875rem;
    margin-bottom: .5rem;
    line-height: 1.5rem;
    margin-left: 15px;
    text-align: justify;
}


.media iframe,
.media-content {
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   border: 0;
   border-radius: inherit;
   background-size: cover;
   background-repeat: no-repeat;
   background-position: 50% 50%;
   background-color: rgba(120, 120, 120, .1);
   display: flex;
   -webkit-box-pack: center;
   -ms-flex-pack: center;
   justify-content: center;
   -webkit-box-align: center;
   -ms-flex-align: center;
   align-items: center
}

.media-content:before {
   content: '';
   position: absolute;
   height: 10%;
   width: 90%;
   left: 5%;
   bottom: 0;
   background: inherit;
   background-position-y: 100%;
   filter: blur(10px)
}

.circle .media-content:before {
   width: 40%;
   left: 30%
}


.profile-image{
   width: 200px;
   height: auto;
   border-top-left-radius: 11px !important;
   border-top-right-radius: 11px;
}

.card-title{
   font-size: 19px;
   font-weight: 200;
}




