/*
Plugin Name: HTG POPUP
Plugin URI: http://vinawebs.com.vn
Description: Plugin hien thi popup - Author: Huynh Trong Gia.
Author: Huynh Trong Gia
Version: 1.5
Author URI: http://vinawebs.com.vn
*/

html body .popuphtg .wpcf7-spinner {display:none!important}
html body .popuphtg .submitting .wpcf7-spinner {display:inline-block!important}

.popuphtg .col-md-6 p input:focus {
    font-size: 13px;
    box-shadow: none !important;
    color: #222 !important;
}

.popuphtg .col-md-6 p input {
    background: rgba(255,255,255,0.9);
    color: #222 !important;
    border: #ccc 1px solid;
    border-radius: 0;
    margin: 2px 0;
    height: 35px;
    line-height: 30px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: normal;
    width: 100%;
    text-align: left;
    min-height: 35px;
    border-radius: 3px;
}

.popuphtg .wpcf7-form .wpcf7-validation-errors, .wpcf7-form .wpcf7-validation-errors,.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output,.wpcf7 form.sent .wpcf7-response-output {
    color: #333;
    line-height: 1.2;
    font-size: 13px;
    color: #fff;
    line-height: 30px;
    background: rgba(255,255,255,0.9);
    padding: 0px 20px !important;
    border-radius: 30px;
    margin: 5px auto !important;
    text-align: center;
    display: block !important;
    font-weight: bold;
    width: 280px;
    max-width: 100%;
    width: 100%;
    background: #aa2231;
    border: none;
    border-radius: 0;
}
.nav .nav-dropdown {padding: 10px 0 5px 0;border:0}
.wpcf7 form.sent .wpcf7-response-output {
    background: green;
}

.popuphtg form.wpcf7-form .ajax-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: none;
    padding: 0;
    margin: 0 0 0 4px;
    vertical-align: middle;
    background: url(/wp-content/plugins/contact-form-7/images/ajax-loader.gif);
    left: inherit;
    bottom: inherit;
    line-height: inherit;
    position: inherit;
    display: none;
}

.popuphtg form.wpcf7-form .is-active {
    visibility: visible;
    display: inline-block;
}

.popuphtg * {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    letter-spacing: .4px
}

.popuphtg p {
    margin: 3px 0;
}

.popuphtg h2,.popuphtg h3 {
    font-size: 14px;
    color: #243b54;
    line-height: 35px;
    background: rgba(255,255,255,0.9);
    padding: 0px 20px;
    border-radius: 30px;
    margin: 25px auto;
    text-align: center;
    font-weight: bold;
    width: 360px;
    max-width: 100%;
    border-radius: 3px;
}

.popuphtg .smitt {
    clear: both;
    float: none;
    text-align: center;
    margin: 0 auto;
    margin-top: 5px;
}

.popuphtg .smitt p {
    color: #aa2231;
    font-weight: bold;
    background: rgba(255,255,255,0.9);
    font-size: 13px;
    display: inline-block;
    clear: both;
    padding: 0 10px;
    line-height: 26px;
    margin: 10px 0;
    border-radius: 3px;
}

.popuphtg .smitt input {
    margin: 0;
    border: 0;
    box-shadow: none;
    color: #FFF;
    border-radius: 0;
    line-height: 36px;
    padding: 0 20px;
    margin: 10px 0 5px 0;
    font-weight: bold;
    border: #FFF 1px solid;
    height: 40px;
    text-transform: uppercase;
    float: none;
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px;
    border: 0;
    float: none;
    margin: 10px auto;
    background: #aa2231;
}

.popuphtg .wpcf7-form div.wpcf7-mail-sent-ok {
    line-height: 1.2;
    font-size: 12px;
    color: #fff;
    line-height: 35px;
    background: #ffffffe6;
    padding: 0px 20px !important;
    border-radius: 30px;
    margin: 5px auto !important;
    text-align: center;
    display: block !important;
    font-weight: bold;
    width: 300px;
    background: #398f14;
    width: 100%;
    border-radius: 0;
}

.popuphtg .textHead {
    margin-top: 20px
}

.popuphtg .textHead p {
    text-align: center;
    margin: 5px 0;
    padding: 0;
    color: #f79400;
    font-weight: bold;
    font-size: 20px
}

.popuphtg .modal-header {
    position: absolute;
    right: 10px;
    padding: 5px;
    z-index: 999
}

.popuphtg .modal-dialog {
    /* top: 0; */
}

div.popuphtg,.modal-open .modal {
    z-index: 99999999999;
}

.popuphtg .modal-dialog {
    border: 0;
    border-radius: 0;
    margin: 0 auto;
    margin-top: 7%;
    left: 0;
    right: 0;
    width: 700px;
    max-width: 95%;
    border-radius: 3px;
}

.popuphtg .modal-dialog .modal-content {
    border: 0;
    border-radius: 0;
    position: relative;
    border: #FFF 2px solid;
    border-color: #EEE;
    background-size: cover;
    border-radius: 3px;
}

.popuphtg .modal-dialog .modal-content:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(000,000,000,0.1);
    color: #000;
    /* z-index: 99999; */
}

.popuphtg .modal-dialog .modal-content .modal-body {
    padding-bottom: 10px;
}

.popuphtg button.closehtg {
    /* box-shadow: none;
    position: absolute;
    right: 0;
    z-index: 999;
    top: -25px;
    opacity: 0.8;
    margin: 0 !important;*/
}

.popuphtg button.closehtg {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    -webkit-box-shadow: 0 2px 2px rgba(0,0,0,.1);
    -moz-box-shadow: 0 2px 2px rgba(0,0,0,.1);
    box-shadow: 0 2px 2px rgba(0,0,0,.1);
    text-align: center;
    padding: 7px 12px;
    border: 0;
    cursor: pointer;
    z-index: 999999999999999;
    color: #fff;
    background: #aa2231;
    opacity: 1;
    font-weight: normal !important;
    text-transform: unset;
    font-size: 16px;
    background: #aa2231;
    border: 0;
    padding:0
}

.popuphtg button.closehtg img {
    width: 20px;
}

.popuphtg .col-md-6 p textarea:focus {
    background: #FFF;
    border: 1px solid #AAA !important;
    box-shadow: none !important
}

.popuphtg .col-md-6 textarea,.popuphtg .col-md-12 select {
    color: #222 !important;
    border: #ccc 1px solid;
    border-radius: 0;
    margin: 2px 0;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: normal;
    height: 120px;
    background: rgba(255,255,255,0.9);
    border-radius: 3px;
}

.popuphtg .row {
    margin: 0;
}

.wpcf7-form .wpcf7-not-valid-tip {
    display: none !important;
}

.wpcf7-form .wpcf7-not-valid {
    border: #aa2231 1px solid !important;
}

.popuphtg .col-md-12 select {
    height: 80px;
}

.popuphtg .col-md-12 select option {
    line-height: 17px;
    height: 17px;
}

.popuphtg .col-md-6,.popuphtg .col-md-12 {
    padding-left: 10px;
    padding-right: 10px;
}

.popuphtg .col-md-6 p textarea::-webkit-input-placeholder,.popuphtg .col-md-12 p select::-webkit-input-placeholder {
    color: #222;
    font-size: 13px;
    font-weight: normal
}

.popuphtg .col-md-6 p input::-webkit-input-placeholder {
    color: #222;
    font-size: 13px;
    font-weight: normal
}



@media (max-width: 1100px) {
    .popuphtg .col-md-6 p textarea {
        width: 100%;
    }
    .btn__call--inter-baogia {
        left: inherit;
    right: 0;
    bottom: 5px;
    }
    .back-to-top.button {bottom:50px}
}

.formbv {
			background: #194786;
			display: inline-block;
			width: 100%;
			padding: 5px 0;
		}
		.formbv p {
		text-align: center;
			font-size: 15px;
			margin: 0 0 3px 0;
			text-transform: uppercase;
		}
		.formbv p:first-child{color:#FFF}
		.formbv .col-md-4,.formbv .col-md-2 {
			padding: 0 5px;
			margin-bottom: 5px;
		}
		.formbv .col-md-9 {
			padding: 0 5px;
			margin-bottom: 5px;
		}
		.formbv .col-md-3 {}
		.formbv .col-md-4 input[type="text"],.formbv .col-md-2 input[type="text"],.formbv .col-md-2 input[type="email"] {
			padding: 0 8px;
			height: 33px;
			line-height: 33px;
			font-size: 12px;
			width: 99%;
			display: block;
			margin: 0;
			margin-left: 5px;
		}
		.formbv .col-md-3 input[type="submit"],.formbv .col-md-2 input[type="submit"] {
			background: #1965b3;
			color: #FFF;
			font-weight: normal;
			padding: 0 15px;
			font-size: 13px;
			line-height: 30px;
			border: 0;
			border-radius: 4px;
		}
		@media(max-width:1100px) {
		  .formbv .col-md-3 input[type="submit"],.formbv .col-md-2 input[type="submit"] {
			display:block;
			margin: 0 auto;
			margin-top:10px;
		
		}
    }
