/* FONTS */
@font-face {
    font-family: 'Open Sans Italic';
    src: url('../fonts/Open_Sans/OpenSans-Italic.ttf');
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open_Sans/OpenSans-Regular.ttf');
}

@font-face {
    font-family: 'Open Sans Bold';
    src: url('../fonts/Open_Sans/OpenSans-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: 'Open Sans ExtraBold';
    src: url('../fonts/Open_Sans/OpenSans-ExtraBold.ttf');
    font-weight: 800;
}

@font-face {
    font-family: 'Open Sans Light';
    src: url('../fonts/Open_Sans/OpenSans-Light.ttf');
    font-weight: 300;
}


/* BODY AND BACKGROUND */
ul {
    margin:0;
}

body {
    background-color:rgba(3,9,53, 1);
    font-family:'Open Sans';
    font-weight:300;
    margin:0;
}

#wrapper {
    width:1366px;
    margin:0 auto;
}


.background {
    background-image:url("../img/bgn.jpg");
    height:100vh;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height:100%;
    background-size: cover;
    z-index: -1;
    opacity:0.5;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.clearfix{
    clear:both;
    content:"";
    display:block;
}

/* FIRST ROW LOGO IN LOGIN.PHP */


/* FORM STYLES VALIDATION */
input.error {
    border:3px solid #EE7875 !important;
}

label.error, .fail-attempt-error {
    color:#EE7875;
    margin:-5px 0 9px 0;
    display:block;
    font:12px "Open Sans";
    text-align:center;
    width:100%;
}


/* NO PERMISSION PAGE */
#perm-main {
    height:100vh;
}

.perm-cont {
    width:320px;
    height:220px;
    position:relative;
    top:calc(50% - (280px/2));
    left:calc(50% - (320px/2));
}

.perm-logo {
    width:150px;
    margin-left:-10px;
}

.perm-div {
    height:150px;
    background:#eee;
    border-radius:10px;
}

.perm-div img {
    width:110px !important;
    height:100px;
    float:left;
    padding-top:calc(150px/2 - (100px/2));
    padding-left:10px;
}

.perm-div p {
    margin:0;
    font:24px "Open Sans";
    padding:20px 0 0 130px;
}

.perm-div p span {
    font-family:"Open Sans Bold";
    color:#1c2c3f;
}

.perm-div::after {
    clear:both;
    display:block;
    content:"";
}




/* LOGIN FORM  AND FORGOTTEN PASS*/
.login-form, .forgottenPass-form, .rePass-form{
    width:250px;
    margin:0 auto;
    margin-top:13%;
}

.banned-div-left {
	display: none;
    float:left;
    margin-top:15%;
    width:43.20%;
}

.banned-div-left img {
    display:block;
    margin-left:60%;
}

.banned-div-right {
    display: none;
    margin-top:15%;
}

/* changes placeholder text */
.login-form input::placeholder, .rePass-form input::placeholder {
    color:#dbdbea;
}

/* removes input blue border when clicked on input */
.login-form input:focus, .forgottenPass-form input:focus, .rePass-form input:focus, .profile-srch:focus, input[name="search-btn"]:focus, input[name="logout-btn"]:focus,
.details-menu form textarea:focus, input:focus, .news-srch, .note-box {
    outline:none;
}

.logo {
    width:150px;
    display:block;
    margin-bottom:20px;
}

.login-form form {
    display: inline-block;
}

.login-form input[name="username"]{
    color:#dbdbea;
    border:none;
    border-radius:50px;
    width:180px;
    padding:15px 20px 15px 10px;
    padding-left: 50px; 
    background:rgba(195, 195, 216, 0.5);
    margin-bottom:10px;
    background-image: url("../img/username.svg");
    background-size:35px;
    background-position:5px 5px;
    background-repeat: no-repeat;
}

.login-form input[name="password"]{
    color:#dbdbea;
    border:none;
    border-radius:50px;
    width:180px;
    padding:15px 20px 15px 10px; 
    padding-left: 50px;
    background:rgba(195, 195, 216, 0.5);
    margin-bottom:10px;
    background-image: url("../img/login-pass-icon.svg");
    background-size:35px;
    background-position:5px 5px;
    background-repeat: no-repeat;
}

.login-form input[name="loginBtn"]{
    padding:15px 0;
    border-radius:50px;
    display:block;
    border:none;
    background:#c3c3d8;
    color:#030935;
    width:250px;
    font-family:'Open Sans Bold';
}

.login-form input[type="submit"]:hover {
    background:#dbdbea;
}

.login-form input[name="email"]:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #dbdbea inset;
    background-image: url("../img/login-email-icon.svg");
    background-size:35px;
    background-position:5px 5px;
    background-repeat: no-repeat;
}

.login-form input[name="password"]:-webkit-autofill{
    -webkit-box-shadow: 0 0 0 30px #dbdbea inset;
    background-image: url("../img/login-pass-icon.svg");
    background-size:35px;
    background-position:5px 5px;
    background-repeat: no-repeat;
}

.login-form .radiofield {
    width:125px;
    font-size:12px;
    margin-top:10px;
    color:#c3c3d8;
    float:left;
}

.login-form .frgt_pass {
    width:120px;
    float:right;
    font-size:12px;
    margin-top:13px;
    font-family:'Open Sans Italic';
}

.login-form .frgt_pass a {
    text-decoration:none;
    color:#c3c3d8;
    margin-left:15px;
}

.fail-attempt-error {
    font-family: 'Open Sans';
    font-size: 12px;
    text-align: center;
}

.forgottenPass-form input::placeholder {
    color:#dbdbea;
}

.forgottenPass-form form {
    margin:0 auto;
}

.forgottenPass-form input[name="user_email"]{
    color:#dbdbea;
    border:none;
    border-radius:50px;
    text-indent:50px;
    width:250px;
    padding:15px 0;
    background:rgba(195, 195, 216, 0.5);
    margin-bottom:10px;
    background-image: url("../img/login-email-icon.svg");
    background-size:35px;
    background-position:5px 5px;
    background-repeat: no-repeat;
}

.forgottenPass-form input[name="frg-pass-btn"]{
    padding:15px 0;
    border-radius:50px;
    display:block;
    border:none;
    background:#c3c3d8;
    color:#030935;
    width:250px;
    font-family:'Open Sans Bold';
}

.forgottenPass-form p {
    font-size:12px;
    margin-top: 0px;
    margin-left: 10px;
    color:#c3c3d8;
}

.recPass-logo {
    width:150px;
    display:block;
    margin-bottom:5px;
}

.rePass-form input[name="token"]{
    color:#dbdbea;
    border:none;
    border-radius:50px;
    text-indent:50px;
    width:250px;
    padding:15px 0;
    background:rgba(195, 195, 216, 0.5);
    margin-bottom:10px;
    background-image: url("../img/login-pass-icon.svg");
    background-size:35px;
    background-position:5px 5px;
    background-repeat: no-repeat;
}

.rePass-form input[name="new-frgPass"]{
    color:#dbdbea;
    border:none;
    border-radius:50px;
    text-indent:50px;
    padding:15px 0;
    background:rgba(195, 195, 216, 0.5);
    margin-bottom:10px;
    width:250px;
    background-image: url("../img/login-pass-icon.svg");
    background-size:35px;
    background-position:5px 5px;
    background-repeat: no-repeat;
}

.rePass-form input[name="confirm-frgPass"]{
    color:#dbdbea;
    border:none;
    border-radius:50px;
    text-indent:50px;
    padding:15px 0;
    background:rgba(195, 195, 216, 0.5);
    margin-bottom:10px;
    width:250px;
    background-image: url("../img/login-pass-icon.svg");
    background-size:35px;
    background-position:5px 5px;
    background-repeat: no-repeat;
}

.rePass-form input[name="frg-new-btn"]{
    padding:15px 0;
    border-radius:50px;
    display:block;
    border:none;
    background:#c3c3d8;
    color:#030935;
    width:250px;
    font-family:'Open Sans Bold';
}

.popup-background{
    background-color:#000;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height:100%;
    background-size: cover;
    z-index: 15;
    opacity:0.8;
    display:none;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
/* Logged in user's profile pic */


/* HEADER of profiles.php */
#profiles-header {
    width:100%;
    margin-top:15px;
    margin-bottom: -5px;
    text-align: center;
}

#profiles-header img {
    float:left;
    margin-top:7px;
    width:150px;
}

#profiles-header form {
    display:inline-block;
}

/* NAV of profiles.php */

.mobile-menu {
    display: none;
	float: right;
	margin-top:-8px;
	margin-right: 10px;
}

.user-profile{
    float:right;
	height: 60px;
    margin-top:-8px;
    margin-right: 20px;
    cursor:pointer;
}

.menu-wrapper{
    width:100%;
    display: inline-grid;
    grid-template-columns: 75% 25%;
    float: right;
}

#profiles-nav {
    display: inline-block;
    margin:0 auto;
    width:500px;
    
}

#profiles-nav ul {
    display: inline-block;
    margin:0 auto;
    padding:0;
    width:500px;
}

#profiles-nav li {
    list-style:none;
    float:left;
    padding:15px 10px;
    width:100px;
}

#profiles-nav li a {
    color:#fff;
    text-decoration:none;
    display:block;
    text-align:center;
}

#profiles-nav li a:hover {
    color: #ffa977;
    transition:all 0.5s
}

.active {
    background-color:#ee7530;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

/* LOGGED IN USER FIELD */
.user-profile-name {
    display:inline-block;
    color:#fff;
    text-align:right;
    margin:8px 0 0 15px;
    font-size:14px;
}

#profiles-header .user-profile-img img {
    width:35px;
    height:35px;
    border-radius:50%;
    margin:14px 0 0 5px;
    object-fit: cover;
    display: flex;
    align-items: right;
}

.user-profile-img:hover {
    transform:scale(1.05);
    transition: all .2s;
}

#profiles-header input[name="logout-btn"]{
    background: url(../img/logout-btn.svg);
    border:none;
    background-repeat: no-repeat;
    width:25px;
    margin-top:24px;
    cursor: pointer;
}

/* MAIN of profiles.php */

#profiles-main  {
    width:100%;
    height:calc(100vh - (52px + 26px));
    background:#fff;
    border-radius:10px;
    overflow:auto;
    overflow: -moz-scrollbars-none;
    box-shadow: 0px -1px 20px -2px  #000 ;
    position:relative;
    z-index:7;
}

#profiles-main::-webkit-scrollbar, .photos::-webkit-scrollbar, .videos::-webkit-scrollbar, .center-news::-webkit-scrollbar, .center-gallery::-webkit-scrollbar, .news-container-top::-webkit-scrollbar, .news-container-bottom::-webkit-scrollbar, .department-scroll::-webkit-scrollbar, .note-box::-webkit-scrollbar {
    display:none;
}

.department-menu {
    background:linear-gradient(to right, #C4C5D8, #ACC0F0);
    position:sticky;
    top:0;
    width:100%;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    height:85px;
    z-index:3000;
    box-shadow:0 0 14px 0px #030935c7;
}

.menu-bar {
    background: linear-gradient(to right, #e58900, #ffd171) !important;
}

.department-menu ul {
    margin:0;
    padding:0 0 0 0px;
    float:left;
    width:80%;
    position:relative;
}

.department-scroll {
    list-style:none;
    position:absolute;
    display:inline-block;
    margin:0;
    padding:0 0 0 0px;
    float:left;
    width:100%;
    height:85px;
    overflow-x: auto;
    overflow-y:hidden;
    white-space:nowrap;
    position:relative;
}

.department-menu li {	
    display:inline-block;
    padding:10px 5px;
    margin:20px 0  20px 20px;
    background-color:#Fff;
    border-radius:20px;
    width:110px;
    font-size:14px;
    font-family:'Open Sans Bold';
    text-align:center;
    cursor:pointer;
    word-break: break-all;
}

.department-menu li:first-child{
    /*margin-left:50px;*/
    background-color:#ee7530;
}

.leftscroll, .rightscroll {
    background:#555;
    display:inline-block;
    width:40px;
    height:85px;
    opacity:0.3;
    cursor:pointer;
    z-index:6;
    position:absolute;
    display:none;
}

.leftscroll {
    float:left;
    top:0;
    left:0;
}

.rightscroll{
    top:0;
    right:0;
}

.leftscroll img, .rightscroll img {
    width:10px;
    display:block;
    margin:auto;
    vertical-align: middle;
    height:100%;
    opacity:1 !important;
}

.search {
    width:20%;
    float:right;
}

.search input[name="profile-srch"] {
    border-radius:20px;
    border:none;
    padding:8px 35px 8px 8px;
    margin:22px 0 0 0 ;
    margin-left:10%;
    text-indent:20px;
    width:calc(70% - 30px); /*-30px cuz of padding right*/
    font:14px "Open Sans";
    background-image: url("../img/search-icon1.svg");
    background-size:30px;
    background-position:99% 2px;
    background-repeat: no-repeat;
}

.profiles {
    margin:20px 0 0 20px;
}

.profile-div{
    display:inline-block;
    width:12%;
    cursor:pointer;
    height:175px;
    overflow:hidden;
    margin-bottom:20px;
}

.profile-div img {
    width:120px;
    height:120px;
    display:block;
    margin:auto;
    border-radius:50%;
    border:4px solid #ddd;
}

.profile-div p {
    margin-top:10px;
    text-align:center;
    font-family:'Open Sans';
    font-size:14px;
}

.profile-div:hover {
    transform:scale(1.05);
    transition: all .2s;
    border-radius:10px;
}

.profile-div:hover > p {
    font-family:'Open Sans Bold';
}

.mobile-menu img {
    width: 30px;
}

.details-background, .note-overlay {
    background-color:#1c2c3f;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height:100%;
    background-size: cover;
    z-index: 15;
    opacity:0.8;
    display:none;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.details-menu{
    width:300px;
    /*height:640px;*/
    position:absolute;
    top:calc(50% - (400px/2));
    left:calc(50% - (300px /2));/*half of screen - width/2*/
    background:linear-gradient(#98C3E7, #C3C3D8);
    display:none;
    border-radius:10px;
    z-index:20;
    opacity:0.99;
}

.details-menu img {
    width:100px;
    height:100px;
    display:block;
    position:absolute;
    top:calc(-50px);
    left:calc(50% - (100px / 2));
    border-radius:50%;
}

.details-menu p {
    text-align:center;
    font-size:14px;
    margin:5px 0;
}

.details-menu p:nth-child(2) {
    font-family:'Open Sans Bold';
    font-size:16px;
    padding-top:50px;
}

.details-menu p:nth-child(3) {
    font-family:'Open Sans Italic';
}

.details-menu p:nth-child(4){
    margin-bottom:50px;
}

.details-menu form input[name="user-fb"], input[name="user-skype"], input[name="user-phone"] {
    display:block;
    margin:auto;
    margin-bottom:15px;
    border-radius:20px;
    border:none;
    width:68%;
    font-size:14px;
    padding:10px 0;
    padding-right: 40px;
    padding-left: 20px;
    background:#fff;
    font-family:"Open Sans";
    
}

.details-menu form input[name="user-fb"]{
    background-image: url("../img/facebook-icon.svg");
    background-size:30px;
    background-position:98% 4px;
    background-repeat: no-repeat;
}

.details-menu form input[name="user-skype"]{
    background-image: url("../img/skype-icon.svg");
    background-size:30px;
    background-position:98% 3px;
    background-repeat: no-repeat;
}

.details-menu form input[name="user-phone"]{
    background-image: url("../img/phone-icon.svg");
    background-size:30px;
    background-position:98% 4px;
    background-repeat: no-repeat;
}



.details-menu form textarea {
    resize: none;
    width:78%;
    display:block;
    margin:0px auto 20px auto;
    border-radius:20px;
    border:none;
    padding:15px;
    background:#fff;
    font:14px "Open Sans";
}

.details-menu input[name="settings_btn"]{
    border:none;
    border-radius:20px;
    background:linear-gradient(to right, #030935, #101D68);
    width:88%;
    display:block;
    margin:auto;
    margin-top:20px;
    margin-bottom: 20px;
    padding:12px 0;
    color: #fff;
    font-size:12px;
}

.details-menu input[name="settings_btn"]:hover, .change-passForm input[name="save-new-pass"]:hover {
    background: #0c1768;
} 

.change-pass {
    border:none;
    border-radius:20px;
    width:88%;
    display:block;
    margin:auto;
    margin-top:20px;
    margin-bottom: 20px;
    padding:6px 0;
    color: #060d52;
    font-size:12px;
    background:#eee;
    background-image: url("../img/Password_2.svg");
    background-size:30px;
    background-position:98% 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.change-pass p {
    text-align: left;
    margin-left: 20px;
}

.details-menu input[name="admin-btn"]{
    border:none;
    padding:10px 20px;
    background-color:#c3c3d8;
    margin:20px 0 0 0;
    width:50%;
    float:left;
    color:#060d52;
    font-family:'Open Sans Bold';
    cursor:pointer;
    background-image: url(../img/admin-default.svg);
    border:none;
    background-size:25px;
    background-position:90% 9px;
    background-repeat: no-repeat;
    border-bottom-left-radius: 10px;
}

.details-menu input[name="logout-btn"]{
    border:none;
    width:50%;
    margin:20px 0px 0 0;
    padding:10px 10px;
    background-color:#c3c3d8;
    float:right;
    color:#060d52;
    font-family:'Open Sans Bold';
    cursor:pointer;
    background-image: url(../img/logout2.svg);
    border:none;
    background-size:25px;
    background-position:90% 10px;
    background-repeat: no-repeat;
    border-bottom-right-radius:10px;
}

.details-menu input[name="logout-btn"]:hover, .details-menu input[name="admin-btn"]:hover{
    background-color:rgba(255, 255, 255, 0.4);
}

.change-passForm {
    display: none;
} 

.change-passForm input[name="old-pass"], input[name="new-pass"], input[name="re-new-pass"] {
    display:block;
    margin:auto;
    margin-bottom:15px;
    border-radius:20px;
    border:none;
    width:80%;
    font-size:14px;
    padding:10px 0;
    text-indent:10%;
    background:#fff;
    font-family:"Open Sans";
}

.change-passForm input[name="save-new-pass"] {
    border:none;
    border-radius:20px;
    background:linear-gradient(to right, #030935, #101D68);
    width:80%;
    display:block;
    margin:auto;
    margin-top:20px;
    margin-bottom:20px;
    padding:12px 0;
    color: #fff;
    font-size:12px;
}

/* NEWS */

#news-main{
    width:80%;
    background:#fff;
    border-radius:10px;
    box-shadow: 0px -1px 20px -2px  #000 ;
    overflow:hidden;
    position:relative;
    float:left;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.center-news{
    width:100%;
    height:calc(100vh - (52px + 26px));
    float:left;
    display:inline-block;
    overflow:auto;
    overflow: -moz-scrollbars-none;
}

 .gallery-category {
    background: linear-gradient(to right, #dbdbf5, #e9e9f5);
    position:sticky;
    top: 0;
    width:100%;
    padding-right:60px;
    border-top-left-radius: 10px;
    box-shadow:0 0 14px 0px #030935c7;
}

.news-category {
    background:linear-gradient(to right, #DBDBEA, #C4C5D8);
    position:sticky;
    top: 0;
    width:100%;
    border-top-left-radius: 10px;
    overflow-x: auto;
    overflow-y:hidden;
    white-space:nowrap;
    position:relative;
    box-shadow:0 0 14px 0px #030935c7;
}

.gallery-category {
    background:linear-gradient(to right, #dbdbf5ed, #e9e9f5eb);
}

.news-category ul li, .gallery-category ul li {
    list-style:none;
    display:inline-block;
    padding:10px 5px;
    margin:20px 0  20px 20px;
    background-color:#Fff;
    border-radius:20px;
    width:110px;
    font-size:14px;
    font-family:'Open Sans Bold';
    text-align:center;
    cursor:pointer;
    word-break: break-all;
}

.gallery-category ul li:hover{
    transform:scale(1.05);
    transition: all .2s;
}

.news-category ul li:first-child{
    background:#ee7530;
}

.news-article {
    border-bottom:1px solid #dbdbea;
    padding-left:40px;
    width:94%;
    padding-right:30px;
}

.news-article:nth-child(odd){
    background:rgba(215,215,233, 0.3);
}

.news-title-div {
    width:100%;
    display:block;
    text-align:left;
}

.news-title {
    overflow:hidden;
    margin:0;
    padding:20px 0;
    cursor:pointer;
    font-family:"Open Sans Bold";
    font-weight:600;
}

.news-text {
    width:90%;
    margin-right:20px;
    float:left;
    cursor:pointer;
    overflow:hidden;
}

.news-img-div{
    width:30%;
    display:inline-block;
}

.news-img {
    width:400px;
    height:calc(400px/16*9);
    display:block;
    margin:auto;
    margin-left:20px;
    cursor:pointer;
}

.news-img[src='img.php?id=0'], .active-news-img[src='img.php?id=0']{
    display:none;
}

.news-credentials {
    display:block;
    margin:10px 0 35px 0;
}

.news-credentials > p {
    display: inline-block;
    margin-right:30px;
    font:12px 'Open Sans';
}

/* NEWS RIGHTSIDE */

#news-rightside {
    width:20%;
    height:calc(100vh - (52px + 26px));
    box-shadow: 0px -1px 0px -2px  #000 ;
    background:#D8D8E4;
    display:inline-block;
    float:left;
    position:relative;
    top:0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.news-search, .files-search {
    height:12%;
    position:sticky;
    top:0;
    background-color:#d7d7e3;
}

.files-search {
    background:#E8E8EF;
}

.news-srch, .files-srch {
    border-radius:20px;
    border:none;
    padding:8px 35px 8px 8px;
    margin:20px 0 20px 0 ;
    margin-left:20px;
    text-indent:20px;
    width:calc(80% - 30px); /*-30px cuz padding right*/
    font:14px "Open Sans";
    background-image: url("../img/search-icon1.svg");
    background-size:29px;
    background-position:99% 45%;
    background-repeat: no-repeat;
}

.news-container-top {
    height: 85%;
    overflow: auto;
    width:100%;
    overflow: -moz-scrollbars-none;
}

.recent-news-container {
    border-top: 1px solid #eee;
    cursor:pointer;
}

.recent-news-container:hover {
    background:#e8e8ed;
}

.activeNews {
    background:#e8e8ed !important;
}

.news-container-bottom {
    display:none;
    height: calc(100vh - 153px);
    overflow:auto;
    background:#E8E8EF;
    border-bottom-right-radius:10px;
}

.recent-news-tag {
    padding: 10px 0px;
    margin: 0;
    font-size: 12px;
    text-align:center;
    font-family: 'Open Sans Bold';
    width:100%;
    background-color: #FAFAFF;
    display: inline-block;
    cursor:pointer;
    border-top-right-radius: 10px;
}

.recent-files-tag {
    padding: 10px 0px;
    margin: 0;
    font-size: 12px;
    width:100%;
    font-family: 'Open Sans Bold';
    background:#E8E8EF;
    display: inline-block;
    text-align:center;
    cursor:pointer;
}

/*.recent-div-tag {
    width: 100%;
    height:3%;
    padding-top: 10px;
    padding-bottom: 10px;
    background:#E8E8EF;
    margin:0;
}*/

.recent-news-title {
    margin:12px 20px 0px 20px;
    padding-bottom:12px;
    font-family: 'Open Sans Bold';
    overflow:hidden;
}

.recent-news-files a {
    text-decoration:none;
    color:#000;
}

.recent-news-files a p {
    padding: 20px 45px 20px 20px;
    font-size: 14px;
    font-family: 'Open Sans Bold';
    cursor: pointer;
    margin:0;
	overflow-wrap: break-word;
}

.recent-news-files:hover {
    background: linear-gradient(to right, #C3C3D8 0%, #87B3DA 100% );
    font-family: 'Open Sans Bold';
    width: 100%
}

.recent-title-files:hover {
    background-image: url('../img/download.svg');
    background-size: 30px;
    background-repeat: no-repeat;
    background-position:95% 50%;	
}

/* NEWS.PHP ACTIVE NEWS */
.active-news-img {
    object-fit:cover;
    width:85%;
    padding:20px 40px 0 80px ;
    height:450px;
}

.active-title {
    font-weight: 600;
    font-family:"Open Sans Bold";
}

.active-title, .active-news-credentials {
    padding:30px 40px 0 80px ;
    width:85%;
}

.active-news-text {
    padding:20px 40px 0 80px ;
    width:80%;
    line-height: 1.6;
    text-indent: 30px;
}

.active-news-credentials {
    padding-top:60px;
}

.active-news-credentials p {
    float:left;
    margin-right:60px;
}

.active-news-top {
    height:85%;
}

#gallery-main {
    width:100%;
    height:calc(100vh - (52px + 26px));
    background:#fff;
    border-radius:10px;
    box-shadow: 0px -1px 20px -2px  #000 ;
    overflow:hidden;
    position:relative;
    float:left;
}

.label-options {
    width:100%;
    height:75px;
    display:block;
    background: #a0a0bb;
    overflow:auto;
    /*margin: 10px 0 0 27px;*/
}

.label{
    float:left;
    margin:5px;
    padding:0 10px;
    cursor:pointer;
    border-radius:15px;
    background:#C3C3D8;
}

.label:hover{
    transform:scale(1.05);
    transition: all .2s;
}

.label p {
    text-align:center;
    cursor:pointer;
    margin:0;
    padding:5px;
    font-size:14px;
    color:#fff;
}

.photos, .videos {
    width: 100%;
    background:#eee;
    padding:10px 10px 10px 10px;
    height:80%;
    display:inline-block;
    overflow:auto;
    overflow: -moz-scrollbars-none;
}

.pic-div, .vid-div {
    margin-top:20px;
    display:inline-block;
    position:relative;
    margin-left: 16px;
}

.pic-div:hover{
    transform:scale(1.05);
    transition: all .2s;
}

.vid-div:hover{
    transform:scale(1.05);
    transition: all .2s;
}

.vid-div img {
    display:block;
    width:300px;
    height:200px;
    margin:5px;
    border-radius:3px;
}

.vid-div p {
    display:inline-block;
    width:300px;
    margin:0;
    padding-left:5px;
    height:22px;
    overflow:hidden;
    font:16px 'Open Sans';
}

.vid-div p:last-child, .pic-div img:last-child  {
    padding-bottom:20px;
}

.pic-div img {
    border-radius:3px;
}

.selectedDiv {
    background-color:#7577C8 !important;
}

.carousel {
    width:1100px;
    height:800px !important;
    margin:auto;
    z-index:20;
    position:absolute;
    top:calc(50% - (800px / 2));
    left:calc(50% - (1100px / 2));
    cursor:default;
    display:none;
}

.carousel .carousel-img, .carousel-holder {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    vertical-align: middle;
    display:block;
    margin: auto;
    border-radius:10px;
    width:auto;
    max-width:100%;
    height:600px !important;
    height: auto !important;
    max-height:100%;
}

.carousel-vid {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    vertical-align: middle;
    display:block;
    margin: auto;
    border:none;
    border-radius:10px;
    width:1100px;
    max-width:100%;
    height:700px !important;
    max-height:100%;
}

.left-arrow {
    width:40px;
    height:100px;
    position:relative;
    z-index:5;
    right:-10px;
    top:calc(50% - (100px/2));
}

.right-arrow {
    z-index:5;
    width:40px;
    left:-10px;
    height:100px;
    float:right;
    position:relative;
    top:calc(50% - (100px/2));
}

.activeCategory {
    background:#ee7530 !important;
}

.label-videos-div {
    /*display: none;*/
}

.videos {
    display: none;
}

/*CALENDAR*/
.department-calendar, .department-menu  {
    background:linear-gradient(to right, #dbdbf5ed, #e9e9f5eb);
    position:sticky;
    top:0;
    left:0;
    width:100%;
    border-top-right-radius: 10px;
    height:85px;
    z-index:10;
    display: grid;
    grid-template-rows: 1fr;
}

/* .department-calendar ul {
    background:Red;
    margin:0;
    padding:0;
    float:left;
    width:15%;
    display:inline-block;
} */

.departments-calendar{
    height:85px;
    box-shadow:0 0 14px 0px #030935c7;
}

/* .department-calendar li {	
    position:relative;
    top:calc(40px/2);
    display:inline-block;
    padding:10px 5px;
    background-color:#Fff;
    border-radius:20px;
    width:110px;
    font:14px 'Open Sans Bold';
    text-align:center;
    cursor:pointer;
    word-break: break-all;
} */

/* .calendar-menu {
    position:sticky;
    left:0;
    width:100%;
    z-index:10;
    background:#fff;
    top:85px;
} */

.date-div {
    background: #4c4ae7;
    height:42px;
}

.date-div p {
    display:inline-block;
    color: #FFF;
    font-family:'Open Sans Bold';
    font-size: 16px;
    margin: 0;
    padding: 10px 0px 10px 50px;
}

.month-icon {
    width:25px;
    height:25px;
    display:inline-block;
    position:relative;
    margin-left:10px;
    top:calc(50% - ((42px - 25px))); /*42px is div height and 25px is icon height*/
}

.shift-legend {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: repeat(12, 1fr);
}

.shift-div:first-child {
    margin-left: 30px;
}

.shift-div {
    display: grid;
    grid-template-columns: 30% 70%;
    width:100px;
    height:30px;
    background:#fff;
    border-radius:20px;
    align-self: center;
    margin-left: 5px;
    padding: 5px 5px 0 5px;
}

.shift-div div {
    align-self: center;
}

.shift-div img {
    width:25px;
    height:25px;
}

.shift-div p {
    margin: 0 0 5px 5px;
    background: #fff;
    font:14px "Open Sans";
}

.shift-info {
    display:none;
}

.shift-icon {
    align-self: center;
}

.shift-icon div {
    display: grid;
}

.shift-icon div img {
    justify-self: center;
}

.shift-icon .note-icon {
    justify-self: start;
}

.shift-icon .cal-icon {
    margin-top: 3px;
    width: 30px;
    height:30px;
}

.note-icon {
    cursor:pointer;
    width:40px;
    height:45px;
}

.note-div {
    display:none;
    flex-direction: column;
    width: 500px;
    height: 600px;
    position:fixed;
    border-radius:20px;
    z-index:18;
    left:calc(50% - (500px/2));
    box-shadow:0px 1px 7px 0px #030935c7;
    box-sizing: border-box;
}

.note-div .note-header {
    display: flex;
    justify-content: space-between;
    height: 70px;
    background:#4C4AE4;
    border-radius: 20px 20px 0 0 ;
}

.note-header h2 {
    padding:0;
    margin:0;
    padding: 0.2rem 0 0 2rem;
    color:#fff;
    align-self: center;
}

.note-header .note-close, .schedule-close {
    width:20px;
    padding:0.6rem 1rem 0 0;
    cursor:pointer;
    align-self: center;
} 

.note-body {
    height: 400px;
    background:#fff;
    overflow: auto;   
}

.note-footer {
    height: 140px;
    position:relative;
    background:#E6E6F2;
    border-radius:0 0 20px 20px;
}

.note-footer .note-box {
    resize: none;
    height:105px;
    margin: 15px 10px;
    width: calc(95% - 20px);
    border-radius:10px;
    border:none;
    background-color:#fff;
    position:absolute;
    padding:5px 10px 0 10px;
}

.right_msg {
    text-align: right; 
}

.right_msg .note-rec-msg {
    background: #4C4AE4;
    color: #fff;
}

.right_msg .msg-date {
    margin-right: 30px;
}

.msg-date {
    display: block;
    font-size: 10px;
    margin-left: 30px;
    color: #adadad;
}

.note-rec-msg {
    display: inline-block;
    margin: 5px 20px;
    padding: 7px 20px;
    background: #E8E2E2;
    border-radius: 20px;
}

.note-footer .note-send {
    position:relative;
    background-image:url("../../open_site/img/submit-icon-old.svg");
    width:30px;
    border-radius:50%;
    height:30px;
    background-size:cover;
    border:none;
    background-repeat:no-repeat;
    top:95px; /*margin-top + textbox height - padding-top - 3px for btn margin*/
    left: 91%; /*100% textarea width - textarea margin left (10px) - button size (30px) - 2px for margin*/
    cursor:pointer;
}

.captcha-img img{
	border-radius: 50px;
}

.captcha-input {
	color:#dbdbea;
    border:none;
    border-radius:50px;
    width:230px;
    padding:15px 0 15px 20px; 
    background:rgba(195, 195, 216, 0.5);
	margin-top: 5px;
    margin-bottom:10px;
}


table#cal { 
    width: 100%;
    /*position: absolute;*/
    table-layout: fixed;
    padding:0;
}

td.calendar-day-head {
    color: #fff;
}

td.calendar-day { 
    height:30px !important;
    cursor:pointer;
} 


td.calendar-day:hover {
    	background:#eceff5;
}

td.calendar-day-np { 
    opacity:0.5;
} 

td.calendar-day-head {
    font-weight:bold; 
    text-align:center; 
    padding:5px; 
    z-index: 5; 
    background:#4c4ae4d4;
    /*box-shadow:10px -2px 14px 0px #030935c7;*/
}
/*
div.day-number  { 
    padding:5px;
    color:#fff;
    font:14px "Open Sans Bold";
    padding-right:10px;
    text-align:right;
    position: relative;
    /*	top:0;
            top:calc(-121px/2 + (26px / 2));*/
/*}*/

.calendar-day-spe {
    padding:0;
    height:35px !important;
    z-index:10;
}

.calendar-day-spe span {
    float: right;
    font-size: 12px;
    margin: 4px 5px 0px 0px;
    color: #484850;
    z-index:10;
}

.holiday-style {
    padding: 0 !important;
    color: #ee7530 !important;
    border-radius: 100%;
    text-align: center;
    font-family: "Open Sans Bold";
    cursor:pointer
}

.calendar-day-spe img {
    width:25px;
    height:25px;
    position:relative;
    top:calc(50% - (25px/2));
    left:calc(50% - (25px/2));
    z-index:10;
}

.event-day:hover > .calendar-event {
    display:inline-block;
}

.calendar-event {
    display:none;
    width:100%;
    background-color:rgba(255,255,255,1);
    z-index:15;
    position:relative;
    border-radius:5px;
    margin-top:10px;
    box-shadow:0px 0px 10px 0px #ddd;
}

.calendar-event p {
    margin:10px 0;
    z-index:15;
    background:#fff;
    padding-left:10px;
    font:14px "Open Sans";
}

.day-number:nth-child(odd){
    background:#8386A4;
}

.calendar-day-np, .calendar-day {
    border: solid 1px #EDEDF2;
}

.contip-con {
    border:1px solid #fff;
}

/*MOBILE MENU*/ 
.close-menu {
    color:#fff;
    display:none;
}

.mobile-options {
    width:100%;
    display:none;
    margin:0;
    padding:0;
    margin:10px 0 5px 0;
}

.mobile-options li {
    padding:5px;
    width:40%;
    margin:auto;
    border-radius:20px;
    text-align:center;
    list-style:none;
}

.mobile-options li:first-child {
    text-align:center;
}

.mobile-options li a {
    text-decoration:none;
    color:#fff;
}

.mobile-close-img {
    display:none;
    position:relative;
}

.contip {
    box-shadow:0px 0px 10px 0px #ddd;
}

.department-menu h1 {
    margin:0;
    width:90px;
    height:45px;
    position:relative;
    top:calc(50% - (45px/2));
    left:calc(50% - (90px / 2));
    display:inline-block;
    font-family:'Open Sans Bold';
}

/* FOOD MENU */
.menu-row {
    border-bottom:1px solid #EDEDF2;
    height:80px;
}

.menu-row:nth-child(odd){
    background-color:#e9e9f5;
}

.menu-row:nth-child(even){
    background-color:#f3f3f7;
}

.menu-row p {
    margin:0;
    display:inline-block;
    vertical-align:middle;
}

.menu-row img {
    display:inline-block;
    width:60px;
    height:60px;
    padding-top:10px;
    vertical-align:middle;
    opacity:0;
}

.menu-days {
    color:#060C56;
    font:18px "Open Sans Bold";
    width:10%;
    padding-left:15px;
}

.food-name {
    color:#282C6B;
    width:15%;
    padding-left:10px;
}

.menu-row:hover {
    background-color:#666;
}

.menu-row:hover > p {
    color:#fff;
}

.menu-row:hover >  img {
    opacity:1;
}

.menu-row img:hover {
    transform:scale(1.15);
    transition: all .2s;
}

/**************** FULL SCHEDULE BOX *************************/
.full-schedule {
    display: none;
    position: absolute;
    width: 80%;
    height: 600px;
    top: calc(50% - 300px);
    left: 10%;
    grid-template-rows: 50px 550px;
    z-index: 200;
}

.full-schedule-head {
    display: grid;
    grid-template-columns: 10% auto 10%;
    background: #4c49e7;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.full-schedule-head p, .full-schedule-head img {
    margin: 0;
    align-self: center;
}

.full-schedule-head p {
    color: #fff;
    font-size: 1.2rem;
    margin-left: 20px;
}

.full-schedule-head img {
    margin-right: 10px;
    justify-self: end;
}

.full-schedule-body {
    display: grid;
    background: #fff;
    grid-template-columns: repeat(9, 1fr);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.first-b-head, .second-b-head, .third-b-head, .aux-b-head, .pay-b-head, .sick-b-head, .off-b-head, .nopay-b-head, .comp-b-head {
    display: grid;
    grid-template-columns: 30% 70%;
    background: #ededf1;
}

.full-schedule-body p {
    margin: 5px 0;
}

.full-schedule-body img {
    width: 25px;
    align-self: center;
    justify-self: center;
}

.full-first, .full-second, .full-third, .full-aux, .full-pay, .full-off, .full-sick, .full-nopay {
    border-right: 1px solid #ededf2;
}
.full-second, .full-aux, .full-sick, .full-nopay{
    background: #fafafa;
}

.full-first .emp-box, .full-third .emp-box, .full-pay .emp-box, .full-off .emp-box, .full-comp .emp-box{
    display: grid;
    background: #fff;
}

.full-second .emp-box, .full-aux .emp-box, .full-sick .emp-box, .full-nopay .emp-box{
    display: grid;
    
}

.emp-box div {
    width: 100%;
    border-bottom: 1px solid  #ededf2;
    font-size: 1rem;
    align-self: center;
    text-align: center;
}


/* MEDIA QUERY put wrapper width bigger */
@media screen and (max-width: 400px){
    /* *************************************************************
    ****************************************************************
    *** MISC < 400px
    ****************************************************************
    ************************************************************** */
    #wrapper {
        width:95%;
    }

    .mobile-menu {
        display: block;
    }

    .menu-wrapper{
        display: inline-grid;
        grid-template-columns: 65% 35%;
    }

    .user-profile {
        width:80px;
    }

    .user-profile-name {
        display: none;
    }

    .details-menu {
        width:260px;
        top:calc(50% - ((516px - 50px)/2));
        left:calc(50% - (260px/2));
    }

    .details-menu p:nth-child(4){
        margin-bottom:10px !important;
    }

    .details-menu input[name="user-fb"], input[name="user-skype"], input[name="user-phone"] {
        margin-bottom:10px !important;
        padding:7px 40px 7px 20px !important;
        background-size:25px !important;
        background-position: 98% 4px !important;
    }

    .details-menu textarea {
        height:60px;
        margin-bottom:10px !important;
    }

    .change-pass, .details-menu input[name='settings_btn'] {
        margin:10px 18px;
    }

    .admin-settings input, .logout-settings input {
        margin-top:5px !important;
    }

    .details-background{
        height:calc(100vh + 128px);
    }

    .close-menu {
        position:relative;
        top:8px;
        left:3px;
    }
        
    .header-logout {
        display:none;
    }

    .hamburger  {
        margin-top: 12px;
        padding-right:0;
        padding-left:5px;
    }

    .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
        background-color:#fff;
        width: 35px ;
    }

    /* *************************************************************
    ****************************************************************
    *** PROFILES.PHP < 400px
    ****************************************************************
    ************************************************************** */
    #profiles-header img{
        width: 100px;
        margin-top:12px;
    }

    #profiles-nav, .profile-srch, .header-logout{
        display: none;
    }

    .department-menu ul, .departments-scroll, .department-menu {
        width: 100%;
    }

    .profile-div{
        display:inline-block;
        width:30%;
        cursor:pointer;
        height:75px;
        overflow:hidden;
        padding-bottom: 40px;
    }
    
    .profile-div img {
        width:60px;
        height:60px;
        display:block;
        margin:auto;
        border-radius:50%;
    }
    
    .profile-div p {
        font-family:'Open Sans Bold';
        text-align: center;
        font-size: 12px;
    }

    /* *************************************************************
    ****************************************************************
    *** INDEX.PHP < 400px
    ****************************************************************
    ************************************************************** */
    #news-rightside {
        display: none;
    }

    #news-main {
        width: 100%;
        border-radius: 10px;
    }

    .news-category {
        border-top-right-radius: 10px;
    }

    .news-category ul {
        padding-left: 0px;
    }
    
    .news-text {
        display: none;
    }

    .news-img {
        margin:0;
        width: 90vw;
        height: calc(90vmin/16*9);
    }

    .news-article {
        padding-left: 10px;
        padding-right: 0px !important;
    }

    .news-title {
        font-size: 18px;
    }

    .news-credentials{
        width:100%;
    }

    .news-date, .news-author, .news-department{
        width: 32%;
        font-size: 10px;
        margin-right:0 !important;
        text-align:center;
     }

     /* *************************************************************
    ****************************************************************
    *** NEWS.PHP < 400px
    ****************************************************************
    ************************************************************** */
    .active-news{
        width:calc(100% - 20px);
        margin-left:10px;
    }

    .active-news-img {
        padding: 0px;
        width: 90vw;
        height: calc(90vmax/16*9);
    }

    .active-title {
        width: calc(100% - 5px);
        padding: 0px;
        font-size: 20px;
    }

    .active-news-text {
        width: calc(100% - 5px);
        padding: 0px;
        font-size: 14px;
    }

    .active-news-credentials {
        width:100%;
        height:calc(17px + 24px);
        padding:0 !important; 
    }

    .active-news-credentials p{
        padding: 0px;
        width: 33%;
        font-size: 10px;
        margin-right:0;
        text-align:center;
    }

    /* *************************************************************
    ****************************************************************
    *** GALLERY.PHP < 400px
    ****************************************************************
    ************************************************************** */
    .label-options{
        height:83px;
        padding-bottom: 0;
    }
    
    .photos, .videos {
        width: 100%;
        padding-left:0;
    }

    .pic-div, .vid-div {
        width: 200px;
        display: block;
        margin: auto;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left:0 !important;
        width:100%;
    }    
    
    .pic-div img, .vid-div img {
        display:block;
        margin:auto;
        width:220px;
    }
    
    .vid-div p {
        width:240px;
        font:14px 'Open Sans';
        display:block;
        margin:auto;
        text-align:center;

    }
    
    .pic-div:last-child  {
        margin-bottom:25px;
    }

    .vid-div:last-child{margin-bottom:100px;}
    
    .gallery-category ul {
        padding-left:0;
    }
  
    .carousel, .carousel-holder {
      width:100vw;
      height:100vh !important;
      top:0;
      left:0;
    }
    
    .carousel-img {
      border-radius:none;
    }

    .mobile-close-img { /*for carousel X*/
        width:20px;
        display:inline-block;
        position:absolute;
        top:4px;
        left:calc(100% - (24px));
    }  
    
    .right-arrow, .left-arrow {
        width:25px;
        right:1;
        height:60px;
        top: calc(50% - (60px/2));
    }
    
    .left-arrow {
        float:left;
        left:1;
    }

    /* *************************************************************
    ****************************************************************
    *** SCHEDULE.PHP < 400px
    ****************************************************************
    ************************************************************** */
    .shift-legend {
        width:100% !important;
    }

    .shift-div {
        margin-left:10px !important;
    }

    .shift-icon {
        margin-right:10px;
    }

    .calendar-day-spe img {
        width:18px;
        height:18px;
        top:calc(50% - (18px/2));
        left:calc(50% - (18px/2));
    }

    .calendar-day-spe span {
        font-size: 9px;
        padding: 0px 1px 0px 0px;
    }
    /* Message Box */
    .note-div {
        display:none;
        flex-direction: column;
        position: fixed;
        top: 20px;
        left: 0;
        width: 95%;;
        margin: 0px 10px 0 10px;
        border-radius:20px;
        z-index:18;
        box-shadow:0px 1px 7px 0px #030935c7;
        box-sizing: border-box;
    }

    .note-footer .note-box {
        resize: none;
        height:110px;
        margin: 15px 10px 15px 7px;
        width: 95%;
        border-radius:10px;
        border:none;
        background-color:#fff;
        position:absolute;
        padding-left:20px;
    }
   
    .note-footer .note-send {
        position:relative;
        background-image:url("../../open_site/img/submit-icon-old.svg");
        width:30px;
        border-radius:50%;
        height:30px;
        background-size:cover;
        border:none;
        background-repeat:no-repeat;
        top:90px; /*margin-top + textbox height - padding-top - 3px for btn margin*/
        left: 89%; /*100% textarea width - textarea margin left (10px) - button size (30px) - 2px for margin*/
        cursor:pointer;
    }
}

@media  screen and (min-width: 401px) and (max-width: 800px){
    /* *************************************************************
    ****************************************************************
    *** MISC > 400px < 800px
    ****************************************************************
    ************************************************************** */
    #wrapper {
        width:95%;
    }

    .menu-wrapper{
        width:100%;
        display: inline-grid;
        grid-template-columns: 50% 25% 25%;
    }
    
    .mobile-menu {
        display: block;
    }

    .profile-div{
        margin-top: 20px;
        display:inline-block;
        width:30%;
        cursor:pointer;
        height:75px;
        overflow:hidden;
        padding-bottom: 40px;
    }
    
    .profile-div img {
        width:60px;
        height:60px;
        display:block;
        margin:auto;
        border-radius:50%;
    }
    
    .profile-div p {
        font-family:'Open Sans Bold';
        text-align: center;
        font-size: 12px;
    }
    
    .details-menu {
        width: 260px;
        top:calc(50% - ((526px - 50px)/2));
        left:calc(50% - (260px/2));
    }

    .details-menu p:nth-child(4){
        margin-bottom:10px !important;
    }

    .details-menu input[name="user-fb"], input[name="user-skype"], input[name="user-phone"] {
        margin-bottom:10px !important;
        padding:7px 40px 7px 20px !important;
        background-size:25px !important;
        background-position: 98% 4px !important;
    }

    .details-menu textarea {
        height:70px;
        margin-bottom:10px !important;
    }

    .change-pass, .details-menu input[name='settings_btn'] {
        margin:10px 18px;
    }

    .admin-settings input, .logout-settings input {
        margin-top:5px !important;
    }

    .hamburger  {
        margin-top: 12px;
        padding-right:0;
        padding-left:15px;
    }

    .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
        background-color:#fff;
        width: 35px ;
    }

    .details-background{
        height:calc(100vh + 128px);
    }


    /* *************************************************************
    ****************************************************************
    *** PROFILES.PHP > 400px < 800px
    ****************************************************************
    ************************************************************** */
    #profiles-nav, .profile-srch, .header-logout{
        display: none;
    }
    
    #profiles-header img{
        width: 120px;
    }

     .department-menu ul, .departments-scroll, .department-menu {
        width: 100%;
    }

    /* *************************************************************
    ****************************************************************
    *** INDEX.PHP > 400px < 800px
    ****************************************************************
    ************************************************************** */
    #news-main {
        width: 100%;
        border-radius: 10px;
    }

    .news-category {
       border-top-right-radius: 10px;
    }

    .news-category ul {
        padding-left: 0px;
    }

    .news-text {
        display: none;
    }

    .news-img {
        margin:0;
        width: 91vw;
        height: calc(91vmin/16*9);
    }

    .news-article {
        width: calc(100% - 15px);
        padding-left: 15px;
        padding-right: 0px;
    }

    .news-title {
        font-size: 16px;
    }

    #news-rightside {
        display: none;
    }

    /* *************************************************************
    ****************************************************************
    *** NEWS.PHP > 400px < 800px
    ****************************************************************
    ************************************************************** */
    .active-news{
        width:calc(100% - 20px);
        margin-left:10px;
    }

    .active-news-img {
        padding: 0px;
        width: 91vw;
        height: calc(91vmax/16*9);
    }

    .active-title {
        width: calc(100% - 5px);
        padding: 0px;
        font-size: 20px;
    }

    .active-news-text {
        width: calc(100% - 5px);
        padding: 0px;
        font-size: 14px;
    }

    .active-news-credentials {
        width:100%;
        height:calc(17px + 24px);
        padding:0 !important; 
    }

    .active-news-credentials p{
        padding: 0px;
        width: 33%;
        font-size: 10px;
        margin-right:0;
        text-align:center;
    }

    /* *************************************************************
    ****************************************************************
    *** GALLERY.PHP > 400px < 800px
    ****************************************************************
    ************************************************************** */
    .label-options {
        height:85px;
    }
    
    .carousel, .carousel-holder {
      width:100vw;
      height:100% !important;
      top:0;
      left:0;
    }

    .carousel-img {
      border-radius:none;
    }
    
    .right-arrow, .left-arrow {
        width:25px;
        right:1;
        height:60px;
        top: calc(50% - (60px/2));
    }
    
    .left-arrow {
        float:left;
        left:1;
    }

    /*.carousel, .carousel-holder {
      width:100vw;
      height:100vh !important;
      top:0;
      left:0;
    }
    
    .mobile-close-img { for carousel X
        width:20px;
        display:inline-block;
        position:absolute;
        top:4px;
        left:calc(100% - (24px));
    }  
    
    .right-arrow, .left-arrow {
        width:25px;
        right:1;
        height:60px;
        top: calc(50% - (60px/2));
    }
    
    .left-arrow {
        float:left;
        left:1;
    }*/

    .mobile-close-img {
        width:20px;
        display:inline-block;
        position:absolute;
        /*50% of height - ((16x9 of current width of pic)/2 - X btn img size)*/
        /*top:calc(50% - ((100vw / 16 * 9)/2) - 20px);*/
        top:10px;
        left:calc(100% - (34px));
        z-index:33;
    }  

    .pic-div {
        margin-left:0;
        width:100%;
    }
    
    .pic-div img {
        display:block;
        margin:auto;
        width:300px;
    }
    
    .pic-div:last-child {
        margin-bottom:25px;
    }

    /* *************************************************************
    ****************************************************************
    *** SCHEDULE.PHP > 400px < 800px
    ****************************************************************
    ************************************************************** */
    .shift-legend {
        width:100% !important;
    }

    .shift-div {
        margin-left:10px !important;
    }

    .shift-icon {
        margin-right:10px;
    }

    .calendar-day-spe img {
        width:20px;
        height:20px;
        top:calc(50% - (20px/2));
        left:calc(50% - (20px/2));
    }

    .calendar-day-spe span {
        font-size: 11px;
        padding: 0px 2px 0px 0px;
    }

    /* Message Box */
    .note-div {
        display:none;
        flex-direction: column;
        position: fixed;
        top: 20px;
        left: 0;
        width: 95%;
        margin: 0px 10px 0 10px;
        border-radius:20px;
        z-index:18;
        box-shadow:0px 1px 7px 0px #030935c7;
        box-sizing: border-box;
    }
    .note-footer .note-send {
        position:relative;
        background-image:url("../../open_site/img/submit-icon-old.svg");
        width:30px;
        border-radius:50%;
        height:30px;
        background-size:cover;
        border:none;
        background-repeat:no-repeat;
        top:90px; /*margin-top + textbox height - padding-top - 3px for btn margin*/
        left: 89%; /*100% textarea width - textarea margin left (10px) - button size (30px) - 2px for margin*/
        cursor:pointer;
    }

}

@media screen and (min-width: 801px) and (max-width: 1366px)  {
    /* *************************************************************
    ****************************************************************
    *** MISC > 800px < 1366px
    ****************************************************************
    ************************************************************** */
    #wrapper {
        width:95%;
    }

    .details-menu {
        width: 280px;
        top:calc(50% - ((556px - 50px)/2));
        left:calc(50% - (280px/2));
    }

    .details-menu p:nth-child(4){
        margin-bottom:10px !important;
    }

    .details-menu input[name="user-fb"], input[name="user-skype"], input[name="user-phone"] {
        margin-bottom:10px !important;
        padding:7px 40px 7px 20px !important;
        background-size:25px !important;
        background-position: 98% 4px !important;
    }

    .details-menu textarea {
        height:100px;
        margin-bottom:10px !important;
    }

    /* *************************************************************
    ****************************************************************
    *** PROFILES.PHP > 800px < 1366px
    ****************************************************************
    ************************************************************** */
    .profile-srch{
        display: none;
    }

    .department-menu ul, .departments-scroll, .department-menu {
        width: 100%;
    }
    
    #profiles-nav {
        width: 60%;
        margin: auto;
    }
    
    #profiles-nav ul {
        padding:0;
        width:400px;
        margin:0 auto;
    }
    
    #profiles-nav li {
        list-style:none;
        float:left;
        padding:15px 10px;
        width:80px;
    }
    
    .profile-div{
        display:inline-block;
        width:23%;
        cursor:pointer;
        height:80px;
        overflow:hidden;
        padding-bottom: 40px;
    }
    
    .profile-div img {
        width:80px;
        height:80px;
        display:block;
        margin:auto;
        border-radius:50%;
    }
    
    .profile-div p {
        font-family:'Open Sans Bold';
        text-align: center;
        font-size: 12px;
    }

    /* *************************************************************
    ****************************************************************
    *** INDEX.PHP > 800px < 1366px
    ****************************************************************
    ************************************************************** */
    #news-main {
        width: 75%;
    }

    #news-rightside {
        width: 25%;
    }

    .news-text {
        display: none;
    }

    .news-article {
        padding-left: 20px;
    }

    .news-img {
        margin:0;
        width: 65vw;
        height: calc(65vmax/16*9);
    }

     /* *************************************************************
    ****************************************************************
    *** NEWS.PHP > 800px < 1366px
    ****************************************************************
    ************************************************************** */
    .active-news-img {
        padding: 0px 0px 0px 30px;
        margin:0;
        width: 65vw;
        height: calc(65vmax/16*9);
    }

    .active-title {
        padding: 0px 0px 0px 30px;
        font-size: 24px;
    }

    .active-news-text {
        padding: 0px 0px 0px 30px;
        font-size: 16px;
    }

    .active-news-credentials p{
        padding:0px 30px 0px 0px;
        width: 150px;
        font-size: 12px;
        margin:0px 0px 20px 0px;
    }

    /* *************************************************************
    ****************************************************************
    *** CALENDAR.PHP > 800px < 1366px
    ****************************************************************
    ************************************************************** */
     .calendar-day-spe img {
        width:25px;
        height:25px;
        top:calc(50% - (25px/2));
        left:calc(50% - (25px/2));
    }

    .calendar-day-spe span {
        font-size: 12px;
        padding: 2px 4px 0px 0px;
    }
}


@media screen and (min-width: 1367px) and (max-width: 1700px){
    #wrapper {
        width:1350px;
    }
    
    #profiles-nav {
        width: 40%;
        margin: auto;
    }
    
    #profiles-nav ul {
        padding:0;
        width:500px;
        margin:0 auto;
    }
    
    #profiles-nav li {
        list-style:none;
        float:left;
        padding:15px 10px;
        width:90px;
    }
    
    .department-menu {
        width: 100%;
    }
    
    .department-menu ul, .departments-scroll{
        width: 80%;
    }
    
    .profile-div{
        display:inline-block;
        width:12%;
        cursor:pointer;
        height:75px;
        overflow:hidden;
        padding-bottom: 40px;
    }
    
    .profile-div img {
        width:80px;
        height:80px;
        display:block;
        margin:auto;
        border-radius:50%;
    }
    
    .profile-div p {
        font-family:'Open Sans Bold';
        text-align: center;
        font-size: 13px;
    }
    
    .details-menu {
        width: 300px;
    }
	
}