/*
Theme Name: Golf Sarge 72
Author: Prima
Version: 1.0
*/
body {
    background: #0D3B2E;
}

#content {
    background: #ffffff;
    padding: 0 0 50px;
}

footer {
    background: #0D3B2E;
    color: #fff;
    font-size: 14px;
    padding: 20px 0;
    text-align: center;
}

footer div[class^='col'] {
    margin: 20px 0;
}

#splash {
    background: url(images/banner-home.jpg) no-repeat center;
    background-size: cover;
    height: 350px;
    /*height: calc(100vh - 65px);*/
}

#splash .container {
    /*display: table*/;
    height: 100%;
}

.splash-content {
    /*display: table-cell;*/
    text-align: center;
    /*vertical-align: middle;*/
    position: relative;
    top: 48%;
}

#splash h1 {
    color: #0D3B2E;
    font-size: 60px;
    font-weight: 300;
    margin: 0;
    display: none;
}

#splash .divider {
    background: #0D3B2E;
    height: 1px;
    margin: 30px auto 80px;
    width: 45%;
    display: none;
}

#splash .btn {
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    text-transform: uppercase;
    color: #0D3B2E;
    background: #fff;
}

@media screen and (max-width: 767px) {
    #splash {
        height: calc(100vh - 65px);
    }
    #splash h1 {
        font-size: 36px;
    }
    #splash .divider {
        margin-bottom: 30px;
    }
}

#banner {
    background: url(https://www.golfdesarge.com/wp-content/themes/custom/banner-default.jpg) no-repeat center;
    background-size: cover;
    height: 281px;
}

.divider {
    background: #CFE580;
    height: 3px;
    margin: 20px auto 50px;
    width: 170px;
}

.divider-red {
    background: #F56A4D;
}

h1, h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 0;
    text-align: center;
}

.feature {
    display: block;
}

.feature:focus,
.feature:hover,
.feature:active {
    text-decoration: none;
}

.feature h3 {
    font-size: 16px;
    margin: 12px 0;
    text-transform: uppercase;
    text-align: center;
}

.feature .img-wrap {
    background: #fff;
}

.feature .text-wrap {
    color: #fff;
    height: 105px;
    text-align: center;
    padding: 1px 15px;
}

@media screen and (max-width: 1199px) {
    .feature .text-wrap {
        height: 125px;
    }
}

@media screen and (max-width: 991px) {
    .feature .text-wrap {
        height: 145px;
    }
}

@media screen and (max-width: 767px) {
    .feature .text-wrap {
        height: auto;
    }
}


.feature p {
    font-size: 14px;
}

.feature img {
    width: 100%;
}

.feature.blue { background: #429DB0; }
.feature.orange { background: #F56A4D; }
.feature.pink { background: #F04861; }

@media screen and (max-width: 767px) {
    .row-eq-height {
        display: block;
    }
    .feature {
        margin-bottom: 20px;
    }
}

.article {
    box-shadow: 1px 1px 4px #bbb;
    margin-bottom: 40px;
}

.article img {
    height: auto;
    width: 100%;
}

.article .text-wrap {
    padding: 15px;
}

.article .title {
    margin: 5px 0;
    height: 44px;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article .date {
    color: #aaa;
    font-size: 12px;
    font-weight: bold;
    margin: 5px 0;
}

.article .excerpt {
    font-size: 13px;
    height: 122px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article .more {
    font-size: 13px;
    margin-bottom: 0;
    text-align: center;
}

@media screen and (max-width: 1199px) {
    .article .excerpt {
        height: 76px;
    }
}

@media screen and (max-width: 767px) {
    .article .title,
    .article .excerpt {
        height: auto;
    }
}

h1 > small,
h2 > small {
    color: #999;
    display: block;
    font-size: 26px;
    font-weight: 300;
    text-align: center;
}

#lessons {
    color: #0d3b2e;
    background: #eee;
    margin: 30px 0;
    padding: 30px 0;
    text-align: center;
}

#lessons h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 0;
}

#lessons h2 > small {
    color: #0d3b2e;
}

#lessons p {
    font-size: 14px;
    margin: 10px 0 30px;
}

#lessons .btn {
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 25px;
}

#maps p {
    color: #999;
    font-size: 22px;
    font-weight: 300;
    margin: 0 0 30px;
    text-align: center;
}

#blog-list article {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.post-thumbnail img {
    height: auto;
    width: 100%;
}

.post-content h2 {
    display: inline-block;
    font-size: 20px;
    margin: 10px 0;
    text-align: left;
}

.post-content .post-date {
    color: #aaa;
    font-size: 14px;
    margin: 0  0 10px;
}

.post-content .post-text {
    font-size: 14px;
}

.blog-nav {
    margin: 40px 0 0;
}

.nav-next a,
.nav-previous a {
    background: #0d3b2e;
    border-color: #08261e;
    border: 1px solid transparent;
    border-radius: 20px;
    color: #fff;    
    font-weight: bold;
    padding: 8px 25px;
}

.btn {
    border: 1px solid transparent;
    border-radius: 20px;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 0;
    padding: 8px 25px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}
.btn-default {
    background: #0d3b2e;
    border-color: #08261e;
    color: #fff;
}
.btn-default:focus,
.btn-default.focus {
  color: #ffffff;
  background-color: #04110d;
  border-color: #000000;
}
.btn-default:hover {
  color: #ffffff;
  background-color: #04110d;
  border-color: #000000;
}
.btn-default:active,
.btn-default.active {
  color: #ffffff;
  background-color: #04110d; 
  border-color: #000000;
}

a.btn:active,
a.btn:focus,
a.btn:hover {
    text-decoration: none;
}

footer a {
    color: #fff;
}

footer a:hover,
footer a:active,
footer a:focus {
    color: #cdea80;
    text-decoration: underline;
}

/**
*
*/
table {
    margin: 0 auto;
    text-align: left;
}

th {
    text-align: center;
}
td + td {
    text-align: center;
}

td + td,
th + th { border-left: 1px solid #ccc; }

td, th { padding: 20px; vertical-align: middle; }

table tbody > tr:nth-child(2n+1) {
    background: #f4f4f4;
}

.table-green tbody > tr:nth-child(2n+1) {
    background: #C6E295;
}

.table-red tbody > tr:nth-child(2n+1) {
    background: #FFAA9A;
}

.table-green td + td,
.table-green th + th {
    border-color: #9bcc45;
}

.table-red td + td,
.table-red th + th {
    border-color: #333;
}

@media screen and (max-width: 767px) {
    table {
        width: 100%;
    }
    
    th {
        display: none;
    }
    
    td::before {
        content: attr(data-th);
        display: block;
        font-weight: bold;
    }

    td {
        display: block;
        padding: 8px 20px;
    }    
    
    td {
        text-align: center;
    }
    td + td,
    th + th { border-left: 0 none; }
}

.alignleft {
	float: left;
	margin: 0 1.75em 0 0;
}

.alignright {
	float: right;
	margin: 0 0 0 1.75em;
}

.aligncenter {
	clear: both;
	display: block;
    margin: 0 auto;
}

.underline {
    text-decoration: underline;
}

.p0 {
    padding: 0;
}

/**
 *
 */
input[type="email"],
input[type="password"],
input[type="text"],
textarea {
    color: #212121;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Lato';
    font-size: 14px;
    margin: 6px 0 0;
    padding: 4px 8px;
    width: 100%;
}

div.wpcf7-response-output {    
    border-radius: 4px;
    margin: 0;
    padding: 10px 15px;
    font-size: 14px;
}

div.wpcf7-validation-errors {
    background-color: #fcf8e3;
    border: 1px solid #faebcc;
    color: #8a6d3b;
}

div.wpcf7-mail-sent-ok {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
}

span.wpcf7-not-valid-tip {
    color: #a94442;
    font-size: 14px;
}

#login-form,
#resetpwd-form {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 20px;
}

/**
 *
 */
#seminaire-photos {
    background: url(https://www.golfdesarge.com/wp-content/themes/custom/bg-rouge.png) no-repeat;
    color: #fff;
    height: 514px;
    margin: 70px 0;
    padding: 74px 0;
    text-align: center;
}

#seminaire-photos img {
    border: 10px solid #fff;
}

@media screen and (max-width: 1199px) {
    #seminaire-photos {
        height: auto;
        padding: 74px 0 15px;
    }
}

@media screen and (max-width: 767px) {
    #seminaire-photos {
        background: #F04861;
        height: auto;
        padding: 15px 0;
    }
    
    #seminaire-photos img {
        margin-bottom: 15px;
    }
}

@media screen and (min-width: 768px) {
    #competitions {
        background:url(https://www.golfdesarge.com/wp-content/themes/custom/bg-caddie.jpg) no-repeat bottom right;
        margin-bottom: -50px;
        padding-bottom: 50px;
    }
}

#partenaires {
    margin: 60px 0 0;
    text-align: center;
}