/******************************************************************
Theme Name: Thor's Body Science
Theme URI: http://www.excitemedia.com.au
Description: Custom Wordpress theme created by ExciteMedia
Author: ExciteMedia
Author URI: http://www.excitemedia.com.au
Version: 1.0.0
Tags: fluid-layout, responsive-layout, accessibility-ready, translation-ready, microformats, rtl-language-support

License: ExciteMedia
License URI: http://www.excitemedia.com.au
******************************************************************/

/*********************
GENERAL STYLES
*********************/
/* Font Faces - BEGIN */
@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,700italic,900);

@font-face {
    font-family: 'hensaregular';
    src: url('library/css/fonts/hensa-webfont.woff2') format('woff2'),
         url('library/css/fonts/hensa-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Font Faces - END */

.container {
    max-width: 1060px;
}
/*********************
LAYOUT STYLES
*********************/
/*Header*/

header .header-menu {
    padding: 22px 0 0 0;
}
header .header-menu .enquire {
    margin-top: 18px;
}
header .header-menu .enquire a {
    font-size: 16px;
    font-weight: 700;
}
.logo img {
    max-width: 289px;
}
/*** Enter your style for global layout here ***/
.banner-area {
	background: url('library/images/hp-banner.jpg') center no-repeat;
  background-size: cover;
  min-height: 801px;
}
.banner-area h1 {
	    margin-top: 155px;
    color: #FFF;
    font-size: 5.4rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,.5);
    line-height: 1.2em;
}
.banner-area p {
	font-size: 2.4rem;
    color: #FFF;
    text-shadow: 1px 1px 3px rgba(0,0,0,.3);
    line-height: 1.3em;
}
.banner-area .em-buttons {
	margin-top: 20px;
}
.banner-area a.em-button {
	width: 217px;
  max-width: 100%;
  display: inline-block;
  margin-right: 20px;
  font-size: 2.4rem;
  padding: 18px 10px;
  margin-top: 15px;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 1px 1px 4px rgba(0,0,0,.4);
  -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
}
a.em-button.white_transparent {
	border-color: #FFF;
  color: #FFF;
}
a.em-button.white_transparent:hover {
	border: 1px solid #b62e22;
}
.jqtransformdone table {
    width: 70%
}
.jqTransformSelectWrapper div span {
    width: 100% !important;
}
.jqtransformdone p img {
    margin: 0 !important; 
}
.ls-inner a p.btn-banner {
    border: 1px solid #FFF !important;
}
.ls-nav-prev {
    background: url(library/images/arrow-prev.png) no-repeat center center !important;
    width: 47px !important;
    height: 92px !important;
    left: 3% !important;
    top: 45% !important;
}

.ls-nav-next {
    background: url(library/images/arrow-next.png) no-repeat center center !important;
    width: 47px !important;
    height: 92px !important;
    right: 3% !important;
    top: 45% !important;
}

.ls-bottom-slidebuttons a {
    background: url(library/images/bullet.png) no-repeat center center !important;
}

.ls-bottom-slidebuttons .ls-nav-active {
    background: url(library/images/bullet-active.png) no-repeat center center !important;
}

.inner-banner {
    background: url(library/images/banner-inner.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.inner-banner-inner {
    position: relative;
    padding: 39px 0;
    clear: both;
}
.inner-banner h1 {
    color: #FFF;
    font-weight: 300;
    text-transform: uppercase;
    margin:0;
}

.inner-banner .btn {
    text-transform: uppercase;
}

.inner-heading-simulator {
    left: 0;
    right: 0;
    position: absolute;
    opacity: 0;
    -moz-opacity: 0;
    -webkit-opacity: 0;
    top: 0;
    visibility: hidden;
    z-index: -1;
}
.btn-banner:hover {
    background-color: #ffffff;
    border-color: #000C29 !important;
    color: #000c2a !important;
}
/* Homepage - Enter any style for elements on homepage here */

.intro-text{
padding-bottom:55px;
}

.mainbody {
    position: relative;
}

.main-content .home-portals .container {
    position: relative;
}

.main-content .portal-buttons a {
    color: #FFF;
    text-decoration: none;
}
.main-content .portal-buttons a:hover {
    text-decoration: none;
}

.main-content .portal-buttons h4 {
    font-size: 20px;
    font-weight: 400;
    background-color: #C2C3C7;
    text-transform: uppercase;
    margin: 0 auto;
    padding: 21px 10px;
    color: #000C29;
    text-align: center;
}
.main-content .portal-buttons a:hover h4 {
    background-color: #A61F38;
    color: #FFF;
}

.main-content .portal-buttons .portal-box {
    background-color: rgba(235,235,235,0.85);
    border: 1px solid #B8BCC2;
    max-width: 338.328px;
    margin: 0 auto;
}

.main-content .testimonial-container {
    background-color: #f7f7f7;
    padding: 30px 0;
}

.main-content .social {
    padding: 65px 0 55px 0;
}

.main-content .social h3, .bottom-bar .social h3 {
    font-size: 2.4rem;
    color: #000C29;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 45px;
}
.main-content .social .facebook h3  {
    margin-bottom: 35px;
}
.main-content .social .left-social .follow, .bottom-bar .social .follow  {
    margin-top: 10px;
}
.main-content .social .left-social .follow h3, .bottom-bar .social .follow h3 {
    margin-bottom: 15px;
}
.main-content .social .left-social .follow ul, .bottom-bar .social .follow ul {
    margin-bottom: 0;
}
.main-content .social .left-social .follow li, .bottom-bar .social .follow li {
    padding-right: 25px;
}
.main-content .social .left-social .follow a, .bottom-bar .social .follow a {
    font-size: 45px;
    color: #ebebeb;
}
.main-content .social .left-social .follow a:hover, .bottom-bar .social .follow a:hover {
    color: #A61F38;
}

/*Inner Page*/
.home .mainbody-inner {
    padding: 0;
}
.mainbody-inner {
    padding: 65px 0 55px 0;
}
.page-id-4 .main-content-inner p {
    line-height: 28px;
    font-size: 17px;
    color: #17223D;
    font-weight: 300;
    margin-bottom: 30px;
}

.page-id-4 .main-content-inner p:first-child {
    font-size: 20px;
    line-height: 33px;
    margin-bottom: 0;
}

.main-content-inner img {
    margin: 30px auto;
}

.left-social .instagram a {
    border: 0 !important;
}
.left-social .instagram h3 {
  margin-bottom: 29px;
}
.bottom-bar {
    padding-bottom: 40px;
}

.packages ul {
    float: left;
    margin: 0 5%;
    padding: 0;
    width: 40%;
}
.packages h1 {
	font-family: 'hensaregular';
	font-size:6.125rem;
	color:#d5d3d3;
	font-weight:normal;
  margin-top: -6px;
}
.packages h2 {
	font-family: 'Roboto';
	font-size:1.5rem;
	color:#a61f38;
	font-weight:bold;
}
.package_row {
	padding:50px 0;
}
.package_row:nth-child(odd) {
    background: url(library/images/bg-package.jpg) no-repeat center top / cover;
}
.package_row a.em-button {
    font-size: 2rem;
    font-weight: bold;
    padding: 8% 15%;
}

/*Footer*/

.main-footer {
    background: url(library/images/footer-bg.jpg) no-repeat center top;
    padding: 60px 0 25px 0;
    -webkit-background-size: cover;
    background-size: cover;
}

.main-footer .footer-col {
    border-right: 2px solid #666e7e;
}

.main-footer .footer-col h3 {
    font-size: 2.4rem;
    text-transform: uppercase;
    font-weight: 400;
    color: #000C29;
}

.main-footer .footer-col p {
    font-size: 14px;
    color: #000C29;
    line-height: 20px;
}

.main-footer .footer-col-1 a {
    font-size: 16px;
    color: #000C29;
    font-weight: 500;
    border: 1px solid #000C29;
    padding: 9px 27px;
    margin-top: 15px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
}

.main-footer .footer-col-2 ul, .main-footer .footer-col-3 ul {
    margin: 0;
    padding: 0;
}
.main-footer .footer-col-2 ul li {
    list-style: none;
    margin-bottom: 20px;
}

.main-footer .footer-col-2 ul li a {
    color: #000C29;
    font-size: 17px;
    text-transform: uppercase;
}

.main-footer .footer-col-3 ul li {
    list-style: none;
    margin-bottom: 10px;
}

.main-footer .footer-col-3 ul li a {
    font-size: 17px;
}
.main-footer .footer-col-3 a {
    color: #000c2a;
    text-decoration: none;
}
.main-footer .footer-col-3 .foot-phone {
    background: url(library/images/phone.png) no-repeat left top;
    padding-left: 35px;
    font-size: 18px;
    font-weight: 700;
}

.main-footer .footer-col-3 .foot-email {
    background: url(library/images/mail.png) no-repeat left 5px;
    padding-left: 35px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.main-footer .copyright {
    font-size: 14px;
    color: #000C29;
    margin-bottom: 5px;
}

.main-footer .copyright a {
    color: #000C29;
    text-decoration: none;
}


/*** Enter your custom style for elements on homepage here ***/


/*********************
SIDEBAR
*********************/
.main-sidebar ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-sidebar ul.menu > li {
    margin-bottom: 13px;
}
.main-sidebar ul.menu > li > a {
    background: none;
    color: #666e7e;
    display: block;
    font-weight: 300;
    letter-spacing: 0.006em;
    padding: 16px;
    position: relative;
    text-decoration: none;
    font-size: 32px;
    border: 1px solid #000C29;
    text-transform: uppercase;
    text-align: center;
}
.main-sidebar ul.menu > li.current-menu-item > a, .main-sidebar ul.menu > li > a:hover {
    background: #A51F37;
    color: #FFF;
    border: 1px solid transparent;
}
/*********************
IMAGE SCROLLER
*********************/
.em-image-scroller .mTS_horizontal ul.mTSContainer > li {
    margin-left: 18px;
}
.em-image-scroller .mTS_horizontal ul.mTSContainer > li:first-child {
    margin-left: 0;
}
/*********************
TESTIMONIALS
*********************/
.widget_woothemes_testimonials > .testimonials {
 *zoom: 1;
}
.widget_woothemes_testimonials > .testimonials:before, .widget_woothemes_testimonials > .testimonials:after {
    content: "";
    display: table;
    line-height: 0;
}
.widget_woothemes_testimonials > .testimonials:after {
    clear: both;
}
.widget_woothemes_testimonials > .testimonials {
    position: relative;
}
.testimonials-list .quote > img {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    float: left;
    width: 164px;
}
.testimonials-list .quote blockquote {
    font-size: 1.8125rem;
    line-height: 1.3384083em;
    border: 0;
    padding: 0;
}
.testimonials-list .quote blockquote h3 {
    color: #666E7E;
    font-weight: 300;
    text-transform: uppercase;
}
.testimonials-list .quote blockquote p {
    line-height: 1.333333em;
    margin: 0;
    color: #666E7E;
    font-weight: 300;
}
.testimonials-list .quote .author {
    display: block;
    font-weight: 500;
    font-style: normal;
    text-align: right;
    color: #000C29;
    font-size: 1rem;
}

/*********************
CTA PANEL
*********************/

.home .cta-panel, .page-id-10 .cta-panel{
display:none;
}

.cta-panel{
  background:#000c2a url('/wp-content/uploads/2016/05/cta-banner.jpg');
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  text-align:center;
  padding: 80px 0;
}

.cta-panel h2, .cta-panel h3, .cta-panel p{
 color:#fff;
}

.cta-panel h2 {
    font-size: 35px;
    font-weight: 300;
  text-transform:uppercase;
}

.cta-panel h3 {
    font-size: 14px;
font-weight: 400;
line-height: 14px;
}

.cta-panel p {
    font-size: 18px;
    text-transform:uppercase;
    font-weight: 400;
}

.em-button-white{
display:inline-block;
  background:transparent;
  color:#fff;
  border:1px solid #fff;
  padding:20px 30px;
  text-decoration: none;
margin: 30px 0 10px;
}

.em-button-white:hover{
background:#fff;
  color:#000c2a;
  text-decoration: none;
}

/*********************
ACCORDION
*********************/

h3.accordion-title:before {
    content: "\002B";
    line-height: 1em;
    margin-top: -12px;
    position: absolute;
    right: 34px;
    top: 50%;
}
h3.accordion-title.open:before {
    content: "\2212";
}
h3.accordion-title {
    background: #000c2a;
  color:#fff;
    cursor: pointer;
    font-size: 1.9rem;
    font-weight: normal;
    margin: 0 0 4px;
    padding: 29px 60px 29px 28px;
    position: relative;
}
h3.accordion-title.open {
    background: #000c2a;
    color: #fff;
}
.accordion-content {
    background: #f2f2f2;
    margin: -4px 0 23px;
    padding: 30px 55px;
}


/*********************
FLEXSLIDER
*********************/
.flex-direction-nav {
    height: 0;
}
.flex-nav-prev {
    float: left;
}
.flex-nav-next {
    float: right;
}
.flex-direction-nav a:before {
    color: rgba(0,0,0,0.4);
    font-family: FontAwesome;
    font-size: 60px;
    line-height: 34px;
    text-shadow: none;
}
.flex-direction-nav .flex-nav-prev a:before {
    content: "\f104";
}
.flex-direction-nav .flex-nav-next a:before {
    content: "\f105";
}
.flex-direction-nav a {
    font-size: 0;
    line-height: 0;
    opacity: 1;
    outline: none;
    text-indent: -999em;
    width: 25px;
}
/*********************
GRAVITY FORM
*********************/
div.gform_wrapper {
    margin: 0;
    max-width: none;
}
div.gform_wrapper ul li.gfield {
    margin-bottom: 12px;
}
div.gform_wrapper .top_label .gfield_label, .gform_wrapper .left_label .gfield_label {
    display: block;
    font-weight: inherit;
    margin: 0 0 3px;
}
body .gform_wrapper label.gfield_label + div.ginput_container {
    margin-top: 0;
}
div.gform_wrapper .top_label input.medium, div.gform_wrapper .top_label select.medium {
    width: 100%;
}
div.gform_wrapper .top_label textarea.medium {
    width: 100%;
}
div.gform_wrapper .gform_footer {
    padding: 0;
}
.jqTransformSelectWrapper {
    border: 1px solid #B7B7B7;
}
/*********************
BLOG
*********************/
.blog-description {
    background: #f4f4f4;
    margin: 0 0 43px;
    padding: 25px 30px;
}
.blog-description p {
    margin: 0;
}
.post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.postlist .post {
    border-top: 1px solid #e5e5e5;
    margin-top: 35px;
    padding-top: 35px;
}
.postlist .post-list .post:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
.post-list-date {
    margin-bottom: 14px;
}
.post-list-date a {
    text-decoration: underline;
}
h2.entry-title {
    font-size: 3rem;
    margin-bottom: 18px;
}
h2.entry-title a {
    text-decoration: none;
}
.post-list-thumbnail {
    float: left;
    margin-bottom: 5px;
    margin-right: 35px;
    margin-top: 0px;
    max-width: 250px;
}
.post-list-thumbnail img {
    margin-top: 0;
}
.post-list-content p {
    margin-top: 0;
}
h1.single-title {
    font-size: 1.8125rem;
    font-weight: normal;
}
.post-image {
    margin: 15px 0;
}
.more-link {
    background-color: #a61f38;
    -webkit-border-radius: 4px !important;
    -moz-border-radius: 4px !important;
    border-radius: 4px !important;
    -o-border-radius: 4px !important;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    -o-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    color: #fff;
    display: inline-block;
    margin-top: 20px;
    padding: 10px 22px;
    text-decoration: none;
}
.more-link:hover {
    background-color: #23527c;
    color: #ffffff;
}
/*********************
NAVIGATION
*********************/
nav.main-nav ul.nav {
 *zoom: 1;
}
nav.main-nav ul.nav:before, nav.main-nav ul.nav:after {
    content: "";
    display: table;
    line-height: 0;
}
nav.main-nav ul.nav:after {
    clear: both;
}
nav.main-nav ul.nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
nav.main-nav ul.nav > li {
    float: left;
    margin-left: -1px;
    position: relative;
}
nav.main-nav ul.nav > li > a {
    border-bottom: 4px solid transparent;
    color: #000C29;
    display: block;
    font-size: 1.6rem;
    font-weight: normal;
    letter-spacing: 0.006em;
    line-height: 65px;
    padding: 10px 15px 0 15px;
    padding-bottom: 33px;
    position: relative;
    text-decoration: none;
    z-index: 1;
    text-transform: uppercase;
}

nav.main-nav ul.nav > li.current-menu-item > a, nav.main-nav ul.nav > li.current-parent-item > a, nav.main-nav ul.nav > li.current-menu-ancestor > a, nav.main-nav ul.nav > li:hover > a, .nav>li>a:focus, .nav>li>a:hover {
    background-color: transparent;
}
nav.main-nav ul.nav > li.current-menu-item > a, nav.main-nav ul.nav > li.current-parent-item > a, nav.main-nav ul.nav > li.current-menu-ancestor > a {
    font-weight: 500;
}
nav.main-nav ul.nav > li.current-menu-item a, nav.main-nav ul.nav > li.current-parent-item a, nav.main-nav ul.nav > li.current-menu-ancestor a, nav.main-nav ul.nav > li a:hover {
    border-bottom: 4px solid #A61F38;
}
nav.main-nav ul.nav li ul {
    background: #A51F37;
    left: 100%;
    -moz-opacity: 0.00;
    -khtml-opacity: 0.00;
    opacity: 0.00;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha"(Opacity=0);
    filter: alpha(opacity=0);
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
    visibility: hidden;
    width: 250px;
    z-index: 99;
}
nav.main-nav ul.nav li ul li:first-child {
    display: none;
}
nav.main-nav ul.nav li:hover ul {
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha"(Opacity=100);
    filter: alpha(opacity=100);
    visibility: visible;
}
nav.main-nav ul.nav > li > ul {
    left: 0;
    top: 70%;
}
nav.main-nav ul.nav li ul li {
    border-top: 1px solid #fff;
}
nav.main-nav ul.nav li ul li:first-child {
    border-top: none;
}
nav.main-nav ul.nav li ul li a {
    color: #fff;
    display: block;
    padding: 8px 14px;
    text-decoration: none;
}
nav.main-nav ul.nav li ul li.current-menu-item > a, nav.main-nav ul.nav li ul li.current-parent-item > a, nav.main-nav ul.nav li ul li.current-menu-ancestor > a, nav.main-nav ul.nav li ul li a:hover {
    background: #FFF;
    color: #000C29;
}
#wprmenu_menu .wpr_social_icons a {
    text-decoration: none;
}
/*********************
BACK TO TOP
*********************/
.cd-top {
    background: url(../fonts/cd-top-arrow.svg) no-repeat center 50% rgba(123,33,42, 0.8);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    bottom: 30px;
    display: inline-block;
    height: 44px;
    opacity: 0;
    overflow: hidden;
    position: fixed;
    right: 30px;
    text-indent: 100%;
    visibility: hidden;
    white-space: nowrap;
    width: 44px;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible {
    visibility: visible;
    opacity: 1;
}
.cd-top.cd-fade-out {
    opacity: 0.5;
}
.no-touch .cd-top:hover {
    background-color: #7b212a;
    opacity: 1;
}

/*********************
RESPONSIVE STYLES
*********************/
@media(max-width: 1199px){
    nav.main-nav ul.nav > li > a {
        font-size: 1.4rem;
    }
}
@media (max-width: 1023px) {
h1 {
    font-size: 3rem;
}
h2 {
    font-size: 1.75rem;
}
h2.entry-title {
    font-size: 1.375rem;
}
.post-list-thumbnail {
    margin-right: 15px;
}
.table-style-1 td, .table-style-1 th {
    padding-left: 10px;
}
.flex-direction-nav .flex-prev {
    left: 0;
}
.flex-direction-nav .flex-next {
    right: 0;
}
.cd-top {
    bottom: 20px;
    right: 20px;
}
/*** Enter your custom style here ***/
}
@media(min-width: 1200px) {
    .cta-panel {
        height: 400px;
    }
}


 @media (max-width: 767px) {
html {
    font-size: 87.5% !important;
}
.post-list-thumbnail {
    float: none;
    margin: 0 0 10px;
}
.postlist > article.post {
    margin-top: 25px;
    padding-top: 25px;
}
.top-menu {
    display: none;
}
.csColumn {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}
.cd-top {
    bottom: 10px;
    right: 10px;
}
/*** Enter your custom style here ***/
.package_row a.em-button {
    font-size: 1rem;
}
}
 @media (max-width: 480px) {
.g-recaptcha {
    -moz-transform: scale(0.925);
    -webkit-transform: scale(0.925);
    transform: scale(0.925);
    transform-origin: left center 0;
}
#fancybox-content .g-recaptcha {
    -moz-transform: scale(0.725);
    -webkit-transform: scale(0.725);
    transform: scale(0.725);
    transform-origin: left center 0;
}
/*** Enter your custom style here ***/
}


/*Media Queries*/
@media(max-width: 1280px) {
  .banner-area {
  	min-height: 692px;
  }
  .banner-area h1 {
  	margin-top: 75px;
  }
}
@media(max-width: 1200px) {
    .ls-inner .ls-l  {
        margin: 0 auto !important;
        max-width: 90%;
        padding-left: 60px !important;
    }

    .ls-inner .ls-l p {
        width: 1060px;
    }
    .ls-nav-prev {
        background: url(library/images/arrow-prev.png) no-repeat center center !important;
        width: 47px !important;
        height: 92px !important;
        left: 0 !important;
        top: 45% !important;
    }

    .ls-nav-next {
        background: url(library/images/arrow-next.png) no-repeat center center !important;
        width: 47px !important;
        height: 92px !important;
        right: 0 !important;
        top: 45% !important;
    }
}
@media(min-width: 1024px) {
/*  .home .mainbody:after {
      content: ' ';
      width: 100%;
      position: absolute;
      top: 0;
      left: 0;
      height: 236px;
      background-color: #f1f1f1;
    }
*/
}

@media(min-width: 1024px) and (max-width: 1200px) {

}
@media(max-width: 1024px) {
    .portal-buttons h4 {
        font-size: 15px;
    }
    nav.main-nav ul.nav > li > a {
        padding: 10px 11px 0 11px;
    }
    

}
@media(min-width: 992px) {
.enquire {
    padding: 0;
}

.inner-banner-inner {
    padding: 86px 0;
    min-height: 249px;
}

.main-content .portal-buttons .portal-box img {
    padding-top: 59px;
    padding-bottom: 59px;
}
.main-content .portal-buttons {
    position: absolute;
    top: -236px;
    z-index: 999;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.testimonials-list .quote blockquote {
    font-size: 1.8125rem;
    line-height: 1.3384083em;
    border: 0;
    background: url(library/images/quote.png) no-repeat 60px center;
    padding-left: 200px
}
.testimonials-list .quote blockquote h3 {
    font-size: 50px;
}
.testimonials-list .quote blockquote p {
    font-size: 2.6rem;
}
.testimonials-list .quote .author {
    font-size: 1.6rem;
}
.main-content .testimonial-container {
    padding-top: 140px;
    padding-bottom: 45px;
}
.main-footer .footer-col-1 {
    width: 52.333333%;
    padding: 0;
    padding-right: 60px;
}
.main-footer .footer-col-2 {
    width: 26%;
    padding: 0 70px;
}
.main-footer .footer-col-3 {
    width: 21.666667%;
    border: 0;
    padding-left: 40px;
    padding-right: 0;
}
.main-footer .copyright {
    padding-top: 55px;
    clear: both;
}
.main-sidebar {
    width: 32.333333%;
}
.main-content-inner {
    width: 67.666667%;
}
.main-content-inner main {
    padding-right: 45px;
}
}
@media (max-width: 991px) {
    .main-content .portal-buttons h4 {
        font-size: 15px !important;
    }
  .banner-area {
    font-size: 80%;
  	padding: 40px 0 50px;
    min-height: initial;
  }
  .banner-area h1 {
  	margin-top: 0;
    font-size: 4rem;
  }
  .banner-area p {
  	font-size: 2rem;
  }
  .banner-area a.em-button {
  	width: 200px;
    padding: 16px 10px;
    font-size: 2rem;
  }
}
@media(min-width: 768px) and (max-width: 1024px) {
    .main-content .testimonial-container {
        padding-top: 80px;
    }
    .main-content .testimonial-container blockquote {
        padding: 20px 0 0 190px;
    }
    header .header-menu .enquire a {
        font-size: 14px;
    }
    .facebook {
        padding: 0 30px;
    }
}
@media(min-width: 768px) {
.testimonials-list .quote blockquote {
    background: url(library/images/quote.png) no-repeat 60px center;
}
.main-content .portal {
    padding-right: 9px;
    padding-left: 9px;
}
.main-content .portal-buttons .first {
    padding-left: 0px;
    padding-right: 17px;
}
.main-content .portal-buttons .last {
    padding-right: 0px;
    padding-left: 18px;
}
}
@media(min-width: 737px) and (max-width: 768px) {
    .main-content .portal-buttons {
        position: absolute;
        top: -178px;
        z-index: 999;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .logo img {
        margin: 0 auto;
        text-align: center;
    }
    nav.main-nav ul.nav {
        text-align: center;
    }
    nav.main-nav ul.nav > li {
        float: none;
        display: inline-block;
        text-align: center;
    }
    nav.main-nav ul.nav > li.current-menu-item:before, nav.main-nav ul.nav > li.current-parent-item:before, nav.main-nav ul.nav > li.current-menu-ancestor:before, nav.main-nav ul.nav > li:hover:before {
        bottom:0;
    }
    header .header-menu .enquire   {
        text-align: center;
        margin: 20px 0;
    }
    .main-content .portal-buttons .portal-box {
        margin-bottom: 20px;
    }
    .portal-buttons .portal-box img {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .main-content .portal-buttons h4 {
        font-size: 14px;
    }
    .main-footer {
        background: url(library/images/footer-bg.jpg) center top;
    }
    .media-grid {
        max-width: 100%;
    }
    .media-grid li, .left-social .instagram li {
        display: inline-block;
    }
    .media-grid a, .left-social .instagram a {
        display: inline-block;
        float: none;
    }
    .home-content .social {
        padding: 0 15px !important;
    }
    .instagram, .facebook, .home-portals {
        margin-top: 20px;
    }
  .banner-area .container {
  	padding-right: 30px;
		padding-left: 30px;
  }
  .banner-area h1 {
  	font-size: 2.4rem;
  }
  .banner-area p {
    font-size: 1.2rem;
	}
  .banner-area a.em-button {
  	font-size: 1.4rem;
  }
}
@media(max-width: 767px) {
    .testimonial-container, .inner-banner {
        padding: 0 15px !important;
    }

    .main-content-inner, .main-sidebar, .bottom-bar {
    padding: 0 30px;
}

}
@media(max-width: 480px) {
    .main-footer .footer-col {
        margin-bottom: 20px;
        min-height: auto !important;
    }
    .main-footer .copyright span {
        display: block;
    }
  .banner-area h1 {
    font-size: 2rem;
	}
  .banner-area p {
    font-size: 1rem;
	}
  .banner-area a.em-button {
    font-size: 1.2rem;
    width: 155px;
    margin-top: 5px;
	}
}