/* The Modal (background) */
.modal {
    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 {
    position: relative;
    display: inline-block;
    float: right;
    background-color: #fefefe;
    margin: 1%;
    padding: 0;
    width: 98%;
    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;
}

.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    width: 0;
    margin-left: -1em;
    vertical-align: middle;
}

.Fdivs{
    display: inline-block;
    width: 24%;
    margin-right: 0.5%;
}

.Ddivs{
    display: inline-block;
    width: 49%;
}

.Tdivs{
    display: inline-block;
    width: 32%;
    margin-right: 0.5%;
}

.Cdivs{
    display: inline-block;
    width: 18.86%;
    margin-right: 1%;
}

.imgmostra{
        width: 50%;
        height: 100%;
        margin: auto;
}

@media screen and (max-width: 1000px) and (min-width: 300px)  {
    .modal-content{
        width: 99%;

    }
    .Fdivs{
        display: inline-block;
        width: 49%;
    }
    .Ddivs{
        display: inline-block;
        width: 100%;
    }
    .Tdivs{
        display: inline-block;
        width: 100%;
    }
    .Cdivs{
        display: inline-block;
        width: 100%;
    }
    .imgmostra{
        width: 100% !important;
        height: 100%;
    }
}

@media screen and (min-width: 1001px) {
    .modal-content{
        width: 50%;
        margin-right: 25%;
    }
}

/* 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;
}

.modal-header {
    padding: 2px 16px;
    background-color: #8c1b67;
    color: white;
    border-top: 1px solid #8c1b67;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #8c1b67;
    color: white;
    display: flow-root;
    border-top: 1px solid #8c1b67;
}

.close{
    text-shadow: 0 1px 0 #000;
    filter: alpha(opacity=80);
    opacity: .5;
    font-size: 50px;
}

.state-icon {
    left: -5px;
}
.list-group-item-primary {
    color: rgb(255, 255, 255);
    background-color: rgb(66, 139, 202);
}

.list-group-item-success {
    color: #8c1b67 !important;
    background-color: #dff0d8 !important;
    border-color: #8c1b67 !important;
}

.list-group-item.active{
    color: #8c1b67 !important;
    background-color: #8c1b6738 !important;
    border-color: #8c1b6738 !important;
}

/* DEMO ONLY - REMOVES UNWANTED MARGIN */
.well .list-group {
    margin-bottom: 0px;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #0000001f;
    border: 1px solid #ddd;
}

.swal-button{
    background-color: #8c1b67 !important;
}