/*
Theme Name: Gia sư
Theme URI: http://trungdt.net
Author: Trung DT
Author URI: http://trungdt.net
Description: Theme gia sư
Version: 1.01
*/

@font-face {
 font-family: 'bali';
 src: url(http://giasuhongphong.com/wp-content/themes/giasubk/fonts/SVN-Bali/SVN-Bali.ttf);
 font-weight: normal;
}

*{
	margin: 0;
	padding: 0;
}
body{
	font-family: "Roboto", sans-serif;
}

a{
	text-decoration: none;
}
a:hover{
	text-decoration: none;
	transition: all 0.2s ease 0s;
}
img{
	transition: all 0.4s ease 0s;
	max-width: 100%;
}
h3, h4, h5, p{
	margin: 0;
}
p {
	text-align: justify;
	color: #000;
}

/* header */
.header {
    padding: 10px 0 0;
    background-image: url("images/top-banner.jpg");
    background-repeat: no-repeat;
    background-size: auto 84px;
    background-position: top center;
}
.logo a {
    display: inline-block;
}
.contact {
    float: right;
    width: 100%;
}
.address {
    float: left;
    width: 70%;
    text-align: right;
    padding-right: 40px;
    color: #a7a7a7;
	line-height: 44px;
}
.address span {
    padding-right: 15px;
}
.phone {
    color: #F00;
    font-weight: bold;
}
.search-form {
    float: left;
    width: 30%;
}
.search-form form {
    border: 1px dashed #5babff;
    border-radius: 30px;
    z-index: 1;
    overflow: hidden;
    transition: all .25s ease-out;
}
.dtt_input {
    border-radius: 0;
	box-shadow: none;
	border: none;
	outline: none !important;
	padding: 0 20px;
	background: none;
	color: #a7a7a7;
	height: 42px;
	line-height: 42px;
}
.dtt_input:focus {
    box-shadow: none;
}
.search-form .btn-default {
    background: none;
    color: #a7a7a7;
    border-radius: 0;
    padding: 10px 20px;
    border: none;
}
.clear-fix {
    clear: right;
}
.dtt-navbar {
    padding: 35px 0;
    margin-bottom: 0;
}
.mega-menu-item a {
    font-family: 'bali' !important;
}
.mega-menu-item a::before {
    color: #f27174 !important;
}
#mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link::after{
	content: "";
	position: absolute;
	left: 20px;
	bottom: 10px;
	width: 100%;
	height: 6px;
	background-image: url('images/border-bottom.png');
	background-repeat: no-repeat;
}
/* slider */
#slider .item img {
    display: block;
    width: 100%;
    border-radius: 30px;
}
#slider .owl-prev{
	top: 50%;
	margin-top: -21px;
	left: 30px;
	padding: 8px 13px 8px 8px;
	background-image: url('images/slide_pre.png');
	background-repeat: no-repeat;
	background-position: top right;
}
#slider .owl-next {
    top: 50%;
    margin-top: -21px;
    right: 30px;
    padding: 8px 8px 8px 13px;
    background-image: url('images/slide_next.png');
    background-repeat: no-repeat;
    background-position: top left;
}
#slider .owl-prev, #slider .owl-next {
    position: absolute;
    text-indent: -9999px;
    width: 35px;
    height: 42px;
    color: #fff;
    font-size: 30px;
    opacity: 1;
    text-align: center;
    transition: all ease .25s;
    margin: 0;
    border-radius: 0;
}
.sidebar-dm .title_gs {
    margin-bottom: 20px;
}
.sidebar-dm .title_gs h3 {
    font-size: 35px;
	text-align: left;
	background-position: left bottom;
}

.sidebar-menu li{
	list-style: none;
	line-height: 40px;
}
.sidebar-menu a {
    color: #5babff;
    font-family: "Roboto",sans-serif;
    font-size: 16px;
    font-weight: bold;
}
.sidebar-menu a:hover {
    color: #ffb933;
}
/* gioi-thieu */
.gioi-thieu {
    padding: 60px 0;
}
.gt-title h3 {
    font-family: bali;
    color: #5babff;
    font-size: 35px;
    background-image: url("images/border-bottom.png");
    background-repeat: no-repeat;
    background-position: left bottom;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.gt-title p {
    color: #666;
	margin-bottom: 20px;
	font-size: 16px;
}
.gt-title p span {
    font-weight: bold;
}
.gt-title a {
    color: #fff;
    background-color: #5babff;
    padding: 5px 20px;
    border-radius: 15px;
    display: inline-block;
}
.gt-thumb img {
    border-radius: 30px;
}

/* danh-muc-gia-su */
.danh_muc_gs {
    background-image: url("images/section_bg.jpg");
    background-position: center;
    padding-top: 50px;
    padding-bottom: 80px;
    position: relative;
}
.danh_muc_gs::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: url("images/polygon.png");
}
.danh_muc_gs::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: url("images/polygon-bottom.png");
}
.title_gs {
    margin-bottom: 50px;
}
.title_gs h3 {
    font-size: 35px;
    font-family: bali;
    color: #5babff;
    text-align: center;
    background-image: url("images/border-bottom.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.title_gs h4 {
    font-size: 16px;
    font-family: "Roboto";
    color: #5babff;
    text-align: center;
    background-image: url("images/border-bottom.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.title_gs h4 a{
    color: #5babff;
}
.title_gs p {
    width: 50%;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    color: #666;
    line-height: 30px;
}
.dmgs_thumb {
    width: 155px;
    height: 155px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px dashed #666;
	margin-bottom: 20px;
}
.dmgs_bg {
    width: 135px;
    height: 135px;
    margin: 9px;
    border-radius: 50%;
	background-color: #5babff;
	position: relative;
}
.dmgs_bg a::before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.dmgs_bg a img {
    display: inline-block;
    vertical-align: middle;
    transition: all 0.5s;
    position: absolute;
    top: 20%;
    left: 20%;
    border-radius: 50%;
    width: 80px;
    height: 80px;
}
.dmgs_bg a img:hover {
    transform: rotate(360deg);
	-ms-transform: rotate(360deg);
	-webkit-transform: rotate(360deg);
}
.ld_col h4 {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
	text-align: center;
}
.ld_col h4 a {
    color: #5babff;
}
.ld_col h4 a:hover {
    color: #ffb933;
}
.ld_col h4 span {
    display: block;
}
/* tin tức */
.tin_tuc {
    padding: 50px 0;
}
.tin_tuc .title_gs h3 {
    text-align: left;
    background-position: left bottom;
}
.dm_content_first, .dm_content_second {
    float: left;
    width: 100%;
}
.dm_content_first{
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dashed #666;
}
.dm_content_first .tt_thumb {
    float: left;
    width: 40%;
}
.dm_content_first .tt_content {
    float: left;
    width: 60%;
    padding-left: 30px;
}
.tt_thumb img {
    border-radius: 20px;
}
.content_second {
    float: left;
    margin-bottom: 30px;
}
.content_second .tt_content {
    float: left;
    width: 75%;
    padding-left: 30px;
}
.content_second .tt_thumb {
    width: 25%;
    float: left;
}
.tt_content h4 {
    font-family: "Roboto";
    text-transform: uppercase;
    font-size: 16px;
}
.content_second .tt_content h4 {
    text-transform: capitalize;
}
.tt_content h4 a {
    color: #666;
}
.tt_content h4 a:hover {
    color: #5babff;
}
.tt_content p {
    color: #666;
	line-height: 25px;
}
.tt_content .add_info {
    color: #272727;
	margin: 10px 0;
}
.read-more {
    color: #fff;
    background-color: #5babff;
    padding: 5px 20px;
    border-radius: 15px;
    display: inline-block;
    margin-top: 10px;
}
.content_second .read-more {
    background-color: #fff;
    color: #5babff;
    border: 1px dashed #5babff;
}
.read-more:hover {
    color: #ffb933;
}


.add_info span {
    padding-right: 15px;
}
#testimonial,#giao-vien {
    padding: 50px 50px 30px;
    border: 1px dashed #5babff;
    border-radius: 30px;
}
.item_top {
    display: table;
    width: 100%;
}
.item_one {
    margin-bottom: 15px;
}
.item_one .people-img {
    width: 32%;
    overflow: hidden;
    border-radius: 50%;
    background: #ebebeb;
    float: left;
}
.people-img img {
    height: 115px;
}
.people-right {
    text-align: left;
    float: left;
    width: 68%;
    padding-left: 20px;
}
.people-right p {
    margin: 0;
    padding-top: 8px;
    padding-bottom: 7px;
}
.people-name {
    color: #5babff;
    font-weight: 400;
    font-size: 18px;
}
.people-description {
    display: table;
    color: #666;
    line-height: 30px;
    padding: 15px 0;
}
.people-info {
    color: #666;
    font-size: 14px;
    font-style: normal;
}
.time_pps {
    color: #272727;
}
.time_pps .first_time {
    padding-right: 15px;
}
#testimonial .owl-buttons{
    display: inline-block;
    position: absolute;
    top: -19%;
    left: 48%;
}
#giao-vien .owl-buttons {
    display: inline-block;
    position: absolute;
    top: -17%;
    left: 48%;
}
#testimonial .owl-prev,#giao-vien .owl-prev {
    overflow: hidden;
    display: block;
    position: relative;
    z-index: 9999;
    width: 40px;
    height: 45px;
    text-indent: -9999px;
    background-image: url("images/pre-min.png");
    background-repeat: no-repeat;
    background-position: top left;
    opacity: 1;
    transition: all .25s ease-out;
	float: left;
}
#testimonial .owl-prev:hover,#giao-vien .owl-prev:hover {
    background-image: url("images/pre_hv.png");
    background-repeat: no-repeat;
    background-position: top left;
}
#testimonial .owl-next,#giao-vien .owl-next {
    overflow: hidden;
    display: block;
    position: relative;
    z-index: 9999;
    width: 40px;
    height: 45px;
    text-indent: -9999px;
    background-image: url("images/next-min.png");
    background-repeat: no-repeat;
    background-position: top right;
    opacity: 1;
    transition: all .25s ease-out;
	float: left;
}
#testimonial .owl-next:hover,#giao-vien .owl-next:hover {
    background-image: url("images/next_hv.png");
    background-repeat: no-repeat;
    background-position: top right;
}

/* phu-huynh */
.phu_huynh {
    padding-bottom: 30px;
}
.no_padding {
    padding-left: 0;
    padding-right: 0;
}
.ph_thumb {
    position: relative;
}
.ph_thumb::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: url("images/polygon-bottom.png");
}
.dao_tao_thumb::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: url("images/polygon_left.png");
}
.ph_col {
    border-radius: 30px;
    overflow: hidden;
    background-image: url("images/polygon-bg.jpg");
    height: 295px;
}
.title_col .ph_col {
    border-radius: 30px 0 0 30px;
}
.ph_col .title_gs {
    margin-bottom: 0;
    margin-top: 15px;
}
.ph_col p {
    padding: 0 30px;
    font-size: 16px;
    color: #666;
    text-align: center;
}
.dao_tao_thumb {
    background-image: url("images/dao-tao.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 295px;
    position: relative;
    border-radius: 0 30px 30px 0;
}

/*kinh_nghiem*/
.kinh_nghiem{
	padding: 50px 0;
}
.kinh_nghiem .title_gs h3 {
    text-align: left;
    background-position: left bottom;
}
.kinh_nghiem .title_gs p {
	width: inherit;
    text-align: left;
    font-size: 15px;
}
.kinh_nghiem .dm_content_first {
    border-bottom: 0;
}
.kn_content .read-more {
    background-color: #fff;
    color: #5babff;
    border: 1px dashed #5babff;
}
.kn_content .read-more:hover {
    background-color: #5babff;
    color: #fff;
}

/* top-footer */
.top_footer {
    background-color: #fffae4;
    padding: 30px 0 40px;
}
#top_footer .owl-prev {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 40px;
    height: 45px;
    text-indent: -9999px;
    background-image: url("images/pre-min.png");
    background-repeat: no-repeat;
    background-position: top left;
    opacity: 1;
    margin-top: -20px;
    transition: all .25s ease-out;
}
#top_footer .owl-prev:hover {
    background: url("images/pre_hv.png");
    background-repeat: no-repeat;
    background-position: top left;
}	
#top_footer .owl-next {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 40px;
    height: 45px;
    text-indent: -9999px;
    background-image: url("images/next-min.png");
    background-repeat: no-repeat;
    background-position: top right;
    opacity: 1;
    margin-top: -20px;
    transition: all .25s ease-out;
}	
#top_footer .owl-next:hover {
    background-image: url("images/next_hv.png");
    background-repeat: no-repeat;
    background-position: top right;
}	
#top_footer .item {
    width: 50%;
    margin: 0 auto;
}	
/* footer */
.footer {
    background-image: url("images/footer_bg3.jpg");
    position: relative;
    background-position: top center;
	padding: 40px 0 30px;
}
.footer::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 8px;
    background-image: url("images/polygon_from_bottom.png");
}
.footer_title {
    color: #fff;
    font-family: Roboto;
    line-height: 40px;
}
.footer_title h4 {
    font-size: 16px;
    margin-bottom: 10px;
}
.footer_title li {
    list-style: none;
}
.footer_title a {
    color: #fff;
}
.footer_title .fa {
    min-width: 20px;
}

.footer-social {
    display: table;
    padding-top: 10px;
}
.footer-social ul {
    list-style: none;
}
.footer-social li {
    float: left;
    padding-right: 25px;
}
.footer-social li a {
    color: #fff;
}
.footer-social .fa{
    font-size: 18px;
}
.footer-social::after {
    content: "";
    background-image: url("images/border-bottom-white.png");
    background-repeat: no-repeat;
    background-position: top left;
    height: 6px;
    width: 100%;
    position: absolute;
    bottom: -20px;
    left: 0;
    z-index: 9999;
}
.footer-col .title_gs {
    margin-bottom: 0;
}
.footer-col .title_gs h4 {
    color: #fff;
    font-size: 18px;
    text-align: left;
    background-position: left bottom;
}

.map > iframe {
    width: 100%;
    border: 0;
    height: 200px;
}
.footer_draw {
    height: 60px;
    width: 100%;
    background-image: url("images/fly_long.png");
    background-repeat: no-repeat;
    background-size: auto 55px;
    background-position: center right;
	padding: 60px 0;
}
.copyright {
    padding-top: 60px;
    color: #fff;
}
.copyright a {
    color: #fff;
    font-weight: bold;
}

/* icon-phone */
.alo-phone {
    background-color: transparent;
    bottom: 28px;
    cursor: pointer;
    height: 60px;
    left: 30px;
    position: fixed;
    visibility: visible;
    width: 60px;
    z-index: 9999;
}
.alo-ph-circle {
    background-color: transparent;
    border: 2px solid #00aff2;
    border-radius: 100%;
    height: 65px;
    left: -7px;
    opacity: 0.5;
    position: absolute;
    top: -7px;
    width: 65px;
}
.alo-ph-circle-fill {
    background-color: rgba(0, 175, 242, 0.5);
    border: 2px solid transparent;
    border-radius: 100%;
    height: 50px;
    left: 1px;
    opacity: 0.75;
    position: absolute;
    top: 1px;
    transition: all 0.5s ease 0s;
    width: 50px;
}
.alo-ph-img-circle {
    background: #00aff2 url("images/phone.png") no-repeat scroll center center;
    border: 2px solid transparent;
    border-radius: 100%;
    height: 25px;
    left: 13px;
    opacity: 0.7;
    position: absolute;
    top: 13px;
    transform-origin: 50% 50% 0;
    transition: all 0.2s ease-in-out 0s;
    width: 25px;
}
.alo-phone > span {
    background: #b80009 none repeat scroll 0 0;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    left: -20px;
    padding: 3px;
    position: absolute;
    top: 53px;
}
/* category */
.category {
    padding-bottom: 30px;
}
.breadcrumbs {
    background: #F5F5F5;
    margin-bottom: 20px;
}
.breadcrumb {
    margin-bottom: 0;
    padding: 10px 0;
}
.breadcrumb_last {
    color: #b80009;
}
.cat-content {
    display: inline-block;
    margin-bottom: 15px;
    width: 100%;
}

.cat-img {
    float: left;
    width: 30%;
}
.cat-excerpt {
    float: left;
    width: 70%;
    padding-left: 15px;
}
.cat-excerpt h5 {
    margin-top: 0;
    font-weight: bold;
    font-size: 16px;
}
.cat-excerpt h5 a, .dtt-related h5 a{
    color: #b80009;
}
.cat-excerpt h5 a:hover, .dtt-related h5 a:hover{
    color: #ff0000;
}
.cat-excerpt p {
    font-size: 16px;
}
.cat-excerpt > span {
    color: #666;
    display: block;
    margin-bottom: 5px;
}
.pagination {
    text-align: center;
    width: 100%;
}
.page-numbers {
    border: 1px solid #ddd;
    padding: 6px 12px;
	color: #b80009;
}
/* single */
.single {
    padding-bottom: 30px;
}
.single-title {
    margin-bottom: 10px;
}
.single-title > h1 {
    font-size: 24px;
    margin: 0;
    padding-bottom: 10px;
}
.single-title > p {
    color: #666;
	font-style: italic;
}
.the-content > p {
    text-align: justify;
}
.single-contents {
    padding-bottom: 20px;
}
.single-contents img {
    width: 100%;
    margin: 10px 0;
}
.dtt-title {
    border-top: 2px solid #d82418;
    padding-bottom: 15px;
    padding-top: 30px;
    text-align: center;
    margin-top: 10px;
}
.dtt-title > h3 {
    color: #970303;
    font-size: 18px;
    margin: 0;
    padding-bottom: 5px;
}
.fb-comments, .fb-comments > span, .fb-comments iframe {
    width: 100% !important;
}
.dtt-related img {
    width: 100%;
}
.dtt-related h4 {
    font-size: 16px;
}
.addthis_toolbox.addthis_default_style {
    float: right;
	padding: 15px 0;
}
.wp-caption {
    width: auto !important;
}
.related_posts .dm-title h5 {
    text-transform: none;
}
.relate-title a {
    color: #000;
    font-weight: bold;
    padding: 10px 0 5px;
    display: block;
    text-align: center;
}
/*sidebar*/
.sidebar_title {
    text-align: center;
	margin-bottom: 15px;
}
.sidebar_title > h3 {
    color: #b80009;
    font-size: 18px;
    margin: 0;
    padding-bottom: 5px;
    text-transform: uppercase;
    text-align: center;
}
.fea-posts {
    border-bottom: 2px dashed #b80009;
    display: inline-block;
    margin-bottom: 10px;
    padding-bottom: 15px;
	width: 100%;
}
.fea-posts:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.fea-img {
    border: 3px solid #ddd;
    float: left;
    width: 20%;
}
.fea-img:hover {
    border: 3px solid #f5f30b;
    transition: all 0.4s ease 0s;
}
.fea-img img {
    width: 100%;
}
.fea-contents {
    float: left;
    padding-left: 10px;
    width: 80%;
	line-height: 30px;
}
.fea-contents h5{
	margin-top: 0;
}
.fea-contents h5 a {
    color: #000;
}
.fea-contents h5 a:hover {
    color: #b80009;
}
.fea-contents span {
    color: #666;
}
/* page */
/* page */
.the-content iframe{
	border: 5px solid #fff;
	box-shadow: 0 0 3px #aaa;
	width: 100%;
	height: 450px;
}
@media screen and (max-width: 767px){
.logo {
    text-align: center;
}
.hotline {
	text-align: center;
	margin-bottom: 15px;
}
.header .col-xs-12 {
    padding: 0;
}
.dtt-navbar {
    margin-bottom: 0;
    min-height: inherit;
    border: 0;
}
.dtt-carousel .item img {
    height: 250px !important;
}
.ly-do, .thu-ngo, .danh-muc, .album, .tin_tuc {
    padding: 30px 0;
}
.tn_img {
    display: none;
}
.title-content {
    margin-bottom: 20px;
}
.ld-col {
    padding: 15px;
    border: 1px solid #E6E6E6;
    margin: 30px 0 10px;
    border-radius: 4px;
}
.ld-res {
    margin-top: -40px;
}
.ld-col img {
    width: 50px;
}
.ld-row {
    margin-bottom: 10px;
}
.tn-col3 img {
    margin-bottom: 20px;
}
.dm-img img {
    width: 100%;
}
.dm-img span {
    font-size: 14px;
	padding: 3px 8px;
}
.dm-row {
    margin-bottom: 0;
}
.col-2-content {
    margin-bottom: 8px;
    display: inline-block;
    width: 100%;
}
.alb-col {
    margin-bottom: 20px;
    box-shadow: unset;
}
.alb-col img {
    width: 80%;
	margin: 0 auto;
}
.alb-col .album-title {
    width: 80%;
    left: 10%;
}
.footer_col {
    margin-bottom: 20px;
}
.col_cate {
    margin-bottom: 15px;
}
.cat-img {
    float: inherit;
    width: 100%;
    margin-bottom: 15px;
}
.cat-img img {
    margin: 0 auto;
}
.cat-excerpt {
    float: inherit;
    width: 100%;
    padding-left: 0;
}
.cat-content {
    padding: 15px;
    border: 3px solid #ff6600;
}
.title-content h3,.title-content h2 {
    font-size: 24px;
}
.tn-text {
    font-size: 14px;
}
.footer h3 {
    font-size: 21px;
}




}