/*
 Theme Name:     CreDec
 Description:    Divi Child Theme
 Template:       Divi
 Version:        1.0.6
*/
.center {
	text-align: center;
}
#main-content {
	min-height: 800px;
    min-height: 100vh;
}

/*Remove sidebar divider*/
#main-content .container:before {
    display: none;
}

/*Form styling*/
body .gform_wrapper .gfield_description,
body .gform_wrapper .gsection_description {
    font-size: 1em;
}
body .gform_wrapper {
    font-size: 16px;
}
.gform_description p {
    padding-bottom: 1em !important;
}

/*Add a sub-section style for Gravity Forms*/
body .gform_wrapper .sub-section {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

body .gform_wrapper .sub-section h2 {
    margin-bottom: 12px !important;
    font-weight: 600;
    font-size: 1.15em;
}

body .gfield_description > ul li {
    list-style-type: disc !important;
}

/*Logged in homepage*/
.logged-in.home article {
    max-width: 768px;
}

.entries-list {
	margin-bottom: 25px;
    vertical-align: top;
	padding: 0 15px;
}

@media (min-width:980px) {
	.entries-list {
		margin-bottom: 55px;
	}
	
}
#new-entry-list li {
    display: inline-block;
}

#new-forms {
	text-align: center;
    margin-bottom: 105px;
}
.home .form-panel p {
    padding-bottom: 30px;
}

.home .form-panel h2 {
    padding: 0;
    margin-bottom: 10px;
}

#new-entry-list li a {
    display: table-cell;
    vertical-align: middle;
    width: 185px;
    height: 80px;
}

.panel-container {
	display: none;
}
.form-entries {
    padding: 0 !important;
}

.form-entries > li {
    margin-bottom: 15px;
}

.form-entries li {
    list-style: none;
}

.form-entries h2 {
    margin-bottom: 18px;
}

.entries-list h2 {
    cursor: pointer;
    position: relative;
}

.entries-list h2:after {
    content: "+";
	margin-left: 15px;
}

.entries-list.expanded h2:after {
    content: "–";
}

@media (max-width:475px) {
	.home .form-panel h2 {
		font-size: 20px;
		margin-left: -20px;
		margin-right: -30px;
		text-align: center;
	}

	.entries-list h2:after {
		margin-left: 6px;
	}
}

/*New entry list*/
#new-entry-list li {
    list-style: none;
    font-size: 16px;
    margin-bottom: 8px;
}

.home #new-entry-list {
    padding: 0;
    margin-bottom: 40px;
}

/*Login form*/

#loginform label {
    display: block;
}

#loginform input[type=text], #loginform input[type=password] {
    border-radius: 5px;
    padding: 9px 0;
    width: 100%;
}

#loginform, .login-form, .post-48, .post-46, .home article {
    max-width: 405px;
    margin: 0 auto;
}

#loginform .lost-pass {
    float: right;
}

.form-group:last-child {
    color: #edeff1;
}
.login-form .login-field-icon {
    top: 8px;
}

.lostp {
    margin-left: -10px;
}

.home h2 {
    margin: 18px 0;
}

.home:not(.logged-in) h2:first-child {
    margin-bottom: 25px;
}

/*Button styling*/
.button, .btn-primary, #new-entry-list li a, .wpcf7-submit {
    background-color: #005aa1 !important;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s;
}

.button:hover, .btn-primary:hover, #new-entry-list li a:hover, .wpcf7-submit:hover {
    background-color: #0386be !important;
}

/*Partial Entries*/
.partial_entry_warning {
    display: none;
}

body:not(.logged-in) h1 {
	text-align:center;
}

/*Entry view*/
.entry-list {
    padding: 0!important;
}

.entry-list li {
    list-style: none;
    margin: 10px 0;
}

.entry-list .field-name {
    font-weight: bold;
}

.entry-list h4 {
    padding: 15px 0 0 0;
    font-weight: bold;
}

.entry-list .multi-field-name {
    color: #000;
    font-weight: bold;
    margin-bottom: 2px;
    font-size: 15px;
}

.entry-list .multi-field-name + li {
    margin-top: 0;
}

/*Contact form*/
#post-74 {
    text-align: center;
}

div.wpcf7 {
    max-width: 425px;
	margin: 0 auto;
	text-align: left;
}

.wpcf7 input, .wpcf7 textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
}

.wpcf7 input {
    padding: 10px;
    border-radius: 5px;
}

.wpcf7 p:nth-child(4) {
    padding: 0;
}

/*Help link*/
#help-hover {
    position: fixed;
    bottom: 25px;
    right: 25px;
    text-align: center;
}

#help-hover .help-icon:after {
    font-family: Dashicons;
    content: "\f223";
    font-size: 60px;
    display: block;
	margin-left: -10px;
    line-height: 40px;
}

.help-icon {
    color: #005aa1;
    cursor: pointer;
    transition: all 0.5s;
	display: block;
    background-color: #fff;
    border-radius: 50%;
    width: 40px;
	height: 40px;
    margin: 0 auto;
}

.help-icon:hover {
    color: #0386be;
}

@media (max-width:500px) {
	.help-text {
		display: none;
	}
	#help-hover {
		bottom: 15px;
		right: 15px;
	}
}

body .gform_wrapper .ginput_container_address select {
    margin: 2px 0 !important;
    padding: 6px 0 6px 3px !important;
}

.gform_wrapper li.hidden_label .ginput_container_address input {
    margin-top: 0;
}

.admin-bar #new-entry-list li:first-child a {
    width: 100px;
}

.admin-bar #new-entry-list li:nth-child(2) a,
.admin-bar #new-entry-list li:nth-child(3) a {
    width: 135px;
}

.admin-bar #top-menu li {
    padding-right: 16px;
}