/* This query is applied for protait Tablet ipad
*/
@media only screen and (min-width: 961px) and (max-width:1200px){
    .gallery-1 .thumbnail .col-5.animated,
    .gallery, .thumbnail .col-5.animated{
        width: 33.33%;
    }
    .gallery-1 .thumbnail .col-7.animated,
    .gallery .thumbnail .col-7.animated{
        width: 20%;
        padding: 20px;
        padding-bottom: 0px;
        margin-bottom: 0;
    }
    .gallery-1 .thumbnail .col-8.animated,
    .gallery-1 .thumbnail .col-9.animated,
    .gallery .thumbnail .col-8.animated,
    .gallery .thumbnail .col-9.animated{
        width: 16.667%;
        height: auto;
        padding: 10px;
        padding-bottom: 0px;
        margin-bottom: 0;
    }
    .feature_content img{
        height: 180px;
    }
    #wp-calendar tbody td{
        padding: 5px;
    }
}

@media only screen and (max-width:992px){
    .slider_shadow{
        height: 55px;
    }
    .slides_container {
        display: none;
        max-height: 346px;
    }
    #wp-calendar tbody td{
        padding: 2px;
    }
    #wp-calendar thead th{
        padding: 6px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 960px) {
    #example {
        width:450px;
        height:333px;
    }
    .slider-info {
        margin-top:15px;
        padding-top:25px;
        padding-left:15px;
        padding-right:15px;
        height:299.3px;
        width:278px;
    }
    .slider-info h1 {
        font-size:26px;
        line-height:35px;
        margin-bottom:30px;
    }
    .slider_shadow {
        height:55px;
    }
    #slides .prev {
        top:135px;
    }
    #slides .next {
        top:135px;
        right:18px;
    }
    .feature-content {
        width:100%;
        margin:0 20px 35px 0px;
    }
    .wrap {
        width:100%;
        margin-bottom:25px;
    }
    .index-fullwidth {
        background:url(assets/images/index-line.html) top repeat-x;
        padding-top:35px;
        margin-bottom:40px;
        padding-left:25px;
        padding-right:20px;
    }
    .gallery.fullwidth {
        text-align:center;
    }
    .gallery ul.thumbnail {
        margin-left:0;
        margin-left:-18px;
    }
    .gallery-1 .thumbnail .col-5.animated,
    .gallery-1 .thumbnail .col-7.animated, 
    .gallery-1 .thumbnail .col-8.animated,
    .gallery-1 .thumbnail .col-9.animated,
    .gallery .thumbnail .col-5.animated,
    .gallery .thumbnail .col-7.animated, 
    .gallery .thumbnail .col-8.animated,
    .gallery .thumbnail .col-9.animated{
        width: 33.33%;
        padding: 20px;
        padding-bottom: 0px;
        margin-bottom: 0;
    }
    .bigshadow {
        background:url(assets/images/bigshadow-i.html) center no-repeat;
        width:758px;
        height:31px;
    }
    .searchform {
        width:171px;
        height:35px;
        border:none;
        position:relative;
        margin-bottom:20px;
        margin-top:3px;
    }
    .searchform input[type="text"] {
        width:136px;
        height:32px;
        background:transparent;
        border:1px solid #aaa;
        padding:0px 8px 0px 10px;
        color:#989898;
    }
    .searchform input[type="submit"] {
        position:absolute;
        right:-10px;
        top:0px;
        background:url(assets/images/searchicon.html) no-repeat;
        width:33px;
        height:34px;
        border:none;
        cursor:pointer;
    }
    .contact .contactform {
        height:auto;
        overflow:hidden;
    }
    #wp-calendar caption {
        width: 180px;
    }
    #wp-calendar tbody td{
        padding: 0;
    }
    .feature_content img{
        height: 150px;
    }
}
@media only screen and (max-width: 767px) {
    .content_wrapper .side_content .post,
    .content_wrapper .side_content ul.post_info,
    .sidebar{
        text-align: center;
    }
    .content_wrapper .side_content .post .continue{
        float: none;
        text-align: center;
    }
    .content_wrapper .side_content .post img{
        float:none;
        margin-left:auto;
        margin-right:auto;
        display: block;
    }
    ul.paging{
        text-align: center;
        margin-bottom: 0;
    }
    .sidebar .wrap_sidebar{
        margin-bottom: 50px;
    }
    .footer_wrapper .footer_widget{
        padding-top: 0;
    }
}
@media only screen and (max-width: 640px) {
    .contact .contactform input[type="text"],
    .contact .contactform textarea,
    textarea#comment,
    #commentform input[type="text"]{
        width: 100%;
    }
    textarea#comment {
        float: none;
    }
    #commentform label,
    .contact .contactform label{
        float: none;
        text-align: center;
    }    
    .contact .contactform input[type="submit"]{
        margin-left: 0;
    }
    #respond input#submit{
        margin-left: 0;
        text-align: center;
        display: block;
        margin: 0 auto;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .banner-textdiv,
    .banner-btn{
        width: 100%;
        float: none;
        text-align: center;
    }
    .banner-btn a{
        float: none;
        margin-top: 10px;
    }
    .banner_content{
        padding: 20px;
    }
}
@media only screen and (min-width: 680px) and (max-width: 767px) {
    .slides_container {
        max-height: 311px;
    }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .header_wrapper{
        margin-top: 0;
    }
    #mobile_menu {
        width: 318px;
        text-align:center;
        margin-left:0;
    }
    .mobile_nav {
        width:250px;
        margin-bottom:0;
        margin-top:15px;
    }
    ul.ddsmoothmenu {
        display: none;
    }
    .it_mobile_menu a {
        display: block;
        padding-left:0px;
        color: #3B3B3B;
        padding-top: 7px;
        padding-bottom: 7px;
    }
    .header .logo {
        text-align:center;
        margin: 40px 0 21px 0px;
    }
    .ddsmoothmenu .sub-menu {
        /*margin-left:100px !important;*/
        visibility:hidden;
    }
    .ddsmoothmenu .sub-menu li {
/*        margin: 0 !important;
        padding: 0 !important;
        margin-left:200px !important;
        clear:both;
        left:20px;*/
    }
    .mobile_nav {
        display: inline-block;
        text-shadow: 1px 1px 0 #fff;
    }
    .ddsmoothmenu {
        text-align: center;
    }
    li.depth-4 ul.children {
        padding-left: 0;
    }
    #menu li {
        float:none !important;
    }
    #MainNav {
        text-align:center;
    }
    .header .menu-bar {
        border-top:0;
        border-bottom:0;
    }
    .slider-wrapper {
        background:url(assets/images/slide-shaddow.html) -115px 338px no-repeat;
    }
    #example {
        width:470px;
        height:333px !important;
    }
    .slider-info {
        margin-top:60px;
        padding-top:10px;
        padding-left:25px;
        padding-right:25px;
        height:auto;
        width:auto;
        border-top:none;
    }
    .slider-info h1 {
        font-size:26px;
        line-height:35px;
        margin-bottom:30px;
    }
    #slides .prev {
        background: url('assets/images/arrows.html') no-repeat -5px -6px;
        width: 30px;
        height: 30px;
        position:absolute;
        top:81px;
        left:15px;
        display:block;
        z-index:101;
        text-indent: -9999px;
    }
    #slides .next {
        background: url('assets/images/arrows.html') no-repeat -51px -6px;
        width: 30px;
        height: 30px;
        position:absolute;
        right:17px;
        top:81px;
        display:block;
        z-index:101;
        text-indent: -9999px;
    }
    .slider_shadow {
        height:37px;
    }
    .pagination {
        margin:26px auto 0;
        width:100px;
        position:absolute;
        left:25px;
        bottom:15px;
        z-index:9999999px;
    }
    .one_third {
        margin-bottom: 30px;
    }
    .feature_content h2, .testimonial_wrapper h2{
        text-align: center;
    }
    #wp-calendar {
        margin: 0 auto;
    }
    #wp-calendar tbody td,#wp-calendar thead th {
        padding: 8px;
    }
    .index-fullwidth {
        background:url(assets/images/index-line.html) top repeat-x;
        padding-top:35px;
        margin-bottom:40px;
        padding-left:25px;
        padding-right:20px;
    }
    .footer .widget_inner {
        margin:0 30px 15px 30px;
    }
    .footer .widget_inner.last {
        padding-right: 30px;
    }
    .gallery ul.thumbnail {
        margin-left:0;
        margin-left:-18px;
    }
    .gallery.fullwidth {
        text-align:center;
    }
    .gallery ul.thumbnail li {
        margin:0px;
        margin-left:15px;
        float:left;
        overflow:hidden;
        margin-right:1px;
        margin-bottom:40px;
        height:170px;
        width:199px;
    }
    .gallery-1 .thumbnail .col-5.animated,
    .gallery-1 .thumbnail .col-7.animated, 
    .gallery-1 .thumbnail .col-8.animated,
    .gallery-1 .thumbnail .col-9.animated,
    .gallery .thumbnail .col-5.animated,
    .gallery .thumbnail .col-7.animated, 
    .gallery .thumbnail .col-8.animated,
    .gallery .thumbnail .col-9.animated{
        width: 50%;
        padding: 20px;
        padding-bottom: 0px;
        margin-bottom: 0;
    }
    .bigshadow {
        background:url(assets/images/bigshadow-ipad.html) center no-repeat;
        width:468px;
        height:31px;
    }
    .bottom-footer {
        background-color:#1a1c1d;
        color:#848484;
        margin-bottom:30px;
        -moz-box-shadow:0px 3px 3px #888;
        -webkit-box-shadow:3px 1px 3px #888;
        box-shadow:0px 3px 3px #888;
        overflow:hidden;
        padding:10px 0;
    }
    .bottom-footer .footer_bottom_inner span.copyright {
        margin-bottom:0;
        text-align:center;
        overflow:hidden;
        margin-left:0;
    }
    .bottom-footer .footer_bottom_inner span.copyright a {
        color:#848484;
    }
    .bottom-footer .footer_bottom_inner span.copyright a:hover {
        color:#fff;
    }
    .bottom-footer .footer_bottom_inner {
        margin-bottom:20px;
        margin-top:3px;
        text-align:center;
    }
    .social_logos {
        list-style-type:none;
        float:none;
        margin-bottom:0;
        width:238px;
        margin:0 auto;
    }
    .page-content .content-bar {
        padding-left:22px;
        margin-bottom:50px;
        padding-right:22px;
    }
    .page-content .sidebar {
        padding-left:20px;
        padding-right:20px;
    }
    .contact .contactform input, 
    .contact .contactform textarea, 
    .contact .contactform label {
        margin-bottom: 20px;
    }

    .testimonial_bg .testimonial {
        margin-bottom: 30px;
    }
    .testimonial_wrapper .video {
        text-align: center;
    }
    .testimonial_wrapper .col-md-4 .wrap{
        margin-left: 0;
    }
    .testimonial_wrapper .video iframe {
        width:90%;
    }
    .wp-caption.alignnone {
        margin: 0 auto;
        margin-bottom: 20px;
    }
    .testimonial_wrapper .video object {
        width:90%;
    }
    .footer .footer_menu,
    .footer_wrapper .footer_widget,
    .footer_line .copyright {
        text-align:center;
    }
}
/* This query is applied for protait ipad, Mobile
*/
@media only screen and (max-width: 480px) {
    .header_wrapper {
        margin-top: 0px; 
    }
    .header {
        margin-top:0;
        padding:0;
    }
    #mobile_menu {
        width: 318px;
        text-align:center;
        margin-left:0;
    }
    .mobile_nav {
        width:250px;
        margin-bottom:0;
        margin-top:15px;
        margin-left:15px;
    }
    ul.ddsmoothmenu {
        display: none;
    }
    .it_mobile_menu a {
        display: block;
        padding-left:0px;
        color: #3B3B3B;
        padding-top: 7px;
        padding-bottom: 7px;
    }
    .header .logo {
        text-align:center;
        margin: 40px 0 21px 22px;
    }
    .ddsmoothmenu .sub-menu {        
        visibility:hidden;
    }
    .ddsmoothmenu .sub-menu li {
        margin: 0 !important;
        padding: 0 !important;        
        clear:both;       
    }
    .mobile_nav {
        display: inline-block;
        text-shadow: 1px 1px 0 #fff;
    }
    .ddsmoothmenu {
        text-align: center;
    }
    li.depth-4 ul.children {
        padding-left: 0;
    }
    #menu li {
        float:none !important;
    }
    #MainNav {
        text-align:center;
    }
    .header .menu-bar {
        border-top:0;
        border-bottom:0;
    }
    #mobile_menu {
        width: 220px;
    }
    .mobile_nav {
        width:152px;
        margin-bottom:0;
        margin-top:15px;
    }
    .mobile_nav > span {
        left: 20px;
    }
    #example {
        width:293px;
        height:250px;
    }
    .slider-info {
        margin-top:22px;
        padding-top:10px;
        padding-left:25px;
        padding-right:25px;
        height:auto;
        width:auto;
        border-top:none;
    }
    .slider-info h1 {
        font-size:26px;
        line-height:35px;
        margin-bottom:30px;
    }
    #slides .prev {
        background: url('assets/images/arrows.html') no-repeat -5px -6px;
        width: 30px;
        height: 30px;
        position:absolute;
        top:45px;
        left:15px;
        display:block;
        z-index:101;
        text-indent: -9999px;
    }
    #slides .next {
        background: url('assets/images/arrows.html') no-repeat -51px -6px;
        width: 30px;
        height: 30px;
        position:absolute;
        right:15px;
        top:45px;
        display:block;
        z-index:101;
        text-indent: -9999px;
    }
    .slider_shadow {
        height:25px;
    }
    .pagination {
        margin:26px auto 0;
        width:100px;
        position:absolute;
        left:15px;
        bottom:100px;
        z-index:9999999px;
    }
    .feature_content{
        padding-bottom: 0;
    }
    .feature_content img {
        width:250px;
        height:130px;
    }
    .one_third {
        margin-bottom: 30px;
    }
    .testimonial_bg{
        text-align: center;
        padding-bottom: 45px;
    }
    .index-fullwidth {
        background:url(assets/images/index-line.html) top repeat-x;
        padding-top:35px;
        margin-bottom:40px;
        padding-left:25px;
        padding-right:20px;
    }
    .page-content .content-bar {
        padding-left:12px;
        margin-bottom:50px;
        padding-right:4px;
    }
    .gallery.fullwidth {
        text-align:center;
    }
    .gallery ul.thumbnail {
        margin-left:0;
        margin-left:-18px;
    }
    .gallery ul.thumbnail li img {
        width:175px;
    }
    .gallery-1 .thumbnail .col-5.animated,
    .gallery-1 .thumbnail .col-7.animated, 
    .gallery-1 .thumbnail .col-8.animated,
    .gallery-1 .thumbnail .col-9.animated,
    .gallery .thumbnail .col-5.animated,
    .gallery .thumbnail .col-7.animated, 
    .gallery .thumbnail .col-8.animated,
    .gallery .thumbnail .col-9.animated{
        width: 100%;
        padding: 20px;
        padding-bottom: 0px;
        margin-bottom: 0;
    }
    .bigshadow {
        background:url(assets/images/bigshadow-iphone.html) center no-repeat;
        width:273px;
        height:31px;
    }
    .bottom-footer .footer_bottom_inner span.copyright {
        text-align:center;
        margin-left:0;
    }
    .social_logos {
        list-style-type:none;
        float:none;
        margin-bottom:0px;
        width:238px;
        margin:0 auto;
    }
    .bottom-footer .footer_bottom_inner {
        margin-bottom:15px;
        margin-top:3px;
        text-align:center;
    }
    .contact-line {
        padding: 0 14px;
    }
    .testimonial_bg .testimonial {
        width:100%;
        margin-bottom: 25px;
    }
    .testimonial_wrapper .video {
        width:95%;
    }
    .testimonial_wrapper .video iframe {
        width:95%;
    }
    .testimonial_wrapper .video object {
        width:95%;
    }
    .content_wrapper .side_content .shadow {
        background:url(assets/images/post-shadow-iphone.html) top center no-repeat;
        height:29px;
        margin-top:-1px;
        margin-bottom:30px;
    }
    .social_link {
        width:100%;
        padding-bottom:60px;
    }
    .social_logo {
        position: absolute;
        right: 0;
        top: 65px;
        margin: 0;
        padding: 0;
        width:100%;
    }
    .contact .contactform {
        margin-top:30px;
        padding-right:30px;
        height:auto;
        overflow:hidden;
    }
    .contact .contactform input[type="text"] {
        margin-bottom: 15px;
    }
    .contact .contactform input[type="submit"] {
        margin-top:15px;
    }
    .contact .contactform{
        padding-right: 0;
    }
    .contact .contactform input, .contact .contactform textarea, .contact .contactform label {
        margin-bottom: 10px;
    }
    .footer .footer_menu ,
    .footer_line .copyright ,
    .footer_wrapper .footer_widget{
        text-align: center;
    }
    .wp-caption.alignnone {
        margin: 0 auto;
        margin-bottom: 20px;
    }
}
@media only screen and (max-width: 320px) {
    .slider_shadow {
        height: 15px;
    }
    blockquote {
        padding-left: 0px;
        background: none;
    }
    .testimonial_wrapper .col-md-4 .wrap{
        margin-left: 0;
    }
    .testimonial_wrapper .video{
        margin: 0 auto;
    }
}