


/*===========================
     20. CONTACT css 
===========================*/

.contact-page {
	@media #{$md}{
        padding-top: 50px;
        padding-bottom: 100px;
    }
    @media #{$xs}{
        padding-top: 30px;
        padding-bottom: 80px;
    }
}


.form-group {
	margin: 0;
}

.form-message.success,
.form-message.error {
	font-size: 16px;
	color: #333;
	background: #ddd;
	padding: 10px 15px;
	margin-left: 15px;
	margin-top: 15px;
    
    &.form-message.error {
        color: #f00;
    }
    
}


.contact-form{
    
    & .single-contact-form{
        margin-top: 30px;
        position: relative;
        
        & input,
        & textarea{
            width: 100%;
            height: 60px;
            border: 1px solid $border-color;
            background-color: $gray;
            padding:  20px;
            font-size: 16px;
            color: $body-color;

            @include placeholder{
                opacity: 1;
                color: $body-color;
            }

            &:focus{
                border-color: $theme-color;
            }
        }
        
        & textarea{
            height: 190px;
            resize: none;
            padding-top: 15px;

        }
        
        & i{
            position: absolute;
            top: 20px;
            right: 20px;
            color: $body-color;
            font-size: 16px;
        }
        
        & .main-btn{
            width: 165px;
            height: 60px;
        }
        
        .list-unstyled {
            &  li{
                font-size: 13px;
                margin-left: 2px;
                margin-top: 5px;
                color: #f00;
            }
        }
    }
}



.contact-info{
    padding: 50px 30px 55px;
    background-color: $white;
    @include box-shadow (0px 0px 20px 0px rgba(72,127,255,0.2));
    
    @media #{$xs}{
        padding: 40px 20px 45px;
    }
    
    & .info-title{
        font-size: 24px;
        color: $heading-color;
        font-weight: 600;
        padding-bottom: 15px;
    }
    
    & .single-info{
        position: relative;
        margin-top: 15px;
        
        & .info-icon{
            position: absolute;
            top: 0;
            left: 0;
            
            & i{
                font-size: 16px;
                color: $heading-color;
            }
        }
        & .info-content{
            padding-left: 25px;
        }
    }
    
    & .social{
        margin-top: 40px;
        
        & li{
            display: inline-block;
            margin-left: 18px;
            
            @media #{$xs}{
                margin-left: 10px;
            }
            
            &:first-child{
                margin-left: 0;
            }
            & a{
                width: 45px;
                height: 45px;
                line-height: 45px;
                text-align: center;
                background-color: $gray-2;
                border-radius: 50%;
                font-size: 18px;
                @include transition(0.3s);
                
                @media #{$xs}{
                    width: 40px;
                    height: 40px;
                    line-height: 40px;
                }
                
                &:hover{
                    @include box-shadow (0px 8px 16px 0px rgba(72,127,255,0.43));
                    background-color: $theme-color;
                    color: $white;
                }
            }
        }
    }
}



.contact-map{
    
    @media #{$md}{
        margin-top: 100px;
    }
    @media #{$xs}{
        margin-top: 80px;
    }
    
    & .gmap_canvas{
        & iframe{
            width: 100%;
            height: 480px;
            @include box-shadow (0px 0px 20px 0px rgba(72,127,255,0.2));
            padding: 8px;
        }
    }
}





















