/*
 Theme Name:   MalacSoc
 Theme URI:
 Description:
 Author:
 Author URI:
 Template:     twentythirteen
 Version:      1.0.0
 Text Domain:
*/

@import url("../twentythirteen/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */


/* COLOURS */
/*

-Light

3473AC
a6c5fe
7AACCD
BABBBD -grey


4d4d4d  -grey
00529c <--

00305C
003769
082E4F
034695
212961

740223 -darkred
341440 -dark purple

-Dark

*/

/* GENERAL */

h1, h2, h3, h4, h5, h6 {
    font-family: Georgia,serif;
	/*font-family: 'Vollkorn', serif;*/
	/*font-family: 'Libre Baskerville', serif;*/
	font-family: 'Lusitana', serif;
}
html,
button,
input,
select,
textarea {
	/*font-family: "Source Sans Pro", Helvetica, sans-serif;*/
	/*font-family: "Open Sans", Helvetica, sans-serif;*/
}

button {
    border-color: #00305C;
    border-radius: 6px;
}
input, textarea {
    border: 2px solid #E6EBF5;
    border-radius: 6px;
}
button, input[type="submit"], input[type="button"], input[type="reset"] {
    background: #00529C;
    background: transparent linear-gradient(to bottom, #A6C5FE 0%, #00529C 100%) repeat scroll 0% 0%;
    border-color: #00305C;
}
button:hover, input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover {
    background: #A6C5FE;
}
button:active, input[type="submit"]:active, input[type="button"]:active, input[type="reset"]:active,
button:focus, input[type="submit"]:focus, input[type="button"]:focus, input[type="reset"]:focus {
    background: #00529C;
    background: transparent linear-gradient(to bottom, #A6C5FE 0%, #00529C 100%) repeat scroll 0% 0%;
    border-color: #00305C;
}

button:disabled,
button[disabled] {
  opacity: 0.5;
}
button:disabled:hover,
button[disabled]:hover{
  background: #00529C;
  background: transparent linear-gradient(to bottom, #A6C5FE 0%, #00529C 100%) repeat scroll 0% 0%;
  border-color: #00305C;
}

a,
.entry-meta a,
.entry-content a,
.comment-content a {
    color: #00305C;
}
a:hover,
.entry-meta a:hover,
.entry-content a:hover,
.comment-content a:hover {
    color: #a6c5fe;
}

.sidebar .site-content {
	min-height: 900px;
}
.entry-content img.alignright, .entry-content .wp-caption.alignright {
    margin-right: 0px;
}
.entry-content img.alignleft, .entry-content .wp-caption.alignleft {
	margin-left: 0px;
}
.wp-caption .wp-caption-text, .entry-caption, .gallery-caption {
	text-align: center;
}
hr {
    background-image: none;
    background-color: #E6EBF5;
    border: 0px none;
    height: 1px;
    margin: 34px 0;
}
.page-header {
	background-color: #E6EBF5;
}
.sidebar .entry-header,
.sidebar .entry-content,
.sidebar .entry-summary,
.sidebar .entry-meta {
    padding-left: 10px;
}

.site-content .publications .date:before {
	content: '—';
	padding: 0 10px;
}
.site-content .publications .date {
	font-style: italic;
}

/* MEMBERSHIP PAYMENTS */
.member_form_field {
  margin-bottom: 10px;
}
.member_form_field label {
  display: block;
  font-weight: bold;
}
.member_form_field input[type="text"], .member_form_field input[type="email"], .member_form_field input[type="tel"] {
  width: 330px;
}
.member_form_radiofield label {
  font-weight: normal;
  display: block;
}
.member_form_total {
  font-weight: bold;
  font-size: 140%;
  margin: 10px 0;
}
#new_membership_price {
  border: 0;
  background: transparent;
  font-weight: bold;
}
.new_membership_invalid_field {
  border-color: red;
}
.member_form_error {
  color: red;
  margin: 10px 0;
}


/* HEADER */
.site-title {
	color: #fff;
    font-weight: normal;

	margin-left: 30%;
	text-align: left;
	line-height: 1.2;
	font-size: 60px;
	padding: 44px 0px 10px;
}
.home-link .site-title:hover {
	text-decoration: none;
}
.site-header {
    /*background-color: #0052a3 !important;*/
    background-color: #00305C !important;
    margin-top: -12px;
}
.site-header .home-link {
    min-height: 216px;
}
.navbar {
    background-color: #0052a3;
}
.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
    color: #fff;
    font-style: normal;
}
.nav-menu .current_page_item > a:before,
.nav-menu .current_page_ancestor > a:before,
.nav-menu .current-menu-item > a:before,
.nav-menu .current-menu-ancestor > a:before  {
	content: '➤';
	position: absolute;
	left: 6px;
	top: 14px;
}

.nav-menu li a {
    color: #eef;
    padding-left: 24px;
    padding-right: 24px;
}
.nav-menu li:hover > a, .nav-menu li a:hover, .nav-menu li:focus > a, .nav-menu li a:focus {
    background-color: #00305C;
}
.nav-menu .sub-menu, .nav-menu .children {
    background-color: #00305C;
}
ul.nav-menu ul a:hover, .nav-menu ul ul a:hover, ul.nav-menu ul a:focus, .nav-menu ul ul a:focus {
    background-color: #00529c;
}
.menu-toggle,
.menu-toggle:hover {
   color: #fff !important;
}
.nav-menu .sub-menu,
.nav-menu .children {
	border: 2px solid #e6ebf5;
	border-top: 0;
}


/* SIDEBAR */
.widget a {
    color: #00305C;
}
.widget a:hover {
    color: #00529c;
}
.widget {
    background-color: #e6ebf5;
}
.widget .widget-title {
    font: normal 700 20px 'Lusitana', serif;
    margin: 0px 0px 10px;
}
.archive .site-main .sidebar-container,
.search .site-main .sidebar-container{
	top: 124px;
}
.isw_block_widget {
	padding-bottom: 1px;
}

/* FOOTER */
.site-footer {
    background-color: #00529c;
    /*background-color: #00305C;*/
    color: #A6C5FE;
}
.site-footer .sidebar-container {
	padding-bottom: 0;
    /*background-color: #00305C;*/
    /*background-color: #00529c;*/
    background-color: #E6EBF5;
}
.site-footer .widget {
	color: #000;
}
.site-footer .widget a,
.site-footer a {
    color: #A6C5FE;
}
.site-info {
	padding: 20px 0px;
}
.site-info a {
	display: none;
}
.site-info div a {
	display: inline;
}
.site-info ul {
	display: inline;
	list-style: none outside none;
	padding: 0;
	margin-top: 0;
	margin-right: 0px;
}
.site-info ul li {
	display: inline;
	margin: 0 4px;
}
.site-footer .widget-title,
.site-footer .widget-title a {
    color: #141412;
    font: normal 700 20px 'Lusitana', serif;
}
.site-footer .sidebar-container .widget a,
.site-footer .sidebar-container a {
    color: #00305C;
}
.sidebar .site-footer .widget-area {
    max-width: 1040px;
    width: 100%;
    left: auto;
}
.sidebar .site-footer {
    text-align: center;
}
#tertiary .widget-title {
	background: transparent url("/wp/wp-content/uploads/2014/09/logo-dark-1.png") no-repeat left top;
	background-size: 30px 30px;
	padding-left: 36px;
	line-height: 32px;
}
#secondary .widget-title {
	/*background: transparent url("/wp/wp-content/uploads/2014/09/logo-360-white-transparent.png") no-repeat left top;*/
	background: transparent url("/wp/wp-content/uploads/2014/09/logo-dark-1.png") no-repeat left top;
	background-size: 30px 30px;
	line-height: 32px;
	padding-left: 32px;
	margin-left: -5px;
    /*width: 320px;*/
}
#secondary .textwidget {
	margin-top: 56px;
}
#secondary .textwidget p {
    margin-bottom: 14px;
}

.site-footer .publications {
	float: left;
	margin-left: 30px;
}
.site-footer .publications a {
	display: block;
	font-weight: bold;
}
.site-footer .publications .date {
	display: block;
	font-style: italic;
}
.site-footer .widget.isw_block_widget,
.sidebar .site-footer .widget.isw_block_widget {
    width: 476px;
}
.site-footer .widget.isw_block_widget img,
.sidebar .site-footer .widget.isw_block_widget img {
    float: left;
}

.error404 .page-wrapper {
	background-color: #00529C;
	color: #fff;
}
.error404 .page-title:before {
	color: #A6C5FE;
	content: "404";
	line-height: 1;
	left: 0;
	right: 0;
	font-size: 160px;
	font-weight: bold;
	font-family: 'Lusitana', serif;
}

/* HOME */
.home .entry-header {
	display: none;
}
.home .site-content .gallery-size-medium {
    display: table;
    margin: 0px auto 20px;
}
.home .site-content .gallery-item {
    margin: 0px 20px;
}
.home .site-content .gallery-caption {
	/*background-color: #E6EBF5;*/
	background-color: #fff;
	color: #000;
	font-size: 14px;
	line-height: 1.3;
	margin: 0;
	max-height: 50%;
	opacity: 1;
	padding: 2px 8px;
	position: static;
	bottom: auto;
	left: auto;
	/*text-align: left;*/
	text-align: center;
	width: 100%;
	max-width: 253px;
}
.home .site-content .gallery-caption:before {
	display: none;
}

/* ADMIN */
.edit-link {
	display: none;
}
.edit-link a {
	color: #740223;
}




@media (max-width: 999px) {
	.sidebar .entry-header,
	.sidebar .entry-content,
	.sidebar .entry-summary,
	.sidebar .entry-meta {
	    padding-left: 0px;
	}

	.error404 .page-title {
	    padding: 180px 100px 100px 100px;
	}
}

@media (max-width: 767px) {
	.site-title {
		padding: 20px 0;
		font-size: 40px;
	}
	.site-header .home-link {
    	min-height: 0;
	}
	.site-header {
		background-position: 50% 10px !important;
	}
	.gallery-caption {
		display: block;
	}
	.nav-menu .sub-menu,
	.nav-menu .children {
		border: 0;
	}

	.toggled-on .nav-menu li > ul a {
		color: #fff;
	}
	.toggled-on .nav-menu li:hover > a,
	.toggled-on .nav-menu .children a {
		color: #fff;
	}
	.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #00305C;
		color: #fff;
	}

	.toggled-on .nav-menu > li a:focus,
	.toggled-on .nav-menu > ul a:focus {
		background-color: #00305C;
		color: #fff;
	}
}
@media (max-width: 643px) {
	.nav-menu .sub-menu,
	.nav-menu .children {
		clip: inherit;
		overflow: inherit;
		height: inherit;
		width: inherit;
	}
}

@media (max-width: 480px) {
	.site-footer .publications {
		clear: both;
	}
	.site-header {
		background-position: 40% 60px !important;
	}
}
