@media screen and (max-width: 1024px) {
.close-sidebar {
        width:100%;
        height:65px;
        left:0px;
        opacity:0.9;
    }
    .close-sidebar:hover {
        right:0px;
        width:100%;
        height:65px;
        opacity:1;
    }
    #modal {
        padding-top: 95px;
    }
}
@media screen and (max-width: 900px) {
    .nav > li {
        float: none;
    }
    .nav > li > .parent {
        background-image: url("../images/downArrow.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
    }
    .nav li li .parent {
        background-image: url("../images/downArrow.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
    }
    .nav li li .parent:hover {
        background-image: url("../images/downArrow.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
    }
    .nav {
        float:none;
        line-height:40px;
        padding-right:0px;
    }
    .nav ul li:first-child {
        margin-top: 0px;
    }
    .nav ul li:last-child {
        margin-bottom: 0px;
    }
    .nav a, .activelink a {
        border-bottom:none!important;
    }
    .nav a:hover {
        background-color:#414141;
    }
    .nav li li a:hover, .nav li li li a :hover {
        color:#fff;
    }
    .nav ul {
        display: block;
        width: 100%;
    }
    .nav > li.hover > ul, .nav li li.hover ul {
        position: static;
    }
    .nav ul li a {
        padding-left: 30px;
    }
    .main-container {
        margin-top:0px;
    }
    #slider-box, #page-box {
        display:none;
    }
    .sidebar-icon {
        top:0px;
        position:absolute;
    }
    .logo {
        padding-left:85px;
        font-size:45px;
        height:70px;
    }
    .logo img {
        height:70px;
        padding-top:5px;
    }
}
@media screen and (max-width: 640px) {
    h1 {
        font-size:44px;
    }
    h2 {
        font-size:34px;
    }
    .main-container, footer {
        width:100%;
    }
    #pageslide {
        width: 100%;
    }
    .close-sidebar {
        position:fixed;
    }
    .back-to-top {
        display: none !important;
    }
    .quote:before {
        display: none;
    }
    .quote > li .quote-image {
        width: 100%;
        position: relative;
    }
    .quote > li .quote-box {
        margin: 0 0 30px 0;
    }
    .quote > li .quote-image span {
        padding:20px 20px 20px 30px;
        bottom:0px;
    }
    .quote > li .quote-box:after {
        right: auto;
        left: 20px;
        border-right-color: transparent;
        border-bottom-color: #3f3f3f;
        top: -20px;
    }
    .article-right {
        display:none;
    }
    .article-left {
        padding-right:0px;
        border-right:none;
        width:100%;
    }
    .ionTabs__tab {
        width:100%;
        top: 0px;
    }
    .ionTabs__tab.ionTabs__tab_state_active {
        box-shadow: none;
    }
    .ionTabs__body {
        box-shadow: none;
    }
    .cs-wrapper {
        height: 100%;
    }
    input[type="text"], input[type="email"], input[type="number"], input[type="date"], textarea {
        width: 100%;
    }
    #mobile-map {
        display:block;
    }
}
@media screen and (max-height: 600px) {
    .cs-wrapper {
        height: 100%;
    }
}
@media screen and (max-width: 480px) {
    .nav ul li a {
        padding: 5px 10px;
    }
    .nav a {
        padding: 5px 10px;
    }
    .toggleMenu {
        padding:9px 10px;
    }
    .icon {
        width:100%;
    }
    .da-thumbs li {
        width:50%;
    }
    .quote > li .quote-box {
        margin: 0 0 15px 0;
    }
    .countdown div {
        font-size: 40px;
    }
h3 {
    font-size:26px;
}
h4 {
    font-size:22px;
}
h5 {
    font-size:18px;
}
h6 {
    font-size:16px;
}
}
@media screen and (max-width: 320px) {
    .da-thumbs li {
        width:100%;
    }
}