﻿.changeContent-modal {
    height: calc(100%);
    position: absolute;
    width: 100%;
    display: flex;
    top: 3rem;
}

.modal {
    position: fixed;
    z-index: 2;
    width: 100%;
    height: inherit;
    background-color: rgba(0, 0, 0, 0.4);
    overflow-x: hidden;
    overflow-y: hidden;
}

.modal-dialog {
    width: 90%;
    display: flex;
    position: absolute;
    top: 15%;
    right: 5%;
    left: 5%;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    width: 50%;
    border-radius: 7px;
}

.modal-content-secondary {
    background-color: #fefefe;
    margin: 1% auto;
    width: 40%;
    border-radius: 7px;
}

.modal-header {
    background-color: #F28E47;
    background-color: #002C57;
    padding: 5px 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    flex-direction: row;
    border-radius: 7px;
}

    .modal-header h4 {
        color: #fff;
        margin: 0;
        width: 100%;
        font-size: 22px;
    }

.modal-body {
    padding: 10px 15px;
    color: #fff;
    margin: 25px 4% 0;
}

content of the modal, text
    .modal-body label {
        color: #6C7278;
    }

.modal-footer {
    padding: 10px 15px;
    text-align: right;
    margin: 0 4%;
    padding: 0 10px 10px;
    display: flex;
    color: #6C7278;
}

.modal-close {
    color: #fff;
    background-color: #F28E47;
    width: fit-content;
    text-decoration: none;
    border: none;
    margin-top: 5px;
    float: right;
    cursor: pointer;
}

.modal-footer button {
    height: 40px;
}

.modal-footer-button {
    align-self: center;
    justify-content: right;
    margin-left: 363px;
}

 Responsive Start 
@media (max-width:480px) {  smartphones, iPhone, portrait 480x320 phones 
    .modal-content {
        width: 100%;
    }

    .modal-footer {
        display: flex;
        padding: 0px 13px 10px;
        margin-right: 10px;
    }
}

@media (max-width:640px) {  portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. 
}

@media (max-width:960px) {  portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones 
    .modal-footer {
        text-align: center;
    }
}

@media (max-width:1024px) {  tablet, landscape iPad, lo-res laptops ands desktops 
}

@media (max-width:1280px) {  big landscape tablets, laptops, and desktops 
}
 Responsive End 
