/*
Theme Name: Canberra Games Society Theme
Theme URI: http://cgs.asn.au
Author: Rachel Khoong
Author URI: http://www.rachelkhoong.com
Description: Custom theme designed and developed for Canberra Games Society in 2018.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: -
Text Domain: cgs-wptheme

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/



/*
Green: #395e2d
Yellow: #a7ad0d
background:linear-gradient(120deg, #395e2d, #a7ad0d);
*/

/*GENERAL ==========================================*/

*{
    margin:0;
    padding:0;
}

body{
    background-image:url(img/background.jpg);
    background-size: cover;
    font-family: "oswald", sans-serif;
    background-attachment: fixed;
}

h1{
    font-size:4em;
    font-weight:700;
    color:green;
    background: -webkit-linear-gradient(-45deg, #395e2d, #a7ad0d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height:1;
    text-transform:uppercase;
}


h2{
    font-size:1.5em;
}

h4{
    margin-bottom:0;
}

p{
    font-weight:300;
    font-size:1.2em;
    line-height:1.3em;
}

p span{
    text-align:left !important;
}

.main-container ul li{
    margin-left:20px;
    font-weight:300;
    font-size:1.2em;
    line-height:1.3em;
}

.main-container ul ul li{
    margin-left:40px !important;
    font-size: inherit;
}

.main-container ul ul ul li{
    margin-left:60px !important;
    font-size: inherit;
}

a{
    color: #398839;
}


a:hover{
    color: #a7ad0d;
    
}

hr {
    margin:40px 0; 
    
}

img{
    max-width:100%;
}


@media (max-width: 1200px) {
    h1{
        font-size:3em;
    }
    h2{
        font-size:1.2em;
    }
}


@media (max-width: 768px) {
    h1{
        font-size:3em;
        text-align:center;
    }
    h2{
        font-size:1.3em;
        text-align:center;
    }
}





/*NAV ==========================================*/

.nav-container{
    background-color:rgba(0,0,0,0.6);
    color:white;
    padding: 0 70px 0 70px;
}

 .nav-logo-container{
    background:white;
    width:120px;
    height:120px;
    border-radius: 0 0 15px 15px;
    float:left;
    position:absolute;
    z-index: 1;
}

@media (max-width: 992px) {
    .nav-logo-container{
        background:none;
    }
    
    .nav-container{
        padding: 0 30px 0 30px;
    }
    
    .navbar-brand{
        padding: 10px !important;
        padding-left:0 !important;
    }
    
    .nav-container .nav-logo-container{
        height:100px;
    }
    
    .nav-container .nav-logo-container img{
        height:80px !important;
        width:auto !important;
    }
    
    .main-container{
        background-color:white;
        padding: 0;
    }
}


.navbar{
    padding:10px 0;
}

.navbar-brand{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 auto;
    padding:15px;
}

.nav-container .nav-logo-container img{
    width:100%;
    height:100%;
}

.navbar .navbar-toggler{
    margin: 20px 0;
}

.navbar-nav a{
    color:#aaa !important;
    margin:0;
    padding:0;
    margin-left:15px;
    font-size:1.05em;
    margin-top:10px;
    margin-bottom:10px;
    text-align:right;
}

.navbar-nav a:hover{
    color:white !important;
    text-decoration: none;
}

.dropdown-menu .dropdown-item{
    margin:0;
    padding:10px;
    text-align:center;
    color:black !important;
}

.dropdown-menu .dropdown-item:hover{
    color:white !important;
    background:linear-gradient(120deg, #395e2d, #a7ad0d);
}

@media (max-width: 992px) {
    .navbar-nav a{
        text-align:center !important;
    }
}

/*CAROUSEL ==========================================*/

.carousel-container{
    padding:0;
}

.carousel-static{
    background-image:url(img/static-header.png);
    background-size:cover;
    background-position: center;
    height:200px;
}





/* MAIN CONTAINERS ====================================*/

.main-container{
    background-color:white;
    padding: 50px 100px;
}



/* FRONT PAGE ==========================================*/

.frontpage-container .frontpage-header img{
    width:100%;
}



.frontpage-modules {
    color:white;
    text-align:center
}

.frontpage-modules .col-md-4{
    padding:5px;
}

.frontpage-modules .col-md-12{
    background:linear-gradient(120deg, #395e2d, #a7ad0d);
    padding: 30px 10px;
    margin-bottom:5px;
}


.frontpage-modules h3{
    font-size:3em;
}

.frontpage-modules p{
    font-weight:300;
}

.frontpage-modules .btn{
    color: #395e2d !important;
    font-weight:700;
    font-size:1.5em;
    border-radius: 0;
}

.convbtn{
    margin-bottom:5px;
}

.frontpage-games .col-md-6 h2{
    font-weight:400;
    text-align:right;
}

.frontpage-games-logos{
    display:block;
    margin: 0 auto;
    text-align:center;
}

.frontpage-games-logos img{
    margin:10px 5px;
    height:50px;
}

.frontpage-games p{
    margin-top:20px;
    font-size:1.4em;
    font-weight:300;
    line-height:1;
    text-align:center;
}



.frontpage-container div.col-md-4 {
    background: linear-gradient(120deg, #395e2d, #a7ad0d);
    border-right: solid 15px white;
}
.frontpage-container div.col-md-4:last-child {
    border-width: 0;
}
.frontpage-container div.col-md-12 {
    background: transparent;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}



@media (max-width: 992px) {    
    .main-container{
        background-color:white;
        padding: 30px;
    }
    
    .frontpage-games .col-md-6 h2,
    .frontpage-games p
    {
        text-align:center;
    }
    
    .frontpage-modules h3{
        font-size:2em;
    }
}

@media (max-width: 768px) {
    .frontpage-container .frontpage-header img{
        max-width:300px;
        display:block;
        margin: 0 auto;
    }
    
    .frontpage-modules h3{
        font-size:3em;
    }

}




/* GENERAL PAGES ==========================================*/

.pageheader{
    height:200px;
    background:url(img/pageheader-1.jpg);
    background-size:cover !important;
    background-position:center center !important;
}


/* LINKS PAGE ==========================================*/

.links-container .row .col-md-6{
    margin-bottom:30px !important;
}

.links-container img{
    max-height:50px;
    max-width:100%;
    margin-bottom:5px;
}

@media (max-width: 768px) {  
    .links-container img{
        display:block;
        margin: 0 auto;
    }
    .links-container{
        text-align:center;
    }
}



/* MEETINGS PAGE ==========================================*/


.meetings-container .mapouter .gmap_canvas iframe{
    width:100% !important;
}

@media (max-width: 768px) {
    .meetings-container .col-md-6:first-of-type {
        margin-bottom:50px;
    }
}





/* CONVENTIONS PAGE ==========================================*/

.convention-container .convention-header{
    text-align:center !important;
    
}

.convention-container h1{
    display:block;
    font-size:5em;
}

.convention-container h3{
    text-transform: uppercase;
}

.convention-container h4{
    text-transform: uppercase;
    line-height:1;
}

.convention-container .col-lg-3 {
    padding:5px;
    border:white 2px solid;
    box-sizing:border-box;
}

.convention-container .the-convention-buttons{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	justify-content: space-between;
}

.the-convention-buttons a:hover{
	text-decoration:none;
}

.convention-container .con-btn {
    background:linear-gradient(120deg, #395e2d, #a7ad0d) !important;
    color:white !important;
    text-align:center;
    font-size:1.5em;
    line-height:1;
    padding:30px 20px;
    text-transform: uppercase;
    font-weight:500;
	border:0;
	flex:1;
	margin:10px;
	text-decoration:none;
}

.convention-container .dis-con-btn{
    color:white !important;
    text-align:center;
    font-size:1.5em;
    line-height:1;
    padding:30px 20px;
    text-transform: uppercase;
	border:0;
	flex:1;
	margin:10px;
	text-decoration:none;
    background: #aaa !important;
    font-weight:200 !important;
}

.convention-container .col-xs-12 {
    background:linear-gradient(120deg, #395e2d, #a7ad0d);
    color:white;
    text-align:center;
    font-size:1.5em;
    line-height:1;
    padding:30px 20px;
    text-transform: uppercase;
    font-weight:500;
}

.convention-container h2{
    margin-top:30px;
    margin-bottom:0;
}

.convention-container .col-lg-3 .col-xs-12 a{
    color:white !important;
}




@media (max-width: 768px) {
    .convention-container h1{
        font-size:4.2em;
    }
    .convention-container h4{
        font-size:1.5em;
    }
}

@media (max-width: 992px) {
    .convention-container .col-xs-12 {
        font-size:2em;
    }
}




/*TOURNAMENTS ==========================================*/

.tournaments-container h1{
    text-align:center!important;
}

.tournaments-container .tickets-section h2{
    font-size:2em;
}

.tournaments-container .tickets-button{
    background:linear-gradient(120deg, #395e2d, #a7ad0d);
    padding: 30px 10px;
    margin-bottom:5px;
    color:white;
    text-align:center;
    height:100%;
}

.tournaments-container .tickets-button h2{
    font-size:3em;
    line-height:1;
}

.tournaments-container .tickets-button h5{
    font-weight:200;
    margin-bottom:0;
}

.tournaments-container .tickets-button a{
    color:white !important;
    text-decoration: none;
}

.quicklinks{
    text-align:center;
    font-size:1.1em;
}

.quicklinks a{
    margin:2px 10px;
}


.tournament-module-small .col-md-3{
    text-align:center;
}

.tournament-module h2{
    text-align:center;
    font-size:2.5em;
}

.tournament-module img{
    display:block;
    margin: 10px auto;
    max-height:200px;
    max-width:100%;
}

.tournament-module span,
.participation-module span{
    font-weight:200 !important;
    color:#aaa;
    display:block;
    margin-top:20px;
    text-align:right;
}

.tournament-module h5,
.tournament-module h6{
    margin:0;
    padding:0;
    line-height:1.2;
}

.tournament-module h6{
    font-weight:200;
}

.tournament-module .col-md-3 img {
    max-width:100%;
    height:auto;
    margin-top:10px;
}

@media (max-width: 768px) {
    .tournaments-container h1{
        font-size: 2.5em;
    }
    .tournament-module img{
        margin: 10px auto;
    }
    .tournament-module h6{
        margin-top:15px;
    }
}




/*PARTICIPATION==========================================*/

.participation-container h1{
    text-align:center!important;
}

.participation-module img{
    max-width:100%;
    max-height:200px;
    display:block;
    margin: 0 auto 20px;
}



/*TRADESTANDS ==========================================*/

.tradestands-container h1{
    text-align:center!important;
}

.tradestands-container h2{
    font-size:2em;
    margin-bottom:20px;
}

.traders-attending{
    display:block;
    margin: 0 auto;
    text-align:center;
}

.traders-attending img{
    margin:10px 5px;
    max-height:75px;
    max-width:100%;
}

.attend-as-trader img{
    max-width:90%;
    height:auto;
    display:block;
    margin:20px auto;
}



/*MEMBERSHIP ==========================================*/

.membership-container .membershipcard{
    width:100%;
    margin-bottom:20px;
}

@media (min-width: 768px) {
    .membership-container .col-md-4{
        padding-left: 70px;
    }
}

@media (max-width: 768px) {
    .membership-container .col-md-4{
        margin-top:60px;
    }
}



/*CONTACT==========================================*/

.contact-container img{
    width:100%;
}

@media (max-width: 768px) {
    .contact-container img{
        width:80%;
        display:block;
        margin:0 auto 30px;
    }
}


/*FOOTER ==========================================*/

footer{
    background-color:rgba(0,0,0,0.6);
    color:white;
    font-size:0.8em;
    text-align:center;
    font-weight:200;
    padding:10px;
}




/*GALLERY ==========================================*/


div.popup-gallery {
    text-align: center;
    margin-bottom: 40px;
}

div.image-wrap {
    width: 18%; /* Change this value to have your thumbnails laid out differently */
    margin-bottom: 4px;
    display: inline-block;
}

div.image-wrap img {
    width: 100%;
}

a.lightbox-link {
    -webkit-transition: all 0.25s ease-in-out 0s;
    -moz-transition: all 0.25s ease-in-out 0s;
    -ms-transition: all 0.25s ease-in-out 0s;
    -o-transition: all 0.25s ease-in-out 0s;
    transition: all 0.25s ease-in-out 0s;
}

a.lightbox-link:hover {
    -webkit-opacity: 0.8;
    -khtml-opacity: 0.8;
    -moz-opacity: 0.8;
    -ms-opacity: 0.8;
    -o-opacity: 0.8;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.image-wrap figcaption {
    display: none;
}

.mfp-bg figcaption {
    display: block;
    position: absolute;
}

.lb-title {
    margin: 0.5em 0 0 0.5em;
}

.lb-description {
    margin-left: 0.6em;
    width: 100%;
}