/* CSS DOCUMENT FOR FRIENDSCAPE */

@charset "UTF-8";

@font-face{
	font-family: Myriad;
	src: url(MyriadPro-Regular.woff);
}
@font-face{
	font-family: Myriad_B;
	src: url(MyriadPro-Bold.woff);
}
@font-face{
	font-family: Myriad_C;
	src: url(MyriadPro-Cond.woff);
}
@font-face{
	font-family: Myriad_BC;
	src: url(MyriadPro-BoldCond.woff);
}

html, body {
	background-color: '#4758F7';
	background-image: linear-gradient(rgb(128, 140, 179), rgb(250, 250, 250), rgb(128, 179, 128));
	min-height: 100%;
	padding: 0;
	margin: 0;
	width: 100%;
	font-family: Myriad;
	font-size: 13px;
	color: #4B4B4B;
}


div {
    box-sizing: border-box;
}

h1 { 
	margin: 0; 
}
h4 {
	margin:  0;
	color: #4758F7;
}


.login_panel {
	position: absolute;
	right: 20px;
	top: 20px;
	background-color: #fff;
	border: solid 2px #1FAB1B;
	box-shadow: 4px 4px 4px #333;
	padding: 4px;
	max-width: 250px;
}

.login_form {
	width: auto;
	margin-left: 10px;
}

.footer {
	position: absolute;
	bottom: 0;
	text-align: center;
	font-family: Myriad_B;
	font-size: 11px;
	padding: 2px;
	width: 100%;
}
	.footer a {
		color: #000;
		text-decoration: none;
	}


.col-1 {width: 8.33%; float: left; position: relative; }
.col-2 {width: 16.66%; float: left; position: relative;  }
.col-3 {width: 25%; float: left; position: relative;  }
.col-4 {width: 33.33%; float: left; position: relative;  }
.col-5 {width: 41.66%; float: left; position: relative;  }
.col-6 {width: 50%; float: left; position: relative;  }
.col-7 {width: 58.33%; float: left; position: relative;  }
.col-8 {width: 66.66%; float: left; position: relative;  }
.col-9 {width: 75%; float: left; position: relative;  }
.col-10 {width: 83.33%; float: left; position: relative;  }
.col-11 {width: 91.66%; float: left; position: relative;  }
.col-12 {width: 100%; float: left; position: relative;  }
.col-auto { width: auto; position: relative; }

.colAuto { width: auto; position: relative; }

.fl_rt { float: right; }
.fl_lt { float: left; }
.right { text-align: right; }
.left { text-align: left; }
.centre { text-align: center; }
.pad_t_4 { padding-top: 4px; }
.pad_t_10 { padding-top: 10px; }
.pad_t_20 { padding-top: 20px; }
.pad_r_4 { padding-right: 4px; }
.pad_r_10 { padding-right: 10px; }
.pad_r_20 { padding-right: 20px; }
.pad_b_4 { padding-right: 4px; }
.pad_b_10 { padding-bottom: 10px; }
.pad_b_20 { padding-bottom: 20px; }
.pad_l_4 { padding-left: 4px; }
.pad_l_10 { padding-left: 10px; }
.pad_l_20 { padding-left: 20px; }
.mar_t_4 { margin-top: 4px; }
.mar_t_10 { margin-top: 10px; }
.top_line { border-top: solid 1px #aaa; margin-top: 8px; padding-top: 4px; }
.bot_line { border-bottom: solid 1px #aaa; margin-bottom: 8px; padding-bottom: 4px; }
.left_line { border-left: solid 1px #aaa; margin-left: 8px; padding-left: 4px; }
.comment {font-size: 11px; line-height: 12px; font-style: italic; margin: 2px 0;}
.w_auto {width: auto; }
.w_100pc { width: 100%; }
.w_90pc { width: 90%; }

input, select {
	margin: 2px;
	border-radius: 2px;
	background-color: #e7e9fe;
	border: none;
	color: #4758F7;
	max-width: 95%;
	box-shadow: 1px 1px 2px #000;
}

p {
	margin: 6px 0;
}

.div_default {
	float: left;
	position: relative;
	width: auto;
}


.timeline{
	background-color: rgba(150, 150, 150, 0.2);
	box-sizing: border-box;
	color: #000;
}

.timeline_select{
	font-weight: bold;
	text-shadow: 1px 1px 2px #666;
}

.checkbox_div {
	position: relative;
	float: left;
	width: 12%;
	text-align: right;
}
.checkbox_label{
	position: relative;
	float: left;
	width: 88%;
	padding: 2px 0 0 2px;
}

@media screen and (max-width: 415px){  /* phones in vertical orientation--- break #1 */

	[class*="col-"]{
		width: 100%;
	}

	h1 {
		font-size: 18px;
	}
	h2 {
		font-size: 16px;
		margin: 4px 0;
	}

	.masthead {
		height: 80px;
		background-color: #fff;
		border-bottom: solid 8px #4758F7;
		box-shadow: 0px 4px 4px #333;
		position: sticky;
		padding: 40px 20px 20px 20px;
		background-image: url('/views/images/logo_sm.png');
		background-size: 132px 37px;
		background-repeat: no-repeat;
		background-position: 20px 6px;
		z-index: 100;
		-webkit-transition: height 1s;
	}

	.main_container{
		background-color: rgba(255, 255, 255, .6);
		padding: 25px 0;
		position: fixed;
		left: 0;
		right: 0;
		top: 80px;
		bottom: 20px;
		overflow-y: auto;
		scroll-behavior: smooth;
	}

	.myPhoto {
		position: relative;
		float: left;
		width: 100%;
		box-sizing: border-box;
		margin: -20px 0 0 0;
		padding: 0 10px;
	}

	.my_photo_div{
		position: relative;
		float: left;
		width: 25%;
		text-align: center;
	}
		.my_photo_div img{
			width: 100%;
			margin: -4px 0 2px 0;
		}
		.my_photo_div h2{
			font-size: 16px;
			line-height: 16px
		}

	.myShares{
		position: relative;
		float: left;
		padding: 0 10px 4px 10px;
		margin: -10px 0 0 10px;
		border-left: solid 1px #666;
	}
	
	.timeline {
		float: left;
		position: relative;
		margin: 0;
		width: 100%;
		margin: 0 0 0 0px;
		padding: 0 10px;
	}
		.timeline_title{
			font-weight: bold;
			font-size: 16px;
			text-align: center;
			margin: -14px 0 2px 0;
			width: 100%;
		}


		.timeline_item {
			position: relative;
			float: left;
			width: auto;
			margin: -2px 4px 4px 0;
			border-left: solid 1px #000;
			padding-right: 20px;
				
			border-top: solid 1px #000;
			margin: 0 -2px 3px 0;
		}
		.timeline_spacer {
			width: 0;
			position: relative;
			float: left;
			height: 20px;
			margin: 0 -2px;
			padding: 0;
		}

		.timeline_item a {	
			text-decoration: none;
			padding: -2px 2px;
			color: #4758F7;
			width: auto;
		}

	.chapter{
		position: relative;
		box-sizing: border-box;
		float: left;
		width: 100%;
		padding: 10px;
	}
	.tab_btn {
		color: #fff;
		background-color: #4758F7;
		cursor: pointer;
		box-shadow: none;
		border-radius: 0;
		margin-right: 4px;
	}

	a.tab_btn{
		padding: 2px 4px 0 4px;
		text-decoration: none;
	}
		.tab_btn:hover{
			background-color: #081bc4;
		}
		.tab_btn_focus {
			background-color: #F7DD47;
			color: #4758F7;
			border: solid 1px #4758F7;
			box-shadow: 0px 0px 2px #666;
		}
		.tab_btn_focus:hover{
			color: #F7DD47;
			background-color: #4758F7;
		}

	.next_btn{
		right: 0;
	}
	.prev_btn{
		left: 0;
	}


}

@media screen and (min-width: 415px) {  /* phones less than 763px ==== break #2  */

	[class*="col-"]{
		width: 100%;
	}

	h1 {
		font-size: 18px;
	}
	h2 {
		font-size: 16px;
		margin: 4px 0;
	}

	.masthead {
		height: 80px;
		background-color: #fff;
		border-bottom: solid 8px #4758F7;
		box-shadow: 0px 4px 4px #333;
		position: sticky;
		padding: 40px 20px 20px 20px;
		background-image: url('/views/images/logo_sm.png');
		background-size: 213px 65px;
		background-repeat: no-repeat;
		background-position: 20px 6px;
		-webkit-transition: height 1s;
		z-index: 100;
	}

	.main_container{
		background-color: rgba(255, 255, 255, .6);
		padding: 25px 0;
		position: fixed;
		left: 0;
		right: 0;
		top: 80px;
		bottom: 20px;
		overflow-y: auto;
		scroll-behavior: smooth;
	}

	.myPhoto {
		position: fixed;
		float: left;
		width: 100%;
		box-sizing: border-box;
		margin: -20px 0 0 0;
		padding: 0 10px;
	}

	.my_photo_div{
		position: relative;
		float: left;
		width: 25%;
		text-align: center;
	}
		.my_photo_div img{
			width: 100%;
			margin: -4px 0 2px 0;
		}
		.my_photo_div h2{
			font-size: 16px;
			line-height: 16px
		}

	.myShares{
		position: relative;
		float: left;
		padding: 0 10px 4px 10px;
		margin: -10px 0 0 10px;
		border-left: solid 1px #666;
	}
	
	.timeline {
		float: left;
		position: relative;
		margin: 0;
		width: 100%;
		margin: 0 0 0 0px;
		padding: 0 10px;
	}
		.timeline_title{
			font-weight: bold;
			font-size: 16px;
			text-align: left;
			margin: -14px 0 2px 0;
			width: 100%;
		}


		.timeline_item {
			position: relative;
			float: left;
			width: auto;
			margin: -2px 4px 4px 0;
			border-left: solid 1px #000;
			padding-right: 20px;
				
			border-top: solid 1px #000;
			margin: 0 -2px 3px 0;
		}
		.timeline_spacer {
			width: 0;
			position: relative;
			float: left;
			height: 20px;
			margin: 0 -2px;
			padding: 0;
		}

		.timeline_item a {	
			text-decoration: none;
			padding: -2px 2px;
			color: #4758F7;
			width: auto;
		}

	.chapter{
		position: relative;
		float: left;
		left: 150px;
		width: 86%;
		box-sizing: border-box;
		padding: 10px;
	}
	.tab_btn {
		color: #fff;
		background-color: #4758F7;
		cursor: pointer;
		box-shadow: none;
		border-radius: 0;
		margin-right: 4px;
	}

	a.tab_btn{
		padding: 4px;
		text-decoration: none;
		border: solid 1px #4758F7;
	}
		.tab_btn:hover{
			background-color: #081bc4;
		}
		.tab_btn_focus {
			background-color: #F7DD47;
			color: #4758F7;
			border: solid 1px #4758F7;
			box-shadow: 2px -2px 2px #666;
		}
		.tab_btn_focus:hover{
			color: #F7DD47;
			background-color: #4758F7;
		}

	.next_btn{
		right: 0;
	}
	.prev_btn{
		left: 0;
	}
	
}

.page_container{
		position: relative;
		float: left;
		width: 100%;
		background-color: #fff;
		border: solid 1px #4758F7;
		padding: 10px;
		margin: -3px 0 0 0;
	}


.photo_style{
	width: 94%
}

@media screen and (min-width: 765px) {  /* large displays --- break #3*/


		
	h2 {
		margin: 6px 0;
	}

	.masthead {
		float: left;
		text-align: right;
		width: 100%;
		height: 100px;
		background-color: #fff;
		border-bottom: solid 8px #4758F7;
		box-shadow: 0px 4px 4px #333;
		position: sticky;
		padding: 50px 50px 20px 270px;
		background-image: url('/views/images/logo_sm.png');
		background-size: 246px 75px;
		background-repeat: no-repeat;
		background-position: 50px;
		-webkit-transition: height 1s;
		z-index: 100;
	}
	
	.main_container{
		background-color: rgba(255, 255, 255, .6);
		padding: 20px;
		position: fixed;
		left: 50px;
		right: 50px;
		top: 100px;
		bottom: 20px;
		overflow-y: auto;
		scroll-behavior: smooth;
	}

	.myPhoto{
		position: fixed;
		left: 70px;
		width: 150px;
		padding: 0;
	}

	.my_photo_div{
		position: relative;
		float: left;
		width: 100%;
		text-align: center;
		margin: 10px 0 20px 0;
	}
		.myPhoto img{
			width: 95%;
		}

	.myShares{
		position: relative;
		float: left;
		width: 100%;
		padding: 0;
		margin: 0;
		border-top: solid 1px #666;
		border-left: none;
	}
		.myShares h3{

			margin: 0;
		}
	.chapter {
		float: left;
		position: relative;
		width: 70%;
		box-sizing: border-box;
	}
	.chapter h1 {
		font-size: 24px;
	}

	.timeline{
		position: relative;
		float: right;
		width: 15%;
		text-align: right;
		padding: 0 10px 20px 10px;
		margin: -30px -20px 10px 10px;
		overflow-y: auto;
		scroll-behavior: smooth;
	}
	.timeline_title{
		text-align: center;
		width: 100%;
	}

	.timeline_item {
		position: relative;
		float: right;
		width: 100%;
		border-bottom: solid 1px #000;	
		border-right: solid 1px #000;
		border-top: none;
		border-left: none;
		margin: 0;
	}

	.timeline_spacer {
		width: 100%;
		position: relative;
		float: right;
		border-right: solid 1px #000;
		height: 20px;
		margin: 0;
	}

	.timeline_item a {	
		text-decoration: none;
		padding: -2px 2px;
		color: #4758F7;
		width: auto;
	}
	.timeline_title{
		font-size: 18px;
		font-weight: bold;
		text-align: right;
		margin: 6px 0 20px 0;
	}
} /* end large display */

.video_overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 20%;
	text-align: center;
}
	.video_overlay_text{
		color: rgba(255, 255, 255, 0.5);
		font-family: Myriad_B;
		font-size: 36px;
		padding-top: 0px 50px;
		background-color: rgba(0,0,0, 0.3);
		border-radius: 10px;
	}


/*  ========= SLIDESHOW =================== */
	
	#slideshow_container {
		width: 100%;
		height: 100%;
		float: left;
		position: relative;
		text-align: center;
	}
	.ss_btn_div {
		position: absolute;
		z-index: 10;
		top: 0;
		bottom: 0;
		padding-top: 35%;
		width: 40px;
		/*background-color: rgba(255, 128, 128, .5);*/
	}
	.ss_btn{
		font-family: Myriad_B;
		font-size: 40px;
		text-decoration: none;
		color: #000;
		background-color: rgba(255, 255, 255, 0.5);
		border-radius: 4px;
		padding: 0 4px;
		cursor: pointer;
	}
	.next_btn{
		right: -20px;
		text-align: right;
	}
	.prev_btn{
		left: -20px;
		text-align: left;
	}
	.media_box{ 
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}
	.media_box img {
		margin: 0 auto;
	}
	.caption{
		position: absolute;
		bottom: 10%;
		left: 15%;
		right:  15%;
		width: auto;
		width: 75%;
		text-align: center;
		background-color: rgba(255, 255, 255, 0.5);
		font-size: 18px;
		border-radius: 10px;
		padding: 4px;
		color: #000;
	}

	.ssControls {
		position: absolute;
		bottom: 0;
		left: 20px;
		right: 20px;
		z-index: 20;
	}
	.side_num {
		font-size: 12px;
		position: relative;
	}
	.hidden {
		display: none;
	}



/*  ======== ADMIN ACCOUNTS =============  */

.account_box{

	background-color: #fff;
	width: auto;
	padding: 4px 4px 4px 8px;
	border: solid 1px #1FAB1B;
	margin: 4px 4px 4px 0;
	box-shadow: 4px 4px 4px #333;
}
	.account_box_last{
		margin: 4px 0;
	}

.add_chapter{
	position: fixed;
	background-color: #fff;
	border: solid 2px #4758F7;
	box-shadow: 3px 3px 3px #555;
	top:150px;
	right: 10%;
	padding: 6px;
	width: 80%;
	z-index: 100;
}
	.add_chapter h3 {
		margin: 4px 0 10px 0;
		color: #4758F7;
	}
	.add_chapter p{
		margin: 6px 0;
	}
	.add_chapter textarea {
		width: 98%;
		font-family: Myriad;
	}

.add_page {
	position: fixed;
	background-color: #fff;
	border: solid 2px #4758F7;
	box-shadow: 3px 3px 3px #555;
	top:125px;
	left: 220px;
	padding: 6px;
	width: auto;
	z-index: 500;
}
	.add_page h3 {
		margin: 4px 0 10px 0;
		color: #4758F7;
	}
	.add_page p{
		margin: 6px 0;
	}
	.add_page textarea {
		width: 98%;
		font-family: Myriad;
	}

/*
	BUTTON STYLES

*/

.btn {
	font-family: Myriad;
	font-weight: 100;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	border-radius:  2px;
	box-shadow: none;
	margin: 2px;
}

.btn-grn {
	border: solid 2px #1FAB1B;
	background-color: #1FAB1B;
	color:  #fff;
}
	.btn-grn:hover{
		color: #1FAB1B;
		background-color:  #fff;
	}
.btn-red {
	border: solid 2px #D13F46;
	background-color: #D13F46;
	color: #fff;
}
	.btn-red:hover{
		color: #D13F46;
		background-color: #fff;
	}

.btn-icon {
	color: rgba(0, 0, 0, 0);
	background-repeat: no-repeat;
	width: 24px;
	height: 24px;
	background-position: 1px 1px;
	background-size: 20px 20px;
	margin: 2px;
	box-shadow: none;
	cursor: pointer;
}

.btn-play {
	background-image: url("images/play_btn.png");
	border: solid 1px #4758F7; /* blue */
	background-color: #4758F7;
}
	.btn-play:hover{
		background-color: #000099;
	}

.btn-edit {
	background-image: url("images/edit_btn.png");
	border: solid 1px #4758F7; /* blue */
	background-color: #4758F7;
}
	.btn-edit:hover{
		background-color: #000099;
	}


.btn-add {
	background-image: url("images/add_btn.png");
	border: solid 1px #1FAB1B;
	background-color: #1FAB1B;
}
	.btn-add:hover{
		background-color: #090;
	}

.btn-del {
	background-image: url("images/del_btn.png");
	background-color: #D13F46;
	border: solid 1px #900;
}
	.btn-del:hover {
		background-color: #900;

	}

.btn-cancel {
	background-image: url("images/cancel_btn.png");
	background-color: #D13F46;
	border: solid 1px #900;
}
	.btn-cancel:hover {
		background-color: #900;

	}


.btn-login {
	background-image:  url("images/door_cl.png");
	background-color: rgba(0, 0, 0, 0);
	color: rgba(0, 0, 0, 0);
	width: 25px;
	height: 26px;
	background-size: 25px 26px;
	border: none;
	cursor: pointer;
	box-shadow: none;
}
	.btn-login:hover {
		background-image: url("images/door_op.png");
	}


.btn-logout {
	background-image:  url("images/door_op.png");
	background-color: rgba(0, 0, 0, 0);
	color: rgba(0, 0, 0, 0);
	width: 25px;
	height: 26px;
	background-size: 25px 26px;
	border: none;
	cursor: pointer;
	box-shadow: none;
}
	.btn-logout:hover {
		background-image: url("images/door_cl.png");
	}

/* ===== STYLER FOR FILE OBJECT BROWSE BUTTON ========= */

  input[type=file]::file-selector-button {
    
    background-color: #4758F7;
    border: solid 2px #4758F7;
    color: #fff;
    font-family: Myriad;
    font-weight: 100;
    font-size: 14px;
    padding: 2px 4px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 3px;
  }
    input[type=file]::file-selector-button:hover {

        background-color: #fff;
        color: #4758F7;
        border: solid 2px #4758F7;
    }


/*
	ERROR STYLES
*/
    #alert_div {
        margin: auto;
		position: absolute;
		z-index: 200;
		top: 30px;
		left: 0;
		right: 0;
        width: 80%;
		border-radius: 6px;
		height: auto;
        font-size: 14px;
        box-shadow: 3px 3px 3px #333;
		overflow: hidden;
        text-align:center;
        -moz-animation: fadeAlert 0s ease-in 5s forwards; /* Firefox */
        -webkit-animation: fadeAlert 0s ease-in 5s forwards;/* Safari and Chrome */
        -o-animation: fadeAlert 0s ease-in 5s forwards;/* Opera */
        animation: fadeAlert 0s ease-in 5s forwards;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    #alert_div.error a {
    	color: #a4282e;
    }
    #alert_div.success a {
    	color: #188415;
    }

    @keyframes fadeAlert {
        to {
            width:0;
            height:0;
            margin: 0;
            padding: 0;
            box-shadow: none;
            font-size: 1px;
            overflow:hidden;
        }
    }
    @-webkit-keyframes fadeAlert {
        to {
            width:0;
            height:0;
            margin: 0;
            padding: 0;
            font-size: 1px;
            box-shadow: none;
            visibility:hidden;
        }
    }
	.error { padding: 0px; margin: 0 0 20px 0; font-size: 14px; text-align:center; color:#900;}

	.alert_success { background: #c8eebf; color: green; padding: 8px;}
	.alert_warning { background: #f6f6cf; color:orange; padding: 8px; }
	.alert_error { background: #fce9e9; color: #c20000; padding: 8px;}
