/*
Theme Name: License Guru Driving School
Author: the YourDiameter team
Description: A theme for the website License Guru Driving School
Version: 0.0
*/

html, body{
    width: 100%;
    overflow-x: hidden;
    margin: 0px;
    font-size: 10px;
    font-family:  'Open Sans', sans-serif;
}

a{
    text-decoration: none;
    color: inherit;
}

ul{
    list-style-type: none;
    margin: 0px;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
    -webkit-padding-start: 0px;
}

h1, h2, h3, h4, h5, h6, p{
    margin: 0px;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
}

.one-half{
    width: 49%;
    float: left;
}

.one-third{
    width: 30%;
    float: left;
}

header{
    width: 100%;
    text-align: center;
    background-color: #bf0302;
}

#logo{
    width: 100%;
    text-align: center;
}

#logo img{
    width: 25%;
    height: auto;
}

#navBar{
    width: 100%;
    background-color: #000;
    font-size: 3em;
    color: #fff;
}

#navBar ul li{
    display: inline-block;
    width: 24%;
    padding: 0.5% 0%;
}

#banner{
    background: url("/wp-content/uploads/2018/02/collage.png") center center no-repeat;
    background-size: cover;
    padding: 10% 0%;   
}

#bannerText{
    font-size: 4em;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 7% 5% 3% 5%;
    margin: 0% 35%;
    border-radius: 50%;
    width: 18vw;
    height: 18vw;
    color: #fff;
    text-align: center;
}

#contentImage img{
    width: 80%;
    height: auto;
    padding: 10%;
}

#contentText{
    font-size: 2.5em;
    height: auto;
    padding: 10% 0%;
}

#contentText h2{
    margin-bottom: 10%;
}

#contentPage{
    font-size: 2.5em;
    height: auto;
    padding: 10% 5%;
}

#contentPage h2{
    margin-bottom: 10%;
}

#content::after{
    content: "";
    display: block;
    clear: both;
}

#offer{
    background: url("/wp-content/uploads/2018/02/background.jpg") repeat-x;
    background-size: contain;
    font-size: 2.5em;
    color: #fff;
}

#offer h2{
    background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
    padding-top: 5%;
}

#offer ul{
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5%;
}

#offer ul li{
    /*float: left;*/
    display: inline-block;
    width: 44%;
    padding: 1% 0%;
    margin-left: 4%;
}

#offer ul li::before{
    content: url("/wp-content/uploads/2018/02/arrow.png");
    height: 50px;
    width: 50px;
    position: absolute;
    margin: -0.5% 0% 0% -5%;
}

#offer ul::after{
    content: "";
    display: block;
    clear: both;
}

#serviceAreas{
    font-size: 2.5em;
    text-align: center;
    font-weight: bold;
    padding-bottom: 5%;
}

#serviceAreas h2{
    color: red;
    padding: 5%;
}

#serviceAreas ul li{
    display: inline-block;
    font-size: 1.4em;
    padding: 2% 5%;
}

#footer{
    background-color: #000;
}

#footerContent{
    background-color: #141915;
    font-size: 2em;
    color: #fff;
    padding: 5% 0%;
}

#footerSec1{
    text-align: left;
    padding-left: 2%;
}

#footerSec2{
    text-align: center;
}

#footerSec3{
    text-align: right;
}

#footerContent::after{
    content: "";
    display: block;
    clear: both;
}

#social{
    text-align: center;
    font-size: 2.5em;
    padding: 1% 0%;
}

#copyRight{
    background-color: #000;
    color: #fff;
    font-size: 2.5em;
    padding: 1% 0%;
    text-align: center;
}

#footerSec2 table{
    width: 100%;
}

#footerSec2 table tr td{
    width: 50%;
    text-align: left;
    padding: 0.5%;
}

@media only screen and (max-width: 760px){
    .one-half{
        width: 100%;
        float: none;
    }

    .one-third{
        width: 100%;
        float: none;
    }

    #logo img{
        width: 80%;
        height: auto;
    }

    #navBar{
        font-size: 2.5em;
    }

    #navBar ul li{
        display: block;
        width: 100%;
        padding: 1% 0%;
    }

    #banner{
        padding: 0%;   
    }

    #bannerText{
        background-color: rgba(0, 0, 0, 0.5);
        padding: 5%;
        margin: 0%;
        border-radius: 0%;
        width: 90%;
        height: auto;
    }

    #contentImage img{
        width: 80%;
        height: auto;
        padding: 10%;
    }

    #contentText{
        width: 90%;
        font-size: 2.5em;
        height: auto;
        padding: 10% 5%;
    }

    #contentText h2{
        margin-bottom: 10%;
    }
    
    #offer{
        background-size: cover;
    }
    
    #offer ul{
        padding-left: 10%;
        width: 89%;
    }

    #offer ul li{
        float: none;
        display: block;
        width: 98%;
        padding: 1% 0%;
    }

    #offer ul li::before{
        margin: -1.5% 0% 0% -12%;
    }

    #serviceAreas ul li{
        display: block;
        font-size: 1.4em;
        padding: 2% 5%;
    }

    #footerContent{
        background-color: #141915;
        font-size: 2em;
        color: #fff;
        padding: 0%;
    }

    #footerSec1{
        text-align: center;
        padding: 5% 0%;
    }

    #footerSec2{
        text-align: center;
        padding: 5% 0%;
    }

    #footerSec3{
        text-align: center;
        padding: 5% 0%;
    }

    #social{
        text-align: center;
        font-size: 2.5em;
        padding: 1% 0%;
    }

    #copyRight{
        background-color: #000;
        color: #fff;
        font-size: 2.5em;
        padding: 1% 0%;
        text-align: center;
    }

    #footerSec2 table{
        width: 100%;
        text-align: center;
        margin: 0%;
    }

    #footerSec2 table tr td{
        font-size: 0.9em;
        padding: 0.5%;
        padding-left: 1%;
    }
}