#men, .nav-break {
    display: none
}

#nav1 ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    float: right
}

#nav1 li {
    display: inline;
    padding-right: 15px;
    font-size: 18px
}

.specialH2 {
    font-size: 45px
}

.footer-widgets {
    overflow-y: auto;
    overflow-x: hidden
}

#container1 {
    padding-bottom: 30px
}

.lnk_btn2 {
    text-decoration: none;
    color: #000;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background-color: #fcd088;
    -webkit-transition: all .3s;
    transition: all .3s;
    cursor: pointer;
    -webkit-appearance: none;
    display: table;
    margin: auto auto 20px;
    width: 180px
}

#footer, #footer a, #footer hr {
    color: #fff
}

.flex-container2, .footer-contact {
    display: -webkit-flex;
    display: -ms-flexbox
}

.lnk_btn2:hover {
    background-color: #ccc
}

#footer, #top {
    background-color: #4d4d4d
}

.flex-container2 {
    padding: 0;
    margin: 0;
    list-style: none;
    display: -webkit-box;
    display: -moz-box;
    display: flex;
    -webkit-flex-flow: row wrap;
    justify-content: space-around;
    width: 100%
}

.flex-item2 {
    height: auto
}

.flex-item2 img {
    width: 250px;
    height: 200px;
    border: 3px solid #fcd088
}

.footer-info, .footer-widgets {
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.flex-item2 ul {
    list-style-type: square
}

.flex-item2 li {
    text-align: left
}

#content, .close, .descrp h4, .footer-branding {
    text-align: center
}

.descrp ul {
    font-size: 17px
}

.descrp{
max-width:250px;	
}

#logo {
    Width: 15%;
    padding-left: 80px;
    padding-top: 15px;
    padding-bottom: 15px
}

#content {
    width: 100%
}

a {
    text-decoration: none;
    color: #a3a3a3;
    font-family: 'Josefin Sans', sans-serif
}

a:hover {
    text-decoration: none;
    color: #fcd088;
    font-family: 'Josefin Sans', sans-serif
}

h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 30px
}

#footer {
    font-size: 14px;
    overflow: auto;
    font-family: 'Josefin Sans', sans-serif
}

.footer-contact-block {
    display: inline-block;
    text-align: center;
    width: 33%;
    padding: 0 20px
}

.footer-contact {
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    width: 70%;
    float: right;
    padding: 60px 15px;
    font-size: 20px;
    border-left: 1px solid rgba(255, 255, 255, .08)
}

.footer-branding {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    width: 20%;
    float: left;
    padding: 80px 30px 15px
}

.footer-widgets {
    padding: 60px 0
}

#container1, .container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px
}

#content {
    background-color: #f2f2f3;
    padding-top: 30px;
    padding-bottom: 60px
}

#container1 {
    width: 90%;
    height: auto;
    background-color: #fff;
    border-left: 1px solid #F2F2F3;
    border-right: 1px solid #F2F2F3;
    border-bottom: 1px solid #F2F2F3;
    overflow: auto
}

#sidebar-footer {
    padding-left: 70px
}

#sidebar-footer img {
    border: 2px solid rgba(255, 255, 255, .08)
}

hr {
    width: 50%
}

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity .4s ease-in;
    -moz-transition: opacity .4s ease-in;
    transition: opacity .4s ease-in;
	overflow: auto;
    pointer-events: none;
	
}

.modalDialog:target {
    opacity: 1;
    pointer-events: auto
}

.modalDialog > div {
    width: 50%;
    height: 50%;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px;
    border-radius: 10px;
    background: #fff;
    background: -moz-linear-gradient(#fff, #444);
    background: -webkit-linear-gradient(#fff, #444);
    background: -o-linear-gradient(#fff, #444)
}

.modalDialog > div img {
    width: 70%;
    height: 70%
}

.close {
    background: #444;
    color: #FFF;
    line-height: 25px;
    position: absolute;
    right: -5px;
    top: -5px;
    width: 40px;
    text-decoration: none;
    font-weight: 700;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000
}

.close:hover {
    background: #00d9ff
}


@media screen and (max-width: 1024px) {
    #sidebar-footer-mob, .footer-contact-block {
        border-bottom: 1px solid rgba(255, 255, 255, .08)
    }

    #test2, .socialmedia-text {
        text-align: center
    }

    .footer-branding {
        display: none;
        border-right: none
    }

    .footer-contact {
        border-left: none
    }

    .footer-contact-block {
        display: inline-block;
        text-align: center;
        width: 100%;
        margin: auto auto auto -1.5em;
        padding: none
    }

    .footer-info-test {
        width: 100%;
        display: block;
        overflow: hidden;
        padding: none;
        margin: auto
    }

    #sidebar-footer, .footer-info {
        display: none
    }

    hr {
        width: 25%
    }

    #sidebar-footer-mob {
        display: block;
        padding-top: 25px;
        padding-bottom: 25px
    }

    #test2 {
        width: 100%;
        margin: auto
    }

    #test2 a {
        text-decoration: none;
        color: #A3AAAA;
        font-family: 'Josefin Sans', sans-serif
    }

    #test2 img {
        opacity: .8;
        -moz-opacity: .8;
        border: 2px solid rgba(255, 255, 255, .08);
        margin: auto
    }

    #logo {
        Width: 100%;
        padding: 15px 0
    }

    #top {
        width: 100%
    }

    #logodiv {
        width: 50%;
        margin: auto;
    }

    #man-changes {
        padding-bottom: 20px;
        border: none;
    }
}

@media screen and (min-width: 1024px) {
    #sidebar-footer-mob, .footer-info-test {
        display: none;
    }
}

@media screen and (max-width: 720px) and (min-width: 240px) {
    #nav1:hover ul, .nav-break {
        display: block;
    }

    .modalDialog > div img {
        width: 40%;
        height: 40%;
    }

    .lnk_btn2 {
        width: 180px;
    }

    #men {
        display: inline-block;
        padding-left: 20px;
    }

    ul a:hover {
        color: #E4001B
    }

    #nav1 ul, #nav1:active ul {
        display: none;
        position: absolute;
        padding: 20px;
        background: #fff;
        border: 5px solid #444;
        right: 20px;
        top: 60px;
        width: 50%;
        border-radius: 4px 0 4px 4px
    }

    #nav1 li {
        text-align: center;
        width: 100%;
        padding: 10px 0;
        margin: 0
    }
}
