@import 'https://fonts.googleapis.com/css?family=Lora:400,400i,700|Raleway:300,600,700,900';
@import 'https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css';
/*Global Settings*/
body {
  font-family: 'Lora', serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  color: #424242;

  margin-bottom: 35px;
  margin-top: 0;
}
h1 {
  font-size: 45px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 21px;
}
p {
  font-size: 16px;
  color: #033588;
  font-weight: 600;
}
a {
  transition: all 0.3s ease-in-out;
}
section {
  text-align: center;
}
.blockquote p {
  font-size: 32px;
  line-height: 45px;
  padding-left: 30px;
  border-left: 3px solid #424242;
  color: #424242;
}

.title {
  position: relative;
  margin-bottom: 100px;
}
.title:after {
  content: '';
  height: 5px;
  width: 40px;
  background-color: #62aa94;
  position: absolute;
  top: 45px;
  left: calc(50% - 20px);
}

/*Bootstrap*/
.navbar-vira {
  background-image: none;
  background-color: transparent;
  margin-bottom: 0;
  border-radius: 0;
  border-color: transparent;
  transition: all 0.3s ease-in-out;
}
.form-control option {
  color: #424242;
}
.form-control {
  border-radius: 0;
  padding: 25px;
  font-size: 18px;
  font-style: italic;
  background-color: transparent;
  color: #424242;
  margin-bottom: 30px;
  border-color: #51c2b9;
}
.form-control:focus {
  border-color: #51c2b9;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(81, 194, 185, 0.6);
}
.form-control::-webkit-input-placeholder {
  color: #fff;
}
.form-control:-moz-placeholder {
  /* Firefox 18- */
  color: #fff;
}
.form-control::-moz-placeholder {
  /* Firefox 19+ */
  color: #fff;
}
.form-control:-ms-input-placeholder {
  color: #fff;
}

.element .form-control::-webkit-input-placeholder {
  color: #424242;
}
.element .form-control:-moz-placeholder {
  /* Firefox 18- */
  color: #424242;
}
.element .form-control::-moz-placeholder {
  /* Firefox 19+ */
  color: #424242;
}
.element .form-control:-ms-input-placeholder {
  color: #424242;
}

/*Helper class*/
.mt80 {
  margin-top: 80px;
}
.mb80 {
  margin-bottom: 80px;
}
.mr60 {
  margin-right: 60px;
}
.bg-img {
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.bg-img div {
  z-index: 1;
  position: relative;
}
.bg-img:after {
  position: absolute;
  content: '';
  height: 100%;
  width: 100%;
  /* background-color: rgba(0, 0, 0, 0.5); */
  left: 0;
  top: 0;
}
.section {
  padding: 30px 0;
}

/*Vira Card*/
.vira-card {
  text-align: center;
  /*margin-bottom: 45px;*/
}

.vira-card .vira-card-header {
  margin-bottom: 45px;
}
.vira-card .vira-card-header .card-icon {
  border: 1px solid #51c2b9;
  border-radius: 100%;
  display: inline-block;
  height: 120px;
  width: 120px;
  line-height: 120px;
  position: relative;
  
}
.vira-card .vira-card-header .card-icon .fa {
  margin-top: 45px;
  font-size: 30px;
}
.vira-card .vira-card-header .card-icon:after {
  content: '';
  height: 100px;
  width: 100px;
  background-color: #51c2b9;
  border-radius: 100%;
  position: absolute;
  top: 9px;
  left: 9px;
}

.vira-card .vira-card-header .card-icon span {
  color: #fff;
  font-size: 45px;
  position: relative;
  z-index: 1;
}
.vira-card .vira-card-content h3 {
  position: relative;
  margin-bottom: 60px;
}
.vira-card .vira-card-content h3 a:hover {
  color: rgb(240, 114, 11);
  font-size: 24px;
}

.vira-card:hover .vira-card-content a{
  color: tomato;
}
.vira-card:hover .vira-card-header .card-icon:after{
  background-color: tomato;
}
.vira-card .vira-card-content h3:after {
  content: '';
  height: 1px;
  width: 44px;
  background-color: #62aa94;
  position: absolute;
  top: 52px;
  left: calc(50% - 22px);
}
.vira-card .vira-card-content p {
  font-size: 15px;
}
.vira-card .vira-card-content .social-icons {
  margin-top: 30px;
}

/*Button*/
.vira-btn {
  border-color: #51c2b9;
  font-style: italic;
  color: #51c2b9;
  border-radius: 0;
  letter-spacing: 3px;
  padding: 15px 80px;
  margin-bottom: 30px;
  background-color: transparent;
  transition: all 0.3s ease-in-out;
}
.vira-btn:hover {
  background-color: #51c2b9;
  color: #fff;
}
.solid {
  background-color: #51c2b9;
  color: #fff;
}
.solid:hover {
  background-color: #fff;
  color: #51c2b9;
}
.small-btn {
  padding: 10px 130px;
}

/*Element page*/
.element .navigation-bar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.element .navigation-bar a {
  color: #424242;
}
.element .dark-bar {
  background-color: #fff;
}
.element .menu:after {
  color: #424242;
}
.element .title:after {
  left: 0;
  top: 60px;
}
.headings p {
  margin-bottom: 80px;
}
.social-icons ul {
  text-align: center;
  padding-left: 0;
  display: inline-block;
}
.social-icons ul a li {
  display: inline-block;
  list-style-type: none;
  border: 2px solid #51c2b9;
  margin-right: 10px;
  background-color: #51c2b9;
  color: #fff;
  font-size: 18px;
  line-height: 32px;
  width: 36px;
}
.social-icons ul a li:last-child {
  margin-right: 0;
}
.social-icons ul a:hover li {
  color: #51c2b9;
  background-color: #fff;
}

/*Navigation*/
#menu-item {
  transition: all 0.3s ease-in-out;
}
.menu-item {
  background-color: #1a1a1a;
  text-align: center;
  font-size: 16px;
  text-transform: uppercase;
}
.menu-item ul {
  padding-left: 0;
  margin-bottom: 0;
}
.menu-item ul a li,
.menu-item .sec {
  padding: 15px 0;
  list-style-type: none;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.menu-item ul a:hover li,
.menu-item .sec a:hover {
  color: #51c2b9;
  text-decoration: none;
}

.sec a {
  color: #fff;
}
.hide-menu {
  margin-top: -430px;
}
.show-menu {
  margin-top: 0;
}
.dark-bar {
  background-color: #424242;
  background-image: none;
}
.navigation-bar {
  padding: 15px 0;
  font-size: 36px;
}
.navigation-bar a {
  color: #fff;
}
.menu {
  position: relative;
  display: inline-block;
}

.menu:after {
  position: absolute;
  left: -65px;
  top: 10px;
  color: #fff;
  font-size: 16px;
}
/* .m:after{
	content: 'MENU';
}
.c:after{
	content: 'CLOSE';
} */
ul.dropdown ul {
  display: none;
}

/* ul.dropdown li:hover > ul {
  display: block;
} */
ul.dropdown li:hover{
  color:#51c2b9;
}
#dropdown-menu li,#dropdown-menu2 li,#dropdown-menu3 li{
  padding-left: 30px;
}
/*Home page*/
.header {
  background-image: url(../images/1.jpg);
  height: 50vh;
  position: relative;
  min-height: 400px;
}

.intro-box {
  height: 30vh;
  display: table;
  text-align: center;
  width: 100%;
}
.intro {
  display: table-cell;
  vertical-align: middle;
}
.header h1 {
  margin: 0;
}
.header h1,
.header p {
  color: #fff;
  letter-spacing: 2px;
}
.header p {
  font-size: 32px;
  padding-top: 0;
  padding-bottom: 40px;
}
.header .vira-btn {
  border-color: #fff;
  color: #fff;
}
.header .vira-btn:hover {
  background-color: #fff;
  color: #424242;
}

.about {
  background-image: url(../images/12.jpg);
  background-size: cover;
}
.about img {
  margin: 0px auto;
  display: block;
}
.about span {
  font-family: 'Raleway';
  font-weight: 600;
}
.about .owl-carousel p {
  font-size: 20px;
  padding-top: 30px;
  text-align: left;
}
.expert {
  padding-bottom: 50px;
  position: relative;
  z-index: 999;
}
.expert p {
  line-height: 200%;
}
.expert .bg-img {
  background-image: url(../images/2.jpg);
  background-position-x: 50%;
  height: 100%;
}
.expert .bg-img:after {
  display: none;
}
.expert .section {
  padding-left: 30px;
  padding-right: 30px;
}

.vira-quote {
  background-image: url(../images/city.png);
  padding: 120px 0;
  color: #fff;
  font-style: italic;
  background-size: contain;
}
.vira-quote:hover{
  background-image: url(../images/city_2.png);
}
.vira-quote p {
  font-size: 32px;
  color: #033588;
  margin-top: -50px;
}
.vira-quote p:hover{
  color:#f00;
  font-size: 42px;
  text-decoration: none;
}
.vira-quote .quote {
  margin-bottom: 40px;
}
.vira-quote .author {
  font-size: 21px;
  margin-bottom: 40px;
}
.watch {
  background-image: url(../images/7.jpg);
  font-style: italic;
  font-size: 32px;
  color: #fff;
  padding: 150px 0;
}
.watch a {
  border: 2px solid #fff;
  margin-left: 10px;
  margin-right: 10px;
  line-height: 70px;
  border-radius: 100%;
  width: 70px;
  height: 70px;
  padding: 0;
  font-size: 21px;
  color: #fff;
}
.watch a:hover,
.watch a:active,
.watch a:focus {
  background-color: #fff;
  color: #424242;
}

.subscribe {
  background-image: url(../images/11.jpg);
}
.subscribe .vira-btn {
  margin-bottom: 0;
  color: #424242;
  font-weight: 700;
  border-color: #fff;
  background-color: #fff;
}
.subscribe .vira-btn:hover {
  background-color: transparent;
  color: #fff;
}
.subscribe p {
  color: #fff;
  font-size: 32px;
  margin-bottom: 35px;
}
.subscribe .form-control {
  width: 320px;
  margin-bottom: 0;
  border-color: #fff;
  color: #fff;
}

.contact .vira-card {
  background-color: transparent;
  padding: 35px 0;
  transition: all 0.3s ease-in-out;
  margin-bottom: 45px;
}
/*.contact .vira-card:hover{
	box-shadow: 0px 4px 2px rgba(17, 17, 17, 0.3);
}*/
.contact .vira-card .vira-card-header {
  margin-bottom: 15px;
  font-size: 21px;
  color: #51c2b9;
}
.contact .vira-card .vira-card-content h3 {
  letter-spacing: 2px;
  margin-bottom: 45px;
}
.contact .vira-card .vira-card-content h3:after {
  top: 40px;
}
.contact .vira-card .vira-card-content p {
  font-size: 18px;
}
.footer {
  background-color: #202020;
  text-align: center;
  padding: 30px 0;
}
.footer span {
  color: #51c2b9;
}
.footer p {
  font-size: 16px;
  color: #fff;
  margin-bottom: 0;
  font-weight: 300;

}
.footer a {
  color: #fff;
}

/*animations*/
.vira-card .vira-card-header .card-icon:after {
  transition: all 0.3s ease-in-out;
}
.vira-card:hover .vira-card-header .card-icon:after {
  height: 120px;
  width: 120px;
  top: -1px;
  left: -1px;
}
.owl-theme .owl-dots .owl-dot span {
  background-color: #51c2b9;
  margin: 5px;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background-color: #51c2b9;
  height: 14px;
  width: 14px;
  margin: 3px;
}
/* search */
.flex {
  display: flex;
}

.search-bar {
  color: #fff;
  padding-left: 1em;
  font-size: 24px;
  padding-top: 11px;
  margin-left: auto;
  border-radius: 7px;
  padding: 10px;
}

#input_enter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: content-box;
}

#input_enter input {
  box-sizing: content-box;
  width: 85%;
  border: none;
  background: #eaeaea;
  color: #9b9b9b;
}

#input_enter input:focus {
  border: none;
  outline: none;
}

#input_enter button {
  color: black;
  background: transparent;
  border: none;
  padding-right: 0px;
}

/* ie input 清除鍵 */
#input_enter input::-ms-clear {
  display: none;
}
.item-content{
  max-width: 520px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 16px;
  padding-top: 15px;
  color: #0e1f68;
  line-height: 1.6;
}

.carousel-inner > .item > a > img,
.carousel-inner > .item > img,
.img-responsive,
.thumbnail a > img,
.thumbnail > img {
  width: 75%;
  margin: 0 auto;
}
.nopadding{
  padding-left:0;
  padding-right: 0;
}
.mb-block{
  display: none;
}
.pb30{
  padding-bottom: 30px;
}
.footer h3{
  font-size: 24px;
  color: #51c2b9;
}
@media (max-width: 767px) {
  .vira-card {
    margin-bottom: 60px;
  }
  .intro-box img {
    width: 90%;
    margin: auto;
  }
  .vira-quote p {
    margin-top: -111px;
  }
  .expert {
    margin-top: -70px;
  }
  .mb-none{
    display: none;
  }
  .mb-block{
    display: block;
  }
  .pl50{
    padding-left: 50px;
  }
  .pb50{
    padding-bottom: 50px;
  }
}
button.owl-dot.active,button.owl-dot:hover{
  color:#51c2b9;
  background-color: #51c2b9;
  border:#51c2b9 solid 1px;
}
.owl-nav{
  display: none;
}