/*!
Theme Name: mid_group
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mid_group
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

mid_group is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@font-face { 
    font-family: Cormorant;
	src: url('./assets/fonts/CormorantGaramond-SemiBold.ttf');
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
	background: #eee;
margin-top: 0;
padding: 10px;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.mid-five-col{
    width: 50%;
}
.hidden-col{
    display: none !important;
}

/* social widget */
.social-button{
  display: inline-grid;
    position: fixed;
    bottom: 15px;
    right: 45px;
    min-width: 45px;
    text-align: center;
    z-index: 99999;
}
.social-button-content{
  display: inline-grid;   
}
.social-button a {padding:8px 0;cursor: pointer;position: relative;}
.social-button i{
  width: 40px;
    height: 40px;
    background: #43a1f3;
    color: #fff;
    border-radius: 100%;
    font-size: 20px;
    text-align: center;
    line-height: 1.9;
    position: relative;
    z-index: 999;
}
.social-button span{
  display: none;
}
.alo-circle {
    animation-iteration-count: infinite;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-name: zoomIn;
    width: 50px;
    height: 50px;
    top: 3px;
    right: -3px;
    position: absolute;
    background-color: transparent;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid rgba(30, 30, 30, 0.4);
    opacity: .1;
    border-color: #0089B9;
    opacity: .5;
}
.alo-circle-fill {
  animation-iteration-count: infinite;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-name: pulse;
    width: 60px;
    height: 60px;
    top: -2px;
    right: -8px;
    position: absolute;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid transparent;
    background-color: rgba(0, 175, 242, 0.5);
    opacity: .75;
}
.call-icon:hover > span, .mes:hover > span, .sms:hover > span, .zalo:hover > span{display: block}
.social-button a span {
    border-radius: 2px;
    text-align: center;
    background: rgb(103, 182, 52);
    padding: 9px;
    display: none;
    width: 180px;
    margin-left: 10px;
    position: absolute;
    color: #ffffff;
    z-index: 999;
    top: 9px;
    right: 60px;
    transition: all 0.2s ease-in-out 0s;
    -moz-animation: headerAnimation 0.7s 1;
    -webkit-animation: headerAnimation 0.7s 1;
    -o-animation: headerAnimation 0.7s 1;
    animation: headerAnimation 0.7s 1;
}
@-webkit-keyframes "headerAnimation" {
    0% { margin-top: -70px; }
    100% { margin-top: 0; }
}
@keyframes "headerAnimation" {
    0% { margin-top: -70px; }
    100% { margin-top: 0; }
}
.social-button a span:before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent rgb(103, 182, 52) transparent transparent;
  position: absolute;
  right: -6px;
  top: 9px;
  transform: rotate(45deg);
}

html {
  scroll-behavior: smooth;
}
.banner-title ul li:last-child a{
    color: #fff !important;
    font-weight: bold;
}
.vision-info h2 b, .core-values-info h2, .build-info h2, .manage-info b{
    color: inherit !important;
    font-family: 'Cormorant', sans-serif !important;
}

.vision-info h2, .banner-title h1, .chairperson-info h2, .mission h2, .history-date h2, .partner h2, .organizational-info h2, .manage-info h2, .section h3{
    font-family: 'Cormorant', sans-serif !important;
text-transform: uppercase;
}
.core-values-info h2{
    text-transform: uppercase;
}
.social-button{
    display: none !important;
}
@media(max-width: 768px){
    .number-info{
        border-width: 0 !important;
    }
    div#chart-view.activeChart img{
        height: auto !important;
    }
    .manage .manage-info .manage-img{
        max-width: 100%;
width: inherit;
display: block !important;
    }
    .section-title-label .label{
        height: auto !important;
    }
    #about-chairperson-section .about-chairperson-quote{
        display: none;
    }
    .chairperson-info h2{
        position: inherit !important;
        padding: 0;
    }
    .banner-title ul li:first-child{
        flex: 0 0 25%;
        max-width: 25%;
    }
    .banner-title ul li:last-child{
        
    }
    .banner-title ul li{
        border-bottom-width: 0 !important;
    }
}
#logo-partner-carousel .owl-item img{
    object-fit: contain !important;
}
@media(min-width: 1100px){
    .core-values-info h2, .build-info h2{
        line-height: 55px !important;
    }
}
#histories-carousel .owl-nav button.owl-prev{
    margin-right: 50px !important;
}
#histories-carousel .owl-nav button span{
    font-size: 50px !important;
line-height: 30px !important;
}
.wp_pagination_container span.current{
font-size: 22px;
margin: 0 7px;
font-family: Montserrat;
color: #244066;
text-decoration: none;
font-weight: bold;
border: 1px solid;
border-radius: 100%;
padding: 6px 15.5px;
}
@media(max-width: 767px){
#menu-sidebar-item ul.menu-sidebar-item-wrap li:nth-child(4) ul li.sub-menu-title-none{
display: none;
}
}
@media(min-width: 1367px){
    .section-item{
        height: 390px !important;
    }
    .section-item-height{
        height: 570px !important;
    }
}
.form .wpcf7-form input[type=submit]{
    height: 50px;
background: #FCBB49;
width: 186px;
height: 50px;
width: 182px;
border-radius: 4px;
outline: none;
border: none;
position: absolute;
bottom: -52px;
right: 0;
left: 0;
font-size: 16px;
font-weight: 700;
line-height: 26px;
letter-spacing: 0em;
justify-content: center;
margin: auto;
}
.form .wpcf7-form p{
    margin: 0px;
}