/*
Theme Name: Amethyst Partners
Theme URI: https://amethystasiapartners.com
Version: 1.1
Description: Custom theme created for Amethyst Partners
Author: Chillybin
Author URI: http://www.chillybin.com.sg/
template: bb-theme
*/

/* Add your custom styles here... */ 

body {letter-spacing:0px;}
#gform_1 li label, #gform_2 li label, #gform_3 li label, #gform_4 li label{max-width:100%;}
.gsection {border-bottom:0 !important;}
.gform_wrapper label.gfield_label, .gform_wrapper legend.gfield_label,.gform_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label {font-family:"Lato",sans-serif;color:#455561;font-size:16px !important;font-weight:normal !important;}
.gform_wrapper h2.gsection_title {color:#45205e;font-size:24px !important;line-height:1.35;font-weight:700 !important;font-family:Quattrocento Sans, sans-serif;}
.gform_footer input[type="submit"] {padding:16px 32px;background:transparent !important;border:1px solid #45205e;border-radius:100px;-moz-border-radius:100px;-webkit-border-radius:100px;-ms-border-radius:100px;-o-border-radius:100px;color:#45205e !important;text-transform:uppercase;letter-spacing:5px !important;font-size:14px;}
.gform_footer input[type="submit"]:hover{background:#45205e !important; color:#fff !important;}
.gform_wrapper .validation_message, .gform_wrapper .gfield_required {display:none;}
.gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label, .gform_wrapper li input[type="text"].datepicker {margin-top:0 !important;}
.gform_wrapper li.gfield.gfield_error {background-color:transparent !important;border:0 !important;padding:0 !important;}
.gform_wrapper .ginput_container.ginput_container_select {margin-top:-5px !Important;}
.gform_wrapper .ginput_container_select select {border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px; height: 52px; line-height: 52px;}

.gform_wrapper .gfield_checkbox li input, .gform_wrapper .gfield_checkbox li input[type=checkbox], .gform_wrapper .gfield_radio li input[type=radio] {
	margin-top: 0 !important;
	margin-right: 8px;
}

.gform_wrapper .gfield_checkbox li label,
.gform_wrapper .gfield_radio li label {
	font-size: 0.875em !important;
	width: 85% !important;
}

.searchandfilter h4 {
    color: #45205e;
    text-transform: uppercase;
    font-weight: 400;
    font-size: .875em
}

.searchandfilter ul {
    padding: 0 0 0 20px;
}

.searchandfilter label {
	width: 100%;
}

.searchandfilter select {
    padding: 0 1em;
    height: 40px;
    background: #fff url(../icon-arrow-down.html) no-repeat right 1em center;
    background-size: 16px !important;
    line-height: 2.5;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    border-color: #ddd;
	width: 100%;
	max-width: 20em;
}

.gform_wrapper .one-third input,
.gform_wrapper .two-thirds input {
	padding: 15px !important;
}

.one-third,
.two-thirds {
	float: left;
	margin-left: 2.564102564102564%;
}

.two-thirds {
	width: 65.81196581196582%;
}

.one-third {
	width: 31.623931623931625%;
}

.first {
	clear: both;
	margin-left: 0;
}


#jobspage-listings .uabb-masonary-current {color:#fff;}
#jobspage-listings .uabb-blog-posts-col-1:nth-child(even){background:#f9f9f9;}
.jobapply {margin:0 auto;display:table !important;}
#jobspage-listings h4 {color:#455561;}



.jobapply {transition:all .3s ease-in-out;padding:16px 32px;background:transparent !important;border:1px solid #ffffff;border-radius:100px;-moz-border-radius:100px;-webkit-border-radius:100px;-ms-border-radius:100px;-o-border-radius:100px;color:#45205e !important;text-transform:uppercase;letter-spacing:5px !important;font-size:14px;color:#fff !important}
.jobapply:hover{background:#45205e !important;transition:all .3s ease-in-out;border-color:#45205e;}

.footprint h6.fl-heading {padding:10px 20px !important;color:#fff;background:#45205e;display:table;margin:0;border-radius:30px;-moz-border-radius:30px;-ms-border-radius:30px;-o-border-radius:30px;-webkit-border-radius:30px;}

.member-lightbox {position:absolute;width:100%;height:100%;top:0;left:0;}
.member-lightbox a {width:100%;height:200%;display:flex;}
#team-members {display:flex;justify-content:center;}
.member-column {width:33.33%;position:relative;overflow:hidden;margin:20px;}
.membersum {position:absolute;z-index:1;transform: translate(0,-100%);top:180%;width: 110%;height:120%;padding:20px;background:#fff;transition:all .3s ease-in-out;}
.membersum h4, .member-details h3 {margin:0;color:#455561;font-size:24px;}
.member-column:hover .membersum {transform: translate(0,100%);top:-120%;transition:all .3s ease-in-out;background:rgba(69,32,94, .8);}
.member-column:hover .membersum h4, .member-column:hover .member-details h3,  .member-column:hover p {color:#fff;}
.member-details {background:#fff;}
.mfp-auto-cursor .mfp-content {width:90%;max-width:500px;}
.memright {padding:20px;}
.memleft {position:relative;}
.socialwrapper {text-align:right;display:flex;font-size:36px;}
.memlinkedin, .mememail{float:left;width:auto;padding:5px;}
.teamtitle{margin:0;font-weight:bold;color:#000;}
.teamlocation{padding:5px 10px;color:#fff;background:#45205e;bottom:20px;right:10px;display:table;margin:0;border-radius:30px;-moz-border-radius:30px;-ms-border-radius:30px;-o-border-radius:30px;-webkit-border-radius:30px;position:absolute;}
body .mfp-wrap .mfp-close, body .mfp-wrap .mfp-close:hover {background:#45205e !important;color:#fff;opacity:1;border-radius:100px;-moz-border-radius:100px;-webkit-border-radius:100px;-ms-border-radius:100px;-o-border-radius:100px;top: -20px !important;right: -20px !important;}
#logo-wrapper {max-width:200px;}
.posrel {position:relative;}
.posrel .uabb-infobox-text-wrap {display: flex;flex-wrap: wrap;height: 90%;justify-content: space-between;}
.posrel .fl-col-content.fl-node-content,
.posrel .uabb-module-content.uabb-infobox,
.posrel .uabb-infobox-left-right-wrap,
.posrel .uabb-infobox-content,
.posrel .fl-module-info-box,
.posrel .fl-module-content.fl-node-content{height:100%;}
.posrel .uabb-infobox-text.uabb-text-editor {height:50%;}
.posrel .uabb-infobox-button {height:60px;}
.cstm-img-margin img {margin:-80px 20px 20px -80px;min-width:250px;}
.cstm-img-margin .uabb-infobox-content{width:calc(100% - 210px) !important;}
.ecs-event-list {list-style:none;padding-left:0px;}
.ecs-event-list li {position:relative;padding-left:30px;padding-bottom:13px;display:flex;flex-wrap:wrap;margin-bottom:11px;}
.ecs-event-list li:before {content:"\f058";font-family:"Font Awesome 5 Free";color:#45205e;position:absolute;margin-left:-30px;font-size:18px;margin-top:5px;}
.ecs-event-list h4 {margin-bottom:-5px;width:100%;order:3;margin-top:-5px;line-height:2;}
.ecs-excerpt {order:4;width:100%;line-height:1.85;margin-top:-3px;}
.duration.time {order:1;font-size:12px;margin-top:10px;}
.duration.venue {order:2;font-size:12px;margin-top:10px;}
.ecs-event-list h4 a {font-family:Quattrocento Sans, sans-serif;font-size:24px;font-weight:bold;color:#45205e}
li.ecs-event.concerts_ecs_category {border-bottom:1px solid #f1f1f1;}

.tribe-events-single-section-title {    font-family: Quattrocento Sans, sans-serif;
    font-weight: 700 !important;
    font-size: 36px !important;color:#45205e;

}
.display-past-evnts {margin-top:60px;opacity:.5;}
.display-past-evnts h4 {font-weight:700;color:#45205e;}
	.gform_footer.top_label {text-align:center;}
.amethyst-blog-archive .uabb-post-thumbnail.uabb-blog-post-section {width:30%;}
.amethyst-blog-archive .uabb-blog-post-content {width:70%;}

@media (max-width:1400px){
	.cstm-img-margin img {min-width:200px;}
	.cstm-img-margin .uabb-infobox-content {margin-left:-60px;width:calc(100% - 150px) !important;}
}
@media (max-width:1279px){
	.withfivecols .fl-col-small {width:33.33%;}
}

@media (max-width:1140px){
	#custom-header #menu-navigation a {padding-left:5px; padding-right:5px;}
}

@media (max-width:1082px){
	.posrel .fl-col-content.fl-node-content,
.posrel .uabb-module-content.uabb-infobox,
.posrel .uabb-infobox-left-right-wrap,
.posrel .uabb-infobox-content,
.posrel .fl-module-info-box,
.posrel .fl-module-content.fl-node-content {height:auto;}
	.posrel .uabb-infobox-text-wrap {display:block;height:auto;}
}
@media (max-width:992px){
	#footer-logo-wrapper img {max-width:200px;}
	.cstm-img-margin img {margin: 0 20px 20px 20px;}
	.cstm-img-margin .uabb-infobox-content {margin-left:0;width:calc(100% - 320px) !important;}
	#menu-navigation-1 a {text-decoration:none !important;outline:none !important;padding:15px;}
	#menu-navigation-1 li a:hover {background:#45205e;color:#fff;}
	#menu-navigation-1 li a:hover .uabb-menu-toggle, #menu-navigation-1 li li.menu-open .uabb-menu-toggle:before {color:#fff;border-color:#fff !important;}
	#menu-navigation-1 .sub-menu li a {padding-left:20px;text-transform: none !important;}
	#menu-navigation-1 .sub-menu li li a{padding-left:30px;}
	.sub-menu {box-shadow:none;background:#45205e;}
	.sub-menu li a .menu-item-text, #menu-navigation-1 li a:hover  .menu-item-text{color:#fff !important;letter-spacing:normal;}
}

@media (max-width:958px){
	.gform_wrapper .two-thirds, .gform_wrapper .one-third {width:100%;margin:0;}
}
@media (max-width:768px){
	#logo-wrapper {max-width:300px;}
	#footer-social-icons .fl-icon-group.fl-icon-group-left {text-align:center !important;}
	#footer-social-icons .fl-icon {margin:10px !important;}
	.searchandfilter select {max-width:calc(100% - 1em);}
	
}
@media (max-width:767px){
	
	.posrel .uabb-infobox-button, .posrel .uabb-infobox-title, .posrel .uabb-infobox-text.uabb-text-editor {text-align:center;}
	.cstm-img-margin .uabb-image-content, .cstm-img-margin .uabb-image-content img {width:100% !Important;}
	.cstm-img-margin .uabb-infobox-content  {width:100% !important;padding:20px;}
	/*h1 {font-size:32px !important;}
	h3 {font-size:28px !important;}
	h5 {font-size:24px !important;}
	h6 {font-size:18px !important;}*/
	h1,h1.fl-heading, h3,h3.fl-heading {line-height:1.2 !Important;}
	.cstm-img-margin img {width:calc(100% - 40px) !important;margin:-25px 0 0 0;}
	.cstm-img-margin .infobox-photo-left .uabb-imgicon-wrap {margin-right:0 !important;width:100% !important;}
}
@media (max-width:480px){
	#footer-logo-wrapper img {width:100%;}
	#logo-wrapper {width:50% !important;}
}


a.chillybin {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-bottom: 0;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    background-image: url(https://www.chillybin.com.sg/cb.svg);
    background-size: 24px 24px;
    background-repeat: no-repeat;
    vertical-align: middle;
    -webkit-transform: scale(1,1);
    transform: scale(1,1)
}

a.chillybin:hover {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%)
}