/*
Theme Name: Maddesign
*/

.clearfix:before, .clearfix:after {
    content: '';
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.popup_bg_overlay {
    visibility: hidden;
    opacity: 0.5;
    background-color: black;
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 100000;
    transition: all 0.3s ease 0s;
}

.popup_bg_overlay.is-active {
    visibility: visible;
}

.popup_form_wrapper {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    overflow: auto;
    z-index: 100001;
    transition: all 0.3s ease 0s;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    text-align: center;
    display: flex;
    align-items: center;
}

.popup_form_wrapper.is-active{
    opacity: 1;
    visibility: visible;
}

.popup_form_wrapper .popup_content{
    width: 500px;
    height: auto;
    padding: 35px;
    background-color: #fff;
    z-index: 1;
    margin: auto;
}

.popup_form_wrapper.is-active .popup_content{
    opacity: 1;
    visibility: visible;
    display: inline-block;
    outline: none;
    transition: all 0.3s ease 0s;
    text-align: left;
    position: relative;
    vertical-align: middle;
}

.popup_form_wrapper .close{
    position: absolute;
    right: 15px;
    top: 15px;
    display: block;
    background: none;
    border: none;
    padding: 0;
    outline: 0;
    cursor: pointer;
    -webkit-animation: scale-back .2s ease-in forwards;
    animation: scale-back .2s ease-in forwards;
    z-index: 10;
}

.popup_form_wrapper .form-group input {
    width: 100%;
    padding: 15px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #000;
}

.popup_form_wrapper .form-group div {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.services-template .popup_form_wrapper h2 {
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: 700;
}
.services-template .popup_form_wrapper h2, .popup_form_wrapper h3, .popup_form_wrapper p {
    text-align: center;
    color: #000;
}

