﻿/*Maintenance message*/
.maintenance-msg {
    display: none;
	position: relative;
}

/*.maintenance-toggle.hide {
    display: none;
}*/

.maintenance-toggle-wrapper {
    display: none;
}

.maintenance-toggle-wrapper.active {
	display: block;
    box-sizing: border-box;
    background-color: #333333;
    position: relative;
    float: right;
    right: 1.5%;
    top: 0;
    width: 32px;
    height: 27px;
    /*padding: 1px 0 0 3px;*/
    text-align: center;
}

.maintenance-toggle {
	display: -webkit-flex;
	display: flex;
	align-items: center;
	justify-content: center;
    border: 2px solid #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
    z-index: 9000;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    font-weight: 900;
    font-size: 10px;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.maintenance-msg {
    background-color: #333333;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 9000;
    text-align: left;
    box-sizing: border-box;
}

.maintenance-msg .loadingSpinner {
    position: absolute;
    top: 20%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #bcbcbc; /* Dark grey */
    border-radius: 50%;
    width: 25px;
    height: 25px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.maintenance-msg a {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    transition: all 0.25s;
}

.maintenance-msg a:hover {
    padding-bottom: 3px;
}

.maintenance-msg .maintenance-msg-txt {
    text-align: center;
    font-size: 14px;
    color: #ffffff;
    position: relative;
    width: auto;
    height: auto;
    line-height: 150%;
    margin: 0 10%;
    padding: 20px;
    vertical-align: middle;
}

.maintenance-msg .maintenance-msg-close-btn {
    position: absolute;
    top: 25%;
    right: 1%;
    width: auto;
    font-size: 40px;
    color: #ffffff;
    cursor: pointer;
}

/*color codes*/

/* end */

/*generic head*/
.top{position:relative;z-index:5; }
.top .top-cnt { max-width: 1440px; margin: auto;}
.top .top-wrap { position: relative;  }

/*sg gov row*/
.top .sg-gov-cred-cnt { background-color: #f0f0f0; font-size: 81.25%; position: relative; }
.top .sg-gov-cred-cnt .top-cnt { padding: 0 40px; }
.top .sg-gov-cred-cnt img { display: inline-block; vertical-align: middle; margin-right: 5px;max-height: 17px; }
.top .sg-gov-cred-cnt .sg-gov-cred { display: inline-block; vertical-align: middle; padding: 5px 0px; }
.top .sg-gov-cred-cnt .sg-gov-cred a { color: #363636; }
.top .sg-gov-cred-cnt .sg-gov-cred a:hover { color: #000; }

/*meta*/
.top .top-meta-cnt { position: relative; z-index: 1; background-color: #fff; }
.top .top-meta-cnt .top-cnt {position:relative;}
.top .top-meta { padding: 10px 40px 10px; }
.top .top-meta .logo { max-width: 30%; }
.top .top-meta .logo img { width: 300px; }



/*menu*/
.top .top-meta .feedback { display: none; }
/* for switching display of the header search*/
.top .top-menu .feedback { display: block; background-color: #f2f2f2; padding: 20px 45px 20px 40px; text-align: right; }

/* .top .top-menu .feedback { display: block; background-color: #f2f2f2; padding: 10px 45px 25px; text-align: right; } */
/*end*/

.top .top-menu .feedback a { color: #363636; padding: 10px 0px 10px 20px; font-weight: 600; background-image: url(../image/feedback-icon.png); background-position: center left; background-repeat: no-repeat; display: inline-block; background-size: 16px;text-transform:capitalize;  }

.top .top-menu-cnt .top-cnt {  position: absolute; top: 0; left: 0; right: 0; z-index: 999; }
.top .top-menu a { color: #fff; }
.top .top-menu .navm1 a { color: #363636; }
.top .top-menu .navm1 { background-color: #f2f2f2; }
.top .top-menu .menu-combo {display:table;width:100%;}
.top .top-menu .navm2 { background-color: #0072ca;display:table-header-group; }
.top .top-menu .navm3 { background-color: #ed3d33;display:table-footer-group; }
.top .top-menu ul.sfNavList {  /*font-size: 214.286%;*/font-size: 157.143%;  }
.top .top-menu .navm1 ul.sfNavList { padding: 0; }
.top .top-menu .navm3 ul.sfNavList { padding:0; }
.top .top-menu .navm1 ul.sfNavList > li { font-size: 0;position:relative; }
.top .top-menu .navm2 ul.sfNavList > li { position:relative; }
.top .top-menu .navm1 ul.sfNavList a {font-size:30px; }
.top .top-menu .navm2 ul.sfNavList a {font-size:30px; }

.top .top-menu .navm2 > .sfNavWrp > ul > li:last-child { }
.top .top-menu .navm2 > .sfNavWrp > ul > li:last-child > a { width: 100%; display: inline-block; background-image: url(../image/buildsg-white.png); background-position: left 40px center; background-repeat: no-repeat; color: transparent; background-size: 96px; }
.top .top-menu .navm2 > .sfNavWrp > ul > li:last-child:hover { color: transparent; }
.top .top-menu .navm2 > .sfNavWrp > ul > li:last-child:hover > a { background-color: #fff; color: transparent; }

.top .top-menu .navm1 ul.sfNavList > li a { position: relative; z-index: 2; padding: 18px 52px 17px 40px;/*padding: 18px 87px 17px 50px;*/  vertical-align: middle; }
.top .top-menu .navm1 > .sfNavWrp > ul > li:last-child { background-color: #d7d7d7; }
/**
.top .top-menu .navm1 > .sfNavWrp > ul > li:first-child { }
.top .top-menu .navm1 > .sfNavWrp > ul > li:first-child > a { width: 100%; display: inline-block; background-image: url(../image/build-sg.png); background-position: left 40px center; background-repeat: no-repeat; color: transparent; background-size: 96px; }
.top .top-menu .navm1 > .sfNavWrp > ul > li:first-child:hover { color: transparent; }
.top .top-menu .navm1 > .sfNavWrp > ul > li:first-child:hover > a { background-color: #fff; color: transparent; }**/

.top .top-menu ul.sfNavList > li { font-weight: 300; transition: all 0.25s; }
.top .top-menu ul.sfNavList > li a { 
display: inline-block;width:100%;
 line-height: 125%;
 /* padding: 18px 15px 17px 50px; */
 padding: 18px 15px 17px 40px;
 transition: background-color 0.25s, color 0.25s; 
 }
.top .top-menu .navm3 ul.sfNavList > li a { 
/* 	padding-left: 100px; 
	background-image: url(../image/access-icon.png); 
	background-position: left 50px center; 
	background-repeat: no-repeat; */ 
	transition: background 0.25s, color 0.25s;
	/* background-size: 35px;  */
}
.top .top-menu ul.sfNavList > li:hover { transition: background 0.25s, color 0.25s; }
.top .top-menu ul.sfNavList > li:hover > a { background-color: #fff; color: #363636; transition: background 0.25s, color 0.25s; }
.top .top-menu .navm3 ul.sfNavList > li:hover > a { 
/* background-image: url(../image/access-icon-black.png);  */
transition: background 0.25s, color 0.25s; 
}
.top .top-menu ul.sfNavList > li > span.touch-button { display: none; }

.top .top-menu .navm1 > .sfNavWrp > ul > li.item-with-ul > .touch-button,
.top .top-menu .navm2 > .sfNavWrp > ul > li.item-with-ul > .touch-button { cursor: pointer; display: inline-block !important; width: 72px; height: 72px; vertical-align: middle; background-image: url(../image/menu-arrow.png); background-position: center; background-repeat: no-repeat; position: absolute; top: 0; right: 24px; z-index: 2; }
.top .top-menu .navm2 > .sfNavWrp > ul > li.item-with-ul > .touch-button{background-image: url(../image/menu-arrow-white.png);}
.top .top-menu .navm2 > .sfNavWrp > ul > li.item-with-ul:hover > .touch-button{background-image: url(../image/menu-arrow.png);}
.top .top-menu .navm1 .mega-cnt { }
.top .top-menu .navm1 .mega { }
.top .top-menu .navm1 .mega-desc {display:none; }
.top .top-menu .navm1 ul.sfNavList > li ul a,
.top .top-menu .navm2 ul.sfNavList > li ul a { font-size: 24px; padding: 8px 15px 8px 50px;width:100%; }
.top .top-menu .navm2 ul.sfNavList > li ul{position:static;    margin-bottom: 30px;}
.top .top-menu .navm2 ul.sfNavList > li .touch-button{display:none;}
.top .top-menu .navm1 ul.sfNavList > li ul > li:hover > a ,
.top .top-menu .navm2 ul.sfNavList > li ul > li:hover > a {background-color:#fff;color:#363636; }
.top .top-menu .navm1 ul.sfNavList > li ul { margin-bottom: 60px; }
.top .top-menu .navm1 ul.sfNavList > li:last-child ul { margin-bottom: 0px; padding-bottom:60px;}
  .top .top-menu .navm3 ul.sfNavList > li a{ padding-right:15px;background-position: left 15px center; } 

.top .top-menu > .top-search { display:none; }
/* .top .top-menu .menuSearch { background-color: #f2f2f2; padding: 15px 40px; position: relative; } */
/* for switching display of the header search*/
.top .top-menu .menuSearch { background-color: #f2f2f2; padding: 15px 40px; position: relative; }

/* .top .top-menu .menuSearch {display:none } */
/*end*/
.top .top-menu .menuSearch input#srcMenu { font-family: "Lato", sans-serif; font-size: 100%; width: 100%; border: 1px solid #ebebeb; padding: 20px 25px; border-radius: 50px; outline: none; -webkit-box-shadow: -5px 5px 10px 1px #cfcfcf; -moz-box-shadow: -5px 5px 10px 1px #cfcfcf; box-shadow: -5px 5px 10px 1px #cfcfcf; transition: padding 0.25s; }
.top .top-menu .menuSearch input#srcMenu::-webkit-input-placeholder {}
.top .top-menu .menuSearch input#srcMenu::-moz-placeholder { }
.top .top-menu .menuSearch input#srcMenu:-ms-input-placeholder {  }
.top .top-menu .menuSearch input#srcMenu:-moz-placeholder { }
.top .top-menu .menuSearch .btnGoSrc{/*display:none;*/}
/*.top .top-menu .menuSearch input#srcMenu:focus,
.top .top-menu .menuSearch input#srcMenu:hover{ background-color: #fff; transition: all 0.25s; }*/
.top .top-menu .menuSearch button.btnGoSrc { cursor: pointer; outline: none; position: absolute; background: none; padding: 0; vertical-align: middle; font-size: 10px; display: inline-block; box-sizing: content-box; width: 27px; height: 27px; border: 0px none; right: 10%; top: 32.5%; top: calc(50% - (27px / 2)); }
.top .top-menu .menuSearch button.btnGoSrc:before { content: ""; position: absolute; left: 0; top: 0; display: inline-block; border: 3px solid #0072ca; border-radius: 25px; width: 15px; height: 15px; transition: all 0.25s; }
.top .top-menu .menuSearch button.btnGoSrc:after { content: ""; position: absolute; right: 5px; bottom: 0; display: inline-block; border-radius: 25px; border-width: 0; background: #0072ca; width: 3px; height: 11px; transform: rotate(135deg); transition: all 0.25s; }
/*
.top .top-menu .menuSearch button.btnSearch { cursor: pointer; outline: none; position: absolute; background: none; padding: 0; vertical-align: middle; font-size: 10px; display: inline-block; box-sizing: content-box; width: 27px; height: 27px; border: 0px none; right: 10%; top: 32.5%; top: calc(50% - (27px / 2)); }
.top .top-menu .menuSearch button.btnSearch:before { content: ""; position: absolute; left: 0; top: 0; display: inline-block; border: 3px solid #0072ca; border-radius: 25px; width: 15px; height: 15px; transition: all 0.25s; }
.top .top-menu .menuSearch button.btnSearch:after { content: ""; position: absolute; right: 5px; bottom: 0; display: inline-block; border-radius: 25px; border-width: 0; background: #0072ca; width: 3px; height: 11px; transform: rotate(135deg); transition: all 0.25s; }*/
/*top social*/
.top .top-menu .navm2 .sfNavWrp { overflow: hidden; }
/* for switching display of the header search*/
.top .top-menu .navm2 .social { font-size: 0; left: 40px; position: absolute; /*top: 95px;*/ bottom:20px;}

/* .top .top-menu .navm2 .social { font-size: 0; left: 50px; position: absolute; top: 15px;} */
/*end*/
.top .top-menu .navm2 .social a { display: inline-block; margin: 0; vertical-align: top; transition: filter 0.25s; margin-left: 5px; 	}
.top .top-menu .navm2 .social a:first-child {margin-left:0; }
.top .top-menu .navm2 .social a:hover { -webkit-filter: grayscale(1); filter: grayscale(1); transition: filter 0.25s; }
.top .top-menu .navm2 .social img { max-width: 28px; }
/**/


.top .top-menu .smallMenuIcon { cursor: pointer; width: 50px; height: 43px; position: absolute; top: -65px; right: 40px; transition: all 0.5s; }
.top .top-menu .smallMenuIcon:before { transition: all 0.25s; content: ""; height: 3px; position: absolute; left: 0; right: 0; top: 0; background-color: #099bcc; }
.top .top-menu .smallMenuIcon:after { transition: all 0.25s; content: ""; height: 3px; position: absolute; left: 0; right: 0; bottom: 0; background-color: #f8b529; }
.top .top-menu .smallMenuIcon .touch-button { pointer-events: none; transition: all 0.25s; height: 3px; margin-top: -1.5px; background-color: #6bb538; display: block; position: absolute; top: 50%; left: 0; right: 0; }
.top .top-menu .smallMenuIcon.active {  transition: all 0.5s; transform: rotate(360deg);  }
.top .top-menu .smallMenuIcon.active:before { content: ""; transition: all 0.25s; transform: rotate(-45deg); height: 3px; position: absolute; left: 0; right: 0; top: 20px; background-color: #099bcc; }
.top .top-menu .smallMenuIcon.active:after { content: ""; transition: all 0.25s; transform: rotate(45deg); height: 3px; position: absolute; left: 0; right: 0; top: 20px; background-color: #f8b529; }
.top .top-menu .smallMenuIcon.active .touch-button { left:100%;transition:all 0.25s; }

.top .top-menu .wpSmallMenuM1 { display: none; }
.top .top-menu .smallMenuIcon.active ~ .wpSmallMenuM1 { display: block; }
.top .top-menu .wpMenuM1 { display: none; }
.top .top-menu .wpSmallMenuM1 .flexnav { display: none; }
.top .top-menu .wpSmallMenuM1 .flexnav.flexnav-show { display: block; }


  .top .top-menu .navm1 ul.sfNavList a { font-size: 22px; }
  .top .top-menu .navm2 ul.sfNavList a { font-size: 22px; }
  .top .top-menu .navm1 ul.sfNavList > li ul a {font-size: 18px; }
  .top .top-menu .navm1 ul.sfNavList > li ul .touch-button { display: none; }
  .top .top-menu .navm1 > .sfNavWrp > ul > li.item-with-ul > .touch-button,
  .top .top-menu .navm2 > .sfNavWrp > ul > li.item-with-ul > .touch-button{ width: 62px; height: 62px;right:30px;}
  .top .top-menu .navm1 ul.sfNavList > li ul { margin-bottom: 40px; }
  .top .top-menu .navm2 ul.sfNavList > li ul a { font-size: 18px;}

/*for scaling 110% and above*/
@media (-webkit-min-device-pixel-ratio: 1.1)  {


  

}

/*screen up till 640*/
@media screen and (max-width: 640px) {
  .top .top-meta { padding: 10px 15px 10px; }
  .top .sg-gov-cred-cnt .top-cnt { padding: 0 15px; }
  .top .top-menu .smallSearchIcon { top: -75px; right: 100px; }
  .top .top-menu .smallMenuIcon {right:15px; width: 45px; height: 35px; top: -55px;  }
  .top .top-menu .smallMenuIcon.active:before { top: 15px; }
  .top .top-menu .smallMenuIcon.active:after { top: 15px; }
  .top .top-meta .logo { min-width: 250px; width: 30%; }
  .top .top-meta .logo img { width:250px;}
  .top .top-menu .menuSearch { padding: 15px 15px; }
  
  .top .top-menu .feedback { padding: 15px /*0px 15px 35px*/; }
  .top .top-menu .navm2 .social { left: 15px;}
  .top .top-menu .navm1 ul.sfNavList > li a{padding-left:15px;padding-right:15px;}
  .top .top-menu ul.sfNavList > li a{/*padding-left:15px;padding-right:15px;*/padding: 18px 15px 17px 15px;  }
  .top .top-menu .navm3 ul.sfNavList > li a{ padding-right:15px;background-position: left 15px center; } 
  .top .top-menu .navm2 > .sfNavWrp > ul > li:last-child > a{background-position: left 15px center; background-size: 96px;}
  .top .top-menu .navm1 > .sfNavWrp > ul > li.item-with-ul > .touch-button,
  .top .top-menu .navm2 > .sfNavWrp > ul > li.item-with-ul > .touch-button{right: 0px;}
  .top .top-menu .navm1 ul.sfNavList > li ul a,
  .top .top-menu .navm2 ul.sfNavList > li ul a{padding-left: 30px;}
  
  
  .top .top-menu .navm1 ul.sfNavList a { font-size: 22px; }
  .top .top-menu .navm2 ul.sfNavList a { font-size: 22px; }
  .top .top-menu .navm1 ul.sfNavList > li ul a {font-size: 18px; }
  .top .top-menu .navm1 ul.sfNavList > li ul .touch-button { display: none; }
  .top .top-menu .navm1 > .sfNavWrp > ul > li.item-with-ul > .touch-button,
  .top .top-menu .navm2 > .sfNavWrp > ul > li.item-with-ul > .touch-button{ width: 62px; height: 62px;}
  .top .top-menu .navm1 ul.sfNavList > li ul { margin-bottom: 40px; }
  .top .top-menu .navm2 ul.sfNavList > li ul a { font-size: 18px;}
  
  /*for scaling 110% and above*/
  @media (-webkit-min-device-pixel-ratio: 1.1)  {



  }

}

/*screen up till 512*/
@media screen and (max-width: 512px) {
    .maintenance-toggle-wrapper {
        right: 0;    
    }

    .top .top-menu .smallSearchIcon { right: 85px; }
                                        
  /*for scaling 110% and above*/
  @media (-webkit-min-device-pixel-ratio: 1.1)  {
  }
}

/*screen up till 480*/
@media screen and (max-width: 480px) {
  .top .top-meta .logo { min-width: 225px; width: 30%; }
  .top .top-meta .logo img { width: 225px; }
  .top .top-menu .smallMenuIcon { width: 30px; height: 25px; top: -45px; }
  .top .top-menu .smallMenuIcon.active:after { top: 10px; }
  .top .top-menu .smallMenuIcon.active:before { top: 10px; }
  .top .top-menu .smallSearchIcon { width: 25px; height: 25px; top: -55px; right: 60px; }
  .top .top-menu .smallSearchIcon:before { width: 16px; height: 16px; }
  .top .top-menu .smallSearchIcon:after { height: 12px; right: 4px; bottom: -1px; }
  .top .top-menu .top-search:before { width: 17px; height: 17px; }
  .top .top-menu .top-search:after { width: 3px; height: 12px; right: 3px; bottom: -1px; }
  .top .top-menu .navm1 ul.sfNavList > li a { padding: 18px 52px 17px 15px; }
  .top .top-menu .navm1 > .sfNavWrp > ul > li:first-child > a { background-size: 96px; background-position: left 15px center; }
  .top .top-menu ul.sfNavList > li a { padding: 18px 15px 17px 15px; }
  .top .top-menu ul.sfNavList { font-size: 157.143%; }

  .top .top-menu .navm3 ul.sfNavList > li a {
	  /* padding-left: 65px;  */
	  padding-left: 15px; 
	  background-position: left 15px center; 
  }
  .top .top-menu .navm1 ul.sfNavList a { font-size: 22px; }
  .top .top-menu .navm2 ul.sfNavList a { font-size: 22px; }
  .top .top-menu .navm1 ul.sfNavList > li ul a { padding: 8px 15px 8px 15px; font-size: 18px; }
  .top .top-menu .navm1 ul.sfNavList > li ul .touch-button { display: none; }
  .top .top-menu .navm1 > .sfNavWrp > ul > li.item-with-ul > .touch-button,
  .top .top-menu .navm2 > .sfNavWrp > ul > li.item-with-ul > .touch-button{ width: 62px; height: 62px; right: 0px; }
  .top .top-menu .navm1 ul.sfNavList > li ul { margin-bottom: 40px; }
  .top .top-menu .navm2 ul.sfNavList > li ul a { padding-left: 15px; font-size: 18px;}

  /*for scaling 110% and above*/
  @media (-webkit-min-device-pixel-ratio: 1.1)  {
  }

}


/*screen up till 372*/
@media screen and (max-width: 372px) {
  .top .top-menu .smallMenuIcon { width: 25px; height: 19px; }
  .top .top-menu .smallSearchIcon { width: 20px; height: 20px; right: 45px; }
  .top .top-menu .smallSearchIcon:before { width: 12px; height: 12px; }
  .top .top-menu .smallSearchIcon:after { height: 9px; right: 3px; bottom: -1px; }

  /*for scaling 110% and above*/
  @media (-webkit-min-device-pixel-ratio: 1.1)  {
  }
}




