/*
Contact Form by html-form-guide.com
You can customize all the aspects of the form in this style sheet
All the style elements use form id selector(notice the #contactus). So, including this
stylesheet does not affect the other elements at all!
*/
*{
    font-family: 'Open Sans', sans-serif; 
    margin: 0;
    padding: 0;
}

#contactus fieldset
{
   border:none;  
}
.form{
    width: 90%;
    margin: auto;
    padding: 5% 0;
}

#contactus h4
{
    color: rgb(85, 85, 85);
   font-size: 18px;
}
.service-title{
    background: #808180;
    color: white;
    text-align: center;
    padding: 1% 0;
}
.thankmsgh4{
    width: 70%;
    margin: 3% auto;
    text-align: center;
}
.thankmsgh3{
    width: 70%;
    margin: 1% auto;
    text-align: center;
}
#contactus label:not(.booklongl)
{   
    padding-left: 10%;
   font-size:0.9em;
    font-weight: 600;
}
small{
    font-family: sans-serif;
    color: #333;
}
#photo{
    padding-top: 2%;
}
input, select, textarea{
    display: block;
    width: 100%;
    height: 29px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 1% 0;
    padding-left: 4%;
}
#contactus input[type="submit"]
{
  width: 90%;
    height: 100%;
    padding: 2% 0;
    margin: 0 auto;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
   border-radius: 5px;
    color: white;
    background: #314DA0;
}
#contactus input[type="submit"]:hover
{
    color: #314DA0;
    background: gray;
}

textarea{
    height: 111px;
}

#contactus .error
{
   font-family: Verdana, Arial, sans-serif; 
   font-size: 0.7em;
   color: #900;
}

#contactus fieldset#antispam
{
   padding:2px;
   border-top:1px solid #EEE;
   border-left:0;
   border-right:0;
   border-bottom:0;
   width:350px;
}

#contactus fieldset#antispam legend
{
   font-size: 0.8em;
   font-weight:bold;
   color:#333;   
}

#contactus .short_explanation
{
   font-size: 0.6em;
   color:#333;   
}

/* spam_trap: This input is hidden. This is here to trick the spam bots*/
#contactus .spmhidip
{
   display:none;
   width:10px;
   height:3px;
}
#fg_crdiv
{
   font-size: 0.3em;
   opacity: .2;
   -moz-opacity: .2;
   filter: alpha(opacity=20);   
}
#fg_crdiv p
{
    display:none;
}
@media screen and (min-width: 2px) and (max-width: 426px){
    .thankmsgh4{
        font-size: 2em;
    }   
}

@media screen and (min-width: 426px) and (max-width: 768px) {

        
    .container:not(.full) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
        grid-template-areas:
            "l i"
            "l d"
            "c c"
            "b b";
    }
    .form{
        width: 75%;
    }
    .service-title{
        grid-area: h;
    }
    label{
        grid-area: l;
    }
    input, select, #photo{
        grid-area: i;
    }
    #address2, #MandD2b, #MandD3b{
        grid-area: d;
    }
    .thankmsgh4{
        font-size: 1.5em;
    }
    .full, h4{
        margin-top: 2%;
    }
    .g-recaptcha{
        grid-area: c;
        text-align: center;
        margin: 0 auto;
    }
    
    .container{
        margin: 2% auto;
        width: 80%;
        padding: 2%;
    }
    #contactus input[type="submit"]{
        grid-area: b;
        margin: 2% auto;
        width: 80%;
        padding: 2%;
    }
    .submit-div{
        margin: 5% auto;
        
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    
      .container:not(.full) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 12px auto;
        grid-template-areas:
            "h h"
            "l i"
            "l d"
            "c c"
            "b b";
    }
    .form{
        width: 70%;
    }
    .service-title{
        grid-area: h;
    }
    label, span{
        grid-area: l;
    }
    input, select, #photo{
        grid-area: i;
    }
    #address2, #MandD2b, #MandD3b{
        grid-area: d;
    }
    
    .full, h4{
        margin-top: 2%;
    }
    .submit-div{
        margin: 5% 0;
    }
    .g-recaptcha{
        grid-area: c;
        text-align: center;
        margin: 2% auto;
    }
    #contactus input[type="submit"]{
        grid-area: b;
        padding: 2%;
        height: 95%;
        font-size: 1em;
    }
    .thankmsgh4{
        font-size: 2em;
    }
}
@media screen and (min-width: 1024px) {
      .container:not(.full) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
            "h h "
            "l i"
            "l d"
            "c b";
    }
    .form{
        width: 60%;
        padding: 2%;
    }
    .service-title{
        grid-area: h;
    }
    label{
        grid-area: l;
    }
    
    input, select, #photo{
        grid-area: i;
    }
    #address2, #MandD2b, #MandD3b{
        grid-area: d;
    }
    
    .full, h4{
        margin-top: 2%;
    }
    .submit-div{
        margin: 5% 0;
    }
    .g-recaptcha{
        grid-area: c;
    }
    #contactus input[type="submit"]{
        grid-area: b;
        padding: 0;
    }
     .thankmsgh4{
        font-size: 1.5em;
    }
    
}