@import url(http://fonts.googleapis.com/css?family=Aclonica);
/* @import url(http://fonts.googleapis.com/css?family=Libre+Baskerville); */
* {
    padding: 0;
    margin: 0;
    border:none;
}

a {
    text-decoration: none;
}

body {
    background: url("../images/web_images/BG.gif") repeat-x, url("../images/web_images/bg2.jpg");
    _font-family: 'Libre Baskerville', serif;
    font-family: Comic Sans;
}

p,a {
    font-size: 19px;
}

body i.scroll_top {
    position: fixed;
    top: 80%;
    right: 3%;
    cursor: pointer;
    display: none;
    z-index: 200;
    color: orange;
    background: rgba(50,40,31,1);
    padding: 5px;
    border-radius: 5px;
    font-size: 15px;

    -webkit-transition: color .5s;
    -moz-transition: color .5s;
    -o-transition: color .5s;
    -ms-transition: color .5s;
    transition: color .5s;
}

body i.scroll_top:hover {
    color: rgba(50,40,31,1);
    background: orange;
}

.magic_bar {
    width: 100%;
    min-height: 40px;
    background: rgba(50,40,31,1);
    z-index: 120;
    top: 0;
}

ul.top_navigation {
    list-style: none;
    line-height: 40px;
    text-align: center;
}

ul.top_navigation li i {
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

ul.top_navigation li {
    display: inline-block;
    position: relative;
    margin-right: .5%;

    -webkit-box-shadow: 0 0 2px rgba(0,0,0,.4)inset;
    box-shadow: 0 0 2px rgba(0,0,0,.4)inset;
    padding: 0 5px 0 5px;

    -webkit-transition: all .7s;
    -moz-transition: all .7s;
    -o-transition: all .7s;
    -ms-transition: all .7s;
    transition: all .7s;
}

ul.top_navigation li:hover i {
    -webkit-transform: scale(1.4);
    -moz-transform: scale(1.4);
    -o-transform: scale(1.4);
    -ms-transform: scale(1.4);
    transform: scale(1.4);
}
ul.top_navigation li a {
    text-decoration: none;
    color: rgba(225,226,223,1);
    display: block;
}

ul.top_navigation li:hover {
    background: orange;
}

ul.top_navigation li:hover > a {
    color: rgb(50,40,31);
}

ul.top_navigation li ul {
    position: absolute;
    width: 0;
    height: 0;
    z-index: 250;
    overflow: hidden;

    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

ul.top_navigation li:hover ul {
    width: 200px;
    height: auto;
}

ul.top_navigation li ul li {
    text-align: left;
    display: block;
    padding: 0 10px 0 10px;
    background: rgba(50,40,31,1);
}

.top_bar {
    background: rgba(50,40,31,.7);
    min-height: 80px;
    width: 100%;
    top: 0;
    font-family: 'Aclonica', sans-serif;
    color: white;
    border-top: 2px solid orange;
}

.top_bar .title {
    margin-left: 8%;
    float: left;
    width: 55%;

    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    -ms-transition: all 1s;
    transition: all 1s;
}

.title h2 {
    margin: 12px 0 0 8%;
    padding-top: 8px;
}

.title h2 p {
    font-size: 15px;
    margin-left: 4%;
    font-family: comic;
    font-style: italic;
}

.title img {
    float: left;
    height: 70px;
    margin-top: 5px;
}

.top_bar .search {
    float: right;
    margin-right: 8%;
    margin-top: 20px;

    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    -ms-transition: all 1s;
    transition: all 1s;
}

.top_bar .search form {
    margin: 7px 0 0 0;
}

.top_bar .search input[type="text"] {
    width: 120px;
    height: 25px;
    border: none;
    background: gray;

    -webkit-transition: background 1s;
    -moz-transition: background 1s;
    -o-transition: background 1s;
    -ms-transition: background 1s;
    transition: background 1s;
    border-radius: 5px;
}

.top_bar .search input[type="submit"] {
    background: url("../images/web_images/search.png");
    width: 25px;
    height: 22px;
    border: none;
    position: relative;
    right: 30px;
}


#ask_query {
    width: 30%;
    height: 300px;
    background: rgba(50,40,31,.9);
    position: absolute;
    z-index: 105;
    top: 200px;
    left: -30%;
    color: orange;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;

    -webkit-transition: width 1s;
    -moz-transition: width 1s;
    -o-transition: width 1s;
    -ms-transition: width 1s;
    transition: width 1s;
}

@media (max-width: 650px) {
    .top_bar .title {
    margin-left: 1%;

    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    -ms-transition: all 1s;
    transition: all 1s;
}

.top_bar .search {
    margin-right: 1%;

    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    -ms-transition: all 1s;
    transition: all 1s;
}

}

@media (max-width:480px) {
    .title h2 {
    margin-top: 0;
}

.title h2 p {
    font-size: 12px;
}

#ask_query {
    width: 70%;
    left: -70%;

    -webkit-transition: width 1s;
    -moz-transition: width 1s;
    -o-transition: width 1s;
    -ms-transition: width 1s;
    transition: width 1s;
}

}

@media (max-width:320px) {
    #ask_query {
    top: 310px;
}

.title h2 {
    font-size: 14px;
}

.title h2 p {
    font-size: 10px;
}

.top_bar .search {
    margin-right: 20%;
}

}

@media (max-width:240px) {
    .title h2 {
    font-size: 12px;
}

.title h2 p {
    font-size: 9px;
}

}

#query_form {
    list-style: none;
    margin: 2% 2% 0 2%;
}

#query_form li {
    margin-top: 1.5%;
}

#query_form input[type="text"],#query_form input[type="email"],#query_form textarea {
    -webkit-transition: background .4s;
    -moz-transition: background .4s;
    -o-transition: background .4s;
    -ms-transition: background .4s;
    transition: background .4s;
    color: white;
    border: none;
    width: 60%;
    height: 30px;
    background: gray;

}

#query_form textarea {
    width: 97%;
    -webkit-resize: none;
    -moz-resize: none;
    resize: none;
    height: 90px;
}

#query_form input[type="submit"] {
    border: none;
    float: right;
    margin: 5px 3% 0 0;
    width: 65px;
    height: 30px;
    background: rgba(50,40,31,1);
    color: orange;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

#query_form input[type="submit"]:hover {
    background: rgba(50,40,31,.9);
}

#ask_query .close {
    top: 100px;
    display: none;
}

#ask_query .stiker,.close {
    color: gray;
    color: orange;
    background: rgba(50,40,31,1);
    padding: 10px;
    width: 15px;
    position: absolute;
    right: -35px;
    cursor: pointer;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    top: 50px;
}

#ask_query .stiker:hover,.close:hover {
    color: white;
}

#content_container {
    color: rgba(51,51,51,1);
    margin: auto;
    margin-top: 20px;
    width: 80%;
    min-height: 400px;
}
#banner{
    width:95%; 
    display: none;
    margin: auto;
}
#banner img{
    width: 100%;
}

#slide_box {
    width: 89%;
    background: white;
    margin: auto;

    -webkit-box-shadow: 0 0 2px rgba(51,51,51,0.8);
    box-shadow: 0 0 2px rgba(51,51,51,0.8);
    height: 380px;
    position: relative;
    height: 380px;
    overflow: hidden;
}

@media (max-width: 510px) {
    #slide_box {
    display: none;
}
#banner{
    display: block;
}
top_bar {
    display: none;
}

}

#content_container h2 {
    margin: 10px 0 0 7%;
    font-family: 'Aclonica', sans-serif;
    text-shadow: 0 0 2px rgba(51,51,51,0.7);
    color: rgba(50,40,31,1);
}

#content_container #about_us,#message {
    width: 42%;
    min-height: 430px;
    border: 10px solid white;

    -webkit-box-shadow: 0 0 3px rgba(51,51,51,0.5);
    box-shadow: 0 0 3px rgba(51,51,51,0.5);
    background: white;
    margin-top: 10px;

    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    -ms-transition: all 1s;
    transition: all 1s;
}

/* design depend on screen size */
@media (max-width:645px) {
    #content_container #about_us,#message {
    width: 90%;
    float: none;

    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    -ms-transition: all 1s;
    transition: all 1s;
}

}

img.small_pic {
    width: 120px;
    float: left;
    padding-right: 2%;
    cursor: pointer;

    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

/*img.small_pic:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}*/

#content_container #about_us h2,#message h2 {
    color: rgba(225,226,223,1);
    _background: url("../images/web_images/min_bg.gif");
    background: rgba(50,40,31,1);
    margin: 0;
    padding: 2px 0 0 10px;
    height: auto;
}

#content_container #about_us a,#message a {
    text-decoration: none;
    float: right;
    font-size: 12px;
    margin: 5px 5px 0 0;
    background: rgba(50,40,31,1);
    color: orange;
    padding: 7px;
    border-radius: 10px 100px;
    text-shadow: 0 0 2px rgba(0,0,0,1);
}

#content_container #about_us a:hover,#message a:hover {
    background: rgba(50,40,31,.9);
}

#about_us {
    margin-left: 4%;
    float: left;
}
#message {
    float: left;
    margin-left: 4%;
}

.clear {
    clear: both;
}

#about_us p,#message p {
    padding-top: 30px;
    text-align: justify;
}

#mini_slider {
    margin-top: 25px;
    width: 100%;
}

#mini_slider p {
    background: rgba(50,40,31,1);
    color: orange;
    margin-top: -10px;
}

/*Course Container page design*/
#real_content {
    margin-top: 1px;
    min-height: 500px;
}

#real_content .head_image {
    width: 100%;
    margin: 5px 0 0 0;

    -webkit-box-shadow: 0 2px 5px rgba(51,51,51,.5);
    box-shadow: 0 2px 5px rgba(51,51,51,.5);
}

#real_content h2 {
    margin: 0;
    margin-top: 10px;
    _background: url("../images/web_images/min_bg.gif");
    background: rgba(50,40,31,1);
    color: rgba(225,226,223,1);
    padding: 5px 0 0 10px;
}

#real_content p {
    margin: 20px auto;
    text-align: justify;
    width: 95%;
}

/* courses.php and photo.php style */
ul.course_list,ul.album_list {
    list-style: none;
}

ul.course_list li,ul.album_list li {
    margin: 1% 0 0 .5%;
    border: 5px solid white;

    -webkit-box-shadow: 0 0 2px rgba(51,51,51,.6);
    box-shadow: 0 0 2px rgba(51,51,51,.6);
    width: 200px;
    position: relative;
    float: left;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
    filter: alpha(opacity=90);
    opacity: .9;
}

ul.course_list li:hover,ul.album_list li:hover {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}

ul.course_list li h4,ul.album_list li h4 {
    text-align: center;
    background: rgba(0,0,0,.5);
    color: orange;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    height: 25px;
    line-height: 25px;
}

/* Photo-Gallery Container */
#photo_container {
    width: 91%;
    min-height: 400px;
    margin: auto;
    margin-top: 10px;
}

#upper_links {
    margin: 0 0 0 20px;
}

#upper_links li {
    display: inline-block;
    padding: 5px;
    background: #eee;

    -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.7);
    box-shadow: 0 0 2px rgba(0,0,0,0.7);
    border-radius: 10px 100px;
    margin-top: 5px;
}

#upper_links li a {
    color: rgba(50,40,31,0.9);
    font-weight: bold;
}

#upper_links li:hover a {
    color: rgba(50,40,31,1);
}

#photo_container ul.gallery {
    list-style: none;
    padding: 10px;
}

#photo_container ul.gallery li {
    float: left;
    padding: 5px;

    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.5);
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    margin: 15px;
}

/* Result page design*/
div#result_search {
    width: 90%;
    margin: 40px auto;
    height: auto;
    color: rgba(51,51,51,.6);

    -webkit-box-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    box-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    padding: 10px;
}

div#result_search form {
    padding-top: 10px;
    width: 80%;
    min-height: 60px;
    position: relative;
    margin: auto;
}

div#result_search ul {
    font-weight: bold;
    margin: auto;
    width: 100%;
    list-style: none;
    text-align: center;
}

div#result_search ul li {
    display: inline-block;
    text-align: center;
    margin-top: 5px;
    margin-left: 10px;
}

div#result_search ul input[type="text"],select {
    width: 140px;
    height: 25px;
    border: none;

    -webkit-box-shadow: 1px 1px 2px rgba(51,51,51,.7)inset;
    box-shadow: 1px 1px 2px rgba(51,51,51,.7)inset;
    border-radius: 5px;
}

div#result_search ul button {
    width: 100px;
    height: 30px;
    background: rgba(50,40,31,1);
    color: orange;
    font-weight: bold;
    border: none;
    border-radius: 10px 100px;
}

div#result_search ul input[type="submit"]:hover {
    background: rgba(50,40,31,.8);
}

#result_container {
    width: 80%;
    margin: 20px auto;
}

#result_container h2 {
    text-align: center;
    width: 100%;
    padding: 0;

    -webkit-box-shadow: 0 -2px 2px rgba(0,0,0,0.6);
    box-shadow: 0 -2px 2px rgba(0,0,0,0.6);
}

table.table {
    background: rgba(222,219,219,1);
    margin: 0 0 0 0;
    border-collapse: collapse;
    width: 100%;
    color: rgba(51,51,51,0.8);
}

table.table label {
    font-weight: bold;
}

table.table td {
    padding: 10px;
}

table.table td:last-child {
    border-right: 1px solid #555;
}

table.table td:first-child {
    border-left: 1px solid #555;
}

table.table tr {
    border-bottom: 1px solid #555;
}

table.table tr:first-child {
    border-top: 1px solid #555;
}

/* Contact Us Style*/
div.address {
    width: 50%;
    float: left;
}

img.map {
    width: 480px;
    margin: 40px 10px 0 0;
}

div.form_container {
    position: relative;
    font-size: 20px;
    color: rgba(50,40,31,.9);
    float: right;
    width: 48%;
}

div.form_container h3 {
    margin: 20px 0 0 20px;
}

div.form_container ul {
    list-style: none;
    width: 100%;
}

div.form_container ul li {
    margin-top: 20px;
}

div.form_container ul input[type="text"],input[type="email"] {
    width: 90%;
    height: 40px;

    -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.6)inset;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.6)inset;
    border: none;
}

div.form_container ul input[type="submit"] {
    width: 130px;
    height: 40px;
    float: right;
    background: rgba(50,40,31,1);
    color: orange;
    font-weight: bold;
    border: none;
    border-radius: 10px 100px;
}

div.form_container ul input[type="submit"]:hover {
    background: rgba(50,40,31,.8);
}

div.form_container ul textarea {
    width: 100%;
    height: 100px;
    -webkit-resize: none;
    -moz-resize: none;
    -webkit-resize: none;
    -moz-resize: none;
    resize: none;

    -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.6)inset;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.6)inset;
    border: none;
}

@media (max-width: 970px) {
    div.address,div.form_container {
    width: 100%;
    float: none;
}

div.form_container {
    border-top: 1px solid rgba(51,51,51,.2);
}

div.form_container ul input[type="text"],input[type="email"] {
    width: 50%;
}

div.form_container ul textarea {
    width: 60%;
}

div.form_container ul input[type="submit"] {
    float: none;
}

}

/*Search page Style*/
ul.show_search {
    padding: 10px;
    list-style: none;
}

ul.show_search li {
    margin-top: 5px;
}

ul.show_search p {
    background: rgba(222,219,219,0.5);
    margin: 0;
    padding: 10px;
}

ul.show_search p a {
    color: green;
    font-size: 13px;
}

#result_search button:hover {
    background: rgba(50,40,31,.8);
}


/*Footer style*/
body img.scroll_top {
    position: fixed;
    top: 80%;
    right: 1%;
    cursor: pointer;
    display: none;
    z-index: 200;
}

#footer {
    width: 100%;
    min-height: 200px;
    background: rgba(50,40,31,1);
    margin-top: 10px;
    position: relative;
}

#footer a.admin_link {
    color: rgba(225,226,223,1);
    float: left;

    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
    padding: 5px;
}

#footer a.admin_link:hover {
color: orange;
}
#footer ul.bottom_navigation {
    list-style: none;
    text-align: center;
    padding-top: 15px;
}

ul.bottom_navigation li {
    background: rgba(0,0,0,.3);
    padding: 5px 10px 5px 10px;
    margin-top: 2px;
    display: inline-block;
    margin-left: 3%;
    border-radius: 8px;

    -webkit-transition:border-radius .7s;
    -moz-transition:border-radius .7s;
    -o-transition:border-radius .7s;
    -ms-transition:border-radius .7s;
    transition:border-radius .7s;
}

ul.bottom_navigation li:hover {
    border-radius: 20px 200px;
    background:orange;
}

ul.bottom_navigation li a {
    color: orange;

    -webkit-transition: all .7s;
    -moz-transition: all .7s;
    -o-transition: all .7s;
    -ms-transition: all .7s;
    transition: all .7s;
    font-size: 16px;
}

ul.bottom_navigation li:hover a {
    color: rgba(50,40,31,1);
}

#footer .copy_right {
    position: absolute;
    bottom: 0;
    width: 100%;
}

#footer .copy_right p,#footer .copy_right a {
    text-align: center;
    font-size: 12px;
    color: orange;
}

#footer .copy_right p a {
    color: rgba(225,226,223,1);
}

#footer .copy_right p a:hover{
    text-decoration:underline;
} 
    
div.google_add{
    width:728px;
    margin:10px auto;
   
}
