@import "https://fonts.googleapis.com/css?family=Raleway";
#wpwrap {
    background: #f3f6fa;
}

#wpfooter {
    display: none;
}

#wpcontent {
    padding-left: 0 !important;
}

.update-nag {
    display: none;
}

.ju-button {
    background-color: transparent;
    color: #000;
    padding: 10px 15px;
    min-width: 180px;
    border: 1px solid #9fabba;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 2px;
    transition: all ease 0.5s;
    vertical-align: middle;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
}

.ju-button:focus {
    outline: none;
}

.ju-button:hover {
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.ju-button.orange-button {
    background-color: #ff8726;
    color: #fff;
    border-color: #ff8726;
}

.ju-button.orange-outline-button {
    background-color: #fff;
    color: #ff8726;
    border-color: #fff;
}

.ju-rect-button {
    background-color: #fff;
    border: 1px solid #ff8726;
    color: #ff8726;
    cursor: pointer;
    padding: 10px 15px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.ju-material-button {
    border: none;
    outline: none;
    padding: 10px 20px;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 14px;
    background-color: #2196f3;
    color: #fff;
}

.ju-material-button:hover {
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.wpmf-google-photo-wrap {
    width: 100%;
    display: inline-block;
    font-family: 'Roboto', sans-serif;
}

.photo-albums-list {
    width: 300px;
    height: 100%;
    padding: 15px 10px 30px 10px;
    background: #fff;
    position: fixed;
    overflow: auto;
    z-index: 15;
    border-radius: 4px;
    box-sizing: border-box;
}

.google-photo-wrap-no-header {
    margin-left: 0;
}

.google-photo-wrap-no-header .photo-albums-list {
    height: auto;
    max-height: 78%;
}

.google_photo_icon {
    background-image: url(../images/google-photo-icon.png);
    background-size: 100% 100%;
    display: inline-block;
    width: 24px;
    height: 24px;
}

.google-photo-loader {
    vertical-align: middle;
}

.google-photo-wrap-right {
    padding: 5px 20px;
    width: calc(100% - 300px);
    font-size: 14px;
    margin-left: 300px;
    background-color: #f3f6fa;
    box-sizing: border-box;
    text-align: center;
}

.google-photo-wrap-right.google-photo-loading-content {
    opacity: 0.5;
}

.google-photo-toolbar, .google-photo-toolbar-right {
    display: inline-block;
    width: 100%;
}

.google-photo-toolbar-right {
    text-align: left;
}

.google-photo-toolbar-right button {
    margin: 10px 5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.google-photo-toolbar-right .google-photo-import-selection {
    color: #b1b1b1;
    border: 1px solid #b1b1b1;
}

.google-photo-toolbar-right .google-photo-import-selection.button_actived {
    color: #ff8726;
    border: 1px solid #ff8726;
}

.google-photo-wrap-no-header .google-photo-import-photo,
.google-photo-wrap-no-header .google-photo-import-album {
    display: none;
}

.google-photo-import-photo-to-gallery {
    display: none;
}

.google-photo-wrap-no-header .google-photo-import-photo-to-gallery {
    display: inline-block;
}

.photo-albums-list .tree_view {
    cursor: pointer;
    display: inline-block;
    width: 100%;
}

.photo-albums-list .tree_view ul {
    margin: 0 !important;
}

.photo-albums-list .tree_view li {
    margin: 0;
    display: inline-block;
    width: 100%;
    border: transparent solid 1px;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 10px;
    box-sizing: border-box;
}

.photo-album-item-el {
    padding: 5px 0;
}

.album-icon,
.google_photo_icon {
    color: #b1b1b1;
    vertical-align: middle;
    margin-right: 10px;
    font-size: 24px;
}

.album-title span {
    vertical-align: middle;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.64px;
    color: #5b6879;
}

.photo-album-item.selected .album-title span,
.photo-album-item.selected .album-title .photo-icon {
    color: #49bf88;
}

.photo-albums-list .tree_view li .album-title:hover > span {
    font-weight: bold;
}

.photo-items-list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.photo-item {
    width: 20%;
    padding:  5px;
    box-sizing: border-box;
    position: relative;
}

.photo-item-check {
    position: absolute;
    left: 10px;
    top: 10px;
    cursor: pointer;
    fill: #fff;
    opacity: 0.7;
}

.google-photo-full {
    position: absolute;
    bottom: 5px;
    left: 5px;
    width: calc(100% - 10px);
    padding: 10px;
    box-sizing: border-box;
    background: rgba(0,0,0,0.4);
    color: #fff !important;
    cursor: zoom-in;
    opacity: 0;
    transition: opacity .2s ease-in-out;
    text-decoration: none;
    box-shadow: none !important;
    outline: 0 !important;
}

.google-photo-wrap-no-header .google-photo-full {
    display: none;
}

.photo-item:hover .google-photo-full,
.photo-item:hover .photo-item-check {
    opacity: 1;
}

.photo-item-checked .photo-item-check {
    fill: #49bf88;
    opacity: 1;
}

.photo-item-check-bg {
    fill: #fff;
    position: absolute;
    left: 10px;
    top: 10px;
    display: none;
}

.photo-item-checked .photo-item-check-bg {
    display: block;
}

.photo-item img {
    width: 100%;
    vertical-align: bottom;
    height: 100%;
    flex: 1;
    -o-object-fit: cover;
    object-fit: cover;
}

.load-more-photos {
    margin: 10px auto;
    display: none;
}

.loadmore-disable {
    background-color: #b1b1b1 !important;
    color: #fff;
    border-color: #b1b1b1 !important;
}

.google-photo-import-source-wrap {
    margin: 10px 0 !important;
}

.google-photo-import-source {
    margin: 5px 0 !important;
    width: 100%;
    max-width: 100% !important;
    display: inline-block;
}

.import_album_as_new_folder {
    width: 100%;
    display: inline-block;
    margin: 10px 0;
}

.import_album_as_new_folder label {
    display: inline-block;
    vertical-align: middle;
    width: 160px;
    font-size: 15px;
}

.enable_import_album_as_new_folder {
    margin: 0 10px 0 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    border: 2px solid #2196F3 !important;
    width: 19px !important;
    height: 19px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.enable_import_album_as_new_folder:checked:before {
    content: "\f147" !important;
    margin: -2px !important;
    color: #ffffff !important;
    background: #2196F3 !important;
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 0 !important;
    text-indent: 0 !important;
    font-family: dashicons;
    outline: 0;
    border: 0;
    line-height: 1.14285714 !important;
}

.import_album_as_new_folder .album-title-input {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 197px);
    border: #ccc 1px solid;
    box-sizing: border-box;
    margin: 0;
}

.google-photo-wrap-no-header .photo-albums-list {
    padding: 15px 0;
}

.google-photo-wrap-no-header .photo-albums-list .tree_view li {
    padding: 0 5px;
}

.no-photos {
    width: 100%;
    color: #666;
    font-size: 18px;
    font-style: normal;
    margin: 0;
    padding: 100px 0 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

@media screen and (max-width: 782px) {
    #wpcontent {
        padding-right: 10px;
    }

    .photo-item {
        width: calc(100%/3);
    }
}


@media screen and (max-width: 450px) {
    .photo-albums-list {
        width: 100%;
        height: auto;
        position: relative;
    }

    .google-photo-wrap-right {
        width: 100%;
        margin: 0 auto !important;
    }
}