/*
		Theme Name: American College of Dubai
		Theme URI: http://a2ztechnologies.in
		Author: The Developing Team
		Version: 1.0
	*/

    /*--------------------- WordPress Core Start ------------------------- */
    .alignnone {
        margin: 5px 20px 20px 0;
    }
    
    .aligncenter,
    div.aligncenter {
        display: block;
        margin: 5px auto 5px auto;
    }
    
    .alignright {
        float:right;
        margin: 5px 0 20px 20px;
    }
    
    .alignleft {
        float: left;
        margin: 5px 20px 20px 0;
    }
    
    a img.alignright {
        float: right;
        margin: 5px 0 20px 20px;
    }
    
    a img.alignnone {
        margin: 5px 20px 20px 0;
    }
    
    a img.alignleft {
        float: left;
        margin: 5px 20px 20px 0;
    }
    
    a img.aligncenter {
        display: block;
        margin-left: auto;
        margin-right: auto
    }
    
    .wp-caption {
        background: #fff;
        border: 1px solid #f0f0f0;
        max-width: 96%; /* Image does not overflow the content area */
        padding: 5px 3px 10px;
        text-align: center;
    }
    
    .wp-caption.alignnone {
        margin: 5px 20px 20px 0;
    }
    
    .wp-caption.alignleft {
        margin: 5px 20px 20px 0;
    }
    
    .wp-caption.alignright {
        margin: 5px 0 20px 20px;
    }
    
    .wp-caption img {
        border: 0 none;
        height: auto;
        margin: 0;
        max-width: 98.5%;
        padding: 0;
        width: auto;
    }
    
    .wp-caption p.wp-caption-text {
        font-size: 11px;
        line-height: 17px;
        margin: 0;
        padding: 0 4px 5px;
    }
	
	/*--------------------- WordPress Core End ------------------------- */
	
/* BASIC RESET */
ul,ol,li,h2,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input{
	margin:0; 
	padding:0;
}

/* HTML ELEMENTS */
body { 
	font: 13px 'PT Sans',sans-serif;
	letter-spacing:1; 	
	background-color: rgba(22, 30, 131, 10);
	background: rgba(22, 30, 131, 10);
}

/* COMMON CLASSES */
.break { 
	clear:both; 
}

/* HEADER */
#header { 
	height:100%; 
	
}

.headerimg { 
	background-position: center top; 
	background-repeat: no-repeat; 
	background-size: 100%;
	width:100%; 
	height:871px; 
	position:absolute; 
}

/* NAVIGATION */
#nav-outer { 
	height:110px; 
	padding-top:11px; 
	position:relative; 
	top:24px; 
	background-image:url("imgs/headerbg.png"); 
}


#navigation { 
	height:100px; 
	width:960px; 
	margin:0 auto; 
	background-image:url("http://www.acd.ae/wp-content/themes/acd/imgs/logo.png"); 
	background-position:top left; 
	background-repeat:no-repeat; 
}

/* HEADER TEXT */


#headertxt { 
	width:1000px; 
	margin: 0 auto; 
	clear:both; 
	height: 150px;
	position: absolute; 
	top: 193px;
}

#firstline { 
	color: white; 
	font-size:26px;
	padding-top: 4px;
	padding-right: 13px;
	padding-bottom: 7px;
	float:left; 
	display:block;
	font-weight: bold;
	width: 416px;
}

#secondline { 
	color: white; 
	text-decoration:none; 
	font-size:16px;
	padding-top: 0;
	padding-right: 13px;
	padding-bottom: 10px;
	float:left; 
	display:block; 
	clear:both;
	width: 344px;
	
}

#secondline:hover { 
	text-decoration: none; 
	color: #eeeeee; 
}

.pictured { 
	color:#FFF; 
	font-size:14px; 
	text-transform:uppercase; 
	float:left; 
	display:block; 
	clear:both; 
	margin-top: 5px;
}

.pictured a { font-size:14px; font-style:italic; letter-spacing:0; text-transform:none; color:#FFF; text-decoration:none; }
.pictured a:hover { text-decoration: none; }

.form-control { width:90%; border:1px solid #CCC; border-radius:5px; height:30px; }
textarea.form-control { height:100px; }
.btn-default,#submit { background:#CCC; border:1px solid black; padding:5px 10px; margin-top:10px; }
.children {  padding-left: 30px; }
.contact-left { float:left; }
#ss_pages li {  padding-bottom: 7px; }
.mbmainmenu-wrapper li a {  border-top: 1px solid #fff;  color: #fff;  display: block;  font-size: 1.2em;  padding: 10px 0 10px 20px;  text-decoration: none;text-align:left; }
.blog-category { border-bottom:1px solid silver; padding-bottom:20px; }
.blog-category:last-child { border:none; }
.h1-font { font-size:22px;  }
.blog-category {  margin-bottom: 40px; }
#menu-mobile { width:100%; }
#respond input { margin-bottom:10px; }


/* CONTROLS */
.btn { height:46px; width:35px; cursor:pointer; }
#back {
	background: url("imgs/btn_back.png") no-repeat;
	float: left;
	padding-right: 161px;
}
#next {
	background: url("imgs/btn_next.png") no-repeat;
	float: right;
	padding-left: 0px;
}
#control { background-image:url("imgs/btn_pause.png"); }

/* HEADER HAVIGATION */
#headernav-outer { position: absolute; top: 405px; margin:0 auto; width: 996px;}

#headernav {}

.full-width { width:100%; }
#footertext .list-inline li { display:inline; border-right:1px solid gray; padding:0 10px; }
#footertext .list-inline li:last-child { border:none; }
#footertext .list-inline { margin-bottom:5px; }

ul#menu1 ul.sub-menu .submenutable li {  display: block !important; list-style-type: none; text-align:left; padding-bottom:6px; }
#menubox { list-style:none; }
#menubox li a { border-bottom: 1px dotted silver;  color: #161e83;  cursor: pointer; }
#menubox li a:hover { color: red; }
#menubox li.current_page_item a { color:black; }
a.submenucontent {
 
}

.widget { list-style:none; }

@media only screen and (min-width:1441px) {
.headerimg { height:100%; }
	
#headernav-outer {
	top: 357px;
}
}

@media screen and (max-height: 440px), (max-width: 493px){

#headernav-outer {
	display: none;
}
#headernav { display: block; }

/* HEADER TEXT */
#headertxt { 
	display: block;
}

#firstline { 
	display: block;
	font-size:16px;
	width: 100%;
}

#secondline { 
	display: block;
	font-size:13px;
	width: 100%;
}

.pictured { 
	display: block;
}
}


@media only screen and (max-width: 1010px){
	.headerimg {
		background-position: 0 90px;
		background-size: 100%!important;
	}
	
	#headertxt {
		position: absolute;
		top: 150px;
		padding-left: 20px;
		 width: 90%;
	}
	
	#headernav-outer {
	position: absolute;
	width: 100%;
	float: right;
	top: 317px;
	
	}
	
	#headernav {
	padding-left: 0px;
	}

}