/*
 Theme Name:   SACS
 Description:  SACS theme Divi child
 Author:       Wendy Ribeiro
 Author URI:   http://sacshigh.org.za
 Template:     Divi
 Text Domain:  sacs
*/

/* Logo */

#logo { float: left; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; margin-bottom: 20px; }
.et_fixed_nav #logo { max-height: 120px; margin-bottom: 0; }
.et-fixed-header #logo { max-height: 80px; }

/* Header */

#main-header { padding: 13px 0 10px 0; }

#main-header nav#top-menu-nav { padding-top: 0;}

#et-info { float: right; padding-bottom: 10px; }

#et-top-navigation { 
  float: left;
  margin-top: 140px;
  padding-top: 0!important;
  padding-left: 0!important 
}

#et_top_search {
  position: absolute;
  right: 0;
  margin: 0;
  margin-top: 10px;
  margin-right: -20px;
} 

#et_search_icon:before { top: -12px; }

.nav li ul { top: 72px; } 

#top-menu li { 
  padding-right: 12px!important;
  padding-right: 18px;
  font-weight: normal 
}

#top-menu a:hover { color: #D89A37; }

.et-search-form { top: 56px; }

.et_mobile_menu li a { color: #fff; }

/* Home page blurbs */
.et_pb_row { padding: 0; }

/* Page elements */
a:hover { color: #0060af; }

a.moreButton { display: block; border: 1px solid #0060af; padding: 5px; margin-top: 15px; max-width: 100px; margin-left: 33%; transition: all 0.2s ease 0s; border-radius: 2px; }
a.moreButton:hover { display: block; border: 1px solid #0060af; background-color: #0060af; color: #fff; border-radius: 2px;}

a.moreButtonPage { display: block; border: 1px solid #0060af; padding: 5px; margin-top: 10px; max-width: 100px; transition: all 0.2s ease 0s; text-align: center; border-radius: 2px; }
a.moreButtonPage:hover { display: block; border: 1px solid #0060af; background-color: #0060af; color: #fff; border-radius: 2px; }

h1, h2, h3, h4, h5, h6  { color: #00194c; }
h2 { font-size: 22px; padding-top: 10px; padding-bottom: 10px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }

p:last-of-type { padding-bottom: 15px; }

.main_title { margin-bottom: 15px; }

.et_pb_post .entry-content, .project .entry-content { padding-top: 35px; margin-bottom: 25px; }

.et_pb_widget a:hover { color: #0060af; }

#main-content .container { padding-top: 50px; }

p:first-child { margin-top: 15px; }

hr { color: #e2e2e2; }

/**** Download links ***/

ul.downloads { display: inline; }
li.downloads { line-height: 20px; padding: 0 0 20px 0; list-style-type: none; }
a.downloadLink { padding: 20px; background-color: #00194a; color: #fff; text-decoration: none; text-align: center; display: block; }
a.downloadLink:hover { padding: 20px; background-color: #0060ad; color: #fff; text-decoration: none; text-align: center; display: block; }

@media only screen and ( max-width: 579px ) {
  .et_fixed_nav #main-header { min-height: 130px; }
}

/*-------------------[768px]------------------*/
@media only screen and ( max-width: 980px ) and ( min-width: 580px ) {
  .et_fixed_nav #main-header { min-height: 140px; }
}

@media only screen and ( max-width: 980px ) {
  .et-fixed-header #logo { max-height: 75px; }
  #et_search_icon:before { top: 0px; }	
  #et-top-navigation { margin-top: 25px; }
  .et_header_style_left #et-top-navigation { float: right }
  .et_header_style_left #et-top-navigation .mobile_nav { margin-top: 3px; margin-right: 10px } 
  a.moreButton { margin-left: 39%; } 
  .et_pb_slide_with_image .et_pb_slide_description, .et_pb_slide_video { width: 100%; padding-top: 40px; }
} 

/*-------------------[480px]------------------*/
@media only screen and ( max-width: 479px ) {
	.et_fixed_nav #logo { max-height: 70px; }
	#et-top-navigation { margin-top: 10px; }
	a.moreButton { margin-left: 30%; } 
	.et_pb_slide_with_image .et_pb_slide_description { display: none !important;}
}