/*
Theme Name: FRCSS-BL
Theme URI: 
Author: Angus Lui
Version: 1.0
Text Domain: FRCSS
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/
/*theme color : #5BB8E3*/
@import url('assets/bootstrap/css/bootstrap.css');
body {
    font-family: Microsoft JhengHei;
    font-weight: 700;
    margin-bottom: 20px;
    color:#345;
    overflow-x: hidden;
}
p {font-weight: 500;}

.size-full {
    max-width: 100%;
    height: auto;
}
.login_submit {
    cursor: pointer;
}
@media(max-width:767.98px) {
    .login_submit {
        margin-top: 10px;
        
    }
}
.masthead {
    background-image: url('assets/img/index_top.jpg');
    background-position: center top;
    background-size: 100% cover;
    background-repeat: no-repeat;
}
.navbar {
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1.2em;
    border-radius: 0!important;
    
}
.navbar-brand {
    
    padding-top: 25px !important;
    padding-bottom: 10px !important;
}
.navbar-brand #logo {
    width: 80px;
    height: auto;
    float: left;
}
.navbar-brand span {
    font-weight: 700;
    margin-left: 10px;
    /* color: #64BBC5; */
}
.navbar-brand span#title_hk {
    letter-spacing: 4px;
    font-size: 1.2em;
}
.navbar-collapse {
    padding: 0 0.75rem;
}
#index-bg {
    background-image: url('assets/img/index_swf.jpg');
    background-position: left;
    background-repeat: no-repeat;
    background-size: 100%;
    margin-bottom: 20px;
}
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* 
@-webkit-keyframes zoom {
    from {
      -webkit-transform:translateX(0) scale(1, 1);
    }
    to {
      -webkit-transform:translateX(-80px) scale(1.2, 1.2);
    }
  }
  
  @keyframes zoom {
    from {
        transform:translateX(0) scale(1, 1);
     
    }
    to {
        transform:translateX(-80px) scale(1.2, 1.2);
      
    }
  }

  #carousel-index .carousel-inner .carousel-item > img {
    -webkit-animation: zoom 6s;
    animation: zoom 6s;
  } */
.navbar {
    background: #1e5799;
    background: -moz-linear-gradient(top, #1e5799 0%, #207cca 0%, #53b5e6 0%, #8aced7 100%);
    background: -webkit-linear-gradient(top, #1e5799 0%,#207cca 0%,#53b5e6 0%,#8aced7 100%);
    background: linear-gradient(to bottom, #1e5799 0%,#207cca 0%,#53b5e6 0%,#8aced7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#8aced7',GradientType=0 );
}
.navbar-light .navbar-toggler {
    color: rgba(255, 255, 255, 1) !important;
    border-color: transparent !important;
}
.navbar .navbar-toggler .icon-bar {
    background: #fff !important;
  }
.navbar-light .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1);
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.7);
}
.navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.dropdown-menu {
    /* background: rgba(115, 195, 221, 0.95); */
    background-color: #53b5e6;
    border: none;
    margin: 0;
    border-radius: 0;
    padding: 0
}
.dropdown-item {
    color: #fff;
    border-bottom: 1px solid aliceblue;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #fff;
    text-decoration: none;
    /* background-color: #0796DC; */
    background-color: #18A5AC;
}

.heading {
    color: #015B80;
    border-bottom: 1px solid #c4c4c4;
}
footer {
    margin-top: 20px;
}
#cdr *,
::before, 
::after {
	box-sizing: content-box !important;
}

.content-row {
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer {
    font-size: .75em;
}
.footer #copy{color:#0796DC}

/*******************************/
.index-box {
    font-size: .9em;
    margin-top: .5rem;
    background-color: #C6EAEE;
}
.blue-bg {
    background-color: #C6EAEE;
}
.index-box a:hover {
    text-decoration: none;
 }
/*
@media (max-width: 1199.98px) { .index-box {height: 230px;} } 

@media (max-width: 991.98px) { .index-box {height: 222px;} } */






.index-main .main-bg {
    
    background-repeat: no-repeat;
    background-size: cover;
}

.news {
    position: absolute;
    overflow-y: scroll;
}
.news-box {
        padding: 10px 30px;
}
.news-box > li {
    padding-bottom: 8px;
    color: #676767;
}
.news-box > li > a {
    color: #676767;
    text-decoration: none;
}
.news-box > li > a:hover {
    color: #292929;   
}
.news-title {
    font-size: 1.5em;
}
.tab-content {
    border: 1px solid #ddd;
    border-top: none;
}

/* top nav menu #18A5AC */
.top-nav {
    font-size: .85em;
    color: #fff;
    bottom: 0;
    vertical-align: middle;
    display: inline-flex;
    float: right;
    
}
@media(min-width:1200px){
    .top-nav {
        margin-top: -25px;
    }
}

.top-nav-menu {
    padding: 6px 8px;
    background-color: #18A5AC;
    border-radius: 10px 0px 0px 0px;
    width: 100px;
}
.top-nav-login {
    float: right;
    padding: 6px 8px;
    background-color:#0796DC;
    border-radius: 0px 10px 0px 0px;
    display: inline-flex;
}
.login {
    padding-left: 4px;
}
.login_form {
    line-height: 1!important;
    display: inline;
    vertical-align: baseline;
    width: auto;
}
button.login_form {
    cursor: pointer;
}
::-moz-placeholder {
    font-size: .75em;
}
#breadcrumbs{
    background-color: rgba(205,234,248,.7);
    margin-top: -30px !important;
    text-align: right;
    list-style:none;
    margin:0;
    overflow:hidden;
}
  
#breadcrumbs li{
    display:inline-block;
    vertical-align:middle;
    margin-right:5px;
}
@media(min-width:768px) {
    #breadcrumbs li {margin-right:15px;}
}

#breadcrumbs li a:hover {
    text-decoration: none;
}
.links {
    font-size: .9em;
}
.links li a {
    color: #015B80;
}

.list-icon {
    list-style-image: url('assets/img/leaf_icon.jpg');
}

.Table1 {
    width: 100% !important;
}
/************************** PAGE **************************/
.entry-title {
    color: #38A8CE;
}
.bc {
    background-color:#CDEAF8;
}
.page {
        
    background: rgba(204,234,232,1);
    background: -moz-linear-gradient(top, rgba(204,234,232,1) 0%, rgba(205,234,248,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(204,234,232,1)), color-stop(100%, rgba(205,234,248,1)));
    background: -webkit-linear-gradient(top, rgba(204,234,232,1) 0%, rgba(205,234,248,1) 100%);
    background: -o-linear-gradient(top, rgba(204,234,232,1) 0%, rgba(205,234,248,1) 100%);
    background: -ms-linear-gradient(top, rgba(204,234,232,1) 0%, rgba(205,234,248,1) 100%);
    background: linear-gradient(to bottom, rgba(204,234,232,1) 0%, rgba(205,234,248,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cceae8', endColorstr='#cdeaf8', GradientType=0 );
    border-radius: 0px 0px 10px 10px;
    padding: 20px;
    min-height: 400px;
    width: 100%;
    max-width: 100%;
}

.btn span.glyphicon {    			
	opacity: 0;				
}
.btn.active span.glyphicon {				
	opacity: 1;				
}

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.page-table {
    background-color: #fff;
    margin-top:10px;
}

/* Gallery */
#bwg_container1_0 #bwg_container2_0 .bwg_title_spun2_0 {
    color: #000; /* !important;*/
}
#bwg_container1_0 #bwg_container2_0 .bwg_gal_title_0 {
    color: #000; /* !important;*/
}

/** TEST */
.no-overflow {
    overflow: hidden;
  }
  .columns{
    position:relative;
  }
  .home-image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 280px;
    position: relative;
    width: 100%;
  }
  .home-text {
    font-size: 50px;
    color: white;;
     position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
  }
  .slick-slider { overflow: hidden; }
  .slick-slider div.slick-active .home-image {
    -webkit-animation: myMove 8s 1 ease-in-out;
    -moz-animation: myMove 8s 1 ease-in-out;
    -o-animation: myMove 8s 1 ease-in-out;
    -ms-animation: myMove 8s 1 ease-in-out;
    animation: myMove 8s 1 ease-in-out;
  }
  @keyframes myMove {
    from { transform: scale(1.0,1.0); transform-origin: 50% 50%; }
    to { transform: scale(1.1,1.1); transform-origin: 50% 0%; }
  }
  @-webkit-keyframes myMove {
    from { -webkit-transform: scale(1.0,1.0); -webkit-transform-origin: 50% 50%; }
    to { -webkit-transform: scale(1.1,1.1); -webkit-transform-origin: 50% 0%;  }
  }
  @-o-keyframes myMove {
    from { -o-transform: scale(1.0,1.0); -o-transform-origin: 50% 50%; }
    to { -o-transform: scale(1.1,1.1); -o-transform-origin: 50% 0%;  }
  }
  @-moz-keyframes myMove {
    from { -moz-transform: scale(1.0,1.0); -moz-transform-origin: 50% 50%; }
    to { -moz-transform: scale(1.1,1.1); -moz-transform-origin: 50% 0%; }
  }
  @-ms-keyframes myMove {
    from { -ms-transform: scale(1.0,1.0); -ms-transform-origin: 50% 50%; }
    to { -ms-transform: scale(1.1,1.1); -ms-transform-origin: 50% 0%; }
  }

  table#notify > tbody > tr {
      cursor: pointer;
  }

  .row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
  }

  #demo-1 {
    position: relative; /* can either be relative, absolute or fixed. If position is not set (i.e. static), it would be set to "relative" by script */
    overflow: hidden; /* to bound the empty top space created by inner element's top margin */
    width: 100%;
    min-height: 400px;
    background-color: #999;
}

/* Created at 2019-10 */
@media (min-width: 576px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 820px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 1060px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1520px;
    }
}


@media(min-width:768px) {  /* Modify this based on column def */
    .custom-gutter > [class*='col-'] {
        padding-right:8px;
        padding-left:8px; 
    }
    
    .custom-gutter > [class*="col-"]:first-child {
      padding-left:15px;
    }
      
    .custom-gutter > [class*="col-"]:last-child {
      padding-right:15px;
    }
}

.news-row:not(:last-child) {
    border-bottom: 1px solid #eee;
}
@media (max-width: 767.98px) {
    .news-title {
        font-size: .95rem;
    }
}
