@import url('https://fonts.googleapis.com/css?family=Open+Sans|Quicksand|Raleway|Lato');

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Open sans', Arial, sans-serif;
    background-color: #f3f3f3;
    width: 100%;
}

/********************************

            HEADER 

********************************/


.header {
    width: 100%;
    height: 300px;
    text-align: center;
    font-size: 1.3rem;
}

.header img { max-height: 100%;}

.headerLinks {
    width: 100%;
    height: 40px;
    /*top: 300px;*/
    border-bottom: 1px solid #cacaca;
    background-color: #fff;
    line-height: 40px;
    font-size: 1.3rem;
    text-align: center;
    position: relative;
}

.expandLinks { position: relative; display: none; background-color: #fff; height: 40px; line-height: 40px; border: 1px solid #cacaca; border-top: none; top: -7px; }


.header a:link, .header a { color: #3e3e3e; margin: 0 10px; font-family: 'Quicksand', Arial, sans-serif; text-decoration: none; transition: all 0.3s ease; font-weight: 200; border-bottom: 2px solid transparent; }
.header a:visited { color: #3e3e3e; border-bottom: 2px transparent #3e3e3e;}
.header a:hover { color: #3e3e3e; border-bottom: 2px solid #3e3e3e; text-decoration: none; }
.header a:active { color: #3e3e3e;}


/*******************************

            SIDA

*******************************/

a { cursor: pointer;}

.wrapper {
    width: 1200px;
    background-color: #fff;
    margin: 40px auto 10px;
    padding-top: 10px;
}

.infoDataMsg { position: relative; display: none;width: 500px; background-color: #f3f3f3; border-radius: 5px; font-weight: 600; margin: 0px auto; box-shadow: 0px 0px 10px 0px #000;}
.infoDataMsg a { position: absolute; top: 0; right: 6px; }

a:link, a:visited { color: #3e3e3e; text-decoration: none; }
a:hover { color: #808080; text-decoration: underline;}


/*******************************

    REGISTRERING & LOGIN

*******************************/

.registerBox, .loginBox {
    width: 300px;
    margin: 0 auto;
    text-align: center;
}

.registerBox h2, .loginBox h2 {
    margin: 10px 0 0;
}

.registerBox input[type="text"], 
.registerBox input[type="password"],
.registerBox input[type="email"] {
    width: 100%;
    background-color: #fff;
    height: 30px;
    border: 1px solid #cacaca;
    border-radius: 3px;
    font-size: 1.2rem;
}

.loginBox input[type="text"], 
.loginBox input[type="password"] {
    width: 100%;
    height: 30px;
    margin-top: -1px;
    border: 1px solid #cacaca;
    font-size: 1.2rem;
    padding-left: 2px;
}

.loginBox input:hover { border: 1px solid #cacaca;}

.loginBox input:focus {
    border: 1px solid #cacaca;
    outline: none;
}

.loginBox input[type="checkbox"] {cursor: pointer; }

/*******************************

            START

*******************************/

.adminMsgBox {width: 500px; border: 1px solid red; margin: 0 auto;}

.mainStart { width: 894px; display: inline-block; height: 100%; text-align: center;}
.mainStart h1 { margin: 0 10px 20px; font-family: 'Lato'; font-weight: 400;}
.mainStart header {font-size: 1.5rem; margin: 0 10px;}
.mainStart h3 { font-size: 0.9rem; font-weight: 300; margin: 0 10px;}

.rightPane { width: 300px; display: inline-block; text-align: center; vertical-align: top; margin-top: 10px; border-left: 1px solid #cacaca;}
.rightPane table { width: 100%;}

.showOnlineUsers {margin-bottom: 15px;}
.showOnlineUsers h3 { margin: 0; }


.guestBookBox { width: 100%;}

.bookFormContainer { display: none;}
.msgContainer { border-bottom: 1px solid #cacaca; }
.msgContainer p { margin: 0;}
.guestBookBox h2 { font-size: 1rem; margin: 5px 0 0 5px; text-align: left;}
.guestBookBox h3 { font-size: 0.9rem; margin: 0 0 0 5px; text-align: left; font-weight: 300; font-style: italic; color: #808080;}


/*******************************

            EVENT

*******************************/

.addEventBox {
    width: 100%;
    text-align: center;
}

.eventForm {width: 100%; }

.eventForm .allInputs { height: 20px;}
.eventForm .bigInput { width: 90%; height: 30px; font-size: 1.3rem;}
.eventForm .timeForEventBox { width: 40%; display: inline-block;}
.eventForm h3 { font-family: Raleway; display: inline-block; margin: 0 4px 0 0; width: 80px; line-height: 25px;}

.eventForm .locationForEvent { width: 59%; display: inline-block; vertical-align: top;}
.eventForm .locationForEvent input { width: 60%;}


.allEventsBox h1 { font-family: 'Raleway', Arial, sans-serif; font-weight: 300; text-align: center;}
.eventOverviewTbl { margin: 0 auto; width: 600px;}
.eventOverviewTbl tr:nth-child(5n+5) td { border-bottom: 1px solid #cacaca; margin-bottom: 10px; }
.eventOverviewTbl h2 { font-size: 2rem; margin: 5px 0 0; }

.eventView {
    width: 100%;
}

.eventView h1 { text-align: center; margin: 5px auto; font-family: Quicksand; }
.eventView h2 { text-align: center; margin: 15px auto 5px; font-size: 1.5rem;}
.eventView h3 { display: inline-block; font-size: 1.1rem; font-family: Quicksand; margin: 0; text-align: left;}



.eventView .main { display: inline-block; width: 70%; padding: 5px;}
.eventView .eventDates { border-bottom: 1px solid #cacaca;}
.eventView .mainText { border-bottom: 1px solid #cacaca;}
.eventView .attend { display: inline-block; width: 250px; border-left: 1px solid #cacaca; padding: 5px; vertical-align: top; text-align: center; }

.eventComments {text-align: center;}
.commentFormContainer { display: none;}

.addComment { width: 400px; margin: 0 auto 20px; text-align: center;}
.addComment textarea { min-width: 400px; min-height: 100px; font-family: Arial, sans-serif;}

.eventUserComment { border-bottom: 1px solid #cacaca; width: 95%; margin: 0 auto; text-align: left; }
.eventUserComment h3 { color: #00695C; font-family: 'Raleway', Arial, sans-serif;}
.eventCommentsBox h4 { font-size: .9rem; font-weight: 300; margin: 0; color: #808080; }
.eventUserComment .likeButtons i { font-size: 1.1rem;}
.likeButton { color: #A5D6A7; font-size: 1.8rem; }
.dislikeButton { color: #EF9A9A; font-size: 1.8rem; }

.likeButton:hover { color: #81C784;}
.dislikeButton:hover { color: #E57373;}

/*******************************

            KALENDER

*******************************/

.eventDay { position: relative;}

.calendarEventInfo {
    position: absolute;
    top: 24px;
    z-index: 2;
    background-color: #fff;
    padding: 5px;
    border-radius: 8px;
    display: none;
}

.calendarGreen { background-color: #57a957; cursor: pointer;}
.calendarLightGreen { background-color: #A5D6A7; cursor: pointer; }
.calendarLightGreen:hover { background-color: #fff; }
.calendarGrey { background-color: #cacaca; }
.calendarNoBg { background-color: transparent; }
.calendarHover:hover { background-color: #00695C; cursor: pointer;}

/*******************************

            ANVÄNDARE

*******************************/


.userContainer { width: 100%; text-align: center;}
.userBoxes { width: 400px; display: inline-block; vertical-align: top;}
.userBoxes h2 { margin: 0; font-size: 1.2rem;}

.userBoxes input[type="text"], 
.userBoxes input[type="email"], 
.userBoxes input[type="password"] { width: 300px; height: 30px; font-size: 1.3rem;}


/*******************************

            ADMIN

*******************************/

.adminAllUsers h1 { margin: 5px auto; text-align: center;}

.adminAllUsers table {
    width: 100%;
    text-align: center;
}

.adminSettingsBox { width: 400px; text-align: center; display: inline-block;}
.adminSettingsBox table { width: 100%; text-align: center;}
.adminSettingsBox table td:first-child { font-weight: 600; }

.logContainer { width: 98%; text-align: center; border: 1px solid #cacaca; margin: 10px auto 0; border-spacing: 0;}
.logContainer tr:first-child { font-size: 2rem;}
.logContainer tr:nth-child(even) { background-color: #f3f3f3; }