
/* ================================================================== Tablet */
@media screen and (max-width: 979px) {
body { margin: auto; background-image:none; background-color:#fff; overflow-x:hidden;}
#wrapper { margin-left: auto;margin-right: auto;position: static; width: 100%;}
div#main {background-color:#fff ;background-image: none;box-sizing: border-box; width: 100%; padding:0 17px; top:430px;}
div.template_top{background-color:transparent; background-image:none; width:100%; box-sizing: border-box;}
#branding { margin: 0; overflow:hidden;}
div.template_header {width: 100%; background-color:#fff;}
div.template_logo {position:absolute;}
div.template_top_gallery { background-repeat: no-repeat; display: inline-flex; margin-left: 26%; overflow: hidden; width: 74%;}
div.template_topbanners {left: auto; position:static; width:100%; height:auto; min-height:210px;}
div.topmenu a {padding: 2px 0;}	
div.topmenu{width:auto;}
div.wrapper_topedge { background-image: none; width:100%;}
#subscribe-form, #better-author-bio-div{box-sizing: border-box;;}

div.entry-content div ul.menu li{background-color:#e3e3e3;}
div.template_topbanners div.topbanneredge { width: 1.8%;}
div.template_topbanners div.topbanner { width: 23%; height: auto; padding-bottom:10px;}
div#container{margin:0; width:80%;}
.blog div#container, .single-post div#container, .category div#container{width:100%;}

div#primary { float: left; margin: 0 0 0 5px; width:21%;}
.blog div#primary, .single-post div#primary, .category div#primary{width:21%;}

div#content{width:70%; margin:11px 20px 20px 20px;}
.blog div#content, .single-post div#content, .category div#content{width:70%;}
.single-format-standard div#content .post .entry-content .pf-content img{width:100% !important;}

#main .page  .entry-content .pf-content > div, #main .page  .entry-content .pf-content div table {width:100% !important;}
#main #content .entry-content .pf-content .printfriendly {width:auto !important;}
#main .page .entry-content .pf-content .ebooks{  box-sizing: border-box;}
div#primary div.leftmenu_title{width:100%;}
div#secondary {background: none repeat scroll 0 0 #fff; margin: 0; width: 20%;}
div.topbanner div.topbanner_text{height:75px;}
div#secondary div.right_column_image{margin:0;}

div.entry-content div ul.menu{margin-top:0; display:inline-block; width:100%;}

#main .page .entry-content .pf-content .download-link{width:100% !important; height:auto; margin-left:0;}
.share-locker.blue { box-sizing: border-box; margin-left: 0; width: 100% !important;}
.share-locker-buttons-row { display: block;}
.parent-pageid-2517 div.page.type-page.status-publish.hentry { margin-left: 0 !important; width: auto !important;}
#main .page .entry-content .pf-content .ebooks {display: inline-block;max-width: 100% !important; width: 100% !important;}
#main .page .entry-content .pf-content .download-link .share-locker-buttons-row div { float: none; width: auto !important;}

div.template_footer, div.footer_topedge1, div.footer_topedge2, div.footer_content{margin:0; width:100%;}
.footer_content #site-info, .footer_content .footer_menu{width:100%; text-align:center; margin-left:0; margin-right:0;}

}

/* ================================================================== Tablet */

@media screen and (max-width: 850px) {
div#container, div#secondary { width:100%;}
div.template_topbanners { height: 220px; }
div.topbanner div.topbanner_text {height: 90px;}
div#main {top: 460px;}
div.topmenu{width:528px;}
div#secondary div.right_column_image:first-child { display: none;}
div#secondary div.right_column_image{margin:0 5px;}
div.langmenu-pos1 { right: 20px;}
#responsive-menu .responsive-menu li.current-menu-item > a, #responsive-menu .responsive-menu li.current-menu-item > .appendLink, #responsive-menu .responsive-menu li.current_page_item > a, #responsive-menu .responsive-menu li.current_page_item > .appendLink
{background: #383838 !important}
div.template_header {background-image: none;}
.template_search {display: none;}
.parent-pageid-2517 div.page.type-page.status-publish.hentry { margin-left: -200px !important; width: auto !important;}

#main .page .entry-content .pf-content p iframe {width:100% !important; }
}

/* ================================================================== Mobile */

@media screen and (max-width: 767px) {
div#content, div#primary { width:100%; margin:0;}
#main .page .entry-content .pf-content > div { width: 99% !important;}
.page div#primary {margin: 20px 0 60px 5px;position:absolute;top:-70px;left:10px;background:#fff; padding:6px;}
div.template_topbanners {height: 150px;min-height: 150px; padding-top:18px;}
div.template_topbanners div.topbanner { width:50%; text-align:center;background-image: none !important;}
div#main {top:470px;}
.template_search.template_search_en {display: none;}
div.topmenu { width: auto;}
div.template_header { background-image: none;}
div.topbanner div.topbanner_title{height:auto;}
div.topbanner div.topbanner_text {display: none;}
div.template_topbanners div.topbannerdivider{background-image:none; height:auto;}
div.topbanner div.topbanner_buttons { height: auto;margin: 0 10px 8px;}
div.template_topbanners div.topbanneredge {display: none;}
div#primary div.leftmenu_title::before {background-image: url("../images/menu-icon.png");background-position: 0px 0px;content: "";height:24px;position:absolute; width:37px; margin-left: -45px; cursor:pointer; margin-top:-3px;}
div#primary div.leftmenu_title {margin-left: 42px; cursor:pointer; width:auto;}
ul.xoxo ul.main-menu{margin-top:15px !important;}
.parent-pageid-2517 div.page.type-page.status-publish.hentry { margin-left:0 !important; width: auto !important;}
.parent-pageid-2517 div.page.type-page.status-publish.hentry .entry-content .pf-content div { float: none !important;}
#main .page .entry-content .pf-content .download-link .share-locker.blue{width:100% !important;}
.single-post #main #container #primary ul.xoxo .right_column_image{display: inline-block;}

.blog div#content, .single-post div#content, .category div#content {width: 100%;}
.blog div#primary, .single-post div#primary, .category div#primary {margin-left: 0; width: 100%;}
.blog div#primary div.leftmenu_title::before, .single-post div#primary div.leftmenu_title::before { background-image: none;}
div#secondary{margin-top:20px;}
}
@media screen and (max-width: 640px) {
div.template_topbanners div.topbanner { width: 47%;}
div.topmenu {width: 90%; margin-bottom:5px;}
#branding, div.topmenu{height:auto;}
div#main {top: 500px;}
li.widget .textwidget h2 {display: inline-block;margin-top: 20px; width: 100%;}
div.topbanner div.topbanner_buttons{margin:0;}
.blog div#main, .single-post div#main, .category div#main { top: 262px;}
.single-post #main #container #primary ul.xoxo .right_column_image{display: table;float: none; margin: 0 auto 10px;}
div#secondary div.right_column_image {display: table;float: none; margin: 0 auto 10px;}
blockquote { margin: 0 1em;}
.fee_schedule img { width: 100%;}
div.topmenu a {display: inline-block; padding: 6px 3px;}
div.footer_content{height:auto;}
.footer_content #site-info .footer_menu{ margin:0; background:#000;}
.footer-menu{margin:0;}
}

@media screen and (max-width: 479px) {
div.template_logo{width:245px;}
div.template_topbanners div.topbanner { width: 100%;}
div.topbanner div.topbanner_title{margin:0;}
div.template_topbanners { height:255px;}	
div.topbanner div.topbanner_buttons span img{width:30px;}
div#main { top:630px;}
div.template_topbanners div.topbannerdivider{display:none;}
div.template_header { background-color: #0056ad; background-image: none; width: 100%;}
div.template_header {height: 177px;}
#click-menu {top:15px !important;right: 4% !important; }
div.langmenu-pos1 { right: 22px; top:150px;}
div.template_top_gallery {background-image: none;}
div.topmenu {background: none repeat scroll 0 0 #fff; margin-bottom: 5px; padding: 10px; width: 95%;}
div.topmenu div.top-menu{margin:0;}
#main .page .entry-content .pf-content div tr td { display: inline-block; width: 98%;}
#main .page .entry-content .pf-content div tr td div { width: 100% !important;}
#main .page .entry-content .pf-content .ebooks{padding:15px;}

.page-id-104 .entry-content .pf-content form table tr td:first-child{width:34%;min-height: 1px;}
.page-id-104 .entry-content .pf-content form table tr td:last-child{width:66%;}
.page-id-104 .entry-content .pf-content form table tr td{display:inline-block; float:left;}
.page-id-104 .entry-content .pf-content form table tr td input { width: 96%;}
.page-id-104 .entry-content .pf-content form table tr td input[type="submit"] { width:auto; margin-bottom:15px; margin-top:5px;}

#main #content .entry-content #subscribe-form table tr td:first-child{width:34%;}
#main #content .entry-content #subscribe-form table tr td:last-child{width:66%;}
#main #content .entry-content #subscribe-form table tr td {display:inline-block; float:left;}
#main #content .entry-content #subscribe-form table tr td input { width: 96%;}
#main #content .entry-content #subscribe-form table tr td input[type="submit"] { width:auto;}
#main .page  .entry-content .pf-content .g-map-canvas, #main .page  .entry-content .pf-content #gmap_canvas{width:100% !important;}

#main #content .entry-content .pf-content table.fee_schedule td{word-break: break-all;}
#main .page .entry-content .pf-content .download-link .share-locker-buttons-row div{margin-left:0;}
.blog div#main, .single-post div#main, .category div#main { top: 290px;}
div#content .post .entry-content .blog-img{width:100%; margin-left:0; margin-right:0; box-sizing: border-box;}
img.wpcf7-form-control {width: auto;}
.wpcf7-form-control { width: 100%;}
.template_footer .footer_content { box-sizing: border-box; display: inline-block; padding: 0 5px 10px;}

}

@media screen and (max-width: 319px) {
	
}
.mobile-menu{display:none;}