/*
Theme Name: Giáo Lý Việt Ngữ Toronto
Theme URI: http://allinbrand.com
Description: Giáo Lý Việt Ngữ Toronto
Author: nttam
Author URI: http://allinbrand.com
Template: Divi
Version: 1.0
*/


/* =================== */

.post-body > .et_pb_row {
    width: 100%;
    max-width: 100%;
}

.nav li ul.sub-menu {
    width: 260px;
}

.nav li li {
    padding: 0px;
	width: 100%;
}

.et-menu li li a {
    width: 100%;
	text-transform: capitalize !important;
}

.et_pb_tabs ul.et_pb_tabs_controls {
    background: transparent !important;
	display: flex;
    align-items: center;
    justify-content: center;
}

.et_pb_tabs ul.et_pb_tabs_controls:after {
	border: none !important;
}

.et_pb_tabs .et_pb_tabs_controls li {
    background-color: #FFFFFF;
    border: 2px solid #56509F !important;
    border-radius: 20px;
	margin-right: 10px;
}

.border-spin:before {
    content: '';
    position: absolute;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    border: 2px dashed #56509f;
    border-radius: 50%;
    left: -5px;
    top: -5px;
}

.border-spin:hover:before {
    -webkit-animation: spinAround 9s linear infinite;
    -moz-animation: spinAround 9s linear infinite;
    animation: spinAround 9s linear infinite;
}

@-webkit-keyframes spinAround {
    from {
        -webkit-transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(360deg)
    }
}
@-moz-keyframes spinAround {
    from {
        -moz-transform: rotate(0)
    }
    to {
        -moz-transform: rotate(360deg)
    }
}
@keyframes spinAround {
    from {
        transform: rotate(0)
    }
    to {
        transform: rotate(360deg)
    }
}

.main-header .top-header .phone-module {
    float: right;
}

.main-header .top-header .phone-module:hover a {
    color: #56509F !important;
}

.main-header .top-header .et_pb_blurb_position_left .et_pb_main_blurb_image {
	vertical-align: middle;
}

.main-header .top-header .et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: 0px;
}

.main-header .menu-header {
    position: absolute;
    background: #fff;
    left: 0;
    right: 0;
    border-radius: 10px;
    box-shadow: 0px 0px 3px 3px rgb(0 0 0 / 5%);
    -moz-box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.05);
    -webkit-box-shadow: 0px 0px 3px 3px rgb(0 0 0 / 5%);
    bottom: -30px;
}

.main-header .menu-header ul.et-menu > li {
    padding: 0;
	margin-top: 0;
}

.main-header .menu-header ul.et-menu > li > a {
    padding: 0px 15px;
	line-height: 65px;
	border-top: 5px solid #ebebeb;
}

.et-menu .menu-item-has-children>a:first-child {
	padding-right: 25px !important;
}

.et-menu .menu-item-has-children>a:first-child:after {
	right: 6px !important;
}

.main-header .menu-header ul.et-menu > li:not(:last-child) > a:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 30%;
    background: #F4F4F4;
    top: 35%;
    border-radius: 15px;
    right: 0px;
}

.main-header .menu-header ul.et-menu > li.red > a {
    border-color: #f27c7e;
}

.main-header .menu-header ul.et-menu > li.mustard > a {
	border-color:#f7c44e;
}

.main-header .menu-header ul.et-menu > li.green > a {
	border-color:#acc158;
}

.main-header .menu-header ul.et-menu > li.yellow > a {
	border-color:#fce485;
}

.main-header .menu-header ul.et-menu > li.purple > a {
	border-color: #bc7cf2;
}

.main-header .menu-header ul.et-menu > li.orange > a {
	border-color:#ea9d5f;
}

.main-header .menu-header ul.et-menu > li.blue > a {
	border-color:#4cbcd4;
}

.main-header .menu-header ul.et-menu > li.steelblue > a {
    border-color: #4c7296;
}

.header-line {
    margin-bottom: 30px !important;
}

.et_pb_text_align_center.header-line:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 150px;
    background: #fff;
    height: 1px;
    margin: 0 auto;
    bottom: 0;
}

.et_pb_text_align_center.header-line:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 50px;
    background: #fff;
    height: 5px;
    margin: 0 auto;
    bottom: -2px;
    border-radius: 5px;
}

.et_pb_text_align_center.header-line.purple:before,
.et_pb_text_align_center.header-line.purple:after {
	background: #56509F;
}

.home-section-1 .et_parallax_bg {
	opacity: 0.2;
}

.home-section-4 .et-pb-slider-arrows,
.home-section-4 .et-pb-controllers {
	display: none;
}

.home-section-4 .et_pb_gallery_items {
    height: 210px;
}

.home-section-4 .et_pb_gallery_items * {
    height: 100%;
    max-height: 100% !important;
}

.home-section-4 .et_pb_gallery_items img {
    object-fit: cover;
	object-position: center;
}

.et_pb_blog_grid article.et_pb_post {
	box-shadow: 0px 12px 18px -6px rgb(0 0 0 / 30%);
	border-radius: 20px;
	border: none;
	border-bottom: 6px solid #FF4880 !important;
}

.et_pb_blog_grid .column:nth-child(2) article.et_pb_post {
	border-bottom-color: #FFC000 !important;
}
.et_pb_blog_grid .column:nth-child(3) article.et_pb_post {
	border-bottom-color: #1AB9FF !important;
}

.et_pb_blog_grid .et_pb_image_container a {
    width: 200px;
    margin: 0 auto;
    height: 200px;
	margin-top: 30px;
}

.et_pb_blog_grid .et_pb_image_container a:before {
    content: '';
    position: absolute;
    width: calc(100% + 15px);
    height: calc(100% + 15px);
    border: 2px dashed #ff4880;
    border-radius: 50%;
    left: -10px;
    top: -10px;
}

.et_pb_blog_grid article:hover .et_pb_image_container a:before {
	 -webkit-animation: spinAround 9s linear infinite;
    -moz-animation: spinAround 9s linear infinite;
    animation: spinAround 9s linear infinite;
}

.et_pb_blog_grid .column:nth-child(2) .et_pb_image_container a:before {
	border-color: #FFC000;
}

.et_pb_blog_grid .column:nth-child(3) .et_pb_image_container a:before {
	border-color: #1AB9FF;
}

.et_pb_blog_grid .et_pb_image_container img {
    height: 100%;
    width: 100%;
	border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.page-banner .et_pb_fullwidth_header {
    display: flex;
}

footer .et_pb_gutters2 .et_pb_column_1_3:nth-child(2) {
    width: 20%;
}

footer .et_pb_gutters2 .et_pb_column_1_3:nth-child(3) {
    width: 42.6666%;
}

span.footer-info-right {
    float: right;
}

.wpcf7 .row {
    display: block;
    width: 100%;
}

.wpcf7 form .wpcf7-response-output {
    display: flex;
}

.col-md-12 {
    width: 100%;
	float: left;
}

.col-md-6 {
    width: 50%;
	float: left;
}

.col-md-4 {
    width: 33.33%;
	float: left;
}

.col-md-4, .col-md-6, .col-md-12 {
	position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.form-group {
    margin-bottom: 10px;
}

.wpcf7-form-control-wrap {
    position: relative;
}


.wpcf7 input[type="submit"] {
    border-radius: 10px;
    padding: 10px 25px;
    background-color: #FF6666;
    cursor: pointer;
    transition: all 0.5s;
    text-transform: uppercase;
    border: 2px solid #FF6666;
    color: #fff;
}

.wpcf7 input[type="submit"]:hover {
    transition: all 0.5s;
	color: #FF6666;
	background: transparent;
}
.wpcf7-recaptcha {
    margin-bottom: 20px;
}

.wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.wpcf7 textarea, .wpcf7 .et_pb_contact_field input, .wpcf7 .et_pb_contact_field textarea {
    width: 100%;
    padding: 15px 10px;
    border-radius: 7px;
    color: #000;
    background-color: #fff;
    font-size: 16px;
    -webkit-appearance: none;
    border: 1px solid #F1F1F1;
}

.wpcf7 textarea {
    min-width: 100%;
    max-width: 100%;
    max-height: 200px;
    min-height: 200px;
	resize: none;
}

.wpcf7 input:not([type="submit"]):not([type="checkbox"]):focus,
.wpcf7 textarea:focus {
    border: 1px solid #2567b3;
}

span.wpcf7-form-control-wrap.recaptcha .wpcf7-recaptcha {
    display: inline-block;
    margin-bottom: 0 !important;
}

span.wpcf7-spinner {
    position: absolute;
}

::-webkit-input-placeholder { /* Edge */
  color: #B3BAC7;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #B3BAC7;
}

::placeholder {
  color: #B3BAC7;
}

.wpcf7 form .wpcf7-response-output {
    margin: 15px 0px 0px;
}

.wpcf7-not-valid {
    border: 1px solid #e35b5b !important;
}

.et_pb_accordion {
    border-radius: 20px;
    overflow: hidden;
}

.et_pb_accordion .et_pb_accordion_item {
    margin-bottom: 0px !important;
	border: 0px !important;
    border-bottom: 1px solid #56509f !important;
}

.et_pb_accordion .et_pb_accordion_item:last-child {
    border: 0px !important;
}

/* device */

@media only screen and (max-width: 1310px) {
	
}

@media only screen and (max-width: 1280px) {

}

@media only screen and  (max-width: 1270px) {
	
}

@media only screen and  (max-width: 1200px) {
	
}

@media only screen and (max-width: 1024px) {
	
}

@media only screen and (min-width: 981px) {
	
	.display-flex {
		display: flex;
	}
	
	.align-items-center {
	   align-items: center;
	}
	
	.align-items-end {
		align-items: end;
	}
	
}

@media only screen and (max-width: 980px) {
	header .header-col-action {
		width: auto !important;
	}
	
	header.et-l.et-l--header .et_pb_section .menu-header {
		box-shadow: none !important;
		background: transparent !important;
		bottom: 37px !important;
		z-index: 1 !important;
	}
	
	header .menu-header .et_pb_menu__wrap {
		justify-content: flex-end;
	}
	
	header .mobile_nav .mobile_menu_bar {
		background: #56509F;
		border-radius: 5px;
	}
	
	header .mobile_nav .mobile_menu_bar::before {
		color: #fff !important;
	}
	
	header .et_pb_menu .et_mobile_menu {
		top: 50px !important;
	}
	
	footer .et_pb_gutters2 .et_pb_column_1_3:nth-child(2) {
		width: 30%;
	}
	
	footer .et_pb_gutters2 .et_pb_column_1_3:nth-child(3) {
		width: 70%;
	}
	
	span.footer-info-right {
		float: none;
		display: block;
	}
}

@media only screen and (max-width: 768px) {
	footer .et_pb_gutters2 .et_pb_column_1_3:nth-child(2),
	footer .et_pb_gutters2 .et_pb_column_1_3:nth-child(3) {
		width: 100%;
	}
	
	.col-md-6 {
		width: 100%;
	}

}

@media only screen and (max-width: 480px) {
	
}

@media only screen and (max-width: 360px) {
	
}

@media only screen and (max-width: 320px) {
	
}