/*
Theme Name: webdoctor Child
Description: This is a child theme for webdoctor Theme
Author: webdoctor
Template: webdoctor
Version: 3.7.2
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@import url('https://fonts.googleapis.com/css?family=Dancing+Script:400,700|Quicksand:400,500,700&subset=vietnamese');
.absolute-footer .container {
    max-width: 100%;
}
.header-nav .menu-item a {
    font-size: 14px;
    font-weight: 400;
}
#header ul.header-nav {
    justify-content: space-between;
}
#logo {
    margin: 0;
}
header#header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65) 66%, rgba(0, 0, 0, 0.09) 100%);
}
.stuck .header-bg-color, .header-wrapper.stuck {
    background-color: rgba(0, 0, 0, 0.64) !important;
}
.header-nav li.active a {
    color: #fa4238 !important;
    font-weight: bold;
    border: 1px solid;
    padding: 10px 10px;
}

.slider0 .banner h3 {
    font-family: 'Dancing Script';
    font-size: 48px;
    font-weight: bold;
}
.slider0 .flickity-page-dots {
    right: 10%;
    left: unset;
    bottom: 10%;
}
.slider0 .flickity-page-dots .dot {
    border: 2px solid #fa4238;
    opacity: 1;
}
.slider0 .flickity-page-dots .dot.is-selected {
    border-color: #1a25ab;
}
.slider0 .banner a.button {
    font-size: 14px;
    font-weight: 400;
    border-radius: 5px;
    margin-top: 25px;
    padding: 3px 40px;
}


blockquote {
    font-size: 14px;
    font-style: normal;
    border: none;
    padding: 0;
}
blockquote:before {
    content: "\201C";
    font-size: 80px;
    position: absolute;
    left: -60px;
    top: -40px;
    color: #fa544c;
    font-family: 'Montserrat';
    opacity: 0.4;
    font-style: italic;
}
blockquote:after {
    content: "\201C";
    font-size: 80px;
    position: absolute;
    right: -40px;
    bottom: -95px;
    color: #fa544c;
    font-family: 'Montserrat';
    opacity: 0.4;
    font-style: italic;
    transform: scaleX(-1);
}

.sec1 .s1-r1-col1 h2 {
    font-size: 42px;
    color: #fa4238;
    padding: 0 15px;
    position: relative;
}
.sec1 .s1-r1-col1 h2:before {
    content: "";
    position: absolute;
    width: 75px;
    height: 4px;
    background: #273762;
    top: 50%;
    right: calc(100% + 15px)
}
.sec1 strong {
    font-size: 18px;
    color: #273762;
}
.sec1 p {
    font-size: 14px;
}
.sec1 h4 {
    color: #fa4238;
    font-size: 14px;
}
.s1-r1-col1 {
    padding-left: 105px;
    padding-top: 90px;
}

.sec1 .s1-r1-col1  a.button {
    font-size: 14px;
    font-weight: 400;
    border-radius: 5px;
    margin-top: 40px;
    padding: 3px 40px;
    background: #273762;
}

.sec3 h2 {
    font-size: 42px;
    color: #fa4238;
    width: fit-content;
    margin: auto;
    position: relative;
    margin-bottom: 30px;
}
.sec3 h2:before {
    content: "";
    position: absolute;
    width: 75px;
    height: 4px;
    background: #273762;
    top: 50%;
    right: calc(100% + 30px);
}
.sec3 .s3-row1 .col-inner {
    border: 1px solid #fa4238;
    border-radius: 20px;
}
.sec3 .s3-row1 .col-inner .icon-box {
    background: #fa4238;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    padding: 13px 20px;
}

.sec3 .s3-row1 .col-inner .icon-box h3 {
    color: #fff;
}
.sec3 .s3-row1 .col-inner .icon-box-text {
    align-items: center;
    display: flex;
}

.sec3 .s3-row1 .col-inner p {
    margin: 0 15px;
    padding: 10px;
    border-bottom: 1px dotted #ddd;
}

.sec3 .s3-row1 .col-inner .button span {
    color: #000;
    font-size: 14px;
    font-weight: 400;   
}
.sec3 .s3-row1 .col-inner .button span:after {
    content: " >";
}
.sec3 .s3-row1 .col-inner .button{
	width: 100%;
    text-align: right;
    padding: 40px 25px 15px;
    margin: 0;
    line-height: 1.4;
}
.sec3 .s3-row1 .col:hover .icon-box {
    background: #273762;
}
.sec3 .s3-row1 .col:hover .col-inner {
    border-color: #273762;
}
.sec3 .s3-row1 .col:hover .button span {
    color: #235ced;
    text-decoration: underline;
}
.sec3 .s3-row1 .col {
    padding: 0 21px 30px;
}
.sec3 .s3-row1 {
    padding: 0 70px;
}
.s3-row2 .button {
    border-radius: 5px;
    background: #fff !important;
    color: #273762;
    border-color: #273762;
    font-size: 14px;
    font-weight: 400;
    padding: 3px 25px;
}
.sec2 h2,.txt-sec4 {
    font-size: 42px;
    color: #273762;
    width: fit-content;
    margin: auto;
    position: relative;
    margin-bottom: 30px;
}
.sec2 h2:after,.txt-sec4:after {
    content: "";
    position: absolute;
    width: 75px;
    height: 4px;
    background: #fa4238;
    top: 50%;
    left: calc(100% + 30px);
}
.sec4 .s4-row1 p {
    font-size: 24px;
    margin-top: 75px;
}
.sec4 .s4-row1 a {
    font-size: 14px;
    font-weight: 400;
    border: 1px solid;
    margin-bottom: 35px;
}

.sec2 {
    padding-top: 115px !important;
}
.sec2>div.bg {
    background-position: top;
}
.sec2 .s2-row1 p {
    font-size: 14px;
}
.sec2 .s2-row1 p strong {
    font-size: 16px;
}

.hnghe-sec1{
	padding-top: 75px !important;
}
.hnghe-sec1 ul {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-top: -15px;
}
.hnghe-sec1 ul li {
    list-style: none;
    margin: 0;
}	

.hnghe-sec1 .banner h3 {
    font-size: 19px;
}
.hnghe-sec1 .banner .button {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}
.hnghe-sec1 .banner .button span {
    text-decoration: underline;
}
.hnghe-sec1 .row .row {
    margin-top: 0;
}
.hnghe-sec1 .row .row .col-inner {
    padding: 35px;
    background: #F9F7F8;
    box-shadow: 0px 0px 15px #d0d0d0;
}
.hnghe-sec1 .row .row .col-inner p, .hnghe-sec1 .row .row .col-inner a {
    font-size: 14px;
}
.hnghe-sec1 .row .row .col-inner a{
	color: #2b39a8;
}

.hnghe-sec1 .row .col+.col .row {
    /*display: none;*/
}
/*.hnghe-sec1 .banner .button span {display: block;}
.hnghe-sec1 .banner .button span.active  {display: block;}
.hnghe-sec1 .row .col .row {display:none;}
*/

.absolute-footer {
    position: relative;
}
.absolute-footer:before {
    content: "";
    width: 95%;
    height: 1px;
    background: #26314e;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    position: absolute;
}
.absolute-footer .footer-text {
  font-size: 12px;
    color: #828c9a;
}
#footer .menu {
    display: grid;
    /*grid-template-columns: repeat(2,1fr);*/
    grid-template-columns: 3fr 2fr;
}
#footer .menu li {
    border: none;
}
#footer .is-divider {
    display: none;
}
.footer-1{
	padding-top: 60px !important;
    padding-bottom: 40px !important;
}
.footer-1 p {
    font-size: 14px;
    margin: 0;
    line-height: 24px;
    text-align: justify;
}
.footer-1 span.widget-title {
    color: #fa4238;
    font-size: 18px;
}
.footer .emaillist br {
    display: none;
}
.footer-1 .row > div+div {
    margin-top: 55px;
}
.footer .emaillist label {
    visibility: hidden;
}
footer .emaillist input {
    visibility: visible;
    margin: 0;
}
.footer .emaillist label {
    margin-top: -15px;
}
.footer-1 i {
    padding-right: 5px;
}
.footer .menu a {
    font-size: 14px;
}
.footer .menu a:before {
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    padding-right: 5px;
    color: #fa4238;
}
.footer-1 .row>div:nth-child(3) p {
    line-height: 30px;
}
.footer .emaillist form p {
    float: right;
}
.footer .emaillist label input {
    font-style: italic;
    font-weight: 400;
}
.hnghe-sec1 .banner{
    cursor: pointer;
}
.hnghe-sec1 .section-content>.row>.col {
    padding-bottom: 20px;
}
.hnghe-banner0 h3 {
    font-size: 36px;
}
.hnghe-banner0 .form-flat input:not([type="submit"]) {
    background-color: #ffffff !important;
    border-radius: 0;
    color: #000 !important;
    font-size: 16px;
}
.live-search-results.text-left.z-top {
    background: rgba(0, 0, 0, 0.5019607843137255);
}
.hnghe-banner0 .text-box{
    top: 62%;
}
.hnghe-banner0 .searchform-wrapper {
    width: 80%;
    margin-top: 20px;
}
.hnghe-banner0 .form-flat input::placeholder {
    color: #000;
    font-size: 14px;
    font-style: italic;
}
.hnghe-banner0 i.icon-search {
    color: #000;
    font-size: 24px !important;
}
.sec1-hm h2 {
    font-size: 36px;
    margin: 0;
}
.sec1-hm .s1-row1 .col:nth-child(1) p {
    font-size: 18px;
}
.sec1-hm .s1-row1 .col:nth-child(2) p {
    font-size: 14px;
    text-align: justify;
    text-align-last: left;
    line-height: 24px;
}
.sec1-hm .s1-row2 ol.flickity-page-dots {
    bottom: calc(100% + 15px);
    width: 100px;
    left: 50%;
    transform: translateX(-50%);
}
.sec1-hm .s1-row2 ol.flickity-page-dots:before {
    content: "";
    position: absolute;
    background: red;
    width: 485px;
    height: 1px;
    left: 100%;
    top: 50%;
}
.sec1-hm .s1-row2 ol.flickity-page-dots:after {
    content: "";
    position: absolute;
    background: red;
    width: 485px;
    height: 1px;
    right: 100%;
    top: 50%;
}
.sec1-hm .s1-row2 li.dot {
    background: #fff;
    border: 1px solid red;
    opacity: 1;
}
.sec1-hm .s1-row2 li.dot.is-selected {
    background: red;
}
.sec1-hm .s1-row2 h5.post-title,.sec2-hm .s2-row1 h5.post-title {
    font-size: 18px;
}
.sec1-hm .s1-row2 .is-divider{
    display: none;
}
.sec2-hm .s2-row1 h2 {
    font-size: 36px;
}
.sec2-hm .s2-row1 .button {
    color: #142552;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid;
    margin: 0;
}
.is-divider{
    display: none;
}
.sec2-hm .s2-row1 .box-text {
    background: #fff;
    padding: 20px;
    border-bottom: 3px solid red;
}

.sec2 .s2-row1 .col:nth-child(2) .box-text{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
}
.hexa>div:nth-child(1) {
    position: absolute;
    left: 25%;
    TOP: 5%;
    transform: translateX(-50%);
}
.hexa>div:nth-child(1) a{
    transform: rotate(-30deg);
}

.hexa>div:nth-child(2) {
    position: absolute;
    right: 27%;
    top: 5%;
    TRANSFORM: translateX(50%);
}
.hexa>div:nth-child(2) a{
    transform: rotate(30deg);
}



.hexa>div:nth-child(3){
   position: absolute;
    right: -13%;
    top: 50%;
    TRANSFORM: translateY(-50%);
}
.hexa>div:nth-child(3) a{
    transform: rotate(90deg);
}

.hexa>div:nth-child(4) {
    position: absolute;
    right: 27%;
    BOTTOM: 5%;
    TRANSFORM: translateX(50%);
}
.hexa>div:nth-child(4) a{
    transform: rotate(-30deg);
}

.hexa>div:nth-child(5) {
    position: absolute;
    left: 27%;
    BOTTOM: 5%;
    TRANSFORM: translateX(-50%);
}
.hexa>div:nth-child(5) a{
    transform: rotate(30deg);
}

.hexa>div:nth-child(6) {
    position: absolute;
    left: -8%;
    top: 50%;
    TRANSFORM: translateY(-50%);
}
.hexa>div:nth-child(6) a{
    transform: rotate(-90deg);
}



.hexa a {
    font-size: 25px;
    font-weight: bold;
}
.page-contact p {
    font-size: 16px;
    text-align: left;
}
.fnn {
    display: flex;
    justify-content: center;
}
.fnn>div a {
    font-size: 18px;
    font-weight: 600;
}
.fnn>div:nth-child(1) a {
    position: absolute;
    left: 40px;
    top: -50px;
}
.fnn>div:nth-child(2) a {
    position: absolute;
    left: 30%;
    top: -20px;
}
.fnn>div:nth-child(3) a {
    position: absolute;
    right: 20%;
    top: -20px;
}
.fnn>div:nth-child(4) a {
    position: absolute;
    right: 20px;
    top: -55px;
}
.fnn>div:hover a {
    color: #f52d2d;
}

.page-id-490 .post-hieu-nganh .row>.col:nth-child(1) .banner {
    position: fixed;
    left: 0;
    width: 50% !important;
    bottom: -25%;
}
.post-hieu-nganh .row>.col:nth-child(2) {
    padding-left: 60px;
}
@media only screen and (max-width: 1024px) {
.header-nav .menu-item {
    margin: 0;
}

.sec1 .s1-r1-col1 h2:before{
    width: 55px;
    right: calc(100%);
}
}

@media (max-width: 849px) {
    .hexa>div:nth-child(6){
    left: -15%;
}
.hexa>div:nth-child(5){
    left: 23%;
    bottom: 0%;
}
.hexa>div:nth-child(4){
    right: 23%;
    bottom: 0%;
}
.hexa>div:nth-child(3) {    
    right: -20%;
    top: 50%;
}
.hexa>div:nth-child(2) {
    right: 23%;
    top: 4%;
}
.hexa>div:nth-child(1) {
    left: 23%;
    top: 4%;
}
.sec1 .s1-r1-col1 a.button{
    margin-top: 15px;
}
.fnn>div:nth-child(1) a {
    position: absolute;
    left: 15px;
    top: -30px;
}
.fnn>div:nth-child(2) a{
    top: -10px;
}
.fnn>div:nth-child(3) a {
    position: absolute;
    right: 15%;
    top: -10px;
}
.fnn>div:nth-child(4) a {
    position: absolute;
    right: 0px;
    top: -40px;
}
.sec3 .s3-row1 {
    padding: 0 15px;
}
.sec3 .s3-row1 .col {
    padding: 0 5px 30px;
}
#footer .menu{
    grid-template-columns: 1fr 2fr;
}
.footer-1>.row {
    display: grid;
    grid-template-columns: 2fr 2fr;
}

}

@media (max-width: 480px) {
    .slider0 .banner h3{
        font-size: 22px;
    }
    .slider0 .banner a.button {
    font-size: 12px;
    margin-top: 5px;
    padding: 0px 5px;
    }
    .slider0 .text-box {
    top: 40%;
    }
    .slider0 .flickity-page-dots .dot{
        width: 15px;
    }
    .s1-r1-col1 {
    padding-left: 15px;
    padding-top: 30px;
}
.sec1 .s1-r1-col1 h2:before {
    width: 55px;
    right: 0;
    left: 0;
}
.sec1 .s1-r1-col1 h2{
    text-align: center;
}

blockquote:before,blockquote:after{
    content: none;
}
.sec2 h2:after, .txt-sec4:after{
    width: 55px;
    left: 100%;
}
.sec3 h2:before{
    width: 55px;
    right: 100%
}
.sec3 .s3-row1 .col-inner .button{
    padding: 15px 25px 15px;
}
.footer-1>.row{
    display: block;
}
.footer-1 .row > div+div {
    margin-top: 0;
}

}