/*
Theme Name: Study Links Wordpress Theme
Author: the Magpie team
Author URI: http://www.magpiecomms.com
*/
.svt-cd-timeline-block { margin: 1.5em 0; }
.svt-cd-date { display: none !important; }
.svt-share { display: none !important; }
.svt-cd-timeline-content h2 { color: #ec008c !important; }
.svt-cd-timeline-img.svt-cd-red { background: #ec008c !important; }
.svt-cd-timeline-content p { margin: 0 !important; }
.svt-cd-timeline-content::before { border-left-color: #FFF; }
.svt-cd-timeline-block:nth-child(even) .svt-cd-timeline-content::before { border-right-color: #FFF; }
.svt-cd-timeline-content-btm-more { display: none !important; }
.svt-cd-timeline-content ul { margin-bottom: 0 !important; }

.needhelp { background: #00aeef; padding: 15px; border-radius: 3px; color: #FFF; text-align: center; width: 120px; position: sticky; top: 30px; float: right; border:#FFF 3px solid; }
.needhelp a { background: #FFF; padding: 8px; border-radius: 3px; color: #00aeef; display: block; margin-top: 10px;}
.needhelp a:hover { background: #2d3982; color: #FFF; }

.applyfor { background: #42AFEF; color: #FFF; padding: 10px; border-radius: 5px; text-align: center; display: inline-block; float: left; }
.applyfor:hover { background: #EC008C; color: #FFF; }


.whatsapp { margin-left: 20px; }
.referfam { text-align: center; margin-top: 40px; color: #00aeef; font-weight: bold; font-style: italic;  }

.wechat, .whatsapp { display:inline-block; padding: 7px 10px; margin-top: -7px; }
.wechat:hover, .whatsapp:hover { background: #2d3982; }
.wechat { background: #00c327; border-radius: 3px; }
.whatsapp { background: #38E55C; border-radius: 3px; }

.cwechat, .cwhatsapp { text-align: center; font-size: 18px; display: block; line-height: 36px; color:#FFF; font-weight: bold; margin: 0 auto; }
.cwechat:hover, .cwhatsapp:hover { background: #2d3982; }
.cwechat { background: #00c327; border-radius: 3px; }
.cwhatsapp { background: #38E55C; border-radius: 3px; }


.wechat { padding: 0; }
.wechat p { padding: 0; }
.at-follow-tbx-element .at300b, .at-follow-tbx-element .at300m { margin: 0 !important; padding:4px 8px 1px !important; }


/******* PETES EDITS *******/
#google_translate_element {clear:both;}

.rss-widget-icon {display:none;}

.content .rssbox ul { margin-left: 0px; margin-bottom: 0px; }
.content .rssbox ul li { list-style-type: none; padding-bottom: 0px; min-height: 230px; }
.content .rssbox ul li:first-child{ border-bottom: 1px solid white; margin-top: 0px;  }
.content .rssbox ul li a {margin-bottom: 18px;   display: inline-block; text-transform: uppercase; }

table.ui-datepicker-calendar { border-collapse: separate; border-spacing: inherit; background: #eee; border: 1px solid #ddd; font-size:11px; }
.ui-datepicker-div {display:none;}

a.ui-datepicker-prev.ui-corner-all { float: left; font-size: 10px; }
a.ui-datepicker-next.ui-corner-all { float: right; font-size: 10px; }
.ui-datepicker-title { clear: both; text-align: center; }

div#ui-datepicker-div { background: white; border: 1px solid #ddd; padding: 5px; border-radius: 5px; box-shadow: 1px 1px 5px black; display:none}

::-webkit-input-placeholder { color: #333; } 
:-moz-placeholder { color: #333; } 
::-moz-placeholder { color: #333;} 
:-ms-input-placeholder { color: #333; }


.content input[type=submit]{ float: left; background-color: #ec008c; border: 0; padding: 11px 18px; color: #fff; }
.content .gform_wrapper {margin-left:10px;}
.content ul.gform_fields {margin:0;}
.content ul li.gfield {padding-top:10px;}
span.req { color: red; margin-left: 5px; }

.page-id-2269 .content input[type="text"], .page-id-2269 .content input[type="date"], .page-id-2269 .content select, .page-id-2269 .content textarea, .page-id-4645 .content input[type="text"], .page-id-4645 .content input[type="date"], .page-id-4645 .content select, .page-id-4645 .content textarea { display:block !important; background:#f8f9fa; padding:14px; margin:5px 0 0 0; width: 100%; float: left; border-radius: 5px; border: #c4c4c4 1px solid; box-sizing: border-box; }

.page-id-2269 .content h3, .page-id-4645 .content h3 { text-align: left; margin-top: 60px; }
.page-id-2269 .formfield, .page-id-4645 .formfield { display: block; margin-bottom: 15px; }
.page-id-2269 .clearform, .page-id-4645 .clearform { clear:both; }


.content textarea.g-recaptcha-response { display: none !important; }








.page-id-3008 .content input[type="text"], .page-id-3008 .content select, .page-id-3008 .content textarea { background:#ddd; border:0;padding:5px; margin: 10px 5% 0 0; width: 90%; float: none !important; font-size: 14px; }

.ui-datepicker-trigger {display:none;}
.content .gfield_description {float:left;color:#666;font-size:.8em;padding:5px 0;}
.content .ginput_container_checkbox ul {list-style:none;margin-left:0;}
.content .ginput_container_checkbox ul li {list-style:none;}

.goog-te-gadget-simple { background-color: #ec008c!important; border: 0!important; color: white!important; float: right!important; font-family: 'Montserrat', sans-serif!important; padding:5px!important; }
.goog-te-gadget-simple img {display:none;}
.logo img { max-height: 120px;}

.goog-te-gadget-simple span { color: white!important; border-left-color:white!important; }
.goog-te-gadget-simple span:first-child { padding-right:10px;}

.faq a { color: white; text-decoration: underline; }
.content .mapp-layout { margin: 0 auto; max-width: 100%; }
.navigation { clear: both; }

body .top-bar.lightgrey-bg { float:none; float: none !important; }
.blogs {width:30%; float:left;}
.blogs hr {border-top: none;border-bottom: 1px solid white;margin: 4px 0 20px 0;background:none;height:0;}
.blogs .corner {position:relative;margin:5px;padding:20px;}
.blogs .corner:after { content: ''; width: 0; height: 0; border-top: 70px solid #f1f1f2; border-left: 70px solid transparent; top: 0; right: 0; position: absolute; }

.navigation .next-posts{ float:right; }
.navigation .prev-posts{ float:left; }

.cats {width:70%; float:left;}
.category .page-title {float:none;background:none;padding-bottom:20px;}
.categories .wrapper {background:#f1f1f2;}
.category-box { background:white; width: 310px; float: left; margin: 7px; min-height: 400px; position:relative; }
.category-box .content h3{padding:3px 0 0 5px!important;}
.category-box .content-column.one_half {display:none;}
.category-box .content h1 ,.category-box .content h2 ,.category-box .content h3 ,.category-box .content h4 {padding:0;margin:0;font-size:1em;font-weight:normal;display:inline;width:auto;text-align:left;}
.category-box a {position:absolute;bottom:10px;right:10px;}
.category-box h2 {text-align:left !important; padding:5px;}
.category-box p {text-align:left !important; padding:5px;  width: 300px;}
.category-thumb {width:310px;height:150px;background:#e1e1e1;margin-bottom:10px;}

.popup { display: none; border: 10px solid #C9CACC; padding: 20px; margin: 100px 20%; position: fixed; left: 0; top: 0; background: white; z-index:999; }
.popup-holder { display: none; position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index:99; }
.popup .close { position:absolute; top:10px;right:10px;background-image:url(images/close.png); display:block;width:34px; height:29px;}

h2.blue {color: #00aeef;}

.blue h3.accordion-title,.pink h3.accordion-title {background-color: #ec008c;color: #fff;margin:0;  border-top-color: #ec008c;position:relative;text-transform:none; font-size:1.4em;padding:.5em 0;}

.accordion-content { padding: 0px 20px; background: #f1f1f2; }
.accordion-title:after { content: ''; width: 0; height: 0; border-top: 16px solid transparent; border-bottom: 16px solid transparent; border-left: 16px solid #fff; position: absolute; right: 12px; float: left; top: 10px; }

#menu-main-navigation li ul.sub-menu ul.sub-menu { background-color: #ec008c; position: absolute; left: 100%; top: 0; }
#menu-main-navigation li:hover > ul {display:block;}

.sub-nav ul li a {display:block;}
.sub-nav ul.sub-nav0 {background: #00aeef;float:left;width:100%;}
.sub-nav ul.sub-nav1 {background: #ec008c;float:left;width:100%;}

.home-post {min-height: 230px;}

.page-title {line-height: 1em;}

body .lightgrey-bg { color: #000; }
body {-webkit-font-smoothing: antialiased;}
body h4.quote-title { color: #00aeef; position: absolute; text-align: center; width: 100%; }
body #s { color: #000; font-weight: normal; font-family: 'Montserrat', sans-serif;}
body .faq { padding: 0px 10%; float: left; text-align: center; margin: 0 0 30px 0; color: #fff; position: relative; width: 80%; }

.pre-footer { position: relative; max-width:100%; }

.pink a {color:#ec008c;}

#footer {background-color:#fff; }

.content {line-height:1.2;}
.content img.alignleft {float:left; margin-right:15px; margin-bottom:15px;}
.content img.alignright {float:right; margin-left:15px; margin-bottom:15px;}

.slider-title {color:white !important;}


/**************************/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; }

/* remember to define focus styles! */
:focus { outline: 0; }
a { text-decoration: none; }
ol, ul { list-style: none; }

/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
body.page   { background: url('images/banner.gif') center 242px no-repeat; }
body, body.home, body.page-template-faqs-php, body.page-id-242{ background: url('images/banner.png') center 242px no-repeat; font-family: 'Montserrat', sans-serif; font-size: 15px; line-height: 1; }
body.home{ background: url('images/banner.png') center 277px no-repeat; }

.header-main p {padding-bottom:0;}
p {padding-bottom: 16px;line-height: 1.2em;}
a{color: #00aeef;}

.pink-bg a, .blue-bg a, .lightblue-bg a{color:#fff;}
.content h1, .content h2, .content h3,  .content h5, .content h6, .page-template-about-php h3{line-height: 1em;text-transform:uppercase;text-align:center;font-weight:bold;}
.content h4{text-transform:uppercase;}

h1, h2, h3{font-size:29px;}
.content h3, .page-template-about-php h3{margin: 22px 0;}
h2 span{width: 50%;color: #000;display: inline-block;}
h4{margin-bottom: 18px;}

img{max-width:100%;height:auto;}

strong{font-weight:bold;}

em{font-style:italic;}

input, textarea, select{font-family:'Montserrat', sans-serif;}

.aligncenter{margin: auto;float: none;display: block;}
.alignright{float:right;}

.content .half-width hr{border-top: none;border-bottom: 1px solid white;margin: 4px 0 20px 0;background:none;height:0;}

.content .half-width.corner {position:relative;margin-top:30px;}
.content .half-width.corner:after { content: ''; width: 0; height: 0; border-top: 70px solid #fff; border-left: 70px solid transparent; top: 0; right: 0; position: absolute; }

.content hr{float: left;text-align: center;width: 100%;height: 48px;font-size: 29px;background: url('images/shadow.png') center bottom no-repeat;border: none;}

.one_half{width: 46%!important;margin: 2%;}
.one_half.last_column{float:right!important;}

.one_third {width: 29.3%!important;margin: 2%;}

.page-title{float: left;text-align: center;width: 100%;padding: 52px 0 96px 0;font-size: 29px;background: url('images/shadow.png') center bottom no-repeat;text-transform:uppercase;font-weight:bold;}
.home .page-title{background:transparent;padding:52px 0 40px 0;}

.box-title{font-size: 23px;padding: 8px 0 12px 0;}

.box-title.full-width{width: 97.2%;float: left;margin-right: 2%;margin-top: 30px;}

.small-box-title{font-size: 21px;font-weight: bold;color: #fff!important;padding: 13px 7%;position:relative;}


.small-box-title:after{ content: ''; width: 0; height: 0; border-top: 26px solid #fff; border-right: 26px solid transparent; border-left: 26px solid transparent; position: absolute; left: 0px; float: left; top: 47px; }

.content ul{margin-left: 20px;margin-bottom: 20px;}
.content ul li{list-style-type:disc;padding-bottom: 5px;}
.content  ul.full-width,.content ul.four-fifths-width,  .content ul.blognav {margin-left: 0;margin: auto;}
.content .full-width li, .content .four-fifths-width li, .content  ul.blognav li{list-style-type:none;padding-bottom:0px;}

.content .full-width h3, .content .four-fifths-width h3 {margin: 0;}
.content .half-width h3, .content .half-width h4{text-align:left;color:#fff;}	

.small-box-link{color: #000;padding: 7px 7% 0 7%;float: left;}

.page-template-working-with-us-php .small-box-link{ padding: 18px 6% 0 6%;float: left;text-align: center; }
.central-text{text-align: center;width: 65%;margin: 0 auto 14px auto;}


.lightgrey { color: #f1f1f2; }
.blue h1, .blue h2, .blue h3, .blue h4{ color: #00aeef; }
.darkblue { color: #2d3982; }
.pink h1, .pink h2, .pink h3, .pink h4{ color: #ec008c;  }
.darkgrey { color: #808080; }
.lightgrey-bg { background-color: #f1f1f2; color:#fff; border-top-color:inherit; }
.page-template-about-php .lightgrey-bg { float: left; width: 100%; }
.lightblue-bg { background-color: #00aeef; color:#fff; border-top-color:#00aeef; }
.darkblue-bg { background-color: #2d3982; color:#fff; border-top-color:#2d3982; }
.pink-bg { background-color: #ec008c; color:#fff; border-top-color:#ec008c; }
.darkgrey-bg { background-color: #808080;color:#fff; }

.wrapper { width: 980px; margin: 0 auto; }
.full-width { width: 100%; float: left; margin-bottom: 20px; }
.two-thirds-width { width: 66.6666%; float: left; margin-bottom: 20px; float:left; }
.one-third-width{float:right;}
.half-width { width: 46.2%; float: left; margin-right: 2%; padding: 1% 1.4% 1% 1.4%; margin-bottom: 20px; }
.half-width.last { margin-right:0; }

.third-width { width: 33.3333%; float: left; margin-bottom: 15px; }
.quarter-width { width: 25%; float: left; margin-bottom: 20px; }
.fifth-width { width: 20%; float: left; margin-bottom: 0; }
.four-fifths-width { width: 80%; margin:0 10%; margin-bottom: 0; }

.white-arrow{position: relative;height: 30px;padding: 13px 1.4% 8px 1.4%;}

.no-white-arrow { position: relative; height: 30px; padding: 13px 1.4% 8px 1.4%; }

.white-arrow:after{ content: ''; width: 0; height: 0; border-top: 16px solid transparent; border-bottom: 16px solid transparent; border-left: 16px solid #fff; position: absolute; right: 12px; float: left; top: 10px; }
.left { float: left; }
.right { float: right; }
.clear { clear: both; }

header {position: relative; }

.top-bar { height: 57px; }
.top-bar .wrapper { width: 945px; }

#searchform { float: left; }
#searchsubmit { margin: 14px 0; float: left; }

#s { float: left; height: 28px; background: transparent; border: none; margin: 13px 0; font-weight: bold; font-size: 16px; color: #000; }

.login { margin: 22px 0; }

.header-main { height: 150px; padding-top: 35px; }
.header-main .wrapper { width: 945px; }

.social { margin: 35px 0px 0 0px; }
.social li { float: left; margin-left: 12px; }

.header-main .phone, .header-main .email { font-size: 25px; color: #00AEEF; width: 350px; text-align: right; }

.header-main .phone img, .header-main .email img{ position:relative; top:7px; }

.header-main p { line-height: 1; padding: initial; }

.language-bar{ background-color: #42AFEF; color: #fff; padding: 10px 0; text-align: right;}
.language-bar .wrapper{ width: 100%; max-width: 945px; margin: 0 auto;}
.language-bar a{ color: #fff; font-weight: 400;}
.content{float:left;background-color:#fff;width: 96%; padding:0 2%}

.sub-nav ul li a { border-right: 1px solid #7fceec; }

#menu-main-navigation { float: left; position: relative; background-color: #2d3982; width: 100%; z-index: 5;}
#menu-main-navigation > li { float: left; }
#menu-main-navigation > li > a { color: #fff; padding: 21px 10px 21px 10px; float: left; }
#menu-main-navigation li a, .sub-nav ul li a{ color: #fff; }
#menu-main-navigation li ul{ display: none; position: absolute; z-index: 100; background: #00aeef; width: auto; }
#menu-main-navigation > li > ul{ top: 57px; }
#menu-main-navigation li ul li { padding:11px 10px 11px 9px; position:relative; }
#menu-main-navigation > li.current-menu-ancestor,#menu-main-navigation > li:hover {
background: #00aeef; }

.mobile-menu { display: none; }

.slider{position: relative;}
.slider-title{background-image: url('images/slider-bg.png');position: absolute;bottom: 0;height: 103px;padding: 90px 0% 0px 0%; text-align: center; width: 100%;}

.rslides li {max-width:100%;}
.rslides_nav.prev, .rslides2_nav.prev{position: absolute;background-image: url('images/arrow-left.png');width: 39px;height: 78px;top: 213px;left: -39px;text-indent: -99999px;background-repeat: no-repeat;}
.rslides_nav.next{background-repeat: no-repeat;position:absolute;background-image: url('images/arrow-right.png');width:39px;height:78px;top: 213px;right: -36px;text-indent: -99999px;}
.rslides2_nav.next{position:absolute;background-image: url('images/arrow-right.png');width:39px;height:78px;top: 213px;right: -39px;text-indent: -99999px;}
.rslides2_nav.prev{top: 100px;}
.rslides2_nav.next{top: 100px;}
.quote-title{text-transform: uppercase;text-align: center;color: #00aeef;}

.content  .pre-footer ul{margin-left:0;}
.content  .pre-footer ul li{list-style-type:none;}

blockquote{ width: 64%; margin: 0 auto 22px auto; text-align: center; padding: 60px 18% 113px 18%; position: relative; background: url('//studylinks.com/wp-content/themes/studylinkstheme/images/shadow.png') center bottom no-repeat;	 }
blockquote strong{font-weight:bold;}
blockquote:before{ width: 54px; height: 38px; background-image: url('//studylinks.com/wp-content/themes/studylinkstheme/images/quote-left.png'); float: left; position: absolute; top: -16px; left: 112px;}
blockquote:after{ width: 54px; height: 38px; background-image: url('//studylinks.com/wp-content/themes/studylinkstheme/images/quote-right.png'); float: left; position: absolute; bottom: 59px; right: 115px;}
.team-title{text-align:center;font-size:36px;color:#ec008c;font-weight:bold;}
.team-sub-title{text-align:center;font-weight:bold;margin: 35px 0 25px 0;}

.page-template-team .accordion { margin: 50px; }

dt, dd { border-bottom: 0;  }
dt a { display: block; font-weight: bold; border-top: 1px solid gray; padding: 10px; }
dd { float: left; width: 100%; border-bottom: 1px solid gray; padding: 20px 0; text-align: center; }

.more-info{text-align:center;font-size:24px;padding: 52px 0 40px 0;}

.large-phone{text-align:center;font-size:54px;font-weight:bold;}

.pre-footer{float: left;padding-top: 40px;background:#fff;}

footer { background: #fff url('images/footer.png') center 0 no-repeat; height: 171px; padding: 137px 0 0 0; color: #fff; float: left; width: 100%; font-size: 15px; }

.faq{ padding: 0px 80px; float: left; text-align: center; margin: 0 0 30px 0; color:#fff; position:relative; }
.faq h3{ color:#fff; text-transform:initial; font-weight:normal; }
.faq ul li{text-align:left;}
.faq:after { content: ''; width: 0; height: 0; border-top: 26px solid #00aeef; border-top-color:inherit; position: absolute; bottom: -26px; }

.faqleft:after { border-right: 26px solid transparent; left: 26px; }
.faqright:after { border-left: 26px solid transparent; right: 26px; }

.about-us{ position: relative; width: 98%; margin: auto; display: block; margin-bottom: 20px; background-color: #fff; padding: 0 0 0 2%; float: left; }
.about-us .text-top{ width: 90%; margin-top: 15px; }
.about-us .text-bottom{position: absolute;bottom: 0;width: 60%;}

.type-post, .type-news{border-bottom: 1px solid gray;float: right;width: 85%;margin-bottom: 20px;}
.type-post img, .type-news img {float:right;margin-left: 18px;}
.type-post .two-thirds-width, .type-news .two-thirds-width {position: relative;height: 178px;width: 69%;margin-bottom: 10px;}
.type-post .attachment-post-thumbnail, .type-news .attachment-post-thumbnail{float:right;}
.type-post a.pink, .type-news a.pink{color: #fff;background-color: #ec008c;padding: 12px 10px;float: left;position: absolute;bottom: 8px;}
.type-post a.blue, .type-news a.blue{color: #fff;background-color: #00aeef;padding: 12px 10px;float: left;position: absolute;bottom: 8px;}

.content .post h3, .content .news h3{text-align: left;margin: 0 0 16px 0;font-size: 24px;}
.content .post h3.pink, .content .news h3.pink{color: #ec008c;}
.content .post h3.blue, .content .news h3.blue{color: #00aeef;}

.archive .content, .single-news .content{border-top:2px solid #ec008c;}
.blog .content, .single-post .content{border-top:2px solid #00aeef;}
.date{float: right;position: absolute;bottom: 8px;right: 0;padding-bottom:0;}

.blognav li a{ color: #fff; background-color: #ec008c; padding: 12px 10px; float: left; clear: both; width: 100px; margin-bottom: 14px; height: 16px; }
.blognav li.blue a{ background-color: #00aeef; }
.blognav li.blue:after { content: ''; width: 0; height: 0; border-top: 20px solid transparent; border-bottom: 20px solid transparent; border-left: 20px solid #ec008c; position: absolute; }
.blognav li.pink:after { content: ''; width: 0; height: 0; border-top: 20px solid transparent; border-bottom: 20px solid transparent; border-left: 20px solid #00aeef; position: absolute; }

.content ul li.gfield{list-style-type:none;}
#gform_wrapper_1.gform_wrapper{ width: 267px; float: right; display: inline; }
.content #gform_fields_1{margin-left:0;}
#gform_wrapper_1 .gfield_label{ display:none; }
#gform_wrapper_1 .gform_body{ width: 177px; float: left;}
#gform_wrapper_1 .gform_footer{ width: 82px; float: right;}
#gform_wrapper_1 li.gfield {margin:0;padding:0;}
#gform_wrapper_1 #input_1_1{ float: left; height: 26px; border: none; padding: 0 1%; width: 98%; margin: 0;}
#gform_wrapper_1 #input_1_5 { float: left; height: 26px; border: none; padding: 0 1%; width: 98%; margin: 0;}
#gform_wrapper_1 .gform_button{ float: left; background: white; border: none; padding: 6px 9px 5px 8px; height: 26px; font-family: 'Montserrat', sans-serif; cursor: pointer;color:black;}

.dept h3{float:left;width:100%;}	

.person{ display: inline-block; cursor: pointer; margin: 20px 30px 0 30px; width: 213px; }	
.person img{margin: auto;display: block;}
.person-summary{ background: #00adef; color: #fff; padding: 10px 5px; float: left; clear: both; width: 205px; height: 72px; }
.person h4 { text-transform:capitalize; margin: 0; color:#fff; }
.person-description{ background: #2d3982; color: #fff; padding: 20px 10px; margin-bottom: 20px; float: left; display: none; }
.person-description img{ max-width: 100%; height: auto; box-shadow: 3px 3px 8px #000; border: 9px solid #f2f2f2; border-bottom: 36px solid #f2f2f2; -ms-transform: rotate(20deg);  -webkit-transform: rotate(20deg);  transform: rotate(20deg); float:right; }
.person-content{ width:66%;float:left; }

#gform_fields_2{margin:0;}
.gfield{ width: 100%; float:left; }
#gform_2 input[type="text"]{ width: 40%; height: 45px; float: left; background-color: #f1f1f2; border: none; padding: 0 4%;margin: 0; }
#field_2_5 .gfield_label{ float: left; width: 100%; clear: right;}
form#gform_2 textarea { float: right; width: 93%; background-color: #f1f1f2; border: none; padding: 12px 4%; clear: right;margin:0; }
form#gform_2 select{ width: 48%; height: 45px; float: left; background-color: #f1f1f2; border: none; padding: 0 4%; }
#field_2_5{position: absolute;width: 400px;left: 540px;}
#gform_submit_button_2{	 float: right; background-color: #ec008c; border: 0; padding: 11px 18px; position: relative; top: -39px; left: -40px; color: #fff; }	
#gform_fields_2{position:relative;}		

.plus{float:right;}

.page-id-242 .one_half { width: 50%!important; margin:0%; }

.directions{float: left;width: 100%;}
.directions input[type="text"]{ width: 291px; height: 45px; float: left; background-color: #f1f1f2; border: none; padding: 0 4%; }

.directions input[type="submit"]{ float: right; background-color: #ec008c; border: 0; padding: 15px 18px; color: #fff; }	

@media screen and (max-width: 1080px) {
    .rslides_nav, .rslides2_nav{display:none;}
    iframe{max-width:100%;}
    .one-third-width { float: right; width: 30%; }
}

@media screen and (max-width: 979px) {
    body, body.page { background: none; }
    .wrapper, .header-main .wrapper, .top-bar .wrapper { width: 100%; height: auto; }

    .top-bar .wrapper, .header-main .wrapper, footer .wrapper { width: 90%; margin: 0 5%; }

    #menu-main-navigation { width: 100%; float: left; background-color: #2d3982; }

    footer .wrapper .third-width { width: 50%; }

    .one_half { width: 44%!important; margin: 0 3%; }

    .accordion{ margin: 20px 0; }

    .person { margin: 20px 4% 0 4%; }

    .box-title.darkblue-bg { font-size: 18px; }

    select { width: 88%; margin: 0 6%; }
    
    #gform_2 input[type="text"]{ width: 80%; margin: 0px 6%; }
    .gform_body{float:left;}
    #field_2_5 { position: static; width: 88%; }
    .gfield_label{ margin-left: 6%; }	
    textarea { margin: 0 7%; width: 92%; float: left; }
    #gform_submit_button_2 { float: left; padding: 11px 18px; position: static; margin: 10px 6%; }
}


@media screen and (max-width: 870px) {
    .box-title { font-size: 18px; }
    .white-arrow { position: relative; height: 23px; }
    .white-arrow:after { top: 6px; }
    .slider-title{font-size:1.5em;}

    .person { margin: 20px 3% 0 3%; }

    #gform_wrapper_1.gform_wrapper { width: 34%; }
    #gform_wrapper_1 .gform_body { width: 51%; float: left; }
}

@media screen and (max-width: 799px) {
    h2 span { width: 90%; }
    
    .cats { width: 650px; float: none; margin: 0 auto; }
    .blogs { width: 650px; float: none; margin: 0 auto; }

    /***** MOBILE MENU ******/
    .login {margin-right: 30px;}
    .mobile-menu { display: block; position: absolute; top: 36px; right: 4px; width: 50px; height: 50px; cursor: pointer; }
    
    #menu-main-navigation li ul li { padding: 0; border-bottom: 0px solid white; position: relative; }
    #menu-main-navigation li ul.sub-menu ul.sub-menu { background-color: #ec008c; position: static; }
    #menu-main-navigation li ul.sub-menu ul.sub-menu li { background-color: #ec008c; }
    #menu-main-navigation > li.current-menu-ancestor,#menu-main-navigation > li:hover {background: #2d3982;}
    #menu-main-navigation li ul li {background:#00aeef;}
    #menu-main-navigation li:hover > ul {display:none;}

    .sub-nav ul.sub-nav0 {  width: 100%;}
    .sub-nav ul.sub-nav1 {  width: 100%;}
    .sub-nav ul.sub-nav2 {  width: 100%;}
    .sub-nav ul.sub-nav0 .current_page_item.page_item_has_children {background: transparent;}
    .sub-nav{display: none;}


    #menu-main-navigation { display: none; position: absolute; top: 92px; border-left:none; }
    #menu-main-navigation li { float: left; clear: both; width: 100%; }
    #menu-main-navigation li a, .sub-nav ul li a { border-right: none; padding: 21px 0 21px 20px; width: 92%; display:block; }
    #menu-main-navigation li ul { display: none; position: static; width:100%; }
    
    .person { margin: 20px 2% 0 2%; }
    .person-description { padding: 20px; margin-bottom: 20px; min-height: 150px; display: none; margin-top: 10px; float: left; position: fixed; top: 10px; left: 9%; width: 74%; z-index: 1000; }
    
    .box-title.darkblue-bg { font-size: 18px; height: 60px; }

    #gform_wrapper_1.gform_wrapper { width: 100%; margin: 12px 0 0 0; }
    #gform_wrapper_1 #input_1_1 { width: 90%; }
    #gform_wrapper_1 .gform_body { width: 83%; float: left; }

    .type-post img, .type-news img { float: left; width: 90%; }

    .blognav{display:none;}
    .blog .content, .single-post .content { border-top: none; }
    .type-post, .type-news { float: left; width: 100%; }

    .content .post h3.blue, .content .news h3.blue { color: #00aeef; margin-left: 5%; }
    .content .post p { width: 90%!important; margin: 0 5%; }

    .type-post a.blue, .type-news a.pink { position: static; } blockquote:before { top: -47px; }
    .type-post .two-thirds-width, .type-news .two-thirds-width { position: relative; height: auto; margin-bottom: 10px; }
}

@media screen and (max-width: 760px) {
    .person { margin: 20px auto 0 auto; float: initial; }
    .person-content { width: 100%; float: left; }
    .person-description { padding: 20px; margin-bottom: 20px; min-height: 150px; display: none; margin-top: 10px; float: left; position: fixed; top: 10px; left: 9%; width: 74%; z-index: 1000; bottom: 10px; overflow: scroll; }
    .person-description img{ display:none; }

    .rslides2_nav { display:none; }

    .team-title { font-size: 19px; }
    .about-us .text-bottom { position: static; bottom: 0; width: 60%; }
}

@media screen and (max-width: 639px) {
	
	.header-main .right { text-align: center; }
	.applyfor { margin: 30px 0 0 0; float: none; }
	
	.wechat, .whatsapp { display: block; margin: 0; float: none !important; text-align: center; }
	.wechat { margin-top: 50px; }
	.whatsapp { margin-bottom: 10px !important; }
	
	.at-follow-tbx-element .at300b, .at-follow-tbx-element .at300m { width: 100% !important; }
	
	.mobile-menu { top: 7px; }
	.language-bar .align-right { text-align: center !important; }
	#menu-main-navigation { top:60px; }
	
    .date { float: left; position: static; bottom: 8px; right: 0; padding-bottom: 0; width: auto !important; }

    .popup { display: none; border: 10px solid #C9CACC; padding: 20px; margin: 10px 10px; position: fixed; left: 0; top: 0; background: white; z-index: 999; max-height: 80%; overflow: scroll; }
    
    .cats { width: 320px; float: none; margin: 0 auto; }

    .blogs { width: 320px; float: none; margin: 0 auto; }	
    .content .half-width.corner p { width: 100% !important; margin: 0; }	

    .slider-title { font-size: 1.2em; height: auto; background-position: top center; padding-top: 50px; padding-bottom:10px; }

    .one_half, .one_third {width:90%!important;padding: 0 5%;}
    .one_half p{width:100%!important;margin:0 ;}
    .one_half.last_column{float:left!important;}
    
    .login { display: none; }
    
    #searchform { width: 55%; margin: auto; float: none; }
    #s { width: 73%; }
    
    .header-main { height: auto; padding-top: 0; }
	.header-main .right { width: 100%; margin-top: 5px; }
    .header-main .right #clock { display: none; }
    .header-main .right .phone { text-align: center; }
    .header-main .right .email { display: none; }

    .logo  { position: absolute; top: 5px; left: 27px; width: 40px; float: left; }
    
    .central-text { text-align: center; width: 82%; }
    
    .half-width { width: 97.2%; margin-right:0; }

    .box-title.full-width { height: auto; }

    blockquote { width: 96%; padding: 60px 2% 106px 2%; }
    blockquote:before{left:3px;}
    blockquote:after{right:3px;}
    
    p{width:90%!important;margin:0 5%;}
    
    .content .post h3, .content .news h3{width:90%!important;margin:0 5% 10px 5%;}
    
    footer .wrapper { float: left; background: #000083; width: 90%; padding: 0 5%; margin: 0; }
    footer .wrapper .third-width { width: 100%; }

    .fifth-width { width: 33.33333333%; float: left; margin-bottom: 20px; }
    .quarter-width { width: 50%; }

    .page-id-242 .one_half { width: 90%!important; margin: 0%; padding: 0 5%; }	

    .about-us .text-bottom { position: static; bottom: 0; width: 60%; }

    .about-us .one-third-width { float: left; max-width: 100%; margin: 0 20px 18px 20px; width: auto; }
    .about-us .two-thirds-width { margin-bottom: 0; width: 100%; }
    
    .type-post a.blue, .type-news a.pink{ color: #fff; padding: 12px 10px; float: right; position: static; }
    .type-post .two-thirds-width, .type-news .two-thirds-width { position: relative; height: auto; width: 92%; margin-bottom: 10px; }
}

@media screen and (max-width: 530px) {
    #gform_wrapper_1 .gform_body { width: 70%; float: left; }
}

@media screen and (max-width: 480px) {
    .fifth-width { width: 50%; }
    .quarter-width { width: 50%; } 
}