html,body{
    background-color: #FFF;
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', Verdana, sans-serif;
    font-size:12px;
}
@viewport {
  width: device-width ;
  zoom: 1.0 ;
}
    #menu{
        width: 100%;
        border-bottom: solid 2px darkgreen;
            position: fixed;
    top: 0;
    }    
    
.topnav {
    overflow: hidden;
    background-color: white;
    border-bottom: solid 2px darkgreen;
    line-height: 60px;
    vertical-align: middle;

}
   
    
    
    .topnav a:last-child{
        padding-left: 14px;
    }
    
    
    
.topnav a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 0px 16px;
    text-decoration: none;
    font-size: 14px;
    
}
    
    
    .topnav a:not(:last-child){
        color: #1E722B;
        font-weight: 500;
    }
    
    
    .topnav a:not(:first-child){
        position: relative;
        padding-right: 10px;
        text-align: right;
        position: inherit;
        /*font-weight: bold;*/
        
    }
    
#logo{
    padding-left: 5%;
    /*padding-r ight: px;*/
    clear: both;
    height: 60px;
    display: block;
    width: 130px;
    }

.topnav .icon {
    display: none;
}


@media screen and (max-width: 1300px) {
  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
    .topnav{
        line-height: 50px;
    }
    .topnav a:first-child{
        position: relative;
    }
    
}
.top-bar{
            background-color: #87B24B;
            text-align: right;
        }
.top-bar a{
            color: white;
            text-decoration: none;
            padding-right: 20px;
        }
@media screen and (max-width: 1300px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top:0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;   
  }
    .topnav.responsive a:first-child{
        padding-left: 0px;
    }

}
#welcome{
    width: 100%;
    height: auto;
    padding: 0;
}
#welcome-img{
    /*background-image: url(images/marathon.jpg);*/
    background-size: cover;
    background-repeat: no-repeat;
    /*height: 200px;*/
}

@media screen and (max-width: 900px){
    .tri{
        width: 100%;
        display: block;
    }
}

#tri-screen{
    padding: 30px;
}

.tri{
    width: 90%;
    float: left;
    padding-left: 5%;
    /*padding-right:5%;*/
    padding-bottom:30px;
}
.tri-img{
    height: auto;
    margin-left: auto;
    margin-right: auto;
    width: 10%;
    display: block;
    padding: 10px;
    border-radius:90px;
}
#tri-header{
    text-align: center;
    font-size:24px;
}
.tri-text{
    padding: 10px;
    text-align: justify;
}
.img-container{
    /*background-image: url(images/marathon.jpg);*/
    background-size: cover;
    background-repeat: no-repeat;
    /*height: 200px;*/
}
        .services{
            width: 100%;
            margin: 0;
        } 
        #services-row1{
            clear:both;
            padding-top:120px;
        }
        .servies-row{
            width: 100%;
            text-align: center;
            clear: both;
        }
        .services-row div{
            float: left;
            margin-left: 2.5%;
            margin-right:2.5%;
            margin-top: 20px;
            margin-bottom: 20px;
            text-align: center;
        }
        .services-row div button{
            text-align: center;
            padding: 0;
            margin-top: 30%;
            background-color: white;
            border: white 1px;
            font-size: 14px;
            font-family:'Quicksand';
            width: 150px;
            /*color: #1F722B;;*/
            color:#93B940;
            font-weight: 700;
            border-radius: 90px;
            height:45px;
        }
        
        #osteopathy{
            background-image: url(images/Osteopathy.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            width: 240px;
            height: 210px;

        }
        #physiotherapy{
            background-image: url(images/physio%202.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            width: 240px;
            height: 210px;
        }
        #podiatry{
            background-image: url(images/podiatry.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            width: 240px;
            height: 210px;
        }
        #sports-massage{
            background-image: url(images/Sports-Massage.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            width: 240px;
            height: 210px;
        }
        #snc{
            background-image: url(images/lunge.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            width: 240px;
            height: 210px;
        }
        #ASI{
            background-image: url(images/adolescent.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            width: 240px;
            height: 210px;
        }
        #PAM{
            background-image: url(images/ballet%20shoes.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            background-position: bottom;
            width: 240px;
            height: 210px;
        }
        #Gait{
            background-image: url(images/gait%20analysis.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            width: 240px;
            height: 210px;
        }
        .services-content{
            display: none;
            text-align: center;
            float: inherit;
            width: 240px;
        }
.hover_bkgr{
    background:rgba(0,0,0,.4);
    cursor:pointer;
    display:none;
    height:100%;
    position:fixed;
    text-align:center;
    top:0;
    width:100%;
    z-index:10000;
    padding-top:20px;
    padding-bottom:60px;
    overflow:scroll;
}
.hover_bkgr .helper{
    display:inline-block;
    height:100%;
    vertical-align:middle;
}
.hover_bkgr > div {
    background-color: #fff;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    height: auto;
    max-width: 850px;
    min-height: 100px;
    vertical-align: middle;
    width: 85%;
    position: relative;
    border-radius: 8px;
    padding: 15px 5%;
}
.popupCloseButton {
    background-color: #fff;
    border: 3px solid #999;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-family: arial;
    font-weight: bold;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 25px;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
}
.popupCloseButton:hover {
    background-color: #ccc;
}
.trigger_popup {
    cursor: pointer;
    font-size: 20px;
    margin: 20px;
    display: inline-block;
    font-weight: bold;
}
    .member{
        width: 60%;
        height: 230px;
        margin-left: 20%;
        text-align: center;
        /*border: solid 1px grey;*/
        float: left;
        /*margin-bottom: 10px;*/
        margin-top: 20px;
    }
    .member a{
        margin:0;
        padding:0;
    }
    .team-right p{
        font-size: 14px;
    }


#img-container{
    background-image: url(images/Hockey.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 120px;
}
#fees{
    height: auto;
    background-color: #F0F5FA;
    text-align: center;
}
#fees-text{
    padding: 10px 20px;
}
#contact{
    background-color: #FFF;
    text-align: left;
    height: auto;
    clear:both;
    padding-top:40px;
}
#contact-us{
       background-color: #FFF;
    height: auto;
    /*margin-left:60px;*/
}
#contact-text{
    width: 80%;
    float: left;
    /*display: block;*/
    padding: 0px 10%;
}
#contact-text1{
    width: 80%;
    float: left;
    /*display: block;*/
    padding:0px 10%;
    
}
#map{
    float: left;
    padding: 5%;
    width:90%;
    clear:both;
}
#map1{
    width:290px;
    height:240px;
}
@media screen and (max-width: 900px){
    .contact-text{
        width: 100%;
    }
}
#contact-form{
    /*float:right;*/
    width:50%;
    /*padding-left:10%;*/
    padding-right:25%;
}
#contact-form-container{
    width:80%;
    float:right;
    padding: 0px 10%;
}
#address-left{
    float:left;
    margin-left:0px;
    padding-left:0px;
    width:30%;
    
}
#address{
    float:left;
    margin-left:30px;
}
#form-name{
    width: 100%;
}
#form-email{
    width:100%;
}
#form-message{
    width:100%;
}
#footer{
    
}
#social-media{
    text-align: center;
}
#footer2{
    background-color: #93B940;
    text-align: center;
    line-height:20px;
    vertical-align:middle;
    color:white;
    margin:0px;
    padding:0px;
}
#footer2 a{
    color:white;
    text-decoration:none;
}
#footer1{
    text-align: center;
    background-color: #1E722B;
    line-height:20px;
    vertical-align:middle;
    margin:0px;
    padding:0px;
}
#footer1 p{
    color: darkgrey;
}
.clear{
    clear: both;
}