/*
Theme Name: CUADC Theme
Theme URI: http://www.cuadc.org/
Description: Wordpress theme for Cambridge University Amateur Dramatics Company
Version: 1.1
Author: Peter Birch (Migration of CUADC website by Omi) (Fixes by Alan Egan)
Author URI: @pete_birch
*/
/* General CSS */

body {
    font-family:"Open Sans", "Helvetica Neue", "Helvetica", "Arial" !important; /* Override Bootstrap's default font choices */
    color:#555 !important;
    padding-bottom:50px;
    font-weight:300;
}

.clearbar {
    width:100%;
    height:1px;
    clear:both;
}

a, a:active, a:visited {
    text-decoration:none;
    color:#336699 !important;
}

a:hover {
    color:#5b5b5b !important;
    text-decoration:underline;
}

h1 {
    font-size:31px !important;
    font-weight:normal !important;
    margin-top:0 !important;
    padding-top:0 !important;
}

h3, h4 {
    font-weight:300 !important;
}

h5 {
    font-size:16px !important;
    font-weight:normal !important;
    padding:0 !important;
    margin:0 !important;
}

.current-menu-item > a {
    font-weight: bold;
}

.sub-menu {
    display: none;
    font-size: 16px;
}

.current-menu-parent .sub-menu, .current-menu-item .sub-menu {
    display: inherit;
}

.current-page-ancestor > .sub-menu {
    display: inherit;
}

/* Specific */

.rightcolumn.profile.span8 .row {
    margin-top: -30px;
}

.mainlayout {
    min-width:750px !important;
    margin-top:50px;
    margin-left:auto;
    margin-right:auto;
    min-height:200px;
}

/*.mainlayout .leftcolumn {
    position:fixed;
}*/

.mainlayout .leftcolumn .logo {
    width:inherit;
    height:37px;
    margin-top:5px;
    background-image:url(Images/logo.png);
    background-repeat:no-repeat;
    background-size:contain;
}

.mainlayout .leftcolumn .logotext {
    margin-top:10px;
    font-size:16px;
}

.mainlayout .leftcolumn .menu {
    font-size:18px;
    margin-left:10px;
}

.mainlayout .leftcolumn .menu li {
    display:block;
}

.mainlayout .leftcolumn .inset {
    margin-left:10px;
}

.mainlayout .rightcolumn {
    /*margin-left:320px;*/
    color:#000;
}

/*@media(min-width:1000px) and (max-width:1200px) {
    .mainlayout .rightcolumn {
        margin-left:250px;
    }
}

@media(min-width:768px) and (max-width:980px) {
    .mainlayout .rightcolumn {
        margin-left:210px;
    }
}
*/
.mainlayout .rightcolumn .menu {
    padding:0;
    margin:0;
    font-size:18px;
}

.mainlayout .rightcolumn .menu li {
    display:block;
    padding:0;
    margin:0;
}

.mainlayout .leftcolumn .sticky {
    width:inherit;
    bottom:0;
    position:fixed;
}

.mainlayout .rightcolumn {
    font-size:16px;
}

.mainlayout .rightcolumn .bannerimg {
    width:inherit;
    height:300px;
    background-repeat:no-repeat;
    background-position:center top;
    background-size:cover;
}

/* Homepage Grid Specific */

.grid {
    width:100%;
    height:100%;
    overflow:hidden;
}

.grid .page {
    width:0;
    height:100%;
    opacity:0;
    float:left;
    display:inline;
    position:relative;
    margin-left:100%;
}

.grid #page-1 {
    width:100%;
    opacity:1.0;
    margin-left:0;
}

.grid .space {
    width:45%;
    height:250px;
    background-color:#CCC;
    margin:5px;
    float:left;
    background-size:cover;
    background-position:center center;
    position:relative;
    overflow:hidden;
    cursor:pointer;
}

.grid .space:hover {
    box-shadow:0 0 5px rgba(100, 200, 255, 1.0);
}

.grid .space:hover .text {
    background-color:rgba(100, 200, 255, 0.5);
}

.grid .space .text {
    width:100%;
    background-color:rgba(0,0,0,0.5);
    color:#FFF;
    height:50px;
    line-height:40px;
    font-size:20px;
    overflow:hidden;
    bottom:0;
    position:absolute;
}

.grid .space .text .textholder {
	margin-left:5px;
	margin-right:5px;
}

.grid .space .text .dates {
    font-size:10px;
    margin-top:-20px;
}

.grid .space .text a {
    color:#FFF !important;
    text-shadow:0 0 3px #FFF;
}

.grid .space .text .subtext {
    opacity:0;
    display:none;
    line-height:18px;
    font-size:16px;
    margin-top:-10px;
    
}

/* Show/Event Specific */

.mainlayout .rightcolumn .showevent-box {
    height:175px;
    background-color:#AAA;
    width:30%;
    float:left;
    margin-left:3%;
    background-size:cover;
    background-position:top center;
    cursor:pointer;
    position:relative;
    overflow:hidden;
    transition:all ease 0.3s;
    -webkit-transform:rotate3d(1, 0, 0, 0deg);
}

.mainlayout .rightcolumn .showevent-box:hover {
    box-shadow:0 0 20px #05F;
}

.mainlayout .rightcolumn .showevent-box .text {
    width:100%;
    background-color:rgba(0,0,0,0.5);
    color:#FFF;
    min-height:40px;
    padding-top:10px;
    font-size:20px;
    overflow:hidden;
    position:absolute;
    bottom:0;
}

.mainlayout .rightcolumn .showevent-box .showtitle {
    margin-left:5px;
    display:block;
    -webkit-transform:rotate3d(1, 0, 0, 0deg);
}

.mainlayout .rightcolumn .showevent-box .dates {
    font-size:10px;
    margin-top:0px;
    margin-left:5px;
    float:left;
    -webkit-transform:rotate3d(1, 0, 0, 0deg);
    font-weight:600;
}

.show-extra-info, .show-ticket-info {
    margin-top:-10px !important;
    padding-bottom:5px !important;
    float:left;
}

.show-ticket-info {
    float:right;
    text-align:right;
}
