.module-agents {
    padding: 20px 0;
}

.module-agents-title h3 {
    color: #c6b792;
    text-align: center;
    font-weight: 500;
}

.module-agents-lists {
    /*display: flex;*/
    /*justify-content: flex-start;*/
}
@media (max-width: 767px){
    .module-agents-lists .agent-item {
        display: flex;
        overflow: hidden;
        flex-direction: row;
        justify-content: flex-start;
        margin-top: 20px;
        height: auto;
    }
}
.module-agents-lists .agent-item {
    display: flex;
    overflow: hidden;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 20px;
    height: 180px;
}

.module-agents-lists .agent-item .agent-left {
    width: 30.5%;
    flex-shrink: 0;
}
.module-agents-lists .agent-item .agent-right{
    width: 70%;
    padding-left:10px;
}
.module-agents-lists .agent-item .agent-right .agent-name{
    font-size: 22px;
    font-weight: 500;
}
.module-agents-lists .agent-item .agent-right .agent-phone{
    display: flex;
    align-items: center;
    font-size:19px;
    font-weight: 400;
    margin-top:10px;
}
.module-agents-lists .agent-item .agent-right .agent-email{
    margin-top:5px;
    display: flex;
    align-items: flex-start;
    font-size:19px;
    font-weight: 400;
}
.module-agents-lists .agent-item .agent-right .icon-agent{
    width:20px;
    margin-right:5px;
}
.module-agents-lists .agent-item .agent-right  .agent-email-button{
    margin-top:10px;
}
.module-agents-lists .agent-item .agent-right .agent-email-button .btn.btn-primary{
    color: #ffffff;
    background: #203864;
    text-align: center;
    padding:5px 20px;
    border-radius:6px;
}




.dialog {
    max-width: 600px;
    position: fixed;
    left: 5%;
    margin: 0 auto;
    right: 5%;
    z-index: 2000;
    visibility: hidden;
    backface-visibility: hidden;
    perspective: 1300px;
    top: 10%;
    bottom: 10%;
}
.dialog .btn:after{
    content: none;
}
#emailForm input {
    border-radius: 0;
    border: 2px solid #203864;
    height: 40px;
    font-size: 16px;
    width: 100%;
    margin-bottom: 30px;
}

#emailForm textarea {
    border-radius: 0;
    border: 2px solid #203864;
    font-size: 16px;
    width: 100%;
}

#emailForm .email-item {
    text-align: center;
    position: relative;
}

#emailForm .email-item label {
    position: absolute;
    bottom: 0;
    color: #be0712;
    font-size: 12px;
}

#emailForm .btn-primary {
    background: #203864;
    color: #fff;
    float: right;
    margin-bottom: 50px;

}

#emailForm .btn-primary:hover {
    background: #fff;
    color: #203864;
}

#emailForm input.error, #emailForm textarea.error {
    border: 2px solid #be0712;
}

@media screen and (min-width: 1100px) {
    .dialog {
        min-width: 620px;
    }

    #modal-demo-send-email {
        min-width: 400px;
    }
}

.dialog--active {
    visibility: visible;
    overflow-y: auto
}

.dialog--active .dialog__content {
    opacity: 1;
    transform: rotateY(0)
}

.dialog--active ~ .dialog-overlay {
    opacity: 1;
    visibility: visible
}

.dialog__content {
    border-radius: 3px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: .5s ease-in-out;
    opacity: 0;
    transform-style: preserve-3d;
    transform: rotateY(-70deg)
}

.dialog__header {
    padding-bottom: 10px;
}

.dialog__title {
    margin: 0;
    text-align: center;
    font-weight: 200;
    line-height: 2em
}

.dialog__body {
    padding: 0 2em
}

.dialog__body p {

}

.dialog__footer {
    margin: 0 2em;
    padding-top: 1em;
    text-align: right;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 3;
    position: relative;
}

.dialog__footer .btn {
    font-size: 1.5em
}

.dialog-overlay {
    content: "";
    position: fixed;
    visibility: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: all .6s
}

.loading-box {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgb(255, 255, 255);
    top: 0;
    left: 0;
    display: flex;
    z-index: 2;
    visibility: hidden;
}

.csshub-loader {
    width: 80px;
    height: 25px;
    text-align: center;
    margin: auto;
}

.loader-success {
    /*width: 80px;*/
    /*height: 25px;*/
    text-align: center;
    margin: auto;
}

.csshub-loader span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: #000000;
    opacity: 0;
}

.csshub-loader span:nth-child(1) {
    animation: csshub-opacitychange 1s ease-in-out infinite;
    -webkit-animation: csshub-opacitychange 1s ease-in-out infinite;
}

.csshub-loader span:nth-child(2) {
    animation: csshub-opacitychange 1s ease-in-out 0.33s infinite;
    -webkit-animation: csshub-opacitychange 1s ease-in-out 0.33s infinite;
}

.csshub-loader span:nth-child(3) {
    animation: csshub-opacitychange 1s ease-in-out 0.66s infinite;
    -webkit-animation: csshub-opacitychange 1s ease-in-out 0.66s infinite;
}

@keyframes csshub-opacitychange {
    0%, 100% {
        opacity: 0;
    }

    60% {
        opacity: 1;
    }
}

@-webkit-keyframes csshub-opacitychange {
    0%, 100% {
        opacity: 0;
    }

    60% {
        opacity: 1;
    }
}

.agent-email .text-email{
    word-break: break-word;
    line-height: 1.2;
}

.con_position{
    font-size:0.5em;
    font-weight: 400;
}

.agent-item  .dialog img{
    width:179px;
}

.tags {
    list-style: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.tags li, .tag1 li, .tag2 li {
    float: left;
}

.tag, .tag1, .tag2 {
    border-radius: 3px 0 0 3px;
    color: #fff;
    display: inline-block;
    height: 20px;
    line-height: 20px;
    padding: 0 20px 0 23px;
    position: relative;
    margin: 0 5px 5px 0;
    text-decoration: none;
    -webkit-transition: color 0.2s;
}

.tag {
    background: #203864;
}

.tag::after {
    border-left: 8px solid #203864;
}

.tag1 {
    background: #203864;
}

.tag1::after {
    border-left: 8px solid #203864;
}

.tag2 {
    background: #203864;
}

.tag2::after {
    border-left: 8px solid #203864;
}

.tag::before, .tag1::before, .tag2::before {
    background: #fff;
    border-radius: 10px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
    content: '';
    height: 6px;
    left: 10px;
    position: absolute;
    width: 6px;
    top: 7px;
}

.tag::after, .tag1::after, .tag2::after {
    background: #fff;
    border-bottom: 10px solid transparent;

    border-top: 10px solid transparent;
    content: '';
    position: absolute;
    right: 0;
    top: 0;
}

.tag:hover, .tag1:hover, .tag2:hover {
    background-color: #94938f;
    color: white;
}

.tag:hover::after, .tag1:hover::after, .tag2:hover::after {
    border-left-color: #94938f;
}